From b8f65faa7dc05064b0d040ebb8a5537f6e32d8a0 Mon Sep 17 00:00:00 2001 From: Daniel Steele <218190424+keeltrace@users.noreply.github.com> Date: Tue, 8 Sep 2026 14:09:44 -0700 Subject: [PATCH 1/3] feat: Support attestation bundle URLs --- github/attestations.go | 3 +++ github/repos_attestations_test.go | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/github/attestations.go b/github/attestations.go index 618d5d73f6c..1d404e0b765 100644 --- a/github/attestations.go +++ b/github/attestations.go @@ -17,7 +17,10 @@ type Attestation struct { // The attestation's Sigstore Bundle. // Refer to the sigstore bundle specification for more info: // https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto + // + // Deprecated: GitHub REST API version 2026-03-10 returns BundleURL instead. Bundle json.RawMessage `json:"bundle"` + BundleURL *string `json:"bundle_url,omitempty"` RepositoryID int64 `json:"repository_id"` } diff --git a/github/repos_attestations_test.go b/github/repos_attestations_test.go index cc522c3ce86..271b651375c 100644 --- a/github/repos_attestations_test.go +++ b/github/repos_attestations_test.go @@ -27,7 +27,7 @@ func TestRepositoriesService_ListAttestations(t *testing.T) { }, { "repository_id": 2, - "bundle": {} + "bundle_url": "https://example.com/attestations/2" } ] }`) @@ -46,7 +46,7 @@ func TestRepositoriesService_ListAttestations(t *testing.T) { }, { RepositoryID: 2, - Bundle: []byte(`{}`), + BundleURL: new("https://example.com/attestations/2"), }, }, } From da83513c4890ed9474fb7c5e1c1cf14a4364ff8c Mon Sep 17 00:00:00 2001 From: KeelTrace <218190424+keeltrace@users.noreply.github.com> Date: Mon, 21 Sep 2026 21:07:23 -0700 Subject: [PATCH 2/3] Update generated attestation support --- example/verifyartifact/main.go | 35 +- github/github-accessors.go | 46644 ++--------------------- github/github-accessors_test.go | 60823 +++--------------------------- 3 files changed, 8892 insertions(+), 98610 deletions(-) diff --git a/example/verifyartifact/main.go b/example/verifyartifact/main.go index 4a5d6bac50a..e72dc5d6159 100644 --- a/example/verifyartifact/main.go +++ b/example/verifyartifact/main.go @@ -15,7 +15,9 @@ import ( "encoding/json" "flag" "fmt" + "io" "log" + "net/http" "os" "github.com/google/go-github/v91/github" @@ -107,17 +109,44 @@ func main() { var b *bundle.Bundle for _, attestation := range attestations.Attestations { - if err := json.Unmarshal(attestation.Bundle, &b); err != nil { + bundleJSON, err := getAttestationBundle(ctx, attestation) + if err != nil { + log.Fatal(err) + } + if err := json.Unmarshal(bundleJSON, &b); err != nil { log.Fatal(err) } - err := runVerification(sev, pb, b) + err = runVerification(sev, pb, b) if err != nil { log.Fatal(err) } } } +func getAttestationBundle(ctx context.Context, attestation *github.Attestation) ([]byte, error) { + if attestation.BundleURL != nil { + req, err := http.NewRequestWithContext(ctx, http.MethodGet, *attestation.BundleURL, nil) + if err != nil { + return nil, fmt.Errorf("failed to create bundle request: %w", err) + } + + resp, err := http.DefaultClient.Do(req) + if err != nil { + return nil, fmt.Errorf("failed to fetch attestation bundle: %w", err) + } + defer resp.Body.Close() + + if resp.StatusCode != http.StatusOK { + return nil, fmt.Errorf("failed to fetch attestation bundle: %s", resp.Status) + } + return io.ReadAll(resp.Body) + } + + // Bundle is retained for responses from older GitHub API versions and GHES. + return attestation.Bundle, nil //nolint:staticcheck +} + func getTrustedMaterial() (root.TrustedMaterialCollection, error) { trustedRootJSON, err := os.ReadFile(*trustedRootJSONPath) if err != nil { @@ -197,4 +226,4 @@ func runVerification(sev *verify.Verifier, pb *verify.PolicyBuilder, b *bundle.B fmt.Println(string(marshaled)) return nil -} +} \ No newline at end of file diff --git a/github/github-accessors.go b/github/github-accessors.go index b9ce167b413..3b35bb00148 100644 --- a/github/github-accessors.go +++ b/github/github-accessors.go @@ -1997,45779 +1997,5969 @@ func (a *APIMetaDomains) GetWebsite() []string { } 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 { - return "" - } - return *a.ClientID -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (a *App) GetCreatedAt() Timestamp { - if a == nil || a.CreatedAt == nil { - return Timestamp{} - } - return *a.CreatedAt -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (a *App) GetDescription() string { - if a == nil || a.Description == nil { - return "" - } - 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 { - return "" - } - return *a.ExternalURL -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (a *App) GetHTMLURL() string { - if a == nil || a.HTMLURL == nil { - return "" - } - return *a.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (a *App) GetID() int64 { - if a == nil || a.ID == nil { - return 0 - } - return *a.ID -} - -// GetInstallationsCount returns the InstallationsCount field if it's non-nil, zero value otherwise. -func (a *App) GetInstallationsCount() int { - if a == nil || a.InstallationsCount == nil { - return 0 - } - return *a.InstallationsCount -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (a *App) GetName() string { - if a == nil || a.Name == nil { - return "" - } - return *a.Name -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (a *App) GetNodeID() string { - if a == nil || a.NodeID == nil { - return "" - } - return *a.NodeID -} - -// GetOwner returns the Owner field. -func (a *App) GetOwner() *User { - if a == nil { - return nil - } - return a.Owner -} - -// GetPermissions returns the Permissions field. -func (a *App) GetPermissions() *InstallationPermissions { - if a == nil { - return nil - } - return a.Permissions -} - -// GetSlug returns the Slug field if it's non-nil, zero value otherwise. -func (a *App) GetSlug() string { - if a == nil || a.Slug == nil { - return "" - } - return *a.Slug -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (a *App) GetUpdatedAt() Timestamp { - if a == nil || a.UpdatedAt == nil { - return Timestamp{} - } - return *a.UpdatedAt -} - -// GetClientID returns the ClientID field if it's non-nil, zero value otherwise. -func (a *AppConfig) GetClientID() string { - if a == nil || a.ClientID == nil { - return "" - } - return *a.ClientID -} - -// GetClientSecret returns the ClientSecret field if it's non-nil, zero value otherwise. -func (a *AppConfig) GetClientSecret() string { - if a == nil || a.ClientSecret == nil { - return "" - } - return *a.ClientSecret -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (a *AppConfig) GetCreatedAt() Timestamp { - if a == nil || a.CreatedAt == nil { - return Timestamp{} - } - return *a.CreatedAt -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (a *AppConfig) GetDescription() string { - if a == nil || a.Description == nil { - return "" - } - return *a.Description -} - -// GetExternalURL returns the ExternalURL field if it's non-nil, zero value otherwise. -func (a *AppConfig) GetExternalURL() string { - if a == nil || a.ExternalURL == nil { - return "" - } - return *a.ExternalURL -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (a *AppConfig) GetHTMLURL() string { - if a == nil || a.HTMLURL == nil { - return "" - } - return *a.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (a *AppConfig) GetID() int64 { - if a == nil || a.ID == nil { - return 0 - } - return *a.ID -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (a *AppConfig) GetName() string { - if a == nil || a.Name == nil { - return "" - } - return *a.Name -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (a *AppConfig) GetNodeID() string { - if a == nil || a.NodeID == nil { - return "" - } - return *a.NodeID -} - -// GetOwner returns the Owner field. -func (a *AppConfig) GetOwner() *User { - if a == nil { - return nil - } - return a.Owner -} - -// GetPEM returns the PEM field if it's non-nil, zero value otherwise. -func (a *AppConfig) GetPEM() string { - if a == nil || a.PEM == nil { - return "" - } - return *a.PEM -} - -// GetSlug returns the Slug field if it's non-nil, zero value otherwise. -func (a *AppConfig) GetSlug() string { - if a == nil || a.Slug == nil { - return "" - } - return *a.Slug -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (a *AppConfig) GetUpdatedAt() Timestamp { - if a == nil || a.UpdatedAt == nil { - return Timestamp{} - } - return *a.UpdatedAt -} - -// GetWebhookSecret returns the WebhookSecret field if it's non-nil, zero value otherwise. -func (a *AppConfig) GetWebhookSecret() string { - if a == nil || a.WebhookSecret == nil { - return "" - } - return *a.WebhookSecret -} - -// GetRepositories returns the Repositories slice if it's non-nil, nil otherwise. -func (a *AppInstallationRepositoriesRequest) GetRepositories() []string { - if a == nil || a.Repositories == nil { - return nil - } - return a.Repositories -} - -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (a *ArchivedAt) GetFrom() Timestamp { - if a == nil || a.From == nil { - return Timestamp{} - } - return *a.From -} - -// GetTo returns the To field if it's non-nil, zero value otherwise. -func (a *ArchivedAt) GetTo() Timestamp { - if a == nil || a.To == nil { - return Timestamp{} - } - return *a.To -} - -// GetArchiveDownloadURL returns the ArchiveDownloadURL field if it's non-nil, zero value otherwise. -func (a *Artifact) GetArchiveDownloadURL() string { - if a == nil || a.ArchiveDownloadURL == nil { - return "" - } - return *a.ArchiveDownloadURL -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (a *Artifact) GetCreatedAt() Timestamp { - if a == nil || a.CreatedAt == nil { - return Timestamp{} - } - return *a.CreatedAt -} - -// GetDigest returns the Digest field if it's non-nil, zero value otherwise. -func (a *Artifact) GetDigest() string { - if a == nil || a.Digest == nil { - return "" - } - return *a.Digest -} - -// GetExpired returns the Expired field if it's non-nil, zero value otherwise. -func (a *Artifact) GetExpired() bool { - if a == nil || a.Expired == nil { - return false - } - return *a.Expired -} - -// GetExpiresAt returns the ExpiresAt field if it's non-nil, zero value otherwise. -func (a *Artifact) GetExpiresAt() Timestamp { - if a == nil || a.ExpiresAt == nil { - return Timestamp{} - } - return *a.ExpiresAt -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (a *Artifact) GetID() int64 { - if a == nil || a.ID == nil { - return 0 - } - return *a.ID -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (a *Artifact) GetName() string { - if a == nil || a.Name == nil { - return "" - } - return *a.Name -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (a *Artifact) GetNodeID() string { - if a == nil || a.NodeID == nil { - return "" - } - return *a.NodeID -} - -// GetSizeInBytes returns the SizeInBytes field if it's non-nil, zero value otherwise. -func (a *Artifact) GetSizeInBytes() int64 { - if a == nil || a.SizeInBytes == nil { - return 0 - } - return *a.SizeInBytes -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (a *Artifact) GetUpdatedAt() Timestamp { - if a == nil || a.UpdatedAt == nil { - return Timestamp{} - } - return *a.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (a *Artifact) GetURL() string { - if a == nil || a.URL == nil { - return "" - } - return *a.URL -} - -// GetWorkflowRun returns the WorkflowRun field. -func (a *Artifact) GetWorkflowRun() *ArtifactWorkflowRun { - if a == nil { - return nil - } - return a.WorkflowRun -} - -// GetAttestationID returns the AttestationID field if it's non-nil, zero value otherwise. -func (a *ArtifactDeploymentRecord) GetAttestationID() int64 { - if a == nil || a.AttestationID == nil { - return 0 - } - return *a.AttestationID -} - -// GetCluster returns the Cluster field if it's non-nil, zero value otherwise. -func (a *ArtifactDeploymentRecord) GetCluster() string { - if a == nil || a.Cluster == nil { - return "" - } - return *a.Cluster -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (a *ArtifactDeploymentRecord) GetCreatedAt() Timestamp { - if a == nil || a.CreatedAt == nil { - return Timestamp{} - } - return *a.CreatedAt -} - -// GetDeploymentName returns the DeploymentName field if it's non-nil, zero value otherwise. -func (a *ArtifactDeploymentRecord) GetDeploymentName() string { - if a == nil || a.DeploymentName == nil { - return "" - } - return *a.DeploymentName -} - -// GetDigest returns the Digest field if it's non-nil, zero value otherwise. -func (a *ArtifactDeploymentRecord) GetDigest() string { - if a == nil || a.Digest == nil { - return "" - } - return *a.Digest -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (a *ArtifactDeploymentRecord) GetID() int64 { - if a == nil || a.ID == nil { - return 0 - } - return *a.ID -} - -// GetLogicalEnvironment returns the LogicalEnvironment field if it's non-nil, zero value otherwise. -func (a *ArtifactDeploymentRecord) GetLogicalEnvironment() string { - if a == nil || a.LogicalEnvironment == nil { - return "" - } - return *a.LogicalEnvironment -} - -// GetPhysicalEnvironment returns the PhysicalEnvironment field if it's non-nil, zero value otherwise. -func (a *ArtifactDeploymentRecord) GetPhysicalEnvironment() string { - if a == nil || a.PhysicalEnvironment == nil { - return "" - } - 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 { - return map[string]string{} - } - return a.Tags -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (a *ArtifactDeploymentRecord) GetUpdatedAt() Timestamp { - if a == nil || a.UpdatedAt == nil { - return 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 { - return 0 - } - 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 { - return 0 - } - return *a.TotalCount -} - -// GetDays returns the Days field if it's non-nil, zero value otherwise. -func (a *ArtifactPeriod) GetDays() int { - if a == nil || a.Days == nil { - return 0 - } - return *a.Days -} - -// GetMaximumAllowedDays returns the MaximumAllowedDays field if it's non-nil, zero value otherwise. -func (a *ArtifactPeriod) GetMaximumAllowedDays() int { - if a == nil || a.MaximumAllowedDays == nil { - return 0 - } - return *a.MaximumAllowedDays -} - -// GetDays returns the Days field if it's non-nil, zero value otherwise. -func (a *ArtifactPeriodOpt) GetDays() int { - if a == nil || a.Days == nil { - return 0 - } - return *a.Days -} - -// GetArtifactURL returns the ArtifactURL field if it's non-nil, zero value otherwise. -func (a *ArtifactStorageRecord) GetArtifactURL() string { - if a == nil || a.ArtifactURL == nil { - return "" - } - return *a.ArtifactURL -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (a *ArtifactStorageRecord) GetCreatedAt() Timestamp { - if a == nil || a.CreatedAt == nil { - return Timestamp{} - } - return *a.CreatedAt -} - -// GetDigest returns the Digest field if it's non-nil, zero value otherwise. -func (a *ArtifactStorageRecord) GetDigest() string { - if a == nil || a.Digest == nil { - return "" - } - return *a.Digest -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (a *ArtifactStorageRecord) GetID() int64 { - if a == nil || a.ID == nil { - return 0 - } - return *a.ID -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (a *ArtifactStorageRecord) GetName() string { - if a == nil || a.Name == nil { - return "" - } - return *a.Name -} - -// GetRegistryURL returns the RegistryURL field if it's non-nil, zero value otherwise. -func (a *ArtifactStorageRecord) GetRegistryURL() string { - if a == nil || a.RegistryURL == nil { - return "" - } - return *a.RegistryURL -} - -// GetRepository returns the Repository field if it's non-nil, zero value otherwise. -func (a *ArtifactStorageRecord) GetRepository() string { - if a == nil || a.Repository == nil { - return "" - } - return *a.Repository -} - -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (a *ArtifactStorageRecord) GetStatus() string { - if a == nil || a.Status == nil { - return "" - } - return *a.Status -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (a *ArtifactStorageRecord) GetUpdatedAt() Timestamp { - if a == nil || a.UpdatedAt == nil { - return 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 { - return 0 - } - return *a.TotalCount -} - -// GetHeadBranch returns the HeadBranch field if it's non-nil, zero value otherwise. -func (a *ArtifactWorkflowRun) GetHeadBranch() string { - if a == nil || a.HeadBranch == nil { - return "" - } - return *a.HeadBranch -} - -// GetHeadRepositoryID returns the HeadRepositoryID field if it's non-nil, zero value otherwise. -func (a *ArtifactWorkflowRun) GetHeadRepositoryID() int64 { - if a == nil || a.HeadRepositoryID == nil { - return 0 - } - return *a.HeadRepositoryID -} - -// GetHeadSHA returns the HeadSHA field if it's non-nil, zero value otherwise. -func (a *ArtifactWorkflowRun) GetHeadSHA() string { - if a == nil || a.HeadSHA == nil { - return "" - } - return *a.HeadSHA -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (a *ArtifactWorkflowRun) GetID() int64 { - if a == nil || a.ID == nil { - return 0 - } - return *a.ID -} - -// GetRepositoryID returns the RepositoryID field if it's non-nil, zero value otherwise. -func (a *ArtifactWorkflowRun) GetRepositoryID() int64 { - if a == nil || a.RepositoryID == nil { - return 0 - } - return *a.RepositoryID -} - -// GetAssignmentName returns the AssignmentName field if it's non-nil, zero value otherwise. -func (a *AssignmentGrade) GetAssignmentName() string { - if a == nil || a.AssignmentName == nil { - return "" - } - return *a.AssignmentName -} - -// GetAssignmentURL returns the AssignmentURL field if it's non-nil, zero value otherwise. -func (a *AssignmentGrade) GetAssignmentURL() string { - if a == nil || a.AssignmentURL == nil { - return "" - } - return *a.AssignmentURL -} - -// GetGithubUsername returns the GithubUsername field if it's non-nil, zero value otherwise. -func (a *AssignmentGrade) GetGithubUsername() string { - if a == nil || a.GithubUsername == nil { - return "" - } - return *a.GithubUsername -} - -// GetGroupName returns the GroupName field if it's non-nil, zero value otherwise. -func (a *AssignmentGrade) GetGroupName() string { - if a == nil || a.GroupName == nil { - return "" - } - return *a.GroupName -} - -// GetPointsAvailable returns the PointsAvailable field if it's non-nil, zero value otherwise. -func (a *AssignmentGrade) GetPointsAvailable() int { - if a == nil || a.PointsAvailable == nil { - return 0 - } - return *a.PointsAvailable -} - -// GetPointsAwarded returns the PointsAwarded field if it's non-nil, zero value otherwise. -func (a *AssignmentGrade) GetPointsAwarded() int { - if a == nil || a.PointsAwarded == nil { - return 0 - } - return *a.PointsAwarded -} - -// GetRosterIdentifier returns the RosterIdentifier field if it's non-nil, zero value otherwise. -func (a *AssignmentGrade) GetRosterIdentifier() string { - if a == nil || a.RosterIdentifier == nil { - return "" - } - return *a.RosterIdentifier -} - -// GetStarterCodeURL returns the StarterCodeURL field if it's non-nil, zero value otherwise. -func (a *AssignmentGrade) GetStarterCodeURL() string { - if a == nil || a.StarterCodeURL == nil { - return "" - } - return *a.StarterCodeURL -} - -// GetStudentRepositoryName returns the StudentRepositoryName field if it's non-nil, zero value otherwise. -func (a *AssignmentGrade) GetStudentRepositoryName() string { - if a == nil || a.StudentRepositoryName == nil { - return "" - } - return *a.StudentRepositoryName -} - -// GetStudentRepositoryURL returns the StudentRepositoryURL field if it's non-nil, zero value otherwise. -func (a *AssignmentGrade) GetStudentRepositoryURL() string { - if a == nil || a.StudentRepositoryURL == nil { - return "" - } - return *a.StudentRepositoryURL -} - -// GetSubmissionTimestamp returns the SubmissionTimestamp field if it's non-nil, zero value otherwise. -func (a *AssignmentGrade) GetSubmissionTimestamp() Timestamp { - if a == nil || a.SubmissionTimestamp == nil { - return Timestamp{} - } - return *a.SubmissionTimestamp -} - -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (a *Attachment) GetBody() string { - if a == nil || a.Body == nil { - return "" - } - return *a.Body -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (a *Attachment) GetID() int64 { - if a == nil || a.ID == nil { - return 0 - } - return *a.ID -} - -// GetTitle returns the Title field if it's non-nil, zero value otherwise. -func (a *Attachment) GetTitle() string { - if a == nil || a.Title == nil { - return "" - } - 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 { - return "" - } - return *a.Action -} - -// GetActor returns the Actor field if it's non-nil, zero value otherwise. -func (a *AuditEntry) GetActor() string { - if a == nil || a.Actor == nil { - return "" - } - return *a.Actor -} - -// GetActorID returns the ActorID field if it's non-nil, zero value otherwise. -func (a *AuditEntry) GetActorID() int64 { - if a == nil || a.ActorID == nil { - return 0 - } - return *a.ActorID -} - -// GetActorLocation returns the ActorLocation field. -func (a *AuditEntry) GetActorLocation() *ActorLocation { - if a == nil { - return nil - } - return a.ActorLocation -} - -// GetAdditionalFields returns the AdditionalFields map if it's non-nil, an empty map otherwise. -func (a *AuditEntry) GetAdditionalFields() map[string]any { - if a == nil || a.AdditionalFields == nil { - return map[string]any{} - } - return a.AdditionalFields -} - -// GetBusiness returns the Business field if it's non-nil, zero value otherwise. -func (a *AuditEntry) GetBusiness() string { - if a == nil || a.Business == nil { - return "" - } - return *a.Business -} - -// GetBusinessID returns the BusinessID field if it's non-nil, zero value otherwise. -func (a *AuditEntry) GetBusinessID() int64 { - if a == nil || a.BusinessID == nil { - return 0 - } - return *a.BusinessID -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (a *AuditEntry) GetCreatedAt() Timestamp { - if a == nil || a.CreatedAt == nil { - return Timestamp{} - } - return *a.CreatedAt -} - -// GetData returns the Data map if it's non-nil, an empty map otherwise. -func (a *AuditEntry) GetData() map[string]any { - if a == nil || a.Data == nil { - return map[string]any{} - } - return a.Data -} - -// GetDocumentID returns the DocumentID field if it's non-nil, zero value otherwise. -func (a *AuditEntry) GetDocumentID() string { - if a == nil || a.DocumentID == nil { - return "" - } - return *a.DocumentID -} - -// GetExternalIdentityNameID returns the ExternalIdentityNameID field if it's non-nil, zero value otherwise. -func (a *AuditEntry) GetExternalIdentityNameID() string { - if a == nil || a.ExternalIdentityNameID == nil { - return "" - } - return *a.ExternalIdentityNameID -} - -// GetExternalIdentityUsername returns the ExternalIdentityUsername field if it's non-nil, zero value otherwise. -func (a *AuditEntry) GetExternalIdentityUsername() string { - if a == nil || a.ExternalIdentityUsername == nil { - return "" - } - return *a.ExternalIdentityUsername -} - -// GetHashedToken returns the HashedToken field if it's non-nil, zero value otherwise. -func (a *AuditEntry) GetHashedToken() string { - if a == nil || a.HashedToken == nil { - return "" - } - return *a.HashedToken -} - -// GetOrg returns the Org field if it's non-nil, zero value otherwise. -func (a *AuditEntry) GetOrg() string { - if a == nil || a.Org == nil { - return "" - } - return *a.Org -} - -// GetOrgID returns the OrgID field if it's non-nil, zero value otherwise. -func (a *AuditEntry) GetOrgID() int64 { - if a == nil || a.OrgID == nil { - return 0 - } - return *a.OrgID -} - -// GetTimestamp returns the Timestamp field if it's non-nil, zero value otherwise. -func (a *AuditEntry) GetTimestamp() Timestamp { - if a == nil || a.Timestamp == nil { - return Timestamp{} - } - return *a.Timestamp -} - -// GetTokenID returns the TokenID field if it's non-nil, zero value otherwise. -func (a *AuditEntry) GetTokenID() int64 { - if a == nil || a.TokenID == nil { - return 0 - } - return *a.TokenID -} - -// GetTokenScopes returns the TokenScopes field if it's non-nil, zero value otherwise. -func (a *AuditEntry) GetTokenScopes() string { - if a == nil || a.TokenScopes == nil { - return "" - } - return *a.TokenScopes -} - -// GetUser returns the User field if it's non-nil, zero value otherwise. -func (a *AuditEntry) GetUser() string { - if a == nil || a.User == nil { - return "" - } - return *a.User -} - -// GetUserID returns the UserID field if it's non-nil, zero value otherwise. -func (a *AuditEntry) GetUserID() int64 { - if a == nil || a.UserID == nil { - return 0 - } - 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 { - return 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 { - return nil - } - return a.App -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (a *Authorization) GetCreatedAt() Timestamp { - if a == nil || a.CreatedAt == nil { - return Timestamp{} - } - return *a.CreatedAt -} - -// GetFingerprint returns the Fingerprint field if it's non-nil, zero value otherwise. -func (a *Authorization) GetFingerprint() string { - if a == nil || a.Fingerprint == nil { - return "" - } - return *a.Fingerprint -} - -// GetHashedToken returns the HashedToken field if it's non-nil, zero value otherwise. -func (a *Authorization) GetHashedToken() string { - if a == nil || a.HashedToken == nil { - return "" - } - return *a.HashedToken -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (a *Authorization) GetID() int64 { - if a == nil || a.ID == nil { - return 0 - } - return *a.ID -} - -// GetNote returns the Note field if it's non-nil, zero value otherwise. -func (a *Authorization) GetNote() string { - if a == nil || a.Note == nil { - return "" - } - return *a.Note -} - -// GetNoteURL returns the NoteURL field if it's non-nil, zero value otherwise. -func (a *Authorization) GetNoteURL() string { - if a == nil || a.NoteURL == nil { - return "" - } - 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 { - return "" - } - return *a.Token -} - -// GetTokenLastEight returns the TokenLastEight field if it's non-nil, zero value otherwise. -func (a *Authorization) GetTokenLastEight() string { - if a == nil || a.TokenLastEight == nil { - return "" - } - return *a.TokenLastEight -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (a *Authorization) GetUpdatedAt() Timestamp { - if a == nil || a.UpdatedAt == nil { - return Timestamp{} - } - return *a.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (a *Authorization) GetURL() string { - if a == nil || a.URL == nil { - return "" - } - return *a.URL -} - -// GetUser returns the User field. -func (a *Authorization) GetUser() *User { - if a == nil { - return nil - } - return a.User -} - -// GetClientID returns the ClientID field if it's non-nil, zero value otherwise. -func (a *AuthorizationApp) GetClientID() string { - if a == nil || a.ClientID == nil { - return "" - } - return *a.ClientID -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (a *AuthorizationApp) GetName() string { - if a == nil || a.Name == nil { - return "" - } - return *a.Name -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (a *AuthorizationApp) GetURL() string { - if a == nil || a.URL == nil { - return "" - } - return *a.URL -} - -// GetClientID returns the ClientID field if it's non-nil, zero value otherwise. -func (a *AuthorizationRequest) GetClientID() string { - if a == nil || a.ClientID == nil { - return "" - } - return *a.ClientID -} - -// GetClientSecret returns the ClientSecret field if it's non-nil, zero value otherwise. -func (a *AuthorizationRequest) GetClientSecret() string { - if a == nil || a.ClientSecret == nil { - return "" - } - return *a.ClientSecret -} - -// GetFingerprint returns the Fingerprint field if it's non-nil, zero value otherwise. -func (a *AuthorizationRequest) GetFingerprint() string { - if a == nil || a.Fingerprint == nil { - return "" - } - return *a.Fingerprint -} - -// GetNote returns the Note field if it's non-nil, zero value otherwise. -func (a *AuthorizationRequest) GetNote() string { - if a == nil || a.Note == nil { - return "" - } - return *a.Note -} - -// GetNoteURL returns the NoteURL field if it's non-nil, zero value otherwise. -func (a *AuthorizationRequest) GetNoteURL() string { - if a == nil || a.NoteURL == nil { - return "" - } - 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 { - return "" - } - return *a.Fingerprint -} - -// GetNote returns the Note field if it's non-nil, zero value otherwise. -func (a *AuthorizationUpdateRequest) GetNote() string { - if a == nil || a.Note == nil { - return "" - } - return *a.Note -} - -// GetNoteURL returns the NoteURL field if it's non-nil, zero value otherwise. -func (a *AuthorizationUpdateRequest) GetNoteURL() string { - if a == nil || a.NoteURL == nil { - return "" - } - 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 { - return false - } - return *a.From -} - -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (a *AuthorizedDismissalActorsOnlyChanges) GetFrom() bool { - if a == nil || a.From == nil { - return false - } - return *a.From -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (a *Autolink) GetID() int64 { - if a == nil || a.ID == nil { - return 0 - } - return *a.ID -} - -// GetIsAlphanumeric returns the IsAlphanumeric field if it's non-nil, zero value otherwise. -func (a *Autolink) GetIsAlphanumeric() bool { - if a == nil || a.IsAlphanumeric == nil { - return false - } - return *a.IsAlphanumeric -} - -// GetKeyPrefix returns the KeyPrefix field if it's non-nil, zero value otherwise. -func (a *Autolink) GetKeyPrefix() string { - if a == nil || a.KeyPrefix == nil { - return "" - } - return *a.KeyPrefix -} - -// GetURLTemplate returns the URLTemplate field if it's non-nil, zero value otherwise. -func (a *Autolink) GetURLTemplate() string { - if a == nil || a.URLTemplate == nil { - return "" - } - return *a.URLTemplate -} - -// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. -func (a *AutomatedSecurityFixes) GetEnabled() bool { - if a == nil || a.Enabled == nil { - return false - } - return *a.Enabled -} - -// GetPaused returns the Paused field if it's non-nil, zero value otherwise. -func (a *AutomatedSecurityFixes) GetPaused() bool { - if a == nil || a.Paused == nil { - return false - } - return *a.Paused -} - -// GetAppID returns the AppID field if it's non-nil, zero value otherwise. -func (a *AutoTriggerCheck) GetAppID() int64 { - if a == nil || a.AppID == nil { - return 0 - } - return *a.AppID -} - -// GetSetting returns the Setting field if it's non-nil, zero value otherwise. -func (a *AutoTriggerCheck) GetSetting() bool { - if a == nil || a.Setting == nil { - return false - } - 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 -} - -// GetID returns the ID field. -func (b *BillingCostCenter) GetID() string { - if b == nil { - return "" - } - return b.ID -} - -// GetName returns the Name field. -func (b *BillingCostCenter) GetName() string { - if b == nil { - return "" - } - return b.Name -} - -// GetContent returns the Content field if it's non-nil, zero value otherwise. -func (b *Blob) GetContent() string { - if b == nil || b.Content == nil { - return "" - } - return *b.Content -} - -// GetEncoding returns the Encoding field if it's non-nil, zero value otherwise. -func (b *Blob) GetEncoding() string { - if b == nil || b.Encoding == nil { - return "" - } - return *b.Encoding -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (b *Blob) GetNodeID() string { - if b == nil || b.NodeID == nil { - return "" - } - return *b.NodeID -} - -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (b *Blob) GetSHA() string { - if b == nil || b.SHA == nil { - return "" - } - return *b.SHA -} - -// GetSize returns the Size field if it's non-nil, zero value otherwise. -func (b *Blob) GetSize() int { - if b == nil || b.Size == nil { - return 0 - } - return *b.Size -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (b *Blob) GetURL() string { - if b == nil || b.URL == nil { - return "" - } - return *b.URL -} - -// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. -func (b *BlockCreations) GetEnabled() bool { - if b == nil || b.Enabled == nil { - return false - } - return *b.Enabled -} - -// GetCommit returns the Commit field. -func (b *Branch) GetCommit() *RepositoryCommit { - if b == nil { - return nil - } - return b.Commit -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (b *Branch) GetName() string { - if b == nil || b.Name == nil { - return "" - } - return *b.Name -} - -// GetProtected returns the Protected field if it's non-nil, zero value otherwise. -func (b *Branch) GetProtected() bool { - if b == nil || b.Protected == nil { - return false - } - return *b.Protected -} - -// GetProtection returns the Protection field. -func (b *Branch) GetProtection() *Protection { - if b == nil { - return nil - } - return b.Protection -} - -// GetProtectionURL returns the ProtectionURL field if it's non-nil, zero value otherwise. -func (b *Branch) GetProtectionURL() string { - if b == nil || b.ProtectionURL == nil { - return "" - } - return *b.ProtectionURL -} - -// GetCommit returns the Commit field. -func (b *BranchCommit) GetCommit() *Commit { - if b == nil { - return nil - } - return b.Commit -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (b *BranchCommit) GetName() string { - if b == nil || b.Name == nil { - return "" - } - return *b.Name -} - -// GetProtected returns the Protected field if it's non-nil, zero value otherwise. -func (b *BranchCommit) GetProtected() bool { - if b == nil || b.Protected == nil { - return false - } - return *b.Protected -} - -// GetProtected returns the Protected field if it's non-nil, zero value otherwise. -func (b *BranchListOptions) GetProtected() bool { - if b == nil || b.Protected == nil { - return false - } - return *b.Protected -} - -// GetCustomBranchPolicies returns the CustomBranchPolicies field if it's non-nil, zero value otherwise. -func (b *BranchPolicy) GetCustomBranchPolicies() bool { - if b == nil || b.CustomBranchPolicies == nil { - return false - } - return *b.CustomBranchPolicies -} - -// GetProtectedBranches returns the ProtectedBranches field if it's non-nil, zero value otherwise. -func (b *BranchPolicy) GetProtectedBranches() bool { - if b == nil || b.ProtectedBranches == nil { - return false - } - return *b.ProtectedBranches -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (b *BranchProtectionConfigurationEvent) GetAction() string { - if b == nil || b.Action == nil { - return "" - } - return *b.Action -} - -// GetEnterprise returns the Enterprise field. -func (b *BranchProtectionConfigurationEvent) GetEnterprise() *Enterprise { - if b == nil { - return nil - } - return b.Enterprise -} - -// GetInstallation returns the Installation field. -func (b *BranchProtectionConfigurationEvent) GetInstallation() *Installation { - if b == nil { - return nil - } - return b.Installation -} - -// GetOrg returns the Org field. -func (b *BranchProtectionConfigurationEvent) GetOrg() *Organization { - if b == nil { - return nil - } - return b.Org -} - -// GetRepo returns the Repo field. -func (b *BranchProtectionConfigurationEvent) GetRepo() *Repository { - if b == nil { - return nil - } - return b.Repo -} - -// GetSender returns the Sender field. -func (b *BranchProtectionConfigurationEvent) GetSender() *User { - if b == nil { - return nil - } - return b.Sender -} - -// GetAdminEnforced returns the AdminEnforced field if it's non-nil, zero value otherwise. -func (b *BranchProtectionRule) GetAdminEnforced() bool { - if b == nil || b.AdminEnforced == nil { - return false - } - return *b.AdminEnforced -} - -// GetAllowDeletionsEnforcementLevel returns the AllowDeletionsEnforcementLevel field if it's non-nil, zero value otherwise. -func (b *BranchProtectionRule) GetAllowDeletionsEnforcementLevel() string { - if b == nil || b.AllowDeletionsEnforcementLevel == nil { - return "" - } - return *b.AllowDeletionsEnforcementLevel -} - -// GetAllowForcePushesEnforcementLevel returns the AllowForcePushesEnforcementLevel field if it's non-nil, zero value otherwise. -func (b *BranchProtectionRule) GetAllowForcePushesEnforcementLevel() string { - if b == nil || b.AllowForcePushesEnforcementLevel == nil { - return "" - } - 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 { - return false - } - return *b.AuthorizedActorsOnly -} - -// GetAuthorizedDismissalActorsOnly returns the AuthorizedDismissalActorsOnly field if it's non-nil, zero value otherwise. -func (b *BranchProtectionRule) GetAuthorizedDismissalActorsOnly() bool { - if b == nil || b.AuthorizedDismissalActorsOnly == nil { - return false - } - return *b.AuthorizedDismissalActorsOnly -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (b *BranchProtectionRule) GetCreatedAt() Timestamp { - if b == nil || b.CreatedAt == nil { - return Timestamp{} - } - return *b.CreatedAt -} - -// GetDismissStaleReviewsOnPush returns the DismissStaleReviewsOnPush field if it's non-nil, zero value otherwise. -func (b *BranchProtectionRule) GetDismissStaleReviewsOnPush() bool { - if b == nil || b.DismissStaleReviewsOnPush == nil { - return false - } - return *b.DismissStaleReviewsOnPush -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (b *BranchProtectionRule) GetID() int64 { - if b == nil || b.ID == nil { - return 0 - } - return *b.ID -} - -// GetIgnoreApprovalsFromContributors returns the IgnoreApprovalsFromContributors field if it's non-nil, zero value otherwise. -func (b *BranchProtectionRule) GetIgnoreApprovalsFromContributors() bool { - if b == nil || b.IgnoreApprovalsFromContributors == nil { - return false - } - return *b.IgnoreApprovalsFromContributors -} - -// GetLinearHistoryRequirementEnforcementLevel returns the LinearHistoryRequirementEnforcementLevel field if it's non-nil, zero value otherwise. -func (b *BranchProtectionRule) GetLinearHistoryRequirementEnforcementLevel() string { - if b == nil || b.LinearHistoryRequirementEnforcementLevel == nil { - return "" - } - return *b.LinearHistoryRequirementEnforcementLevel -} - -// GetMergeQueueEnforcementLevel returns the MergeQueueEnforcementLevel field if it's non-nil, zero value otherwise. -func (b *BranchProtectionRule) GetMergeQueueEnforcementLevel() string { - if b == nil || b.MergeQueueEnforcementLevel == nil { - return "" - } - return *b.MergeQueueEnforcementLevel -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (b *BranchProtectionRule) GetName() string { - if b == nil || b.Name == nil { - return "" - } - return *b.Name -} - -// GetPullRequestReviewsEnforcementLevel returns the PullRequestReviewsEnforcementLevel field if it's non-nil, zero value otherwise. -func (b *BranchProtectionRule) GetPullRequestReviewsEnforcementLevel() string { - if b == nil || b.PullRequestReviewsEnforcementLevel == nil { - return "" - } - return *b.PullRequestReviewsEnforcementLevel -} - -// GetRepositoryID returns the RepositoryID field if it's non-nil, zero value otherwise. -func (b *BranchProtectionRule) GetRepositoryID() int64 { - if b == nil || b.RepositoryID == nil { - return 0 - } - return *b.RepositoryID -} - -// GetRequireCodeOwnerReview returns the RequireCodeOwnerReview field if it's non-nil, zero value otherwise. -func (b *BranchProtectionRule) GetRequireCodeOwnerReview() bool { - if b == nil || b.RequireCodeOwnerReview == nil { - return false - } - return *b.RequireCodeOwnerReview -} - -// GetRequiredApprovingReviewCount returns the RequiredApprovingReviewCount field if it's non-nil, zero value otherwise. -func (b *BranchProtectionRule) GetRequiredApprovingReviewCount() int { - if b == nil || b.RequiredApprovingReviewCount == nil { - return 0 - } - return *b.RequiredApprovingReviewCount -} - -// GetRequiredConversationResolutionLevel returns the RequiredConversationResolutionLevel field if it's non-nil, zero value otherwise. -func (b *BranchProtectionRule) GetRequiredConversationResolutionLevel() string { - if b == nil || b.RequiredConversationResolutionLevel == nil { - return "" - } - return *b.RequiredConversationResolutionLevel -} - -// GetRequiredDeploymentsEnforcementLevel returns the RequiredDeploymentsEnforcementLevel field if it's non-nil, zero value otherwise. -func (b *BranchProtectionRule) GetRequiredDeploymentsEnforcementLevel() string { - if b == nil || b.RequiredDeploymentsEnforcementLevel == nil { - return "" - } - 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 { - return "" - } - return *b.RequiredStatusChecksEnforcementLevel -} - -// GetRequireLastPushApproval returns the RequireLastPushApproval field if it's non-nil, zero value otherwise. -func (b *BranchProtectionRule) GetRequireLastPushApproval() bool { - if b == nil || b.RequireLastPushApproval == nil { - return false - } - return *b.RequireLastPushApproval -} - -// GetSignatureRequirementEnforcementLevel returns the SignatureRequirementEnforcementLevel field if it's non-nil, zero value otherwise. -func (b *BranchProtectionRule) GetSignatureRequirementEnforcementLevel() string { - if b == nil || b.SignatureRequirementEnforcementLevel == nil { - return "" - } - return *b.SignatureRequirementEnforcementLevel -} - -// GetStrictRequiredStatusChecksPolicy returns the StrictRequiredStatusChecksPolicy field if it's non-nil, zero value otherwise. -func (b *BranchProtectionRule) GetStrictRequiredStatusChecksPolicy() bool { - if b == nil || b.StrictRequiredStatusChecksPolicy == nil { - return false - } - return *b.StrictRequiredStatusChecksPolicy -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (b *BranchProtectionRule) GetUpdatedAt() Timestamp { - if b == nil || b.UpdatedAt == nil { - return Timestamp{} - } - return *b.UpdatedAt -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (b *BranchProtectionRuleEvent) GetAction() string { - if b == nil || b.Action == nil { - return "" - } - return *b.Action -} - -// GetChanges returns the Changes field. -func (b *BranchProtectionRuleEvent) GetChanges() *ProtectionChanges { - if b == nil { - return nil - } - return b.Changes -} - -// GetInstallation returns the Installation field. -func (b *BranchProtectionRuleEvent) GetInstallation() *Installation { - if b == nil { - return nil - } - return b.Installation -} - -// GetOrg returns the Org field. -func (b *BranchProtectionRuleEvent) GetOrg() *Organization { - if b == nil { - return nil - } - return b.Org -} - -// GetRepo returns the Repo field. -func (b *BranchProtectionRuleEvent) GetRepo() *Repository { - if b == nil { - return nil - } - return b.Repo -} - -// GetRule returns the Rule field. -func (b *BranchProtectionRuleEvent) GetRule() *BranchProtectionRule { - if b == nil { - return nil - } - return b.Rule -} - -// GetSender returns the Sender field. -func (b *BranchProtectionRuleEvent) GetSender() *User { - if b == nil { - return nil - } - 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 { - return 0 - } - return *b.ActorID -} - -// GetActorType returns the ActorType field. -func (b *BypassActor) GetActorType() *BypassActorType { - if b == nil { - return nil - } - return b.ActorType -} - -// GetBypassMode returns the BypassMode field. -func (b *BypassActor) GetBypassMode() *BypassMode { - if b == nil { - return nil - } - 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 { - return 0 - } - return *b.SecurityConfigurationID -} - -// GetApp returns the App field. -func (c *CheckRun) GetApp() *App { - if c == nil { - return nil - } - return c.App -} - -// GetCheckSuite returns the CheckSuite field. -func (c *CheckRun) GetCheckSuite() *CheckSuite { - if c == nil { - return nil - } - return c.CheckSuite -} - -// GetCompletedAt returns the CompletedAt field if it's non-nil, zero value otherwise. -func (c *CheckRun) GetCompletedAt() Timestamp { - if c == nil || c.CompletedAt == nil { - return Timestamp{} - } - return *c.CompletedAt -} - -// GetConclusion returns the Conclusion field if it's non-nil, zero value otherwise. -func (c *CheckRun) GetConclusion() string { - if c == nil || c.Conclusion == nil { - return "" - } - return *c.Conclusion -} - -// GetDetailsURL returns the DetailsURL field if it's non-nil, zero value otherwise. -func (c *CheckRun) GetDetailsURL() string { - if c == nil || c.DetailsURL == nil { - return "" - } - return *c.DetailsURL -} - -// GetExternalID returns the ExternalID field if it's non-nil, zero value otherwise. -func (c *CheckRun) GetExternalID() string { - if c == nil || c.ExternalID == nil { - return "" - } - return *c.ExternalID -} - -// GetHeadSHA returns the HeadSHA field if it's non-nil, zero value otherwise. -func (c *CheckRun) GetHeadSHA() string { - if c == nil || c.HeadSHA == nil { - return "" - } - return *c.HeadSHA -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (c *CheckRun) GetHTMLURL() string { - if c == nil || c.HTMLURL == nil { - return "" - } - return *c.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (c *CheckRun) GetID() int64 { - if c == nil || c.ID == nil { - return 0 - } - return *c.ID -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (c *CheckRun) GetName() string { - if c == nil || c.Name == nil { - return "" - } - return *c.Name -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (c *CheckRun) GetNodeID() string { - if c == nil || c.NodeID == nil { - return "" - } - return *c.NodeID -} - -// GetOutput returns the Output field. -func (c *CheckRun) GetOutput() *CheckRunOutput { - if c == nil { - return nil - } - 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 { - return Timestamp{} - } - return *c.StartedAt -} - -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (c *CheckRun) GetStatus() string { - if c == nil || c.Status == nil { - return "" - } - return *c.Status -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (c *CheckRun) GetURL() string { - if c == nil || c.URL == nil { - return "" - } - 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 { - return "" - } - return *c.AnnotationLevel -} - -// GetEndColumn returns the EndColumn field if it's non-nil, zero value otherwise. -func (c *CheckRunAnnotation) GetEndColumn() int { - if c == nil || c.EndColumn == nil { - return 0 - } - return *c.EndColumn -} - -// GetEndLine returns the EndLine field if it's non-nil, zero value otherwise. -func (c *CheckRunAnnotation) GetEndLine() int { - if c == nil || c.EndLine == nil { - return 0 - } - return *c.EndLine -} - -// GetMessage returns the Message field if it's non-nil, zero value otherwise. -func (c *CheckRunAnnotation) GetMessage() string { - if c == nil || c.Message == nil { - return "" - } - return *c.Message -} - -// GetPath returns the Path field if it's non-nil, zero value otherwise. -func (c *CheckRunAnnotation) GetPath() string { - if c == nil || c.Path == nil { - return "" - } - return *c.Path -} - -// GetRawDetails returns the RawDetails field if it's non-nil, zero value otherwise. -func (c *CheckRunAnnotation) GetRawDetails() string { - if c == nil || c.RawDetails == nil { - return "" - } - return *c.RawDetails -} - -// GetStartColumn returns the StartColumn field if it's non-nil, zero value otherwise. -func (c *CheckRunAnnotation) GetStartColumn() int { - if c == nil || c.StartColumn == nil { - return 0 - } - return *c.StartColumn -} - -// GetStartLine returns the StartLine field if it's non-nil, zero value otherwise. -func (c *CheckRunAnnotation) GetStartLine() int { - if c == nil || c.StartLine == nil { - return 0 - } - return *c.StartLine -} - -// GetTitle returns the Title field if it's non-nil, zero value otherwise. -func (c *CheckRunAnnotation) GetTitle() string { - if c == nil || c.Title == nil { - return "" - } - return *c.Title -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (c *CheckRunEvent) GetAction() string { - if c == nil || c.Action == nil { - return "" - } - return *c.Action -} - -// GetCheckRun returns the CheckRun field. -func (c *CheckRunEvent) GetCheckRun() *CheckRun { - if c == nil { - return nil - } - return c.CheckRun -} - -// GetInstallation returns the Installation field. -func (c *CheckRunEvent) GetInstallation() *Installation { - if c == nil { - return nil - } - return c.Installation -} - -// GetOrg returns the Org field. -func (c *CheckRunEvent) GetOrg() *Organization { - if c == nil { - return nil - } - return c.Org -} - -// GetRepo returns the Repo field. -func (c *CheckRunEvent) GetRepo() *Repository { - if c == nil { - return nil - } - return c.Repo -} - -// GetRequestedAction returns the RequestedAction field. -func (c *CheckRunEvent) GetRequestedAction() *RequestedAction { - if c == nil { - return nil - } - return c.RequestedAction -} - -// GetSender returns the Sender field. -func (c *CheckRunEvent) GetSender() *User { - if c == nil { - return nil - } - return c.Sender -} - -// GetAlt returns the Alt field if it's non-nil, zero value otherwise. -func (c *CheckRunImage) GetAlt() string { - if c == nil || c.Alt == nil { - return "" - } - return *c.Alt -} - -// GetCaption returns the Caption field if it's non-nil, zero value otherwise. -func (c *CheckRunImage) GetCaption() string { - if c == nil || c.Caption == nil { - return "" - } - return *c.Caption -} - -// GetImageURL returns the ImageURL field if it's non-nil, zero value otherwise. -func (c *CheckRunImage) GetImageURL() string { - if c == nil || c.ImageURL == nil { - return "" - } - 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 { - return 0 - } - return *c.AnnotationsCount -} - -// GetAnnotationsURL returns the AnnotationsURL field if it's non-nil, zero value otherwise. -func (c *CheckRunOutput) GetAnnotationsURL() string { - if c == nil || c.AnnotationsURL == nil { - return "" - } - 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 { - return "" - } - return *c.Summary -} - -// GetText returns the Text field if it's non-nil, zero value otherwise. -func (c *CheckRunOutput) GetText() string { - if c == nil || c.Text == nil { - return "" - } - return *c.Text -} - -// GetTitle returns the Title field if it's non-nil, zero value otherwise. -func (c *CheckRunOutput) GetTitle() string { - if c == nil || c.Title == nil { - return "" - } - return *c.Title -} - -// GetAfterSHA returns the AfterSHA field if it's non-nil, zero value otherwise. -func (c *CheckSuite) GetAfterSHA() string { - if c == nil || c.AfterSHA == nil { - return "" - } - return *c.AfterSHA -} - -// GetApp returns the App field. -func (c *CheckSuite) GetApp() *App { - if c == nil { - return nil - } - return c.App -} - -// GetBeforeSHA returns the BeforeSHA field if it's non-nil, zero value otherwise. -func (c *CheckSuite) GetBeforeSHA() string { - if c == nil || c.BeforeSHA == nil { - return "" - } - return *c.BeforeSHA -} - -// GetConclusion returns the Conclusion field if it's non-nil, zero value otherwise. -func (c *CheckSuite) GetConclusion() string { - if c == nil || c.Conclusion == nil { - return "" - } - return *c.Conclusion -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (c *CheckSuite) GetCreatedAt() Timestamp { - if c == nil || c.CreatedAt == nil { - return Timestamp{} - } - return *c.CreatedAt -} - -// GetHeadBranch returns the HeadBranch field if it's non-nil, zero value otherwise. -func (c *CheckSuite) GetHeadBranch() string { - if c == nil || c.HeadBranch == nil { - return "" - } - return *c.HeadBranch -} - -// GetHeadCommit returns the HeadCommit field. -func (c *CheckSuite) GetHeadCommit() *Commit { - if c == nil { - return nil - } - return c.HeadCommit -} - -// GetHeadSHA returns the HeadSHA field if it's non-nil, zero value otherwise. -func (c *CheckSuite) GetHeadSHA() string { - if c == nil || c.HeadSHA == nil { - return "" - } - return *c.HeadSHA -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (c *CheckSuite) GetID() int64 { - if c == nil || c.ID == nil { - return 0 - } - return *c.ID -} - -// GetLatestCheckRunsCount returns the LatestCheckRunsCount field if it's non-nil, zero value otherwise. -func (c *CheckSuite) GetLatestCheckRunsCount() int64 { - if c == nil || c.LatestCheckRunsCount == nil { - return 0 - } - return *c.LatestCheckRunsCount -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (c *CheckSuite) GetNodeID() string { - if c == nil || c.NodeID == nil { - return "" - } - 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 { - return nil - } - return c.Repository -} - -// GetRerequestable returns the Rerequestable field if it's non-nil, zero value otherwise. -func (c *CheckSuite) GetRerequestable() bool { - if c == nil || c.Rerequestable == nil { - return false - } - return *c.Rerequestable -} - -// GetRunsRerequestable returns the RunsRerequestable field if it's non-nil, zero value otherwise. -func (c *CheckSuite) GetRunsRerequestable() bool { - if c == nil || c.RunsRerequestable == nil { - return false - } - return *c.RunsRerequestable -} - -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (c *CheckSuite) GetStatus() string { - if c == nil || c.Status == nil { - return "" - } - return *c.Status -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (c *CheckSuite) GetUpdatedAt() Timestamp { - if c == nil || c.UpdatedAt == nil { - return Timestamp{} - } - return *c.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (c *CheckSuite) GetURL() string { - if c == nil || c.URL == nil { - return "" - } - return *c.URL -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (c *CheckSuiteEvent) GetAction() string { - if c == nil || c.Action == nil { - return "" - } - return *c.Action -} - -// GetCheckSuite returns the CheckSuite field. -func (c *CheckSuiteEvent) GetCheckSuite() *CheckSuite { - if c == nil { - return nil - } - return c.CheckSuite -} - -// GetInstallation returns the Installation field. -func (c *CheckSuiteEvent) GetInstallation() *Installation { - if c == nil { - return nil - } - return c.Installation -} - -// GetOrg returns the Org field. -func (c *CheckSuiteEvent) GetOrg() *Organization { - if c == nil { - return nil - } - return c.Org -} - -// GetRepo returns the Repo field. -func (c *CheckSuiteEvent) GetRepo() *Repository { - if c == nil { - return nil - } - return c.Repo -} - -// GetSender returns the Sender field. -func (c *CheckSuiteEvent) GetSender() *User { - if c == nil { - return nil - } - 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 { - return nil - } - return c.Preferences -} - -// GetRepository returns the Repository field. -func (c *CheckSuitePreferenceResults) GetRepository() *Repository { - if c == nil { - return nil - } - return c.Repository -} - -// GetArchived returns the Archived field if it's non-nil, zero value otherwise. -func (c *Classroom) GetArchived() bool { - if c == nil || c.Archived == nil { - return false - } - return *c.Archived -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (c *Classroom) GetID() int64 { - if c == nil || c.ID == nil { - return 0 - } - return *c.ID -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (c *Classroom) GetName() string { - if c == nil || c.Name == nil { - return "" - } - return *c.Name -} - -// GetOrganization returns the Organization field. -func (c *Classroom) GetOrganization() *Organization { - if c == nil { - return nil - } - return c.Organization -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (c *Classroom) GetURL() string { - if c == nil || c.URL == nil { - return "" - } - return *c.URL -} - -// GetAccepted returns the Accepted field if it's non-nil, zero value otherwise. -func (c *ClassroomAssignment) GetAccepted() int { - if c == nil || c.Accepted == nil { - return 0 - } - return *c.Accepted -} - -// GetClassroom returns the Classroom field. -func (c *ClassroomAssignment) GetClassroom() *Classroom { - if c == nil { - return nil - } - return c.Classroom -} - -// GetDeadline returns the Deadline field if it's non-nil, zero value otherwise. -func (c *ClassroomAssignment) GetDeadline() Timestamp { - if c == nil || c.Deadline == nil { - return Timestamp{} - } - return *c.Deadline -} - -// GetEditor returns the Editor field if it's non-nil, zero value otherwise. -func (c *ClassroomAssignment) GetEditor() string { - if c == nil || c.Editor == nil { - return "" - } - return *c.Editor -} - -// GetFeedbackPullRequestsEnabled returns the FeedbackPullRequestsEnabled field if it's non-nil, zero value otherwise. -func (c *ClassroomAssignment) GetFeedbackPullRequestsEnabled() bool { - if c == nil || c.FeedbackPullRequestsEnabled == nil { - return false - } - return *c.FeedbackPullRequestsEnabled -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (c *ClassroomAssignment) GetID() int64 { - if c == nil || c.ID == nil { - return 0 - } - return *c.ID -} - -// GetInvitationsEnabled returns the InvitationsEnabled field if it's non-nil, zero value otherwise. -func (c *ClassroomAssignment) GetInvitationsEnabled() bool { - if c == nil || c.InvitationsEnabled == nil { - return false - } - return *c.InvitationsEnabled -} - -// GetInviteLink returns the InviteLink field if it's non-nil, zero value otherwise. -func (c *ClassroomAssignment) GetInviteLink() string { - if c == nil || c.InviteLink == nil { - return "" - } - return *c.InviteLink -} - -// GetLanguage returns the Language field if it's non-nil, zero value otherwise. -func (c *ClassroomAssignment) GetLanguage() string { - if c == nil || c.Language == nil { - return "" - } - return *c.Language -} - -// GetMaxMembers returns the MaxMembers field if it's non-nil, zero value otherwise. -func (c *ClassroomAssignment) GetMaxMembers() int { - if c == nil || c.MaxMembers == nil { - return 0 - } - return *c.MaxMembers -} - -// GetMaxTeams returns the MaxTeams field if it's non-nil, zero value otherwise. -func (c *ClassroomAssignment) GetMaxTeams() int { - if c == nil || c.MaxTeams == nil { - return 0 - } - return *c.MaxTeams -} - -// GetPassing returns the Passing field if it's non-nil, zero value otherwise. -func (c *ClassroomAssignment) GetPassing() int { - if c == nil || c.Passing == nil { - return 0 - } - return *c.Passing -} - -// GetPublicRepo returns the PublicRepo field if it's non-nil, zero value otherwise. -func (c *ClassroomAssignment) GetPublicRepo() bool { - if c == nil || c.PublicRepo == nil { - return false - } - return *c.PublicRepo -} - -// GetSlug returns the Slug field if it's non-nil, zero value otherwise. -func (c *ClassroomAssignment) GetSlug() string { - if c == nil || c.Slug == nil { - return "" - } - return *c.Slug -} - -// GetStarterCodeRepository returns the StarterCodeRepository field. -func (c *ClassroomAssignment) GetStarterCodeRepository() *Repository { - if c == nil { - return nil - } - return c.StarterCodeRepository -} - -// GetStudentsAreRepoAdmins returns the StudentsAreRepoAdmins field if it's non-nil, zero value otherwise. -func (c *ClassroomAssignment) GetStudentsAreRepoAdmins() bool { - if c == nil || c.StudentsAreRepoAdmins == nil { - return false - } - return *c.StudentsAreRepoAdmins -} - -// GetSubmitted returns the Submitted field if it's non-nil, zero value otherwise. -func (c *ClassroomAssignment) GetSubmitted() int { - if c == nil || c.Submitted == nil { - return 0 - } - return *c.Submitted -} - -// GetTitle returns the Title field if it's non-nil, zero value otherwise. -func (c *ClassroomAssignment) GetTitle() string { - if c == nil || c.Title == nil { - return "" - } - return *c.Title -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (c *ClassroomAssignment) GetType() string { - if c == nil || c.Type == nil { - return "" - } - return *c.Type -} - -// GetAvatarURL returns the AvatarURL field if it's non-nil, zero value otherwise. -func (c *ClassroomUser) GetAvatarURL() string { - if c == nil || c.AvatarURL == nil { - return "" - } - return *c.AvatarURL -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (c *ClassroomUser) GetHTMLURL() string { - if c == nil || c.HTMLURL == nil { - return "" - } - return *c.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (c *ClassroomUser) GetID() int64 { - if c == nil || c.ID == nil { - return 0 - } - return *c.ID -} - -// GetLogin returns the Login field if it's non-nil, zero value otherwise. -func (c *ClassroomUser) GetLogin() string { - if c == nil || c.Login == nil { - return "" - } - 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 { - return "" - } - 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 { - return map[string]string{} - } - return c.Tags -} - -// GetVersion returns the Version field if it's non-nil, zero value otherwise. -func (c *ClusterArtifactDeployment) GetVersion() string { - if c == nil || c.Version == nil { - return "" - } - 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 { - return "" - } - return *c.PhysicalEnvironment -} - -// GetFingerprint returns the Fingerprint field if it's non-nil, zero value otherwise. -func (c *ClusterSSHKey) GetFingerprint() string { - if c == nil || c.Fingerprint == nil { - return "" - } - return *c.Fingerprint -} - -// GetKey returns the Key field if it's non-nil, zero value otherwise. -func (c *ClusterSSHKey) GetKey() string { - if c == nil || c.Key == nil { - return "" - } - 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 { - return "" - } - return *c.Status -} - -// GetHostname returns the Hostname field if it's non-nil, zero value otherwise. -func (c *ClusterStatusNode) GetHostname() string { - if c == nil || c.Hostname == nil { - return "" - } - 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 { - return "" - } - return *c.Status -} - -// GetDetails returns the Details field if it's non-nil, zero value otherwise. -func (c *ClusterStatusNodeServiceItem) GetDetails() string { - if c == nil || c.Details == nil { - return "" - } - return *c.Details -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (c *ClusterStatusNodeServiceItem) GetName() string { - if c == nil || c.Name == nil { - return "" - } - return *c.Name -} - -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (c *ClusterStatusNodeServiceItem) GetStatus() string { - if c == nil || c.Status == nil { - return "" - } - return *c.Status -} - -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (c *CodeOfConduct) GetBody() string { - if c == nil || c.Body == nil { - return "" - } - return *c.Body -} - -// GetKey returns the Key field if it's non-nil, zero value otherwise. -func (c *CodeOfConduct) GetKey() string { - if c == nil || c.Key == nil { - return "" - } - return *c.Key -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (c *CodeOfConduct) GetName() string { - if c == nil || c.Name == nil { - return "" - } - return *c.Name -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (c *CodeOfConduct) GetURL() string { - if c == nil || c.URL == nil { - return "" - } - 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 { - return "" - } - 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 { - return "" - } - return *c.ContentType -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (c *CodeQLDatabase) GetCreatedAt() Timestamp { - if c == nil || c.CreatedAt == nil { - return Timestamp{} - } - return *c.CreatedAt -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (c *CodeQLDatabase) GetID() int64 { - if c == nil || c.ID == nil { - return 0 - } - return *c.ID -} - -// GetLanguage returns the Language field if it's non-nil, zero value otherwise. -func (c *CodeQLDatabase) GetLanguage() string { - if c == nil || c.Language == nil { - return "" - } - return *c.Language -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (c *CodeQLDatabase) GetName() string { - if c == nil || c.Name == nil { - return "" - } - return *c.Name -} - -// GetSize returns the Size field if it's non-nil, zero value otherwise. -func (c *CodeQLDatabase) GetSize() int64 { - if c == nil || c.Size == nil { - return 0 - } - return *c.Size -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (c *CodeQLDatabase) GetUpdatedAt() Timestamp { - if c == nil || c.UpdatedAt == nil { - return Timestamp{} - } - return *c.UpdatedAt -} - -// GetUploader returns the Uploader field. -func (c *CodeQLDatabase) GetUploader() *User { - if c == nil { - return nil - } - return c.Uploader -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (c *CodeQLDatabase) GetURL() string { - if c == nil || c.URL == nil { - return "" - } - return *c.URL -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (c *CodeQualityFinding) GetCreatedAt() Timestamp { - if c == nil || c.CreatedAt == nil { - return Timestamp{} - } - return *c.CreatedAt -} - -// GetLocation returns the Location field. -func (c *CodeQualityFinding) GetLocation() CodeQualityFindingLocation { - if c == nil { - return CodeQualityFindingLocation{} - } - return c.Location -} - -// GetMessage returns the Message field. -func (c *CodeQualityFinding) GetMessage() CodeQualityFindingMessage { - if c == nil { - return CodeQualityFindingMessage{} - } - return c.Message -} - -// GetNumber returns the Number field. -func (c *CodeQualityFinding) GetNumber() int { - if c == nil { - return 0 - } - return c.Number -} - -// GetRule returns the Rule field. -func (c *CodeQualityFinding) GetRule() CodeQualityFindingRule { - if c == nil { - return CodeQualityFindingRule{} - } - return c.Rule -} - -// GetState returns the State field. -func (c *CodeQualityFinding) GetState() string { - if c == nil { - return "" - } - return c.State -} - -// GetURL returns the URL field. -func (c *CodeQualityFinding) GetURL() string { - if c == nil { - return "" - } - return c.URL -} - -// GetEndColumn returns the EndColumn field if it's non-nil, zero value otherwise. -func (c *CodeQualityFindingLocation) GetEndColumn() int { - if c == nil || c.EndColumn == nil { - return 0 - } - return *c.EndColumn -} - -// GetEndLine returns the EndLine field if it's non-nil, zero value otherwise. -func (c *CodeQualityFindingLocation) GetEndLine() int { - if c == nil || c.EndLine == nil { - return 0 - } - return *c.EndLine -} - -// GetPath returns the Path field. -func (c *CodeQualityFindingLocation) GetPath() string { - if c == nil { - return "" - } - return c.Path -} - -// GetStartColumn returns the StartColumn field if it's non-nil, zero value otherwise. -func (c *CodeQualityFindingLocation) GetStartColumn() int { - if c == nil || c.StartColumn == nil { - return 0 - } - return *c.StartColumn -} - -// GetStartLine returns the StartLine field if it's non-nil, zero value otherwise. -func (c *CodeQualityFindingLocation) GetStartLine() int { - if c == nil || c.StartLine == nil { - return 0 - } - return *c.StartLine -} - -// GetMarkdown returns the Markdown field. -func (c *CodeQualityFindingMessage) GetMarkdown() string { - if c == nil { - return "" - } - return c.Markdown -} - -// GetText returns the Text field. -func (c *CodeQualityFindingMessage) GetText() string { - if c == nil { - return "" - } - return c.Text -} - -// GetCategory returns the Category field. -func (c *CodeQualityFindingRule) GetCategory() string { - if c == nil { - return "" - } - return c.Category -} - -// GetDescription returns the Description field. -func (c *CodeQualityFindingRule) GetDescription() string { - if c == nil { - return "" - } - return c.Description -} - -// GetHelp returns the Help field if it's non-nil, zero value otherwise. -func (c *CodeQualityFindingRule) GetHelp() string { - if c == nil || c.Help == nil { - return "" - } - return *c.Help -} - -// GetID returns the ID field. -func (c *CodeQualityFindingRule) GetID() string { - if c == nil { - return "" - } - return c.ID -} - -// GetSeverity returns the Severity field. -func (c *CodeQualityFindingRule) GetSeverity() string { - if c == nil { - return "" - } - return c.Severity -} - -// GetTitle returns the Title field. -func (c *CodeQualityFindingRule) GetTitle() string { - if c == nil { - return "" - } - return c.Title -} - -// GetLanguages returns the Languages slice if it's non-nil, nil otherwise. -func (c *CodeQualitySetupConfiguration) GetLanguages() []string { - if c == nil || c.Languages == nil { - return nil - } - return c.Languages -} - -// GetRunnerLabel returns the RunnerLabel field if it's non-nil, zero value otherwise. -func (c *CodeQualitySetupConfiguration) GetRunnerLabel() string { - if c == nil || c.RunnerLabel == nil { - return "" - } - return *c.RunnerLabel -} - -// GetRunnerType returns the RunnerType field if it's non-nil, zero value otherwise. -func (c *CodeQualitySetupConfiguration) GetRunnerType() string { - if c == nil || c.RunnerType == nil { - return "" - } - return *c.RunnerType -} - -// GetSchedule returns the Schedule field if it's non-nil, zero value otherwise. -func (c *CodeQualitySetupConfiguration) GetSchedule() string { - if c == nil || c.Schedule == nil { - return "" - } - return *c.Schedule -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (c *CodeQualitySetupConfiguration) GetState() string { - if c == nil || c.State == nil { - return "" - } - return *c.State -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (c *CodeQualitySetupConfiguration) GetUpdatedAt() Timestamp { - if c == nil || c.UpdatedAt == nil { - return Timestamp{} - } - return *c.UpdatedAt -} - -// GetLanguages returns the Languages slice if it's non-nil, nil otherwise. -func (c *CodeQualityUpdateSetupRequest) GetLanguages() []string { - if c == nil || c.Languages == nil { - return nil - } - return c.Languages -} - -// GetRunnerLabel returns the RunnerLabel field if it's non-nil, zero value otherwise. -func (c *CodeQualityUpdateSetupRequest) GetRunnerLabel() string { - if c == nil || c.RunnerLabel == nil { - return "" - } - return *c.RunnerLabel -} - -// GetRunnerType returns the RunnerType field if it's non-nil, zero value otherwise. -func (c *CodeQualityUpdateSetupRequest) GetRunnerType() string { - if c == nil || c.RunnerType == nil { - return "" - } - return *c.RunnerType -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (c *CodeQualityUpdateSetupRequest) GetState() string { - if c == nil || c.State == nil { - return "" - } - return *c.State -} - -// GetRunID returns the RunID field if it's non-nil, zero value otherwise. -func (c *CodeQualityUpdateSetupResponse) GetRunID() int64 { - if c == nil || c.RunID == nil { - return 0 - } - return *c.RunID -} - -// GetRunURL returns the RunURL field if it's non-nil, zero value otherwise. -func (c *CodeQualityUpdateSetupResponse) GetRunURL() string { - if c == nil || c.RunURL == nil { - return "" - } - return *c.RunURL -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (c *CodeResult) GetHTMLURL() string { - if c == nil || c.HTMLURL == nil { - return "" - } - return *c.HTMLURL -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (c *CodeResult) GetName() string { - if c == nil || c.Name == nil { - return "" - } - return *c.Name -} - -// GetPath returns the Path field if it's non-nil, zero value otherwise. -func (c *CodeResult) GetPath() string { - if c == nil || c.Path == nil { - return "" - } - return *c.Path -} - -// GetRepository returns the Repository field. -func (c *CodeResult) GetRepository() *Repository { - if c == nil { - return nil - } - return c.Repository -} - -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (c *CodeResult) GetSHA() string { - if c == nil || c.SHA == nil { - return "" - } - 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 { - return "" - } - return *c.Action -} - -// GetAlert returns the Alert field. -func (c *CodeScanningAlertEvent) GetAlert() *Alert { - if c == nil { - return nil - } - return c.Alert -} - -// GetCommitOID returns the CommitOID field if it's non-nil, zero value otherwise. -func (c *CodeScanningAlertEvent) GetCommitOID() string { - if c == nil || c.CommitOID == nil { - return "" - } - return *c.CommitOID -} - -// GetInstallation returns the Installation field. -func (c *CodeScanningAlertEvent) GetInstallation() *Installation { - if c == nil { - return nil - } - return c.Installation -} - -// GetOrg returns the Org field. -func (c *CodeScanningAlertEvent) GetOrg() *Organization { - if c == nil { - return nil - } - return c.Org -} - -// GetRef returns the Ref field if it's non-nil, zero value otherwise. -func (c *CodeScanningAlertEvent) GetRef() string { - if c == nil || c.Ref == nil { - return "" - } - return *c.Ref -} - -// GetRepo returns the Repo field. -func (c *CodeScanningAlertEvent) GetRepo() *Repository { - if c == nil { - return nil - } - return c.Repo -} - -// GetSender returns the Sender field. -func (c *CodeScanningAlertEvent) GetSender() *User { - if c == nil { - return nil - } - return c.Sender -} - -// GetDismissedComment returns the DismissedComment field if it's non-nil, zero value otherwise. -func (c *CodeScanningAlertState) GetDismissedComment() string { - if c == nil || c.DismissedComment == nil { - return "" - } - return *c.DismissedComment -} - -// GetDismissedReason returns the DismissedReason field if it's non-nil, zero value otherwise. -func (c *CodeScanningAlertState) GetDismissedReason() string { - if c == nil || c.DismissedReason == nil { - return "" - } - 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 { - return "" - } - 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 { - return false - } - 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 { - return false - } - return *c.IncompleteResults -} - -// GetTotal returns the Total field if it's non-nil, zero value otherwise. -func (c *CodeSearchResult) GetTotal() int { - if c == nil || c.Total == nil { - return 0 - } - return *c.Total -} - -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (c *CodeSecurity) GetStatus() string { - if c == nil || c.Status == nil { - return "" - } - return *c.Status -} - -// GetAdvancedSecurity returns the AdvancedSecurity field if it's non-nil, zero value otherwise. -func (c *CodeSecurityConfiguration) GetAdvancedSecurity() string { - if c == nil || c.AdvancedSecurity == nil { - return "" - } - return *c.AdvancedSecurity -} - -// GetCodeScanningDefaultSetup returns the CodeScanningDefaultSetup field if it's non-nil, zero value otherwise. -func (c *CodeSecurityConfiguration) GetCodeScanningDefaultSetup() string { - if c == nil || c.CodeScanningDefaultSetup == nil { - return "" - } - return *c.CodeScanningDefaultSetup -} - -// GetCodeScanningDefaultSetupOptions returns the CodeScanningDefaultSetupOptions field. -func (c *CodeSecurityConfiguration) GetCodeScanningDefaultSetupOptions() *CodeScanningDefaultSetupOptions { - if c == nil { - return nil - } - return c.CodeScanningDefaultSetupOptions -} - -// GetCodeScanningDelegatedAlertDismissal returns the CodeScanningDelegatedAlertDismissal field if it's non-nil, zero value otherwise. -func (c *CodeSecurityConfiguration) GetCodeScanningDelegatedAlertDismissal() string { - if c == nil || c.CodeScanningDelegatedAlertDismissal == nil { - return "" - } - return *c.CodeScanningDelegatedAlertDismissal -} - -// GetCodeScanningOptions returns the CodeScanningOptions field. -func (c *CodeSecurityConfiguration) GetCodeScanningOptions() *CodeScanningOptions { - if c == nil { - return nil - } - return c.CodeScanningOptions -} - -// GetCodeSecurity returns the CodeSecurity field if it's non-nil, zero value otherwise. -func (c *CodeSecurityConfiguration) GetCodeSecurity() string { - if c == nil || c.CodeSecurity == nil { - return "" - } - return *c.CodeSecurity -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (c *CodeSecurityConfiguration) GetCreatedAt() Timestamp { - if c == nil || c.CreatedAt == nil { - return Timestamp{} - } - return *c.CreatedAt -} - -// GetDependabotAlerts returns the DependabotAlerts field if it's non-nil, zero value otherwise. -func (c *CodeSecurityConfiguration) GetDependabotAlerts() string { - if c == nil || c.DependabotAlerts == nil { - return "" - } - return *c.DependabotAlerts -} - -// GetDependabotDelegatedAlertDismissal returns the DependabotDelegatedAlertDismissal field if it's non-nil, zero value otherwise. -func (c *CodeSecurityConfiguration) GetDependabotDelegatedAlertDismissal() string { - if c == nil || c.DependabotDelegatedAlertDismissal == nil { - return "" - } - return *c.DependabotDelegatedAlertDismissal -} - -// GetDependabotSecurityUpdates returns the DependabotSecurityUpdates field if it's non-nil, zero value otherwise. -func (c *CodeSecurityConfiguration) GetDependabotSecurityUpdates() string { - if c == nil || c.DependabotSecurityUpdates == nil { - return "" - } - return *c.DependabotSecurityUpdates -} - -// GetDependencyGraph returns the DependencyGraph field if it's non-nil, zero value otherwise. -func (c *CodeSecurityConfiguration) GetDependencyGraph() string { - if c == nil || c.DependencyGraph == nil { - return "" - } - return *c.DependencyGraph -} - -// GetDependencyGraphAutosubmitAction returns the DependencyGraphAutosubmitAction field if it's non-nil, zero value otherwise. -func (c *CodeSecurityConfiguration) GetDependencyGraphAutosubmitAction() string { - if c == nil || c.DependencyGraphAutosubmitAction == nil { - return "" - } - return *c.DependencyGraphAutosubmitAction -} - -// GetDependencyGraphAutosubmitActionOptions returns the DependencyGraphAutosubmitActionOptions field. -func (c *CodeSecurityConfiguration) GetDependencyGraphAutosubmitActionOptions() *DependencyGraphAutosubmitActionOptions { - if c == nil { - return nil - } - 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 { - return "" - } - return *c.Enforcement -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (c *CodeSecurityConfiguration) GetHTMLURL() string { - if c == nil || c.HTMLURL == nil { - return "" - } - return *c.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (c *CodeSecurityConfiguration) GetID() int64 { - if c == nil || c.ID == nil { - return 0 - } - 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 { - return "" - } - return *c.PrivateVulnerabilityReporting -} - -// GetSecretProtection returns the SecretProtection field if it's non-nil, zero value otherwise. -func (c *CodeSecurityConfiguration) GetSecretProtection() string { - if c == nil || c.SecretProtection == nil { - return "" - } - return *c.SecretProtection -} - -// GetSecretScanning returns the SecretScanning field if it's non-nil, zero value otherwise. -func (c *CodeSecurityConfiguration) GetSecretScanning() string { - if c == nil || c.SecretScanning == nil { - return "" - } - return *c.SecretScanning -} - -// GetSecretScanningDelegatedAlertDismissal returns the SecretScanningDelegatedAlertDismissal field if it's non-nil, zero value otherwise. -func (c *CodeSecurityConfiguration) GetSecretScanningDelegatedAlertDismissal() string { - if c == nil || c.SecretScanningDelegatedAlertDismissal == nil { - return "" - } - return *c.SecretScanningDelegatedAlertDismissal -} - -// GetSecretScanningDelegatedBypass returns the SecretScanningDelegatedBypass field if it's non-nil, zero value otherwise. -func (c *CodeSecurityConfiguration) GetSecretScanningDelegatedBypass() string { - if c == nil || c.SecretScanningDelegatedBypass == nil { - return "" - } - return *c.SecretScanningDelegatedBypass -} - -// GetSecretScanningDelegatedBypassOptions returns the SecretScanningDelegatedBypassOptions field. -func (c *CodeSecurityConfiguration) GetSecretScanningDelegatedBypassOptions() *SecretScanningDelegatedBypassOptions { - if c == nil { - return nil - } - return c.SecretScanningDelegatedBypassOptions -} - -// GetSecretScanningExtendedMetadata returns the SecretScanningExtendedMetadata field if it's non-nil, zero value otherwise. -func (c *CodeSecurityConfiguration) GetSecretScanningExtendedMetadata() string { - if c == nil || c.SecretScanningExtendedMetadata == nil { - return "" - } - return *c.SecretScanningExtendedMetadata -} - -// GetSecretScanningGenericSecrets returns the SecretScanningGenericSecrets field if it's non-nil, zero value otherwise. -func (c *CodeSecurityConfiguration) GetSecretScanningGenericSecrets() string { - if c == nil || c.SecretScanningGenericSecrets == nil { - return "" - } - return *c.SecretScanningGenericSecrets -} - -// GetSecretScanningNonProviderPatterns returns the SecretScanningNonProviderPatterns field if it's non-nil, zero value otherwise. -func (c *CodeSecurityConfiguration) GetSecretScanningNonProviderPatterns() string { - if c == nil || c.SecretScanningNonProviderPatterns == nil { - return "" - } - return *c.SecretScanningNonProviderPatterns -} - -// GetSecretScanningPushProtection returns the SecretScanningPushProtection field if it's non-nil, zero value otherwise. -func (c *CodeSecurityConfiguration) GetSecretScanningPushProtection() string { - if c == nil || c.SecretScanningPushProtection == nil { - return "" - } - return *c.SecretScanningPushProtection -} - -// GetSecretScanningValidityChecks returns the SecretScanningValidityChecks field if it's non-nil, zero value otherwise. -func (c *CodeSecurityConfiguration) GetSecretScanningValidityChecks() string { - if c == nil || c.SecretScanningValidityChecks == nil { - return "" - } - return *c.SecretScanningValidityChecks -} - -// GetTargetType returns the TargetType field if it's non-nil, zero value otherwise. -func (c *CodeSecurityConfiguration) GetTargetType() string { - if c == nil || c.TargetType == nil { - return "" - } - return *c.TargetType -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (c *CodeSecurityConfiguration) GetUpdatedAt() Timestamp { - if c == nil || c.UpdatedAt == nil { - return Timestamp{} - } - return *c.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (c *CodeSecurityConfiguration) GetURL() string { - if c == nil || c.URL == nil { - return "" - } - return *c.URL -} - -// GetConfiguration returns the Configuration field. -func (c *CodeSecurityConfigurationWithDefaultForNewRepos) GetConfiguration() *CodeSecurityConfiguration { - if c == nil { - return nil - } - return c.Configuration -} - -// GetDefaultForNewRepos returns the DefaultForNewRepos field if it's non-nil, zero value otherwise. -func (c *CodeSecurityConfigurationWithDefaultForNewRepos) GetDefaultForNewRepos() string { - if c == nil || c.DefaultForNewRepos == nil { - return "" - } - return *c.DefaultForNewRepos -} - -// GetBillableOwner returns the BillableOwner field. -func (c *Codespace) GetBillableOwner() *User { - if c == nil { - return nil - } - return c.BillableOwner -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (c *Codespace) GetCreatedAt() Timestamp { - if c == nil || c.CreatedAt == nil { - return Timestamp{} - } - return *c.CreatedAt -} - -// GetDevcontainerPath returns the DevcontainerPath field if it's non-nil, zero value otherwise. -func (c *Codespace) GetDevcontainerPath() string { - if c == nil || c.DevcontainerPath == nil { - return "" - } - return *c.DevcontainerPath -} - -// GetDisplayName returns the DisplayName field if it's non-nil, zero value otherwise. -func (c *Codespace) GetDisplayName() string { - if c == nil || c.DisplayName == nil { - return "" - } - return *c.DisplayName -} - -// GetEnvironmentID returns the EnvironmentID field if it's non-nil, zero value otherwise. -func (c *Codespace) GetEnvironmentID() string { - if c == nil || c.EnvironmentID == nil { - return "" - } - return *c.EnvironmentID -} - -// GetGitStatus returns the GitStatus field. -func (c *Codespace) GetGitStatus() *CodespacesGitStatus { - if c == nil { - return nil - } - return c.GitStatus -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (c *Codespace) GetID() int64 { - if c == nil || c.ID == nil { - return 0 - } - return *c.ID -} - -// GetIdleTimeoutMinutes returns the IdleTimeoutMinutes field if it's non-nil, zero value otherwise. -func (c *Codespace) GetIdleTimeoutMinutes() int { - if c == nil || c.IdleTimeoutMinutes == nil { - return 0 - } - return *c.IdleTimeoutMinutes -} - -// GetIdleTimeoutNotice returns the IdleTimeoutNotice field if it's non-nil, zero value otherwise. -func (c *Codespace) GetIdleTimeoutNotice() string { - if c == nil || c.IdleTimeoutNotice == nil { - return "" - } - return *c.IdleTimeoutNotice -} - -// GetLastKnownStopNotice returns the LastKnownStopNotice field if it's non-nil, zero value otherwise. -func (c *Codespace) GetLastKnownStopNotice() string { - if c == nil || c.LastKnownStopNotice == nil { - return "" - } - return *c.LastKnownStopNotice -} - -// GetLastUsedAt returns the LastUsedAt field if it's non-nil, zero value otherwise. -func (c *Codespace) GetLastUsedAt() Timestamp { - if c == nil || c.LastUsedAt == nil { - return Timestamp{} - } - return *c.LastUsedAt -} - -// GetLocation returns the Location field if it's non-nil, zero value otherwise. -func (c *Codespace) GetLocation() string { - if c == nil || c.Location == nil { - return "" - } - return *c.Location -} - -// GetMachine returns the Machine field. -func (c *Codespace) GetMachine() *CodespacesMachine { - if c == nil { - return nil - } - return c.Machine -} - -// GetMachinesURL returns the MachinesURL field if it's non-nil, zero value otherwise. -func (c *Codespace) GetMachinesURL() string { - if c == nil || c.MachinesURL == nil { - return "" - } - return *c.MachinesURL -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (c *Codespace) GetName() string { - if c == nil || c.Name == nil { - return "" - } - return *c.Name -} - -// GetOwner returns the Owner field. -func (c *Codespace) GetOwner() *User { - if c == nil { - return nil - } - return c.Owner -} - -// GetPendingOperation returns the PendingOperation field if it's non-nil, zero value otherwise. -func (c *Codespace) GetPendingOperation() bool { - if c == nil || c.PendingOperation == nil { - return false - } - return *c.PendingOperation -} - -// GetPendingOperationDisabledReason returns the PendingOperationDisabledReason field if it's non-nil, zero value otherwise. -func (c *Codespace) GetPendingOperationDisabledReason() string { - if c == nil || c.PendingOperationDisabledReason == nil { - return "" - } - return *c.PendingOperationDisabledReason -} - -// GetPrebuild returns the Prebuild field if it's non-nil, zero value otherwise. -func (c *Codespace) GetPrebuild() bool { - if c == nil || c.Prebuild == nil { - return false - } - return *c.Prebuild -} - -// GetPullsURL returns the PullsURL field if it's non-nil, zero value otherwise. -func (c *Codespace) GetPullsURL() string { - if c == nil || c.PullsURL == nil { - return "" - } - 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 { - return nil - } - return c.Repository -} - -// GetRetentionExpiresAt returns the RetentionExpiresAt field if it's non-nil, zero value otherwise. -func (c *Codespace) GetRetentionExpiresAt() Timestamp { - if c == nil || c.RetentionExpiresAt == nil { - return Timestamp{} - } - return *c.RetentionExpiresAt -} - -// GetRetentionPeriodMinutes returns the RetentionPeriodMinutes field if it's non-nil, zero value otherwise. -func (c *Codespace) GetRetentionPeriodMinutes() int { - if c == nil || c.RetentionPeriodMinutes == nil { - return 0 - } - return *c.RetentionPeriodMinutes -} - -// GetRuntimeConstraints returns the RuntimeConstraints field. -func (c *Codespace) GetRuntimeConstraints() *CodespacesRuntimeConstraints { - if c == nil { - return nil - } - return c.RuntimeConstraints -} - -// GetStartURL returns the StartURL field if it's non-nil, zero value otherwise. -func (c *Codespace) GetStartURL() string { - if c == nil || c.StartURL == nil { - return "" - } - return *c.StartURL -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (c *Codespace) GetState() string { - if c == nil || c.State == nil { - return "" - } - return *c.State -} - -// GetStopURL returns the StopURL field if it's non-nil, zero value otherwise. -func (c *Codespace) GetStopURL() string { - if c == nil || c.StopURL == nil { - return "" - } - return *c.StopURL -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (c *Codespace) GetUpdatedAt() Timestamp { - if c == nil || c.UpdatedAt == nil { - return Timestamp{} - } - return *c.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (c *Codespace) GetURL() string { - if c == nil || c.URL == nil { - return "" - } - return *c.URL -} - -// GetWebURL returns the WebURL field if it's non-nil, zero value otherwise. -func (c *Codespace) GetWebURL() string { - if c == nil || c.WebURL == nil { - return "" - } - return *c.WebURL -} - -// GetClientIP returns the ClientIP field if it's non-nil, zero value otherwise. -func (c *CodespaceCreateForUserOptions) GetClientIP() string { - if c == nil || c.ClientIP == nil { - return "" - } - return *c.ClientIP -} - -// GetDevcontainerPath returns the DevcontainerPath field if it's non-nil, zero value otherwise. -func (c *CodespaceCreateForUserOptions) GetDevcontainerPath() string { - if c == nil || c.DevcontainerPath == nil { - return "" - } - return *c.DevcontainerPath -} - -// GetDisplayName returns the DisplayName field if it's non-nil, zero value otherwise. -func (c *CodespaceCreateForUserOptions) GetDisplayName() string { - if c == nil || c.DisplayName == nil { - return "" - } - return *c.DisplayName -} - -// GetGeo returns the Geo field if it's non-nil, zero value otherwise. -func (c *CodespaceCreateForUserOptions) GetGeo() string { - if c == nil || c.Geo == nil { - return "" - } - return *c.Geo -} - -// GetIdleTimeoutMinutes returns the IdleTimeoutMinutes field if it's non-nil, zero value otherwise. -func (c *CodespaceCreateForUserOptions) GetIdleTimeoutMinutes() int { - if c == nil || c.IdleTimeoutMinutes == nil { - return 0 - } - return *c.IdleTimeoutMinutes -} - -// GetLocation returns the Location field if it's non-nil, zero value otherwise. -func (c *CodespaceCreateForUserOptions) GetLocation() string { - if c == nil || c.Location == nil { - return "" - } - return *c.Location -} - -// GetMachine returns the Machine field if it's non-nil, zero value otherwise. -func (c *CodespaceCreateForUserOptions) GetMachine() string { - if c == nil || c.Machine == nil { - return "" - } - return *c.Machine -} - -// GetMultiRepoPermissionsOptOut returns the MultiRepoPermissionsOptOut field if it's non-nil, zero value otherwise. -func (c *CodespaceCreateForUserOptions) GetMultiRepoPermissionsOptOut() bool { - if c == nil || c.MultiRepoPermissionsOptOut == nil { - return false - } - return *c.MultiRepoPermissionsOptOut -} - -// GetPullRequest returns the PullRequest field. -func (c *CodespaceCreateForUserOptions) GetPullRequest() *CodespacePullRequestOptions { - if c == nil { - return nil - } - return c.PullRequest -} - -// GetRef returns the Ref field if it's non-nil, zero value otherwise. -func (c *CodespaceCreateForUserOptions) GetRef() string { - if c == nil || c.Ref == nil { - return "" - } - 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 { - return 0 - } - return *c.RetentionPeriodMinutes -} - -// GetWorkingDirectory returns the WorkingDirectory field if it's non-nil, zero value otherwise. -func (c *CodespaceCreateForUserOptions) GetWorkingDirectory() string { - if c == nil || c.WorkingDirectory == nil { - return "" - } - return *c.WorkingDirectory -} - -// GetBillableOwner returns the BillableOwner field. -func (c *CodespaceDefaultAttributes) GetBillableOwner() *User { - if c == nil { - return nil - } - return c.BillableOwner -} - -// GetDefaults returns the Defaults field. -func (c *CodespaceDefaultAttributes) GetDefaults() *CodespaceDefaults { - if c == nil { - return nil - } - return c.Defaults -} - -// GetDevcontainerPath returns the DevcontainerPath field if it's non-nil, zero value otherwise. -func (c *CodespaceDefaults) GetDevcontainerPath() string { - if c == nil || c.DevcontainerPath == nil { - return "" - } - 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 { - return "" - } - return *c.Branch -} - -// GetCompletedAt returns the CompletedAt field if it's non-nil, zero value otherwise. -func (c *CodespaceExport) GetCompletedAt() Timestamp { - if c == nil || c.CompletedAt == nil { - return Timestamp{} - } - return *c.CompletedAt -} - -// GetExportURL returns the ExportURL field if it's non-nil, zero value otherwise. -func (c *CodespaceExport) GetExportURL() string { - if c == nil || c.ExportURL == nil { - return "" - } - return *c.ExportURL -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (c *CodespaceExport) GetHTMLURL() string { - if c == nil || c.HTMLURL == nil { - return "" - } - return *c.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (c *CodespaceExport) GetID() string { - if c == nil || c.ID == nil { - return "" - } - return *c.ID -} - -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (c *CodespaceExport) GetSHA() string { - if c == nil || c.SHA == nil { - return "" - } - return *c.SHA -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (c *CodespaceExport) GetState() string { - if c == nil || c.State == nil { - return "" - } - return *c.State -} - -// GetClientIP returns the ClientIP field if it's non-nil, zero value otherwise. -func (c *CodespaceGetDefaultAttributesOptions) GetClientIP() string { - if c == nil || c.ClientIP == nil { - return "" - } - return *c.ClientIP -} - -// GetRef returns the Ref field if it's non-nil, zero value otherwise. -func (c *CodespaceGetDefaultAttributesOptions) GetRef() string { - if c == nil || c.Ref == nil { - return "" - } - 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 { - return 0 - } - return *c.Ahead -} - -// GetBehind returns the Behind field if it's non-nil, zero value otherwise. -func (c *CodespacesGitStatus) GetBehind() int { - if c == nil || c.Behind == nil { - return 0 - } - return *c.Behind -} - -// GetHasUncommittedChanges returns the HasUncommittedChanges field if it's non-nil, zero value otherwise. -func (c *CodespacesGitStatus) GetHasUncommittedChanges() bool { - if c == nil || c.HasUncommittedChanges == nil { - return false - } - return *c.HasUncommittedChanges -} - -// GetHasUnpushedChanges returns the HasUnpushedChanges field if it's non-nil, zero value otherwise. -func (c *CodespacesGitStatus) GetHasUnpushedChanges() bool { - if c == nil || c.HasUnpushedChanges == nil { - return false - } - return *c.HasUnpushedChanges -} - -// GetRef returns the Ref field if it's non-nil, zero value otherwise. -func (c *CodespacesGitStatus) GetRef() string { - if c == nil || c.Ref == nil { - return "" - } - return *c.Ref -} - -// GetCPUs returns the CPUs field if it's non-nil, zero value otherwise. -func (c *CodespacesMachine) GetCPUs() int { - if c == nil || c.CPUs == nil { - return 0 - } - return *c.CPUs -} - -// GetDisplayName returns the DisplayName field if it's non-nil, zero value otherwise. -func (c *CodespacesMachine) GetDisplayName() string { - if c == nil || c.DisplayName == nil { - return "" - } - return *c.DisplayName -} - -// GetMemoryInBytes returns the MemoryInBytes field if it's non-nil, zero value otherwise. -func (c *CodespacesMachine) GetMemoryInBytes() int64 { - if c == nil || c.MemoryInBytes == nil { - return 0 - } - return *c.MemoryInBytes -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (c *CodespacesMachine) GetName() string { - if c == nil || c.Name == nil { - return "" - } - return *c.Name -} - -// GetOperatingSystem returns the OperatingSystem field if it's non-nil, zero value otherwise. -func (c *CodespacesMachine) GetOperatingSystem() string { - if c == nil || c.OperatingSystem == nil { - return "" - } - return *c.OperatingSystem -} - -// GetPrebuildAvailability returns the PrebuildAvailability field if it's non-nil, zero value otherwise. -func (c *CodespacesMachine) GetPrebuildAvailability() string { - if c == nil || c.PrebuildAvailability == nil { - return "" - } - return *c.PrebuildAvailability -} - -// GetStorageInBytes returns the StorageInBytes field if it's non-nil, zero value otherwise. -func (c *CodespacesMachine) GetStorageInBytes() int64 { - if c == nil || c.StorageInBytes == nil { - return 0 - } - 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 { - return Timestamp{} - } - return *c.CreatedAt -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (c *CollaboratorInvitation) GetHTMLURL() string { - if c == nil || c.HTMLURL == nil { - return "" - } - return *c.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (c *CollaboratorInvitation) GetID() int64 { - if c == nil || c.ID == nil { - return 0 - } - return *c.ID -} - -// GetInvitee returns the Invitee field. -func (c *CollaboratorInvitation) GetInvitee() *User { - if c == nil { - return nil - } - return c.Invitee -} - -// GetInviter returns the Inviter field. -func (c *CollaboratorInvitation) GetInviter() *User { - if c == nil { - return nil - } - return c.Inviter -} - -// GetPermissions returns the Permissions field if it's non-nil, zero value otherwise. -func (c *CollaboratorInvitation) GetPermissions() string { - if c == nil || c.Permissions == nil { - return "" - } - return *c.Permissions -} - -// GetRepo returns the Repo field. -func (c *CollaboratorInvitation) GetRepo() *Repository { - if c == nil { - return nil - } - return c.Repo -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (c *CollaboratorInvitation) GetURL() string { - if c == nil || c.URL == nil { - return "" - } - return *c.URL -} - -// GetCommitURL returns the CommitURL field if it's non-nil, zero value otherwise. -func (c *CombinedStatus) GetCommitURL() string { - if c == nil || c.CommitURL == nil { - return "" - } - return *c.CommitURL -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (c *CombinedStatus) GetName() string { - if c == nil || c.Name == nil { - return "" - } - return *c.Name -} - -// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise. -func (c *CombinedStatus) GetRepositoryURL() string { - if c == nil || c.RepositoryURL == nil { - return "" - } - return *c.RepositoryURL -} - -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (c *CombinedStatus) GetSHA() string { - if c == nil || c.SHA == nil { - return "" - } - return *c.SHA -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (c *CombinedStatus) GetState() string { - if c == nil || c.State == nil { - return "" - } - 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 { - return 0 - } - 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 { - return Timestamp{} - } - return *c.CreatedAt -} - -// GetAuthorAssociation returns the AuthorAssociation field if it's non-nil, zero value otherwise. -func (c *CommentDiscussion) GetAuthorAssociation() string { - if c == nil || c.AuthorAssociation == nil { - return "" - } - return *c.AuthorAssociation -} - -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (c *CommentDiscussion) GetBody() string { - if c == nil || c.Body == nil { - return "" - } - return *c.Body -} - -// GetChildCommentCount returns the ChildCommentCount field if it's non-nil, zero value otherwise. -func (c *CommentDiscussion) GetChildCommentCount() int { - if c == nil || c.ChildCommentCount == nil { - return 0 - } - return *c.ChildCommentCount -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (c *CommentDiscussion) GetCreatedAt() Timestamp { - if c == nil || c.CreatedAt == nil { - return Timestamp{} - } - return *c.CreatedAt -} - -// GetDiscussionID returns the DiscussionID field if it's non-nil, zero value otherwise. -func (c *CommentDiscussion) GetDiscussionID() int64 { - if c == nil || c.DiscussionID == nil { - return 0 - } - return *c.DiscussionID -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (c *CommentDiscussion) GetHTMLURL() string { - if c == nil || c.HTMLURL == nil { - return "" - } - return *c.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (c *CommentDiscussion) GetID() int64 { - if c == nil || c.ID == nil { - return 0 - } - return *c.ID -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (c *CommentDiscussion) GetNodeID() string { - if c == nil || c.NodeID == nil { - return "" - } - return *c.NodeID -} - -// GetParentID returns the ParentID field if it's non-nil, zero value otherwise. -func (c *CommentDiscussion) GetParentID() int64 { - if c == nil || c.ParentID == nil { - return 0 - } - return *c.ParentID -} - -// GetReactions returns the Reactions field. -func (c *CommentDiscussion) GetReactions() *Reactions { - if c == nil { - return nil - } - return c.Reactions -} - -// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise. -func (c *CommentDiscussion) GetRepositoryURL() string { - if c == nil || c.RepositoryURL == nil { - return "" - } - return *c.RepositoryURL -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (c *CommentDiscussion) GetUpdatedAt() Timestamp { - if c == nil || c.UpdatedAt == nil { - return Timestamp{} - } - return *c.UpdatedAt -} - -// GetUser returns the User field. -func (c *CommentDiscussion) GetUser() *User { - if c == nil { - return nil - } - return c.User -} - -// GetTotalCommitComments returns the TotalCommitComments field if it's non-nil, zero value otherwise. -func (c *CommentStats) GetTotalCommitComments() int { - if c == nil || c.TotalCommitComments == nil { - return 0 - } - return *c.TotalCommitComments -} - -// GetTotalGistComments returns the TotalGistComments field if it's non-nil, zero value otherwise. -func (c *CommentStats) GetTotalGistComments() int { - if c == nil || c.TotalGistComments == nil { - return 0 - } - return *c.TotalGistComments -} - -// GetTotalIssueComments returns the TotalIssueComments field if it's non-nil, zero value otherwise. -func (c *CommentStats) GetTotalIssueComments() int { - if c == nil || c.TotalIssueComments == nil { - return 0 - } - return *c.TotalIssueComments -} - -// GetTotalPullRequestComments returns the TotalPullRequestComments field if it's non-nil, zero value otherwise. -func (c *CommentStats) GetTotalPullRequestComments() int { - if c == nil || c.TotalPullRequestComments == nil { - return 0 - } - return *c.TotalPullRequestComments -} - -// GetAuthor returns the Author field. -func (c *Commit) GetAuthor() *CommitAuthor { - if c == nil { - return nil - } - return c.Author -} - -// GetCommentCount returns the CommentCount field if it's non-nil, zero value otherwise. -func (c *Commit) GetCommentCount() int { - if c == nil || c.CommentCount == nil { - return 0 - } - return *c.CommentCount -} - -// GetCommitter returns the Committer field. -func (c *Commit) GetCommitter() *CommitAuthor { - if c == nil { - return nil - } - return c.Committer -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (c *Commit) GetHTMLURL() string { - if c == nil || c.HTMLURL == nil { - return "" - } - return *c.HTMLURL -} - -// GetMessage returns the Message field if it's non-nil, zero value otherwise. -func (c *Commit) GetMessage() string { - if c == nil || c.Message == nil { - return "" - } - return *c.Message -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (c *Commit) GetNodeID() string { - if c == nil || c.NodeID == nil { - return "" - } - 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 { - return "" - } - return *c.SHA -} - -// GetTree returns the Tree field. -func (c *Commit) GetTree() *Tree { - if c == nil { - return nil - } - return c.Tree -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (c *Commit) GetURL() string { - if c == nil || c.URL == nil { - return "" - } - return *c.URL -} - -// GetVerification returns the Verification field. -func (c *Commit) GetVerification() *SignatureVerification { - if c == nil { - return nil - } - return c.Verification -} - -// GetDate returns the Date field if it's non-nil, zero value otherwise. -func (c *CommitAuthor) GetDate() Timestamp { - if c == nil || c.Date == nil { - return Timestamp{} - } - return *c.Date -} - -// GetEmail returns the Email field if it's non-nil, zero value otherwise. -func (c *CommitAuthor) GetEmail() string { - if c == nil || c.Email == nil { - return "" - } - return *c.Email -} - -// GetLogin returns the Login field if it's non-nil, zero value otherwise. -func (c *CommitAuthor) GetLogin() string { - if c == nil || c.Login == nil { - return "" - } - return *c.Login -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (c *CommitAuthor) GetName() string { - if c == nil || c.Name == nil { - return "" - } - return *c.Name -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (c *CommitCommentEvent) GetAction() string { - if c == nil || c.Action == nil { - return "" - } - return *c.Action -} - -// GetComment returns the Comment field. -func (c *CommitCommentEvent) GetComment() *RepositoryComment { - if c == nil { - return nil - } - return c.Comment -} - -// GetInstallation returns the Installation field. -func (c *CommitCommentEvent) GetInstallation() *Installation { - if c == nil { - return nil - } - return c.Installation -} - -// GetOrg returns the Org field. -func (c *CommitCommentEvent) GetOrg() *Organization { - if c == nil { - return nil - } - return c.Org -} - -// GetRepo returns the Repo field. -func (c *CommitCommentEvent) GetRepo() *Repository { - if c == nil { - return nil - } - return c.Repo -} - -// GetSender returns the Sender field. -func (c *CommitCommentEvent) GetSender() *User { - if c == nil { - return nil - } - return c.Sender -} - -// GetAdditions returns the Additions field if it's non-nil, zero value otherwise. -func (c *CommitFile) GetAdditions() int { - if c == nil || c.Additions == nil { - return 0 - } - return *c.Additions -} - -// GetBlobURL returns the BlobURL field if it's non-nil, zero value otherwise. -func (c *CommitFile) GetBlobURL() string { - if c == nil || c.BlobURL == nil { - return "" - } - return *c.BlobURL -} - -// GetChanges returns the Changes field if it's non-nil, zero value otherwise. -func (c *CommitFile) GetChanges() int { - if c == nil || c.Changes == nil { - return 0 - } - return *c.Changes -} - -// GetContentsURL returns the ContentsURL field if it's non-nil, zero value otherwise. -func (c *CommitFile) GetContentsURL() string { - if c == nil || c.ContentsURL == nil { - return "" - } - return *c.ContentsURL -} - -// GetDeletions returns the Deletions field if it's non-nil, zero value otherwise. -func (c *CommitFile) GetDeletions() int { - if c == nil || c.Deletions == nil { - return 0 - } - return *c.Deletions -} - -// GetFilename returns the Filename field if it's non-nil, zero value otherwise. -func (c *CommitFile) GetFilename() string { - if c == nil || c.Filename == nil { - return "" - } - return *c.Filename -} - -// GetPatch returns the Patch field if it's non-nil, zero value otherwise. -func (c *CommitFile) GetPatch() string { - if c == nil || c.Patch == nil { - return "" - } - return *c.Patch -} - -// GetPreviousFilename returns the PreviousFilename field if it's non-nil, zero value otherwise. -func (c *CommitFile) GetPreviousFilename() string { - if c == nil || c.PreviousFilename == nil { - return "" - } - return *c.PreviousFilename -} - -// GetRawURL returns the RawURL field if it's non-nil, zero value otherwise. -func (c *CommitFile) GetRawURL() string { - if c == nil || c.RawURL == nil { - return "" - } - return *c.RawURL -} - -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (c *CommitFile) GetSHA() string { - if c == nil || c.SHA == nil { - return "" - } - return *c.SHA -} - -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (c *CommitFile) GetStatus() string { - if c == nil || c.Status == nil { - return "" - } - return *c.Status -} - -// GetAuthor returns the Author field. -func (c *CommitResult) GetAuthor() *User { - if c == nil { - return nil - } - return c.Author -} - -// GetCommentsURL returns the CommentsURL field if it's non-nil, zero value otherwise. -func (c *CommitResult) GetCommentsURL() string { - if c == nil || c.CommentsURL == nil { - return "" - } - return *c.CommentsURL -} - -// GetCommit returns the Commit field. -func (c *CommitResult) GetCommit() *Commit { - if c == nil { - return nil - } - return c.Commit -} - -// GetCommitter returns the Committer field. -func (c *CommitResult) GetCommitter() *User { - if c == nil { - return nil - } - return c.Committer -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (c *CommitResult) GetHTMLURL() string { - if c == nil || c.HTMLURL == nil { - return "" - } - 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 { - return nil - } - return c.Repository -} - -// 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 -} - -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (c *CommitResult) GetSHA() string { - if c == nil || c.SHA == nil { - return "" - } - return *c.SHA -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (c *CommitResult) GetURL() string { - if c == nil || c.URL == nil { - return "" - } - return *c.URL -} - -// GetAheadBy returns the AheadBy field if it's non-nil, zero value otherwise. -func (c *CommitsComparison) GetAheadBy() int { - if c == nil || c.AheadBy == nil { - return 0 - } - return *c.AheadBy -} - -// GetBaseCommit returns the BaseCommit field. -func (c *CommitsComparison) GetBaseCommit() *RepositoryCommit { - if c == nil { - return nil - } - return c.BaseCommit -} - -// GetBehindBy returns the BehindBy field if it's non-nil, zero value otherwise. -func (c *CommitsComparison) GetBehindBy() int { - if c == nil || c.BehindBy == nil { - return 0 - } - 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 { - return "" - } - 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 { - return "" - } - return *c.HTMLURL -} - -// GetMergeBaseCommit returns the MergeBaseCommit field. -func (c *CommitsComparison) GetMergeBaseCommit() *RepositoryCommit { - if c == nil { - return nil - } - return c.MergeBaseCommit -} - -// GetPatchURL returns the PatchURL field if it's non-nil, zero value otherwise. -func (c *CommitsComparison) GetPatchURL() string { - if c == nil || c.PatchURL == nil { - return "" - } - return *c.PatchURL -} - -// GetPermalinkURL returns the PermalinkURL field if it's non-nil, zero value otherwise. -func (c *CommitsComparison) GetPermalinkURL() string { - if c == nil || c.PermalinkURL == nil { - return "" - } - return *c.PermalinkURL -} - -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (c *CommitsComparison) GetStatus() string { - if c == nil || c.Status == nil { - return "" - } - return *c.Status -} - -// GetTotalCommits returns the TotalCommits field if it's non-nil, zero value otherwise. -func (c *CommitsComparison) GetTotalCommits() int { - if c == nil || c.TotalCommits == nil { - return 0 - } - return *c.TotalCommits -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (c *CommitsComparison) GetURL() string { - if c == nil || c.URL == nil { - return "" - } - 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 { - return false - } - return *c.IncompleteResults -} - -// GetTotal returns the Total field if it's non-nil, zero value otherwise. -func (c *CommitsSearchResult) GetTotal() int { - if c == nil || c.Total == nil { - return 0 - } - return *c.Total -} - -// GetAdditions returns the Additions field if it's non-nil, zero value otherwise. -func (c *CommitStats) GetAdditions() int { - if c == nil || c.Additions == nil { - return 0 - } - return *c.Additions -} - -// GetDeletions returns the Deletions field if it's non-nil, zero value otherwise. -func (c *CommitStats) GetDeletions() int { - if c == nil || c.Deletions == nil { - return 0 - } - return *c.Deletions -} - -// GetTotal returns the Total field if it's non-nil, zero value otherwise. -func (c *CommitStats) GetTotal() int { - if c == nil || c.Total == nil { - return 0 - } - return *c.Total -} - -// GetCodeOfConduct returns the CodeOfConduct field. -func (c *CommunityHealthFiles) GetCodeOfConduct() *Metric { - if c == nil { - return nil - } - return c.CodeOfConduct -} - -// GetCodeOfConductFile returns the CodeOfConductFile field. -func (c *CommunityHealthFiles) GetCodeOfConductFile() *Metric { - if c == nil { - return nil - } - return c.CodeOfConductFile -} - -// GetContributing returns the Contributing field. -func (c *CommunityHealthFiles) GetContributing() *Metric { - if c == nil { - return nil - } - return c.Contributing -} - -// GetIssueTemplate returns the IssueTemplate field. -func (c *CommunityHealthFiles) GetIssueTemplate() *Metric { - if c == nil { - return nil - } - return c.IssueTemplate -} - -// GetLicense returns the License field. -func (c *CommunityHealthFiles) GetLicense() *Metric { - if c == nil { - return nil - } - return c.License -} - -// GetPullRequestTemplate returns the PullRequestTemplate field. -func (c *CommunityHealthFiles) GetPullRequestTemplate() *Metric { - if c == nil { - return nil - } - return c.PullRequestTemplate -} - -// GetReadme returns the Readme field. -func (c *CommunityHealthFiles) GetReadme() *Metric { - if c == nil { - return nil - } - return c.Readme -} - -// GetContentReportsEnabled returns the ContentReportsEnabled field if it's non-nil, zero value otherwise. -func (c *CommunityHealthMetrics) GetContentReportsEnabled() bool { - if c == nil || c.ContentReportsEnabled == nil { - return false - } - return *c.ContentReportsEnabled -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (c *CommunityHealthMetrics) GetDescription() string { - if c == nil || c.Description == nil { - return "" - } - return *c.Description -} - -// GetDocumentation returns the Documentation field if it's non-nil, zero value otherwise. -func (c *CommunityHealthMetrics) GetDocumentation() string { - if c == nil || c.Documentation == nil { - return "" - } - return *c.Documentation -} - -// GetFiles returns the Files field. -func (c *CommunityHealthMetrics) GetFiles() *CommunityHealthFiles { - if c == nil { - return nil - } - return c.Files -} - -// GetHealthPercentage returns the HealthPercentage field if it's non-nil, zero value otherwise. -func (c *CommunityHealthMetrics) GetHealthPercentage() int { - if c == nil || c.HealthPercentage == nil { - return 0 - } - return *c.HealthPercentage -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (c *CommunityHealthMetrics) GetUpdatedAt() Timestamp { - if c == nil || c.UpdatedAt == nil { - return 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 { - return "" - } - return *c.LastRequestID -} - -// GetNode returns the Node field if it's non-nil, zero value otherwise. -func (c *ConfigApplyEventsNode) GetNode() string { - if c == nil || c.Node == nil { - return "" - } - return *c.Node -} - -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (c *ConfigApplyEventsNodeEvent) GetBody() string { - if c == nil || c.Body == nil { - return "" - } - return *c.Body -} - -// GetConfigRunID returns the ConfigRunID field if it's non-nil, zero value otherwise. -func (c *ConfigApplyEventsNodeEvent) GetConfigRunID() string { - if c == nil || c.ConfigRunID == nil { - return "" - } - return *c.ConfigRunID -} - -// GetEventName returns the EventName field if it's non-nil, zero value otherwise. -func (c *ConfigApplyEventsNodeEvent) GetEventName() string { - if c == nil || c.EventName == nil { - return "" - } - return *c.EventName -} - -// GetHostname returns the Hostname field if it's non-nil, zero value otherwise. -func (c *ConfigApplyEventsNodeEvent) GetHostname() string { - if c == nil || c.Hostname == nil { - return "" - } - return *c.Hostname -} - -// GetSeverityText returns the SeverityText field if it's non-nil, zero value otherwise. -func (c *ConfigApplyEventsNodeEvent) GetSeverityText() string { - if c == nil || c.SeverityText == nil { - return "" - } - return *c.SeverityText -} - -// GetSpanDepth returns the SpanDepth field if it's non-nil, zero value otherwise. -func (c *ConfigApplyEventsNodeEvent) GetSpanDepth() int { - if c == nil || c.SpanDepth == nil { - return 0 - } - return *c.SpanDepth -} - -// GetSpanID returns the SpanID field if it's non-nil, zero value otherwise. -func (c *ConfigApplyEventsNodeEvent) GetSpanID() string { - if c == nil || c.SpanID == nil { - return "" - } - return *c.SpanID -} - -// GetSpanParentID returns the SpanParentID field if it's non-nil, zero value otherwise. -func (c *ConfigApplyEventsNodeEvent) GetSpanParentID() int64 { - if c == nil || c.SpanParentID == nil { - return 0 - } - return *c.SpanParentID -} - -// GetTimestamp returns the Timestamp field if it's non-nil, zero value otherwise. -func (c *ConfigApplyEventsNodeEvent) GetTimestamp() Timestamp { - if c == nil || c.Timestamp == nil { - return Timestamp{} - } - return *c.Timestamp -} - -// GetTopology returns the Topology field if it's non-nil, zero value otherwise. -func (c *ConfigApplyEventsNodeEvent) GetTopology() string { - if c == nil || c.Topology == nil { - return "" - } - return *c.Topology -} - -// GetTraceID returns the TraceID field if it's non-nil, zero value otherwise. -func (c *ConfigApplyEventsNodeEvent) GetTraceID() string { - if c == nil || c.TraceID == nil { - return "" - } - return *c.TraceID -} - -// GetLastRequestID returns the LastRequestID field if it's non-nil, zero value otherwise. -func (c *ConfigApplyEventsOptions) GetLastRequestID() string { - if c == nil || c.LastRequestID == nil { - return "" - } - return *c.LastRequestID -} - -// GetRunID returns the RunID field if it's non-nil, zero value otherwise. -func (c *ConfigApplyOptions) GetRunID() string { - if c == nil || c.RunID == nil { - return "" - } - 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 { - return false - } - return *c.Running -} - -// GetSuccessful returns the Successful field if it's non-nil, zero value otherwise. -func (c *ConfigApplyStatus) GetSuccessful() bool { - if c == nil || c.Successful == nil { - return false - } - return *c.Successful -} - -// GetHostname returns the Hostname field if it's non-nil, zero value otherwise. -func (c *ConfigApplyStatusNode) GetHostname() string { - if c == nil || c.Hostname == nil { - return "" - } - return *c.Hostname -} - -// GetRunID returns the RunID field if it's non-nil, zero value otherwise. -func (c *ConfigApplyStatusNode) GetRunID() string { - if c == nil || c.RunID == nil { - return "" - } - return *c.RunID -} - -// GetRunning returns the Running field if it's non-nil, zero value otherwise. -func (c *ConfigApplyStatusNode) GetRunning() bool { - if c == nil || c.Running == nil { - return false - } - return *c.Running -} - -// GetSuccessful returns the Successful field if it's non-nil, zero value otherwise. -func (c *ConfigApplyStatusNode) GetSuccessful() bool { - if c == nil || c.Successful == nil { - return false - } - return *c.Successful -} - -// GetAdminPassword returns the AdminPassword field if it's non-nil, zero value otherwise. -func (c *ConfigSettings) GetAdminPassword() string { - if c == nil || c.AdminPassword == nil { - return "" - } - return *c.AdminPassword -} - -// GetAssets returns the Assets field if it's non-nil, zero value otherwise. -func (c *ConfigSettings) GetAssets() string { - if c == nil || c.Assets == nil { - return "" - } - return *c.Assets -} - -// GetAuthMode returns the AuthMode field if it's non-nil, zero value otherwise. -func (c *ConfigSettings) GetAuthMode() string { - if c == nil || c.AuthMode == nil { - return "" - } - return *c.AuthMode -} - -// GetAvatar returns the Avatar field. -func (c *ConfigSettings) GetAvatar() *ConfigSettingsAvatar { - if c == nil { - return nil - } - return c.Avatar -} - -// GetCAS returns the CAS field. -func (c *ConfigSettings) GetCAS() *ConfigSettingsCAS { - if c == nil { - return nil - } - return c.CAS -} - -// GetCollectd returns the Collectd field. -func (c *ConfigSettings) GetCollectd() *ConfigSettingsCollectd { - if c == nil { - return nil - } - return c.Collectd -} - -// GetConfigurationID returns the ConfigurationID field if it's non-nil, zero value otherwise. -func (c *ConfigSettings) GetConfigurationID() int64 { - if c == nil || c.ConfigurationID == nil { - return 0 - } - return *c.ConfigurationID -} - -// GetConfigurationRunCount returns the ConfigurationRunCount field if it's non-nil, zero value otherwise. -func (c *ConfigSettings) GetConfigurationRunCount() int { - if c == nil || c.ConfigurationRunCount == nil { - return 0 - } - return *c.ConfigurationRunCount -} - -// GetCustomer returns the Customer field. -func (c *ConfigSettings) GetCustomer() *ConfigSettingsCustomer { - if c == nil { - return nil - } - return c.Customer -} - -// GetExpireSessions returns the ExpireSessions field if it's non-nil, zero value otherwise. -func (c *ConfigSettings) GetExpireSessions() bool { - if c == nil || c.ExpireSessions == nil { - return false - } - return *c.ExpireSessions -} - -// GetGithubHostname returns the GithubHostname field if it's non-nil, zero value otherwise. -func (c *ConfigSettings) GetGithubHostname() string { - if c == nil || c.GithubHostname == nil { - return "" - } - return *c.GithubHostname -} - -// GetGithubOAuth returns the GithubOAuth field. -func (c *ConfigSettings) GetGithubOAuth() *ConfigSettingsGithubOAuth { - if c == nil { - return nil - } - return c.GithubOAuth -} - -// GetGithubSSL returns the GithubSSL field. -func (c *ConfigSettings) GetGithubSSL() *ConfigSettingsGithubSSL { - if c == nil { - return nil - } - return c.GithubSSL -} - -// GetHTTPProxy returns the HTTPProxy field if it's non-nil, zero value otherwise. -func (c *ConfigSettings) GetHTTPProxy() string { - if c == nil || c.HTTPProxy == nil { - return "" - } - return *c.HTTPProxy -} - -// GetIdenticonsHost returns the IdenticonsHost field if it's non-nil, zero value otherwise. -func (c *ConfigSettings) GetIdenticonsHost() string { - if c == nil || c.IdenticonsHost == nil { - return "" - } - return *c.IdenticonsHost -} - -// GetLDAP returns the LDAP field. -func (c *ConfigSettings) GetLDAP() *ConfigSettingsLDAP { - if c == nil { - return nil - } - return c.LDAP -} - -// GetLicense returns the License field. -func (c *ConfigSettings) GetLicense() *ConfigSettingsLicenseSettings { - if c == nil { - return nil - } - return c.License -} - -// GetLoadBalancer returns the LoadBalancer field if it's non-nil, zero value otherwise. -func (c *ConfigSettings) GetLoadBalancer() string { - if c == nil || c.LoadBalancer == nil { - return "" - } - return *c.LoadBalancer -} - -// GetMapping returns the Mapping field. -func (c *ConfigSettings) GetMapping() *ConfigSettingsMapping { - if c == nil { - return nil - } - return c.Mapping -} - -// GetNTP returns the NTP field. -func (c *ConfigSettings) GetNTP() *ConfigSettingsNTP { - if c == nil { - return nil - } - return c.NTP -} - -// GetPages returns the Pages field. -func (c *ConfigSettings) GetPages() *ConfigSettingsPagesSettings { - if c == nil { - return nil - } - return c.Pages -} - -// GetPrivateMode returns the PrivateMode field if it's non-nil, zero value otherwise. -func (c *ConfigSettings) GetPrivateMode() bool { - if c == nil || c.PrivateMode == nil { - return false - } - return *c.PrivateMode -} - -// GetPublicPages returns the PublicPages field if it's non-nil, zero value otherwise. -func (c *ConfigSettings) GetPublicPages() bool { - if c == nil || c.PublicPages == nil { - return false - } - return *c.PublicPages -} - -// GetSAML returns the SAML field. -func (c *ConfigSettings) GetSAML() *ConfigSettingsSAML { - if c == nil { - return nil - } - return c.SAML -} - -// GetSignupEnabled returns the SignupEnabled field if it's non-nil, zero value otherwise. -func (c *ConfigSettings) GetSignupEnabled() bool { - if c == nil || c.SignupEnabled == nil { - return false - } - return *c.SignupEnabled -} - -// GetSMTP returns the SMTP field. -func (c *ConfigSettings) GetSMTP() *ConfigSettingsSMTP { - if c == nil { - return nil - } - return c.SMTP -} - -// GetSNMP returns the SNMP field. -func (c *ConfigSettings) GetSNMP() *ConfigSettingsSNMP { - if c == nil { - return nil - } - return c.SNMP -} - -// GetSubdomainIsolation returns the SubdomainIsolation field if it's non-nil, zero value otherwise. -func (c *ConfigSettings) GetSubdomainIsolation() bool { - if c == nil || c.SubdomainIsolation == nil { - return false - } - return *c.SubdomainIsolation -} - -// GetSyslog returns the Syslog field. -func (c *ConfigSettings) GetSyslog() *ConfigSettingsSyslog { - if c == nil { - return nil - } - return c.Syslog -} - -// GetTimezone returns the Timezone field if it's non-nil, zero value otherwise. -func (c *ConfigSettings) GetTimezone() string { - if c == nil || c.Timezone == nil { - return "" - } - return *c.Timezone -} - -// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsAvatar) GetEnabled() bool { - if c == nil || c.Enabled == nil { - return false - } - return *c.Enabled -} - -// GetURI returns the URI field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsAvatar) GetURI() string { - if c == nil || c.URI == nil { - return "" - } - return *c.URI -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsCAS) GetURL() string { - if c == nil || c.URL == nil { - return "" - } - return *c.URL -} - -// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsCollectd) GetEnabled() bool { - if c == nil || c.Enabled == nil { - return false - } - return *c.Enabled -} - -// GetEncryption returns the Encryption field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsCollectd) GetEncryption() string { - if c == nil || c.Encryption == nil { - return "" - } - return *c.Encryption -} - -// GetPassword returns the Password field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsCollectd) GetPassword() string { - if c == nil || c.Password == nil { - return "" - } - return *c.Password -} - -// GetPort returns the Port field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsCollectd) GetPort() int { - if c == nil || c.Port == nil { - return 0 - } - return *c.Port -} - -// GetServer returns the Server field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsCollectd) GetServer() string { - if c == nil || c.Server == nil { - return "" - } - return *c.Server -} - -// GetUsername returns the Username field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsCollectd) GetUsername() string { - if c == nil || c.Username == nil { - return "" - } - return *c.Username -} - -// GetEmail returns the Email field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsCustomer) GetEmail() string { - if c == nil || c.Email == nil { - return "" - } - return *c.Email -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsCustomer) GetName() string { - if c == nil || c.Name == nil { - return "" - } - return *c.Name -} - -// GetPublicKeyData returns the PublicKeyData field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsCustomer) GetPublicKeyData() string { - if c == nil || c.PublicKeyData == nil { - return "" - } - return *c.PublicKeyData -} - -// GetSecret returns the Secret field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsCustomer) GetSecret() string { - if c == nil || c.Secret == nil { - return "" - } - return *c.Secret -} - -// GetUUID returns the UUID field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsCustomer) GetUUID() string { - if c == nil || c.UUID == nil { - return "" - } - return *c.UUID -} - -// GetClientID returns the ClientID field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsGithubOAuth) GetClientID() string { - if c == nil || c.ClientID == nil { - return "" - } - return *c.ClientID -} - -// GetClientSecret returns the ClientSecret field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsGithubOAuth) GetClientSecret() string { - if c == nil || c.ClientSecret == nil { - return "" - } - return *c.ClientSecret -} - -// GetOrganizationName returns the OrganizationName field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsGithubOAuth) GetOrganizationName() string { - if c == nil || c.OrganizationName == nil { - return "" - } - return *c.OrganizationName -} - -// GetOrganizationTeam returns the OrganizationTeam field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsGithubOAuth) GetOrganizationTeam() string { - if c == nil || c.OrganizationTeam == nil { - return "" - } - return *c.OrganizationTeam -} - -// GetCert returns the Cert field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsGithubSSL) GetCert() string { - if c == nil || c.Cert == nil { - return "" - } - return *c.Cert -} - -// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsGithubSSL) GetEnabled() bool { - if c == nil || c.Enabled == nil { - return false - } - return *c.Enabled -} - -// GetKey returns the Key field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsGithubSSL) GetKey() string { - if c == nil || c.Key == nil { - return "" - } - return *c.Key -} - -// GetAdminGroup returns the AdminGroup field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLDAP) GetAdminGroup() string { - if c == nil || c.AdminGroup == nil { - return "" - } - 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 { - return "" - } - return *c.BindDN -} - -// GetHost returns the Host field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLDAP) GetHost() string { - if c == nil || c.Host == nil { - return "" - } - return *c.Host -} - -// GetMethod returns the Method field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLDAP) GetMethod() string { - if c == nil || c.Method == nil { - return "" - } - return *c.Method -} - -// GetPassword returns the Password field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLDAP) GetPassword() string { - if c == nil || c.Password == nil { - return "" - } - return *c.Password -} - -// GetPort returns the Port field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLDAP) GetPort() int { - if c == nil || c.Port == nil { - return 0 - } - return *c.Port -} - -// GetPosixSupport returns the PosixSupport field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLDAP) GetPosixSupport() bool { - if c == nil || c.PosixSupport == nil { - return false - } - return *c.PosixSupport -} - -// GetProfile returns the Profile field. -func (c *ConfigSettingsLDAP) GetProfile() *ConfigSettingsLDAPProfile { - if c == nil { - return nil - } - return c.Profile -} - -// GetReconciliation returns the Reconciliation field. -func (c *ConfigSettingsLDAP) GetReconciliation() *ConfigSettingsLDAPReconciliation { - if c == nil { - return nil - } - return c.Reconciliation -} - -// GetRecursiveGroupSearch returns the RecursiveGroupSearch field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLDAP) GetRecursiveGroupSearch() bool { - if c == nil || c.RecursiveGroupSearch == nil { - return false - } - return *c.RecursiveGroupSearch -} - -// GetSearchStrategy returns the SearchStrategy field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLDAP) GetSearchStrategy() string { - if c == nil || c.SearchStrategy == nil { - return "" - } - return *c.SearchStrategy -} - -// GetSyncEnabled returns the SyncEnabled field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLDAP) GetSyncEnabled() bool { - if c == nil || c.SyncEnabled == nil { - return false - } - return *c.SyncEnabled -} - -// GetTeamSyncInterval returns the TeamSyncInterval field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLDAP) GetTeamSyncInterval() int { - if c == nil || c.TeamSyncInterval == nil { - return 0 - } - return *c.TeamSyncInterval -} - -// GetUID returns the UID field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLDAP) GetUID() string { - if c == nil || c.UID == nil { - return "" - } - 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 { - return false - } - return *c.UserSyncEmails -} - -// GetUserSyncInterval returns the UserSyncInterval field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLDAP) GetUserSyncInterval() int { - if c == nil || c.UserSyncInterval == nil { - return 0 - } - return *c.UserSyncInterval -} - -// GetUserSyncKeys returns the UserSyncKeys field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLDAP) GetUserSyncKeys() bool { - if c == nil || c.UserSyncKeys == nil { - return false - } - return *c.UserSyncKeys -} - -// GetVirtualAttributeEnabled returns the VirtualAttributeEnabled field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLDAP) GetVirtualAttributeEnabled() bool { - if c == nil || c.VirtualAttributeEnabled == nil { - return false - } - return *c.VirtualAttributeEnabled -} - -// GetKey returns the Key field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLDAPProfile) GetKey() string { - if c == nil || c.Key == nil { - return "" - } - return *c.Key -} - -// GetMail returns the Mail field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLDAPProfile) GetMail() string { - if c == nil || c.Mail == nil { - return "" - } - return *c.Mail -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLDAPProfile) GetName() string { - if c == nil || c.Name == nil { - return "" - } - return *c.Name -} - -// GetUID returns the UID field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLDAPProfile) GetUID() string { - if c == nil || c.UID == nil { - return "" - } - return *c.UID -} - -// GetOrg returns the Org field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLDAPReconciliation) GetOrg() string { - if c == nil || c.Org == nil { - return "" - } - return *c.Org -} - -// GetUser returns the User field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLDAPReconciliation) GetUser() string { - if c == nil || c.User == nil { - return "" - } - return *c.User -} - -// GetClusterSupport returns the ClusterSupport field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLicenseSettings) GetClusterSupport() bool { - if c == nil || c.ClusterSupport == nil { - return false - } - return *c.ClusterSupport -} - -// GetEvaluation returns the Evaluation field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLicenseSettings) GetEvaluation() bool { - if c == nil || c.Evaluation == nil { - return false - } - return *c.Evaluation -} - -// GetExpireAt returns the ExpireAt field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLicenseSettings) GetExpireAt() Timestamp { - if c == nil || c.ExpireAt == nil { - return Timestamp{} - } - return *c.ExpireAt -} - -// GetPerpetual returns the Perpetual field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLicenseSettings) GetPerpetual() bool { - if c == nil || c.Perpetual == nil { - return false - } - return *c.Perpetual -} - -// GetSeats returns the Seats field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLicenseSettings) GetSeats() int { - if c == nil || c.Seats == nil { - return 0 - } - return *c.Seats -} - -// GetSSHAllowed returns the SSHAllowed field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLicenseSettings) GetSSHAllowed() bool { - if c == nil || c.SSHAllowed == nil { - return false - } - return *c.SSHAllowed -} - -// GetSupportKey returns the SupportKey field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLicenseSettings) GetSupportKey() string { - if c == nil || c.SupportKey == nil { - return "" - } - return *c.SupportKey -} - -// GetUnlimitedSeating returns the UnlimitedSeating field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsLicenseSettings) GetUnlimitedSeating() bool { - if c == nil || c.UnlimitedSeating == nil { - return false - } - return *c.UnlimitedSeating -} - -// GetBasemap returns the Basemap field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsMapping) GetBasemap() string { - if c == nil || c.Basemap == nil { - return "" - } - return *c.Basemap -} - -// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsMapping) GetEnabled() bool { - if c == nil || c.Enabled == nil { - return false - } - return *c.Enabled -} - -// GetTileserver returns the Tileserver field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsMapping) GetTileserver() string { - if c == nil || c.Tileserver == nil { - return "" - } - return *c.Tileserver -} - -// GetToken returns the Token field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsMapping) GetToken() string { - if c == nil || c.Token == nil { - return "" - } - return *c.Token -} - -// GetPrimaryServer returns the PrimaryServer field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsNTP) GetPrimaryServer() string { - if c == nil || c.PrimaryServer == nil { - return "" - } - return *c.PrimaryServer -} - -// GetSecondaryServer returns the SecondaryServer field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsNTP) GetSecondaryServer() string { - if c == nil || c.SecondaryServer == nil { - return "" - } - return *c.SecondaryServer -} - -// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsPagesSettings) GetEnabled() bool { - if c == nil || c.Enabled == nil { - return false - } - return *c.Enabled -} - -// GetCertificate returns the Certificate field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsSAML) GetCertificate() string { - if c == nil || c.Certificate == nil { - return "" - } - return *c.Certificate -} - -// GetCertificatePath returns the CertificatePath field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsSAML) GetCertificatePath() string { - if c == nil || c.CertificatePath == nil { - return "" - } - return *c.CertificatePath -} - -// GetDisableAdminDemote returns the DisableAdminDemote field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsSAML) GetDisableAdminDemote() bool { - if c == nil || c.DisableAdminDemote == nil { - return false - } - return *c.DisableAdminDemote -} - -// GetIDPInitiatedSSO returns the IDPInitiatedSSO field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsSAML) GetIDPInitiatedSSO() bool { - if c == nil || c.IDPInitiatedSSO == nil { - return false - } - return *c.IDPInitiatedSSO -} - -// GetIssuer returns the Issuer field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsSAML) GetIssuer() string { - if c == nil || c.Issuer == nil { - return "" - } - return *c.Issuer -} - -// GetSSOURL returns the SSOURL field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsSAML) GetSSOURL() string { - if c == nil || c.SSOURL == nil { - return "" - } - return *c.SSOURL -} - -// GetAddress returns the Address field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsSMTP) GetAddress() string { - if c == nil || c.Address == nil { - return "" - } - return *c.Address -} - -// GetAuthentication returns the Authentication field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsSMTP) GetAuthentication() string { - if c == nil || c.Authentication == nil { - return "" - } - return *c.Authentication -} - -// GetDiscardToNoreplyAddress returns the DiscardToNoreplyAddress field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsSMTP) GetDiscardToNoreplyAddress() bool { - if c == nil || c.DiscardToNoreplyAddress == nil { - return false - } - return *c.DiscardToNoreplyAddress -} - -// GetDomain returns the Domain field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsSMTP) GetDomain() string { - if c == nil || c.Domain == nil { - return "" - } - return *c.Domain -} - -// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsSMTP) GetEnabled() bool { - if c == nil || c.Enabled == nil { - return false - } - return *c.Enabled -} - -// GetEnableStarttlsAuto returns the EnableStarttlsAuto field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsSMTP) GetEnableStarttlsAuto() bool { - if c == nil || c.EnableStarttlsAuto == nil { - return false - } - return *c.EnableStarttlsAuto -} - -// GetNoreplyAddress returns the NoreplyAddress field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsSMTP) GetNoreplyAddress() string { - if c == nil || c.NoreplyAddress == nil { - return "" - } - return *c.NoreplyAddress -} - -// GetPassword returns the Password field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsSMTP) GetPassword() string { - if c == nil || c.Password == nil { - return "" - } - return *c.Password -} - -// GetPort returns the Port field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsSMTP) GetPort() string { - if c == nil || c.Port == nil { - return "" - } - return *c.Port -} - -// GetSupportAddress returns the SupportAddress field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsSMTP) GetSupportAddress() string { - if c == nil || c.SupportAddress == nil { - return "" - } - return *c.SupportAddress -} - -// GetSupportAddressType returns the SupportAddressType field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsSMTP) GetSupportAddressType() string { - if c == nil || c.SupportAddressType == nil { - return "" - } - return *c.SupportAddressType -} - -// GetUsername returns the Username field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsSMTP) GetUsername() string { - if c == nil || c.Username == nil { - return "" - } - return *c.Username -} - -// GetUserName returns the UserName field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsSMTP) GetUserName() string { - if c == nil || c.UserName == nil { - return "" - } - return *c.UserName -} - -// GetCommunity returns the Community field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsSNMP) GetCommunity() string { - if c == nil || c.Community == nil { - return "" - } - return *c.Community -} - -// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsSNMP) GetEnabled() bool { - if c == nil || c.Enabled == nil { - return false - } - return *c.Enabled -} - -// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsSyslog) GetEnabled() bool { - if c == nil || c.Enabled == nil { - return false - } - return *c.Enabled -} - -// GetProtocolName returns the ProtocolName field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsSyslog) GetProtocolName() string { - if c == nil || c.ProtocolName == nil { - return "" - } - return *c.ProtocolName -} - -// GetServer returns the Server field if it's non-nil, zero value otherwise. -func (c *ConfigSettingsSyslog) GetServer() string { - if c == nil || c.Server == nil { - return "" - } - return *c.Server -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (c *ConnectionServiceItem) GetName() string { - if c == nil || c.Name == nil { - return "" - } - return *c.Name -} - -// GetNumber returns the Number field if it's non-nil, zero value otherwise. -func (c *ConnectionServiceItem) GetNumber() int { - if c == nil || c.Number == nil { - return 0 - } - return *c.Number -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (c *ContentReference) GetID() int64 { - if c == nil || c.ID == nil { - return 0 - } - return *c.ID -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (c *ContentReference) GetNodeID() string { - if c == nil || c.NodeID == nil { - return "" - } - return *c.NodeID -} - -// GetReference returns the Reference field if it's non-nil, zero value otherwise. -func (c *ContentReference) GetReference() string { - if c == nil || c.Reference == nil { - return "" - } - return *c.Reference -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (c *ContentReferenceEvent) GetAction() string { - if c == nil || c.Action == nil { - return "" - } - return *c.Action -} - -// GetContentReference returns the ContentReference field. -func (c *ContentReferenceEvent) GetContentReference() *ContentReference { - if c == nil { - return nil - } - return c.ContentReference -} - -// GetInstallation returns the Installation field. -func (c *ContentReferenceEvent) GetInstallation() *Installation { - if c == nil { - return nil - } - return c.Installation -} - -// GetRepo returns the Repo field. -func (c *ContentReferenceEvent) GetRepo() *Repository { - if c == nil { - return nil - } - return c.Repo -} - -// GetSender returns the Sender field. -func (c *ContentReferenceEvent) GetSender() *User { - if c == nil { - return nil - } - return c.Sender -} - -// GetAvatarURL returns the AvatarURL field if it's non-nil, zero value otherwise. -func (c *Contributor) GetAvatarURL() string { - if c == nil || c.AvatarURL == nil { - return "" - } - return *c.AvatarURL -} - -// GetContributions returns the Contributions field if it's non-nil, zero value otherwise. -func (c *Contributor) GetContributions() int { - if c == nil || c.Contributions == nil { - return 0 - } - return *c.Contributions -} - -// GetEmail returns the Email field if it's non-nil, zero value otherwise. -func (c *Contributor) GetEmail() string { - if c == nil || c.Email == nil { - return "" - } - return *c.Email -} - -// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise. -func (c *Contributor) GetEventsURL() string { - if c == nil || c.EventsURL == nil { - return "" - } - return *c.EventsURL -} - -// GetFollowersURL returns the FollowersURL field if it's non-nil, zero value otherwise. -func (c *Contributor) GetFollowersURL() string { - if c == nil || c.FollowersURL == nil { - return "" - } - return *c.FollowersURL -} - -// GetFollowingURL returns the FollowingURL field if it's non-nil, zero value otherwise. -func (c *Contributor) GetFollowingURL() string { - if c == nil || c.FollowingURL == nil { - return "" - } - return *c.FollowingURL -} - -// GetGistsURL returns the GistsURL field if it's non-nil, zero value otherwise. -func (c *Contributor) GetGistsURL() string { - if c == nil || c.GistsURL == nil { - return "" - } - return *c.GistsURL -} - -// GetGravatarID returns the GravatarID field if it's non-nil, zero value otherwise. -func (c *Contributor) GetGravatarID() string { - if c == nil || c.GravatarID == nil { - return "" - } - return *c.GravatarID -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (c *Contributor) GetHTMLURL() string { - if c == nil || c.HTMLURL == nil { - return "" - } - return *c.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (c *Contributor) GetID() int64 { - if c == nil || c.ID == nil { - return 0 - } - return *c.ID -} - -// GetLogin returns the Login field if it's non-nil, zero value otherwise. -func (c *Contributor) GetLogin() string { - if c == nil || c.Login == nil { - return "" - } - return *c.Login -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (c *Contributor) GetName() string { - if c == nil || c.Name == nil { - return "" - } - return *c.Name -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (c *Contributor) GetNodeID() string { - if c == nil || c.NodeID == nil { - return "" - } - return *c.NodeID -} - -// GetOrganizationsURL returns the OrganizationsURL field if it's non-nil, zero value otherwise. -func (c *Contributor) GetOrganizationsURL() string { - if c == nil || c.OrganizationsURL == nil { - return "" - } - return *c.OrganizationsURL -} - -// GetReceivedEventsURL returns the ReceivedEventsURL field if it's non-nil, zero value otherwise. -func (c *Contributor) GetReceivedEventsURL() string { - if c == nil || c.ReceivedEventsURL == nil { - return "" - } - return *c.ReceivedEventsURL -} - -// GetReposURL returns the ReposURL field if it's non-nil, zero value otherwise. -func (c *Contributor) GetReposURL() string { - if c == nil || c.ReposURL == nil { - return "" - } - return *c.ReposURL -} - -// GetSiteAdmin returns the SiteAdmin field if it's non-nil, zero value otherwise. -func (c *Contributor) GetSiteAdmin() bool { - if c == nil || c.SiteAdmin == nil { - return false - } - return *c.SiteAdmin -} - -// GetStarredURL returns the StarredURL field if it's non-nil, zero value otherwise. -func (c *Contributor) GetStarredURL() string { - if c == nil || c.StarredURL == nil { - return "" - } - return *c.StarredURL -} - -// GetSubscriptionsURL returns the SubscriptionsURL field if it's non-nil, zero value otherwise. -func (c *Contributor) GetSubscriptionsURL() string { - if c == nil || c.SubscriptionsURL == nil { - return "" - } - return *c.SubscriptionsURL -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (c *Contributor) GetType() string { - if c == nil || c.Type == nil { - return "" - } - return *c.Type -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (c *Contributor) GetURL() string { - if c == nil || c.URL == nil { - return "" - } - 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 { - return nil - } - return c.Author -} - -// GetTotal returns the Total field if it's non-nil, zero value otherwise. -func (c *ContributorStats) GetTotal() int { - if c == nil || c.Total == nil { - return 0 - } - 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 -} - -// GetCustomAllowlist returns the CustomAllowlist slice if it's non-nil, nil otherwise. -func (c *CopilotCloudAgentConfiguration) GetCustomAllowlist() []string { - if c == nil || c.CustomAllowlist == nil { - return nil - } - return c.CustomAllowlist -} - -// GetEnabledTools returns the EnabledTools field. -func (c *CopilotCloudAgentConfiguration) GetEnabledTools() *CopilotCloudAgentEnabledTools { - if c == nil { - return nil - } - return c.EnabledTools -} - -// GetIsFirewallEnabled returns the IsFirewallEnabled field. -func (c *CopilotCloudAgentConfiguration) GetIsFirewallEnabled() bool { - if c == nil { - return false - } - return c.IsFirewallEnabled -} - -// GetIsFirewallRecommendedAllowlistEnabled returns the IsFirewallRecommendedAllowlistEnabled field. -func (c *CopilotCloudAgentConfiguration) GetIsFirewallRecommendedAllowlistEnabled() bool { - if c == nil { - return false - } - return c.IsFirewallRecommendedAllowlistEnabled -} - -// GetMCPConfiguration returns the MCPConfiguration field. -func (c *CopilotCloudAgentConfiguration) GetMCPConfiguration() any { - if c == nil { - return nil - } - return c.MCPConfiguration -} - -// GetRequireActionsWorkflowApproval returns the RequireActionsWorkflowApproval field. -func (c *CopilotCloudAgentConfiguration) GetRequireActionsWorkflowApproval() bool { - if c == nil { - return false - } - return c.RequireActionsWorkflowApproval -} - -// GetCodeql returns the Codeql field. -func (c *CopilotCloudAgentEnabledTools) GetCodeql() bool { - if c == nil { - return false - } - return c.Codeql -} - -// GetCopilotCodeReview returns the CopilotCodeReview field. -func (c *CopilotCloudAgentEnabledTools) GetCopilotCodeReview() bool { - if c == nil { - return false - } - return c.CopilotCodeReview -} - -// GetDependencyVulnerabilityChecks returns the DependencyVulnerabilityChecks field. -func (c *CopilotCloudAgentEnabledTools) GetDependencyVulnerabilityChecks() bool { - if c == nil { - return false - } - return c.DependencyVulnerabilityChecks -} - -// GetSecretScanning returns the SecretScanning field. -func (c *CopilotCloudAgentEnabledTools) GetSecretScanning() bool { - if c == nil { - return false - } - return c.SecretScanning -} - -// 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 -} - -// GetCodeAcceptanceActivityCount returns the CodeAcceptanceActivityCount field if it's non-nil, zero value otherwise. -func (c *CopilotDailyMetrics) GetCodeAcceptanceActivityCount() int { - if c == nil || c.CodeAcceptanceActivityCount == nil { - return 0 - } - return *c.CodeAcceptanceActivityCount -} - -// GetCodeGenerationActivityCount returns the CodeGenerationActivityCount field if it's non-nil, zero value otherwise. -func (c *CopilotDailyMetrics) GetCodeGenerationActivityCount() int { - if c == nil || c.CodeGenerationActivityCount == nil { - return 0 - } - return *c.CodeGenerationActivityCount -} - -// GetDailyActiveCLIUsers returns the DailyActiveCLIUsers field if it's non-nil, zero value otherwise. -func (c *CopilotDailyMetrics) GetDailyActiveCLIUsers() int { - if c == nil || c.DailyActiveCLIUsers == nil { - return 0 - } - return *c.DailyActiveCLIUsers -} - -// GetDailyActiveCopilotAppUsers returns the DailyActiveCopilotAppUsers field if it's non-nil, zero value otherwise. -func (c *CopilotDailyMetrics) GetDailyActiveCopilotAppUsers() int { - if c == nil || c.DailyActiveCopilotAppUsers == nil { - return 0 - } - return *c.DailyActiveCopilotAppUsers -} - -// GetDailyActiveCopilotCloudAgentUsers returns the DailyActiveCopilotCloudAgentUsers field if it's non-nil, zero value otherwise. -func (c *CopilotDailyMetrics) GetDailyActiveCopilotCloudAgentUsers() int { - if c == nil || c.DailyActiveCopilotCloudAgentUsers == nil { - return 0 - } - return *c.DailyActiveCopilotCloudAgentUsers -} - -// GetDailyActiveCopilotCodeReviewUsers returns the DailyActiveCopilotCodeReviewUsers field if it's non-nil, zero value otherwise. -func (c *CopilotDailyMetrics) GetDailyActiveCopilotCodeReviewUsers() int { - if c == nil || c.DailyActiveCopilotCodeReviewUsers == nil { - return 0 - } - return *c.DailyActiveCopilotCodeReviewUsers -} - -// GetDailyActiveUsers returns the DailyActiveUsers field if it's non-nil, zero value otherwise. -func (c *CopilotDailyMetrics) GetDailyActiveUsers() int { - if c == nil || c.DailyActiveUsers == nil { - return 0 - } - return *c.DailyActiveUsers -} - -// GetDailyPassiveCopilotCodeReviewUsers returns the DailyPassiveCopilotCodeReviewUsers field if it's non-nil, zero value otherwise. -func (c *CopilotDailyMetrics) GetDailyPassiveCopilotCodeReviewUsers() int { - if c == nil || c.DailyPassiveCopilotCodeReviewUsers == nil { - return 0 - } - return *c.DailyPassiveCopilotCodeReviewUsers -} - -// GetDay returns the Day field. -func (c *CopilotDailyMetrics) GetDay() string { - if c == nil { - return "" - } - return c.Day -} - -// GetEnterpriseID returns the EnterpriseID field if it's non-nil, zero value otherwise. -func (c *CopilotDailyMetrics) GetEnterpriseID() string { - if c == nil || c.EnterpriseID == nil { - return "" - } - return *c.EnterpriseID -} - -// GetLOCAddedSum returns the LOCAddedSum field if it's non-nil, zero value otherwise. -func (c *CopilotDailyMetrics) GetLOCAddedSum() int { - if c == nil || c.LOCAddedSum == nil { - return 0 - } - return *c.LOCAddedSum -} - -// GetLOCDeletedSum returns the LOCDeletedSum field if it's non-nil, zero value otherwise. -func (c *CopilotDailyMetrics) GetLOCDeletedSum() int { - if c == nil || c.LOCDeletedSum == nil { - return 0 - } - return *c.LOCDeletedSum -} - -// GetLOCSuggestedToAddSum returns the LOCSuggestedToAddSum field if it's non-nil, zero value otherwise. -func (c *CopilotDailyMetrics) GetLOCSuggestedToAddSum() int { - if c == nil || c.LOCSuggestedToAddSum == nil { - return 0 - } - return *c.LOCSuggestedToAddSum -} - -// GetLOCSuggestedToDeleteSum returns the LOCSuggestedToDeleteSum field if it's non-nil, zero value otherwise. -func (c *CopilotDailyMetrics) GetLOCSuggestedToDeleteSum() int { - if c == nil || c.LOCSuggestedToDeleteSum == nil { - return 0 - } - return *c.LOCSuggestedToDeleteSum -} - -// GetMonthlyActiveAgentUsers returns the MonthlyActiveAgentUsers field if it's non-nil, zero value otherwise. -func (c *CopilotDailyMetrics) GetMonthlyActiveAgentUsers() int { - if c == nil || c.MonthlyActiveAgentUsers == nil { - return 0 - } - return *c.MonthlyActiveAgentUsers -} - -// GetMonthlyActiveChatUsers returns the MonthlyActiveChatUsers field if it's non-nil, zero value otherwise. -func (c *CopilotDailyMetrics) GetMonthlyActiveChatUsers() int { - if c == nil || c.MonthlyActiveChatUsers == nil { - return 0 - } - return *c.MonthlyActiveChatUsers -} - -// GetMonthlyActiveCopilotCloudAgentUsers returns the MonthlyActiveCopilotCloudAgentUsers field if it's non-nil, zero value otherwise. -func (c *CopilotDailyMetrics) GetMonthlyActiveCopilotCloudAgentUsers() int { - if c == nil || c.MonthlyActiveCopilotCloudAgentUsers == nil { - return 0 - } - return *c.MonthlyActiveCopilotCloudAgentUsers -} - -// GetMonthlyActiveCopilotCodeReviewUsers returns the MonthlyActiveCopilotCodeReviewUsers field if it's non-nil, zero value otherwise. -func (c *CopilotDailyMetrics) GetMonthlyActiveCopilotCodeReviewUsers() int { - if c == nil || c.MonthlyActiveCopilotCodeReviewUsers == nil { - return 0 - } - return *c.MonthlyActiveCopilotCodeReviewUsers -} - -// GetMonthlyActiveUsers returns the MonthlyActiveUsers field if it's non-nil, zero value otherwise. -func (c *CopilotDailyMetrics) GetMonthlyActiveUsers() int { - if c == nil || c.MonthlyActiveUsers == nil { - return 0 - } - return *c.MonthlyActiveUsers -} - -// GetMonthlyPassiveCopilotCodeReviewUsers returns the MonthlyPassiveCopilotCodeReviewUsers field if it's non-nil, zero value otherwise. -func (c *CopilotDailyMetrics) GetMonthlyPassiveCopilotCodeReviewUsers() int { - if c == nil || c.MonthlyPassiveCopilotCodeReviewUsers == nil { - return 0 - } - return *c.MonthlyPassiveCopilotCodeReviewUsers -} - -// GetOrganizationID returns the OrganizationID field if it's non-nil, zero value otherwise. -func (c *CopilotDailyMetrics) GetOrganizationID() string { - if c == nil || c.OrganizationID == nil { - return "" - } - return *c.OrganizationID -} - -// GetPullRequests returns the PullRequests field. -func (c *CopilotDailyMetrics) GetPullRequests() *CopilotMetricsPullRequests { - if c == nil { - return nil - } - return c.PullRequests -} - -// GetTotalsBy3rdPartyAgent returns the TotalsBy3rdPartyAgent slice if it's non-nil, nil otherwise. -func (c *CopilotDailyMetrics) GetTotalsBy3rdPartyAgent() []*CopilotMetricsThirdPartyAgent { - if c == nil || c.TotalsBy3rdPartyAgent == nil { - return nil - } - return c.TotalsBy3rdPartyAgent -} - -// GetTotalsByAIAdoptionPhase returns the TotalsByAIAdoptionPhase slice if it's non-nil, nil otherwise. -func (c *CopilotDailyMetrics) GetTotalsByAIAdoptionPhase() []*CopilotMetricsAIAdoptionPhaseTotals { - if c == nil || c.TotalsByAIAdoptionPhase == nil { - return nil - } - return c.TotalsByAIAdoptionPhase -} - -// GetTotalsByCLI returns the TotalsByCLI field. -func (c *CopilotDailyMetrics) GetTotalsByCLI() *CopilotMetricsCLI { - if c == nil { - return nil - } - return c.TotalsByCLI -} - -// GetTotalsByCopilotApp returns the TotalsByCopilotApp field. -func (c *CopilotDailyMetrics) GetTotalsByCopilotApp() *CopilotMetricsCopilotApp { - if c == nil { - return nil - } - return c.TotalsByCopilotApp -} - -// GetTotalsByFeature returns the TotalsByFeature slice if it's non-nil, nil otherwise. -func (c *CopilotDailyMetrics) GetTotalsByFeature() []*CopilotMetricsFeature { - if c == nil || c.TotalsByFeature == nil { - return nil - } - return c.TotalsByFeature -} - -// GetTotalsByIDE returns the TotalsByIDE slice if it's non-nil, nil otherwise. -func (c *CopilotDailyMetrics) GetTotalsByIDE() []*CopilotMetricsIDE { - if c == nil || c.TotalsByIDE == nil { - return nil - } - return c.TotalsByIDE -} - -// GetTotalsByLanguageFeature returns the TotalsByLanguageFeature slice if it's non-nil, nil otherwise. -func (c *CopilotDailyMetrics) GetTotalsByLanguageFeature() []*CopilotMetricsLanguageFeature { - if c == nil || c.TotalsByLanguageFeature == nil { - return nil - } - return c.TotalsByLanguageFeature -} - -// GetTotalsByLanguageModel returns the TotalsByLanguageModel slice if it's non-nil, nil otherwise. -func (c *CopilotDailyMetrics) GetTotalsByLanguageModel() []*CopilotMetricsLanguageModel { - if c == nil || c.TotalsByLanguageModel == nil { - return nil - } - return c.TotalsByLanguageModel -} - -// GetTotalsByModelFeature returns the TotalsByModelFeature slice if it's non-nil, nil otherwise. -func (c *CopilotDailyMetrics) GetTotalsByModelFeature() []*CopilotMetricsModelFeature { - if c == nil || c.TotalsByModelFeature == nil { - return nil - } - return c.TotalsByModelFeature -} - -// GetUserInitiatedInteractionCount returns the UserInitiatedInteractionCount field if it's non-nil, zero value otherwise. -func (c *CopilotDailyMetrics) GetUserInitiatedInteractionCount() int { - if c == nil || c.UserInitiatedInteractionCount == nil { - return 0 - } - return *c.UserInitiatedInteractionCount -} - -// GetWeeklyActiveCopilotCloudAgentUsers returns the WeeklyActiveCopilotCloudAgentUsers field if it's non-nil, zero value otherwise. -func (c *CopilotDailyMetrics) GetWeeklyActiveCopilotCloudAgentUsers() int { - if c == nil || c.WeeklyActiveCopilotCloudAgentUsers == nil { - return 0 - } - return *c.WeeklyActiveCopilotCloudAgentUsers -} - -// GetWeeklyActiveCopilotCodeReviewUsers returns the WeeklyActiveCopilotCodeReviewUsers field if it's non-nil, zero value otherwise. -func (c *CopilotDailyMetrics) GetWeeklyActiveCopilotCodeReviewUsers() int { - if c == nil || c.WeeklyActiveCopilotCodeReviewUsers == nil { - return 0 - } - return *c.WeeklyActiveCopilotCodeReviewUsers -} - -// GetWeeklyActiveUsers returns the WeeklyActiveUsers field if it's non-nil, zero value otherwise. -func (c *CopilotDailyMetrics) GetWeeklyActiveUsers() int { - if c == nil || c.WeeklyActiveUsers == nil { - return 0 - } - return *c.WeeklyActiveUsers -} - -// GetWeeklyPassiveCopilotCodeReviewUsers returns the WeeklyPassiveCopilotCodeReviewUsers field if it's non-nil, zero value otherwise. -func (c *CopilotDailyMetrics) GetWeeklyPassiveCopilotCodeReviewUsers() int { - if c == nil || c.WeeklyPassiveCopilotCodeReviewUsers == nil { - return 0 - } - return *c.WeeklyPassiveCopilotCodeReviewUsers -} - -// 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 { - return "" - } - 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 { - return "" - } - 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 { - return "" - } - 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 { - return "" - } - 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 { - return nil - } - return c.CopilotDotcomChat -} - -// GetCopilotDotcomPullRequests returns the CopilotDotcomPullRequests field. -func (c *CopilotMetrics) GetCopilotDotcomPullRequests() *CopilotDotcomPullRequests { - if c == nil { - return nil - } - return c.CopilotDotcomPullRequests -} - -// GetCopilotIDEChat returns the CopilotIDEChat field. -func (c *CopilotMetrics) GetCopilotIDEChat() *CopilotIDEChat { - if c == nil { - return nil - } - return c.CopilotIDEChat -} - -// GetCopilotIDECodeCompletions returns the CopilotIDECodeCompletions field. -func (c *CopilotMetrics) GetCopilotIDECodeCompletions() *CopilotIDECodeCompletions { - if c == nil { - return nil - } - 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 { - return 0 - } - return *c.TotalActiveUsers -} - -// GetTotalEngagedUsers returns the TotalEngagedUsers field if it's non-nil, zero value otherwise. -func (c *CopilotMetrics) GetTotalEngagedUsers() int { - if c == nil || c.TotalEngagedUsers == nil { - return 0 - } - return *c.TotalEngagedUsers -} - -// GetPhase returns the Phase field. -func (c *CopilotMetricsAIAdoptionPhase) GetPhase() string { - if c == nil { - return "" - } - return c.Phase -} - -// GetPhaseNumber returns the PhaseNumber field. -func (c *CopilotMetricsAIAdoptionPhase) GetPhaseNumber() int { - if c == nil { - return 0 - } - return c.PhaseNumber -} - -// GetVersion returns the Version field. -func (c *CopilotMetricsAIAdoptionPhase) GetVersion() string { - if c == nil { - return "" - } - return c.Version -} - -// GetAvgCodeAcceptanceActivities returns the AvgCodeAcceptanceActivities field. -func (c *CopilotMetricsAIAdoptionPhaseTotals) GetAvgCodeAcceptanceActivities() float64 { - if c == nil { - return 0 - } - return c.AvgCodeAcceptanceActivities -} - -// GetAvgCodeGenerationActivities returns the AvgCodeGenerationActivities field. -func (c *CopilotMetricsAIAdoptionPhaseTotals) GetAvgCodeGenerationActivities() float64 { - if c == nil { - return 0 - } - return c.AvgCodeGenerationActivities -} - -// GetAvgLOCAdded returns the AvgLOCAdded field. -func (c *CopilotMetricsAIAdoptionPhaseTotals) GetAvgLOCAdded() float64 { - if c == nil { - return 0 - } - return c.AvgLOCAdded -} - -// GetAvgLOCDeleted returns the AvgLOCDeleted field. -func (c *CopilotMetricsAIAdoptionPhaseTotals) GetAvgLOCDeleted() float64 { - if c == nil { - return 0 - } - return c.AvgLOCDeleted -} - -// GetAvgPullRequestsCreated returns the AvgPullRequestsCreated field. -func (c *CopilotMetricsAIAdoptionPhaseTotals) GetAvgPullRequestsCreated() float64 { - if c == nil { - return 0 - } - return c.AvgPullRequestsCreated -} - -// GetAvgPullRequestsMedianMinutesToMerge returns the AvgPullRequestsMedianMinutesToMerge field. -func (c *CopilotMetricsAIAdoptionPhaseTotals) GetAvgPullRequestsMedianMinutesToMerge() float64 { - if c == nil { - return 0 - } - return c.AvgPullRequestsMedianMinutesToMerge -} - -// GetAvgPullRequestsMerged returns the AvgPullRequestsMerged field. -func (c *CopilotMetricsAIAdoptionPhaseTotals) GetAvgPullRequestsMerged() float64 { - if c == nil { - return 0 - } - return c.AvgPullRequestsMerged -} - -// GetAvgPullRequestsMinutesToReview returns the AvgPullRequestsMinutesToReview field. -func (c *CopilotMetricsAIAdoptionPhaseTotals) GetAvgPullRequestsMinutesToReview() float64 { - if c == nil { - return 0 - } - return c.AvgPullRequestsMinutesToReview -} - -// GetAvgPullRequestsReviewCycles returns the AvgPullRequestsReviewCycles field. -func (c *CopilotMetricsAIAdoptionPhaseTotals) GetAvgPullRequestsReviewCycles() float64 { - if c == nil { - return 0 - } - return c.AvgPullRequestsReviewCycles -} - -// GetAvgPullRequestsReviewed returns the AvgPullRequestsReviewed field. -func (c *CopilotMetricsAIAdoptionPhaseTotals) GetAvgPullRequestsReviewed() float64 { - if c == nil { - return 0 - } - return c.AvgPullRequestsReviewed -} - -// GetAvgUserInitiatedInteractions returns the AvgUserInitiatedInteractions field. -func (c *CopilotMetricsAIAdoptionPhaseTotals) GetAvgUserInitiatedInteractions() float64 { - if c == nil { - return 0 - } - return c.AvgUserInitiatedInteractions -} - -// GetPhase returns the Phase field. -func (c *CopilotMetricsAIAdoptionPhaseTotals) GetPhase() string { - if c == nil { - return "" - } - return c.Phase -} - -// GetPhaseNumber returns the PhaseNumber field. -func (c *CopilotMetricsAIAdoptionPhaseTotals) GetPhaseNumber() int { - if c == nil { - return 0 - } - return c.PhaseNumber -} - -// GetTotalEngagedUsers returns the TotalEngagedUsers field. -func (c *CopilotMetricsAIAdoptionPhaseTotals) GetTotalEngagedUsers() int { - if c == nil { - return 0 - } - return c.TotalEngagedUsers -} - -// GetTotalPullRequestsMerged returns the TotalPullRequestsMerged field. -func (c *CopilotMetricsAIAdoptionPhaseTotals) GetTotalPullRequestsMerged() int { - if c == nil { - return 0 - } - return c.TotalPullRequestsMerged -} - -// GetChatPanelAgentMode returns the ChatPanelAgentMode field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsChatPanel) GetChatPanelAgentMode() int { - if c == nil || c.ChatPanelAgentMode == nil { - return 0 - } - return *c.ChatPanelAgentMode -} - -// GetChatPanelAskMode returns the ChatPanelAskMode field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsChatPanel) GetChatPanelAskMode() int { - if c == nil || c.ChatPanelAskMode == nil { - return 0 - } - return *c.ChatPanelAskMode -} - -// GetChatPanelCustomMode returns the ChatPanelCustomMode field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsChatPanel) GetChatPanelCustomMode() int { - if c == nil || c.ChatPanelCustomMode == nil { - return 0 - } - return *c.ChatPanelCustomMode -} - -// GetChatPanelEditMode returns the ChatPanelEditMode field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsChatPanel) GetChatPanelEditMode() int { - if c == nil || c.ChatPanelEditMode == nil { - return 0 - } - return *c.ChatPanelEditMode -} - -// GetChatPanelUnknownMode returns the ChatPanelUnknownMode field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsChatPanel) GetChatPanelUnknownMode() int { - if c == nil || c.ChatPanelUnknownMode == nil { - return 0 - } - return *c.ChatPanelUnknownMode -} - -// GetLastKnownCLIVersion returns the LastKnownCLIVersion field. -func (c *CopilotMetricsCLI) GetLastKnownCLIVersion() *CopilotMetricsCLIVersion { - if c == nil { - return nil - } - return c.LastKnownCLIVersion -} - -// GetPromptCount returns the PromptCount field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsCLI) GetPromptCount() int { - if c == nil || c.PromptCount == nil { - return 0 - } - return *c.PromptCount -} - -// GetRequestCount returns the RequestCount field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsCLI) GetRequestCount() int { - if c == nil || c.RequestCount == nil { - return 0 - } - return *c.RequestCount -} - -// GetSessionCount returns the SessionCount field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsCLI) GetSessionCount() int { - if c == nil || c.SessionCount == nil { - return 0 - } - return *c.SessionCount -} - -// GetTokenUsage returns the TokenUsage field. -func (c *CopilotMetricsCLI) GetTokenUsage() *CopilotMetricsCLITokenUsage { - if c == nil { - return nil - } - return c.TokenUsage -} - -// GetAvgTokensPerRequest returns the AvgTokensPerRequest field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsCLITokenUsage) GetAvgTokensPerRequest() float64 { - if c == nil || c.AvgTokensPerRequest == nil { - return 0 - } - return *c.AvgTokensPerRequest -} - -// GetOutputTokensSum returns the OutputTokensSum field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsCLITokenUsage) GetOutputTokensSum() int { - if c == nil || c.OutputTokensSum == nil { - return 0 - } - return *c.OutputTokensSum -} - -// GetPromptTokensSum returns the PromptTokensSum field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsCLITokenUsage) GetPromptTokensSum() int { - if c == nil || c.PromptTokensSum == nil { - return 0 - } - return *c.PromptTokensSum -} - -// GetCLIVersion returns the CLIVersion field. -func (c *CopilotMetricsCLIVersion) GetCLIVersion() string { - if c == nil { - return "" - } - return c.CLIVersion -} - -// GetSampledAt returns the SampledAt field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsCLIVersion) GetSampledAt() Timestamp { - if c == nil || c.SampledAt == nil { - return Timestamp{} - } - return *c.SampledAt -} - -// GetCodeAcceptanceActivityCount returns the CodeAcceptanceActivityCount field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsCodeActivity) GetCodeAcceptanceActivityCount() int { - if c == nil || c.CodeAcceptanceActivityCount == nil { - return 0 - } - return *c.CodeAcceptanceActivityCount -} - -// GetCodeGenerationActivityCount returns the CodeGenerationActivityCount field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsCodeActivity) GetCodeGenerationActivityCount() int { - if c == nil || c.CodeGenerationActivityCount == nil { - return 0 - } - return *c.CodeGenerationActivityCount -} - -// GetLOCAddedSum returns the LOCAddedSum field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsCodeActivity) GetLOCAddedSum() int { - if c == nil || c.LOCAddedSum == nil { - return 0 - } - return *c.LOCAddedSum -} - -// GetLOCDeletedSum returns the LOCDeletedSum field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsCodeActivity) GetLOCDeletedSum() int { - if c == nil || c.LOCDeletedSum == nil { - return 0 - } - return *c.LOCDeletedSum -} - -// GetLOCSuggestedToAddSum returns the LOCSuggestedToAddSum field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsCodeActivity) GetLOCSuggestedToAddSum() int { - if c == nil || c.LOCSuggestedToAddSum == nil { - return 0 - } - return *c.LOCSuggestedToAddSum -} - -// GetLOCSuggestedToDeleteSum returns the LOCSuggestedToDeleteSum field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsCodeActivity) GetLOCSuggestedToDeleteSum() int { - if c == nil || c.LOCSuggestedToDeleteSum == nil { - return 0 - } - return *c.LOCSuggestedToDeleteSum -} - -// GetPromptCount returns the PromptCount field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsCopilotApp) GetPromptCount() int { - if c == nil || c.PromptCount == nil { - return 0 - } - return *c.PromptCount -} - -// GetRequestCount returns the RequestCount field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsCopilotApp) GetRequestCount() int { - if c == nil || c.RequestCount == nil { - return 0 - } - return *c.RequestCount -} - -// GetSessionCount returns the SessionCount field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsCopilotApp) GetSessionCount() int { - if c == nil || c.SessionCount == nil { - return 0 - } - return *c.SessionCount -} - -// GetTokenUsage returns the TokenUsage field. -func (c *CopilotMetricsCopilotApp) GetTokenUsage() *CopilotMetricsCopilotAppTokenUsage { - if c == nil { - return nil - } - return c.TokenUsage -} - -// GetAvgTokensPerRequest returns the AvgTokensPerRequest field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsCopilotAppTokenUsage) GetAvgTokensPerRequest() float64 { - if c == nil || c.AvgTokensPerRequest == nil { - return 0 - } - return *c.AvgTokensPerRequest -} - -// GetOutputTokensSum returns the OutputTokensSum field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsCopilotAppTokenUsage) GetOutputTokensSum() int { - if c == nil || c.OutputTokensSum == nil { - return 0 - } - return *c.OutputTokensSum -} - -// GetPromptTokensSum returns the PromptTokensSum field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsCopilotAppTokenUsage) GetPromptTokensSum() int { - if c == nil || c.PromptTokensSum == nil { - return 0 - } - return *c.PromptTokensSum -} - -// GetCommentType returns the CommentType field. -func (c *CopilotMetricsCopilotSuggestionByCommentType) GetCommentType() string { - if c == nil { - return "" - } - return c.CommentType -} - -// GetTotalCopilotAppliedSuggestions returns the TotalCopilotAppliedSuggestions field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsCopilotSuggestionByCommentType) GetTotalCopilotAppliedSuggestions() int { - if c == nil || c.TotalCopilotAppliedSuggestions == nil { - return 0 - } - return *c.TotalCopilotAppliedSuggestions -} - -// GetTotalCopilotSuggestions returns the TotalCopilotSuggestions field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsCopilotSuggestionByCommentType) GetTotalCopilotSuggestions() int { - if c == nil || c.TotalCopilotSuggestions == nil { - return 0 - } - return *c.TotalCopilotSuggestions -} - -// GetFeature returns the Feature field. -func (c *CopilotMetricsFeature) GetFeature() string { - if c == nil { - return "" - } - return c.Feature -} - -// GetUserInitiatedInteractionCount returns the UserInitiatedInteractionCount field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsFeature) GetUserInitiatedInteractionCount() int { - if c == nil || c.UserInitiatedInteractionCount == nil { - return 0 - } - return *c.UserInitiatedInteractionCount -} - -// GetIDE returns the IDE field. -func (c *CopilotMetricsIDE) GetIDE() string { - if c == nil { - return "" - } - return c.IDE -} - -// GetUserInitiatedInteractionCount returns the UserInitiatedInteractionCount field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsIDE) GetUserInitiatedInteractionCount() int { - if c == nil || c.UserInitiatedInteractionCount == nil { - return 0 - } - return *c.UserInitiatedInteractionCount -} - -// GetFeature returns the Feature field. -func (c *CopilotMetricsLanguageFeature) GetFeature() string { - if c == nil { - return "" - } - return c.Feature -} - -// GetLanguage returns the Language field. -func (c *CopilotMetricsLanguageFeature) GetLanguage() string { - if c == nil { - return "" - } - return c.Language -} - -// GetLanguage returns the Language field. -func (c *CopilotMetricsLanguageModel) GetLanguage() string { - if c == nil { - return "" - } - return c.Language -} - -// GetModel returns the Model field. -func (c *CopilotMetricsLanguageModel) GetModel() string { - if c == nil { - return "" - } - return c.Model -} - -// GetSince returns the Since field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsListOptions) GetSince() time.Time { - if c == nil || c.Since == nil { - return time.Time{} - } - return *c.Since -} - -// GetUntil returns the Until field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsListOptions) GetUntil() time.Time { - if c == nil || c.Until == nil { - return time.Time{} - } - return *c.Until -} - -// GetFeature returns the Feature field. -func (c *CopilotMetricsModelFeature) GetFeature() string { - if c == nil { - return "" - } - return c.Feature -} - -// GetModel returns the Model field. -func (c *CopilotMetricsModelFeature) GetModel() string { - if c == nil { - return "" - } - return c.Model -} - -// GetUserInitiatedInteractionCount returns the UserInitiatedInteractionCount field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsModelFeature) GetUserInitiatedInteractionCount() int { - if c == nil || c.UserInitiatedInteractionCount == nil { - return 0 - } - return *c.UserInitiatedInteractionCount -} - -// GetCopilotSuggestionsByCommentType returns the CopilotSuggestionsByCommentType slice if it's non-nil, nil otherwise. -func (c *CopilotMetricsPullRequests) GetCopilotSuggestionsByCommentType() []*CopilotMetricsCopilotSuggestionByCommentType { - if c == nil || c.CopilotSuggestionsByCommentType == nil { - return nil - } - return c.CopilotSuggestionsByCommentType -} - -// GetMedianMinutesToMerge returns the MedianMinutesToMerge field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsPullRequests) GetMedianMinutesToMerge() float64 { - if c == nil || c.MedianMinutesToMerge == nil { - return 0 - } - return *c.MedianMinutesToMerge -} - -// GetMedianMinutesToMergeCopilotAuthored returns the MedianMinutesToMergeCopilotAuthored field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsPullRequests) GetMedianMinutesToMergeCopilotAuthored() float64 { - if c == nil || c.MedianMinutesToMergeCopilotAuthored == nil { - return 0 - } - return *c.MedianMinutesToMergeCopilotAuthored -} - -// GetMedianMinutesToMergeCopilotReviewed returns the MedianMinutesToMergeCopilotReviewed field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsPullRequests) GetMedianMinutesToMergeCopilotReviewed() float64 { - if c == nil || c.MedianMinutesToMergeCopilotReviewed == nil { - return 0 - } - return *c.MedianMinutesToMergeCopilotReviewed -} - -// GetTotalAppliedSuggestions returns the TotalAppliedSuggestions field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsPullRequests) GetTotalAppliedSuggestions() int { - if c == nil || c.TotalAppliedSuggestions == nil { - return 0 - } - return *c.TotalAppliedSuggestions -} - -// GetTotalCopilotAppliedSuggestions returns the TotalCopilotAppliedSuggestions field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsPullRequests) GetTotalCopilotAppliedSuggestions() int { - if c == nil || c.TotalCopilotAppliedSuggestions == nil { - return 0 - } - return *c.TotalCopilotAppliedSuggestions -} - -// GetTotalCopilotSuggestions returns the TotalCopilotSuggestions field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsPullRequests) GetTotalCopilotSuggestions() int { - if c == nil || c.TotalCopilotSuggestions == nil { - return 0 - } - return *c.TotalCopilotSuggestions -} - -// GetTotalCreated returns the TotalCreated field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsPullRequests) GetTotalCreated() int { - if c == nil || c.TotalCreated == nil { - return 0 - } - return *c.TotalCreated -} - -// GetTotalCreatedByCopilot returns the TotalCreatedByCopilot field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsPullRequests) GetTotalCreatedByCopilot() int { - if c == nil || c.TotalCreatedByCopilot == nil { - return 0 - } - return *c.TotalCreatedByCopilot -} - -// GetTotalMerged returns the TotalMerged field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsPullRequests) GetTotalMerged() int { - if c == nil || c.TotalMerged == nil { - return 0 - } - return *c.TotalMerged -} - -// GetTotalMergedCreatedByCopilot returns the TotalMergedCreatedByCopilot field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsPullRequests) GetTotalMergedCreatedByCopilot() int { - if c == nil || c.TotalMergedCreatedByCopilot == nil { - return 0 - } - return *c.TotalMergedCreatedByCopilot -} - -// GetTotalMergedReviewedByCopilot returns the TotalMergedReviewedByCopilot field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsPullRequests) GetTotalMergedReviewedByCopilot() int { - if c == nil || c.TotalMergedReviewedByCopilot == nil { - return 0 - } - return *c.TotalMergedReviewedByCopilot -} - -// GetTotalReviewed returns the TotalReviewed field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsPullRequests) GetTotalReviewed() int { - if c == nil || c.TotalReviewed == nil { - return 0 - } - return *c.TotalReviewed -} - -// GetTotalReviewedByCopilot returns the TotalReviewedByCopilot field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsPullRequests) GetTotalReviewedByCopilot() int { - if c == nil || c.TotalReviewedByCopilot == nil { - return 0 - } - return *c.TotalReviewedByCopilot -} - -// GetTotalSuggestions returns the TotalSuggestions field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsPullRequests) GetTotalSuggestions() int { - if c == nil || c.TotalSuggestions == nil { - return 0 - } - return *c.TotalSuggestions -} - -// 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 -} - -// GetAgentID returns the AgentID field. -func (c *CopilotMetricsThirdPartyAgent) GetAgentID() string { - if c == nil { - return "" - } - return c.AgentID -} - -// GetAgentName returns the AgentName field. -func (c *CopilotMetricsThirdPartyAgent) GetAgentName() string { - if c == nil { - return "" - } - return c.AgentName -} - -// GetSessionCount returns the SessionCount field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsThirdPartyAgent) GetSessionCount() int { - if c == nil || c.SessionCount == nil { - return 0 - } - return *c.SessionCount -} - -// GetUserInitiatedInteractionCount returns the UserInitiatedInteractionCount field if it's non-nil, zero value otherwise. -func (c *CopilotMetricsThirdPartyAgent) GetUserInitiatedInteractionCount() int { - if c == nil || c.UserInitiatedInteractionCount == nil { - return 0 - } - return *c.UserInitiatedInteractionCount -} - -// 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 { - return nil - } - return c.SeatBreakdown -} - -// GetSeatManagementSetting returns the SeatManagementSetting field. -func (c *CopilotOrganizationDetails) GetSeatManagementSetting() string { - if c == nil { - return "" - } - return c.SeatManagementSetting -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (c *CopilotPeriodicMetrics) GetCreatedAt() Timestamp { - if c == nil || c.CreatedAt == nil { - return Timestamp{} - } - return *c.CreatedAt -} - -// GetDayTotals returns the DayTotals slice if it's non-nil, nil otherwise. -func (c *CopilotPeriodicMetrics) GetDayTotals() []*CopilotDailyMetrics { - if c == nil || c.DayTotals == nil { - return nil - } - return c.DayTotals -} - -// GetEnterpriseID returns the EnterpriseID field if it's non-nil, zero value otherwise. -func (c *CopilotPeriodicMetrics) GetEnterpriseID() string { - if c == nil || c.EnterpriseID == nil { - return "" - } - return *c.EnterpriseID -} - -// GetOrganizationID returns the OrganizationID field if it's non-nil, zero value otherwise. -func (c *CopilotPeriodicMetrics) GetOrganizationID() string { - if c == nil || c.OrganizationID == nil { - return "" - } - return *c.OrganizationID -} - -// GetReportEndDay returns the ReportEndDay field. -func (c *CopilotPeriodicMetrics) GetReportEndDay() string { - if c == nil { - return "" - } - return c.ReportEndDay -} - -// GetReportStartDay returns the ReportStartDay field. -func (c *CopilotPeriodicMetrics) GetReportStartDay() string { - if c == nil { - return "" - } - return c.ReportStartDay -} - -// GetDay returns the Day field. -func (c *CopilotRepositoryDailyMetrics) GetDay() string { - if c == nil { - return "" - } - return c.Day -} - -// GetEnterpriseID returns the EnterpriseID field if it's non-nil, zero value otherwise. -func (c *CopilotRepositoryDailyMetrics) GetEnterpriseID() string { - if c == nil || c.EnterpriseID == nil { - return "" - } - return *c.EnterpriseID -} - -// GetOrganizationID returns the OrganizationID field if it's non-nil, zero value otherwise. -func (c *CopilotRepositoryDailyMetrics) GetOrganizationID() string { - if c == nil || c.OrganizationID == nil { - return "" - } - return *c.OrganizationID -} - -// GetPullRequests returns the PullRequests field. -func (c *CopilotRepositoryDailyMetrics) GetPullRequests() *CopilotMetricsPullRequests { - if c == nil { - return nil - } - return c.PullRequests -} - -// GetRepoID returns the RepoID field. -func (c *CopilotRepositoryDailyMetrics) GetRepoID() int64 { - if c == nil { - return 0 - } - return c.RepoID -} - -// GetRepoName returns the RepoName field. -func (c *CopilotRepositoryDailyMetrics) GetRepoName() string { - if c == nil { - return "" - } - return c.RepoName -} - -// GetRepoOwnerName returns the RepoOwnerName field. -func (c *CopilotRepositoryDailyMetrics) GetRepoOwnerName() string { - if c == nil { - return "" - } - return c.RepoOwnerName -} - -// GetRepoVisibility returns the RepoVisibility field. -func (c *CopilotRepositoryDailyMetrics) GetRepoVisibility() string { - if c == nil { - return "" - } - return c.RepoVisibility -} - -// 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 { - return nil - } - return c.AssigningTeam -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (c *CopilotSeatDetails) GetCreatedAt() Timestamp { - if c == nil || c.CreatedAt == nil { - return Timestamp{} - } - return *c.CreatedAt -} - -// GetLastActivityAt returns the LastActivityAt field if it's non-nil, zero value otherwise. -func (c *CopilotSeatDetails) GetLastActivityAt() Timestamp { - if c == nil || c.LastActivityAt == nil { - return Timestamp{} - } - return *c.LastActivityAt -} - -// GetLastActivityEditor returns the LastActivityEditor field if it's non-nil, zero value otherwise. -func (c *CopilotSeatDetails) GetLastActivityEditor() string { - if c == nil || c.LastActivityEditor == nil { - return "" - } - return *c.LastActivityEditor -} - -// GetPendingCancellationDate returns the PendingCancellationDate field if it's non-nil, zero value otherwise. -func (c *CopilotSeatDetails) GetPendingCancellationDate() string { - if c == nil || c.PendingCancellationDate == nil { - return "" - } - return *c.PendingCancellationDate -} - -// GetPlanType returns the PlanType field if it's non-nil, zero value otherwise. -func (c *CopilotSeatDetails) GetPlanType() string { - if c == nil || c.PlanType == nil { - return "" - } - return *c.PlanType -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (c *CopilotSeatDetails) GetUpdatedAt() Timestamp { - if c == nil || c.UpdatedAt == nil { - return Timestamp{} - } - return *c.UpdatedAt -} - -// GetAIAdoptionPhase returns the AIAdoptionPhase field. -func (c *CopilotUserDailyMetrics) GetAIAdoptionPhase() *CopilotMetricsAIAdoptionPhase { - if c == nil { - return nil - } - return c.AIAdoptionPhase -} - -// GetAICreditsUsed returns the AICreditsUsed field if it's non-nil, zero value otherwise. -func (c *CopilotUserDailyMetrics) GetAICreditsUsed() float64 { - if c == nil || c.AICreditsUsed == nil { - return 0 - } - return *c.AICreditsUsed -} - -// GetCodeAcceptanceActivityCount returns the CodeAcceptanceActivityCount field if it's non-nil, zero value otherwise. -func (c *CopilotUserDailyMetrics) GetCodeAcceptanceActivityCount() int { - if c == nil || c.CodeAcceptanceActivityCount == nil { - return 0 - } - return *c.CodeAcceptanceActivityCount -} - -// GetCodeGenerationActivityCount returns the CodeGenerationActivityCount field if it's non-nil, zero value otherwise. -func (c *CopilotUserDailyMetrics) GetCodeGenerationActivityCount() int { - if c == nil || c.CodeGenerationActivityCount == nil { - return 0 - } - return *c.CodeGenerationActivityCount -} - -// GetDay returns the Day field. -func (c *CopilotUserDailyMetrics) GetDay() string { - if c == nil { - return "" - } - return c.Day -} - -// GetEnterpriseID returns the EnterpriseID field if it's non-nil, zero value otherwise. -func (c *CopilotUserDailyMetrics) GetEnterpriseID() string { - if c == nil || c.EnterpriseID == nil { - return "" - } - return *c.EnterpriseID -} - -// GetLOCAddedSum returns the LOCAddedSum field if it's non-nil, zero value otherwise. -func (c *CopilotUserDailyMetrics) GetLOCAddedSum() int { - if c == nil || c.LOCAddedSum == nil { - return 0 - } - return *c.LOCAddedSum -} - -// GetLOCDeletedSum returns the LOCDeletedSum field if it's non-nil, zero value otherwise. -func (c *CopilotUserDailyMetrics) GetLOCDeletedSum() int { - if c == nil || c.LOCDeletedSum == nil { - return 0 - } - return *c.LOCDeletedSum -} - -// GetLOCSuggestedToAddSum returns the LOCSuggestedToAddSum field if it's non-nil, zero value otherwise. -func (c *CopilotUserDailyMetrics) GetLOCSuggestedToAddSum() int { - if c == nil || c.LOCSuggestedToAddSum == nil { - return 0 - } - return *c.LOCSuggestedToAddSum -} - -// GetLOCSuggestedToDeleteSum returns the LOCSuggestedToDeleteSum field if it's non-nil, zero value otherwise. -func (c *CopilotUserDailyMetrics) GetLOCSuggestedToDeleteSum() int { - if c == nil || c.LOCSuggestedToDeleteSum == nil { - return 0 - } - return *c.LOCSuggestedToDeleteSum -} - -// GetOrganizationID returns the OrganizationID field if it's non-nil, zero value otherwise. -func (c *CopilotUserDailyMetrics) GetOrganizationID() string { - if c == nil || c.OrganizationID == nil { - return "" - } - return *c.OrganizationID -} - -// GetTotalsBy3rdPartyAgent returns the TotalsBy3rdPartyAgent slice if it's non-nil, nil otherwise. -func (c *CopilotUserDailyMetrics) GetTotalsBy3rdPartyAgent() []*CopilotMetricsThirdPartyAgent { - if c == nil || c.TotalsBy3rdPartyAgent == nil { - return nil - } - return c.TotalsBy3rdPartyAgent -} - -// GetTotalsByCLI returns the TotalsByCLI field. -func (c *CopilotUserDailyMetrics) GetTotalsByCLI() *CopilotMetricsCLI { - if c == nil { - return nil - } - return c.TotalsByCLI -} - -// GetTotalsByCopilotApp returns the TotalsByCopilotApp field. -func (c *CopilotUserDailyMetrics) GetTotalsByCopilotApp() *CopilotMetricsCopilotApp { - if c == nil { - return nil - } - return c.TotalsByCopilotApp -} - -// GetTotalsByFeature returns the TotalsByFeature slice if it's non-nil, nil otherwise. -func (c *CopilotUserDailyMetrics) GetTotalsByFeature() []*CopilotMetricsFeature { - if c == nil || c.TotalsByFeature == nil { - return nil - } - return c.TotalsByFeature -} - -// GetTotalsByIDE returns the TotalsByIDE slice if it's non-nil, nil otherwise. -func (c *CopilotUserDailyMetrics) GetTotalsByIDE() []*CopilotUserMetricsIDE { - if c == nil || c.TotalsByIDE == nil { - return nil - } - return c.TotalsByIDE -} - -// GetTotalsByLanguageFeature returns the TotalsByLanguageFeature slice if it's non-nil, nil otherwise. -func (c *CopilotUserDailyMetrics) GetTotalsByLanguageFeature() []*CopilotMetricsLanguageFeature { - if c == nil || c.TotalsByLanguageFeature == nil { - return nil - } - return c.TotalsByLanguageFeature -} - -// GetTotalsByLanguageModel returns the TotalsByLanguageModel slice if it's non-nil, nil otherwise. -func (c *CopilotUserDailyMetrics) GetTotalsByLanguageModel() []*CopilotMetricsLanguageModel { - if c == nil || c.TotalsByLanguageModel == nil { - return nil - } - return c.TotalsByLanguageModel -} - -// GetTotalsByModelFeature returns the TotalsByModelFeature slice if it's non-nil, nil otherwise. -func (c *CopilotUserDailyMetrics) GetTotalsByModelFeature() []*CopilotMetricsModelFeature { - if c == nil || c.TotalsByModelFeature == nil { - return nil - } - return c.TotalsByModelFeature -} - -// GetUsedAgent returns the UsedAgent field if it's non-nil, zero value otherwise. -func (c *CopilotUserDailyMetrics) GetUsedAgent() bool { - if c == nil || c.UsedAgent == nil { - return false - } - return *c.UsedAgent -} - -// GetUsedChat returns the UsedChat field if it's non-nil, zero value otherwise. -func (c *CopilotUserDailyMetrics) GetUsedChat() bool { - if c == nil || c.UsedChat == nil { - return false - } - return *c.UsedChat -} - -// GetUsedCLI returns the UsedCLI field if it's non-nil, zero value otherwise. -func (c *CopilotUserDailyMetrics) GetUsedCLI() bool { - if c == nil || c.UsedCLI == nil { - return false - } - return *c.UsedCLI -} - -// GetUsedCopilotApp returns the UsedCopilotApp field if it's non-nil, zero value otherwise. -func (c *CopilotUserDailyMetrics) GetUsedCopilotApp() bool { - if c == nil || c.UsedCopilotApp == nil { - return false - } - return *c.UsedCopilotApp -} - -// GetUsedCopilotCloudAgent returns the UsedCopilotCloudAgent field if it's non-nil, zero value otherwise. -func (c *CopilotUserDailyMetrics) GetUsedCopilotCloudAgent() bool { - if c == nil || c.UsedCopilotCloudAgent == nil { - return false - } - return *c.UsedCopilotCloudAgent -} - -// GetUsedCopilotCodeReviewActive returns the UsedCopilotCodeReviewActive field if it's non-nil, zero value otherwise. -func (c *CopilotUserDailyMetrics) GetUsedCopilotCodeReviewActive() bool { - if c == nil || c.UsedCopilotCodeReviewActive == nil { - return false - } - return *c.UsedCopilotCodeReviewActive -} - -// GetUsedCopilotCodeReviewPassive returns the UsedCopilotCodeReviewPassive field if it's non-nil, zero value otherwise. -func (c *CopilotUserDailyMetrics) GetUsedCopilotCodeReviewPassive() bool { - if c == nil || c.UsedCopilotCodeReviewPassive == nil { - return false - } - return *c.UsedCopilotCodeReviewPassive -} - -// GetUsedCopilotCodingAgent returns the UsedCopilotCodingAgent field if it's non-nil, zero value otherwise. -func (c *CopilotUserDailyMetrics) GetUsedCopilotCodingAgent() bool { - if c == nil || c.UsedCopilotCodingAgent == nil { - return false - } - return *c.UsedCopilotCodingAgent -} - -// GetUserID returns the UserID field. -func (c *CopilotUserDailyMetrics) GetUserID() int { - if c == nil { - return 0 - } - return c.UserID -} - -// GetUserInitiatedInteractionCount returns the UserInitiatedInteractionCount field if it's non-nil, zero value otherwise. -func (c *CopilotUserDailyMetrics) GetUserInitiatedInteractionCount() int { - if c == nil || c.UserInitiatedInteractionCount == nil { - return 0 - } - return *c.UserInitiatedInteractionCount -} - -// GetUserLogin returns the UserLogin field. -func (c *CopilotUserDailyMetrics) GetUserLogin() string { - if c == nil { - return "" - } - return c.UserLogin -} - -// GetIDE returns the IDE field. -func (c *CopilotUserMetricsIDE) GetIDE() string { - if c == nil { - return "" - } - return c.IDE -} - -// GetLastKnownIDEVersion returns the LastKnownIDEVersion field. -func (c *CopilotUserMetricsIDE) GetLastKnownIDEVersion() *CopilotUserMetricsIDEVersion { - if c == nil { - return nil - } - return c.LastKnownIDEVersion -} - -// GetLastKnownPluginVersion returns the LastKnownPluginVersion field. -func (c *CopilotUserMetricsIDE) GetLastKnownPluginVersion() *CopilotUserMetricsPluginVersion { - if c == nil { - return nil - } - return c.LastKnownPluginVersion -} - -// GetUserInitiatedInteractionCount returns the UserInitiatedInteractionCount field if it's non-nil, zero value otherwise. -func (c *CopilotUserMetricsIDE) GetUserInitiatedInteractionCount() int { - if c == nil || c.UserInitiatedInteractionCount == nil { - return 0 - } - return *c.UserInitiatedInteractionCount -} - -// GetIDEVersion returns the IDEVersion field. -func (c *CopilotUserMetricsIDEVersion) GetIDEVersion() string { - if c == nil { - return "" - } - return c.IDEVersion -} - -// GetSampledAt returns the SampledAt field if it's non-nil, zero value otherwise. -func (c *CopilotUserMetricsIDEVersion) GetSampledAt() Timestamp { - if c == nil || c.SampledAt == nil { - return Timestamp{} - } - return *c.SampledAt -} - -// GetPlugin returns the Plugin field. -func (c *CopilotUserMetricsPluginVersion) GetPlugin() string { - if c == nil { - return "" - } - return c.Plugin -} - -// GetPluginVersion returns the PluginVersion field. -func (c *CopilotUserMetricsPluginVersion) GetPluginVersion() string { - if c == nil { - return "" - } - return c.PluginVersion -} - -// GetSampledAt returns the SampledAt field if it's non-nil, zero value otherwise. -func (c *CopilotUserMetricsPluginVersion) GetSampledAt() Timestamp { - if c == nil || c.SampledAt == nil { - return Timestamp{} - } - return *c.SampledAt -} - -// GetAIAdoptionPhase returns the AIAdoptionPhase field. -func (c *CopilotUserPeriodicMetrics) GetAIAdoptionPhase() *CopilotMetricsAIAdoptionPhase { - if c == nil { - return nil - } - return c.AIAdoptionPhase -} - -// GetAICreditsUsed returns the AICreditsUsed field if it's non-nil, zero value otherwise. -func (c *CopilotUserPeriodicMetrics) GetAICreditsUsed() float64 { - if c == nil || c.AICreditsUsed == nil { - return 0 - } - return *c.AICreditsUsed -} - -// GetCodeAcceptanceActivityCount returns the CodeAcceptanceActivityCount field if it's non-nil, zero value otherwise. -func (c *CopilotUserPeriodicMetrics) GetCodeAcceptanceActivityCount() int { - if c == nil || c.CodeAcceptanceActivityCount == nil { - return 0 - } - return *c.CodeAcceptanceActivityCount -} - -// GetCodeGenerationActivityCount returns the CodeGenerationActivityCount field if it's non-nil, zero value otherwise. -func (c *CopilotUserPeriodicMetrics) GetCodeGenerationActivityCount() int { - if c == nil || c.CodeGenerationActivityCount == nil { - return 0 - } - return *c.CodeGenerationActivityCount -} - -// GetDay returns the Day field. -func (c *CopilotUserPeriodicMetrics) GetDay() string { - if c == nil { - return "" - } - return c.Day -} - -// GetEnterpriseID returns the EnterpriseID field if it's non-nil, zero value otherwise. -func (c *CopilotUserPeriodicMetrics) GetEnterpriseID() string { - if c == nil || c.EnterpriseID == nil { - return "" - } - return *c.EnterpriseID -} - -// GetLOCAddedSum returns the LOCAddedSum field if it's non-nil, zero value otherwise. -func (c *CopilotUserPeriodicMetrics) GetLOCAddedSum() int { - if c == nil || c.LOCAddedSum == nil { - return 0 - } - return *c.LOCAddedSum -} - -// GetLOCDeletedSum returns the LOCDeletedSum field if it's non-nil, zero value otherwise. -func (c *CopilotUserPeriodicMetrics) GetLOCDeletedSum() int { - if c == nil || c.LOCDeletedSum == nil { - return 0 - } - return *c.LOCDeletedSum -} - -// GetLOCSuggestedToAddSum returns the LOCSuggestedToAddSum field if it's non-nil, zero value otherwise. -func (c *CopilotUserPeriodicMetrics) GetLOCSuggestedToAddSum() int { - if c == nil || c.LOCSuggestedToAddSum == nil { - return 0 - } - return *c.LOCSuggestedToAddSum -} - -// GetLOCSuggestedToDeleteSum returns the LOCSuggestedToDeleteSum field if it's non-nil, zero value otherwise. -func (c *CopilotUserPeriodicMetrics) GetLOCSuggestedToDeleteSum() int { - if c == nil || c.LOCSuggestedToDeleteSum == nil { - return 0 - } - return *c.LOCSuggestedToDeleteSum -} - -// GetOrganizationID returns the OrganizationID field if it's non-nil, zero value otherwise. -func (c *CopilotUserPeriodicMetrics) GetOrganizationID() string { - if c == nil || c.OrganizationID == nil { - return "" - } - return *c.OrganizationID -} - -// GetReportEndDay returns the ReportEndDay field. -func (c *CopilotUserPeriodicMetrics) GetReportEndDay() string { - if c == nil { - return "" - } - return c.ReportEndDay -} - -// GetReportStartDay returns the ReportStartDay field. -func (c *CopilotUserPeriodicMetrics) GetReportStartDay() string { - if c == nil { - return "" - } - return c.ReportStartDay -} - -// GetTotalsBy3rdPartyAgent returns the TotalsBy3rdPartyAgent slice if it's non-nil, nil otherwise. -func (c *CopilotUserPeriodicMetrics) GetTotalsBy3rdPartyAgent() []*CopilotMetricsThirdPartyAgent { - if c == nil || c.TotalsBy3rdPartyAgent == nil { - return nil - } - return c.TotalsBy3rdPartyAgent -} - -// GetTotalsByCLI returns the TotalsByCLI field. -func (c *CopilotUserPeriodicMetrics) GetTotalsByCLI() *CopilotMetricsCLI { - if c == nil { - return nil - } - return c.TotalsByCLI -} - -// GetTotalsByCopilotApp returns the TotalsByCopilotApp field. -func (c *CopilotUserPeriodicMetrics) GetTotalsByCopilotApp() *CopilotMetricsCopilotApp { - if c == nil { - return nil - } - return c.TotalsByCopilotApp -} - -// GetTotalsByFeature returns the TotalsByFeature slice if it's non-nil, nil otherwise. -func (c *CopilotUserPeriodicMetrics) GetTotalsByFeature() []*CopilotMetricsFeature { - if c == nil || c.TotalsByFeature == nil { - return nil - } - return c.TotalsByFeature -} - -// GetTotalsByIDE returns the TotalsByIDE slice if it's non-nil, nil otherwise. -func (c *CopilotUserPeriodicMetrics) GetTotalsByIDE() []*CopilotUserMetricsIDE { - if c == nil || c.TotalsByIDE == nil { - return nil - } - return c.TotalsByIDE -} - -// GetTotalsByLanguageFeature returns the TotalsByLanguageFeature slice if it's non-nil, nil otherwise. -func (c *CopilotUserPeriodicMetrics) GetTotalsByLanguageFeature() []*CopilotMetricsLanguageFeature { - if c == nil || c.TotalsByLanguageFeature == nil { - return nil - } - return c.TotalsByLanguageFeature -} - -// GetTotalsByLanguageModel returns the TotalsByLanguageModel slice if it's non-nil, nil otherwise. -func (c *CopilotUserPeriodicMetrics) GetTotalsByLanguageModel() []*CopilotMetricsLanguageModel { - if c == nil || c.TotalsByLanguageModel == nil { - return nil - } - return c.TotalsByLanguageModel -} - -// GetTotalsByModelFeature returns the TotalsByModelFeature slice if it's non-nil, nil otherwise. -func (c *CopilotUserPeriodicMetrics) GetTotalsByModelFeature() []*CopilotMetricsModelFeature { - if c == nil || c.TotalsByModelFeature == nil { - return nil - } - return c.TotalsByModelFeature -} - -// GetUsedAgent returns the UsedAgent field if it's non-nil, zero value otherwise. -func (c *CopilotUserPeriodicMetrics) GetUsedAgent() bool { - if c == nil || c.UsedAgent == nil { - return false - } - return *c.UsedAgent -} - -// GetUsedChat returns the UsedChat field if it's non-nil, zero value otherwise. -func (c *CopilotUserPeriodicMetrics) GetUsedChat() bool { - if c == nil || c.UsedChat == nil { - return false - } - return *c.UsedChat -} - -// GetUsedCLI returns the UsedCLI field if it's non-nil, zero value otherwise. -func (c *CopilotUserPeriodicMetrics) GetUsedCLI() bool { - if c == nil || c.UsedCLI == nil { - return false - } - return *c.UsedCLI -} - -// GetUsedCopilotApp returns the UsedCopilotApp field if it's non-nil, zero value otherwise. -func (c *CopilotUserPeriodicMetrics) GetUsedCopilotApp() bool { - if c == nil || c.UsedCopilotApp == nil { - return false - } - return *c.UsedCopilotApp -} - -// GetUsedCopilotCloudAgent returns the UsedCopilotCloudAgent field if it's non-nil, zero value otherwise. -func (c *CopilotUserPeriodicMetrics) GetUsedCopilotCloudAgent() bool { - if c == nil || c.UsedCopilotCloudAgent == nil { - return false - } - return *c.UsedCopilotCloudAgent -} - -// GetUsedCopilotCodeReviewActive returns the UsedCopilotCodeReviewActive field if it's non-nil, zero value otherwise. -func (c *CopilotUserPeriodicMetrics) GetUsedCopilotCodeReviewActive() bool { - if c == nil || c.UsedCopilotCodeReviewActive == nil { - return false - } - return *c.UsedCopilotCodeReviewActive -} - -// GetUsedCopilotCodeReviewPassive returns the UsedCopilotCodeReviewPassive field if it's non-nil, zero value otherwise. -func (c *CopilotUserPeriodicMetrics) GetUsedCopilotCodeReviewPassive() bool { - if c == nil || c.UsedCopilotCodeReviewPassive == nil { - return false - } - return *c.UsedCopilotCodeReviewPassive -} - -// GetUsedCopilotCodingAgent returns the UsedCopilotCodingAgent field if it's non-nil, zero value otherwise. -func (c *CopilotUserPeriodicMetrics) GetUsedCopilotCodingAgent() bool { - if c == nil || c.UsedCopilotCodingAgent == nil { - return false - } - return *c.UsedCopilotCodingAgent -} - -// GetUserID returns the UserID field. -func (c *CopilotUserPeriodicMetrics) GetUserID() int { - if c == nil { - return 0 - } - return c.UserID -} - -// GetUserInitiatedInteractionCount returns the UserInitiatedInteractionCount field if it's non-nil, zero value otherwise. -func (c *CopilotUserPeriodicMetrics) GetUserInitiatedInteractionCount() int { - if c == nil || c.UserInitiatedInteractionCount == nil { - return 0 - } - return *c.UserInitiatedInteractionCount -} - -// GetUserLogin returns the UserLogin field. -func (c *CopilotUserPeriodicMetrics) GetUserLogin() string { - if c == nil { - return "" - } - return c.UserLogin -} - -// GetAzureSubscription returns the AzureSubscription field if it's non-nil, zero value otherwise. -func (c *CostCenter) GetAzureSubscription() string { - if c == nil || c.AzureSubscription == nil { - return "" - } - 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 { - return "" - } - 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 -} - -// GetBaseRef returns the BaseRef field if it's non-nil, zero value otherwise. -func (c *CreateAgentTaskRequest) GetBaseRef() string { - if c == nil || c.BaseRef == nil { - return "" - } - return *c.BaseRef -} - -// GetCreatePullRequest returns the CreatePullRequest field if it's non-nil, zero value otherwise. -func (c *CreateAgentTaskRequest) GetCreatePullRequest() bool { - if c == nil || c.CreatePullRequest == nil { - return false - } - return *c.CreatePullRequest -} - -// GetHeadRef returns the HeadRef field if it's non-nil, zero value otherwise. -func (c *CreateAgentTaskRequest) GetHeadRef() string { - if c == nil || c.HeadRef == nil { - return "" - } - return *c.HeadRef -} - -// GetModel returns the Model field if it's non-nil, zero value otherwise. -func (c *CreateAgentTaskRequest) GetModel() string { - if c == nil || c.Model == nil { - return "" - } - return *c.Model -} - -// GetPrompt returns the Prompt field. -func (c *CreateAgentTaskRequest) GetPrompt() string { - if c == nil { - return "" - } - return c.Prompt -} - -// GetCluster returns the Cluster field if it's non-nil, zero value otherwise. -func (c *CreateArtifactDeploymentRequest) GetCluster() string { - if c == nil || c.Cluster == nil { - return "" - } - 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 { - return "" - } - 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 { - return "" - } - 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 { - return map[string]string{} - } - return c.Tags -} - -// GetVersion returns the Version field if it's non-nil, zero value otherwise. -func (c *CreateArtifactDeploymentRequest) GetVersion() string { - if c == nil || c.Version == nil { - return "" - } - return *c.Version -} - -// GetArtifactURL returns the ArtifactURL field if it's non-nil, zero value otherwise. -func (c *CreateArtifactStorageRequest) GetArtifactURL() string { - if c == nil || c.ArtifactURL == nil { - return "" - } - 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 { - return "" - } - 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 { - return "" - } - 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 { - return "" - } - return *c.Repository -} - -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (c *CreateArtifactStorageRequest) GetStatus() string { - if c == nil || c.Status == nil { - return "" - } - return *c.Status -} - -// GetVersion returns the Version field if it's non-nil, zero value otherwise. -func (c *CreateArtifactStorageRequest) GetVersion() string { - if c == nil || c.Version == nil { - return "" - } - return *c.Version -} - -// GetIsAlphanumeric returns the IsAlphanumeric field if it's non-nil, zero value otherwise. -func (c *CreateAutolinkRequest) GetIsAlphanumeric() bool { - if c == nil || c.IsAlphanumeric == nil { - return false - } - return *c.IsAlphanumeric -} - -// GetKeyPrefix returns the KeyPrefix field. -func (c *CreateAutolinkRequest) GetKeyPrefix() string { - if c == nil { - return "" - } - return c.KeyPrefix -} - -// GetURLTemplate returns the URLTemplate field. -func (c *CreateAutolinkRequest) GetURLTemplate() string { - if c == nil { - return "" - } - return c.URLTemplate -} - -// 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 { - return Timestamp{} - } - return *c.CompletedAt -} - -// GetConclusion returns the Conclusion field if it's non-nil, zero value otherwise. -func (c *CreateCheckRunOptions) GetConclusion() string { - if c == nil || c.Conclusion == nil { - return "" - } - return *c.Conclusion -} - -// GetDetailsURL returns the DetailsURL field if it's non-nil, zero value otherwise. -func (c *CreateCheckRunOptions) GetDetailsURL() string { - if c == nil || c.DetailsURL == nil { - return "" - } - return *c.DetailsURL -} - -// GetExternalID returns the ExternalID field if it's non-nil, zero value otherwise. -func (c *CreateCheckRunOptions) GetExternalID() string { - if c == nil || c.ExternalID == nil { - return "" - } - 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 { - return nil - } - return c.Output -} - -// GetStartedAt returns the StartedAt field if it's non-nil, zero value otherwise. -func (c *CreateCheckRunOptions) GetStartedAt() Timestamp { - if c == nil || c.StartedAt == nil { - return Timestamp{} - } - return *c.StartedAt -} - -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (c *CreateCheckRunOptions) GetStatus() string { - if c == nil || c.Status == nil { - return "" - } - return *c.Status -} - -// GetHeadBranch returns the HeadBranch field if it's non-nil, zero value otherwise. -func (c *CreateCheckSuiteOptions) GetHeadBranch() string { - if c == nil || c.HeadBranch == nil { - return "" - } - 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 { - return "" - } - return *c.ClientIP -} - -// GetDevcontainerPath returns the DevcontainerPath field if it's non-nil, zero value otherwise. -func (c *CreateCodespaceOptions) GetDevcontainerPath() string { - if c == nil || c.DevcontainerPath == nil { - return "" - } - return *c.DevcontainerPath -} - -// GetDisplayName returns the DisplayName field if it's non-nil, zero value otherwise. -func (c *CreateCodespaceOptions) GetDisplayName() string { - if c == nil || c.DisplayName == nil { - return "" - } - return *c.DisplayName -} - -// GetGeo returns the Geo field if it's non-nil, zero value otherwise. -func (c *CreateCodespaceOptions) GetGeo() string { - if c == nil || c.Geo == nil { - return "" - } - return *c.Geo -} - -// GetIdleTimeoutMinutes returns the IdleTimeoutMinutes field if it's non-nil, zero value otherwise. -func (c *CreateCodespaceOptions) GetIdleTimeoutMinutes() int { - if c == nil || c.IdleTimeoutMinutes == nil { - return 0 - } - return *c.IdleTimeoutMinutes -} - -// GetLocation returns the Location field if it's non-nil, zero value otherwise. -func (c *CreateCodespaceOptions) GetLocation() string { - if c == nil || c.Location == nil { - return "" - } - return *c.Location -} - -// GetMachine returns the Machine field if it's non-nil, zero value otherwise. -func (c *CreateCodespaceOptions) GetMachine() string { - if c == nil || c.Machine == nil { - return "" - } - return *c.Machine -} - -// GetMultiRepoPermissionsOptOut returns the MultiRepoPermissionsOptOut field if it's non-nil, zero value otherwise. -func (c *CreateCodespaceOptions) GetMultiRepoPermissionsOptOut() bool { - if c == nil || c.MultiRepoPermissionsOptOut == nil { - return false - } - return *c.MultiRepoPermissionsOptOut -} - -// GetRef returns the Ref field if it's non-nil, zero value otherwise. -func (c *CreateCodespaceOptions) GetRef() string { - if c == nil || c.Ref == nil { - return "" - } - return *c.Ref -} - -// GetRetentionPeriodMinutes returns the RetentionPeriodMinutes field if it's non-nil, zero value otherwise. -func (c *CreateCodespaceOptions) GetRetentionPeriodMinutes() int { - if c == nil || c.RetentionPeriodMinutes == nil { - return 0 - } - return *c.RetentionPeriodMinutes -} - -// GetWorkingDirectory returns the WorkingDirectory field if it's non-nil, zero value otherwise. -func (c *CreateCodespaceOptions) GetWorkingDirectory() string { - if c == nil || c.WorkingDirectory == nil { - return "" - } - return *c.WorkingDirectory -} - -// GetBody returns the Body field. -func (c *CreateCommitCommentRequest) GetBody() string { - if c == nil { - return "" - } - return c.Body -} - -// GetLine returns the Line field if it's non-nil, zero value otherwise. -func (c *CreateCommitCommentRequest) GetLine() int { - if c == nil || c.Line == nil { - return 0 - } - return *c.Line -} - -// GetPath returns the Path field if it's non-nil, zero value otherwise. -func (c *CreateCommitCommentRequest) GetPath() string { - if c == nil || c.Path == nil { - return "" - } - return *c.Path -} - -// GetPosition returns the Position field if it's non-nil, zero value otherwise. -func (c *CreateCommitCommentRequest) GetPosition() int { - if c == nil || c.Position == nil { - return 0 - } - return *c.Position -} - -// 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 { - return "" - } - return *c.BaseRole -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (c *CreateCustomOrgRoleRequest) GetDescription() string { - if c == nil || c.Description == nil { - return "" - } - 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 -} - -// GetBaseRole returns the BaseRole field. -func (c *CreateCustomRepoRoleRequest) GetBaseRole() string { - if c == nil { - return "" - } - return c.BaseRole -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (c *CreateCustomRepoRoleRequest) GetDescription() string { - if c == nil || c.Description == nil { - return "" - } - return *c.Description -} - -// GetName returns the Name field. -func (c *CreateCustomRepoRoleRequest) GetName() string { - if c == nil { - return "" - } - return c.Name -} - -// GetPermissions returns the Permissions slice if it's non-nil, nil otherwise. -func (c *CreateCustomRepoRoleRequest) GetPermissions() []string { - if c == nil || c.Permissions == nil { - return nil - } - return c.Permissions -} - -// GetKey returns the Key field. -func (c *CreateDeployKeyRequest) GetKey() string { - if c == nil { - return "" - } - return c.Key -} - -// GetReadOnly returns the ReadOnly field if it's non-nil, zero value otherwise. -func (c *CreateDeployKeyRequest) GetReadOnly() bool { - if c == nil || c.ReadOnly == nil { - return false - } - return *c.ReadOnly -} - -// GetTitle returns the Title field if it's non-nil, zero value otherwise. -func (c *CreateDeployKeyRequest) GetTitle() string { - if c == nil || c.Title == nil { - return "" - } - return *c.Title -} - -// GetName returns the Name field. -func (c *CreateDeploymentBranchPolicyRequest) GetName() string { - if c == nil { - return "" - } - return c.Name -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (c *CreateDeploymentBranchPolicyRequest) GetType() string { - if c == nil || c.Type == nil { - return "" - } - return *c.Type -} - -// GetAllowsPublicRepositories returns the AllowsPublicRepositories field if it's non-nil, zero value otherwise. -func (c *CreateEnterpriseRunnerGroupRequest) GetAllowsPublicRepositories() bool { - if c == nil || c.AllowsPublicRepositories == nil { - return false - } - return *c.AllowsPublicRepositories -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (c *CreateEnterpriseRunnerGroupRequest) GetName() string { - if c == nil || c.Name == nil { - return "" - } - return *c.Name -} - -// GetNetworkConfigurationID returns the NetworkConfigurationID field if it's non-nil, zero value otherwise. -func (c *CreateEnterpriseRunnerGroupRequest) GetNetworkConfigurationID() string { - if c == nil || c.NetworkConfigurationID == nil { - return "" - } - return *c.NetworkConfigurationID -} - -// GetRestrictedToWorkflows returns the RestrictedToWorkflows field if it's non-nil, zero value otherwise. -func (c *CreateEnterpriseRunnerGroupRequest) GetRestrictedToWorkflows() bool { - if c == nil || c.RestrictedToWorkflows == nil { - return false - } - 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 { - return "" - } - return *c.Visibility -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (c *CreateEvent) GetDescription() string { - if c == nil || c.Description == nil { - return "" - } - return *c.Description -} - -// GetInstallation returns the Installation field. -func (c *CreateEvent) GetInstallation() *Installation { - if c == nil { - return nil - } - return c.Installation -} - -// GetMasterBranch returns the MasterBranch field if it's non-nil, zero value otherwise. -func (c *CreateEvent) GetMasterBranch() string { - if c == nil || c.MasterBranch == nil { - return "" - } - return *c.MasterBranch -} - -// GetOrg returns the Org field. -func (c *CreateEvent) GetOrg() *Organization { - if c == nil { - return nil - } - return c.Org -} - -// GetPusherType returns the PusherType field if it's non-nil, zero value otherwise. -func (c *CreateEvent) GetPusherType() string { - if c == nil || c.PusherType == nil { - return "" - } - return *c.PusherType -} - -// GetRef returns the Ref field if it's non-nil, zero value otherwise. -func (c *CreateEvent) GetRef() string { - if c == nil || c.Ref == nil { - return "" - } - return *c.Ref -} - -// GetRefType returns the RefType field if it's non-nil, zero value otherwise. -func (c *CreateEvent) GetRefType() string { - if c == nil || c.RefType == nil { - return "" - } - return *c.RefType -} - -// GetRepo returns the Repo field. -func (c *CreateEvent) GetRepo() *Repository { - if c == nil { - return nil - } - return c.Repo -} - -// GetSender returns the Sender field. -func (c *CreateEvent) GetSender() *User { - if c == nil { - return nil - } - return c.Sender -} - -// GetBody returns the Body field. -func (c *CreateGistCommentRequest) GetBody() string { - if c == nil { - return "" - } - return c.Body -} - -// GetContent returns the Content field. -func (c *CreateGistFile) GetContent() string { - if c == nil { - return "" - } - return c.Content -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (c *CreateGistRequest) GetDescription() string { - if c == nil || c.Description == nil { - return "" - } - return *c.Description -} - -// GetPublic returns the Public field if it's non-nil, zero value otherwise. -func (c *CreateGistRequest) GetPublic() bool { - if c == nil || c.Public == nil { - return false - } - return *c.Public -} - -// GetEnableStaticIP returns the EnableStaticIP field if it's non-nil, zero value otherwise. -func (c *CreateHostedRunnerRequest) GetEnableStaticIP() bool { - if c == nil || c.EnableStaticIP == nil { - return false - } - 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 { - return false - } - return *c.ImageGen -} - -// GetMaximumRunners returns the MaximumRunners field if it's non-nil, zero value otherwise. -func (c *CreateHostedRunnerRequest) GetMaximumRunners() int64 { - if c == nil || c.MaximumRunners == nil { - return 0 - } - 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 -} - -// GetColor returns the Color field if it's non-nil, zero value otherwise. -func (c *CreateIssueLabelRequest) GetColor() string { - if c == nil || c.Color == nil { - return "" - } - return *c.Color -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (c *CreateIssueLabelRequest) GetDescription() string { - if c == nil || c.Description == nil { - return "" - } - return *c.Description -} - -// GetName returns the Name field. -func (c *CreateIssueLabelRequest) GetName() string { - if c == nil { - return "" - } - return c.Name -} - -// GetAssignee returns the Assignee field if it's non-nil, zero value otherwise. -func (c *CreateIssueRequest) GetAssignee() string { - if c == nil || c.Assignee == nil { - return "" - } - return *c.Assignee -} - -// GetAssignees returns the Assignees slice if it's non-nil, nil otherwise. -func (c *CreateIssueRequest) GetAssignees() []string { - if c == nil || c.Assignees == nil { - return nil - } - return c.Assignees -} - -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (c *CreateIssueRequest) GetBody() string { - if c == nil || c.Body == nil { - return "" - } - return *c.Body -} - -// GetIssueFieldValues returns the IssueFieldValues slice if it's non-nil, nil otherwise. -func (c *CreateIssueRequest) GetIssueFieldValues() []*IssueRequestFieldValue { - if c == nil || c.IssueFieldValues == nil { - return nil - } - return c.IssueFieldValues -} - -// GetLabels returns the Labels slice if it's non-nil, nil otherwise. -func (c *CreateIssueRequest) GetLabels() []string { - if c == nil || c.Labels == nil { - return nil - } - return c.Labels -} - -// GetMilestone returns the Milestone field if it's non-nil, zero value otherwise. -func (c *CreateIssueRequest) GetMilestone() int { - if c == nil || c.Milestone == nil { - return 0 - } - return *c.Milestone -} - -// GetTitle returns the Title field. -func (c *CreateIssueRequest) GetTitle() string { - if c == nil { - return "" - } - return c.Title -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (c *CreateIssueRequest) GetType() string { - if c == nil || c.Type == nil { - return "" - } - return *c.Type -} - -// GetLabels returns the Labels slice if it's non-nil, nil otherwise. -func (c *CreateJITConfigRequest) GetLabels() []string { - if c == nil || c.Labels == nil { - return nil - } - return c.Labels -} - -// GetName returns the Name field. -func (c *CreateJITConfigRequest) GetName() string { - if c == nil { - return "" - } - return c.Name -} - -// GetRunnerGroupID returns the RunnerGroupID field. -func (c *CreateJITConfigRequest) GetRunnerGroupID() int64 { - if c == nil { - return 0 - } - return c.RunnerGroupID -} - -// GetWorkFolder returns the WorkFolder field if it's non-nil, zero value otherwise. -func (c *CreateJITConfigRequest) GetWorkFolder() string { - if c == nil || c.WorkFolder == nil { - return "" - } - return *c.WorkFolder -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (c *CreateMilestoneRequest) GetDescription() string { - if c == nil || c.Description == nil { - return "" - } - return *c.Description -} - -// GetDueOn returns the DueOn field if it's non-nil, zero value otherwise. -func (c *CreateMilestoneRequest) GetDueOn() Timestamp { - if c == nil || c.DueOn == nil { - return Timestamp{} - } - return *c.DueOn -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (c *CreateMilestoneRequest) GetState() string { - if c == nil || c.State == nil { - return "" - } - return *c.State -} - -// GetTitle returns the Title field. -func (c *CreateMilestoneRequest) GetTitle() string { - if c == nil { - return "" - } - return c.Title -} - -// GetAccountID returns the AccountID field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetAccountID() string { - if c == nil || c.AccountID == nil { - return "" - } - return *c.AccountID -} - -// GetAudience returns the Audience field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetAudience() string { - if c == nil || c.Audience == nil { - return "" - } - return *c.Audience -} - -// GetAuthType returns the AuthType field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetAuthType() string { - if c == nil || c.AuthType == nil { - return "" - } - return *c.AuthType -} - -// GetAWSRegion returns the AWSRegion field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetAWSRegion() string { - if c == nil || c.AWSRegion == nil { - return "" - } - return *c.AWSRegion -} - -// GetClientID returns the ClientID field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetClientID() string { - if c == nil || c.ClientID == nil { - return "" - } - return *c.ClientID -} - -// GetDomain returns the Domain field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetDomain() string { - if c == nil || c.Domain == nil { - return "" - } - return *c.Domain -} - -// GetDomainOwner returns the DomainOwner field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetDomainOwner() string { - if c == nil || c.DomainOwner == nil { - return "" - } - return *c.DomainOwner -} - -// GetEncryptedValue returns the EncryptedValue field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetEncryptedValue() string { - if c == nil || c.EncryptedValue == nil { - return "" - } - return *c.EncryptedValue -} - -// GetIdentityMappingName returns the IdentityMappingName field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetIdentityMappingName() string { - if c == nil || c.IdentityMappingName == nil { - return "" - } - return *c.IdentityMappingName -} - -// GetJFrogOIDCProviderName returns the JFrogOIDCProviderName field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetJFrogOIDCProviderName() string { - if c == nil || c.JFrogOIDCProviderName == nil { - return "" - } - return *c.JFrogOIDCProviderName -} - -// GetKeyID returns the KeyID field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetKeyID() string { - if c == nil || c.KeyID == nil { - return "" - } - return *c.KeyID -} - -// GetRegistryType returns the RegistryType field. -func (c *CreateOrganizationPrivateRegistry) GetRegistryType() PrivateRegistryType { - if c == nil { - return "" - } - return c.RegistryType -} - -// GetReplacesBase returns the ReplacesBase field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetReplacesBase() bool { - if c == nil || c.ReplacesBase == nil { - return false - } - return *c.ReplacesBase -} - -// GetRoleName returns the RoleName field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetRoleName() string { - if c == nil || c.RoleName == nil { - return "" - } - return *c.RoleName -} - -// 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 -} - -// GetTenantID returns the TenantID field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetTenantID() string { - if c == nil || c.TenantID == nil { - return "" - } - return *c.TenantID -} - -// 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 { - return "" - } - 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 { - return "" - } - return *c.Email -} - -// GetInviteeID returns the InviteeID field if it's non-nil, zero value otherwise. -func (c *CreateOrgInvitationOptions) GetInviteeID() int64 { - if c == nil || c.InviteeID == nil { - return 0 - } - return *c.InviteeID -} - -// GetRole returns the Role field if it's non-nil, zero value otherwise. -func (c *CreateOrgInvitationOptions) GetRole() string { - if c == nil || c.Role == nil { - return "" - } - 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 -} - -// GetColor returns the Color field if it's non-nil, zero value otherwise. -func (c *CreateOrUpdateIssueTypesOptions) GetColor() string { - if c == nil || c.Color == nil { - return "" - } - return *c.Color -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (c *CreateOrUpdateIssueTypesOptions) GetDescription() string { - if c == nil || c.Description == nil { - return "" - } - 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 { - return false - } - return *c.IsPrivate -} - -// GetName returns the Name field. -func (c *CreateOrUpdateIssueTypesOptions) GetName() string { - if c == nil { - return "" - } - return c.Name -} - -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (c *CreateProjectV2DraftItemRequest) GetBody() string { - if c == nil || c.Body == nil { - return "" - } - return *c.Body -} - -// GetTitle returns the Title field. -func (c *CreateProjectV2DraftItemRequest) GetTitle() string { - if c == nil { - return "" - } - return c.Title -} - -// GetFilter returns the Filter field if it's non-nil, zero value otherwise. -func (c *CreateProjectV2ViewRequest) GetFilter() string { - if c == nil || c.Filter == nil { - return "" - } - return *c.Filter -} - -// GetLayout returns the Layout field. -func (c *CreateProjectV2ViewRequest) GetLayout() string { - if c == nil { - return "" - } - return c.Layout -} - -// GetName returns the Name field. -func (c *CreateProjectV2ViewRequest) GetName() string { - if c == nil { - return "" - } - return c.Name -} - -// GetVisibleFields returns the VisibleFields slice if it's non-nil, nil otherwise. -func (c *CreateProjectV2ViewRequest) GetVisibleFields() []int64 { - if c == nil || c.VisibleFields == nil { - return nil - } - return c.VisibleFields -} - -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (c *CreateProtectedChanges) GetFrom() bool { - if c == nil || c.From == nil { - return false - } - return *c.From -} - -// GetBase returns the Base field. -func (c *CreatePullRequest) GetBase() string { - if c == nil { - return "" - } - return c.Base -} - -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (c *CreatePullRequest) GetBody() string { - if c == nil || c.Body == nil { - return "" - } - return *c.Body -} - -// GetDraft returns the Draft field if it's non-nil, zero value otherwise. -func (c *CreatePullRequest) GetDraft() bool { - if c == nil || c.Draft == nil { - return false - } - return *c.Draft -} - -// GetHead returns the Head field. -func (c *CreatePullRequest) GetHead() string { - if c == nil { - return "" - } - return c.Head -} - -// GetHeadRepo returns the HeadRepo field if it's non-nil, zero value otherwise. -func (c *CreatePullRequest) GetHeadRepo() string { - if c == nil || c.HeadRepo == nil { - return "" - } - return *c.HeadRepo -} - -// GetIssue returns the Issue field if it's non-nil, zero value otherwise. -func (c *CreatePullRequest) GetIssue() int { - if c == nil || c.Issue == nil { - return 0 - } - return *c.Issue -} - -// GetMaintainerCanModify returns the MaintainerCanModify field if it's non-nil, zero value otherwise. -func (c *CreatePullRequest) GetMaintainerCanModify() bool { - if c == nil || c.MaintainerCanModify == nil { - return false - } - return *c.MaintainerCanModify -} - -// GetTitle returns the Title field if it's non-nil, zero value otherwise. -func (c *CreatePullRequest) GetTitle() string { - if c == nil || c.Title == nil { - return "" - } - return *c.Title -} - -// GetBody returns the Body field. -func (c *CreatePullRequestCommentRequest) GetBody() string { - if c == nil { - return "" - } - return c.Body -} - -// GetCommitID returns the CommitID field. -func (c *CreatePullRequestCommentRequest) GetCommitID() string { - if c == nil { - return "" - } - return c.CommitID -} - -// GetInReplyTo returns the InReplyTo field if it's non-nil, zero value otherwise. -func (c *CreatePullRequestCommentRequest) GetInReplyTo() int64 { - if c == nil || c.InReplyTo == nil { - return 0 - } - return *c.InReplyTo -} - -// GetLine returns the Line field if it's non-nil, zero value otherwise. -func (c *CreatePullRequestCommentRequest) GetLine() int { - if c == nil || c.Line == nil { - return 0 - } - return *c.Line -} - -// GetPath returns the Path field. -func (c *CreatePullRequestCommentRequest) GetPath() string { - if c == nil { - return "" - } - return c.Path -} - -// GetPosition returns the Position field if it's non-nil, zero value otherwise. -func (c *CreatePullRequestCommentRequest) GetPosition() int { - if c == nil || c.Position == nil { - return 0 - } - return *c.Position -} - -// GetSide returns the Side field if it's non-nil, zero value otherwise. -func (c *CreatePullRequestCommentRequest) GetSide() string { - if c == nil || c.Side == nil { - return "" - } - return *c.Side -} - -// GetStartLine returns the StartLine field if it's non-nil, zero value otherwise. -func (c *CreatePullRequestCommentRequest) GetStartLine() int { - if c == nil || c.StartLine == nil { - return 0 - } - return *c.StartLine -} - -// GetStartSide returns the StartSide field if it's non-nil, zero value otherwise. -func (c *CreatePullRequestCommentRequest) GetStartSide() string { - if c == nil || c.StartSide == nil { - return "" - } - return *c.StartSide -} - -// GetSubjectType returns the SubjectType field if it's non-nil, zero value otherwise. -func (c *CreatePullRequestCommentRequest) GetSubjectType() string { - if c == nil || c.SubjectType == nil { - return "" - } - return *c.SubjectType -} - -// 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 -} - -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (c *CreateReleaseRequest) GetBody() string { - if c == nil || c.Body == nil { - return "" - } - return *c.Body -} - -// GetDiscussionCategoryName returns the DiscussionCategoryName field if it's non-nil, zero value otherwise. -func (c *CreateReleaseRequest) GetDiscussionCategoryName() string { - if c == nil || c.DiscussionCategoryName == nil { - return "" - } - return *c.DiscussionCategoryName -} - -// GetDraft returns the Draft field if it's non-nil, zero value otherwise. -func (c *CreateReleaseRequest) GetDraft() bool { - if c == nil || c.Draft == nil { - return false - } - return *c.Draft -} - -// GetGenerateReleaseNotes returns the GenerateReleaseNotes field if it's non-nil, zero value otherwise. -func (c *CreateReleaseRequest) GetGenerateReleaseNotes() bool { - if c == nil || c.GenerateReleaseNotes == nil { - return false - } - return *c.GenerateReleaseNotes -} - -// GetMakeLatest returns the MakeLatest field if it's non-nil, zero value otherwise. -func (c *CreateReleaseRequest) GetMakeLatest() string { - if c == nil || c.MakeLatest == nil { - return "" - } - return *c.MakeLatest -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (c *CreateReleaseRequest) GetName() string { - if c == nil || c.Name == nil { - return "" - } - return *c.Name -} - -// GetPrerelease returns the Prerelease field if it's non-nil, zero value otherwise. -func (c *CreateReleaseRequest) GetPrerelease() bool { - if c == nil || c.Prerelease == nil { - return false - } - return *c.Prerelease -} - -// GetTagName returns the TagName field. -func (c *CreateReleaseRequest) GetTagName() string { - if c == nil { - return "" - } - return c.TagName -} - -// GetTargetCommitish returns the TargetCommitish field if it's non-nil, zero value otherwise. -func (c *CreateReleaseRequest) GetTargetCommitish() string { - if c == nil || c.TargetCommitish == nil { - return "" - } - return *c.TargetCommitish -} - -// GetAllowsPublicRepositories returns the AllowsPublicRepositories field if it's non-nil, zero value otherwise. -func (c *CreateRunnerGroupRequest) GetAllowsPublicRepositories() bool { - if c == nil || c.AllowsPublicRepositories == nil { - return false - } - return *c.AllowsPublicRepositories -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (c *CreateRunnerGroupRequest) GetName() string { - if c == nil || c.Name == nil { - return "" - } - return *c.Name -} - -// GetNetworkConfigurationID returns the NetworkConfigurationID field if it's non-nil, zero value otherwise. -func (c *CreateRunnerGroupRequest) GetNetworkConfigurationID() string { - if c == nil || c.NetworkConfigurationID == nil { - return "" - } - return *c.NetworkConfigurationID -} - -// GetRestrictedToWorkflows returns the RestrictedToWorkflows field if it's non-nil, zero value otherwise. -func (c *CreateRunnerGroupRequest) GetRestrictedToWorkflows() bool { - if c == nil || c.RestrictedToWorkflows == nil { - return false - } - return *c.RestrictedToWorkflows -} - -// 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 { - return "" - } - return *c.Visibility -} - -// GetKey returns the Key field. -func (c *CreateSSHSigningKeyRequest) GetKey() string { - if c == nil { - return "" - } - return c.Key -} - -// GetTitle returns the Title field if it's non-nil, zero value otherwise. -func (c *CreateSSHSigningKeyRequest) GetTitle() string { - if c == nil || c.Title == nil { - return "" - } - return *c.Title -} - -// 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 { - return nil - } - return c.Tagger -} - -// GetType returns the Type field. -func (c *CreateTag) GetType() string { - if c == nil { - return "" - } - return c.Type -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (c *CreateTeamRequest) GetDescription() string { - if c == nil || c.Description == nil { - return "" - } - return *c.Description -} - -// GetMaintainers returns the Maintainers slice if it's non-nil, nil otherwise. -func (c *CreateTeamRequest) GetMaintainers() []string { - if c == nil || c.Maintainers == nil { - return nil - } - return c.Maintainers -} - -// GetName returns the Name field. -func (c *CreateTeamRequest) GetName() string { - if c == nil { - return "" - } - return c.Name -} - -// GetNotificationSetting returns the NotificationSetting field if it's non-nil, zero value otherwise. -func (c *CreateTeamRequest) GetNotificationSetting() string { - if c == nil || c.NotificationSetting == nil { - return "" - } - return *c.NotificationSetting -} - -// GetParentTeamID returns the ParentTeamID field if it's non-nil, zero value otherwise. -func (c *CreateTeamRequest) GetParentTeamID() int64 { - if c == nil || c.ParentTeamID == nil { - return 0 - } - return *c.ParentTeamID -} - -// GetParentTeamSlug returns the ParentTeamSlug field if it's non-nil, zero value otherwise. -func (c *CreateTeamRequest) GetParentTeamSlug() string { - if c == nil || c.ParentTeamSlug == nil { - return "" - } - return *c.ParentTeamSlug -} - -// GetPermission returns the Permission field if it's non-nil, zero value otherwise. -func (c *CreateTeamRequest) GetPermission() string { - if c == nil || c.Permission == nil { - return "" - } - return *c.Permission -} - -// GetPrivacy returns the Privacy field if it's non-nil, zero value otherwise. -func (c *CreateTeamRequest) GetPrivacy() string { - if c == nil || c.Privacy == nil { - return "" - } - return *c.Privacy -} - -// GetRepoNames returns the RepoNames slice if it's non-nil, nil otherwise. -func (c *CreateTeamRequest) GetRepoNames() []string { - if c == nil || c.RepoNames == nil { - return nil - } - return c.RepoNames -} - -// GetCanAdminsBypass returns the CanAdminsBypass field if it's non-nil, zero value otherwise. -func (c *CreateUpdateEnvironment) GetCanAdminsBypass() bool { - if c == nil || c.CanAdminsBypass == nil { - return false - } - return *c.CanAdminsBypass -} - -// GetDeploymentBranchPolicy returns the DeploymentBranchPolicy field. -func (c *CreateUpdateEnvironment) GetDeploymentBranchPolicy() *BranchPolicy { - if c == nil { - return nil - } - return c.DeploymentBranchPolicy -} - -// GetPreventSelfReview returns the PreventSelfReview field if it's non-nil, zero value otherwise. -func (c *CreateUpdateEnvironment) GetPreventSelfReview() bool { - if c == nil || c.PreventSelfReview == nil { - return false - } - 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 { - return 0 - } - return *c.WaitTimer -} - -// GetScopes returns the Scopes slice if it's non-nil, nil otherwise. -func (c *CreateUserImpersonationRequest) GetScopes() []string { - if c == nil || c.Scopes == nil { - return nil - } - return c.Scopes -} - -// GetKey returns the Key field. -func (c *CreateUserKeyRequest) GetKey() string { - if c == nil { - return "" - } - return c.Key -} - -// GetTitle returns the Title field if it's non-nil, zero value otherwise. -func (c *CreateUserKeyRequest) GetTitle() string { - if c == nil || c.Title == nil { - return "" - } - return *c.Title -} - -// GetEmail returns the Email field if it's non-nil, zero value otherwise. -func (c *CreateUserRequest) GetEmail() string { - if c == nil || c.Email == nil { - return "" - } - 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 { - return false - } - return *c.Suspended -} - -// GetInputs returns the Inputs map if it's non-nil, an empty map otherwise. -func (c *CreateWorkflowDispatchEventRequest) GetInputs() map[string]any { - if c == nil || c.Inputs == nil { - return 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 { - return false - } - return *c.ReturnRunDetails -} - -// GetCreated returns the Created field if it's non-nil, zero value otherwise. -func (c *CreationInfo) GetCreated() Timestamp { - if c == nil || c.Created == nil { - return 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 { - return Timestamp{} - } - return *c.AuthorizedCredentialExpiresAt -} - -// GetAuthorizedCredentialID returns the AuthorizedCredentialID field if it's non-nil, zero value otherwise. -func (c *CredentialAuthorization) GetAuthorizedCredentialID() int64 { - if c == nil || c.AuthorizedCredentialID == nil { - return 0 - } - return *c.AuthorizedCredentialID -} - -// GetAuthorizedCredentialNote returns the AuthorizedCredentialNote field if it's non-nil, zero value otherwise. -func (c *CredentialAuthorization) GetAuthorizedCredentialNote() string { - if c == nil || c.AuthorizedCredentialNote == nil { - return "" - } - return *c.AuthorizedCredentialNote -} - -// GetAuthorizedCredentialTitle returns the AuthorizedCredentialTitle field if it's non-nil, zero value otherwise. -func (c *CredentialAuthorization) GetAuthorizedCredentialTitle() string { - if c == nil || c.AuthorizedCredentialTitle == nil { - return "" - } - return *c.AuthorizedCredentialTitle -} - -// GetCredentialAccessedAt returns the CredentialAccessedAt field if it's non-nil, zero value otherwise. -func (c *CredentialAuthorization) GetCredentialAccessedAt() Timestamp { - if c == nil || c.CredentialAccessedAt == nil { - return Timestamp{} - } - return *c.CredentialAccessedAt -} - -// GetCredentialAuthorizedAt returns the CredentialAuthorizedAt field if it's non-nil, zero value otherwise. -func (c *CredentialAuthorization) GetCredentialAuthorizedAt() Timestamp { - if c == nil || c.CredentialAuthorizedAt == nil { - return Timestamp{} - } - return *c.CredentialAuthorizedAt -} - -// GetCredentialID returns the CredentialID field if it's non-nil, zero value otherwise. -func (c *CredentialAuthorization) GetCredentialID() int64 { - if c == nil || c.CredentialID == nil { - return 0 - } - return *c.CredentialID -} - -// GetCredentialType returns the CredentialType field if it's non-nil, zero value otherwise. -func (c *CredentialAuthorization) GetCredentialType() string { - if c == nil || c.CredentialType == nil { - return "" - } - return *c.CredentialType -} - -// GetFingerprint returns the Fingerprint field if it's non-nil, zero value otherwise. -func (c *CredentialAuthorization) GetFingerprint() string { - if c == nil || c.Fingerprint == nil { - return "" - } - return *c.Fingerprint -} - -// GetLogin returns the Login field if it's non-nil, zero value otherwise. -func (c *CredentialAuthorization) GetLogin() string { - if c == nil || c.Login == nil { - return "" - } - 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 { - return "" - } - 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 { - return "" - } - return *c.Type -} - -// GetUser returns the User field. -func (c *Credit) GetUser() *User { - if c == nil { - return nil - } - return c.User -} - -// GetApp returns the App field. -func (c *CustomDeploymentProtectionRule) GetApp() *CustomDeploymentProtectionRuleApp { - if c == nil { - return nil - } - return c.App -} - -// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. -func (c *CustomDeploymentProtectionRule) GetEnabled() bool { - if c == nil || c.Enabled == nil { - return false - } - return *c.Enabled -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (c *CustomDeploymentProtectionRule) GetID() int64 { - if c == nil || c.ID == nil { - return 0 - } - return *c.ID -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (c *CustomDeploymentProtectionRule) GetNodeID() string { - if c == nil || c.NodeID == nil { - return "" - } - return *c.NodeID -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (c *CustomDeploymentProtectionRuleApp) GetID() int64 { - if c == nil || c.ID == nil { - return 0 - } - return *c.ID -} - -// GetIntegrationURL returns the IntegrationURL field if it's non-nil, zero value otherwise. -func (c *CustomDeploymentProtectionRuleApp) GetIntegrationURL() string { - if c == nil || c.IntegrationURL == nil { - return "" - } - return *c.IntegrationURL -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (c *CustomDeploymentProtectionRuleApp) GetNodeID() string { - if c == nil || c.NodeID == nil { - return "" - } - return *c.NodeID -} - -// GetSlug returns the Slug field if it's non-nil, zero value otherwise. -func (c *CustomDeploymentProtectionRuleApp) GetSlug() string { - if c == nil || c.Slug == nil { - return "" - } - return *c.Slug -} - -// GetIntegrationID returns the IntegrationID field if it's non-nil, zero value otherwise. -func (c *CustomDeploymentProtectionRuleRequest) GetIntegrationID() int64 { - if c == nil || c.IntegrationID == nil { - return 0 - } - return *c.IntegrationID -} - -// GetBaseRole returns the BaseRole field if it's non-nil, zero value otherwise. -func (c *CustomOrgRole) GetBaseRole() string { - if c == nil || c.BaseRole == nil { - return "" - } - return *c.BaseRole -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (c *CustomOrgRole) GetCreatedAt() Timestamp { - if c == nil || c.CreatedAt == nil { - return Timestamp{} - } - return *c.CreatedAt -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (c *CustomOrgRole) GetDescription() string { - if c == nil || c.Description == nil { - return "" - } - return *c.Description -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (c *CustomOrgRole) GetID() int64 { - if c == nil || c.ID == nil { - return 0 - } - return *c.ID -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (c *CustomOrgRole) GetName() string { - if c == nil || c.Name == nil { - return "" - } - return *c.Name -} - -// GetOrg returns the Org field. -func (c *CustomOrgRole) GetOrg() *Organization { - if c == nil { - return nil - } - 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 { - return "" - } - return *c.Source -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (c *CustomOrgRole) GetUpdatedAt() Timestamp { - if c == nil || c.UpdatedAt == nil { - return Timestamp{} - } - return *c.UpdatedAt -} - -// GetPatternScope returns the PatternScope field if it's non-nil, zero value otherwise. -func (c *CustomPatternBackfillScan) GetPatternScope() string { - if c == nil || c.PatternScope == nil { - return "" - } - return *c.PatternScope -} - -// GetPatternSlug returns the PatternSlug field if it's non-nil, zero value otherwise. -func (c *CustomPatternBackfillScan) GetPatternSlug() string { - if c == nil || c.PatternSlug == nil { - return "" - } - 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 { - return "" - } - return *c.Description -} - -// GetPropertyName returns the PropertyName field if it's non-nil, zero value otherwise. -func (c *CustomProperty) GetPropertyName() string { - if c == nil || c.PropertyName == nil { - return "" - } - return *c.PropertyName -} - -// GetRequired returns the Required field if it's non-nil, zero value otherwise. -func (c *CustomProperty) GetRequired() bool { - if c == nil || c.Required == nil { - return false - } - return *c.Required -} - -// GetSourceType returns the SourceType field if it's non-nil, zero value otherwise. -func (c *CustomProperty) GetSourceType() string { - if c == nil || c.SourceType == nil { - return "" - } - return *c.SourceType -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (c *CustomProperty) GetURL() string { - if c == nil || c.URL == nil { - return "" - } - return *c.URL -} - -// GetValuesEditableBy returns the ValuesEditableBy field if it's non-nil, zero value otherwise. -func (c *CustomProperty) GetValuesEditableBy() string { - if c == nil || c.ValuesEditableBy == nil { - return "" - } - 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 { - return "" - } - return *c.Action -} - -// GetDefinition returns the Definition field. -func (c *CustomPropertyEvent) GetDefinition() *CustomProperty { - if c == nil { - return nil - } - return c.Definition -} - -// GetEnterprise returns the Enterprise field. -func (c *CustomPropertyEvent) GetEnterprise() *Enterprise { - if c == nil { - return nil - } - return c.Enterprise -} - -// GetInstallation returns the Installation field. -func (c *CustomPropertyEvent) GetInstallation() *Installation { - if c == nil { - return nil - } - return c.Installation -} - -// GetOrg returns the Org field. -func (c *CustomPropertyEvent) GetOrg() *Organization { - if c == nil { - return nil - } - return c.Org -} - -// GetSender returns the Sender field. -func (c *CustomPropertyEvent) GetSender() *User { - if c == nil { - return nil - } - 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 { - return "" - } - return *c.Action -} - -// GetEnterprise returns the Enterprise field. -func (c *CustomPropertyValuesEvent) GetEnterprise() *Enterprise { - if c == nil { - return nil - } - return c.Enterprise -} - -// GetInstallation returns the Installation field. -func (c *CustomPropertyValuesEvent) GetInstallation() *Installation { - if c == nil { - return nil - } - 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 { - return nil - } - return c.Org -} - -// GetRepo returns the Repo field. -func (c *CustomPropertyValuesEvent) GetRepo() *Repository { - if c == nil { - return nil - } - return c.Repo -} - -// GetSender returns the Sender field. -func (c *CustomPropertyValuesEvent) GetSender() *User { - if c == nil { - return nil - } - return c.Sender -} - -// GetBaseRole returns the BaseRole field if it's non-nil, zero value otherwise. -func (c *CustomRepoRoles) GetBaseRole() string { - if c == nil || c.BaseRole == nil { - return "" - } - return *c.BaseRole -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (c *CustomRepoRoles) GetCreatedAt() Timestamp { - if c == nil || c.CreatedAt == nil { - return Timestamp{} - } - return *c.CreatedAt -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (c *CustomRepoRoles) GetDescription() string { - if c == nil || c.Description == nil { - return "" - } - return *c.Description -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (c *CustomRepoRoles) GetID() int64 { - if c == nil || c.ID == nil { - return 0 - } - return *c.ID -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (c *CustomRepoRoles) GetName() string { - if c == nil || c.Name == nil { - return "" - } - return *c.Name -} - -// GetOrg returns the Org field. -func (c *CustomRepoRoles) GetOrg() *Organization { - if c == nil { - return nil - } - 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 { - return 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 { - return "" - } - return *d.QuerySuite -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (d *DefaultSetupConfiguration) GetState() string { - if d == nil || d.State == nil { - return "" - } - return *d.State -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (d *DefaultSetupConfiguration) GetUpdatedAt() Timestamp { - if d == nil || d.UpdatedAt == nil { - return Timestamp{} - } - return *d.UpdatedAt -} - -// GetCanApprovePullRequestReviews returns the CanApprovePullRequestReviews field if it's non-nil, zero value otherwise. -func (d *DefaultWorkflowPermissionEnterprise) GetCanApprovePullRequestReviews() bool { - if d == nil || d.CanApprovePullRequestReviews == nil { - return false - } - return *d.CanApprovePullRequestReviews -} - -// GetDefaultWorkflowPermissions returns the DefaultWorkflowPermissions field if it's non-nil, zero value otherwise. -func (d *DefaultWorkflowPermissionEnterprise) GetDefaultWorkflowPermissions() string { - if d == nil || d.DefaultWorkflowPermissions == nil { - return "" - } - return *d.DefaultWorkflowPermissions -} - -// GetCanApprovePullRequestReviews returns the CanApprovePullRequestReviews field if it's non-nil, zero value otherwise. -func (d *DefaultWorkflowPermissionOrganization) GetCanApprovePullRequestReviews() bool { - if d == nil || d.CanApprovePullRequestReviews == nil { - return false - } - return *d.CanApprovePullRequestReviews -} - -// GetDefaultWorkflowPermissions returns the DefaultWorkflowPermissions field if it's non-nil, zero value otherwise. -func (d *DefaultWorkflowPermissionOrganization) GetDefaultWorkflowPermissions() string { - if d == nil || d.DefaultWorkflowPermissions == nil { - return "" - } - return *d.DefaultWorkflowPermissions -} - -// GetCanApprovePullRequestReviews returns the CanApprovePullRequestReviews field if it's non-nil, zero value otherwise. -func (d *DefaultWorkflowPermissionRepository) GetCanApprovePullRequestReviews() bool { - if d == nil || d.CanApprovePullRequestReviews == nil { - return false - } - return *d.CanApprovePullRequestReviews -} - -// GetDefaultWorkflowPermissions returns the DefaultWorkflowPermissions field if it's non-nil, zero value otherwise. -func (d *DefaultWorkflowPermissionRepository) GetDefaultWorkflowPermissions() string { - if d == nil || d.DefaultWorkflowPermissions == nil { - return "" - } - return *d.DefaultWorkflowPermissions -} - -// GetConfirmDeleteURL returns the ConfirmDeleteURL field if it's non-nil, zero value otherwise. -func (d *DeleteAnalysis) GetConfirmDeleteURL() string { - if d == nil || d.ConfirmDeleteURL == nil { - return "" - } - return *d.ConfirmDeleteURL -} - -// GetNextAnalysisURL returns the NextAnalysisURL field if it's non-nil, zero value otherwise. -func (d *DeleteAnalysis) GetNextAnalysisURL() string { - if d == nil || d.NextAnalysisURL == nil { - return "" - } - 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 { - return nil - } - return d.Installation -} - -// GetOrg returns the Org field. -func (d *DeleteEvent) GetOrg() *Organization { - if d == nil { - return nil - } - return d.Org -} - -// GetPusherType returns the PusherType field if it's non-nil, zero value otherwise. -func (d *DeleteEvent) GetPusherType() string { - if d == nil || d.PusherType == nil { - return "" - } - return *d.PusherType -} - -// GetRef returns the Ref field if it's non-nil, zero value otherwise. -func (d *DeleteEvent) GetRef() string { - if d == nil || d.Ref == nil { - return "" - } - return *d.Ref -} - -// GetRefType returns the RefType field if it's non-nil, zero value otherwise. -func (d *DeleteEvent) GetRefType() string { - if d == nil || d.RefType == nil { - return "" - } - return *d.RefType -} - -// GetRepo returns the Repo field. -func (d *DeleteEvent) GetRepo() *Repository { - if d == nil { - return nil - } - return d.Repo -} - -// GetSender returns the Sender field. -func (d *DeleteEvent) GetSender() *User { - if d == nil { - return nil - } - return d.Sender -} - -// GetAutoDismissedAt returns the AutoDismissedAt field if it's non-nil, zero value otherwise. -func (d *DependabotAlert) GetAutoDismissedAt() Timestamp { - if d == nil || d.AutoDismissedAt == nil { - return Timestamp{} - } - return *d.AutoDismissedAt -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (d *DependabotAlert) GetCreatedAt() Timestamp { - if d == nil || d.CreatedAt == nil { - return Timestamp{} - } - return *d.CreatedAt -} - -// GetDependency returns the Dependency field. -func (d *DependabotAlert) GetDependency() *Dependency { - if d == nil { - return nil - } - return d.Dependency -} - -// GetDismissedAt returns the DismissedAt field if it's non-nil, zero value otherwise. -func (d *DependabotAlert) GetDismissedAt() Timestamp { - if d == nil || d.DismissedAt == nil { - return Timestamp{} - } - return *d.DismissedAt -} - -// GetDismissedBy returns the DismissedBy field. -func (d *DependabotAlert) GetDismissedBy() *User { - if d == nil { - return nil - } - return d.DismissedBy -} - -// GetDismissedComment returns the DismissedComment field if it's non-nil, zero value otherwise. -func (d *DependabotAlert) GetDismissedComment() string { - if d == nil || d.DismissedComment == nil { - return "" - } - return *d.DismissedComment -} - -// GetDismissedReason returns the DismissedReason field if it's non-nil, zero value otherwise. -func (d *DependabotAlert) GetDismissedReason() string { - if d == nil || d.DismissedReason == nil { - return "" - } - return *d.DismissedReason -} - -// GetFixedAt returns the FixedAt field if it's non-nil, zero value otherwise. -func (d *DependabotAlert) GetFixedAt() Timestamp { - if d == nil || d.FixedAt == nil { - return Timestamp{} - } - return *d.FixedAt -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (d *DependabotAlert) GetHTMLURL() string { - if d == nil || d.HTMLURL == nil { - return "" - } - return *d.HTMLURL -} - -// GetNumber returns the Number field if it's non-nil, zero value otherwise. -func (d *DependabotAlert) GetNumber() int { - if d == nil || d.Number == nil { - return 0 - } - return *d.Number -} - -// GetRepository returns the Repository field. -func (d *DependabotAlert) GetRepository() *Repository { - if d == nil { - return nil - } - return d.Repository -} - -// GetSecurityAdvisory returns the SecurityAdvisory field. -func (d *DependabotAlert) GetSecurityAdvisory() *DependabotSecurityAdvisory { - if d == nil { - return nil - } - return d.SecurityAdvisory -} - -// GetSecurityVulnerability returns the SecurityVulnerability field. -func (d *DependabotAlert) GetSecurityVulnerability() *AdvisoryVulnerability { - if d == nil { - return nil - } - return d.SecurityVulnerability -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (d *DependabotAlert) GetState() string { - if d == nil || d.State == nil { - return "" - } - return *d.State -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (d *DependabotAlert) GetUpdatedAt() Timestamp { - if d == nil || d.UpdatedAt == nil { - return Timestamp{} - } - return *d.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (d *DependabotAlert) GetURL() string { - if d == nil || d.URL == nil { - return "" - } - return *d.URL -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (d *DependabotAlertEvent) GetAction() string { - if d == nil || d.Action == nil { - return "" - } - return *d.Action -} - -// GetAlert returns the Alert field. -func (d *DependabotAlertEvent) GetAlert() *DependabotAlert { - if d == nil { - return nil - } - return d.Alert -} - -// GetEnterprise returns the Enterprise field. -func (d *DependabotAlertEvent) GetEnterprise() *Enterprise { - if d == nil { - return nil - } - return d.Enterprise -} - -// GetInstallation returns the Installation field. -func (d *DependabotAlertEvent) GetInstallation() *Installation { - if d == nil { - return nil - } - return d.Installation -} - -// GetOrganization returns the Organization field. -func (d *DependabotAlertEvent) GetOrganization() *Organization { - if d == nil { - return nil - } - return d.Organization -} - -// GetRepo returns the Repo field. -func (d *DependabotAlertEvent) GetRepo() *Repository { - if d == nil { - return nil - } - return d.Repo -} - -// GetSender returns the Sender field. -func (d *DependabotAlertEvent) GetSender() *User { - if d == nil { - return nil - } - return d.Sender -} - -// GetDismissedComment returns the DismissedComment field if it's non-nil, zero value otherwise. -func (d *DependabotAlertState) GetDismissedComment() string { - if d == nil || d.DismissedComment == nil { - return "" - } - return *d.DismissedComment -} - -// GetDismissedReason returns the DismissedReason field if it's non-nil, zero value otherwise. -func (d *DependabotAlertState) GetDismissedReason() string { - if d == nil || d.DismissedReason == nil { - return "" - } - return *d.DismissedReason -} - -// GetState returns the State field. -func (d *DependabotAlertState) GetState() string { - if d == nil { - return "" - } - return d.State -} - -// GetClassification returns the Classification field if it's non-nil, zero value otherwise. -func (d *DependabotSecurityAdvisory) GetClassification() string { - if d == nil || d.Classification == nil { - return "" - } - return *d.Classification -} - -// GetCVEID returns the CVEID field if it's non-nil, zero value otherwise. -func (d *DependabotSecurityAdvisory) GetCVEID() string { - if d == nil || d.CVEID == nil { - return "" - } - return *d.CVEID -} - -// GetCVSS returns the CVSS field. -func (d *DependabotSecurityAdvisory) GetCVSS() *AdvisoryCVSS { - if d == nil { - return nil - } - return d.CVSS -} - -// GetCVSSSeverities returns the CVSSSeverities field. -func (d *DependabotSecurityAdvisory) GetCVSSSeverities() *AdvisoryCVSSSeverities { - if d == nil { - return nil - } - return d.CVSSSeverities -} - -// 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 { - return "" - } - return *d.Description -} - -// GetEPSS returns the EPSS field. -func (d *DependabotSecurityAdvisory) GetEPSS() *AdvisoryEPSS { - if d == nil { - return nil - } - return d.EPSS -} - -// GetGHSAID returns the GHSAID field if it's non-nil, zero value otherwise. -func (d *DependabotSecurityAdvisory) GetGHSAID() string { - if d == nil || d.GHSAID == nil { - return "" - } - return *d.GHSAID -} - -// 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 { - return 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 { - return "" - } - return *d.Severity -} - -// GetSummary returns the Summary field if it's non-nil, zero value otherwise. -func (d *DependabotSecurityAdvisory) GetSummary() string { - if d == nil || d.Summary == nil { - return "" - } - return *d.Summary -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (d *DependabotSecurityAdvisory) GetUpdatedAt() Timestamp { - if d == nil || d.UpdatedAt == nil { - return Timestamp{} - } - return *d.UpdatedAt -} - -// 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 { - return Timestamp{} - } - return *d.WithdrawnAt -} - -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (d *DependabotSecurityUpdates) GetStatus() string { - if d == nil || d.Status == nil { - return "" - } - return *d.Status -} - -// GetManifestPath returns the ManifestPath field if it's non-nil, zero value otherwise. -func (d *Dependency) GetManifestPath() string { - if d == nil || d.ManifestPath == nil { - return "" - } - return *d.ManifestPath -} - -// GetPackage returns the Package field. -func (d *Dependency) GetPackage() *VulnerabilityPackage { - if d == nil { - return nil - } - return d.Package -} - -// GetScope returns the Scope field if it's non-nil, zero value otherwise. -func (d *Dependency) GetScope() string { - if d == nil || d.Scope == nil { - return "" - } - return *d.Scope -} - -// GetLabeledRunners returns the LabeledRunners field if it's non-nil, zero value otherwise. -func (d *DependencyGraphAutosubmitActionOptions) GetLabeledRunners() bool { - if d == nil || d.LabeledRunners == nil { - return false - } - return *d.LabeledRunners -} - -// GetDetector returns the Detector field. -func (d *DependencyGraphSnapshot) GetDetector() *DependencyGraphSnapshotDetector { - if d == nil { - return nil - } - return d.Detector -} - -// GetJob returns the Job field. -func (d *DependencyGraphSnapshot) GetJob() *DependencyGraphSnapshotJob { - if d == nil { - return nil - } - return d.Job -} - -// GetMetadata returns the Metadata map if it's non-nil, an empty map otherwise. -func (d *DependencyGraphSnapshot) GetMetadata() map[string]any { - if d == nil || d.Metadata == nil { - return map[string]any{} - } - return d.Metadata -} - -// GetRef returns the Ref field if it's non-nil, zero value otherwise. -func (d *DependencyGraphSnapshot) GetRef() string { - if d == nil || d.Ref == nil { - return "" - } - return *d.Ref -} - -// GetScanned returns the Scanned field if it's non-nil, zero value otherwise. -func (d *DependencyGraphSnapshot) GetScanned() Timestamp { - if d == nil || d.Scanned == nil { - return Timestamp{} - } - return *d.Scanned -} - -// GetSha returns the Sha field if it's non-nil, zero value otherwise. -func (d *DependencyGraphSnapshot) GetSha() string { - if d == nil || d.Sha == nil { - return "" - } - 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 { - return 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 { - return "" - } - return *d.Message -} - -// GetResult returns the Result field if it's non-nil, zero value otherwise. -func (d *DependencyGraphSnapshotCreationData) GetResult() string { - if d == nil || d.Result == nil { - return "" - } - return *d.Result -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (d *DependencyGraphSnapshotDetector) GetName() string { - if d == nil || d.Name == nil { - return "" - } - return *d.Name -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (d *DependencyGraphSnapshotDetector) GetURL() string { - if d == nil || d.URL == nil { - return "" - } - return *d.URL -} - -// GetVersion returns the Version field if it's non-nil, zero value otherwise. -func (d *DependencyGraphSnapshotDetector) GetVersion() string { - if d == nil || d.Version == nil { - return "" - } - return *d.Version -} - -// GetCorrelator returns the Correlator field if it's non-nil, zero value otherwise. -func (d *DependencyGraphSnapshotJob) GetCorrelator() string { - if d == nil || d.Correlator == nil { - return "" - } - return *d.Correlator -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (d *DependencyGraphSnapshotJob) GetHTMLURL() string { - if d == nil || d.HTMLURL == nil { - return "" - } - return *d.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (d *DependencyGraphSnapshotJob) GetID() string { - if d == nil || d.ID == nil { - return "" - } - return *d.ID -} - -// GetFile returns the File field. -func (d *DependencyGraphSnapshotManifest) GetFile() *DependencyGraphSnapshotManifestFile { - if d == nil { - return nil - } - return d.File -} - -// GetMetadata returns the Metadata map if it's non-nil, an empty map otherwise. -func (d *DependencyGraphSnapshotManifest) GetMetadata() map[string]any { - if d == nil || d.Metadata == nil { - return map[string]any{} - } - return d.Metadata -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (d *DependencyGraphSnapshotManifest) GetName() string { - if d == nil || d.Name == nil { - return "" - } - return *d.Name -} - -// GetSourceLocation returns the SourceLocation field if it's non-nil, zero value otherwise. -func (d *DependencyGraphSnapshotManifestFile) GetSourceLocation() string { - if d == nil || d.SourceLocation == nil { - return "" - } - 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 { - return map[string]any{} - } - return d.Metadata -} - -// GetPackageURL returns the PackageURL field if it's non-nil, zero value otherwise. -func (d *DependencyGraphSnapshotResolvedDependency) GetPackageURL() string { - if d == nil || d.PackageURL == nil { - return "" - } - return *d.PackageURL -} - -// GetRelationship returns the Relationship field if it's non-nil, zero value otherwise. -func (d *DependencyGraphSnapshotResolvedDependency) GetRelationship() string { - if d == nil || d.Relationship == nil { - return "" - } - return *d.Relationship -} - -// GetScope returns the Scope field if it's non-nil, zero value otherwise. -func (d *DependencyGraphSnapshotResolvedDependency) GetScope() string { - if d == nil || d.Scope == nil { - return "" - } - return *d.Scope -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (d *DeployKeyEvent) GetAction() string { - if d == nil || d.Action == nil { - return "" - } - return *d.Action -} - -// GetInstallation returns the Installation field. -func (d *DeployKeyEvent) GetInstallation() *Installation { - if d == nil { - return nil - } - return d.Installation -} - -// GetKey returns the Key field. -func (d *DeployKeyEvent) GetKey() *Key { - if d == nil { - return nil - } - return d.Key -} - -// GetOrganization returns the Organization field. -func (d *DeployKeyEvent) GetOrganization() *Organization { - if d == nil { - return nil - } - return d.Organization -} - -// GetRepo returns the Repo field. -func (d *DeployKeyEvent) GetRepo() *Repository { - if d == nil { - return nil - } - return d.Repo -} - -// GetSender returns the Sender field. -func (d *DeployKeyEvent) GetSender() *User { - if d == nil { - return nil - } - return d.Sender -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (d *Deployment) GetCreatedAt() Timestamp { - if d == nil || d.CreatedAt == nil { - return Timestamp{} - } - return *d.CreatedAt -} - -// GetCreator returns the Creator field. -func (d *Deployment) GetCreator() *User { - if d == nil { - return nil - } - return d.Creator -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (d *Deployment) GetDescription() string { - if d == nil || d.Description == nil { - return "" - } - return *d.Description -} - -// GetEnvironment returns the Environment field if it's non-nil, zero value otherwise. -func (d *Deployment) GetEnvironment() string { - if d == nil || d.Environment == nil { - return "" - } - return *d.Environment -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (d *Deployment) GetID() int64 { - if d == nil || d.ID == nil { - return 0 - } - return *d.ID -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (d *Deployment) GetNodeID() string { - if d == nil || d.NodeID == nil { - return "" - } - 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 { - return "" - } - return *d.Ref -} - -// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise. -func (d *Deployment) GetRepositoryURL() string { - if d == nil || d.RepositoryURL == nil { - return "" - } - return *d.RepositoryURL -} - -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (d *Deployment) GetSHA() string { - if d == nil || d.SHA == nil { - return "" - } - return *d.SHA -} - -// GetStatusesURL returns the StatusesURL field if it's non-nil, zero value otherwise. -func (d *Deployment) GetStatusesURL() string { - if d == nil || d.StatusesURL == nil { - return "" - } - return *d.StatusesURL -} - -// GetTask returns the Task field if it's non-nil, zero value otherwise. -func (d *Deployment) GetTask() string { - if d == nil || d.Task == nil { - return "" - } - return *d.Task -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (d *Deployment) GetUpdatedAt() Timestamp { - if d == nil || d.UpdatedAt == nil { - return Timestamp{} - } - return *d.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (d *Deployment) GetURL() string { - if d == nil || d.URL == nil { - return "" - } - return *d.URL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (d *DeploymentBranchPolicy) GetID() int64 { - if d == nil || d.ID == nil { - return 0 - } - return *d.ID -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (d *DeploymentBranchPolicy) GetName() string { - if d == nil || d.Name == nil { - return "" - } - return *d.Name -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (d *DeploymentBranchPolicy) GetNodeID() string { - if d == nil || d.NodeID == nil { - return "" - } - return *d.NodeID -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (d *DeploymentBranchPolicy) GetType() string { - if d == nil || d.Type == nil { - return "" - } - 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 { - return 0 - } - return *d.TotalCount -} - -// GetDeployment returns the Deployment field. -func (d *DeploymentEvent) GetDeployment() *Deployment { - if d == nil { - return nil - } - return d.Deployment -} - -// GetInstallation returns the Installation field. -func (d *DeploymentEvent) GetInstallation() *Installation { - if d == nil { - return nil - } - return d.Installation -} - -// GetOrg returns the Org field. -func (d *DeploymentEvent) GetOrg() *Organization { - if d == nil { - return nil - } - return d.Org -} - -// GetRepo returns the Repo field. -func (d *DeploymentEvent) GetRepo() *Repository { - if d == nil { - return nil - } - return d.Repo -} - -// GetSender returns the Sender field. -func (d *DeploymentEvent) GetSender() *User { - if d == nil { - return nil - } - return d.Sender -} - -// GetWorkflow returns the Workflow field. -func (d *DeploymentEvent) GetWorkflow() *Workflow { - if d == nil { - return nil - } - return d.Workflow -} - -// GetWorkflowRun returns the WorkflowRun field. -func (d *DeploymentEvent) GetWorkflowRun() *WorkflowRun { - if d == nil { - return nil - } - return d.WorkflowRun -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (d *DeploymentProtectionRuleEvent) GetAction() string { - if d == nil || d.Action == nil { - return "" - } - return *d.Action -} - -// GetDeployment returns the Deployment field. -func (d *DeploymentProtectionRuleEvent) GetDeployment() *Deployment { - if d == nil { - return nil - } - return d.Deployment -} - -// GetDeploymentCallbackURL returns the DeploymentCallbackURL field if it's non-nil, zero value otherwise. -func (d *DeploymentProtectionRuleEvent) GetDeploymentCallbackURL() string { - if d == nil || d.DeploymentCallbackURL == nil { - return "" - } - return *d.DeploymentCallbackURL -} - -// GetEnvironment returns the Environment field if it's non-nil, zero value otherwise. -func (d *DeploymentProtectionRuleEvent) GetEnvironment() string { - if d == nil || d.Environment == nil { - return "" - } - return *d.Environment -} - -// GetEvent returns the Event field if it's non-nil, zero value otherwise. -func (d *DeploymentProtectionRuleEvent) GetEvent() string { - if d == nil || d.Event == nil { - return "" - } - return *d.Event -} - -// GetInstallation returns the Installation field. -func (d *DeploymentProtectionRuleEvent) GetInstallation() *Installation { - if d == nil { - return nil - } - return d.Installation -} - -// GetOrganization returns the Organization field. -func (d *DeploymentProtectionRuleEvent) GetOrganization() *Organization { - if d == nil { - return nil - } - 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 { - return nil - } - return d.Repo -} - -// GetSender returns the Sender field. -func (d *DeploymentProtectionRuleEvent) GetSender() *User { - if d == nil { - return nil - } - return d.Sender -} - -// GetAutoMerge returns the AutoMerge field if it's non-nil, zero value otherwise. -func (d *DeploymentRequest) GetAutoMerge() bool { - if d == nil || d.AutoMerge == nil { - return false - } - return *d.AutoMerge -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (d *DeploymentRequest) GetDescription() string { - if d == nil || d.Description == nil { - return "" - } - return *d.Description -} - -// GetEnvironment returns the Environment field if it's non-nil, zero value otherwise. -func (d *DeploymentRequest) GetEnvironment() string { - if d == nil || d.Environment == nil { - return "" - } - 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 { - return false - } - return *d.ProductionEnvironment -} - -// GetRef returns the Ref field. -func (d *DeploymentRequest) GetRef() string { - if d == nil { - return "" - } - return d.Ref -} - -// GetRequiredContexts returns the RequiredContexts slice if it's non-nil, nil otherwise. -func (d *DeploymentRequest) GetRequiredContexts() []string { - if d == nil || d.RequiredContexts == nil { - return nil - } - return d.RequiredContexts -} - -// GetTask returns the Task field if it's non-nil, zero value otherwise. -func (d *DeploymentRequest) GetTask() string { - if d == nil || d.Task == nil { - return "" - } - return *d.Task -} - -// GetTransientEnvironment returns the TransientEnvironment field if it's non-nil, zero value otherwise. -func (d *DeploymentRequest) GetTransientEnvironment() bool { - if d == nil || d.TransientEnvironment == nil { - return false - } - return *d.TransientEnvironment -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (d *DeploymentReviewEvent) GetAction() string { - if d == nil || d.Action == nil { - return "" - } - return *d.Action -} - -// GetApprover returns the Approver field. -func (d *DeploymentReviewEvent) GetApprover() *User { - if d == nil { - return nil - } - return d.Approver -} - -// GetComment returns the Comment field if it's non-nil, zero value otherwise. -func (d *DeploymentReviewEvent) GetComment() string { - if d == nil || d.Comment == nil { - return "" - } - return *d.Comment -} - -// GetEnterprise returns the Enterprise field. -func (d *DeploymentReviewEvent) GetEnterprise() *Enterprise { - if d == nil { - return nil - } - return d.Enterprise -} - -// GetEnvironment returns the Environment field if it's non-nil, zero value otherwise. -func (d *DeploymentReviewEvent) GetEnvironment() string { - if d == nil || d.Environment == nil { - return "" - } - return *d.Environment -} - -// GetInstallation returns the Installation field. -func (d *DeploymentReviewEvent) GetInstallation() *Installation { - if d == nil { - return nil - } - return d.Installation -} - -// GetOrganization returns the Organization field. -func (d *DeploymentReviewEvent) GetOrganization() *Organization { - if d == nil { - return nil - } - return d.Organization -} - -// GetRepo returns the Repo field. -func (d *DeploymentReviewEvent) GetRepo() *Repository { - if d == nil { - return nil - } - return d.Repo -} - -// GetRequester returns the Requester field. -func (d *DeploymentReviewEvent) GetRequester() *User { - if d == nil { - return nil - } - 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 { - return nil - } - return d.Sender -} - -// GetSince returns the Since field if it's non-nil, zero value otherwise. -func (d *DeploymentReviewEvent) GetSince() string { - if d == nil || d.Since == nil { - return "" - } - return *d.Since -} - -// GetWorkflowJobRun returns the WorkflowJobRun field. -func (d *DeploymentReviewEvent) GetWorkflowJobRun() *WorkflowJobRun { - if d == nil { - return nil - } - 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 { - return nil - } - 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 { - return Timestamp{} - } - return *d.CreatedAt -} - -// GetCreator returns the Creator field. -func (d *DeploymentStatus) GetCreator() *User { - if d == nil { - return nil - } - return d.Creator -} - -// GetDeploymentURL returns the DeploymentURL field if it's non-nil, zero value otherwise. -func (d *DeploymentStatus) GetDeploymentURL() string { - if d == nil || d.DeploymentURL == nil { - return "" - } - return *d.DeploymentURL -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (d *DeploymentStatus) GetDescription() string { - if d == nil || d.Description == nil { - return "" - } - return *d.Description -} - -// GetEnvironment returns the Environment field if it's non-nil, zero value otherwise. -func (d *DeploymentStatus) GetEnvironment() string { - if d == nil || d.Environment == nil { - return "" - } - return *d.Environment -} - -// GetEnvironmentURL returns the EnvironmentURL field if it's non-nil, zero value otherwise. -func (d *DeploymentStatus) GetEnvironmentURL() string { - if d == nil || d.EnvironmentURL == nil { - return "" - } - return *d.EnvironmentURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (d *DeploymentStatus) GetID() int64 { - if d == nil || d.ID == nil { - return 0 - } - return *d.ID -} - -// GetLogURL returns the LogURL field if it's non-nil, zero value otherwise. -func (d *DeploymentStatus) GetLogURL() string { - if d == nil || d.LogURL == nil { - return "" - } - return *d.LogURL -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (d *DeploymentStatus) GetNodeID() string { - if d == nil || d.NodeID == nil { - return "" - } - return *d.NodeID -} - -// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise. -func (d *DeploymentStatus) GetRepositoryURL() string { - if d == nil || d.RepositoryURL == nil { - return "" - } - return *d.RepositoryURL -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (d *DeploymentStatus) GetState() string { - if d == nil || d.State == nil { - return "" - } - return *d.State -} - -// GetTargetURL returns the TargetURL field if it's non-nil, zero value otherwise. -func (d *DeploymentStatus) GetTargetURL() string { - if d == nil || d.TargetURL == nil { - return "" - } - return *d.TargetURL -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (d *DeploymentStatus) GetUpdatedAt() Timestamp { - if d == nil || d.UpdatedAt == nil { - return Timestamp{} - } - return *d.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (d *DeploymentStatus) GetURL() string { - if d == nil || d.URL == nil { - return "" - } - return *d.URL -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (d *DeploymentStatusEvent) GetAction() string { - if d == nil || d.Action == nil { - return "" - } - return *d.Action -} - -// GetDeployment returns the Deployment field. -func (d *DeploymentStatusEvent) GetDeployment() *Deployment { - if d == nil { - return nil - } - return d.Deployment -} - -// GetDeploymentStatus returns the DeploymentStatus field. -func (d *DeploymentStatusEvent) GetDeploymentStatus() *DeploymentStatus { - if d == nil { - return nil - } - return d.DeploymentStatus -} - -// GetInstallation returns the Installation field. -func (d *DeploymentStatusEvent) GetInstallation() *Installation { - if d == nil { - return nil - } - return d.Installation -} - -// GetOrg returns the Org field. -func (d *DeploymentStatusEvent) GetOrg() *Organization { - if d == nil { - return nil - } - return d.Org -} - -// GetRepo returns the Repo field. -func (d *DeploymentStatusEvent) GetRepo() *Repository { - if d == nil { - return nil - } - return d.Repo -} - -// GetSender returns the Sender field. -func (d *DeploymentStatusEvent) GetSender() *User { - if d == nil { - return nil - } - return d.Sender -} - -// GetAutoInactive returns the AutoInactive field if it's non-nil, zero value otherwise. -func (d *DeploymentStatusRequest) GetAutoInactive() bool { - if d == nil || d.AutoInactive == nil { - return false - } - return *d.AutoInactive -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (d *DeploymentStatusRequest) GetDescription() string { - if d == nil || d.Description == nil { - return "" - } - return *d.Description -} - -// GetEnvironment returns the Environment field if it's non-nil, zero value otherwise. -func (d *DeploymentStatusRequest) GetEnvironment() string { - if d == nil || d.Environment == nil { - return "" - } - return *d.Environment -} - -// GetEnvironmentURL returns the EnvironmentURL field if it's non-nil, zero value otherwise. -func (d *DeploymentStatusRequest) GetEnvironmentURL() string { - if d == nil || d.EnvironmentURL == nil { - return "" - } - return *d.EnvironmentURL -} - -// GetLogURL returns the LogURL field if it's non-nil, zero value otherwise. -func (d *DeploymentStatusRequest) GetLogURL() string { - if d == nil || d.LogURL == nil { - return "" - } - return *d.LogURL -} - -// GetState returns the State field. -func (d *DeploymentStatusRequest) GetState() string { - if d == nil { - return "" - } - return d.State -} - -// GetTargetURL returns the TargetURL field if it's non-nil, zero value otherwise. -func (d *DeploymentStatusRequest) GetTargetURL() string { - if d == nil || d.TargetURL == nil { - return "" - } - return *d.TargetURL -} - -// GetDisplayName returns the DisplayName field if it's non-nil, zero value otherwise. -func (d *DevContainer) GetDisplayName() string { - if d == nil || d.DisplayName == nil { - return "" - } - return *d.DisplayName -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (d *DevContainer) GetName() string { - if d == nil || d.Name == nil { - return "" - } - 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 { - return "" - } - return *d.ActiveLockReason -} - -// GetAnswerChosenAt returns the AnswerChosenAt field if it's non-nil, zero value otherwise. -func (d *Discussion) GetAnswerChosenAt() Timestamp { - if d == nil || d.AnswerChosenAt == nil { - return Timestamp{} - } - return *d.AnswerChosenAt -} - -// GetAnswerChosenBy returns the AnswerChosenBy field if it's non-nil, zero value otherwise. -func (d *Discussion) GetAnswerChosenBy() string { - if d == nil || d.AnswerChosenBy == nil { - return "" - } - return *d.AnswerChosenBy -} - -// GetAnswerHTMLURL returns the AnswerHTMLURL field if it's non-nil, zero value otherwise. -func (d *Discussion) GetAnswerHTMLURL() string { - if d == nil || d.AnswerHTMLURL == nil { - return "" - } - return *d.AnswerHTMLURL -} - -// GetAuthorAssociation returns the AuthorAssociation field if it's non-nil, zero value otherwise. -func (d *Discussion) GetAuthorAssociation() string { - if d == nil || d.AuthorAssociation == nil { - return "" - } - return *d.AuthorAssociation -} - -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (d *Discussion) GetBody() string { - if d == nil || d.Body == nil { - return "" - } - return *d.Body -} - -// GetComments returns the Comments field if it's non-nil, zero value otherwise. -func (d *Discussion) GetComments() int { - if d == nil || d.Comments == nil { - return 0 - } - return *d.Comments -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (d *Discussion) GetCreatedAt() Timestamp { - if d == nil || d.CreatedAt == nil { - return Timestamp{} - } - return *d.CreatedAt -} - -// GetDiscussionCategory returns the DiscussionCategory field. -func (d *Discussion) GetDiscussionCategory() *DiscussionCategory { - if d == nil { - return nil - } - return d.DiscussionCategory -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (d *Discussion) GetHTMLURL() string { - if d == nil || d.HTMLURL == nil { - return "" - } - return *d.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (d *Discussion) GetID() int64 { - if d == nil || d.ID == nil { - return 0 - } - return *d.ID -} - -// GetLocked returns the Locked field if it's non-nil, zero value otherwise. -func (d *Discussion) GetLocked() bool { - if d == nil || d.Locked == nil { - return false - } - return *d.Locked -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (d *Discussion) GetNodeID() string { - if d == nil || d.NodeID == nil { - return "" - } - return *d.NodeID -} - -// GetNumber returns the Number field if it's non-nil, zero value otherwise. -func (d *Discussion) GetNumber() int { - if d == nil || d.Number == nil { - return 0 - } - return *d.Number -} - -// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise. -func (d *Discussion) GetRepositoryURL() string { - if d == nil || d.RepositoryURL == nil { - return "" - } - return *d.RepositoryURL -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (d *Discussion) GetState() string { - if d == nil || d.State == nil { - return "" - } - return *d.State -} - -// GetTitle returns the Title field if it's non-nil, zero value otherwise. -func (d *Discussion) GetTitle() string { - if d == nil || d.Title == nil { - return "" - } - return *d.Title -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (d *Discussion) GetUpdatedAt() Timestamp { - if d == nil || d.UpdatedAt == nil { - return Timestamp{} - } - return *d.UpdatedAt -} - -// GetUser returns the User field. -func (d *Discussion) GetUser() *User { - if d == nil { - return nil - } - return d.User -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (d *DiscussionCategory) GetCreatedAt() Timestamp { - if d == nil || d.CreatedAt == nil { - return Timestamp{} - } - return *d.CreatedAt -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (d *DiscussionCategory) GetDescription() string { - if d == nil || d.Description == nil { - return "" - } - return *d.Description -} - -// GetEmoji returns the Emoji field if it's non-nil, zero value otherwise. -func (d *DiscussionCategory) GetEmoji() string { - if d == nil || d.Emoji == nil { - return "" - } - return *d.Emoji -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (d *DiscussionCategory) GetID() int64 { - if d == nil || d.ID == nil { - return 0 - } - return *d.ID -} - -// GetIsAnswerable returns the IsAnswerable field if it's non-nil, zero value otherwise. -func (d *DiscussionCategory) GetIsAnswerable() bool { - if d == nil || d.IsAnswerable == nil { - return false - } - return *d.IsAnswerable -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (d *DiscussionCategory) GetName() string { - if d == nil || d.Name == nil { - return "" - } - return *d.Name -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (d *DiscussionCategory) GetNodeID() string { - if d == nil || d.NodeID == nil { - return "" - } - return *d.NodeID -} - -// GetRepositoryID returns the RepositoryID field if it's non-nil, zero value otherwise. -func (d *DiscussionCategory) GetRepositoryID() int64 { - if d == nil || d.RepositoryID == nil { - return 0 - } - return *d.RepositoryID -} - -// GetSlug returns the Slug field if it's non-nil, zero value otherwise. -func (d *DiscussionCategory) GetSlug() string { - if d == nil || d.Slug == nil { - return "" - } - return *d.Slug -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (d *DiscussionCategory) GetUpdatedAt() Timestamp { - if d == nil || d.UpdatedAt == nil { - return Timestamp{} - } - return *d.UpdatedAt -} - -// GetAuthor returns the Author field. -func (d *DiscussionComment) GetAuthor() *User { - if d == nil { - return nil - } - return d.Author -} - -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (d *DiscussionComment) GetBody() string { - if d == nil || d.Body == nil { - return "" - } - return *d.Body -} - -// GetBodyHTML returns the BodyHTML field if it's non-nil, zero value otherwise. -func (d *DiscussionComment) GetBodyHTML() string { - if d == nil || d.BodyHTML == nil { - return "" - } - return *d.BodyHTML -} - -// GetBodyVersion returns the BodyVersion field if it's non-nil, zero value otherwise. -func (d *DiscussionComment) GetBodyVersion() string { - if d == nil || d.BodyVersion == nil { - return "" - } - return *d.BodyVersion -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (d *DiscussionComment) GetCreatedAt() Timestamp { - if d == nil || d.CreatedAt == nil { - return Timestamp{} - } - return *d.CreatedAt -} - -// GetDiscussionURL returns the DiscussionURL field if it's non-nil, zero value otherwise. -func (d *DiscussionComment) GetDiscussionURL() string { - if d == nil || d.DiscussionURL == nil { - return "" - } - return *d.DiscussionURL -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (d *DiscussionComment) GetHTMLURL() string { - if d == nil || d.HTMLURL == nil { - return "" - } - return *d.HTMLURL -} - -// GetLastEditedAt returns the LastEditedAt field if it's non-nil, zero value otherwise. -func (d *DiscussionComment) GetLastEditedAt() Timestamp { - if d == nil || d.LastEditedAt == nil { - return Timestamp{} - } - return *d.LastEditedAt -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (d *DiscussionComment) GetNodeID() string { - if d == nil || d.NodeID == nil { - return "" - } - return *d.NodeID -} - -// GetNumber returns the Number field if it's non-nil, zero value otherwise. -func (d *DiscussionComment) GetNumber() int { - if d == nil || d.Number == nil { - return 0 - } - return *d.Number -} - -// GetReactions returns the Reactions field. -func (d *DiscussionComment) GetReactions() *Reactions { - if d == nil { - return nil - } - return d.Reactions -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (d *DiscussionComment) GetUpdatedAt() Timestamp { - if d == nil || d.UpdatedAt == nil { - return Timestamp{} - } - return *d.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (d *DiscussionComment) GetURL() string { - if d == nil || d.URL == nil { - return "" - } - return *d.URL -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (d *DiscussionCommentEvent) GetAction() string { - if d == nil || d.Action == nil { - return "" - } - return *d.Action -} - -// GetComment returns the Comment field. -func (d *DiscussionCommentEvent) GetComment() *CommentDiscussion { - if d == nil { - return nil - } - return d.Comment -} - -// GetDiscussion returns the Discussion field. -func (d *DiscussionCommentEvent) GetDiscussion() *Discussion { - if d == nil { - return nil - } - return d.Discussion -} - -// GetInstallation returns the Installation field. -func (d *DiscussionCommentEvent) GetInstallation() *Installation { - if d == nil { - return nil - } - return d.Installation -} - -// GetOrg returns the Org field. -func (d *DiscussionCommentEvent) GetOrg() *Organization { - if d == nil { - return nil - } - return d.Org -} - -// GetRepo returns the Repo field. -func (d *DiscussionCommentEvent) GetRepo() *Repository { - if d == nil { - return nil - } - return d.Repo -} - -// GetSender returns the Sender field. -func (d *DiscussionCommentEvent) GetSender() *User { - if d == nil { - return nil - } - 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 { - return "" - } - return *d.Action -} - -// GetDiscussion returns the Discussion field. -func (d *DiscussionEvent) GetDiscussion() *Discussion { - if d == nil { - return nil - } - return d.Discussion -} - -// GetInstallation returns the Installation field. -func (d *DiscussionEvent) GetInstallation() *Installation { - if d == nil { - return nil - } - return d.Installation -} - -// GetOrg returns the Org field. -func (d *DiscussionEvent) GetOrg() *Organization { - if d == nil { - return nil - } - return d.Org -} - -// GetRepo returns the Repo field. -func (d *DiscussionEvent) GetRepo() *Repository { - if d == nil { - return nil - } - return d.Repo -} - -// GetSender returns the Sender field. -func (d *DiscussionEvent) GetSender() *User { - if d == nil { - return nil - } - 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 { - return nil - } - return *d.Apps -} - -// GetTeams returns the Teams field if it's non-nil, zero value otherwise. -func (d *DismissalRestrictionsRequest) GetTeams() []string { - if d == nil || d.Teams == nil { - return nil - } - return *d.Teams -} - -// GetUsers returns the Users field if it's non-nil, zero value otherwise. -func (d *DismissalRestrictionsRequest) GetUsers() []string { - if d == nil || d.Users == nil { - return nil - } - return *d.Users -} - -// GetDismissalCommitID returns the DismissalCommitID field if it's non-nil, zero value otherwise. -func (d *DismissedReview) GetDismissalCommitID() string { - if d == nil || d.DismissalCommitID == nil { - return "" - } - return *d.DismissalCommitID -} - -// GetDismissalMessage returns the DismissalMessage field if it's non-nil, zero value otherwise. -func (d *DismissedReview) GetDismissalMessage() string { - if d == nil || d.DismissalMessage == nil { - return "" - } - return *d.DismissalMessage -} - -// GetReviewID returns the ReviewID field if it's non-nil, zero value otherwise. -func (d *DismissedReview) GetReviewID() int64 { - if d == nil || d.ReviewID == nil { - return 0 - } - return *d.ReviewID -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (d *DismissedReview) GetState() string { - if d == nil || d.State == nil { - return "" - } - return *d.State -} - -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (d *DismissStaleReviewsOnPushChanges) GetFrom() bool { - if d == nil || d.From == nil { - return false - } - return *d.From -} - -// GetClientPayload returns the ClientPayload field if it's non-nil, zero value otherwise. -func (d *DispatchRequestOptions) GetClientPayload() json.RawMessage { - if d == nil || d.ClientPayload == nil { - return 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 { - return "" - } - return *d.Body -} - -// GetLine returns the Line field if it's non-nil, zero value otherwise. -func (d *DraftReviewComment) GetLine() int { - if d == nil || d.Line == nil { - return 0 - } - return *d.Line -} - -// GetPath returns the Path field if it's non-nil, zero value otherwise. -func (d *DraftReviewComment) GetPath() string { - if d == nil || d.Path == nil { - return "" - } - return *d.Path -} - -// GetPosition returns the Position field if it's non-nil, zero value otherwise. -func (d *DraftReviewComment) GetPosition() int { - if d == nil || d.Position == nil { - return 0 - } - return *d.Position -} - -// GetSide returns the Side field if it's non-nil, zero value otherwise. -func (d *DraftReviewComment) GetSide() string { - if d == nil || d.Side == nil { - return "" - } - return *d.Side -} - -// GetStartLine returns the StartLine field if it's non-nil, zero value otherwise. -func (d *DraftReviewComment) GetStartLine() int { - if d == nil || d.StartLine == nil { - return 0 - } - return *d.StartLine -} - -// GetStartSide returns the StartSide field if it's non-nil, zero value otherwise. -func (d *DraftReviewComment) GetStartSide() string { - if d == nil || d.StartSide == nil { - return "" - } - return *d.StartSide -} - -// GetRef returns the Ref field. -func (e *EditBase) GetRef() *EditRef { - if e == nil { - return nil - } - return e.Ref -} - -// GetSHA returns the SHA field. -func (e *EditBase) GetSHA() *EditSHA { - if e == nil { - return nil - } - return e.SHA -} - -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (e *EditBody) GetFrom() string { - if e == nil || e.From == nil { - return "" - } - return *e.From -} - -// GetBase returns the Base field. -func (e *EditChange) GetBase() *EditBase { - if e == nil { - return nil - } - return e.Base -} - -// GetBody returns the Body field. -func (e *EditChange) GetBody() *EditBody { - if e == nil { - return nil - } - return e.Body -} - -// GetDefaultBranch returns the DefaultBranch field. -func (e *EditChange) GetDefaultBranch() *EditDefaultBranch { - if e == nil { - return nil - } - return e.DefaultBranch -} - -// GetOwner returns the Owner field. -func (e *EditChange) GetOwner() *EditOwner { - if e == nil { - return nil - } - return e.Owner -} - -// GetRepo returns the Repo field. -func (e *EditChange) GetRepo() *EditRepo { - if e == nil { - return nil - } - return e.Repo -} - -// GetTitle returns the Title field. -func (e *EditChange) GetTitle() *EditTitle { - if e == nil { - return nil - } - return e.Title -} - -// GetTopics returns the Topics field. -func (e *EditChange) GetTopics() *EditTopics { - if e == nil { - return nil - } - return e.Topics -} - -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (e *EditDefaultBranch) GetFrom() string { - if e == nil || e.From == nil { - return "" - } - return *e.From -} - -// GetOwnerInfo returns the OwnerInfo field. -func (e *EditOwner) GetOwnerInfo() *OwnerInfo { - if e == nil { - return nil - } - return e.OwnerInfo -} - -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (e *EditRef) GetFrom() string { - if e == nil || e.From == nil { - return "" - } - return *e.From -} - -// GetName returns the Name field. -func (e *EditRepo) GetName() *RepoName { - if e == nil { - return nil - } - return e.Name -} - -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (e *EditSHA) GetFrom() string { - if e == nil || e.From == nil { - return "" - } - return *e.From -} - -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (e *EditTitle) GetFrom() string { - if e == nil || e.From == nil { - return "" - } - 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 { - return "" - } - return *e.AvatarURL -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (e *Enterprise) GetCreatedAt() Timestamp { - if e == nil || e.CreatedAt == nil { - return Timestamp{} - } - return *e.CreatedAt -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (e *Enterprise) GetDescription() string { - if e == nil || e.Description == nil { - return "" - } - return *e.Description -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (e *Enterprise) GetHTMLURL() string { - if e == nil || e.HTMLURL == nil { - return "" - } - return *e.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (e *Enterprise) GetID() int { - if e == nil || e.ID == nil { - return 0 - } - return *e.ID -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (e *Enterprise) GetName() string { - if e == nil || e.Name == nil { - return "" - } - return *e.Name -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (e *Enterprise) GetNodeID() string { - if e == nil || e.NodeID == nil { - return "" - } - return *e.NodeID -} - -// GetSlug returns the Slug field if it's non-nil, zero value otherwise. -func (e *Enterprise) GetSlug() string { - if e == nil || e.Slug == nil { - return "" - } - return *e.Slug -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (e *Enterprise) GetUpdatedAt() Timestamp { - if e == nil || e.UpdatedAt == nil { - return Timestamp{} - } - return *e.UpdatedAt -} - -// GetWebsiteURL returns the WebsiteURL field if it's non-nil, zero value otherwise. -func (e *Enterprise) GetWebsiteURL() string { - if e == nil || e.WebsiteURL == nil { - return "" - } - return *e.WebsiteURL -} - -// GetDiscountAmount returns the DiscountAmount field. -func (e *EnterpriseAggregatedUsageItem) GetDiscountAmount() float64 { - if e == nil { - return 0 - } - return e.DiscountAmount -} - -// GetDiscountQuantity returns the DiscountQuantity field. -func (e *EnterpriseAggregatedUsageItem) GetDiscountQuantity() float64 { - if e == nil { - return 0 - } - return e.DiscountQuantity -} - -// GetGrossAmount returns the GrossAmount field. -func (e *EnterpriseAggregatedUsageItem) GetGrossAmount() float64 { - if e == nil { - return 0 - } - return e.GrossAmount -} - -// GetGrossQuantity returns the GrossQuantity field. -func (e *EnterpriseAggregatedUsageItem) GetGrossQuantity() float64 { - if e == nil { - return 0 - } - return e.GrossQuantity -} - -// GetModel returns the Model field. -func (e *EnterpriseAggregatedUsageItem) GetModel() string { - if e == nil { - return "" - } - return e.Model -} - -// GetNetAmount returns the NetAmount field. -func (e *EnterpriseAggregatedUsageItem) GetNetAmount() float64 { - if e == nil { - return 0 - } - return e.NetAmount -} - -// GetNetQuantity returns the NetQuantity field. -func (e *EnterpriseAggregatedUsageItem) GetNetQuantity() float64 { - if e == nil { - return 0 - } - return e.NetQuantity -} - -// GetPricePerUnit returns the PricePerUnit field. -func (e *EnterpriseAggregatedUsageItem) GetPricePerUnit() float64 { - if e == nil { - return 0 - } - return e.PricePerUnit -} - -// GetProduct returns the Product field. -func (e *EnterpriseAggregatedUsageItem) GetProduct() string { - if e == nil { - return "" - } - return e.Product -} - -// GetSKU returns the SKU field. -func (e *EnterpriseAggregatedUsageItem) GetSKU() string { - if e == nil { - return "" - } - return e.SKU -} - -// GetUnitType returns the UnitType field. -func (e *EnterpriseAggregatedUsageItem) GetUnitType() string { - if e == nil { - return "" - } - return e.UnitType -} - -// GetCostCenter returns the CostCenter field. -func (e *EnterpriseAggregatedUsageReport) GetCostCenter() *BillingCostCenter { - if e == nil { - return nil - } - return e.CostCenter -} - -// GetEnterprise returns the Enterprise field. -func (e *EnterpriseAggregatedUsageReport) GetEnterprise() string { - if e == nil { - return "" - } - return e.Enterprise -} - -// GetModel returns the Model field if it's non-nil, zero value otherwise. -func (e *EnterpriseAggregatedUsageReport) GetModel() string { - if e == nil || e.Model == nil { - return "" - } - return *e.Model -} - -// GetOrganization returns the Organization field if it's non-nil, zero value otherwise. -func (e *EnterpriseAggregatedUsageReport) GetOrganization() string { - if e == nil || e.Organization == nil { - return "" - } - return *e.Organization -} - -// GetProduct returns the Product field if it's non-nil, zero value otherwise. -func (e *EnterpriseAggregatedUsageReport) GetProduct() string { - if e == nil || e.Product == nil { - return "" - } - return *e.Product -} - -// GetTimePeriod returns the TimePeriod field. -func (e *EnterpriseAggregatedUsageReport) GetTimePeriod() EnterpriseUsageTimePeriod { - if e == nil { - return EnterpriseUsageTimePeriod{} - } - return e.TimePeriod -} - -// GetUsageItems returns the UsageItems slice if it's non-nil, nil otherwise. -func (e *EnterpriseAggregatedUsageReport) GetUsageItems() []*EnterpriseAggregatedUsageItem { - if e == nil || e.UsageItems == nil { - return nil - } - return e.UsageItems -} - -// GetUser returns the User field if it's non-nil, zero value otherwise. -func (e *EnterpriseAggregatedUsageReport) GetUser() string { - if e == nil || e.User == nil { - return "" - } - return *e.User -} - -// GetBudgetAlerting returns the BudgetAlerting field. -func (e *EnterpriseBudget) GetBudgetAlerting() *EnterpriseBudgetAlerting { - if e == nil { - return nil - } - return e.BudgetAlerting -} - -// GetBudgetAmount returns the BudgetAmount field if it's non-nil, zero value otherwise. -func (e *EnterpriseBudget) GetBudgetAmount() int { - if e == nil || e.BudgetAmount == nil { - return 0 - } - return *e.BudgetAmount -} - -// GetBudgetEntityName returns the BudgetEntityName field if it's non-nil, zero value otherwise. -func (e *EnterpriseBudget) GetBudgetEntityName() string { - if e == nil || e.BudgetEntityName == nil { - return "" - } - return *e.BudgetEntityName -} - -// GetBudgetProductSKU returns the BudgetProductSKU field if it's non-nil, zero value otherwise. -func (e *EnterpriseBudget) GetBudgetProductSKU() string { - if e == nil || e.BudgetProductSKU == nil { - return "" - } - return *e.BudgetProductSKU -} - -// GetBudgetScope returns the BudgetScope field if it's non-nil, zero value otherwise. -func (e *EnterpriseBudget) GetBudgetScope() string { - if e == nil || e.BudgetScope == nil { - return "" - } - return *e.BudgetScope -} - -// GetBudgetType returns the BudgetType field if it's non-nil, zero value otherwise. -func (e *EnterpriseBudget) GetBudgetType() string { - if e == nil || e.BudgetType == nil { - return "" - } - return *e.BudgetType -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (e *EnterpriseBudget) GetID() string { - if e == nil || e.ID == nil { - return "" - } - return *e.ID -} - -// GetPreventFurtherUsage returns the PreventFurtherUsage field if it's non-nil, zero value otherwise. -func (e *EnterpriseBudget) GetPreventFurtherUsage() bool { - if e == nil || e.PreventFurtherUsage == nil { - return false - } - 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 { - return false - } - return *e.WillAlert -} - -// GetConsumedAmount returns the ConsumedAmount field. -func (e *EnterpriseBudgetUserState) GetConsumedAmount() float64 { - if e == nil { - return 0 - } - return e.ConsumedAmount -} - -// GetOverrideBudgetID returns the OverrideBudgetID field if it's non-nil, zero value otherwise. -func (e *EnterpriseBudgetUserState) GetOverrideBudgetID() string { - if e == nil || e.OverrideBudgetID == nil { - return "" - } - return *e.OverrideBudgetID -} - -// GetTargetAmount returns the TargetAmount field. -func (e *EnterpriseBudgetUserState) GetTargetAmount() float64 { - if e == nil { - return 0 - } - return e.TargetAmount -} - -// GetUser returns the User field if it's non-nil, zero value otherwise. -func (e *EnterpriseBudgetUserState) GetUser() string { - if e == nil || e.User == nil { - return "" - } - return *e.User -} - -// GetHasNextPage returns the HasNextPage field. -func (e *EnterpriseBudgetUserStates) GetHasNextPage() bool { - if e == nil { - return false - } - return e.HasNextPage -} - -// GetTotalCount returns the TotalCount field. -func (e *EnterpriseBudgetUserStates) GetTotalCount() int { - if e == nil { - return 0 - } - return e.TotalCount -} - -// GetUserStates returns the UserStates slice if it's non-nil, nil otherwise. -func (e *EnterpriseBudgetUserStates) GetUserStates() []*EnterpriseBudgetUserState { - if e == nil || e.UserStates == nil { - return nil - } - return e.UserStates -} - -// 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 { - return nil - } - 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 { - return "" - } - return *e.BudgetEntityName -} - -// GetBudgetProductSKU returns the BudgetProductSKU field if it's non-nil, zero value otherwise. -func (e *EnterpriseCreateBudget) GetBudgetProductSKU() string { - if e == nil || e.BudgetProductSKU == nil { - return "" - } - 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 { - return nil - } - 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 { - return 0 - } - return *e.OrganizationID -} - -// GetOrganizationLogin returns the OrganizationLogin field if it's non-nil, zero value otherwise. -func (e *EnterpriseCustomPropertiesValues) GetOrganizationLogin() string { - if e == nil || e.OrganizationLogin == nil { - return "" - } - 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 -} - -// GetSortOrder returns the SortOrder field. -func (e *EnterpriseGetUserStatesOptions) GetSortOrder() int { - if e == nil { - return 0 - } - return e.SortOrder -} - -// GetThresholdLowerBound returns the ThresholdLowerBound field. -func (e *EnterpriseGetUserStatesOptions) GetThresholdLowerBound() float64 { - if e == nil { - return 0 - } - return e.ThresholdLowerBound -} - -// GetThresholdUpperBound returns the ThresholdUpperBound field. -func (e *EnterpriseGetUserStatesOptions) GetThresholdUpperBound() float64 { - if e == nil { - return 0 - } - return e.ThresholdUpperBound -} - -// GetUser returns the User field. -func (e *EnterpriseGetUserStatesOptions) GetUser() string { - if e == nil { - return "" - } - return e.User -} - -// 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 { - return false - } - 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 { - return "" - } - 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 { - return "" - } - return *e.GithubComProfile -} - -// GetGithubComSamlNameID returns the GithubComSamlNameID field if it's non-nil, zero value otherwise. -func (e *EnterpriseLicensedUsers) GetGithubComSamlNameID() string { - if e == nil || e.GithubComSamlNameID == nil { - return "" - } - return *e.GithubComSamlNameID -} - -// GetGithubComTwoFactorAuth returns the GithubComTwoFactorAuth field if it's non-nil, zero value otherwise. -func (e *EnterpriseLicensedUsers) GetGithubComTwoFactorAuth() bool { - if e == nil || e.GithubComTwoFactorAuth == nil { - return false - } - 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 { - return "" - } - return *e.VisualStudioLicenseStatus -} - -// GetVisualStudioSubscriptionEmail returns the VisualStudioSubscriptionEmail field if it's non-nil, zero value otherwise. -func (e *EnterpriseLicensedUsers) GetVisualStudioSubscriptionEmail() string { - if e == nil || e.VisualStudioSubscriptionEmail == nil { - return "" - } - 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 { - return nil - } - 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 { - return false - } - return *e.HasNextPage -} - -// GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. -func (e *EnterpriseListBudgets) GetTotalCount() int { - if e == nil || e.TotalCount == nil { - return 0 - } - return *e.TotalCount -} - -// GetScope returns the Scope field. -func (e *EnterpriseListBudgetsOptions) GetScope() string { - if e == nil { - return "" - } - return e.Scope -} - -// GetUser returns the User field. -func (e *EnterpriseListBudgetsOptions) GetUser() string { - if e == nil { - return "" - } - return e.User -} - -// GetModel returns the Model field. -func (e *EnterprisePremiumRequestUsageReportOptions) GetModel() string { - if e == nil { - return "" - } - return e.Model -} - -// GetOrganization returns the Organization field. -func (e *EnterprisePremiumRequestUsageReportOptions) GetOrganization() string { - if e == nil { - return "" - } - return e.Organization -} - -// GetProduct returns the Product field. -func (e *EnterprisePremiumRequestUsageReportOptions) GetProduct() string { - if e == nil { - return "" - } - return e.Product -} - -// GetUser returns the User field. -func (e *EnterprisePremiumRequestUsageReportOptions) GetUser() string { - if e == nil { - return "" - } - return e.User -} - -// GetAllowsPublicRepositories returns the AllowsPublicRepositories field if it's non-nil, zero value otherwise. -func (e *EnterpriseRunnerGroup) GetAllowsPublicRepositories() bool { - if e == nil || e.AllowsPublicRepositories == nil { - return false - } - return *e.AllowsPublicRepositories -} - -// GetDefault returns the Default field if it's non-nil, zero value otherwise. -func (e *EnterpriseRunnerGroup) GetDefault() bool { - if e == nil || e.Default == nil { - return false - } - return *e.Default -} - -// GetHostedRunnersURL returns the HostedRunnersURL field if it's non-nil, zero value otherwise. -func (e *EnterpriseRunnerGroup) GetHostedRunnersURL() string { - if e == nil || e.HostedRunnersURL == nil { - return "" - } - return *e.HostedRunnersURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (e *EnterpriseRunnerGroup) GetID() int64 { - if e == nil || e.ID == nil { - return 0 - } - return *e.ID -} - -// GetInherited returns the Inherited field if it's non-nil, zero value otherwise. -func (e *EnterpriseRunnerGroup) GetInherited() bool { - if e == nil || e.Inherited == nil { - return false - } - return *e.Inherited -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (e *EnterpriseRunnerGroup) GetName() string { - if e == nil || e.Name == nil { - return "" - } - return *e.Name -} - -// GetNetworkConfigurationID returns the NetworkConfigurationID field if it's non-nil, zero value otherwise. -func (e *EnterpriseRunnerGroup) GetNetworkConfigurationID() string { - if e == nil || e.NetworkConfigurationID == nil { - return "" - } - return *e.NetworkConfigurationID -} - -// GetRestrictedToWorkflows returns the RestrictedToWorkflows field if it's non-nil, zero value otherwise. -func (e *EnterpriseRunnerGroup) GetRestrictedToWorkflows() bool { - if e == nil || e.RestrictedToWorkflows == nil { - return false - } - return *e.RestrictedToWorkflows -} - -// GetRunnersURL returns the RunnersURL field if it's non-nil, zero value otherwise. -func (e *EnterpriseRunnerGroup) GetRunnersURL() string { - if e == nil || e.RunnersURL == nil { - return "" - } - return *e.RunnersURL -} - -// GetSelectedOrganizationsURL returns the SelectedOrganizationsURL field if it's non-nil, zero value otherwise. -func (e *EnterpriseRunnerGroup) GetSelectedOrganizationsURL() string { - if e == nil || e.SelectedOrganizationsURL == nil { - return "" - } - 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 { - return "" - } - return *e.Visibility -} - -// GetWorkflowRestrictionsReadOnly returns the WorkflowRestrictionsReadOnly field if it's non-nil, zero value otherwise. -func (e *EnterpriseRunnerGroup) GetWorkflowRestrictionsReadOnly() bool { - if e == nil || e.WorkflowRestrictionsReadOnly == nil { - return false - } - 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 { - return 0 - } - return *e.TotalCount -} - -// GetAdvancedSecurityEnabledForNewRepositories returns the AdvancedSecurityEnabledForNewRepositories field if it's non-nil, zero value otherwise. -func (e *EnterpriseSecurityAnalysisSettings) GetAdvancedSecurityEnabledForNewRepositories() bool { - if e == nil || e.AdvancedSecurityEnabledForNewRepositories == nil { - return false - } - return *e.AdvancedSecurityEnabledForNewRepositories -} - -// GetSecretScanningEnabledForNewRepositories returns the SecretScanningEnabledForNewRepositories field if it's non-nil, zero value otherwise. -func (e *EnterpriseSecurityAnalysisSettings) GetSecretScanningEnabledForNewRepositories() bool { - if e == nil || e.SecretScanningEnabledForNewRepositories == nil { - return false - } - return *e.SecretScanningEnabledForNewRepositories -} - -// GetSecretScanningPushProtectionCustomLink returns the SecretScanningPushProtectionCustomLink field if it's non-nil, zero value otherwise. -func (e *EnterpriseSecurityAnalysisSettings) GetSecretScanningPushProtectionCustomLink() string { - if e == nil || e.SecretScanningPushProtectionCustomLink == nil { - return "" - } - return *e.SecretScanningPushProtectionCustomLink -} - -// GetSecretScanningPushProtectionEnabledForNewRepositories returns the SecretScanningPushProtectionEnabledForNewRepositories field if it's non-nil, zero value otherwise. -func (e *EnterpriseSecurityAnalysisSettings) GetSecretScanningPushProtectionEnabledForNewRepositories() bool { - if e == nil || e.SecretScanningPushProtectionEnabledForNewRepositories == nil { - return false - } - return *e.SecretScanningPushProtectionEnabledForNewRepositories -} - -// GetSecretScanningValidityChecksEnabled returns the SecretScanningValidityChecksEnabled field if it's non-nil, zero value otherwise. -func (e *EnterpriseSecurityAnalysisSettings) GetSecretScanningValidityChecksEnabled() bool { - if e == nil || e.SecretScanningValidityChecksEnabled == nil { - return false - } - 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 { - return "" - } - 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 { - return "" - } - 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 { - return "" - } - return *e.Description -} - -// GetGroupID returns the GroupID field if it's non-nil, zero value otherwise. -func (e *EnterpriseTeamCreateOrUpdateRequest) GetGroupID() string { - if e == nil || e.GroupID == nil { - return "" - } - 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 { - return "" - } - return *e.OrganizationSelectionType -} - -// GetBudgetAlerting returns the BudgetAlerting field. -func (e *EnterpriseUpdateBudget) GetBudgetAlerting() *EnterpriseBudgetAlerting { - if e == nil { - return nil - } - return e.BudgetAlerting -} - -// GetBudgetAmount returns the BudgetAmount field if it's non-nil, zero value otherwise. -func (e *EnterpriseUpdateBudget) GetBudgetAmount() int { - if e == nil || e.BudgetAmount == nil { - return 0 - } - return *e.BudgetAmount -} - -// GetBudgetEntityName returns the BudgetEntityName field if it's non-nil, zero value otherwise. -func (e *EnterpriseUpdateBudget) GetBudgetEntityName() string { - if e == nil || e.BudgetEntityName == nil { - return "" - } - return *e.BudgetEntityName -} - -// GetBudgetProductSKU returns the BudgetProductSKU field if it's non-nil, zero value otherwise. -func (e *EnterpriseUpdateBudget) GetBudgetProductSKU() string { - if e == nil || e.BudgetProductSKU == nil { - return "" - } - return *e.BudgetProductSKU -} - -// GetBudgetScope returns the BudgetScope field if it's non-nil, zero value otherwise. -func (e *EnterpriseUpdateBudget) GetBudgetScope() string { - if e == nil || e.BudgetScope == nil { - return "" - } - return *e.BudgetScope -} - -// GetBudgetType returns the BudgetType field if it's non-nil, zero value otherwise. -func (e *EnterpriseUpdateBudget) GetBudgetType() string { - if e == nil || e.BudgetType == nil { - return "" - } - return *e.BudgetType -} - -// GetPreventFurtherUsage returns the PreventFurtherUsage field if it's non-nil, zero value otherwise. -func (e *EnterpriseUpdateBudget) GetPreventFurtherUsage() bool { - if e == nil || e.PreventFurtherUsage == nil { - return false - } - return *e.PreventFurtherUsage -} - -// GetDate returns the Date field. -func (e *EnterpriseUsageItem) GetDate() string { - if e == nil { - return "" - } - return e.Date -} - -// GetDiscountAmount returns the DiscountAmount field. -func (e *EnterpriseUsageItem) GetDiscountAmount() float64 { - if e == nil { - return 0 - } - return e.DiscountAmount -} - -// GetGrossAmount returns the GrossAmount field. -func (e *EnterpriseUsageItem) GetGrossAmount() float64 { - if e == nil { - return 0 - } - return e.GrossAmount -} - -// GetNetAmount returns the NetAmount field. -func (e *EnterpriseUsageItem) GetNetAmount() float64 { - if e == nil { - return 0 - } - return e.NetAmount -} - -// GetOrganizationName returns the OrganizationName field. -func (e *EnterpriseUsageItem) GetOrganizationName() string { - if e == nil { - return "" - } - return e.OrganizationName -} - -// GetPricePerUnit returns the PricePerUnit field. -func (e *EnterpriseUsageItem) GetPricePerUnit() float64 { - if e == nil { - return 0 - } - return e.PricePerUnit -} - -// GetProduct returns the Product field. -func (e *EnterpriseUsageItem) GetProduct() string { - if e == nil { - return "" - } - return e.Product -} - -// GetQuantity returns the Quantity field. -func (e *EnterpriseUsageItem) GetQuantity() float64 { - if e == nil { - return 0 - } - return e.Quantity -} - -// GetRepositoryName returns the RepositoryName field if it's non-nil, zero value otherwise. -func (e *EnterpriseUsageItem) GetRepositoryName() string { - if e == nil || e.RepositoryName == nil { - return "" - } - return *e.RepositoryName -} - -// GetSKU returns the SKU field. -func (e *EnterpriseUsageItem) GetSKU() string { - if e == nil { - return "" - } - return e.SKU -} - -// GetUnitType returns the UnitType field. -func (e *EnterpriseUsageItem) GetUnitType() string { - if e == nil { - return "" - } - return e.UnitType -} - -// GetUsageItems returns the UsageItems slice if it's non-nil, nil otherwise. -func (e *EnterpriseUsageReport) GetUsageItems() []*EnterpriseUsageItem { - if e == nil || e.UsageItems == nil { - return nil - } - return e.UsageItems -} - -// GetCostCenterID returns the CostCenterID field. -func (e *EnterpriseUsageReportOptions) GetCostCenterID() string { - if e == nil { - return "" - } - return e.CostCenterID -} - -// GetDay returns the Day field. -func (e *EnterpriseUsageReportOptions) GetDay() int { - if e == nil { - return 0 - } - return e.Day -} - -// GetMonth returns the Month field. -func (e *EnterpriseUsageReportOptions) GetMonth() int { - if e == nil { - return 0 - } - return e.Month -} - -// GetYear returns the Year field. -func (e *EnterpriseUsageReportOptions) GetYear() int { - if e == nil { - return 0 - } - return e.Year -} - -// GetDiscountAmount returns the DiscountAmount field. -func (e *EnterpriseUsageSummaryItem) GetDiscountAmount() float64 { - if e == nil { - return 0 - } - return e.DiscountAmount -} - -// GetDiscountQuantity returns the DiscountQuantity field. -func (e *EnterpriseUsageSummaryItem) GetDiscountQuantity() float64 { - if e == nil { - return 0 - } - return e.DiscountQuantity -} - -// GetGrossAmount returns the GrossAmount field. -func (e *EnterpriseUsageSummaryItem) GetGrossAmount() float64 { - if e == nil { - return 0 - } - return e.GrossAmount -} - -// GetGrossQuantity returns the GrossQuantity field. -func (e *EnterpriseUsageSummaryItem) GetGrossQuantity() float64 { - if e == nil { - return 0 - } - return e.GrossQuantity -} - -// GetNetAmount returns the NetAmount field. -func (e *EnterpriseUsageSummaryItem) GetNetAmount() float64 { - if e == nil { - return 0 - } - return e.NetAmount -} - -// GetNetQuantity returns the NetQuantity field. -func (e *EnterpriseUsageSummaryItem) GetNetQuantity() float64 { - if e == nil { - return 0 - } - return e.NetQuantity -} - -// GetPricePerUnit returns the PricePerUnit field. -func (e *EnterpriseUsageSummaryItem) GetPricePerUnit() float64 { - if e == nil { - return 0 - } - return e.PricePerUnit -} - -// GetProduct returns the Product field. -func (e *EnterpriseUsageSummaryItem) GetProduct() string { - if e == nil { - return "" - } - return e.Product -} - -// GetSKU returns the SKU field. -func (e *EnterpriseUsageSummaryItem) GetSKU() string { - if e == nil { - return "" - } - return e.SKU -} - -// GetUnitType returns the UnitType field. -func (e *EnterpriseUsageSummaryItem) GetUnitType() string { - if e == nil { - return "" - } - return e.UnitType -} - -// GetOrganization returns the Organization field. -func (e *EnterpriseUsageSummaryOptions) GetOrganization() string { - if e == nil { - return "" - } - return e.Organization -} - -// GetProduct returns the Product field. -func (e *EnterpriseUsageSummaryOptions) GetProduct() string { - if e == nil { - return "" - } - return e.Product -} - -// GetRepository returns the Repository field. -func (e *EnterpriseUsageSummaryOptions) GetRepository() string { - if e == nil { - return "" - } - return e.Repository -} - -// GetSKU returns the SKU field. -func (e *EnterpriseUsageSummaryOptions) GetSKU() string { - if e == nil { - return "" - } - return e.SKU -} - -// GetCostCenter returns the CostCenter field. -func (e *EnterpriseUsageSummaryReport) GetCostCenter() *BillingCostCenter { - if e == nil { - return nil - } - return e.CostCenter -} - -// GetEnterprise returns the Enterprise field. -func (e *EnterpriseUsageSummaryReport) GetEnterprise() string { - if e == nil { - return "" - } - return e.Enterprise -} - -// GetOrganization returns the Organization field if it's non-nil, zero value otherwise. -func (e *EnterpriseUsageSummaryReport) GetOrganization() string { - if e == nil || e.Organization == nil { - return "" - } - return *e.Organization -} - -// GetProduct returns the Product field if it's non-nil, zero value otherwise. -func (e *EnterpriseUsageSummaryReport) GetProduct() string { - if e == nil || e.Product == nil { - return "" - } - return *e.Product -} - -// GetRepository returns the Repository field if it's non-nil, zero value otherwise. -func (e *EnterpriseUsageSummaryReport) GetRepository() string { - if e == nil || e.Repository == nil { - return "" - } - return *e.Repository -} - -// GetSKU returns the SKU field if it's non-nil, zero value otherwise. -func (e *EnterpriseUsageSummaryReport) GetSKU() string { - if e == nil || e.SKU == nil { - return "" - } - return *e.SKU -} - -// GetTimePeriod returns the TimePeriod field. -func (e *EnterpriseUsageSummaryReport) GetTimePeriod() EnterpriseUsageTimePeriod { - if e == nil { - return EnterpriseUsageTimePeriod{} - } - return e.TimePeriod -} - -// GetUsageItems returns the UsageItems slice if it's non-nil, nil otherwise. -func (e *EnterpriseUsageSummaryReport) GetUsageItems() []*EnterpriseUsageSummaryItem { - if e == nil || e.UsageItems == nil { - return nil - } - return e.UsageItems -} - -// GetDay returns the Day field if it's non-nil, zero value otherwise. -func (e *EnterpriseUsageTimePeriod) GetDay() int { - if e == nil || e.Day == nil { - return 0 - } - return *e.Day -} - -// GetMonth returns the Month field if it's non-nil, zero value otherwise. -func (e *EnterpriseUsageTimePeriod) GetMonth() int { - if e == nil || e.Month == nil { - return 0 - } - return *e.Month -} - -// GetYear returns the Year field. -func (e *EnterpriseUsageTimePeriod) GetYear() int { - if e == nil { - return 0 - } - return e.Year -} - -// GetCanAdminsBypass returns the CanAdminsBypass field if it's non-nil, zero value otherwise. -func (e *Environment) GetCanAdminsBypass() bool { - if e == nil || e.CanAdminsBypass == nil { - return false - } - return *e.CanAdminsBypass -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (e *Environment) GetCreatedAt() Timestamp { - if e == nil || e.CreatedAt == nil { - return Timestamp{} - } - return *e.CreatedAt -} - -// GetDeploymentBranchPolicy returns the DeploymentBranchPolicy field. -func (e *Environment) GetDeploymentBranchPolicy() *BranchPolicy { - if e == nil { - return nil - } - return e.DeploymentBranchPolicy -} - -// GetEnvironmentName returns the EnvironmentName field if it's non-nil, zero value otherwise. -func (e *Environment) GetEnvironmentName() string { - if e == nil || e.EnvironmentName == nil { - return "" - } - return *e.EnvironmentName -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (e *Environment) GetHTMLURL() string { - if e == nil || e.HTMLURL == nil { - return "" - } - return *e.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (e *Environment) GetID() int64 { - if e == nil || e.ID == nil { - return 0 - } - return *e.ID -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (e *Environment) GetName() string { - if e == nil || e.Name == nil { - return "" - } - return *e.Name -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (e *Environment) GetNodeID() string { - if e == nil || e.NodeID == nil { - return "" - } - return *e.NodeID -} - -// GetOwner returns the Owner field if it's non-nil, zero value otherwise. -func (e *Environment) GetOwner() string { - if e == nil || e.Owner == nil { - return "" - } - 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 { - return "" - } - 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 { - return Timestamp{} - } - return *e.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (e *Environment) GetURL() string { - if e == nil || e.URL == nil { - return "" - } - return *e.URL -} - -// GetWaitTimer returns the WaitTimer field if it's non-nil, zero value otherwise. -func (e *Environment) GetWaitTimer() int { - if e == nil || e.WaitTimer == nil { - return 0 - } - 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 { - return 0 - } - return *e.TotalCount -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (e *EnvReviewers) GetID() int64 { - if e == nil || e.ID == nil { - return 0 - } - return *e.ID -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (e *EnvReviewers) GetType() string { - if e == nil || e.Type == nil { - return "" - } - 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 { - return 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 { - return nil - } - 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 { - return nil - } - return e.Actor -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (e *Event) GetCreatedAt() Timestamp { - if e == nil || e.CreatedAt == nil { - return Timestamp{} - } - return *e.CreatedAt -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (e *Event) GetID() string { - if e == nil || e.ID == nil { - return "" - } - return *e.ID -} - -// GetOrg returns the Org field. -func (e *Event) GetOrg() *Organization { - if e == nil { - return nil - } - return e.Org -} - -// GetPublic returns the Public field if it's non-nil, zero value otherwise. -func (e *Event) GetPublic() bool { - if e == nil || e.Public == nil { - return false - } - return *e.Public -} - -// GetRawPayload returns the RawPayload field if it's non-nil, zero value otherwise. -func (e *Event) GetRawPayload() json.RawMessage { - if e == nil || e.RawPayload == nil { - return json.RawMessage{} - } - return *e.RawPayload -} - -// GetRepo returns the Repo field. -func (e *Event) GetRepo() *Repository { - if e == nil { - return nil - } - return e.Repo -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (e *Event) GetType() string { - if e == nil || e.Type == nil { - return "" - } - return *e.Type -} - -// GetGroupID returns the GroupID field if it's non-nil, zero value otherwise. -func (e *ExternalGroup) GetGroupID() int64 { - if e == nil || e.GroupID == nil { - return 0 - } - return *e.GroupID -} - -// GetGroupName returns the GroupName field if it's non-nil, zero value otherwise. -func (e *ExternalGroup) GetGroupName() string { - if e == nil || e.GroupName == nil { - return "" - } - 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 { - return 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 { - return "" - } - return *e.MemberEmail -} - -// GetMemberID returns the MemberID field if it's non-nil, zero value otherwise. -func (e *ExternalGroupMember) GetMemberID() int64 { - if e == nil || e.MemberID == nil { - return 0 - } - return *e.MemberID -} - -// GetMemberLogin returns the MemberLogin field if it's non-nil, zero value otherwise. -func (e *ExternalGroupMember) GetMemberLogin() string { - if e == nil || e.MemberLogin == nil { - return "" - } - return *e.MemberLogin -} - -// GetMemberName returns the MemberName field if it's non-nil, zero value otherwise. -func (e *ExternalGroupMember) GetMemberName() string { - if e == nil || e.MemberName == nil { - return "" - } - return *e.MemberName -} - -// GetTeamID returns the TeamID field if it's non-nil, zero value otherwise. -func (e *ExternalGroupTeam) GetTeamID() int64 { - if e == nil || e.TeamID == nil { - return 0 - } - return *e.TeamID -} - -// GetTeamName returns the TeamName field if it's non-nil, zero value otherwise. -func (e *ExternalGroupTeam) GetTeamName() string { - if e == nil || e.TeamName == nil { - return "" - } - return *e.TeamName -} - -// GetHRef returns the HRef field if it's non-nil, zero value otherwise. -func (f *FeedLink) GetHRef() string { - if f == nil || f.HRef == nil { - return "" - } - return *f.HRef -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (f *FeedLink) GetType() string { - if f == nil || f.Type == nil { - return "" - } - return *f.Type -} - -// GetCurrentUser returns the CurrentUser field. -func (f *FeedLinks) GetCurrentUser() *FeedLink { - if f == nil { - return nil - } - return f.CurrentUser -} - -// GetCurrentUserActor returns the CurrentUserActor field. -func (f *FeedLinks) GetCurrentUserActor() *FeedLink { - if f == nil { - return nil - } - return f.CurrentUserActor -} - -// GetCurrentUserOrganization returns the CurrentUserOrganization field. -func (f *FeedLinks) GetCurrentUserOrganization() *FeedLink { - if f == nil { - return nil - } - 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 { - return nil - } - return f.CurrentUserPublic -} - -// GetTimeline returns the Timeline field. -func (f *FeedLinks) GetTimeline() *FeedLink { - if f == nil { - return nil - } - return f.Timeline -} - -// GetUser returns the User field. -func (f *FeedLinks) GetUser() *FeedLink { - if f == nil { - return nil - } - return f.User -} - -// GetCurrentUserActorURL returns the CurrentUserActorURL field if it's non-nil, zero value otherwise. -func (f *Feeds) GetCurrentUserActorURL() string { - if f == nil || f.CurrentUserActorURL == nil { - return "" - } - return *f.CurrentUserActorURL -} - -// GetCurrentUserOrganizationURL returns the CurrentUserOrganizationURL field if it's non-nil, zero value otherwise. -func (f *Feeds) GetCurrentUserOrganizationURL() string { - if f == nil || f.CurrentUserOrganizationURL == nil { - return "" - } - 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 { - return "" - } - return *f.CurrentUserPublicURL -} - -// GetCurrentUserURL returns the CurrentUserURL field if it's non-nil, zero value otherwise. -func (f *Feeds) GetCurrentUserURL() string { - if f == nil || f.CurrentUserURL == nil { - return "" - } - return *f.CurrentUserURL -} - -// GetLinks returns the Links field. -func (f *Feeds) GetLinks() *FeedLinks { - if f == nil { - return nil - } - return f.Links -} - -// GetTimelineURL returns the TimelineURL field if it's non-nil, zero value otherwise. -func (f *Feeds) GetTimelineURL() string { - if f == nil || f.TimelineURL == nil { - return "" - } - return *f.TimelineURL -} - -// GetUserURL returns the UserURL field if it's non-nil, zero value otherwise. -func (f *Feeds) GetUserURL() string { - if f == nil || f.UserURL == nil { - return "" - } - return *f.UserURL -} - -// GetFieldName returns the FieldName field if it's non-nil, zero value otherwise. -func (f *FieldValue) GetFieldName() string { - if f == nil || f.FieldName == nil { - return "" - } - return *f.FieldName -} - -// GetFieldNodeID returns the FieldNodeID field if it's non-nil, zero value otherwise. -func (f *FieldValue) GetFieldNodeID() string { - if f == nil || f.FieldNodeID == nil { - return "" - } - return *f.FieldNodeID -} - -// GetFieldType returns the FieldType field if it's non-nil, zero value otherwise. -func (f *FieldValue) GetFieldType() string { - if f == nil || f.FieldType == nil { - return "" - } - 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 { - return 0 - } - 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 { - return 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 { - return 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 { - return 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 { - return "" - } - return *f.Identifier -} - -// GetForkee returns the Forkee field. -func (f *ForkEvent) GetForkee() *Repository { - if f == nil { - return nil - } - return f.Forkee -} - -// GetInstallation returns the Installation field. -func (f *ForkEvent) GetInstallation() *Installation { - if f == nil { - return nil - } - return f.Installation -} - -// GetRepo returns the Repo field. -func (f *ForkEvent) GetRepo() *Repository { - if f == nil { - return nil - } - return f.Repo -} - -// GetSender returns the Sender field. -func (f *ForkEvent) GetSender() *User { - if f == nil { - return nil - } - return f.Sender -} - -// GetConfigurationFilePath returns the ConfigurationFilePath field if it's non-nil, zero value otherwise. -func (g *GenerateNotesRequest) GetConfigurationFilePath() string { - if g == nil || g.ConfigurationFilePath == nil { - return "" - } - return *g.ConfigurationFilePath -} - -// GetPreviousTagName returns the PreviousTagName field if it's non-nil, zero value otherwise. -func (g *GenerateNotesRequest) GetPreviousTagName() string { - if g == nil || g.PreviousTagName == nil { - return "" - } - return *g.PreviousTagName -} - -// GetTagName returns the TagName field. -func (g *GenerateNotesRequest) GetTagName() string { - if g == nil { - return "" - } - return g.TagName -} - -// GetTargetCommitish returns the TargetCommitish field if it's non-nil, zero value otherwise. -func (g *GenerateNotesRequest) GetTargetCommitish() string { - if g == nil || g.TargetCommitish == nil { - return "" - } - return *g.TargetCommitish -} - -// GetInclude returns the Include field if it's non-nil, zero value otherwise. -func (g *GetAuditLogOptions) GetInclude() string { - if g == nil || g.Include == nil { - return "" - } - return *g.Include -} - -// GetOrder returns the Order field if it's non-nil, zero value otherwise. -func (g *GetAuditLogOptions) GetOrder() string { - if g == nil || g.Order == nil { - return "" - } - return *g.Order -} - -// GetPhrase returns the Phrase field if it's non-nil, zero value otherwise. -func (g *GetAuditLogOptions) GetPhrase() string { - if g == nil || g.Phrase == nil { - return "" - } - 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 { - return "" - } - return *g.ExcludedAttributes -} - -// GetComments returns the Comments field if it's non-nil, zero value otherwise. -func (g *Gist) GetComments() int { - if g == nil || g.Comments == nil { - return 0 - } - return *g.Comments -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (g *Gist) GetCreatedAt() Timestamp { - if g == nil || g.CreatedAt == nil { - return Timestamp{} - } - return *g.CreatedAt -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (g *Gist) GetDescription() string { - if g == nil || g.Description == nil { - return "" - } - return *g.Description -} - -// GetFiles returns the Files map if it's non-nil, an empty map otherwise. -func (g *Gist) GetFiles() map[GistFilename]GistFile { - if g == nil || g.Files == nil { - return map[GistFilename]GistFile{} - } - return g.Files -} - -// GetGitPullURL returns the GitPullURL field if it's non-nil, zero value otherwise. -func (g *Gist) GetGitPullURL() string { - if g == nil || g.GitPullURL == nil { - return "" - } - return *g.GitPullURL -} - -// GetGitPushURL returns the GitPushURL field if it's non-nil, zero value otherwise. -func (g *Gist) GetGitPushURL() string { - if g == nil || g.GitPushURL == nil { - return "" - } - return *g.GitPushURL -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (g *Gist) GetHTMLURL() string { - if g == nil || g.HTMLURL == nil { - return "" - } - return *g.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (g *Gist) GetID() string { - if g == nil || g.ID == nil { - return "" - } - return *g.ID -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (g *Gist) GetNodeID() string { - if g == nil || g.NodeID == nil { - return "" - } - return *g.NodeID -} - -// GetOwner returns the Owner field. -func (g *Gist) GetOwner() *User { - if g == nil { - return nil - } - return g.Owner -} - -// GetPublic returns the Public field if it's non-nil, zero value otherwise. -func (g *Gist) GetPublic() bool { - if g == nil || g.Public == nil { - return false - } - return *g.Public -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (g *Gist) GetUpdatedAt() Timestamp { - if g == nil || g.UpdatedAt == nil { - return Timestamp{} - } - return *g.UpdatedAt -} - -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (g *GistComment) GetBody() string { - if g == nil || g.Body == nil { - return "" - } - return *g.Body -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (g *GistComment) GetCreatedAt() Timestamp { - if g == nil || g.CreatedAt == nil { - return Timestamp{} - } - return *g.CreatedAt -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (g *GistComment) GetID() int64 { - if g == nil || g.ID == nil { - return 0 - } - return *g.ID -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (g *GistComment) GetURL() string { - if g == nil || g.URL == nil { - return "" - } - return *g.URL -} - -// GetUser returns the User field. -func (g *GistComment) GetUser() *User { - if g == nil { - return nil - } - return g.User -} - -// GetChangeStatus returns the ChangeStatus field. -func (g *GistCommit) GetChangeStatus() *CommitStats { - if g == nil { - return nil - } - return g.ChangeStatus -} - -// GetCommittedAt returns the CommittedAt field if it's non-nil, zero value otherwise. -func (g *GistCommit) GetCommittedAt() Timestamp { - if g == nil || g.CommittedAt == nil { - return Timestamp{} - } - return *g.CommittedAt -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (g *GistCommit) GetNodeID() string { - if g == nil || g.NodeID == nil { - return "" - } - return *g.NodeID -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (g *GistCommit) GetURL() string { - if g == nil || g.URL == nil { - return "" - } - return *g.URL -} - -// GetUser returns the User field. -func (g *GistCommit) GetUser() *User { - if g == nil { - return nil - } - return g.User -} - -// GetVersion returns the Version field if it's non-nil, zero value otherwise. -func (g *GistCommit) GetVersion() string { - if g == nil || g.Version == nil { - return "" - } - return *g.Version -} - -// GetContent returns the Content field if it's non-nil, zero value otherwise. -func (g *GistFile) GetContent() string { - if g == nil || g.Content == nil { - return "" - } - return *g.Content -} - -// GetFilename returns the Filename field if it's non-nil, zero value otherwise. -func (g *GistFile) GetFilename() string { - if g == nil || g.Filename == nil { - return "" - } - return *g.Filename -} - -// GetLanguage returns the Language field if it's non-nil, zero value otherwise. -func (g *GistFile) GetLanguage() string { - if g == nil || g.Language == nil { - return "" - } - return *g.Language -} - -// GetRawURL returns the RawURL field if it's non-nil, zero value otherwise. -func (g *GistFile) GetRawURL() string { - if g == nil || g.RawURL == nil { - return "" - } - return *g.RawURL -} - -// GetSize returns the Size field if it's non-nil, zero value otherwise. -func (g *GistFile) GetSize() int { - if g == nil || g.Size == nil { - return 0 - } - return *g.Size -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (g *GistFile) GetType() string { - if g == nil || g.Type == nil { - return "" - } - return *g.Type -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (g *GistFork) GetCreatedAt() Timestamp { - if g == nil || g.CreatedAt == nil { - return Timestamp{} - } - return *g.CreatedAt -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (g *GistFork) GetID() string { - if g == nil || g.ID == nil { - return "" - } - return *g.ID -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (g *GistFork) GetNodeID() string { - if g == nil || g.NodeID == nil { - return "" - } - return *g.NodeID -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (g *GistFork) GetUpdatedAt() Timestamp { - if g == nil || g.UpdatedAt == nil { - return Timestamp{} - } - return *g.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (g *GistFork) GetURL() string { - if g == nil || g.URL == nil { - return "" - } - return *g.URL -} - -// GetUser returns the User field. -func (g *GistFork) GetUser() *User { - if g == nil { - return nil - } - 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 { - return 0 - } - return *g.PrivateGists -} - -// GetPublicGists returns the PublicGists field if it's non-nil, zero value otherwise. -func (g *GistStats) GetPublicGists() int { - if g == nil || g.PublicGists == nil { - return 0 - } - return *g.PublicGists -} - -// GetTotalGists returns the TotalGists field if it's non-nil, zero value otherwise. -func (g *GistStats) GetTotalGists() int { - if g == nil || g.TotalGists == nil { - return 0 - } - return *g.TotalGists -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (g *GitHubAppAuthorizationEvent) GetAction() string { - if g == nil || g.Action == nil { - return "" - } - return *g.Action -} - -// GetInstallation returns the Installation field. -func (g *GitHubAppAuthorizationEvent) GetInstallation() *Installation { - if g == nil { - return nil - } - return g.Installation -} - -// GetSender returns the Sender field. -func (g *GitHubAppAuthorizationEvent) GetSender() *User { - if g == nil { - return nil - } - return g.Sender -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (g *Gitignore) GetName() string { - if g == nil || g.Name == nil { - return "" - } - return *g.Name -} - -// GetSource returns the Source field if it's non-nil, zero value otherwise. -func (g *Gitignore) GetSource() string { - if g == nil || g.Source == nil { - return "" - } - return *g.Source -} - -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (g *GitObject) GetSHA() string { - if g == nil || g.SHA == nil { - return "" - } - return *g.SHA -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (g *GitObject) GetType() string { - if g == nil || g.Type == nil { - return "" - } - return *g.Type -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (g *GitObject) GetURL() string { - if g == nil || g.URL == nil { - return "" - } - 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 { - return Timestamp{} - } - return *g.GithubReviewedAt -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (g *GlobalSecurityAdvisory) GetID() int64 { - if g == nil || g.ID == nil { - return 0 - } - return *g.ID -} - -// GetNVDPublishedAt returns the NVDPublishedAt field if it's non-nil, zero value otherwise. -func (g *GlobalSecurityAdvisory) GetNVDPublishedAt() Timestamp { - if g == nil || g.NVDPublishedAt == nil { - return 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 { - return "" - } - return *g.RepositoryAdvisoryURL -} - -// GetSourceCodeLocation returns the SourceCodeLocation field if it's non-nil, zero value otherwise. -func (g *GlobalSecurityAdvisory) GetSourceCodeLocation() string { - if g == nil || g.SourceCodeLocation == nil { - return "" - } - return *g.SourceCodeLocation -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (g *GlobalSecurityAdvisory) GetType() string { - if g == nil || g.Type == nil { - return "" - } - 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 { - return "" - } - return *g.FirstPatchedVersion -} - -// GetPackage returns the Package field. -func (g *GlobalSecurityVulnerability) GetPackage() *VulnerabilityPackage { - if g == nil { - return nil - } - 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 { - return "" - } - return *g.VulnerableVersionRange -} - -// GetInstallation returns the Installation field. -func (g *GollumEvent) GetInstallation() *Installation { - if g == nil { - return nil - } - return g.Installation -} - -// GetOrg returns the Org field. -func (g *GollumEvent) GetOrg() *Organization { - if g == nil { - return nil - } - 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 { - return nil - } - return g.Repo -} - -// GetSender returns the Sender field. -func (g *GollumEvent) GetSender() *User { - if g == nil { - return nil - } - 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 { - return "" - } - return *g.Email -} - -// GetVerified returns the Verified field if it's non-nil, zero value otherwise. -func (g *GPGEmail) GetVerified() bool { - if g == nil || g.Verified == nil { - return false - } - return *g.Verified -} - -// GetCanCertify returns the CanCertify field if it's non-nil, zero value otherwise. -func (g *GPGKey) GetCanCertify() bool { - if g == nil || g.CanCertify == nil { - return false - } - return *g.CanCertify -} - -// GetCanEncryptComms returns the CanEncryptComms field if it's non-nil, zero value otherwise. -func (g *GPGKey) GetCanEncryptComms() bool { - if g == nil || g.CanEncryptComms == nil { - return false - } - return *g.CanEncryptComms -} - -// GetCanEncryptStorage returns the CanEncryptStorage field if it's non-nil, zero value otherwise. -func (g *GPGKey) GetCanEncryptStorage() bool { - if g == nil || g.CanEncryptStorage == nil { - return false - } - return *g.CanEncryptStorage -} - -// GetCanSign returns the CanSign field if it's non-nil, zero value otherwise. -func (g *GPGKey) GetCanSign() bool { - if g == nil || g.CanSign == nil { - return false - } - return *g.CanSign -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (g *GPGKey) GetCreatedAt() Timestamp { - if g == nil || g.CreatedAt == nil { - return 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 { - return Timestamp{} - } - return *g.ExpiresAt -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (g *GPGKey) GetID() int64 { - if g == nil || g.ID == nil { - return 0 - } - return *g.ID -} - -// GetKeyID returns the KeyID field if it's non-nil, zero value otherwise. -func (g *GPGKey) GetKeyID() string { - if g == nil || g.KeyID == nil { - return "" - } - return *g.KeyID -} - -// GetPrimaryKeyID returns the PrimaryKeyID field if it's non-nil, zero value otherwise. -func (g *GPGKey) GetPrimaryKeyID() int64 { - if g == nil || g.PrimaryKeyID == nil { - return 0 - } - return *g.PrimaryKeyID -} - -// GetPublicKey returns the PublicKey field if it's non-nil, zero value otherwise. -func (g *GPGKey) GetPublicKey() string { - if g == nil || g.PublicKey == nil { - return "" - } - return *g.PublicKey -} - -// GetRawKey returns the RawKey field if it's non-nil, zero value otherwise. -func (g *GPGKey) GetRawKey() string { - if g == nil || g.RawKey == nil { - return "" - } - 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 { - return nil - } - return g.App -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (g *Grant) GetCreatedAt() Timestamp { - if g == nil || g.CreatedAt == nil { - return Timestamp{} - } - return *g.CreatedAt -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (g *Grant) GetID() int64 { - if g == nil || g.ID == nil { - return 0 - } - 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 { - return Timestamp{} - } - return *g.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (g *Grant) GetURL() string { - if g == nil || g.URL == nil { - return "" - } - 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 { - return nil - } - return h.Author -} - -// GetCommitter returns the Committer field. -func (h *HeadCommit) GetCommitter() *CommitAuthor { - if h == nil { - return nil - } - return h.Committer -} - -// GetDistinct returns the Distinct field if it's non-nil, zero value otherwise. -func (h *HeadCommit) GetDistinct() bool { - if h == nil || h.Distinct == nil { - return false - } - return *h.Distinct -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (h *HeadCommit) GetID() string { - if h == nil || h.ID == nil { - return "" - } - return *h.ID -} - -// GetMessage returns the Message field if it's non-nil, zero value otherwise. -func (h *HeadCommit) GetMessage() string { - if h == nil || h.Message == nil { - return "" - } - 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 { - return "" - } - return *h.SHA -} - -// GetTimestamp returns the Timestamp field if it's non-nil, zero value otherwise. -func (h *HeadCommit) GetTimestamp() Timestamp { - if h == nil || h.Timestamp == nil { - return Timestamp{} - } - return *h.Timestamp -} - -// GetTreeID returns the TreeID field if it's non-nil, zero value otherwise. -func (h *HeadCommit) GetTreeID() string { - if h == nil || h.TreeID == nil { - return "" - } - return *h.TreeID -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (h *HeadCommit) GetURL() string { - if h == nil || h.URL == nil { - return "" - } - 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 { - return false - } - return *h.Active -} - -// GetConfig returns the Config field. -func (h *Hook) GetConfig() *HookConfig { - if h == nil { - return nil - } - return h.Config -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (h *Hook) GetCreatedAt() Timestamp { - if h == nil || h.CreatedAt == nil { - return 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 { - return 0 - } - return *h.ID -} - -// GetLastResponse returns the LastResponse map if it's non-nil, an empty map otherwise. -func (h *Hook) GetLastResponse() map[string]any { - if h == nil || h.LastResponse == nil { - return map[string]any{} - } - return h.LastResponse -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (h *Hook) GetName() string { - if h == nil || h.Name == nil { - return "" - } - return *h.Name -} - -// GetPingURL returns the PingURL field if it's non-nil, zero value otherwise. -func (h *Hook) GetPingURL() string { - if h == nil || h.PingURL == nil { - return "" - } - return *h.PingURL -} - -// GetTestURL returns the TestURL field if it's non-nil, zero value otherwise. -func (h *Hook) GetTestURL() string { - if h == nil || h.TestURL == nil { - return "" - } - return *h.TestURL -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (h *Hook) GetType() string { - if h == nil || h.Type == nil { - return "" - } - return *h.Type -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (h *Hook) GetUpdatedAt() Timestamp { - if h == nil || h.UpdatedAt == nil { - return Timestamp{} - } - return *h.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (h *Hook) GetURL() string { - if h == nil || h.URL == nil { - return "" - } - return *h.URL -} - -// GetContentType returns the ContentType field if it's non-nil, zero value otherwise. -func (h *HookConfig) GetContentType() string { - if h == nil || h.ContentType == nil { - return "" - } - return *h.ContentType -} - -// GetInsecureSSL returns the InsecureSSL field if it's non-nil, zero value otherwise. -func (h *HookConfig) GetInsecureSSL() string { - if h == nil || h.InsecureSSL == nil { - return "" - } - return *h.InsecureSSL -} - -// GetSecret returns the Secret field if it's non-nil, zero value otherwise. -func (h *HookConfig) GetSecret() string { - if h == nil || h.Secret == nil { - return "" - } - return *h.Secret -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (h *HookConfig) GetURL() string { - if h == nil || h.URL == nil { - return "" - } - return *h.URL -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (h *HookDelivery) GetAction() string { - if h == nil || h.Action == nil { - return "" - } - return *h.Action -} - -// GetDeliveredAt returns the DeliveredAt field if it's non-nil, zero value otherwise. -func (h *HookDelivery) GetDeliveredAt() Timestamp { - if h == nil || h.DeliveredAt == nil { - return Timestamp{} - } - return *h.DeliveredAt -} - -// 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 -} - -// GetEvent returns the Event field if it's non-nil, zero value otherwise. -func (h *HookDelivery) GetEvent() string { - if h == nil || h.Event == nil { - return "" - } - return *h.Event -} - -// GetGUID returns the GUID field if it's non-nil, zero value otherwise. -func (h *HookDelivery) GetGUID() string { - if h == nil || h.GUID == nil { - return "" - } - return *h.GUID -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (h *HookDelivery) GetID() int64 { - if h == nil || h.ID == nil { - return 0 - } - return *h.ID -} - -// GetInstallationID returns the InstallationID field if it's non-nil, zero value otherwise. -func (h *HookDelivery) GetInstallationID() int64 { - if h == nil || h.InstallationID == nil { - return 0 - } - return *h.InstallationID -} - -// GetRedelivery returns the Redelivery field if it's non-nil, zero value otherwise. -func (h *HookDelivery) GetRedelivery() bool { - if h == nil || h.Redelivery == nil { - return false - } - return *h.Redelivery -} - -// GetRepositoryID returns the RepositoryID field if it's non-nil, zero value otherwise. -func (h *HookDelivery) GetRepositoryID() int64 { - if h == nil || h.RepositoryID == nil { - return 0 - } - return *h.RepositoryID -} - -// GetRequest returns the Request field. -func (h *HookDelivery) GetRequest() *HookRequest { - if h == nil { - return nil - } - return h.Request -} - -// GetResponse returns the Response field. -func (h *HookDelivery) GetResponse() *HookResponse { - if h == nil { - return nil - } - return h.Response -} - -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (h *HookDelivery) GetStatus() string { - if h == nil || h.Status == nil { - return "" - } - return *h.Status -} - -// GetStatusCode returns the StatusCode field if it's non-nil, zero value otherwise. -func (h *HookDelivery) GetStatusCode() int { - if h == nil || h.StatusCode == nil { - return 0 - } - return *h.StatusCode -} - -// GetThrottledAt returns the ThrottledAt field if it's non-nil, zero value otherwise. -func (h *HookDelivery) GetThrottledAt() Timestamp { - if h == nil || h.ThrottledAt == nil { - return Timestamp{} - } - return *h.ThrottledAt -} - -// GetHeaders returns the Headers map if it's non-nil, an empty map otherwise. -func (h *HookRequest) GetHeaders() map[string]string { - if h == nil || h.Headers == nil { - return map[string]string{} - } - return h.Headers -} - -// GetRawPayload returns the RawPayload field if it's non-nil, zero value otherwise. -func (h *HookRequest) GetRawPayload() json.RawMessage { - if h == nil || h.RawPayload == nil { - return json.RawMessage{} - } - return *h.RawPayload -} - -// GetHeaders returns the Headers map if it's non-nil, an empty map otherwise. -func (h *HookResponse) GetHeaders() map[string]string { - if h == nil || h.Headers == nil { - return map[string]string{} - } - return h.Headers -} - -// GetRawPayload returns the RawPayload field if it's non-nil, zero value otherwise. -func (h *HookResponse) GetRawPayload() json.RawMessage { - if h == nil || h.RawPayload == nil { - return json.RawMessage{} - } - return *h.RawPayload -} - -// GetActiveHooks returns the ActiveHooks field if it's non-nil, zero value otherwise. -func (h *HookStats) GetActiveHooks() int { - if h == nil || h.ActiveHooks == nil { - return 0 - } - return *h.ActiveHooks -} - -// GetInactiveHooks returns the InactiveHooks field if it's non-nil, zero value otherwise. -func (h *HookStats) GetInactiveHooks() int { - if h == nil || h.InactiveHooks == nil { - return 0 - } - return *h.InactiveHooks -} - -// GetTotalHooks returns the TotalHooks field if it's non-nil, zero value otherwise. -func (h *HookStats) GetTotalHooks() int { - if h == nil || h.TotalHooks == nil { - return 0 - } - return *h.TotalHooks -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (h *HostedRunner) GetID() int64 { - if h == nil || h.ID == nil { - return 0 - } - return *h.ID -} - -// GetImageDetails returns the ImageDetails field. -func (h *HostedRunner) GetImageDetails() *HostedRunnerImageDetail { - if h == nil { - return nil - } - return h.ImageDetails -} - -// GetLastActiveOn returns the LastActiveOn field if it's non-nil, zero value otherwise. -func (h *HostedRunner) GetLastActiveOn() Timestamp { - if h == nil || h.LastActiveOn == nil { - return Timestamp{} - } - return *h.LastActiveOn -} - -// GetMachineSizeDetails returns the MachineSizeDetails field. -func (h *HostedRunner) GetMachineSizeDetails() *HostedRunnerMachineSpec { - if h == nil { - return nil - } - return h.MachineSizeDetails -} - -// GetMaximumRunners returns the MaximumRunners field if it's non-nil, zero value otherwise. -func (h *HostedRunner) GetMaximumRunners() int64 { - if h == nil || h.MaximumRunners == nil { - return 0 - } - return *h.MaximumRunners -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (h *HostedRunner) GetName() string { - if h == nil || h.Name == nil { - return "" - } - return *h.Name -} - -// GetPlatform returns the Platform field if it's non-nil, zero value otherwise. -func (h *HostedRunner) GetPlatform() string { - if h == nil || h.Platform == nil { - return "" - } - return *h.Platform -} - -// GetPublicIPEnabled returns the PublicIPEnabled field if it's non-nil, zero value otherwise. -func (h *HostedRunner) GetPublicIPEnabled() bool { - if h == nil || h.PublicIPEnabled == nil { - return false - } - 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 { - return 0 - } - return *h.RunnerGroupID -} - -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (h *HostedRunner) GetStatus() string { - if h == nil || h.Status == nil { - return "" - } - return *h.Status -} - -// GetID returns the ID field. -func (h *HostedRunnerCustomImage) GetID() int64 { - if h == nil { - return 0 - } - return h.ID -} - -// GetLatestVersion returns the LatestVersion field. -func (h *HostedRunnerCustomImage) GetLatestVersion() string { - if h == nil { - return "" - } - return h.LatestVersion -} - -// GetName returns the Name field. -func (h *HostedRunnerCustomImage) GetName() string { - if h == nil { - return "" - } - return h.Name -} - -// GetPlatform returns the Platform field. -func (h *HostedRunnerCustomImage) GetPlatform() string { - if h == nil { - return "" - } - return h.Platform -} - -// GetSource returns the Source field. -func (h *HostedRunnerCustomImage) GetSource() string { - if h == nil { - return "" - } - return h.Source -} - -// GetState returns the State field. -func (h *HostedRunnerCustomImage) GetState() string { - if h == nil { - return "" - } - return h.State -} - -// GetTotalVersionsSize returns the TotalVersionsSize field. -func (h *HostedRunnerCustomImage) GetTotalVersionsSize() int { - if h == nil { - return 0 - } - return h.TotalVersionsSize -} - -// GetVersionsCount returns the VersionsCount field. -func (h *HostedRunnerCustomImage) GetVersionsCount() int { - if h == nil { - return 0 - } - return h.VersionsCount -} - -// GetImages returns the Images slice if it's non-nil, nil otherwise. -func (h *HostedRunnerCustomImages) GetImages() []*HostedRunnerCustomImage { - if h == nil || h.Images == nil { - return nil - } - return h.Images -} - -// GetTotalCount returns the TotalCount field. -func (h *HostedRunnerCustomImages) GetTotalCount() int { - if h == nil { - return 0 - } - return h.TotalCount -} - -// GetCreatedOn returns the CreatedOn field. -func (h *HostedRunnerCustomImageVersion) GetCreatedOn() Timestamp { - if h == nil { - return Timestamp{} - } - return h.CreatedOn -} - -// GetSizeGB returns the SizeGB field. -func (h *HostedRunnerCustomImageVersion) GetSizeGB() int { - if h == nil { - return 0 - } - return h.SizeGB -} - -// GetState returns the State field. -func (h *HostedRunnerCustomImageVersion) GetState() string { - if h == nil { - return "" - } - return h.State -} - -// GetStateDetails returns the StateDetails field. -func (h *HostedRunnerCustomImageVersion) GetStateDetails() string { - if h == nil { - return "" - } - return h.StateDetails -} - -// GetVersion returns the Version field. -func (h *HostedRunnerCustomImageVersion) GetVersion() string { - if h == nil { - return "" - } - return h.Version -} - -// GetImageVersions returns the ImageVersions slice if it's non-nil, nil otherwise. -func (h *HostedRunnerCustomImageVersions) GetImageVersions() []*HostedRunnerCustomImageVersion { - if h == nil || h.ImageVersions == nil { - return nil - } - return h.ImageVersions -} - -// GetTotalCount returns the TotalCount field. -func (h *HostedRunnerCustomImageVersions) GetTotalCount() int { - if h == nil { - return 0 - } - return h.TotalCount -} - -// 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 { - return "" - } - return *h.Version -} - -// GetDisplayName returns the DisplayName field if it's non-nil, zero value otherwise. -func (h *HostedRunnerImageDetail) GetDisplayName() string { - if h == nil || h.DisplayName == nil { - return "" - } - return *h.DisplayName -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (h *HostedRunnerImageDetail) GetID() string { - if h == nil || h.ID == nil { - return "" - } - return *h.ID -} - -// GetSizeGB returns the SizeGB field if it's non-nil, zero value otherwise. -func (h *HostedRunnerImageDetail) GetSizeGB() int64 { - if h == nil || h.SizeGB == nil { - return 0 - } - return *h.SizeGB -} - -// GetSource returns the Source field if it's non-nil, zero value otherwise. -func (h *HostedRunnerImageDetail) GetSource() string { - if h == nil || h.Source == nil { - return "" - } - return *h.Source -} - -// GetVersion returns the Version field if it's non-nil, zero value otherwise. -func (h *HostedRunnerImageDetail) GetVersion() string { - if h == nil || h.Version == nil { - return "" - } - 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 { - return nil - } - 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 { - return "" - } - return *i.GroupDescription -} - -// GetGroupID returns the GroupID field if it's non-nil, zero value otherwise. -func (i *IDPGroup) GetGroupID() string { - if i == nil || i.GroupID == nil { - return "" - } - return *i.GroupID -} - -// GetGroupName returns the GroupName field if it's non-nil, zero value otherwise. -func (i *IDPGroup) GetGroupName() string { - if i == nil || i.GroupName == nil { - return "" - } - 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 { - return "" - } - 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 { - return "" - } - return *i.EnforcedRepositories -} - -// GetSelectedRepositoriesURL returns the SelectedRepositoriesURL field if it's non-nil, zero value otherwise. -func (i *ImmutableReleaseSettings) GetSelectedRepositoriesURL() string { - if i == nil || i.SelectedRepositoriesURL == nil { - return "" - } - return *i.SelectedRepositoriesURL -} - -// GetAuthorsCount returns the AuthorsCount field if it's non-nil, zero value otherwise. -func (i *Import) GetAuthorsCount() int { - if i == nil || i.AuthorsCount == nil { - return 0 - } - return *i.AuthorsCount -} - -// GetAuthorsURL returns the AuthorsURL field if it's non-nil, zero value otherwise. -func (i *Import) GetAuthorsURL() string { - if i == nil || i.AuthorsURL == nil { - return "" - } - return *i.AuthorsURL -} - -// GetCommitCount returns the CommitCount field if it's non-nil, zero value otherwise. -func (i *Import) GetCommitCount() int { - if i == nil || i.CommitCount == nil { - return 0 - } - return *i.CommitCount -} - -// GetFailedStep returns the FailedStep field if it's non-nil, zero value otherwise. -func (i *Import) GetFailedStep() string { - if i == nil || i.FailedStep == nil { - return "" - } - return *i.FailedStep -} - -// GetHasLargeFiles returns the HasLargeFiles field if it's non-nil, zero value otherwise. -func (i *Import) GetHasLargeFiles() bool { - if i == nil || i.HasLargeFiles == nil { - return false - } - return *i.HasLargeFiles -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (i *Import) GetHTMLURL() string { - if i == nil || i.HTMLURL == nil { - return "" - } - return *i.HTMLURL -} - -// GetHumanName returns the HumanName field if it's non-nil, zero value otherwise. -func (i *Import) GetHumanName() string { - if i == nil || i.HumanName == nil { - return "" - } - return *i.HumanName -} - -// GetLargeFilesCount returns the LargeFilesCount field if it's non-nil, zero value otherwise. -func (i *Import) GetLargeFilesCount() int { - if i == nil || i.LargeFilesCount == nil { - return 0 - } - return *i.LargeFilesCount -} - -// GetLargeFilesSize returns the LargeFilesSize field if it's non-nil, zero value otherwise. -func (i *Import) GetLargeFilesSize() int { - if i == nil || i.LargeFilesSize == nil { - return 0 - } - return *i.LargeFilesSize -} - -// GetMessage returns the Message field if it's non-nil, zero value otherwise. -func (i *Import) GetMessage() string { - if i == nil || i.Message == nil { - return "" - } - return *i.Message -} - -// GetPercent returns the Percent field if it's non-nil, zero value otherwise. -func (i *Import) GetPercent() int { - if i == nil || i.Percent == nil { - return 0 - } - 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 { - return 0 - } - return *i.PushPercent -} - -// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise. -func (i *Import) GetRepositoryURL() string { - if i == nil || i.RepositoryURL == nil { - return "" - } - return *i.RepositoryURL -} - -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (i *Import) GetStatus() string { - if i == nil || i.Status == nil { - return "" - } - return *i.Status -} - -// GetStatusText returns the StatusText field if it's non-nil, zero value otherwise. -func (i *Import) GetStatusText() string { - if i == nil || i.StatusText == nil { - return "" - } - return *i.StatusText -} - -// GetTFVCProject returns the TFVCProject field if it's non-nil, zero value otherwise. -func (i *Import) GetTFVCProject() string { - if i == nil || i.TFVCProject == nil { - return "" - } - return *i.TFVCProject -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (i *Import) GetURL() string { - if i == nil || i.URL == nil { - return "" - } - return *i.URL -} - -// GetUseLFS returns the UseLFS field if it's non-nil, zero value otherwise. -func (i *Import) GetUseLFS() string { - if i == nil || i.UseLFS == nil { - return "" - } - return *i.UseLFS -} - -// GetVCS returns the VCS field if it's non-nil, zero value otherwise. -func (i *Import) GetVCS() string { - if i == nil || i.VCS == nil { - return "" - } - return *i.VCS -} - -// GetVCSPassword returns the VCSPassword field if it's non-nil, zero value otherwise. -func (i *Import) GetVCSPassword() string { - if i == nil || i.VCSPassword == nil { - return "" - } - return *i.VCSPassword -} - -// GetVCSURL returns the VCSURL field if it's non-nil, zero value otherwise. -func (i *Import) GetVCSURL() string { - if i == nil || i.VCSURL == nil { - return "" - } - return *i.VCSURL -} - -// GetVCSUsername returns the VCSUsername field if it's non-nil, zero value otherwise. -func (i *Import) GetVCSUsername() string { - if i == nil || i.VCSUsername == nil { - return "" - } - 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 { - return "" - } - 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 { - return "" - } - return *i.AccessTokensURL -} - -// GetAccount returns the Account field. -func (i *Installation) GetAccount() *User { - if i == nil { - return nil - } - return i.Account -} - -// GetAppID returns the AppID field if it's non-nil, zero value otherwise. -func (i *Installation) GetAppID() int64 { - if i == nil || i.AppID == nil { - return 0 - } - return *i.AppID -} - -// GetAppSlug returns the AppSlug field if it's non-nil, zero value otherwise. -func (i *Installation) GetAppSlug() string { - if i == nil || i.AppSlug == nil { - return "" - } - return *i.AppSlug -} - -// GetClientID returns the ClientID field if it's non-nil, zero value otherwise. -func (i *Installation) GetClientID() string { - if i == nil || i.ClientID == nil { - return "" - } - return *i.ClientID -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (i *Installation) GetCreatedAt() Timestamp { - if i == nil || i.CreatedAt == nil { - return 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 { - return false - } - return *i.HasMultipleSingleFiles -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (i *Installation) GetHTMLURL() string { - if i == nil || i.HTMLURL == nil { - return "" - } - return *i.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (i *Installation) GetID() int64 { - if i == nil || i.ID == nil { - return 0 - } - return *i.ID -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (i *Installation) GetNodeID() string { - if i == nil || i.NodeID == nil { - return "" - } - return *i.NodeID -} - -// GetPermissions returns the Permissions field. -func (i *Installation) GetPermissions() *InstallationPermissions { - if i == nil { - return nil - } - return i.Permissions -} - -// GetRepositoriesURL returns the RepositoriesURL field if it's non-nil, zero value otherwise. -func (i *Installation) GetRepositoriesURL() string { - if i == nil || i.RepositoriesURL == nil { - return "" - } - return *i.RepositoriesURL -} - -// GetRepositorySelection returns the RepositorySelection field if it's non-nil, zero value otherwise. -func (i *Installation) GetRepositorySelection() string { - if i == nil || i.RepositorySelection == nil { - return "" - } - return *i.RepositorySelection -} - -// GetSingleFileName returns the SingleFileName field if it's non-nil, zero value otherwise. -func (i *Installation) GetSingleFileName() string { - if i == nil || i.SingleFileName == nil { - return "" - } - 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 { - return Timestamp{} - } - return *i.SuspendedAt -} - -// GetSuspendedBy returns the SuspendedBy field. -func (i *Installation) GetSuspendedBy() *User { - if i == nil { - return nil - } - return i.SuspendedBy -} - -// GetTargetID returns the TargetID field if it's non-nil, zero value otherwise. -func (i *Installation) GetTargetID() int64 { - if i == nil || i.TargetID == nil { - return 0 - } - return *i.TargetID -} - -// GetTargetType returns the TargetType field if it's non-nil, zero value otherwise. -func (i *Installation) GetTargetType() string { - if i == nil || i.TargetType == nil { - return "" - } - return *i.TargetType -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (i *Installation) GetUpdatedAt() Timestamp { - if i == nil || i.UpdatedAt == nil { - return Timestamp{} - } - return *i.UpdatedAt -} - -// GetLogin returns the Login field. -func (i *InstallationChanges) GetLogin() *InstallationLoginChange { - if i == nil { - return nil - } - return i.Login -} - -// GetSlug returns the Slug field. -func (i *InstallationChanges) GetSlug() *InstallationSlugChange { - if i == nil { - return nil - } - return i.Slug -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (i *InstallationEvent) GetAction() string { - if i == nil || i.Action == nil { - return "" - } - return *i.Action -} - -// GetInstallation returns the Installation field. -func (i *InstallationEvent) GetInstallation() *Installation { - if i == nil { - return nil - } - return i.Installation -} - -// GetOrg returns the Org field. -func (i *InstallationEvent) GetOrg() *Organization { - if i == nil { - return nil - } - 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 { - return nil - } - return i.Requester -} - -// GetSender returns the Sender field. -func (i *InstallationEvent) GetSender() *User { - if i == nil { - return nil - } - return i.Sender -} - -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (i *InstallationLoginChange) GetFrom() string { - if i == nil || i.From == nil { - return "" - } - return *i.From -} - -// GetActions returns the Actions field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetActions() string { - if i == nil || i.Actions == nil { - return "" - } - return *i.Actions -} - -// GetActionsVariables returns the ActionsVariables field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetActionsVariables() string { - if i == nil || i.ActionsVariables == nil { - return "" - } - return *i.ActionsVariables -} - -// GetAdministration returns the Administration field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetAdministration() string { - if i == nil || i.Administration == nil { - return "" - } - return *i.Administration -} - -// GetAttestations returns the Attestations field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetAttestations() string { - if i == nil || i.Attestations == nil { - return "" - } - return *i.Attestations -} - -// GetBlocking returns the Blocking field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetBlocking() string { - if i == nil || i.Blocking == nil { - return "" - } - return *i.Blocking -} - -// GetChecks returns the Checks field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetChecks() string { - if i == nil || i.Checks == nil { - return "" - } - return *i.Checks -} - -// GetCodespaces returns the Codespaces field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetCodespaces() string { - if i == nil || i.Codespaces == nil { - return "" - } - return *i.Codespaces -} - -// GetCodespacesLifecycleAdmin returns the CodespacesLifecycleAdmin field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetCodespacesLifecycleAdmin() string { - if i == nil || i.CodespacesLifecycleAdmin == nil { - return "" - } - return *i.CodespacesLifecycleAdmin -} - -// GetCodespacesMetadata returns the CodespacesMetadata field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetCodespacesMetadata() string { - if i == nil || i.CodespacesMetadata == nil { - return "" - } - return *i.CodespacesMetadata -} - -// GetCodespacesSecrets returns the CodespacesSecrets field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetCodespacesSecrets() string { - if i == nil || i.CodespacesSecrets == nil { - return "" - } - return *i.CodespacesSecrets -} - -// GetCodespacesUserSecrets returns the CodespacesUserSecrets field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetCodespacesUserSecrets() string { - if i == nil || i.CodespacesUserSecrets == nil { - return "" - } - return *i.CodespacesUserSecrets -} - -// GetContentReferences returns the ContentReferences field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetContentReferences() string { - if i == nil || i.ContentReferences == nil { - return "" - } - return *i.ContentReferences -} - -// GetContents returns the Contents field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetContents() string { - if i == nil || i.Contents == nil { - return "" - } - return *i.Contents -} - -// GetCopilotMessages returns the CopilotMessages field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetCopilotMessages() string { - if i == nil || i.CopilotMessages == nil { - return "" - } - return *i.CopilotMessages -} - -// GetDependabotSecrets returns the DependabotSecrets field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetDependabotSecrets() string { - if i == nil || i.DependabotSecrets == nil { - return "" - } - return *i.DependabotSecrets -} - -// GetDeployments returns the Deployments field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetDeployments() string { - if i == nil || i.Deployments == nil { - return "" - } - return *i.Deployments -} - -// GetDiscussions returns the Discussions field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetDiscussions() string { - if i == nil || i.Discussions == nil { - return "" - } - return *i.Discussions -} - -// GetEmails returns the Emails field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetEmails() string { - if i == nil || i.Emails == nil { - return "" - } - return *i.Emails -} - -// GetEnterpriseAIControls returns the EnterpriseAIControls field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetEnterpriseAIControls() string { - if i == nil || i.EnterpriseAIControls == nil { - return "" - } - return *i.EnterpriseAIControls -} - -// GetEnterpriseCopilotMetrics returns the EnterpriseCopilotMetrics field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetEnterpriseCopilotMetrics() string { - if i == nil || i.EnterpriseCopilotMetrics == nil { - return "" - } - return *i.EnterpriseCopilotMetrics -} - -// GetEnterpriseCredentials returns the EnterpriseCredentials field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetEnterpriseCredentials() string { - if i == nil || i.EnterpriseCredentials == nil { - return "" - } - return *i.EnterpriseCredentials -} - -// GetEnterpriseCustomEnterpriseRoles returns the EnterpriseCustomEnterpriseRoles field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetEnterpriseCustomEnterpriseRoles() string { - if i == nil || i.EnterpriseCustomEnterpriseRoles == nil { - return "" - } - return *i.EnterpriseCustomEnterpriseRoles -} - -// GetEnterpriseCustomOrgRoles returns the EnterpriseCustomOrgRoles field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetEnterpriseCustomOrgRoles() string { - if i == nil || i.EnterpriseCustomOrgRoles == nil { - return "" - } - return *i.EnterpriseCustomOrgRoles -} - -// GetEnterpriseCustomProperties returns the EnterpriseCustomProperties field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetEnterpriseCustomProperties() string { - if i == nil || i.EnterpriseCustomProperties == nil { - return "" - } - return *i.EnterpriseCustomProperties -} - -// GetEnterpriseCustomPropertiesForOrgs returns the EnterpriseCustomPropertiesForOrgs field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetEnterpriseCustomPropertiesForOrgs() string { - if i == nil || i.EnterpriseCustomPropertiesForOrgs == nil { - return "" - } - return *i.EnterpriseCustomPropertiesForOrgs -} - -// GetEnterpriseOrganizationInstallations returns the EnterpriseOrganizationInstallations field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetEnterpriseOrganizationInstallations() string { - if i == nil || i.EnterpriseOrganizationInstallations == nil { - return "" - } - return *i.EnterpriseOrganizationInstallations -} - -// GetEnterpriseOrganizations returns the EnterpriseOrganizations field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetEnterpriseOrganizations() string { - if i == nil || i.EnterpriseOrganizations == nil { - return "" - } - return *i.EnterpriseOrganizations -} - -// GetEnterpriseOrgInstallationRepos returns the EnterpriseOrgInstallationRepos field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetEnterpriseOrgInstallationRepos() string { - if i == nil || i.EnterpriseOrgInstallationRepos == nil { - return "" - } - return *i.EnterpriseOrgInstallationRepos -} - -// GetEnterprisePeople returns the EnterprisePeople field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetEnterprisePeople() string { - if i == nil || i.EnterprisePeople == nil { - return "" - } - return *i.EnterprisePeople -} - -// GetEnterpriseSSO returns the EnterpriseSSO field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetEnterpriseSSO() string { - if i == nil || i.EnterpriseSSO == nil { - return "" - } - return *i.EnterpriseSSO -} - -// GetEnterpriseTeams returns the EnterpriseTeams field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetEnterpriseTeams() string { - if i == nil || i.EnterpriseTeams == nil { - return "" - } - return *i.EnterpriseTeams -} - -// GetEnvironments returns the Environments field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetEnvironments() string { - if i == nil || i.Environments == nil { - return "" - } - return *i.Environments -} - -// GetFollowers returns the Followers field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetFollowers() string { - if i == nil || i.Followers == nil { - return "" - } - return *i.Followers -} - -// GetGists returns the Gists field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetGists() string { - if i == nil || i.Gists == nil { - return "" - } - return *i.Gists -} - -// GetGitSigningSSHPublicKeys returns the GitSigningSSHPublicKeys field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetGitSigningSSHPublicKeys() string { - if i == nil || i.GitSigningSSHPublicKeys == nil { - return "" - } - return *i.GitSigningSSHPublicKeys -} - -// GetGPGKeys returns the GPGKeys field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetGPGKeys() string { - if i == nil || i.GPGKeys == nil { - return "" - } - return *i.GPGKeys -} - -// GetInteractionLimits returns the InteractionLimits field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetInteractionLimits() string { - if i == nil || i.InteractionLimits == nil { - return "" - } - return *i.InteractionLimits -} - -// GetIssues returns the Issues field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetIssues() string { - if i == nil || i.Issues == nil { - return "" - } - return *i.Issues -} - -// GetKeys returns the Keys field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetKeys() string { - if i == nil || i.Keys == nil { - return "" - } - return *i.Keys -} - -// GetMembers returns the Members field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetMembers() string { - if i == nil || i.Members == nil { - return "" - } - return *i.Members -} - -// GetMergeQueues returns the MergeQueues field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetMergeQueues() string { - if i == nil || i.MergeQueues == nil { - return "" - } - return *i.MergeQueues -} - -// GetMetadata returns the Metadata field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetMetadata() string { - if i == nil || i.Metadata == nil { - return "" - } - return *i.Metadata -} - -// GetOrganizationActionsVariables returns the OrganizationActionsVariables field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetOrganizationActionsVariables() string { - if i == nil || i.OrganizationActionsVariables == nil { - return "" - } - return *i.OrganizationActionsVariables -} - -// GetOrganizationAdministration returns the OrganizationAdministration field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetOrganizationAdministration() string { - if i == nil || i.OrganizationAdministration == nil { - return "" - } - return *i.OrganizationAdministration -} - -// GetOrganizationAnnouncementBanners returns the OrganizationAnnouncementBanners field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetOrganizationAnnouncementBanners() string { - if i == nil || i.OrganizationAnnouncementBanners == nil { - return "" - } - return *i.OrganizationAnnouncementBanners -} - -// GetOrganizationAPIInsights returns the OrganizationAPIInsights field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetOrganizationAPIInsights() string { - if i == nil || i.OrganizationAPIInsights == nil { - return "" - } - return *i.OrganizationAPIInsights -} - -// GetOrganizationCodespaces returns the OrganizationCodespaces field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetOrganizationCodespaces() string { - if i == nil || i.OrganizationCodespaces == nil { - return "" - } - return *i.OrganizationCodespaces -} - -// GetOrganizationCodespacesSecrets returns the OrganizationCodespacesSecrets field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetOrganizationCodespacesSecrets() string { - if i == nil || i.OrganizationCodespacesSecrets == nil { - return "" - } - return *i.OrganizationCodespacesSecrets -} - -// GetOrganizationCodespacesSettings returns the OrganizationCodespacesSettings field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetOrganizationCodespacesSettings() string { - if i == nil || i.OrganizationCodespacesSettings == nil { - return "" - } - return *i.OrganizationCodespacesSettings -} - -// GetOrganizationCopilotMetrics returns the OrganizationCopilotMetrics field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetOrganizationCopilotMetrics() string { - if i == nil || i.OrganizationCopilotMetrics == nil { - return "" - } - return *i.OrganizationCopilotMetrics -} - -// GetOrganizationCopilotSeatManagement returns the OrganizationCopilotSeatManagement field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetOrganizationCopilotSeatManagement() string { - if i == nil || i.OrganizationCopilotSeatManagement == nil { - return "" - } - return *i.OrganizationCopilotSeatManagement -} - -// GetOrganizationCustomOrgRoles returns the OrganizationCustomOrgRoles field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetOrganizationCustomOrgRoles() string { - if i == nil || i.OrganizationCustomOrgRoles == nil { - return "" - } - return *i.OrganizationCustomOrgRoles -} - -// GetOrganizationCustomProperties returns the OrganizationCustomProperties field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetOrganizationCustomProperties() string { - if i == nil || i.OrganizationCustomProperties == nil { - return "" - } - return *i.OrganizationCustomProperties -} - -// GetOrganizationCustomRoles returns the OrganizationCustomRoles field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetOrganizationCustomRoles() string { - if i == nil || i.OrganizationCustomRoles == nil { - return "" - } - return *i.OrganizationCustomRoles -} - -// GetOrganizationDependabotSecrets returns the OrganizationDependabotSecrets field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetOrganizationDependabotSecrets() string { - if i == nil || i.OrganizationDependabotSecrets == nil { - return "" - } - return *i.OrganizationDependabotSecrets -} - -// GetOrganizationEvents returns the OrganizationEvents field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetOrganizationEvents() string { - if i == nil || i.OrganizationEvents == nil { - return "" - } - return *i.OrganizationEvents -} - -// GetOrganizationHooks returns the OrganizationHooks field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetOrganizationHooks() string { - if i == nil || i.OrganizationHooks == nil { - return "" - } - return *i.OrganizationHooks -} - -// GetOrganizationKnowledgeBases returns the OrganizationKnowledgeBases field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetOrganizationKnowledgeBases() string { - if i == nil || i.OrganizationKnowledgeBases == nil { - return "" - } - return *i.OrganizationKnowledgeBases -} - -// GetOrganizationPackages returns the OrganizationPackages field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetOrganizationPackages() string { - if i == nil || i.OrganizationPackages == nil { - return "" - } - return *i.OrganizationPackages -} - -// GetOrganizationPersonalAccessTokenRequests returns the OrganizationPersonalAccessTokenRequests field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetOrganizationPersonalAccessTokenRequests() string { - if i == nil || i.OrganizationPersonalAccessTokenRequests == nil { - return "" - } - return *i.OrganizationPersonalAccessTokenRequests -} - -// GetOrganizationPersonalAccessTokens returns the OrganizationPersonalAccessTokens field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetOrganizationPersonalAccessTokens() string { - if i == nil || i.OrganizationPersonalAccessTokens == nil { - return "" - } - return *i.OrganizationPersonalAccessTokens -} - -// GetOrganizationPlan returns the OrganizationPlan field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetOrganizationPlan() string { - if i == nil || i.OrganizationPlan == nil { - return "" - } - return *i.OrganizationPlan -} - -// GetOrganizationPreReceiveHooks returns the OrganizationPreReceiveHooks field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetOrganizationPreReceiveHooks() string { - if i == nil || i.OrganizationPreReceiveHooks == nil { - return "" - } - return *i.OrganizationPreReceiveHooks -} - -// GetOrganizationProjects returns the OrganizationProjects field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetOrganizationProjects() string { - if i == nil || i.OrganizationProjects == nil { - return "" - } - return *i.OrganizationProjects -} - -// GetOrganizationSecrets returns the OrganizationSecrets field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetOrganizationSecrets() string { - if i == nil || i.OrganizationSecrets == nil { - return "" - } - return *i.OrganizationSecrets -} - -// GetOrganizationSelfHostedRunners returns the OrganizationSelfHostedRunners field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetOrganizationSelfHostedRunners() string { - if i == nil || i.OrganizationSelfHostedRunners == nil { - return "" - } - return *i.OrganizationSelfHostedRunners -} - -// GetOrganizationUserBlocking returns the OrganizationUserBlocking field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetOrganizationUserBlocking() string { - if i == nil || i.OrganizationUserBlocking == nil { - return "" - } - return *i.OrganizationUserBlocking -} - -// GetPackages returns the Packages field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetPackages() string { - if i == nil || i.Packages == nil { - return "" - } - return *i.Packages -} - -// GetPages returns the Pages field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetPages() string { - if i == nil || i.Pages == nil { - return "" - } - return *i.Pages -} - -// GetPlan returns the Plan field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetPlan() string { - if i == nil || i.Plan == nil { - return "" - } - return *i.Plan -} - -// GetProfile returns the Profile field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetProfile() string { - if i == nil || i.Profile == nil { - return "" - } - return *i.Profile -} - -// GetPullRequests returns the PullRequests field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetPullRequests() string { - if i == nil || i.PullRequests == nil { - return "" - } - return *i.PullRequests -} - -// GetRepositoryAdvisories returns the RepositoryAdvisories field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetRepositoryAdvisories() string { - if i == nil || i.RepositoryAdvisories == nil { - return "" - } - return *i.RepositoryAdvisories -} - -// GetRepositoryCustomProperties returns the RepositoryCustomProperties field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetRepositoryCustomProperties() string { - if i == nil || i.RepositoryCustomProperties == nil { - return "" - } - return *i.RepositoryCustomProperties -} - -// GetRepositoryHooks returns the RepositoryHooks field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetRepositoryHooks() string { - if i == nil || i.RepositoryHooks == nil { - return "" - } - return *i.RepositoryHooks -} - -// GetRepositoryPreReceiveHooks returns the RepositoryPreReceiveHooks field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetRepositoryPreReceiveHooks() string { - if i == nil || i.RepositoryPreReceiveHooks == nil { - return "" - } - return *i.RepositoryPreReceiveHooks -} - -// GetRepositoryProjects returns the RepositoryProjects field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetRepositoryProjects() string { - if i == nil || i.RepositoryProjects == nil { - return "" - } - return *i.RepositoryProjects -} - -// GetSecrets returns the Secrets field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetSecrets() string { - if i == nil || i.Secrets == nil { - return "" - } - return *i.Secrets -} - -// GetSecretScanningAlerts returns the SecretScanningAlerts field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetSecretScanningAlerts() string { - if i == nil || i.SecretScanningAlerts == nil { - return "" - } - return *i.SecretScanningAlerts -} - -// GetSecurityEvents returns the SecurityEvents field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetSecurityEvents() string { - if i == nil || i.SecurityEvents == nil { - return "" - } - return *i.SecurityEvents -} - -// GetSingleFile returns the SingleFile field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetSingleFile() string { - if i == nil || i.SingleFile == nil { - return "" - } - return *i.SingleFile -} - -// GetStarring returns the Starring field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetStarring() string { - if i == nil || i.Starring == nil { - return "" - } - return *i.Starring -} - -// GetStatuses returns the Statuses field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetStatuses() string { - if i == nil || i.Statuses == nil { - return "" - } - return *i.Statuses -} - -// GetTeamDiscussions returns the TeamDiscussions field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetTeamDiscussions() string { - if i == nil || i.TeamDiscussions == nil { - return "" - } - return *i.TeamDiscussions -} - -// GetUserEvents returns the UserEvents field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetUserEvents() string { - if i == nil || i.UserEvents == nil { - return "" - } - return *i.UserEvents -} - -// GetVulnerabilityAlerts returns the VulnerabilityAlerts field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetVulnerabilityAlerts() string { - if i == nil || i.VulnerabilityAlerts == nil { - return "" - } - return *i.VulnerabilityAlerts -} - -// GetWatching returns the Watching field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetWatching() string { - if i == nil || i.Watching == nil { - return "" - } - return *i.Watching -} - -// GetWorkflows returns the Workflows field if it's non-nil, zero value otherwise. -func (i *InstallationPermissions) GetWorkflows() string { - if i == nil || i.Workflows == nil { - return "" - } - return *i.Workflows -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (i *InstallationRepositoriesEvent) GetAction() string { - if i == nil || i.Action == nil { - return "" - } - return *i.Action -} - -// GetInstallation returns the Installation field. -func (i *InstallationRepositoriesEvent) GetInstallation() *Installation { - if i == nil { - return nil - } - return i.Installation -} - -// GetOrg returns the Org field. -func (i *InstallationRepositoriesEvent) GetOrg() *Organization { - if i == nil { - return nil - } - 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 { - return "" - } - return *i.RepositorySelection -} - -// GetSender returns the Sender field. -func (i *InstallationRepositoriesEvent) GetSender() *User { - if i == nil { - return nil - } - return i.Sender -} - -// GetAccount returns the Account field. -func (i *InstallationRequest) GetAccount() *User { - if i == nil { - return nil - } - return i.Account -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (i *InstallationRequest) GetCreatedAt() Timestamp { - if i == nil || i.CreatedAt == nil { - return Timestamp{} - } - return *i.CreatedAt -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (i *InstallationRequest) GetID() int64 { - if i == nil || i.ID == nil { - return 0 - } - return *i.ID -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (i *InstallationRequest) GetNodeID() string { - if i == nil || i.NodeID == nil { - return "" - } - return *i.NodeID -} - -// GetRequester returns the Requester field. -func (i *InstallationRequest) GetRequester() *User { - if i == nil { - return nil - } - return i.Requester -} - -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (i *InstallationSlugChange) GetFrom() string { - if i == nil || i.From == nil { - return "" - } - return *i.From -} - -// GetAccount returns the Account field. -func (i *InstallationTargetEvent) GetAccount() *User { - if i == nil { - return nil - } - return i.Account -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (i *InstallationTargetEvent) GetAction() string { - if i == nil || i.Action == nil { - return "" - } - return *i.Action -} - -// GetChanges returns the Changes field. -func (i *InstallationTargetEvent) GetChanges() *InstallationChanges { - if i == nil { - return nil - } - return i.Changes -} - -// GetEnterprise returns the Enterprise field. -func (i *InstallationTargetEvent) GetEnterprise() *Enterprise { - if i == nil { - return nil - } - return i.Enterprise -} - -// GetInstallation returns the Installation field. -func (i *InstallationTargetEvent) GetInstallation() *Installation { - if i == nil { - return nil - } - return i.Installation -} - -// GetOrganization returns the Organization field. -func (i *InstallationTargetEvent) GetOrganization() *Organization { - if i == nil { - return nil - } - return i.Organization -} - -// GetRepository returns the Repository field. -func (i *InstallationTargetEvent) GetRepository() *Repository { - if i == nil { - return nil - } - return i.Repository -} - -// GetSender returns the Sender field. -func (i *InstallationTargetEvent) GetSender() *User { - if i == nil { - return nil - } - return i.Sender -} - -// GetTargetType returns the TargetType field if it's non-nil, zero value otherwise. -func (i *InstallationTargetEvent) GetTargetType() string { - if i == nil || i.TargetType == nil { - return "" - } - return *i.TargetType -} - -// GetExpiresAt returns the ExpiresAt field if it's non-nil, zero value otherwise. -func (i *InstallationToken) GetExpiresAt() Timestamp { - if i == nil || i.ExpiresAt == nil { - return Timestamp{} - } - return *i.ExpiresAt -} - -// GetPermissions returns the Permissions field. -func (i *InstallationToken) GetPermissions() *InstallationPermissions { - if i == nil { - return nil - } - 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 { - return "" - } - return *i.Token -} - -// GetPermissions returns the Permissions field. -func (i *InstallationTokenListRepoOptions) GetPermissions() *InstallationPermissions { - if i == nil { - return nil - } - 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 { - return nil - } - 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 { - return Timestamp{} - } - return *i.ExpiresAt -} - -// GetLimit returns the Limit field if it's non-nil, zero value otherwise. -func (i *InteractionRestriction) GetLimit() string { - if i == nil || i.Limit == nil { - return "" - } - return *i.Limit -} - -// GetOrigin returns the Origin field if it's non-nil, zero value otherwise. -func (i *InteractionRestriction) GetOrigin() string { - if i == nil || i.Origin == nil { - return "" - } - return *i.Origin -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (i *Invitation) GetCreatedAt() Timestamp { - if i == nil || i.CreatedAt == nil { - return Timestamp{} - } - return *i.CreatedAt -} - -// GetEmail returns the Email field if it's non-nil, zero value otherwise. -func (i *Invitation) GetEmail() string { - if i == nil || i.Email == nil { - return "" - } - return *i.Email -} - -// GetFailedAt returns the FailedAt field if it's non-nil, zero value otherwise. -func (i *Invitation) GetFailedAt() Timestamp { - if i == nil || i.FailedAt == nil { - return Timestamp{} - } - return *i.FailedAt -} - -// GetFailedReason returns the FailedReason field if it's non-nil, zero value otherwise. -func (i *Invitation) GetFailedReason() string { - if i == nil || i.FailedReason == nil { - return "" - } - return *i.FailedReason -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (i *Invitation) GetID() int64 { - if i == nil || i.ID == nil { - return 0 - } - return *i.ID -} - -// GetInvitationTeamURL returns the InvitationTeamURL field if it's non-nil, zero value otherwise. -func (i *Invitation) GetInvitationTeamURL() string { - if i == nil || i.InvitationTeamURL == nil { - return "" - } - return *i.InvitationTeamURL -} - -// GetInviter returns the Inviter field. -func (i *Invitation) GetInviter() *User { - if i == nil { - return nil - } - return i.Inviter -} - -// GetLogin returns the Login field if it's non-nil, zero value otherwise. -func (i *Invitation) GetLogin() string { - if i == nil || i.Login == nil { - return "" - } - return *i.Login -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (i *Invitation) GetNodeID() string { - if i == nil || i.NodeID == nil { - return "" - } - return *i.NodeID -} - -// GetRole returns the Role field if it's non-nil, zero value otherwise. -func (i *Invitation) GetRole() string { - if i == nil || i.Role == nil { - return "" - } - return *i.Role -} - -// GetTeamCount returns the TeamCount field if it's non-nil, zero value otherwise. -func (i *Invitation) GetTeamCount() int { - if i == nil || i.TeamCount == nil { - return 0 - } - return *i.TeamCount -} - -// GetActiveLockReason returns the ActiveLockReason field if it's non-nil, zero value otherwise. -func (i *Issue) GetActiveLockReason() string { - if i == nil || i.ActiveLockReason == nil { - return "" - } - return *i.ActiveLockReason -} - -// GetAssignee returns the Assignee field. -func (i *Issue) GetAssignee() *User { - if i == nil { - return nil - } - 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 { - return "" - } - return *i.AuthorAssociation -} - -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (i *Issue) GetBody() string { - if i == nil || i.Body == nil { - return "" - } - return *i.Body -} - -// GetClosedAt returns the ClosedAt field if it's non-nil, zero value otherwise. -func (i *Issue) GetClosedAt() Timestamp { - if i == nil || i.ClosedAt == nil { - return Timestamp{} - } - return *i.ClosedAt -} - -// GetClosedBy returns the ClosedBy field. -func (i *Issue) GetClosedBy() *User { - if i == nil { - return nil - } - return i.ClosedBy -} - -// GetComments returns the Comments field if it's non-nil, zero value otherwise. -func (i *Issue) GetComments() int { - if i == nil || i.Comments == nil { - return 0 - } - return *i.Comments -} - -// GetCommentsURL returns the CommentsURL field if it's non-nil, zero value otherwise. -func (i *Issue) GetCommentsURL() string { - if i == nil || i.CommentsURL == nil { - return "" - } - return *i.CommentsURL -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (i *Issue) GetCreatedAt() Timestamp { - if i == nil || i.CreatedAt == nil { - return Timestamp{} - } - return *i.CreatedAt -} - -// GetDraft returns the Draft field if it's non-nil, zero value otherwise. -func (i *Issue) GetDraft() bool { - if i == nil || i.Draft == nil { - return false - } - return *i.Draft -} - -// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise. -func (i *Issue) GetEventsURL() string { - if i == nil || i.EventsURL == nil { - return "" - } - return *i.EventsURL -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (i *Issue) GetHTMLURL() string { - if i == nil || i.HTMLURL == nil { - return "" - } - return *i.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (i *Issue) GetID() int64 { - if i == nil || i.ID == nil { - return 0 - } - return *i.ID -} - -// GetIssueDependenciesSummary returns the IssueDependenciesSummary field. -func (i *Issue) GetIssueDependenciesSummary() *IssueDependenciesSummary { - if i == nil { - return nil - } - return i.IssueDependenciesSummary -} - -// GetIssueFieldValues returns the IssueFieldValues slice if it's non-nil, nil otherwise. -func (i *Issue) GetIssueFieldValues() []*IssueFieldValue { - if i == nil || i.IssueFieldValues == nil { - return nil - } - return i.IssueFieldValues -} - -// 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 { - return "" - } - return *i.LabelsURL -} - -// GetLocked returns the Locked field if it's non-nil, zero value otherwise. -func (i *Issue) GetLocked() bool { - if i == nil || i.Locked == nil { - return false - } - return *i.Locked -} - -// GetMilestone returns the Milestone field. -func (i *Issue) GetMilestone() *Milestone { - if i == nil { - return nil - } - return i.Milestone -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (i *Issue) GetNodeID() string { - if i == nil || i.NodeID == nil { - return "" - } - return *i.NodeID -} - -// GetNumber returns the Number field if it's non-nil, zero value otherwise. -func (i *Issue) GetNumber() int { - if i == nil || i.Number == nil { - return 0 - } - return *i.Number -} - -// GetParentIssueURL returns the ParentIssueURL field if it's non-nil, zero value otherwise. -func (i *Issue) GetParentIssueURL() string { - if i == nil || i.ParentIssueURL == nil { - return "" - } - return *i.ParentIssueURL -} - -// GetPerformedViaGithubApp returns the PerformedViaGithubApp field. -func (i *Issue) GetPerformedViaGithubApp() *App { - if i == nil { - return nil - } - return i.PerformedViaGithubApp -} - -// GetPinnedComment returns the PinnedComment field. -func (i *Issue) GetPinnedComment() *IssueComment { - if i == nil { - return nil - } - return i.PinnedComment -} - -// GetPullRequestLinks returns the PullRequestLinks field. -func (i *Issue) GetPullRequestLinks() *PullRequestLinks { - if i == nil { - return nil - } - return i.PullRequestLinks -} - -// GetReactions returns the Reactions field. -func (i *Issue) GetReactions() *Reactions { - if i == nil { - return nil - } - return i.Reactions -} - -// GetRepository returns the Repository field. -func (i *Issue) GetRepository() *Repository { - if i == nil { - return nil - } - return i.Repository -} - -// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise. -func (i *Issue) GetRepositoryURL() string { - if i == nil || i.RepositoryURL == nil { - return "" - } - return *i.RepositoryURL -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (i *Issue) GetState() string { - if i == nil || i.State == nil { - return "" - } - return *i.State -} - -// GetStateReason returns the StateReason field if it's non-nil, zero value otherwise. -func (i *Issue) GetStateReason() string { - if i == nil || i.StateReason == nil { - return "" - } - return *i.StateReason -} - -// GetSubIssuesSummary returns the SubIssuesSummary field. -func (i *Issue) GetSubIssuesSummary() *SubIssuesSummary { - if i == nil { - return nil - } - return i.SubIssuesSummary -} - -// 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 { - return "" - } - return *i.Title -} - -// GetType returns the Type field. -func (i *Issue) GetType() *IssueType { - if i == nil { - return nil - } - return i.Type -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (i *Issue) GetUpdatedAt() Timestamp { - if i == nil || i.UpdatedAt == nil { - return Timestamp{} - } - return *i.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (i *Issue) GetURL() string { - if i == nil || i.URL == nil { - return "" - } - return *i.URL -} - -// GetUser returns the User field. -func (i *Issue) GetUser() *User { - if i == nil { - return nil - } - return i.User -} - -// GetAuthorAssociation returns the AuthorAssociation field if it's non-nil, zero value otherwise. -func (i *IssueComment) GetAuthorAssociation() string { - if i == nil || i.AuthorAssociation == nil { - return "" - } - return *i.AuthorAssociation -} - -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (i *IssueComment) GetBody() string { - if i == nil || i.Body == nil { - return "" - } - return *i.Body -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (i *IssueComment) GetCreatedAt() Timestamp { - if i == nil || i.CreatedAt == nil { - return Timestamp{} - } - return *i.CreatedAt -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (i *IssueComment) GetHTMLURL() string { - if i == nil || i.HTMLURL == nil { - return "" - } - return *i.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (i *IssueComment) GetID() int64 { - if i == nil || i.ID == nil { - return 0 - } - return *i.ID -} - -// GetIssueURL returns the IssueURL field if it's non-nil, zero value otherwise. -func (i *IssueComment) GetIssueURL() string { - if i == nil || i.IssueURL == nil { - return "" - } - return *i.IssueURL -} - -// GetMinimized returns the Minimized field. -func (i *IssueComment) GetMinimized() *MinimizedIssueComment { - if i == nil { - return nil - } - return i.Minimized -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (i *IssueComment) GetNodeID() string { - if i == nil || i.NodeID == nil { - return "" - } - return *i.NodeID -} - -// GetPerformedViaGithubApp returns the PerformedViaGithubApp field. -func (i *IssueComment) GetPerformedViaGithubApp() *App { - if i == nil { - return nil - } - return i.PerformedViaGithubApp -} - -// GetPin returns the Pin field. -func (i *IssueComment) GetPin() *PinnedIssueComment { - if i == nil { - return nil - } - return i.Pin -} - -// GetReactions returns the Reactions field. -func (i *IssueComment) GetReactions() *Reactions { - if i == nil { - return nil - } - return i.Reactions -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (i *IssueComment) GetUpdatedAt() Timestamp { - if i == nil || i.UpdatedAt == nil { - return Timestamp{} - } - return *i.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (i *IssueComment) GetURL() string { - if i == nil || i.URL == nil { - return "" - } - return *i.URL -} - -// GetUser returns the User field. -func (i *IssueComment) GetUser() *User { - if i == nil { - return nil - } - return i.User -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (i *IssueCommentEvent) GetAction() string { - if i == nil || i.Action == nil { - return "" - } - return *i.Action -} - -// GetChanges returns the Changes field. -func (i *IssueCommentEvent) GetChanges() *EditChange { - if i == nil { - return nil - } - return i.Changes -} - -// GetComment returns the Comment field. -func (i *IssueCommentEvent) GetComment() *IssueComment { - if i == nil { - return nil - } - return i.Comment -} - -// GetInstallation returns the Installation field. -func (i *IssueCommentEvent) GetInstallation() *Installation { - if i == nil { - return nil - } - return i.Installation -} - -// GetIssue returns the Issue field. -func (i *IssueCommentEvent) GetIssue() *Issue { - if i == nil { - return nil - } - return i.Issue -} - -// GetOrganization returns the Organization field. -func (i *IssueCommentEvent) GetOrganization() *Organization { - if i == nil { - return nil - } - return i.Organization -} - -// GetRepo returns the Repo field. -func (i *IssueCommentEvent) GetRepo() *Repository { - if i == nil { - return nil - } - return i.Repo -} - -// GetSender returns the Sender field. -func (i *IssueCommentEvent) GetSender() *User { - if i == nil { - return nil - } - return i.Sender -} - -// GetBody returns the Body field. -func (i *IssueCommentRequest) GetBody() string { - if i == nil { - return "" - } - return i.Body -} - -// GetBlockedBy returns the BlockedBy field if it's non-nil, zero value otherwise. -func (i *IssueDependenciesSummary) GetBlockedBy() int { - if i == nil || i.BlockedBy == nil { - return 0 - } - return *i.BlockedBy -} - -// GetBlocking returns the Blocking field if it's non-nil, zero value otherwise. -func (i *IssueDependenciesSummary) GetBlocking() int { - if i == nil || i.Blocking == nil { - return 0 - } - return *i.Blocking -} - -// GetTotalBlockedBy returns the TotalBlockedBy field if it's non-nil, zero value otherwise. -func (i *IssueDependenciesSummary) GetTotalBlockedBy() int { - if i == nil || i.TotalBlockedBy == nil { - return 0 - } - return *i.TotalBlockedBy -} - -// GetTotalBlocking returns the TotalBlocking field if it's non-nil, zero value otherwise. -func (i *IssueDependenciesSummary) GetTotalBlocking() int { - if i == nil || i.TotalBlocking == nil { - return 0 - } - return *i.TotalBlocking -} - -// GetIssueID returns the IssueID field. -func (i *IssueDependencyRequest) GetIssueID() int64 { - if i == nil { - return 0 - } - return i.IssueID -} - -// 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 { - return nil - } - return i.Actor -} - -// GetAssignee returns the Assignee field. -func (i *IssueEvent) GetAssignee() *User { - if i == nil { - return nil - } - return i.Assignee -} - -// GetAssigner returns the Assigner field. -func (i *IssueEvent) GetAssigner() *User { - if i == nil { - return nil - } - return i.Assigner -} - -// GetCommitID returns the CommitID field if it's non-nil, zero value otherwise. -func (i *IssueEvent) GetCommitID() string { - if i == nil || i.CommitID == nil { - return "" - } - return *i.CommitID -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (i *IssueEvent) GetCreatedAt() Timestamp { - if i == nil || i.CreatedAt == nil { - return Timestamp{} - } - return *i.CreatedAt -} - -// GetDismissedReview returns the DismissedReview field. -func (i *IssueEvent) GetDismissedReview() *DismissedReview { - if i == nil { - return nil - } - return i.DismissedReview -} - -// GetEvent returns the Event field if it's non-nil, zero value otherwise. -func (i *IssueEvent) GetEvent() string { - if i == nil || i.Event == nil { - return "" - } - return *i.Event -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (i *IssueEvent) GetID() int64 { - if i == nil || i.ID == nil { - return 0 - } - return *i.ID -} - -// GetIssue returns the Issue field. -func (i *IssueEvent) GetIssue() *Issue { - if i == nil { - return nil - } - return i.Issue -} - -// GetLabel returns the Label field. -func (i *IssueEvent) GetLabel() *Label { - if i == nil { - return nil - } - return i.Label -} - -// GetLockReason returns the LockReason field if it's non-nil, zero value otherwise. -func (i *IssueEvent) GetLockReason() string { - if i == nil || i.LockReason == nil { - return "" - } - return *i.LockReason -} - -// GetMilestone returns the Milestone field. -func (i *IssueEvent) GetMilestone() *Milestone { - if i == nil { - return nil - } - return i.Milestone -} - -// GetPerformedViaGithubApp returns the PerformedViaGithubApp field. -func (i *IssueEvent) GetPerformedViaGithubApp() *App { - if i == nil { - return nil - } - return i.PerformedViaGithubApp -} - -// GetRename returns the Rename field. -func (i *IssueEvent) GetRename() *Rename { - if i == nil { - return nil - } - return i.Rename -} - -// GetRepository returns the Repository field. -func (i *IssueEvent) GetRepository() *Repository { - if i == nil { - return nil - } - return i.Repository -} - -// GetRequestedReviewer returns the RequestedReviewer field. -func (i *IssueEvent) GetRequestedReviewer() *User { - if i == nil { - return nil - } - return i.RequestedReviewer -} - -// GetRequestedTeam returns the RequestedTeam field. -func (i *IssueEvent) GetRequestedTeam() *Team { - if i == nil { - return nil - } - return i.RequestedTeam -} - -// GetReviewRequester returns the ReviewRequester field. -func (i *IssueEvent) GetReviewRequester() *User { - if i == nil { - return nil - } - return i.ReviewRequester -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (i *IssueEvent) GetURL() string { - if i == nil || i.URL == nil { - return "" - } - return *i.URL -} - -// GetDataType returns the DataType field. -func (i *IssueFieldValue) GetDataType() string { - if i == nil { - return "" - } - return i.DataType -} - -// GetIssueFieldID returns the IssueFieldID field. -func (i *IssueFieldValue) GetIssueFieldID() int64 { - if i == nil { - return 0 - } - return i.IssueFieldID -} - -// GetNodeID returns the NodeID field. -func (i *IssueFieldValue) GetNodeID() string { - if i == nil { - return "" - } - return i.NodeID -} - -// GetSingleSelectOption returns the SingleSelectOption field. -func (i *IssueFieldValue) GetSingleSelectOption() *IssueFieldValueSingleSelectOption { - if i == nil { - return nil - } - return i.SingleSelectOption -} - -// GetValue returns the Value field. -func (i *IssueFieldValue) GetValue() any { - if i == nil { - return nil - } - return i.Value -} - -// GetColor returns the Color field. -func (i *IssueFieldValueSingleSelectOption) GetColor() string { - if i == nil { - return "" - } - return i.Color -} - -// GetID returns the ID field. -func (i *IssueFieldValueSingleSelectOption) GetID() int64 { - if i == nil { - return 0 - } - return i.ID -} - -// GetName returns the Name field. -func (i *IssueFieldValueSingleSelectOption) GetName() string { - if i == nil { - return "" - } - return i.Name -} - -// GetAssignee returns the Assignee field if it's non-nil, zero value otherwise. -func (i *IssueImport) GetAssignee() string { - if i == nil || i.Assignee == nil { - return "" - } - 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 { - return false - } - return *i.Closed -} - -// GetClosedAt returns the ClosedAt field if it's non-nil, zero value otherwise. -func (i *IssueImport) GetClosedAt() Timestamp { - if i == nil || i.ClosedAt == nil { - return Timestamp{} - } - return *i.ClosedAt -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (i *IssueImport) GetCreatedAt() Timestamp { - if i == nil || i.CreatedAt == nil { - return 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 { - return 0 - } - 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 { - return Timestamp{} - } - return *i.UpdatedAt -} - -// GetCode returns the Code field if it's non-nil, zero value otherwise. -func (i *IssueImportError) GetCode() string { - if i == nil || i.Code == nil { - return "" - } - return *i.Code -} - -// GetField returns the Field field if it's non-nil, zero value otherwise. -func (i *IssueImportError) GetField() string { - if i == nil || i.Field == nil { - return "" - } - return *i.Field -} - -// GetLocation returns the Location field if it's non-nil, zero value otherwise. -func (i *IssueImportError) GetLocation() string { - if i == nil || i.Location == nil { - return "" - } - return *i.Location -} - -// GetResource returns the Resource field if it's non-nil, zero value otherwise. -func (i *IssueImportError) GetResource() string { - if i == nil || i.Resource == nil { - return "" - } - return *i.Resource -} - -// GetValue returns the Value field if it's non-nil, zero value otherwise. -func (i *IssueImportError) GetValue() string { - if i == nil || i.Value == nil { - return "" - } - 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 { - return Timestamp{} - } - return *i.CreatedAt -} - -// GetDocumentationURL returns the DocumentationURL field if it's non-nil, zero value otherwise. -func (i *IssueImportResponse) GetDocumentationURL() string { - if i == nil || i.DocumentationURL == nil { - return "" - } - 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 { - return 0 - } - return *i.ID -} - -// GetImportIssuesURL returns the ImportIssuesURL field if it's non-nil, zero value otherwise. -func (i *IssueImportResponse) GetImportIssuesURL() string { - if i == nil || i.ImportIssuesURL == nil { - return "" - } - return *i.ImportIssuesURL -} - -// GetMessage returns the Message field if it's non-nil, zero value otherwise. -func (i *IssueImportResponse) GetMessage() string { - if i == nil || i.Message == nil { - return "" - } - return *i.Message -} - -// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise. -func (i *IssueImportResponse) GetRepositoryURL() string { - if i == nil || i.RepositoryURL == nil { - return "" - } - return *i.RepositoryURL -} - -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (i *IssueImportResponse) GetStatus() string { - if i == nil || i.Status == nil { - return "" - } - return *i.Status -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (i *IssueImportResponse) GetUpdatedAt() Timestamp { - if i == nil || i.UpdatedAt == nil { - return Timestamp{} - } - return *i.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (i *IssueImportResponse) GetURL() string { - if i == nil || i.URL == nil { - return "" - } - 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 { - return "" - } - return *i.Direction -} - -// GetSince returns the Since field if it's non-nil, zero value otherwise. -func (i *IssueListCommentsOptions) GetSince() time.Time { - if i == nil || i.Since == nil { - return time.Time{} - } - return *i.Since -} - -// GetSort returns the Sort field if it's non-nil, zero value otherwise. -func (i *IssueListCommentsOptions) GetSort() string { - if i == nil || i.Sort == nil { - return "" - } - return *i.Sort -} - -// GetFieldID returns the FieldID field. -func (i *IssueRequestFieldValue) GetFieldID() int64 { - if i == nil { - return 0 - } - return i.FieldID -} - -// GetValue returns the Value field. -func (i *IssueRequestFieldValue) GetValue() any { - if i == nil { - return nil - } - return i.Value -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (i *IssuesEvent) GetAction() string { - if i == nil || i.Action == nil { - return "" - } - return *i.Action -} - -// GetAssignee returns the Assignee field. -func (i *IssuesEvent) GetAssignee() *User { - if i == nil { - return nil - } - return i.Assignee -} - -// GetChanges returns the Changes field. -func (i *IssuesEvent) GetChanges() *EditChange { - if i == nil { - return nil - } - return i.Changes -} - -// GetInstallation returns the Installation field. -func (i *IssuesEvent) GetInstallation() *Installation { - if i == nil { - return nil - } - return i.Installation -} - -// GetIssue returns the Issue field. -func (i *IssuesEvent) GetIssue() *Issue { - if i == nil { - return nil - } - return i.Issue -} - -// GetLabel returns the Label field. -func (i *IssuesEvent) GetLabel() *Label { - if i == nil { - return nil - } - return i.Label -} - -// GetMilestone returns the Milestone field. -func (i *IssuesEvent) GetMilestone() *Milestone { - if i == nil { - return nil - } - return i.Milestone -} - -// GetOrg returns the Org field. -func (i *IssuesEvent) GetOrg() *Organization { - if i == nil { - return nil - } - return i.Org -} - -// GetRepo returns the Repo field. -func (i *IssuesEvent) GetRepo() *Repository { - if i == nil { - return nil - } - return i.Repo -} - -// GetSender returns the Sender field. -func (i *IssuesEvent) GetSender() *User { - if i == nil { - return nil - } - return i.Sender -} - -// GetIncompleteResults returns the IncompleteResults field if it's non-nil, zero value otherwise. -func (i *IssuesSearchResult) GetIncompleteResults() bool { - if i == nil || i.IncompleteResults == nil { - return false - } - 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 -} - -// GetSearchType returns the SearchType field if it's non-nil, zero value otherwise. -func (i *IssuesSearchResult) GetSearchType() string { - if i == nil || i.SearchType == nil { - return "" - } - return *i.SearchType -} - -// GetTotal returns the Total field if it's non-nil, zero value otherwise. -func (i *IssuesSearchResult) GetTotal() int { - if i == nil || i.Total == nil { - return 0 - } - return *i.Total -} - -// GetClosedIssues returns the ClosedIssues field if it's non-nil, zero value otherwise. -func (i *IssueStats) GetClosedIssues() int { - if i == nil || i.ClosedIssues == nil { - return 0 - } - return *i.ClosedIssues -} - -// GetOpenIssues returns the OpenIssues field if it's non-nil, zero value otherwise. -func (i *IssueStats) GetOpenIssues() int { - if i == nil || i.OpenIssues == nil { - return 0 - } - return *i.OpenIssues -} - -// GetTotalIssues returns the TotalIssues field if it's non-nil, zero value otherwise. -func (i *IssueStats) GetTotalIssues() int { - if i == nil || i.TotalIssues == nil { - return 0 - } - return *i.TotalIssues -} - -// GetColor returns the Color field if it's non-nil, zero value otherwise. -func (i *IssueType) GetColor() string { - if i == nil || i.Color == nil { - return "" - } - return *i.Color -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (i *IssueType) GetCreatedAt() Timestamp { - if i == nil || i.CreatedAt == nil { - return Timestamp{} - } - return *i.CreatedAt -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (i *IssueType) GetDescription() string { - if i == nil || i.Description == nil { - return "" - } - return *i.Description -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (i *IssueType) GetID() int64 { - if i == nil || i.ID == nil { - return 0 - } - return *i.ID -} - -// GetIsEnabled returns the IsEnabled field if it's non-nil, zero value otherwise. -func (i *IssueType) GetIsEnabled() bool { - if i == nil || i.IsEnabled == nil { - return false - } - return *i.IsEnabled -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (i *IssueType) GetName() string { - if i == nil || i.Name == nil { - return "" - } - return *i.Name -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (i *IssueType) GetNodeID() string { - if i == nil || i.NodeID == nil { - return "" - } - return *i.NodeID -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (i *IssueType) GetUpdatedAt() Timestamp { - if i == nil || i.UpdatedAt == nil { - return Timestamp{} - } - return *i.UpdatedAt -} - -// GetEncodedJITConfig returns the EncodedJITConfig field if it's non-nil, zero value otherwise. -func (j *JITRunnerConfig) GetEncodedJITConfig() string { - if j == nil || j.EncodedJITConfig == nil { - return "" - } - return *j.EncodedJITConfig -} - -// GetRunner returns the Runner field. -func (j *JITRunnerConfig) GetRunner() *Runner { - if j == nil { - return nil - } - 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 { - return 0 - } - return *j.TotalCount -} - -// GetAddedBy returns the AddedBy field if it's non-nil, zero value otherwise. -func (k *Key) GetAddedBy() string { - if k == nil || k.AddedBy == nil { - return "" - } - return *k.AddedBy -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (k *Key) GetCreatedAt() Timestamp { - if k == nil || k.CreatedAt == nil { - return Timestamp{} - } - return *k.CreatedAt -} - -// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. -func (k *Key) GetEnabled() bool { - if k == nil || k.Enabled == nil { - return false - } - return *k.Enabled -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (k *Key) GetID() int64 { - if k == nil || k.ID == nil { - return 0 - } - return *k.ID -} - -// GetKey returns the Key field if it's non-nil, zero value otherwise. -func (k *Key) GetKey() string { - if k == nil || k.Key == nil { - return "" - } - return *k.Key -} - -// GetLastUsed returns the LastUsed field if it's non-nil, zero value otherwise. -func (k *Key) GetLastUsed() Timestamp { - if k == nil || k.LastUsed == nil { - return Timestamp{} - } - return *k.LastUsed -} - -// GetReadOnly returns the ReadOnly field if it's non-nil, zero value otherwise. -func (k *Key) GetReadOnly() bool { - if k == nil || k.ReadOnly == nil { - return false - } - return *k.ReadOnly -} - -// GetTitle returns the Title field if it's non-nil, zero value otherwise. -func (k *Key) GetTitle() string { - if k == nil || k.Title == nil { - return "" - } - return *k.Title -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (k *Key) GetURL() string { - if k == nil || k.URL == nil { - return "" - } - return *k.URL -} - -// GetVerified returns the Verified field if it's non-nil, zero value otherwise. -func (k *Key) GetVerified() bool { - if k == nil || k.Verified == nil { - return false - } - return *k.Verified -} - -// GetColor returns the Color field. -func (l *Label) GetColor() string { - if l == nil { - return "" - } - return l.Color -} - -// GetDefault returns the Default field. -func (l *Label) GetDefault() bool { - if l == nil { - return false - } - return l.Default -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (l *Label) GetDescription() string { - if l == nil || l.Description == nil { - return "" - } - return *l.Description -} - -// GetID returns the ID field. -func (l *Label) GetID() int64 { - if l == nil { - return 0 - } - return l.ID -} - -// GetName returns the Name field. -func (l *Label) GetName() string { - if l == nil { - return "" - } - return l.Name -} - -// GetNodeID returns the NodeID field. -func (l *Label) GetNodeID() string { - if l == nil { - return "" - } - return l.NodeID -} - -// GetURL returns the URL field. -func (l *Label) GetURL() string { - if l == nil { - return "" - } - return l.URL -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (l *LabelEvent) GetAction() string { - if l == nil || l.Action == nil { - return "" - } - return *l.Action -} - -// GetChanges returns the Changes field. -func (l *LabelEvent) GetChanges() *EditChange { - if l == nil { - return nil - } - return l.Changes -} - -// GetInstallation returns the Installation field. -func (l *LabelEvent) GetInstallation() *Installation { - if l == nil { - return nil - } - return l.Installation -} - -// GetLabel returns the Label field. -func (l *LabelEvent) GetLabel() *Label { - if l == nil { - return nil - } - return l.Label -} - -// GetOrg returns the Org field. -func (l *LabelEvent) GetOrg() *Organization { - if l == nil { - return nil - } - return l.Org -} - -// GetRepo returns the Repo field. -func (l *LabelEvent) GetRepo() *Repository { - if l == nil { - return nil - } - return l.Repo -} - -// GetSender returns the Sender field. -func (l *LabelEvent) GetSender() *User { - if l == nil { - return nil - } - return l.Sender -} - -// GetColor returns the Color field if it's non-nil, zero value otherwise. -func (l *LabelResult) GetColor() string { - if l == nil || l.Color == nil { - return "" - } - return *l.Color -} - -// GetDefault returns the Default field if it's non-nil, zero value otherwise. -func (l *LabelResult) GetDefault() bool { - if l == nil || l.Default == nil { - return false - } - return *l.Default -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (l *LabelResult) GetDescription() string { - if l == nil || l.Description == nil { - return "" - } - return *l.Description -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (l *LabelResult) GetID() int64 { - if l == nil || l.ID == nil { - return 0 - } - return *l.ID -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (l *LabelResult) GetName() string { - if l == nil || l.Name == nil { - return "" - } - return *l.Name -} - -// 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 -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (l *LabelResult) GetURL() string { - if l == nil || l.URL == nil { - return "" - } - return *l.URL -} - -// GetIncompleteResults returns the IncompleteResults field if it's non-nil, zero value otherwise. -func (l *LabelsSearchResult) GetIncompleteResults() bool { - if l == nil || l.IncompleteResults == nil { - return false - } - 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 { - return 0 - } - return *l.Total -} - -// GetOID returns the OID field if it's non-nil, zero value otherwise. -func (l *LargeFile) GetOID() string { - if l == nil || l.OID == nil { - return "" - } - return *l.OID -} - -// GetPath returns the Path field if it's non-nil, zero value otherwise. -func (l *LargeFile) GetPath() string { - if l == nil || l.Path == nil { - return "" - } - return *l.Path -} - -// GetRefName returns the RefName field if it's non-nil, zero value otherwise. -func (l *LargeFile) GetRefName() string { - if l == nil || l.RefName == nil { - return "" - } - return *l.RefName -} - -// GetSize returns the Size field if it's non-nil, zero value otherwise. -func (l *LargeFile) GetSize() int { - if l == nil || l.Size == nil { - return 0 - } - return *l.Size -} - -// GetProperties returns the Properties field. -func (l *LastLicenseSync) GetProperties() *LastLicenseSyncProperties { - if l == nil { - return nil - } - 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 { - return 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 { - return "" - } - return *l.Body -} - -// GetConditions returns the Conditions field if it's non-nil, zero value otherwise. -func (l *License) GetConditions() []string { - if l == nil || l.Conditions == nil { - return nil - } - return *l.Conditions -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (l *License) GetDescription() string { - if l == nil || l.Description == nil { - return "" - } - return *l.Description -} - -// GetFeatured returns the Featured field if it's non-nil, zero value otherwise. -func (l *License) GetFeatured() bool { - if l == nil || l.Featured == nil { - return false - } - return *l.Featured -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (l *License) GetHTMLURL() string { - if l == nil || l.HTMLURL == nil { - return "" - } - return *l.HTMLURL -} - -// GetImplementation returns the Implementation field if it's non-nil, zero value otherwise. -func (l *License) GetImplementation() string { - if l == nil || l.Implementation == nil { - return "" - } - return *l.Implementation -} - -// GetKey returns the Key field if it's non-nil, zero value otherwise. -func (l *License) GetKey() string { - if l == nil || l.Key == nil { - return "" - } - return *l.Key -} - -// GetLimitations returns the Limitations field if it's non-nil, zero value otherwise. -func (l *License) GetLimitations() []string { - if l == nil || l.Limitations == nil { - return nil - } - return *l.Limitations -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (l *License) GetName() string { - if l == nil || l.Name == nil { - return "" - } - return *l.Name -} - -// GetPermissions returns the Permissions field if it's non-nil, zero value otherwise. -func (l *License) GetPermissions() []string { - if l == nil || l.Permissions == nil { - return nil - } - return *l.Permissions -} - -// GetSPDXID returns the SPDXID field if it's non-nil, zero value otherwise. -func (l *License) GetSPDXID() string { - if l == nil || l.SPDXID == nil { - return "" - } - return *l.SPDXID -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (l *License) GetURL() string { - if l == nil || l.URL == nil { - return "" - } - return *l.URL -} - -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (l *LicenseCheck) GetStatus() string { - if l == nil || l.Status == nil { - return "" - } - return *l.Status -} - -// GetAdvancedSecurityEnabled returns the AdvancedSecurityEnabled field if it's non-nil, zero value otherwise. -func (l *LicenseStatus) GetAdvancedSecurityEnabled() bool { - if l == nil || l.AdvancedSecurityEnabled == nil { - return false - } - return *l.AdvancedSecurityEnabled -} - -// GetAdvancedSecuritySeats returns the AdvancedSecuritySeats field if it's non-nil, zero value otherwise. -func (l *LicenseStatus) GetAdvancedSecuritySeats() int { - if l == nil || l.AdvancedSecuritySeats == nil { - return 0 - } - return *l.AdvancedSecuritySeats -} - -// GetClusterSupport returns the ClusterSupport field if it's non-nil, zero value otherwise. -func (l *LicenseStatus) GetClusterSupport() bool { - if l == nil || l.ClusterSupport == nil { - return false - } - return *l.ClusterSupport -} - -// GetCompany returns the Company field if it's non-nil, zero value otherwise. -func (l *LicenseStatus) GetCompany() string { - if l == nil || l.Company == nil { - return "" - } - return *l.Company -} - -// GetCroquetSupport returns the CroquetSupport field if it's non-nil, zero value otherwise. -func (l *LicenseStatus) GetCroquetSupport() bool { - if l == nil || l.CroquetSupport == nil { - return false - } - return *l.CroquetSupport -} - -// GetCustomTerms returns the CustomTerms field if it's non-nil, zero value otherwise. -func (l *LicenseStatus) GetCustomTerms() bool { - if l == nil || l.CustomTerms == nil { - return false - } - return *l.CustomTerms -} - -// GetEvaluation returns the Evaluation field if it's non-nil, zero value otherwise. -func (l *LicenseStatus) GetEvaluation() bool { - if l == nil || l.Evaluation == nil { - return false - } - return *l.Evaluation -} - -// GetExpireAt returns the ExpireAt field if it's non-nil, zero value otherwise. -func (l *LicenseStatus) GetExpireAt() Timestamp { - if l == nil || l.ExpireAt == nil { - return Timestamp{} - } - return *l.ExpireAt -} - -// GetInsightsEnabled returns the InsightsEnabled field if it's non-nil, zero value otherwise. -func (l *LicenseStatus) GetInsightsEnabled() bool { - if l == nil || l.InsightsEnabled == nil { - return false - } - return *l.InsightsEnabled -} - -// GetInsightsExpireAt returns the InsightsExpireAt field if it's non-nil, zero value otherwise. -func (l *LicenseStatus) GetInsightsExpireAt() Timestamp { - if l == nil || l.InsightsExpireAt == nil { - return Timestamp{} - } - return *l.InsightsExpireAt -} - -// GetLearningLabEvaluationExpires returns the LearningLabEvaluationExpires field if it's non-nil, zero value otherwise. -func (l *LicenseStatus) GetLearningLabEvaluationExpires() Timestamp { - if l == nil || l.LearningLabEvaluationExpires == nil { - return Timestamp{} - } - return *l.LearningLabEvaluationExpires -} - -// GetLearningLabSeats returns the LearningLabSeats field if it's non-nil, zero value otherwise. -func (l *LicenseStatus) GetLearningLabSeats() int { - if l == nil || l.LearningLabSeats == nil { - return 0 - } - return *l.LearningLabSeats -} - -// GetPerpetual returns the Perpetual field if it's non-nil, zero value otherwise. -func (l *LicenseStatus) GetPerpetual() bool { - if l == nil || l.Perpetual == nil { - return false - } - return *l.Perpetual -} - -// GetReferenceNumber returns the ReferenceNumber field if it's non-nil, zero value otherwise. -func (l *LicenseStatus) GetReferenceNumber() string { - if l == nil || l.ReferenceNumber == nil { - return "" - } - return *l.ReferenceNumber -} - -// GetSeats returns the Seats field if it's non-nil, zero value otherwise. -func (l *LicenseStatus) GetSeats() int { - if l == nil || l.Seats == nil { - return 0 - } - return *l.Seats -} - -// GetSSHAllowed returns the SSHAllowed field if it's non-nil, zero value otherwise. -func (l *LicenseStatus) GetSSHAllowed() bool { - if l == nil || l.SSHAllowed == nil { - return false - } - return *l.SSHAllowed -} - -// GetSupportKey returns the SupportKey field if it's non-nil, zero value otherwise. -func (l *LicenseStatus) GetSupportKey() bool { - if l == nil || l.SupportKey == nil { - return false - } - return *l.SupportKey -} - -// GetUnlimitedSeating returns the UnlimitedSeating field if it's non-nil, zero value otherwise. -func (l *LicenseStatus) GetUnlimitedSeating() bool { - if l == nil || l.UnlimitedSeating == nil { - return false - } - return *l.UnlimitedSeating -} - -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (l *LinearHistoryRequirementEnforcementLevelChanges) GetFrom() string { - if l == nil || l.From == nil { - return "" - } - return *l.From -} - -// GetDirection returns the Direction field if it's non-nil, zero value otherwise. -func (l *ListAlertsOptions) GetDirection() string { - if l == nil || l.Direction == nil { - return "" - } - return *l.Direction -} - -// GetEcosystem returns the Ecosystem field if it's non-nil, zero value otherwise. -func (l *ListAlertsOptions) GetEcosystem() string { - if l == nil || l.Ecosystem == nil { - return "" - } - return *l.Ecosystem -} - -// GetPackage returns the Package field if it's non-nil, zero value otherwise. -func (l *ListAlertsOptions) GetPackage() string { - if l == nil || l.Package == nil { - return "" - } - return *l.Package -} - -// GetScope returns the Scope field if it's non-nil, zero value otherwise. -func (l *ListAlertsOptions) GetScope() string { - if l == nil || l.Scope == nil { - return "" - } - return *l.Scope -} - -// GetSeverity returns the Severity field if it's non-nil, zero value otherwise. -func (l *ListAlertsOptions) GetSeverity() string { - if l == nil || l.Severity == nil { - return "" - } - return *l.Severity -} - -// GetSort returns the Sort field if it's non-nil, zero value otherwise. -func (l *ListAlertsOptions) GetSort() string { - if l == nil || l.Sort == nil { - return "" - } - return *l.Sort -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (l *ListAlertsOptions) GetState() string { - if l == nil || l.State == nil { - return "" - } - return *l.State -} - -// 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 { - return "" - } - return *l.Name -} - -// GetAppID returns the AppID field if it's non-nil, zero value otherwise. -func (l *ListCheckRunsOptions) GetAppID() int64 { - if l == nil || l.AppID == nil { - return 0 - } - return *l.AppID -} - -// GetCheckName returns the CheckName field if it's non-nil, zero value otherwise. -func (l *ListCheckRunsOptions) GetCheckName() string { - if l == nil || l.CheckName == nil { - return "" - } - return *l.CheckName -} - -// GetFilter returns the Filter field if it's non-nil, zero value otherwise. -func (l *ListCheckRunsOptions) GetFilter() string { - if l == nil || l.Filter == nil { - return "" - } - return *l.Filter -} - -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (l *ListCheckRunsOptions) GetStatus() string { - if l == nil || l.Status == nil { - return "" - } - 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 { - return 0 - } - return *l.Total -} - -// GetAppID returns the AppID field if it's non-nil, zero value otherwise. -func (l *ListCheckSuiteOptions) GetAppID() int64 { - if l == nil || l.AppID == nil { - return 0 - } - return *l.AppID -} - -// GetCheckName returns the CheckName field if it's non-nil, zero value otherwise. -func (l *ListCheckSuiteOptions) GetCheckName() string { - if l == nil || l.CheckName == nil { - return "" - } - 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 { - return 0 - } - return *l.Total -} - -// GetDirection returns the Direction field. -func (l *ListCodeQualityFindingsOptions) GetDirection() string { - if l == nil { - return "" - } - return l.Direction -} - -// GetState returns the State field. -func (l *ListCodeQualityFindingsOptions) GetState() string { - if l == nil { - return "" - } - return l.State -} - -// 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 { - return 0 - } - 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 { - return "" - } - 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 { - return 0 - } - 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 { - return 0 - } - 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 { - return "" - } - 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 { - return "" - } - return *l.Affects -} - -// GetCVEID returns the CVEID field if it's non-nil, zero value otherwise. -func (l *ListGlobalSecurityAdvisoriesOptions) GetCVEID() string { - if l == nil || l.CVEID == nil { - return "" - } - 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 { - return "" - } - return *l.Ecosystem -} - -// GetGHSAID returns the GHSAID field if it's non-nil, zero value otherwise. -func (l *ListGlobalSecurityAdvisoriesOptions) GetGHSAID() string { - if l == nil || l.GHSAID == nil { - return "" - } - return *l.GHSAID -} - -// GetIsWithdrawn returns the IsWithdrawn field if it's non-nil, zero value otherwise. -func (l *ListGlobalSecurityAdvisoriesOptions) GetIsWithdrawn() bool { - if l == nil || l.IsWithdrawn == nil { - return false - } - return *l.IsWithdrawn -} - -// GetModified returns the Modified field if it's non-nil, zero value otherwise. -func (l *ListGlobalSecurityAdvisoriesOptions) GetModified() string { - if l == nil || l.Modified == nil { - return "" - } - return *l.Modified -} - -// GetPublished returns the Published field if it's non-nil, zero value otherwise. -func (l *ListGlobalSecurityAdvisoriesOptions) GetPublished() string { - if l == nil || l.Published == nil { - return "" - } - return *l.Published -} - -// GetSeverity returns the Severity field if it's non-nil, zero value otherwise. -func (l *ListGlobalSecurityAdvisoriesOptions) GetSeverity() string { - if l == nil || l.Severity == nil { - return "" - } - return *l.Severity -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (l *ListGlobalSecurityAdvisoriesOptions) GetType() string { - if l == nil || l.Type == nil { - return "" - } - return *l.Type -} - -// GetUpdated returns the Updated field if it's non-nil, zero value otherwise. -func (l *ListGlobalSecurityAdvisoriesOptions) GetUpdated() string { - if l == nil || l.Updated == nil { - return "" - } - 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 { - return false - } - 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 -} - -// GetRepositories returns the Repositories slice if it's non-nil, nil otherwise. -func (l *ListOrganizationCopilotCodingAgentRepositoriesResponse) GetRepositories() []*Repository { - if l == nil || l.Repositories == nil { - return nil - } - return l.Repositories -} - -// GetTotalCount returns the TotalCount field. -func (l *ListOrganizationCopilotCodingAgentRepositoriesResponse) GetTotalCount() int { - if l == nil { - return 0 - } - return l.TotalCount -} - -// 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 { - return 0 - } - 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 { - return 0 - } - return *l.Count -} - -// GetExcludedAttributes returns the ExcludedAttributes field if it's non-nil, zero value otherwise. -func (l *ListProvisionedSCIMGroupsEnterpriseOptions) GetExcludedAttributes() string { - if l == nil || l.ExcludedAttributes == nil { - return "" - } - return *l.ExcludedAttributes -} - -// GetFilter returns the Filter field if it's non-nil, zero value otherwise. -func (l *ListProvisionedSCIMGroupsEnterpriseOptions) GetFilter() string { - if l == nil || l.Filter == nil { - return "" - } - return *l.Filter -} - -// GetStartIndex returns the StartIndex field if it's non-nil, zero value otherwise. -func (l *ListProvisionedSCIMGroupsEnterpriseOptions) GetStartIndex() int { - if l == nil || l.StartIndex == nil { - return 0 - } - return *l.StartIndex -} - -// GetCount returns the Count field if it's non-nil, zero value otherwise. -func (l *ListProvisionedSCIMUsersEnterpriseOptions) GetCount() int { - if l == nil || l.Count == nil { - return 0 - } - return *l.Count -} - -// GetFilter returns the Filter field if it's non-nil, zero value otherwise. -func (l *ListProvisionedSCIMUsersEnterpriseOptions) GetFilter() string { - if l == nil || l.Filter == nil { - return "" - } - return *l.Filter -} - -// GetStartIndex returns the StartIndex field if it's non-nil, zero value otherwise. -func (l *ListProvisionedSCIMUsersEnterpriseOptions) GetStartIndex() int { - if l == nil || l.StartIndex == nil { - return 0 - } - 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 { - return "" - } - return *l.ClientIP -} - -// GetLocation returns the Location field if it's non-nil, zero value otherwise. -func (l *ListRepoMachineTypesOptions) GetLocation() string { - if l == nil || l.Location == nil { - return "" - } - return *l.Location -} - -// GetRef returns the Ref field if it's non-nil, zero value otherwise. -func (l *ListRepoMachineTypesOptions) GetRef() string { - if l == nil || l.Ref == nil { - return "" - } - 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 { - return 0 - } - 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 { - return "" - } - return *l.Name -} - -// GetCount returns the Count field if it's non-nil, zero value otherwise. -func (l *ListSCIMProvisionedIdentitiesOptions) GetCount() int { - if l == nil || l.Count == nil { - return 0 - } - return *l.Count -} - -// GetFilter returns the Filter field if it's non-nil, zero value otherwise. -func (l *ListSCIMProvisionedIdentitiesOptions) GetFilter() string { - if l == nil || l.Filter == nil { - return "" - } - return *l.Filter -} - -// GetStartIndex returns the StartIndex field if it's non-nil, zero value otherwise. -func (l *ListSCIMProvisionedIdentitiesOptions) GetStartIndex() int { - if l == nil || l.StartIndex == nil { - return 0 - } - 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 -} - -// GetIsUnmatchedOnly returns the IsUnmatchedOnly field. -func (l *ListVisualStudioSubscriptionsOptions) GetIsUnmatchedOnly() bool { - if l == nil { - return false - } - return l.IsUnmatchedOnly -} - -// 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 { - return 0 - } - return *l.EndColumn -} - -// GetEndLine returns the EndLine field if it's non-nil, zero value otherwise. -func (l *Location) GetEndLine() int { - if l == nil || l.EndLine == nil { - return 0 - } - return *l.EndLine -} - -// GetPath returns the Path field if it's non-nil, zero value otherwise. -func (l *Location) GetPath() string { - if l == nil || l.Path == nil { - return "" - } - return *l.Path -} - -// GetStartColumn returns the StartColumn field if it's non-nil, zero value otherwise. -func (l *Location) GetStartColumn() int { - if l == nil || l.StartColumn == nil { - return 0 - } - return *l.StartColumn -} - -// GetStartLine returns the StartLine field if it's non-nil, zero value otherwise. -func (l *Location) GetStartLine() int { - if l == nil || l.StartLine == nil { - return 0 - } - return *l.StartLine -} - -// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. -func (l *LockBranch) GetEnabled() bool { - if l == nil || l.Enabled == nil { - return false - } - 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 { - return "" - } - return *m.Hostname -} - -// GetMessage returns the Message field if it's non-nil, zero value otherwise. -func (m *MaintenanceOperationStatus) GetMessage() string { - if m == nil || m.Message == nil { - return "" - } - return *m.Message -} - -// GetUUID returns the UUID field if it's non-nil, zero value otherwise. -func (m *MaintenanceOperationStatus) GetUUID() string { - if m == nil || m.UUID == nil { - return "" - } - 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 { - return "" - } - return *m.MaintenanceModeMessage -} - -// GetUUID returns the UUID field if it's non-nil, zero value otherwise. -func (m *MaintenanceOptions) GetUUID() string { - if m == nil || m.UUID == nil { - return "" - } - return *m.UUID -} - -// GetWhen returns the When field if it's non-nil, zero value otherwise. -func (m *MaintenanceOptions) GetWhen() string { - if m == nil || m.When == nil { - return "" - } - return *m.When -} - -// GetCanUnsetMaintenance returns the CanUnsetMaintenance field if it's non-nil, zero value otherwise. -func (m *MaintenanceStatus) GetCanUnsetMaintenance() bool { - if m == nil || m.CanUnsetMaintenance == nil { - return false - } - 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 { - return "" - } - 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 { - return "" - } - return *m.MaintenanceModeMessage -} - -// GetScheduledTime returns the ScheduledTime field if it's non-nil, zero value otherwise. -func (m *MaintenanceStatus) GetScheduledTime() Timestamp { - if m == nil || m.ScheduledTime == nil { - return Timestamp{} - } - return *m.ScheduledTime -} - -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (m *MaintenanceStatus) GetStatus() string { - if m == nil || m.Status == nil { - return "" - } - return *m.Status -} - -// GetUUID returns the UUID field if it's non-nil, zero value otherwise. -func (m *MaintenanceStatus) GetUUID() string { - if m == nil || m.UUID == nil { - return "" - } - 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 { - return Timestamp{} - } - return *m.EffectiveDate -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (m *MarketplacePendingChange) GetID() int64 { - if m == nil || m.ID == nil { - return 0 - } - return *m.ID -} - -// GetPlan returns the Plan field. -func (m *MarketplacePendingChange) GetPlan() *MarketplacePlan { - if m == nil { - return nil - } - return m.Plan -} - -// GetUnitCount returns the UnitCount field if it's non-nil, zero value otherwise. -func (m *MarketplacePendingChange) GetUnitCount() int { - if m == nil || m.UnitCount == nil { - return 0 - } - return *m.UnitCount -} - -// GetAccountsURL returns the AccountsURL field if it's non-nil, zero value otherwise. -func (m *MarketplacePlan) GetAccountsURL() string { - if m == nil || m.AccountsURL == nil { - return "" - } - return *m.AccountsURL -} - -// GetBullets returns the Bullets field if it's non-nil, zero value otherwise. -func (m *MarketplacePlan) GetBullets() []string { - if m == nil || m.Bullets == nil { - return nil - } - return *m.Bullets -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (m *MarketplacePlan) GetDescription() string { - if m == nil || m.Description == nil { - return "" - } - return *m.Description -} - -// GetHasFreeTrial returns the HasFreeTrial field if it's non-nil, zero value otherwise. -func (m *MarketplacePlan) GetHasFreeTrial() bool { - if m == nil || m.HasFreeTrial == nil { - return false - } - return *m.HasFreeTrial -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (m *MarketplacePlan) GetID() int64 { - if m == nil || m.ID == nil { - return 0 - } - return *m.ID -} - -// GetMonthlyPriceInCents returns the MonthlyPriceInCents field if it's non-nil, zero value otherwise. -func (m *MarketplacePlan) GetMonthlyPriceInCents() int { - if m == nil || m.MonthlyPriceInCents == nil { - return 0 - } - return *m.MonthlyPriceInCents -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (m *MarketplacePlan) GetName() string { - if m == nil || m.Name == nil { - return "" - } - return *m.Name -} - -// GetNumber returns the Number field if it's non-nil, zero value otherwise. -func (m *MarketplacePlan) GetNumber() int { - if m == nil || m.Number == nil { - return 0 - } - return *m.Number -} - -// GetPriceModel returns the PriceModel field if it's non-nil, zero value otherwise. -func (m *MarketplacePlan) GetPriceModel() string { - if m == nil || m.PriceModel == nil { - return "" - } - return *m.PriceModel -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (m *MarketplacePlan) GetState() string { - if m == nil || m.State == nil { - return "" - } - return *m.State -} - -// GetUnitName returns the UnitName field if it's non-nil, zero value otherwise. -func (m *MarketplacePlan) GetUnitName() string { - if m == nil || m.UnitName == nil { - return "" - } - return *m.UnitName -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (m *MarketplacePlan) GetURL() string { - if m == nil || m.URL == nil { - return "" - } - return *m.URL -} - -// GetYearlyPriceInCents returns the YearlyPriceInCents field if it's non-nil, zero value otherwise. -func (m *MarketplacePlan) GetYearlyPriceInCents() int { - if m == nil || m.YearlyPriceInCents == nil { - return 0 - } - return *m.YearlyPriceInCents -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (m *MarketplacePlanAccount) GetID() int64 { - if m == nil || m.ID == nil { - return 0 - } - return *m.ID -} - -// GetLogin returns the Login field if it's non-nil, zero value otherwise. -func (m *MarketplacePlanAccount) GetLogin() string { - if m == nil || m.Login == nil { - return "" - } - return *m.Login -} - -// GetMarketplacePendingChange returns the MarketplacePendingChange field. -func (m *MarketplacePlanAccount) GetMarketplacePendingChange() *MarketplacePendingChange { - if m == nil { - return nil - } - return m.MarketplacePendingChange -} - -// GetMarketplacePurchase returns the MarketplacePurchase field. -func (m *MarketplacePlanAccount) GetMarketplacePurchase() *MarketplacePurchase { - if m == nil { - return nil - } - return m.MarketplacePurchase -} - -// GetOrganizationBillingEmail returns the OrganizationBillingEmail field if it's non-nil, zero value otherwise. -func (m *MarketplacePlanAccount) GetOrganizationBillingEmail() string { - if m == nil || m.OrganizationBillingEmail == nil { - return "" - } - return *m.OrganizationBillingEmail -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (m *MarketplacePlanAccount) GetType() string { - if m == nil || m.Type == nil { - return "" - } - return *m.Type -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (m *MarketplacePlanAccount) GetURL() string { - if m == nil || m.URL == nil { - return "" - } - return *m.URL -} - -// GetAccount returns the Account field. -func (m *MarketplacePurchase) GetAccount() *MarketplacePurchaseAccount { - if m == nil { - return nil - } - return m.Account -} - -// GetBillingCycle returns the BillingCycle field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchase) GetBillingCycle() string { - if m == nil || m.BillingCycle == nil { - return "" - } - return *m.BillingCycle -} - -// GetFreeTrialEndsOn returns the FreeTrialEndsOn field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchase) GetFreeTrialEndsOn() Timestamp { - if m == nil || m.FreeTrialEndsOn == nil { - return Timestamp{} - } - return *m.FreeTrialEndsOn -} - -// GetNextBillingDate returns the NextBillingDate field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchase) GetNextBillingDate() Timestamp { - if m == nil || m.NextBillingDate == nil { - return Timestamp{} - } - return *m.NextBillingDate -} - -// GetOnFreeTrial returns the OnFreeTrial field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchase) GetOnFreeTrial() bool { - if m == nil || m.OnFreeTrial == nil { - return false - } - return *m.OnFreeTrial -} - -// GetPlan returns the Plan field. -func (m *MarketplacePurchase) GetPlan() *MarketplacePlan { - if m == nil { - return nil - } - return m.Plan -} - -// GetUnitCount returns the UnitCount field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchase) GetUnitCount() int { - if m == nil || m.UnitCount == nil { - return 0 - } - return *m.UnitCount -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchase) GetUpdatedAt() Timestamp { - if m == nil || m.UpdatedAt == nil { - return Timestamp{} - } - return *m.UpdatedAt -} - -// GetEmail returns the Email field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchaseAccount) GetEmail() string { - if m == nil || m.Email == nil { - return "" - } - return *m.Email -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchaseAccount) GetID() int64 { - if m == nil || m.ID == nil { - return 0 - } - return *m.ID -} - -// GetLogin returns the Login field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchaseAccount) GetLogin() string { - if m == nil || m.Login == nil { - return "" - } - return *m.Login -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchaseAccount) GetNodeID() string { - if m == nil || m.NodeID == nil { - return "" - } - return *m.NodeID -} - -// GetOrganizationBillingEmail returns the OrganizationBillingEmail field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchaseAccount) GetOrganizationBillingEmail() string { - if m == nil || m.OrganizationBillingEmail == nil { - return "" - } - return *m.OrganizationBillingEmail -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchaseAccount) GetType() string { - if m == nil || m.Type == nil { - return "" - } - return *m.Type -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchaseAccount) GetURL() string { - if m == nil || m.URL == nil { - return "" - } - return *m.URL -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchaseEvent) GetAction() string { - if m == nil || m.Action == nil { - return "" - } - return *m.Action -} - -// GetEffectiveDate returns the EffectiveDate field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchaseEvent) GetEffectiveDate() Timestamp { - if m == nil || m.EffectiveDate == nil { - return Timestamp{} - } - return *m.EffectiveDate -} - -// GetInstallation returns the Installation field. -func (m *MarketplacePurchaseEvent) GetInstallation() *Installation { - if m == nil { - return nil - } - return m.Installation -} - -// GetMarketplacePurchase returns the MarketplacePurchase field. -func (m *MarketplacePurchaseEvent) GetMarketplacePurchase() *MarketplacePurchase { - if m == nil { - return nil - } - return m.MarketplacePurchase -} - -// GetOrg returns the Org field. -func (m *MarketplacePurchaseEvent) GetOrg() *Organization { - if m == nil { - return nil - } - return m.Org -} - -// GetPreviousMarketplacePurchase returns the PreviousMarketplacePurchase field. -func (m *MarketplacePurchaseEvent) GetPreviousMarketplacePurchase() *MarketplacePurchase { - if m == nil { - return nil - } - return m.PreviousMarketplacePurchase -} - -// GetSender returns the Sender field. -func (m *MarketplacePurchaseEvent) GetSender() *User { - if m == nil { - return nil - } - 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 { - return "" - } - 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 { - return nil - } - return m.Permission -} - -// GetRoleName returns the RoleName field. -func (m *MemberChanges) GetRoleName() *MemberChangesRoleName { - if m == nil { - return nil - } - return m.RoleName -} - -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (m *MemberChangesPermission) GetFrom() string { - if m == nil || m.From == nil { - return "" - } - return *m.From -} - -// GetTo returns the To field if it's non-nil, zero value otherwise. -func (m *MemberChangesPermission) GetTo() string { - if m == nil || m.To == nil { - return "" - } - return *m.To -} - -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (m *MemberChangesRoleName) GetFrom() string { - if m == nil || m.From == nil { - return "" - } - return *m.From -} - -// GetTo returns the To field if it's non-nil, zero value otherwise. -func (m *MemberChangesRoleName) GetTo() string { - if m == nil || m.To == nil { - return "" - } - return *m.To -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (m *MemberEvent) GetAction() string { - if m == nil || m.Action == nil { - return "" - } - return *m.Action -} - -// GetChanges returns the Changes field. -func (m *MemberEvent) GetChanges() *MemberChanges { - if m == nil { - return nil - } - return m.Changes -} - -// GetInstallation returns the Installation field. -func (m *MemberEvent) GetInstallation() *Installation { - if m == nil { - return nil - } - return m.Installation -} - -// GetMember returns the Member field. -func (m *MemberEvent) GetMember() *User { - if m == nil { - return nil - } - return m.Member -} - -// GetOrg returns the Org field. -func (m *MemberEvent) GetOrg() *Organization { - if m == nil { - return nil - } - return m.Org -} - -// GetRepo returns the Repo field. -func (m *MemberEvent) GetRepo() *Repository { - if m == nil { - return nil - } - return m.Repo -} - -// GetSender returns the Sender field. -func (m *MemberEvent) GetSender() *User { - if m == nil { - return nil - } - return m.Sender -} - -// GetOrganization returns the Organization field. -func (m *Membership) GetOrganization() *Organization { - if m == nil { - return nil - } - return m.Organization -} - -// GetOrganizationURL returns the OrganizationURL field if it's non-nil, zero value otherwise. -func (m *Membership) GetOrganizationURL() string { - if m == nil || m.OrganizationURL == nil { - return "" - } - return *m.OrganizationURL -} - -// GetRole returns the Role field if it's non-nil, zero value otherwise. -func (m *Membership) GetRole() string { - if m == nil || m.Role == nil { - return "" - } - return *m.Role -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (m *Membership) GetState() string { - if m == nil || m.State == nil { - return "" - } - return *m.State -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (m *Membership) GetURL() string { - if m == nil || m.URL == nil { - return "" - } - return *m.URL -} - -// GetUser returns the User field. -func (m *Membership) GetUser() *User { - if m == nil { - return nil - } - return m.User -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (m *MembershipEvent) GetAction() string { - if m == nil || m.Action == nil { - return "" - } - return *m.Action -} - -// GetInstallation returns the Installation field. -func (m *MembershipEvent) GetInstallation() *Installation { - if m == nil { - return nil - } - return m.Installation -} - -// GetMember returns the Member field. -func (m *MembershipEvent) GetMember() *User { - if m == nil { - return nil - } - return m.Member -} - -// GetOrg returns the Org field. -func (m *MembershipEvent) GetOrg() *Organization { - if m == nil { - return nil - } - return m.Org -} - -// GetScope returns the Scope field if it's non-nil, zero value otherwise. -func (m *MembershipEvent) GetScope() string { - if m == nil || m.Scope == nil { - return "" - } - return *m.Scope -} - -// GetSender returns the Sender field. -func (m *MembershipEvent) GetSender() *User { - if m == nil { - return nil - } - return m.Sender -} - -// GetTeam returns the Team field. -func (m *MembershipEvent) GetTeam() *Team { - if m == nil { - return nil - } - return m.Team -} - -// GetBaseRef returns the BaseRef field if it's non-nil, zero value otherwise. -func (m *MergeGroup) GetBaseRef() string { - if m == nil || m.BaseRef == nil { - return "" - } - return *m.BaseRef -} - -// GetBaseSHA returns the BaseSHA field if it's non-nil, zero value otherwise. -func (m *MergeGroup) GetBaseSHA() string { - if m == nil || m.BaseSHA == nil { - return "" - } - return *m.BaseSHA -} - -// GetHeadCommit returns the HeadCommit field. -func (m *MergeGroup) GetHeadCommit() *Commit { - if m == nil { - return nil - } - return m.HeadCommit -} - -// GetHeadRef returns the HeadRef field if it's non-nil, zero value otherwise. -func (m *MergeGroup) GetHeadRef() string { - if m == nil || m.HeadRef == nil { - return "" - } - return *m.HeadRef -} - -// GetHeadSHA returns the HeadSHA field if it's non-nil, zero value otherwise. -func (m *MergeGroup) GetHeadSHA() string { - if m == nil || m.HeadSHA == nil { - return "" - } - return *m.HeadSHA -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (m *MergeGroupEvent) GetAction() string { - if m == nil || m.Action == nil { - return "" - } - return *m.Action -} - -// GetInstallation returns the Installation field. -func (m *MergeGroupEvent) GetInstallation() *Installation { - if m == nil { - return nil - } - return m.Installation -} - -// GetMergeGroup returns the MergeGroup field. -func (m *MergeGroupEvent) GetMergeGroup() *MergeGroup { - if m == nil { - return nil - } - return m.MergeGroup -} - -// GetOrg returns the Org field. -func (m *MergeGroupEvent) GetOrg() *Organization { - if m == nil { - return nil - } - return m.Org -} - -// GetReason returns the Reason field if it's non-nil, zero value otherwise. -func (m *MergeGroupEvent) GetReason() string { - if m == nil || m.Reason == nil { - return "" - } - return *m.Reason -} - -// GetRepo returns the Repo field. -func (m *MergeGroupEvent) GetRepo() *Repository { - if m == nil { - return nil - } - return m.Repo -} - -// GetSender returns the Sender field. -func (m *MergeGroupEvent) GetSender() *User { - if m == nil { - return nil - } - return m.Sender -} - -// 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 { - return "" - } - return *m.Text -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (m *MetaEvent) GetAction() string { - if m == nil || m.Action == nil { - return "" - } - return *m.Action -} - -// GetHook returns the Hook field. -func (m *MetaEvent) GetHook() *Hook { - if m == nil { - return nil - } - return m.Hook -} - -// GetHookID returns the HookID field if it's non-nil, zero value otherwise. -func (m *MetaEvent) GetHookID() int64 { - if m == nil || m.HookID == nil { - return 0 - } - return *m.HookID -} - -// GetInstallation returns the Installation field. -func (m *MetaEvent) GetInstallation() *Installation { - if m == nil { - return nil - } - return m.Installation -} - -// GetOrg returns the Org field. -func (m *MetaEvent) GetOrg() *Organization { - if m == nil { - return nil - } - return m.Org -} - -// GetRepo returns the Repo field. -func (m *MetaEvent) GetRepo() *Repository { - if m == nil { - return nil - } - return m.Repo -} - -// GetSender returns the Sender field. -func (m *MetaEvent) GetSender() *User { - if m == nil { - return nil - } - return m.Sender -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (m *Metric) GetHTMLURL() string { - if m == nil || m.HTMLURL == nil { - return "" - } - return *m.HTMLURL -} - -// GetKey returns the Key field if it's non-nil, zero value otherwise. -func (m *Metric) GetKey() string { - if m == nil || m.Key == nil { - return "" - } - return *m.Key -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (m *Metric) GetName() string { - if m == nil || m.Name == nil { - return "" - } - return *m.Name -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (m *Metric) GetNodeID() string { - if m == nil || m.NodeID == nil { - return "" - } - return *m.NodeID -} - -// GetSPDXID returns the SPDXID field if it's non-nil, zero value otherwise. -func (m *Metric) GetSPDXID() string { - if m == nil || m.SPDXID == nil { - return "" - } - return *m.SPDXID -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (m *Metric) GetURL() string { - if m == nil || m.URL == nil { - return "" - } - return *m.URL -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (m *Migration) GetCreatedAt() string { - if m == nil || m.CreatedAt == nil { - return "" - } - return *m.CreatedAt -} - -// GetExcludeAttachments returns the ExcludeAttachments field if it's non-nil, zero value otherwise. -func (m *Migration) GetExcludeAttachments() bool { - if m == nil || m.ExcludeAttachments == nil { - return false - } - return *m.ExcludeAttachments -} - -// GetGUID returns the GUID field if it's non-nil, zero value otherwise. -func (m *Migration) GetGUID() string { - if m == nil || m.GUID == nil { - return "" - } - return *m.GUID -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (m *Migration) GetID() int64 { - if m == nil || m.ID == nil { - return 0 - } - return *m.ID -} - -// GetLockRepositories returns the LockRepositories field if it's non-nil, zero value otherwise. -func (m *Migration) GetLockRepositories() bool { - if m == nil || m.LockRepositories == nil { - return false - } - 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 { - return "" - } - return *m.State -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (m *Migration) GetUpdatedAt() string { - if m == nil || m.UpdatedAt == nil { - return "" - } - return *m.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (m *Migration) GetURL() string { - if m == nil || m.URL == nil { - return "" - } - 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 { - return Timestamp{} - } - return *m.ClosedAt -} - -// GetClosedIssues returns the ClosedIssues field if it's non-nil, zero value otherwise. -func (m *Milestone) GetClosedIssues() int { - if m == nil || m.ClosedIssues == nil { - return 0 - } - return *m.ClosedIssues -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (m *Milestone) GetCreatedAt() Timestamp { - if m == nil || m.CreatedAt == nil { - return Timestamp{} - } - return *m.CreatedAt -} - -// GetCreator returns the Creator field. -func (m *Milestone) GetCreator() *User { - if m == nil { - return nil - } - return m.Creator -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (m *Milestone) GetDescription() string { - if m == nil || m.Description == nil { - return "" - } - return *m.Description -} - -// GetDueOn returns the DueOn field if it's non-nil, zero value otherwise. -func (m *Milestone) GetDueOn() Timestamp { - if m == nil || m.DueOn == nil { - return Timestamp{} - } - return *m.DueOn -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (m *Milestone) GetHTMLURL() string { - if m == nil || m.HTMLURL == nil { - return "" - } - return *m.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (m *Milestone) GetID() int64 { - if m == nil || m.ID == nil { - return 0 - } - return *m.ID -} - -// GetLabelsURL returns the LabelsURL field if it's non-nil, zero value otherwise. -func (m *Milestone) GetLabelsURL() string { - if m == nil || m.LabelsURL == nil { - return "" - } - return *m.LabelsURL -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (m *Milestone) GetNodeID() string { - if m == nil || m.NodeID == nil { - return "" - } - return *m.NodeID -} - -// GetNumber returns the Number field if it's non-nil, zero value otherwise. -func (m *Milestone) GetNumber() int { - if m == nil || m.Number == nil { - return 0 - } - return *m.Number -} - -// GetOpenIssues returns the OpenIssues field if it's non-nil, zero value otherwise. -func (m *Milestone) GetOpenIssues() int { - if m == nil || m.OpenIssues == nil { - return 0 - } - return *m.OpenIssues -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (m *Milestone) GetState() string { - if m == nil || m.State == nil { - return "" - } - return *m.State -} - -// GetTitle returns the Title field if it's non-nil, zero value otherwise. -func (m *Milestone) GetTitle() string { - if m == nil || m.Title == nil { - return "" - } - return *m.Title -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (m *Milestone) GetUpdatedAt() Timestamp { - if m == nil || m.UpdatedAt == nil { - return Timestamp{} - } - return *m.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (m *Milestone) GetURL() string { - if m == nil || m.URL == nil { - return "" - } - return *m.URL -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (m *MilestoneEvent) GetAction() string { - if m == nil || m.Action == nil { - return "" - } - return *m.Action -} - -// GetChanges returns the Changes field. -func (m *MilestoneEvent) GetChanges() *EditChange { - if m == nil { - return nil - } - return m.Changes -} - -// GetInstallation returns the Installation field. -func (m *MilestoneEvent) GetInstallation() *Installation { - if m == nil { - return nil - } - return m.Installation -} - -// GetMilestone returns the Milestone field. -func (m *MilestoneEvent) GetMilestone() *Milestone { - if m == nil { - return nil - } - return m.Milestone -} - -// GetOrg returns the Org field. -func (m *MilestoneEvent) GetOrg() *Organization { - if m == nil { - return nil - } - return m.Org -} - -// GetRepo returns the Repo field. -func (m *MilestoneEvent) GetRepo() *Repository { - if m == nil { - return nil - } - return m.Repo -} - -// GetSender returns the Sender field. -func (m *MilestoneEvent) GetSender() *User { - if m == nil { - return nil - } - 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 { - return 0 - } - return *m.ClosedMilestones -} - -// GetOpenMilestones returns the OpenMilestones field if it's non-nil, zero value otherwise. -func (m *MilestoneStats) GetOpenMilestones() int { - if m == nil || m.OpenMilestones == nil { - return 0 - } - return *m.OpenMilestones -} - -// GetTotalMilestones returns the TotalMilestones field if it's non-nil, zero value otherwise. -func (m *MilestoneStats) GetTotalMilestones() int { - if m == nil || m.TotalMilestones == nil { - return 0 - } - return *m.TotalMilestones -} - -// GetReason returns the Reason field if it's non-nil, zero value otherwise. -func (m *MinimizedIssueComment) GetReason() string { - if m == nil || m.Reason == nil { - return "" - } - return *m.Reason -} - -// GetAnalysisKey returns the AnalysisKey field if it's non-nil, zero value otherwise. -func (m *MostRecentInstance) GetAnalysisKey() string { - if m == nil || m.AnalysisKey == nil { - return "" - } - return *m.AnalysisKey -} - -// GetCategory returns the Category field if it's non-nil, zero value otherwise. -func (m *MostRecentInstance) GetCategory() string { - if m == nil || m.Category == nil { - return "" - } - 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 { - return "" - } - return *m.CommitSHA -} - -// GetEnvironment returns the Environment field if it's non-nil, zero value otherwise. -func (m *MostRecentInstance) GetEnvironment() string { - if m == nil || m.Environment == nil { - return "" - } - return *m.Environment -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (m *MostRecentInstance) GetHTMLURL() string { - if m == nil || m.HTMLURL == nil { - return "" - } - return *m.HTMLURL -} - -// GetLocation returns the Location field. -func (m *MostRecentInstance) GetLocation() *Location { - if m == nil { - return nil - } - return m.Location -} - -// GetMessage returns the Message field. -func (m *MostRecentInstance) GetMessage() *Message { - if m == nil { - return nil - } - return m.Message -} - -// GetRef returns the Ref field if it's non-nil, zero value otherwise. -func (m *MostRecentInstance) GetRef() string { - if m == nil || m.Ref == nil { - return "" - } - return *m.Ref -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (m *MostRecentInstance) GetState() string { - if m == nil || m.State == nil { - return "" - } - return *m.State -} - -// GetComputeService returns the ComputeService field. -func (n *NetworkConfiguration) GetComputeService() *ComputeService { - if n == nil { - return nil - } - return n.ComputeService -} - -// GetCreatedOn returns the CreatedOn field if it's non-nil, zero value otherwise. -func (n *NetworkConfiguration) GetCreatedOn() Timestamp { - if n == nil || n.CreatedOn == nil { - return Timestamp{} - } - return *n.CreatedOn -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (n *NetworkConfiguration) GetID() string { - if n == nil || n.ID == nil { - return "" - } - return *n.ID -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (n *NetworkConfiguration) GetName() string { - if n == nil || n.Name == nil { - return "" - } - 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 { - return nil - } - return n.ComputeService -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (n *NetworkConfigurationRequest) GetName() string { - if n == nil || n.Name == nil { - return "" - } - 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 { - return 0 - } - return *n.TotalCount -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (n *NetworkSettingsResource) GetID() string { - if n == nil || n.ID == nil { - return "" - } - return *n.ID -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (n *NetworkSettingsResource) GetName() string { - if n == nil || n.Name == nil { - return "" - } - return *n.Name -} - -// GetNetworkConfigurationID returns the NetworkConfigurationID field if it's non-nil, zero value otherwise. -func (n *NetworkSettingsResource) GetNetworkConfigurationID() string { - if n == nil || n.NetworkConfigurationID == nil { - return "" - } - return *n.NetworkConfigurationID -} - -// GetRegion returns the Region field if it's non-nil, zero value otherwise. -func (n *NetworkSettingsResource) GetRegion() string { - if n == nil || n.Region == nil { - return "" - } - return *n.Region -} - -// GetSubnetID returns the SubnetID field if it's non-nil, zero value otherwise. -func (n *NetworkSettingsResource) GetSubnetID() string { - if n == nil || n.SubnetID == nil { - return "" - } - return *n.SubnetID -} - -// 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 { - return "" - } - return *n.Hostname -} - -// GetUUID returns the UUID field if it's non-nil, zero value otherwise. -func (n *NodeDetails) GetUUID() string { - if n == nil || n.UUID == nil { - return "" - } - 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 { - return "" - } - return *n.Topology -} - -// GetClusterRoles returns the ClusterRoles field if it's non-nil, zero value otherwise. -func (n *NodeQueryOptions) GetClusterRoles() string { - if n == nil || n.ClusterRoles == nil { - return "" - } - return *n.ClusterRoles -} - -// GetUUID returns the UUID field if it's non-nil, zero value otherwise. -func (n *NodeQueryOptions) GetUUID() string { - if n == nil || n.UUID == nil { - return "" - } - return *n.UUID -} - -// GetHostname returns the Hostname field if it's non-nil, zero value otherwise. -func (n *NodeReleaseVersion) GetHostname() string { - if n == nil || n.Hostname == nil { - return "" - } - return *n.Hostname -} - -// GetVersion returns the Version field. -func (n *NodeReleaseVersion) GetVersion() *ReleaseVersion { - if n == nil { - return nil - } - return n.Version -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (n *Notification) GetID() string { - if n == nil || n.ID == nil { - return "" - } - return *n.ID -} - -// GetLastReadAt returns the LastReadAt field if it's non-nil, zero value otherwise. -func (n *Notification) GetLastReadAt() Timestamp { - if n == nil || n.LastReadAt == nil { - return Timestamp{} - } - return *n.LastReadAt -} - -// GetReason returns the Reason field if it's non-nil, zero value otherwise. -func (n *Notification) GetReason() string { - if n == nil || n.Reason == nil { - return "" - } - return *n.Reason -} - -// GetRepository returns the Repository field. -func (n *Notification) GetRepository() *Repository { - if n == nil { - return nil - } - return n.Repository -} - -// GetSubject returns the Subject field. -func (n *Notification) GetSubject() *NotificationSubject { - if n == nil { - return nil - } - return n.Subject -} - -// GetUnread returns the Unread field if it's non-nil, zero value otherwise. -func (n *Notification) GetUnread() bool { - if n == nil || n.Unread == nil { - return false - } - return *n.Unread -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (n *Notification) GetUpdatedAt() Timestamp { - if n == nil || n.UpdatedAt == nil { - return Timestamp{} - } - return *n.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (n *Notification) GetURL() string { - if n == nil || n.URL == nil { - return "" - } - 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 { - return "" - } - return *n.LatestCommentURL -} - -// GetTitle returns the Title field if it's non-nil, zero value otherwise. -func (n *NotificationSubject) GetTitle() string { - if n == nil || n.Title == nil { - return "" - } - return *n.Title -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (n *NotificationSubject) GetType() string { - if n == nil || n.Type == nil { - return "" - } - return *n.Type -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (n *NotificationSubject) GetURL() string { - if n == nil || n.URL == nil { - return "" - } - return *n.URL -} - -// GetClientID returns the ClientID field if it's non-nil, zero value otherwise. -func (o *OAuthAPP) GetClientID() string { - if o == nil || o.ClientID == nil { - return "" - } - return *o.ClientID -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (o *OAuthAPP) GetName() string { - if o == nil || o.Name == nil { - return "" - } - return *o.Name -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (o *OAuthAPP) GetURL() string { - if o == nil || o.URL == nil { - return "" - } - return *o.URL -} - -// GetCustomPropertyName returns the CustomPropertyName field. -func (o *OIDCCustomPropertyClaim) GetCustomPropertyName() string { - if o == nil { - return "" - } - return o.CustomPropertyName -} - -// GetInclusionSource returns the InclusionSource field. -func (o *OIDCCustomPropertyClaimResponse) GetInclusionSource() InclusionSource { - if o == nil { - return "" - } - return o.InclusionSource -} - -// 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 -} - -// GetSubClaimPrefix returns the SubClaimPrefix field if it's non-nil, zero value otherwise. -func (o *OIDCSubjectClaimCustomTemplate) GetSubClaimPrefix() string { - if o == nil || o.SubClaimPrefix == nil { - return "" - } - return *o.SubClaimPrefix -} - -// GetUseDefault returns the UseDefault field if it's non-nil, zero value otherwise. -func (o *OIDCSubjectClaimCustomTemplate) GetUseDefault() bool { - if o == nil || o.UseDefault == nil { - return false - } - return *o.UseDefault -} - -// GetUseImmutableSubject returns the UseImmutableSubject field if it's non-nil, zero value otherwise. -func (o *OIDCSubjectClaimCustomTemplate) GetUseImmutableSubject() bool { - if o == nil || o.UseImmutableSubject == nil { - return false - } - return *o.UseImmutableSubject -} - -// GetAdvancedSecurityEnabledForNewRepos returns the AdvancedSecurityEnabledForNewRepos field if it's non-nil, zero value otherwise. -func (o *Organization) GetAdvancedSecurityEnabledForNewRepos() bool { - if o == nil || o.AdvancedSecurityEnabledForNewRepos == nil { - return false - } - return *o.AdvancedSecurityEnabledForNewRepos -} - -// GetArchivedAt returns the ArchivedAt field if it's non-nil, zero value otherwise. -func (o *Organization) GetArchivedAt() Timestamp { - if o == nil || o.ArchivedAt == nil { - return Timestamp{} - } - return *o.ArchivedAt -} - -// GetAvatarURL returns the AvatarURL field if it's non-nil, zero value otherwise. -func (o *Organization) GetAvatarURL() string { - if o == nil || o.AvatarURL == nil { - return "" - } - return *o.AvatarURL -} - -// GetBillingEmail returns the BillingEmail field if it's non-nil, zero value otherwise. -func (o *Organization) GetBillingEmail() string { - if o == nil || o.BillingEmail == nil { - return "" - } - return *o.BillingEmail -} - -// GetBlog returns the Blog field if it's non-nil, zero value otherwise. -func (o *Organization) GetBlog() string { - if o == nil || o.Blog == nil { - return "" - } - return *o.Blog -} - -// GetCollaborators returns the Collaborators field if it's non-nil, zero value otherwise. -func (o *Organization) GetCollaborators() int { - if o == nil || o.Collaborators == nil { - return 0 - } - return *o.Collaborators -} - -// GetCompany returns the Company field if it's non-nil, zero value otherwise. -func (o *Organization) GetCompany() string { - if o == nil || o.Company == nil { - return "" - } - return *o.Company -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (o *Organization) GetCreatedAt() Timestamp { - if o == nil || o.CreatedAt == nil { - return Timestamp{} - } - return *o.CreatedAt -} - -// GetDefaultRepoPermission returns the DefaultRepoPermission field if it's non-nil, zero value otherwise. -func (o *Organization) GetDefaultRepoPermission() string { - if o == nil || o.DefaultRepoPermission == nil { - return "" - } - return *o.DefaultRepoPermission -} - -// GetDefaultRepoSettings returns the DefaultRepoSettings field if it's non-nil, zero value otherwise. -func (o *Organization) GetDefaultRepoSettings() string { - if o == nil || o.DefaultRepoSettings == nil { - return "" - } - return *o.DefaultRepoSettings -} - -// GetDefaultRepositoryBranch returns the DefaultRepositoryBranch field if it's non-nil, zero value otherwise. -func (o *Organization) GetDefaultRepositoryBranch() string { - if o == nil || o.DefaultRepositoryBranch == nil { - return "" - } - return *o.DefaultRepositoryBranch -} - -// GetDependabotAlertsEnabledForNewRepos returns the DependabotAlertsEnabledForNewRepos field if it's non-nil, zero value otherwise. -func (o *Organization) GetDependabotAlertsEnabledForNewRepos() bool { - if o == nil || o.DependabotAlertsEnabledForNewRepos == nil { - return false - } - return *o.DependabotAlertsEnabledForNewRepos -} - -// GetDependabotSecurityUpdatesEnabledForNewRepos returns the DependabotSecurityUpdatesEnabledForNewRepos field if it's non-nil, zero value otherwise. -func (o *Organization) GetDependabotSecurityUpdatesEnabledForNewRepos() bool { - if o == nil || o.DependabotSecurityUpdatesEnabledForNewRepos == nil { - return false - } - return *o.DependabotSecurityUpdatesEnabledForNewRepos -} - -// GetDependencyGraphEnabledForNewRepos returns the DependencyGraphEnabledForNewRepos field if it's non-nil, zero value otherwise. -func (o *Organization) GetDependencyGraphEnabledForNewRepos() bool { - if o == nil || o.DependencyGraphEnabledForNewRepos == nil { - return false - } - return *o.DependencyGraphEnabledForNewRepos -} - -// GetDeployKeysEnabledForRepositories returns the DeployKeysEnabledForRepositories field if it's non-nil, zero value otherwise. -func (o *Organization) GetDeployKeysEnabledForRepositories() bool { - if o == nil || o.DeployKeysEnabledForRepositories == nil { - return false - } - return *o.DeployKeysEnabledForRepositories -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (o *Organization) GetDescription() string { - if o == nil || o.Description == nil { - return "" - } - return *o.Description -} - -// GetDiskUsage returns the DiskUsage field if it's non-nil, zero value otherwise. -func (o *Organization) GetDiskUsage() int { - if o == nil || o.DiskUsage == nil { - return 0 - } - return *o.DiskUsage -} - -// GetDisplayCommenterFullNameSettingEnabled returns the DisplayCommenterFullNameSettingEnabled field if it's non-nil, zero value otherwise. -func (o *Organization) GetDisplayCommenterFullNameSettingEnabled() bool { - if o == nil || o.DisplayCommenterFullNameSettingEnabled == nil { - return false - } - return *o.DisplayCommenterFullNameSettingEnabled -} - -// GetEmail returns the Email field if it's non-nil, zero value otherwise. -func (o *Organization) GetEmail() string { - if o == nil || o.Email == nil { - return "" - } - return *o.Email -} - -// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise. -func (o *Organization) GetEventsURL() string { - if o == nil || o.EventsURL == nil { - return "" - } - return *o.EventsURL -} - -// GetFollowers returns the Followers field if it's non-nil, zero value otherwise. -func (o *Organization) GetFollowers() int { - if o == nil || o.Followers == nil { - return 0 - } - return *o.Followers -} - -// GetFollowing returns the Following field if it's non-nil, zero value otherwise. -func (o *Organization) GetFollowing() int { - if o == nil || o.Following == nil { - return 0 - } - return *o.Following -} - -// GetHasOrganizationProjects returns the HasOrganizationProjects field if it's non-nil, zero value otherwise. -func (o *Organization) GetHasOrganizationProjects() bool { - if o == nil || o.HasOrganizationProjects == nil { - return false - } - return *o.HasOrganizationProjects -} - -// GetHasRepositoryProjects returns the HasRepositoryProjects field if it's non-nil, zero value otherwise. -func (o *Organization) GetHasRepositoryProjects() bool { - if o == nil || o.HasRepositoryProjects == nil { - return false - } - return *o.HasRepositoryProjects -} - -// GetHooksURL returns the HooksURL field if it's non-nil, zero value otherwise. -func (o *Organization) GetHooksURL() string { - if o == nil || o.HooksURL == nil { - return "" - } - return *o.HooksURL -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (o *Organization) GetHTMLURL() string { - if o == nil || o.HTMLURL == nil { - return "" - } - return *o.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (o *Organization) GetID() int64 { - if o == nil || o.ID == nil { - return 0 - } - return *o.ID -} - -// GetIssuesURL returns the IssuesURL field if it's non-nil, zero value otherwise. -func (o *Organization) GetIssuesURL() string { - if o == nil || o.IssuesURL == nil { - return "" - } - return *o.IssuesURL -} - -// GetIsVerified returns the IsVerified field if it's non-nil, zero value otherwise. -func (o *Organization) GetIsVerified() bool { - if o == nil || o.IsVerified == nil { - return false - } - return *o.IsVerified -} - -// GetLocation returns the Location field if it's non-nil, zero value otherwise. -func (o *Organization) GetLocation() string { - if o == nil || o.Location == nil { - return "" - } - return *o.Location -} - -// GetLogin returns the Login field if it's non-nil, zero value otherwise. -func (o *Organization) GetLogin() string { - if o == nil || o.Login == nil { - return "" - } - return *o.Login -} - -// GetMembersAllowedRepositoryCreationType returns the MembersAllowedRepositoryCreationType field if it's non-nil, zero value otherwise. -func (o *Organization) GetMembersAllowedRepositoryCreationType() string { - if o == nil || o.MembersAllowedRepositoryCreationType == nil { - return "" - } - return *o.MembersAllowedRepositoryCreationType -} - -// GetMembersCanChangeRepoVisibility returns the MembersCanChangeRepoVisibility field if it's non-nil, zero value otherwise. -func (o *Organization) GetMembersCanChangeRepoVisibility() bool { - if o == nil || o.MembersCanChangeRepoVisibility == nil { - return false - } - return *o.MembersCanChangeRepoVisibility -} - -// GetMembersCanCreateInternalRepos returns the MembersCanCreateInternalRepos field if it's non-nil, zero value otherwise. -func (o *Organization) GetMembersCanCreateInternalRepos() bool { - if o == nil || o.MembersCanCreateInternalRepos == nil { - return false - } - return *o.MembersCanCreateInternalRepos -} - -// GetMembersCanCreatePages returns the MembersCanCreatePages field if it's non-nil, zero value otherwise. -func (o *Organization) GetMembersCanCreatePages() bool { - if o == nil || o.MembersCanCreatePages == nil { - return false - } - return *o.MembersCanCreatePages -} - -// GetMembersCanCreatePrivatePages returns the MembersCanCreatePrivatePages field if it's non-nil, zero value otherwise. -func (o *Organization) GetMembersCanCreatePrivatePages() bool { - if o == nil || o.MembersCanCreatePrivatePages == nil { - return false - } - return *o.MembersCanCreatePrivatePages -} - -// GetMembersCanCreatePrivateRepos returns the MembersCanCreatePrivateRepos field if it's non-nil, zero value otherwise. -func (o *Organization) GetMembersCanCreatePrivateRepos() bool { - if o == nil || o.MembersCanCreatePrivateRepos == nil { - return false - } - return *o.MembersCanCreatePrivateRepos -} - -// GetMembersCanCreatePublicPages returns the MembersCanCreatePublicPages field if it's non-nil, zero value otherwise. -func (o *Organization) GetMembersCanCreatePublicPages() bool { - if o == nil || o.MembersCanCreatePublicPages == nil { - return false - } - return *o.MembersCanCreatePublicPages -} - -// GetMembersCanCreatePublicRepos returns the MembersCanCreatePublicRepos field if it's non-nil, zero value otherwise. -func (o *Organization) GetMembersCanCreatePublicRepos() bool { - if o == nil || o.MembersCanCreatePublicRepos == nil { - return false - } - return *o.MembersCanCreatePublicRepos -} - -// GetMembersCanCreateRepos returns the MembersCanCreateRepos field if it's non-nil, zero value otherwise. -func (o *Organization) GetMembersCanCreateRepos() bool { - if o == nil || o.MembersCanCreateRepos == nil { - return false - } - return *o.MembersCanCreateRepos -} - -// GetMembersCanCreateTeams returns the MembersCanCreateTeams field if it's non-nil, zero value otherwise. -func (o *Organization) GetMembersCanCreateTeams() bool { - if o == nil || o.MembersCanCreateTeams == nil { - return false - } - return *o.MembersCanCreateTeams -} - -// GetMembersCanDeleteIssues returns the MembersCanDeleteIssues field if it's non-nil, zero value otherwise. -func (o *Organization) GetMembersCanDeleteIssues() bool { - if o == nil || o.MembersCanDeleteIssues == nil { - return false - } - return *o.MembersCanDeleteIssues -} - -// GetMembersCanDeleteRepositories returns the MembersCanDeleteRepositories field if it's non-nil, zero value otherwise. -func (o *Organization) GetMembersCanDeleteRepositories() bool { - if o == nil || o.MembersCanDeleteRepositories == nil { - return false - } - return *o.MembersCanDeleteRepositories -} - -// GetMembersCanForkPrivateRepos returns the MembersCanForkPrivateRepos field if it's non-nil, zero value otherwise. -func (o *Organization) GetMembersCanForkPrivateRepos() bool { - if o == nil || o.MembersCanForkPrivateRepos == nil { - return false - } - return *o.MembersCanForkPrivateRepos -} - -// GetMembersCanInviteOutsideCollaborators returns the MembersCanInviteOutsideCollaborators field if it's non-nil, zero value otherwise. -func (o *Organization) GetMembersCanInviteOutsideCollaborators() bool { - if o == nil || o.MembersCanInviteOutsideCollaborators == nil { - return false - } - return *o.MembersCanInviteOutsideCollaborators -} - -// GetMembersCanViewDependencyInsights returns the MembersCanViewDependencyInsights field if it's non-nil, zero value otherwise. -func (o *Organization) GetMembersCanViewDependencyInsights() bool { - if o == nil || o.MembersCanViewDependencyInsights == nil { - return false - } - return *o.MembersCanViewDependencyInsights -} - -// GetMembersURL returns the MembersURL field if it's non-nil, zero value otherwise. -func (o *Organization) GetMembersURL() string { - if o == nil || o.MembersURL == nil { - return "" - } - return *o.MembersURL -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (o *Organization) GetName() string { - if o == nil || o.Name == nil { - return "" - } - return *o.Name -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (o *Organization) GetNodeID() string { - if o == nil || o.NodeID == nil { - return "" - } - return *o.NodeID -} - -// GetOwnedPrivateRepos returns the OwnedPrivateRepos field if it's non-nil, zero value otherwise. -func (o *Organization) GetOwnedPrivateRepos() int64 { - if o == nil || o.OwnedPrivateRepos == nil { - return 0 - } - return *o.OwnedPrivateRepos -} - -// GetPlan returns the Plan field. -func (o *Organization) GetPlan() *Plan { - if o == nil { - return nil - } - return o.Plan -} - -// GetPrivateGists returns the PrivateGists field if it's non-nil, zero value otherwise. -func (o *Organization) GetPrivateGists() int { - if o == nil || o.PrivateGists == nil { - return 0 - } - return *o.PrivateGists -} - -// GetPublicGists returns the PublicGists field if it's non-nil, zero value otherwise. -func (o *Organization) GetPublicGists() int { - if o == nil || o.PublicGists == nil { - return 0 - } - return *o.PublicGists -} - -// GetPublicMembersURL returns the PublicMembersURL field if it's non-nil, zero value otherwise. -func (o *Organization) GetPublicMembersURL() string { - if o == nil || o.PublicMembersURL == nil { - return "" - } - return *o.PublicMembersURL -} - -// GetPublicRepos returns the PublicRepos field if it's non-nil, zero value otherwise. -func (o *Organization) GetPublicRepos() int { - if o == nil || o.PublicRepos == nil { - return 0 - } - return *o.PublicRepos -} - -// GetReadersCanCreateDiscussions returns the ReadersCanCreateDiscussions field if it's non-nil, zero value otherwise. -func (o *Organization) GetReadersCanCreateDiscussions() bool { - if o == nil || o.ReadersCanCreateDiscussions == nil { - return false - } - return *o.ReadersCanCreateDiscussions -} - -// GetReposURL returns the ReposURL field if it's non-nil, zero value otherwise. -func (o *Organization) GetReposURL() string { - if o == nil || o.ReposURL == nil { - return "" - } - return *o.ReposURL -} - -// GetSecretScanningEnabledForNewRepos returns the SecretScanningEnabledForNewRepos field if it's non-nil, zero value otherwise. -func (o *Organization) GetSecretScanningEnabledForNewRepos() bool { - if o == nil || o.SecretScanningEnabledForNewRepos == nil { - return false - } - return *o.SecretScanningEnabledForNewRepos -} - -// GetSecretScanningPushProtectionCustomLink returns the SecretScanningPushProtectionCustomLink field if it's non-nil, zero value otherwise. -func (o *Organization) GetSecretScanningPushProtectionCustomLink() string { - if o == nil || o.SecretScanningPushProtectionCustomLink == nil { - return "" - } - return *o.SecretScanningPushProtectionCustomLink -} - -// GetSecretScanningPushProtectionCustomLinkEnabled returns the SecretScanningPushProtectionCustomLinkEnabled field if it's non-nil, zero value otherwise. -func (o *Organization) GetSecretScanningPushProtectionCustomLinkEnabled() bool { - if o == nil || o.SecretScanningPushProtectionCustomLinkEnabled == nil { - return false - } - return *o.SecretScanningPushProtectionCustomLinkEnabled -} - -// GetSecretScanningPushProtectionEnabledForNewRepos returns the SecretScanningPushProtectionEnabledForNewRepos field if it's non-nil, zero value otherwise. -func (o *Organization) GetSecretScanningPushProtectionEnabledForNewRepos() bool { - if o == nil || o.SecretScanningPushProtectionEnabledForNewRepos == nil { - return false - } - return *o.SecretScanningPushProtectionEnabledForNewRepos -} - -// GetSecretScanningValidityChecksEnabled returns the SecretScanningValidityChecksEnabled field if it's non-nil, zero value otherwise. -func (o *Organization) GetSecretScanningValidityChecksEnabled() bool { - if o == nil || o.SecretScanningValidityChecksEnabled == nil { - return false - } - return *o.SecretScanningValidityChecksEnabled -} - -// GetTotalPrivateRepos returns the TotalPrivateRepos field if it's non-nil, zero value otherwise. -func (o *Organization) GetTotalPrivateRepos() int64 { - if o == nil || o.TotalPrivateRepos == nil { - return 0 - } - return *o.TotalPrivateRepos -} - -// GetTwitterUsername returns the TwitterUsername field if it's non-nil, zero value otherwise. -func (o *Organization) GetTwitterUsername() string { - if o == nil || o.TwitterUsername == nil { - return "" - } - return *o.TwitterUsername -} - -// GetTwoFactorRequirementEnabled returns the TwoFactorRequirementEnabled field if it's non-nil, zero value otherwise. -func (o *Organization) GetTwoFactorRequirementEnabled() bool { - if o == nil || o.TwoFactorRequirementEnabled == nil { - return false - } - return *o.TwoFactorRequirementEnabled -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (o *Organization) GetType() string { - if o == nil || o.Type == nil { - return "" - } - return *o.Type -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (o *Organization) GetUpdatedAt() Timestamp { - if o == nil || o.UpdatedAt == nil { - return Timestamp{} - } - return *o.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (o *Organization) GetURL() string { - if o == nil || o.URL == nil { - return "" - } - return *o.URL -} - -// GetWebCommitSignoffRequired returns the WebCommitSignoffRequired field if it's non-nil, zero value otherwise. -func (o *Organization) GetWebCommitSignoffRequired() bool { - if o == nil || o.WebCommitSignoffRequired == nil { - return false - } - 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 { - return 0 - } - 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 { - return 0 - } - return *o.TotalCount -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (o *OrganizationEvent) GetAction() string { - if o == nil || o.Action == nil { - return "" - } - return *o.Action -} - -// GetInstallation returns the Installation field. -func (o *OrganizationEvent) GetInstallation() *Installation { - if o == nil { - return nil - } - return o.Installation -} - -// GetInvitation returns the Invitation field. -func (o *OrganizationEvent) GetInvitation() *Invitation { - if o == nil { - return nil - } - return o.Invitation -} - -// GetMembership returns the Membership field. -func (o *OrganizationEvent) GetMembership() *Membership { - if o == nil { - return nil - } - return o.Membership -} - -// GetOrganization returns the Organization field. -func (o *OrganizationEvent) GetOrganization() *Organization { - if o == nil { - return nil - } - return o.Organization -} - -// GetSender returns the Sender field. -func (o *OrganizationEvent) GetSender() *User { - if o == nil { - return nil - } - 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 { - return 0 - } - 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 { - return "" - } - return *o.Action -} - -// GetBlockedUser returns the BlockedUser field. -func (o *OrgBlockEvent) GetBlockedUser() *User { - if o == nil { - return nil - } - return o.BlockedUser -} - -// GetInstallation returns the Installation field. -func (o *OrgBlockEvent) GetInstallation() *Installation { - if o == nil { - return nil - } - return o.Installation -} - -// GetOrganization returns the Organization field. -func (o *OrgBlockEvent) GetOrganization() *Organization { - if o == nil { - return nil - } - return o.Organization -} - -// GetSender returns the Sender field. -func (o *OrgBlockEvent) GetSender() *User { - if o == nil { - return nil - } - return o.Sender -} - -// GetDisabledOrgs returns the DisabledOrgs field if it's non-nil, zero value otherwise. -func (o *OrgStats) GetDisabledOrgs() int { - if o == nil || o.DisabledOrgs == nil { - return 0 - } - return *o.DisabledOrgs -} - -// GetTotalOrgs returns the TotalOrgs field if it's non-nil, zero value otherwise. -func (o *OrgStats) GetTotalOrgs() int { - if o == nil || o.TotalOrgs == nil { - return 0 - } - return *o.TotalOrgs -} - -// GetTotalTeamMembers returns the TotalTeamMembers field if it's non-nil, zero value otherwise. -func (o *OrgStats) GetTotalTeamMembers() int { - if o == nil || o.TotalTeamMembers == nil { - return 0 - } - return *o.TotalTeamMembers -} - -// GetTotalTeams returns the TotalTeams field if it's non-nil, zero value otherwise. -func (o *OrgStats) GetTotalTeams() int { - if o == nil || o.TotalTeams == nil { - return 0 - } - return *o.TotalTeams -} - -// GetOrg returns the Org field. -func (o *OwnerInfo) GetOrg() *User { - if o == nil { - return nil - } - return o.Org -} - -// GetUser returns the User field. -func (o *OwnerInfo) GetUser() *User { - if o == nil { - return nil - } - return o.User -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (p *Package) GetCreatedAt() Timestamp { - if p == nil || p.CreatedAt == nil { - return Timestamp{} - } - return *p.CreatedAt -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (p *Package) GetDescription() string { - if p == nil || p.Description == nil { - return "" - } - return *p.Description -} - -// GetEcosystem returns the Ecosystem field if it's non-nil, zero value otherwise. -func (p *Package) GetEcosystem() string { - if p == nil || p.Ecosystem == nil { - return "" - } - return *p.Ecosystem -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (p *Package) GetHTMLURL() string { - if p == nil || p.HTMLURL == nil { - return "" - } - return *p.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (p *Package) GetID() int64 { - if p == nil || p.ID == nil { - return 0 - } - return *p.ID -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (p *Package) GetName() string { - if p == nil || p.Name == nil { - return "" - } - return *p.Name -} - -// GetNamespace returns the Namespace field if it's non-nil, zero value otherwise. -func (p *Package) GetNamespace() string { - if p == nil || p.Namespace == nil { - return "" - } - return *p.Namespace -} - -// GetOwner returns the Owner field. -func (p *Package) GetOwner() *User { - if p == nil { - return nil - } - return p.Owner -} - -// GetPackageType returns the PackageType field if it's non-nil, zero value otherwise. -func (p *Package) GetPackageType() string { - if p == nil || p.PackageType == nil { - return "" - } - return *p.PackageType -} - -// GetPackageVersion returns the PackageVersion field. -func (p *Package) GetPackageVersion() *PackageVersion { - if p == nil { - return nil - } - return p.PackageVersion -} - -// GetRegistry returns the Registry field. -func (p *Package) GetRegistry() *PackageRegistry { - if p == nil { - return nil - } - return p.Registry -} - -// GetRepository returns the Repository field. -func (p *Package) GetRepository() *Repository { - if p == nil { - return nil - } - return p.Repository -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (p *Package) GetUpdatedAt() Timestamp { - if p == nil || p.UpdatedAt == nil { - return Timestamp{} - } - return *p.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (p *Package) GetURL() string { - if p == nil || p.URL == nil { - return "" - } - return *p.URL -} - -// GetVersionCount returns the VersionCount field if it's non-nil, zero value otherwise. -func (p *Package) GetVersionCount() int64 { - if p == nil || p.VersionCount == nil { - return 0 - } - return *p.VersionCount -} - -// GetVisibility returns the Visibility field if it's non-nil, zero value otherwise. -func (p *Package) GetVisibility() string { - if p == nil || p.Visibility == nil { - return "" - } - 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 { - return "" - } - return *p.Action -} - -// GetInstallation returns the Installation field. -func (p *PackageEvent) GetInstallation() *Installation { - if p == nil { - return nil - } - return p.Installation -} - -// GetOrg returns the Org field. -func (p *PackageEvent) GetOrg() *Organization { - if p == nil { - return nil - } - return p.Org -} - -// GetPackage returns the Package field. -func (p *PackageEvent) GetPackage() *Package { - if p == nil { - return nil - } - return p.Package -} - -// GetRepo returns the Repo field. -func (p *PackageEvent) GetRepo() *Repository { - if p == nil { - return nil - } - return p.Repo -} - -// GetSender returns the Sender field. -func (p *PackageEvent) GetSender() *User { - if p == nil { - return nil - } - return p.Sender -} - -// GetLabels returns the Labels map if it's non-nil, an empty map otherwise. -func (p *PackageEventContainerMetadata) GetLabels() map[string]any { - if p == nil || p.Labels == nil { - return map[string]any{} - } - return p.Labels -} - -// GetManifest returns the Manifest map if it's non-nil, an empty map otherwise. -func (p *PackageEventContainerMetadata) GetManifest() map[string]any { - if p == nil || p.Manifest == nil { - return map[string]any{} - } - return p.Manifest -} - -// GetTag returns the Tag field. -func (p *PackageEventContainerMetadata) GetTag() *PackageEventContainerMetadataTag { - if p == nil { - return nil - } - return p.Tag -} - -// GetDigest returns the Digest field if it's non-nil, zero value otherwise. -func (p *PackageEventContainerMetadataTag) GetDigest() string { - if p == nil || p.Digest == nil { - return "" - } - return *p.Digest -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (p *PackageEventContainerMetadataTag) GetName() string { - if p == nil || p.Name == nil { - return "" - } - 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 { - return nil - } - return p.Author -} - -// GetContentType returns the ContentType field if it's non-nil, zero value otherwise. -func (p *PackageFile) GetContentType() string { - if p == nil || p.ContentType == nil { - return "" - } - return *p.ContentType -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (p *PackageFile) GetCreatedAt() Timestamp { - if p == nil || p.CreatedAt == nil { - return Timestamp{} - } - return *p.CreatedAt -} - -// GetDownloadURL returns the DownloadURL field if it's non-nil, zero value otherwise. -func (p *PackageFile) GetDownloadURL() string { - if p == nil || p.DownloadURL == nil { - return "" - } - return *p.DownloadURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (p *PackageFile) GetID() int64 { - if p == nil || p.ID == nil { - return 0 - } - return *p.ID -} - -// GetMD5 returns the MD5 field if it's non-nil, zero value otherwise. -func (p *PackageFile) GetMD5() string { - if p == nil || p.MD5 == nil { - return "" - } - return *p.MD5 -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (p *PackageFile) GetName() string { - if p == nil || p.Name == nil { - return "" - } - return *p.Name -} - -// GetSHA1 returns the SHA1 field if it's non-nil, zero value otherwise. -func (p *PackageFile) GetSHA1() string { - if p == nil || p.SHA1 == nil { - return "" - } - return *p.SHA1 -} - -// GetSHA256 returns the SHA256 field if it's non-nil, zero value otherwise. -func (p *PackageFile) GetSHA256() string { - if p == nil || p.SHA256 == nil { - return "" - } - return *p.SHA256 -} - -// GetSize returns the Size field if it's non-nil, zero value otherwise. -func (p *PackageFile) GetSize() int64 { - if p == nil || p.Size == nil { - return 0 - } - return *p.Size -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (p *PackageFile) GetState() string { - if p == nil || p.State == nil { - return "" - } - return *p.State -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (p *PackageFile) GetUpdatedAt() Timestamp { - if p == nil || p.UpdatedAt == nil { - return Timestamp{} - } - return *p.UpdatedAt -} - -// GetPackageType returns the PackageType field if it's non-nil, zero value otherwise. -func (p *PackageListOptions) GetPackageType() string { - if p == nil || p.PackageType == nil { - return "" - } - return *p.PackageType -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (p *PackageListOptions) GetState() string { - if p == nil || p.State == nil { - return "" - } - return *p.State -} - -// GetVisibility returns the Visibility field if it's non-nil, zero value otherwise. -func (p *PackageListOptions) GetVisibility() string { - if p == nil || p.Visibility == nil { - return "" - } - return *p.Visibility -} - -// GetContainer returns the Container field. -func (p *PackageMetadata) GetContainer() *PackageContainerMetadata { - if p == nil { - return nil - } - return p.Container -} - -// GetPackageType returns the PackageType field if it's non-nil, zero value otherwise. -func (p *PackageMetadata) GetPackageType() string { - if p == nil || p.PackageType == nil { - return "" - } - return *p.PackageType -} - -// GetAuthor returns the Author map if it's non-nil, an empty map otherwise. -func (p *PackageNPMMetadata) GetAuthor() map[string]string { - if p == nil || p.Author == nil { - return map[string]string{} - } - return p.Author -} - -// GetBin returns the Bin map if it's non-nil, an empty map otherwise. -func (p *PackageNPMMetadata) GetBin() map[string]any { - if p == nil || p.Bin == nil { - return map[string]any{} - } - return p.Bin -} - -// GetBugs returns the Bugs map if it's non-nil, an empty map otherwise. -func (p *PackageNPMMetadata) GetBugs() map[string]string { - if p == nil || p.Bugs == nil { - return map[string]string{} - } - return p.Bugs -} - -// GetCommitOID returns the CommitOID field if it's non-nil, zero value otherwise. -func (p *PackageNPMMetadata) GetCommitOID() string { - if p == nil || p.CommitOID == nil { - return "" - } - 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 { - return 0 - } - return *p.DeletedByID -} - -// GetDependencies returns the Dependencies map if it's non-nil, an empty map otherwise. -func (p *PackageNPMMetadata) GetDependencies() map[string]string { - if p == nil || p.Dependencies == nil { - return map[string]string{} - } - return p.Dependencies -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (p *PackageNPMMetadata) GetDescription() string { - if p == nil || p.Description == nil { - return "" - } - return *p.Description -} - -// GetDevDependencies returns the DevDependencies map if it's non-nil, an empty map otherwise. -func (p *PackageNPMMetadata) GetDevDependencies() map[string]string { - if p == nil || p.DevDependencies == nil { - return map[string]string{} - } - return p.DevDependencies -} - -// GetDirectories returns the Directories map if it's non-nil, an empty map otherwise. -func (p *PackageNPMMetadata) GetDirectories() map[string]string { - if p == nil || p.Directories == nil { - return map[string]string{} - } - return p.Directories -} - -// GetDist returns the Dist map if it's non-nil, an empty map otherwise. -func (p *PackageNPMMetadata) GetDist() map[string]string { - if p == nil || p.Dist == nil { - return map[string]string{} - } - return p.Dist -} - -// GetEngines returns the Engines map if it's non-nil, an empty map otherwise. -func (p *PackageNPMMetadata) GetEngines() map[string]string { - if p == nil || p.Engines == nil { - return 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 { - return "" - } - return *p.GitHead -} - -// GetHasShrinkwrap returns the HasShrinkwrap field if it's non-nil, zero value otherwise. -func (p *PackageNPMMetadata) GetHasShrinkwrap() bool { - if p == nil || p.HasShrinkwrap == nil { - return false - } - return *p.HasShrinkwrap -} - -// GetHomepage returns the Homepage field if it's non-nil, zero value otherwise. -func (p *PackageNPMMetadata) GetHomepage() string { - if p == nil || p.Homepage == nil { - return "" - } - return *p.Homepage -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (p *PackageNPMMetadata) GetID() string { - if p == nil || p.ID == nil { - return "" - } - return *p.ID -} - -// GetInstallationCommand returns the InstallationCommand field if it's non-nil, zero value otherwise. -func (p *PackageNPMMetadata) GetInstallationCommand() string { - if p == nil || p.InstallationCommand == nil { - return "" - } - 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 { - return "" - } - return *p.License -} - -// GetMain returns the Main field if it's non-nil, zero value otherwise. -func (p *PackageNPMMetadata) GetMain() string { - if p == nil || p.Main == nil { - return "" - } - 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 { - return map[string]any{} - } - return p.Man -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (p *PackageNPMMetadata) GetName() string { - if p == nil || p.Name == nil { - return "" - } - return *p.Name -} - -// GetNodeVersion returns the NodeVersion field if it's non-nil, zero value otherwise. -func (p *PackageNPMMetadata) GetNodeVersion() string { - if p == nil || p.NodeVersion == nil { - return "" - } - return *p.NodeVersion -} - -// GetNPMUser returns the NPMUser field if it's non-nil, zero value otherwise. -func (p *PackageNPMMetadata) GetNPMUser() string { - if p == nil || p.NPMUser == nil { - return "" - } - return *p.NPMUser -} - -// GetNPMVersion returns the NPMVersion field if it's non-nil, zero value otherwise. -func (p *PackageNPMMetadata) GetNPMVersion() string { - if p == nil || p.NPMVersion == nil { - return "" - } - return *p.NPMVersion -} - -// GetOptionalDependencies returns the OptionalDependencies map if it's non-nil, an empty map otherwise. -func (p *PackageNPMMetadata) GetOptionalDependencies() map[string]string { - if p == nil || p.OptionalDependencies == nil { - return 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 { - return map[string]string{} - } - return p.PeerDependencies -} - -// GetPublishedViaActions returns the PublishedViaActions field if it's non-nil, zero value otherwise. -func (p *PackageNPMMetadata) GetPublishedViaActions() bool { - if p == nil || p.PublishedViaActions == nil { - return false - } - return *p.PublishedViaActions -} - -// GetReadme returns the Readme field if it's non-nil, zero value otherwise. -func (p *PackageNPMMetadata) GetReadme() string { - if p == nil || p.Readme == nil { - return "" - } - return *p.Readme -} - -// GetReleaseID returns the ReleaseID field if it's non-nil, zero value otherwise. -func (p *PackageNPMMetadata) GetReleaseID() int64 { - if p == nil || p.ReleaseID == nil { - return 0 - } - return *p.ReleaseID -} - -// GetRepository returns the Repository map if it's non-nil, an empty map otherwise. -func (p *PackageNPMMetadata) GetRepository() map[string]string { - if p == nil || p.Repository == nil { - return map[string]string{} - } - return p.Repository -} - -// GetScripts returns the Scripts map if it's non-nil, an empty map otherwise. -func (p *PackageNPMMetadata) GetScripts() map[string]any { - if p == nil || p.Scripts == nil { - return map[string]any{} - } - return p.Scripts -} - -// GetVersion returns the Version field if it's non-nil, zero value otherwise. -func (p *PackageNPMMetadata) GetVersion() string { - if p == nil || p.Version == nil { - return "" - } - 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 { - return "" - } - 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 { - return "" - } - return *p.AboutURL -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (p *PackageRegistry) GetName() string { - if p == nil || p.Name == nil { - return "" - } - return *p.Name -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (p *PackageRegistry) GetType() string { - if p == nil || p.Type == nil { - return "" - } - return *p.Type -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (p *PackageRegistry) GetURL() string { - if p == nil || p.URL == nil { - return "" - } - return *p.URL -} - -// GetVendor returns the Vendor field if it's non-nil, zero value otherwise. -func (p *PackageRegistry) GetVendor() string { - if p == nil || p.Vendor == nil { - return "" - } - return *p.Vendor -} - -// GetAuthor returns the Author field. -func (p *PackageRelease) GetAuthor() *User { - if p == nil { - return nil - } - return p.Author -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (p *PackageRelease) GetCreatedAt() Timestamp { - if p == nil || p.CreatedAt == nil { - return Timestamp{} - } - return *p.CreatedAt -} - -// GetDraft returns the Draft field if it's non-nil, zero value otherwise. -func (p *PackageRelease) GetDraft() bool { - if p == nil || p.Draft == nil { - return false - } - return *p.Draft -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (p *PackageRelease) GetHTMLURL() string { - if p == nil || p.HTMLURL == nil { - return "" - } - return *p.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (p *PackageRelease) GetID() int64 { - if p == nil || p.ID == nil { - return 0 - } - return *p.ID -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (p *PackageRelease) GetName() string { - if p == nil || p.Name == nil { - return "" - } - return *p.Name -} - -// GetPrerelease returns the Prerelease field if it's non-nil, zero value otherwise. -func (p *PackageRelease) GetPrerelease() bool { - if p == nil || p.Prerelease == nil { - return false - } - return *p.Prerelease -} - -// GetPublishedAt returns the PublishedAt field if it's non-nil, zero value otherwise. -func (p *PackageRelease) GetPublishedAt() Timestamp { - if p == nil || p.PublishedAt == nil { - return Timestamp{} - } - return *p.PublishedAt -} - -// GetTagName returns the TagName field if it's non-nil, zero value otherwise. -func (p *PackageRelease) GetTagName() string { - if p == nil || p.TagName == nil { - return "" - } - return *p.TagName -} - -// GetTargetCommitish returns the TargetCommitish field if it's non-nil, zero value otherwise. -func (p *PackageRelease) GetTargetCommitish() string { - if p == nil || p.TargetCommitish == nil { - return "" - } - return *p.TargetCommitish -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (p *PackageRelease) GetURL() string { - if p == nil || p.URL == nil { - return "" - } - 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 { - return nil - } - return p.Author -} - -// GetBodyHTML returns the BodyHTML field if it's non-nil, zero value otherwise. -func (p *PackageVersion) GetBodyHTML() string { - if p == nil || p.BodyHTML == nil { - return "" - } - return *p.BodyHTML -} - -// GetContainerMetadata returns the ContainerMetadata field. -func (p *PackageVersion) GetContainerMetadata() *PackageEventContainerMetadata { - if p == nil { - return nil - } - return p.ContainerMetadata -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (p *PackageVersion) GetCreatedAt() Timestamp { - if p == nil || p.CreatedAt == nil { - return Timestamp{} - } - return *p.CreatedAt -} - -// GetDeletedAt returns the DeletedAt field if it's non-nil, zero value otherwise. -func (p *PackageVersion) GetDeletedAt() Timestamp { - if p == nil || p.DeletedAt == nil { - return Timestamp{} - } - return *p.DeletedAt -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (p *PackageVersion) GetDescription() string { - if p == nil || p.Description == nil { - return "" - } - 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 { - return false - } - return *p.Draft -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (p *PackageVersion) GetHTMLURL() string { - if p == nil || p.HTMLURL == nil { - return "" - } - return *p.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (p *PackageVersion) GetID() int64 { - if p == nil || p.ID == nil { - return 0 - } - return *p.ID -} - -// GetInstallationCommand returns the InstallationCommand field if it's non-nil, zero value otherwise. -func (p *PackageVersion) GetInstallationCommand() string { - if p == nil || p.InstallationCommand == nil { - return "" - } - return *p.InstallationCommand -} - -// GetLicense returns the License field if it's non-nil, zero value otherwise. -func (p *PackageVersion) GetLicense() string { - if p == nil || p.License == nil { - return "" - } - return *p.License -} - -// GetManifest returns the Manifest field if it's non-nil, zero value otherwise. -func (p *PackageVersion) GetManifest() string { - if p == nil || p.Manifest == nil { - return "" - } - return *p.Manifest -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (p *PackageVersion) GetName() string { - if p == nil || p.Name == nil { - return "" - } - return *p.Name -} - -// GetNPMMetadata returns the NPMMetadata field. -func (p *PackageVersion) GetNPMMetadata() *PackageNPMMetadata { - if p == nil { - return nil - } - 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 { - return "" - } - return *p.PackageHTMLURL -} - -// GetPackageURL returns the PackageURL field if it's non-nil, zero value otherwise. -func (p *PackageVersion) GetPackageURL() string { - if p == nil || p.PackageURL == nil { - return "" - } - return *p.PackageURL -} - -// GetPrerelease returns the Prerelease field if it's non-nil, zero value otherwise. -func (p *PackageVersion) GetPrerelease() bool { - if p == nil || p.Prerelease == nil { - return false - } - return *p.Prerelease -} - -// GetRelease returns the Release field. -func (p *PackageVersion) GetRelease() *PackageRelease { - if p == nil { - return nil - } - return p.Release -} - -// GetRubyMetadata returns the RubyMetadata map if it's non-nil, an empty map otherwise. -func (p *PackageVersion) GetRubyMetadata() map[string]any { - if p == nil || p.RubyMetadata == nil { - return map[string]any{} - } - return p.RubyMetadata -} - -// GetSourceURL returns the SourceURL field if it's non-nil, zero value otherwise. -func (p *PackageVersion) GetSourceURL() string { - if p == nil || p.SourceURL == nil { - return "" - } - return *p.SourceURL -} - -// GetSummary returns the Summary field if it's non-nil, zero value otherwise. -func (p *PackageVersion) GetSummary() string { - if p == nil || p.Summary == nil { - return "" - } - return *p.Summary -} - -// GetTagName returns the TagName field if it's non-nil, zero value otherwise. -func (p *PackageVersion) GetTagName() string { - if p == nil || p.TagName == nil { - return "" - } - return *p.TagName -} - -// GetTargetCommitish returns the TargetCommitish field if it's non-nil, zero value otherwise. -func (p *PackageVersion) GetTargetCommitish() string { - if p == nil || p.TargetCommitish == nil { - return "" - } - return *p.TargetCommitish -} - -// GetTargetOID returns the TargetOID field if it's non-nil, zero value otherwise. -func (p *PackageVersion) GetTargetOID() string { - if p == nil || p.TargetOID == nil { - return "" - } - return *p.TargetOID -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (p *PackageVersion) GetUpdatedAt() Timestamp { - if p == nil || p.UpdatedAt == nil { - return Timestamp{} - } - return *p.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (p *PackageVersion) GetURL() string { - if p == nil || p.URL == nil { - return "" - } - return *p.URL -} - -// GetVersion returns the Version field if it's non-nil, zero value otherwise. -func (p *PackageVersion) GetVersion() string { - if p == nil || p.Version == nil { - return "" - } - return *p.Version -} - -// GetInfo returns the Info field. -func (p *PackageVersionBody) GetInfo() *PackageVersionBodyInfo { - if p == nil { - return nil - } - return p.Info -} - -// GetRepo returns the Repo field. -func (p *PackageVersionBody) GetRepo() *Repository { - if p == nil { - return nil - } - return p.Repo -} - -// GetCollection returns the Collection field if it's non-nil, zero value otherwise. -func (p *PackageVersionBodyInfo) GetCollection() bool { - if p == nil || p.Collection == nil { - return false - } - return *p.Collection -} - -// GetMode returns the Mode field if it's non-nil, zero value otherwise. -func (p *PackageVersionBodyInfo) GetMode() int64 { - if p == nil || p.Mode == nil { - return 0 - } - return *p.Mode -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (p *PackageVersionBodyInfo) GetName() string { - if p == nil || p.Name == nil { - return "" - } - return *p.Name -} - -// GetOID returns the OID field if it's non-nil, zero value otherwise. -func (p *PackageVersionBodyInfo) GetOID() string { - if p == nil || p.OID == nil { - return "" - } - return *p.OID -} - -// GetPath returns the Path field if it's non-nil, zero value otherwise. -func (p *PackageVersionBodyInfo) GetPath() string { - if p == nil || p.Path == nil { - return "" - } - return *p.Path -} - -// GetSize returns the Size field if it's non-nil, zero value otherwise. -func (p *PackageVersionBodyInfo) GetSize() int64 { - if p == nil || p.Size == nil { - return 0 - } - return *p.Size -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (p *PackageVersionBodyInfo) GetType() string { - if p == nil || p.Type == nil { - return "" - } - return *p.Type -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (p *Page) GetAction() string { - if p == nil || p.Action == nil { - return "" - } - return *p.Action -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (p *Page) GetHTMLURL() string { - if p == nil || p.HTMLURL == nil { - return "" - } - return *p.HTMLURL -} - -// GetPageName returns the PageName field if it's non-nil, zero value otherwise. -func (p *Page) GetPageName() string { - if p == nil || p.PageName == nil { - return "" - } - return *p.PageName -} - -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (p *Page) GetSHA() string { - if p == nil || p.SHA == nil { - return "" - } - return *p.SHA -} - -// GetSummary returns the Summary field if it's non-nil, zero value otherwise. -func (p *Page) GetSummary() string { - if p == nil || p.Summary == nil { - return "" - } - return *p.Summary -} - -// GetTitle returns the Title field if it's non-nil, zero value otherwise. -func (p *Page) GetTitle() string { - if p == nil || p.Title == nil { - return "" - } - return *p.Title -} - -// GetBuild returns the Build field. -func (p *PageBuildEvent) GetBuild() *PagesBuild { - if p == nil { - return nil - } - return p.Build -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (p *PageBuildEvent) GetID() int64 { - if p == nil || p.ID == nil { - return 0 - } - return *p.ID -} - -// GetInstallation returns the Installation field. -func (p *PageBuildEvent) GetInstallation() *Installation { - if p == nil { - return nil - } - return p.Installation -} - -// GetOrg returns the Org field. -func (p *PageBuildEvent) GetOrg() *Organization { - if p == nil { - return nil - } - return p.Org -} - -// GetRepo returns the Repo field. -func (p *PageBuildEvent) GetRepo() *Repository { - if p == nil { - return nil - } - return p.Repo -} - -// GetSender returns the Sender field. -func (p *PageBuildEvent) GetSender() *User { - if p == nil { - return nil - } - return p.Sender -} - -// GetBuildType returns the BuildType field if it's non-nil, zero value otherwise. -func (p *Pages) GetBuildType() string { - if p == nil || p.BuildType == nil { - return "" - } - return *p.BuildType -} - -// GetCNAME returns the CNAME field if it's non-nil, zero value otherwise. -func (p *Pages) GetCNAME() string { - if p == nil || p.CNAME == nil { - return "" - } - return *p.CNAME -} - -// GetCustom404 returns the Custom404 field if it's non-nil, zero value otherwise. -func (p *Pages) GetCustom404() bool { - if p == nil || p.Custom404 == nil { - return false - } - return *p.Custom404 -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (p *Pages) GetHTMLURL() string { - if p == nil || p.HTMLURL == nil { - return "" - } - return *p.HTMLURL -} - -// GetHTTPSCertificate returns the HTTPSCertificate field. -func (p *Pages) GetHTTPSCertificate() *PagesHTTPSCertificate { - if p == nil { - return nil - } - return p.HTTPSCertificate -} - -// GetHTTPSEnforced returns the HTTPSEnforced field if it's non-nil, zero value otherwise. -func (p *Pages) GetHTTPSEnforced() bool { - if p == nil || p.HTTPSEnforced == nil { - return false - } - return *p.HTTPSEnforced -} - -// GetPublic returns the Public field if it's non-nil, zero value otherwise. -func (p *Pages) GetPublic() bool { - if p == nil || p.Public == nil { - return false - } - return *p.Public -} - -// GetSource returns the Source field. -func (p *Pages) GetSource() *PagesSource { - if p == nil { - return nil - } - return p.Source -} - -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (p *Pages) GetStatus() string { - if p == nil || p.Status == nil { - return "" - } - return *p.Status -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (p *Pages) GetURL() string { - if p == nil || p.URL == nil { - return "" - } - return *p.URL -} - -// GetCommit returns the Commit field if it's non-nil, zero value otherwise. -func (p *PagesBuild) GetCommit() string { - if p == nil || p.Commit == nil { - return "" - } - return *p.Commit -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (p *PagesBuild) GetCreatedAt() Timestamp { - if p == nil || p.CreatedAt == nil { - return Timestamp{} - } - return *p.CreatedAt -} - -// GetDuration returns the Duration field if it's non-nil, zero value otherwise. -func (p *PagesBuild) GetDuration() int { - if p == nil || p.Duration == nil { - return 0 - } - return *p.Duration -} - -// GetError returns the Error field. -func (p *PagesBuild) GetError() *PagesError { - if p == nil { - return nil - } - return p.Error -} - -// GetPusher returns the Pusher field. -func (p *PagesBuild) GetPusher() *User { - if p == nil { - return nil - } - return p.Pusher -} - -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (p *PagesBuild) GetStatus() string { - if p == nil || p.Status == nil { - return "" - } - return *p.Status -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (p *PagesBuild) GetUpdatedAt() Timestamp { - if p == nil || p.UpdatedAt == nil { - return Timestamp{} - } - return *p.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (p *PagesBuild) GetURL() string { - if p == nil || p.URL == nil { - return "" - } - return *p.URL -} - -// GetCAAError returns the CAAError field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetCAAError() string { - if p == nil || p.CAAError == nil { - return "" - } - return *p.CAAError -} - -// GetDNSResolves returns the DNSResolves field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetDNSResolves() bool { - if p == nil || p.DNSResolves == nil { - return false - } - return *p.DNSResolves -} - -// GetEnforcesHTTPS returns the EnforcesHTTPS field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetEnforcesHTTPS() bool { - if p == nil || p.EnforcesHTTPS == nil { - return false - } - return *p.EnforcesHTTPS -} - -// GetHasCNAMERecord returns the HasCNAMERecord field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetHasCNAMERecord() bool { - if p == nil || p.HasCNAMERecord == nil { - return false - } - return *p.HasCNAMERecord -} - -// GetHasMXRecordsPresent returns the HasMXRecordsPresent field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetHasMXRecordsPresent() bool { - if p == nil || p.HasMXRecordsPresent == nil { - return false - } - return *p.HasMXRecordsPresent -} - -// GetHost returns the Host field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetHost() string { - if p == nil || p.Host == nil { - return "" - } - return *p.Host -} - -// GetHTTPSError returns the HTTPSError field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetHTTPSError() string { - if p == nil || p.HTTPSError == nil { - return "" - } - return *p.HTTPSError -} - -// GetIsApexDomain returns the IsApexDomain field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetIsApexDomain() bool { - if p == nil || p.IsApexDomain == nil { - return false - } - return *p.IsApexDomain -} - -// GetIsARecord returns the IsARecord field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetIsARecord() bool { - if p == nil || p.IsARecord == nil { - return false - } - return *p.IsARecord -} - -// GetIsCloudflareIP returns the IsCloudflareIP field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetIsCloudflareIP() bool { - if p == nil || p.IsCloudflareIP == nil { - return false - } - return *p.IsCloudflareIP -} - -// GetIsCNAMEToFastly returns the IsCNAMEToFastly field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetIsCNAMEToFastly() bool { - if p == nil || p.IsCNAMEToFastly == nil { - return false - } - return *p.IsCNAMEToFastly -} - -// GetIsCNAMEToGithubUserDomain returns the IsCNAMEToGithubUserDomain field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetIsCNAMEToGithubUserDomain() bool { - if p == nil || p.IsCNAMEToGithubUserDomain == nil { - return false - } - return *p.IsCNAMEToGithubUserDomain -} - -// GetIsCNAMEToPagesDotGithubDotCom returns the IsCNAMEToPagesDotGithubDotCom field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetIsCNAMEToPagesDotGithubDotCom() bool { - if p == nil || p.IsCNAMEToPagesDotGithubDotCom == nil { - return false - } - return *p.IsCNAMEToPagesDotGithubDotCom -} - -// GetIsFastlyIP returns the IsFastlyIP field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetIsFastlyIP() bool { - if p == nil || p.IsFastlyIP == nil { - return false - } - return *p.IsFastlyIP -} - -// GetIsHTTPSEligible returns the IsHTTPSEligible field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetIsHTTPSEligible() bool { - if p == nil || p.IsHTTPSEligible == nil { - return false - } - return *p.IsHTTPSEligible -} - -// GetIsNonGithubPagesIPPresent returns the IsNonGithubPagesIPPresent field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetIsNonGithubPagesIPPresent() bool { - if p == nil || p.IsNonGithubPagesIPPresent == nil { - return false - } - return *p.IsNonGithubPagesIPPresent -} - -// GetIsOldIPAddress returns the IsOldIPAddress field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetIsOldIPAddress() bool { - if p == nil || p.IsOldIPAddress == nil { - return false - } - return *p.IsOldIPAddress -} - -// GetIsPagesDomain returns the IsPagesDomain field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetIsPagesDomain() bool { - if p == nil || p.IsPagesDomain == nil { - return false - } - return *p.IsPagesDomain -} - -// GetIsPointedToGithubPagesIP returns the IsPointedToGithubPagesIP field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetIsPointedToGithubPagesIP() bool { - if p == nil || p.IsPointedToGithubPagesIP == nil { - return false - } - return *p.IsPointedToGithubPagesIP -} - -// GetIsProxied returns the IsProxied field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetIsProxied() bool { - if p == nil || p.IsProxied == nil { - return false - } - return *p.IsProxied -} - -// GetIsServedByPages returns the IsServedByPages field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetIsServedByPages() bool { - if p == nil || p.IsServedByPages == nil { - return false - } - return *p.IsServedByPages -} - -// GetIsValid returns the IsValid field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetIsValid() bool { - if p == nil || p.IsValid == nil { - return false - } - return *p.IsValid -} - -// GetIsValidDomain returns the IsValidDomain field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetIsValidDomain() bool { - if p == nil || p.IsValidDomain == nil { - return false - } - return *p.IsValidDomain -} - -// GetNameservers returns the Nameservers field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetNameservers() string { - if p == nil || p.Nameservers == nil { - return "" - } - return *p.Nameservers -} - -// GetReason returns the Reason field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetReason() string { - if p == nil || p.Reason == nil { - return "" - } - return *p.Reason -} - -// GetRespondsToHTTPS returns the RespondsToHTTPS field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetRespondsToHTTPS() bool { - if p == nil || p.RespondsToHTTPS == nil { - return false - } - return *p.RespondsToHTTPS -} - -// GetShouldBeARecord returns the ShouldBeARecord field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetShouldBeARecord() bool { - if p == nil || p.ShouldBeARecord == nil { - return false - } - return *p.ShouldBeARecord -} - -// GetURI returns the URI field if it's non-nil, zero value otherwise. -func (p *PagesDomain) GetURI() string { - if p == nil || p.URI == nil { - return "" - } - return *p.URI -} - -// GetMessage returns the Message field if it's non-nil, zero value otherwise. -func (p *PagesError) GetMessage() string { - if p == nil || p.Message == nil { - return "" - } - return *p.Message -} - -// GetAltDomain returns the AltDomain field. -func (p *PagesHealthCheckResponse) GetAltDomain() *PagesDomain { - if p == nil { - return nil - } - return p.AltDomain -} - -// GetDomain returns the Domain field. -func (p *PagesHealthCheckResponse) GetDomain() *PagesDomain { - if p == nil { - return nil - } - return p.Domain -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (p *PagesHTTPSCertificate) GetDescription() string { - if p == nil || p.Description == nil { - return "" - } - 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 { - return "" - } - return *p.ExpiresAt -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (p *PagesHTTPSCertificate) GetState() string { - if p == nil || p.State == nil { - return "" - } - return *p.State -} - -// GetBranch returns the Branch field if it's non-nil, zero value otherwise. -func (p *PagesSource) GetBranch() string { - if p == nil || p.Branch == nil { - return "" - } - return *p.Branch -} - -// GetPath returns the Path field if it's non-nil, zero value otherwise. -func (p *PagesSource) GetPath() string { - if p == nil || p.Path == nil { - return "" - } - return *p.Path -} - -// GetTotalPages returns the TotalPages field if it's non-nil, zero value otherwise. -func (p *PageStats) GetTotalPages() int { - if p == nil || p.TotalPages == nil { - return 0 - } - return *p.TotalPages -} - -// GetBuildType returns the BuildType field if it's non-nil, zero value otherwise. -func (p *PagesUpdate) GetBuildType() string { - if p == nil || p.BuildType == nil { - return "" - } - return *p.BuildType -} - -// GetCNAME returns the CNAME field if it's non-nil, zero value otherwise. -func (p *PagesUpdate) GetCNAME() string { - if p == nil || p.CNAME == nil { - return "" - } - return *p.CNAME -} - -// GetHTTPSEnforced returns the HTTPSEnforced field if it's non-nil, zero value otherwise. -func (p *PagesUpdate) GetHTTPSEnforced() bool { - if p == nil || p.HTTPSEnforced == nil { - return false - } - return *p.HTTPSEnforced -} - -// GetPublic returns the Public field if it's non-nil, zero value otherwise. -func (p *PagesUpdate) GetPublic() bool { - if p == nil || p.Public == nil { - return false - } - return *p.Public -} - -// GetSource returns the Source field. -func (p *PagesUpdate) GetSource() *PagesSource { - if p == nil { - return nil - } - return p.Source -} - -// GetBuildType returns the BuildType field if it's non-nil, zero value otherwise. -func (p *PagesUpdateWithoutCNAME) GetBuildType() string { - if p == nil || p.BuildType == nil { - return "" - } - return *p.BuildType -} - -// GetHTTPSEnforced returns the HTTPSEnforced field if it's non-nil, zero value otherwise. -func (p *PagesUpdateWithoutCNAME) GetHTTPSEnforced() bool { - if p == nil || p.HTTPSEnforced == nil { - return false - } - return *p.HTTPSEnforced -} - -// GetPublic returns the Public field if it's non-nil, zero value otherwise. -func (p *PagesUpdateWithoutCNAME) GetPublic() bool { - if p == nil || p.Public == nil { - return false - } - return *p.Public -} - -// GetSource returns the Source field. -func (p *PagesUpdateWithoutCNAME) GetSource() *PagesSource { - if p == nil { - return nil - } - 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 { - return "" - } - return *p.Name -} - -// GetNegate returns the Negate field if it's non-nil, zero value otherwise. -func (p *PatternRuleParameters) GetNegate() bool { - if p == nil || p.Negate == nil { - return false - } - 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 { - return false - } - return *p.CurrentUserCanApprove -} - -// GetEnvironment returns the Environment field. -func (p *PendingDeployment) GetEnvironment() *PendingDeploymentEnvironment { - if p == nil { - return nil - } - 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 { - return 0 - } - return *p.WaitTimer -} - -// GetWaitTimerStartedAt returns the WaitTimerStartedAt field if it's non-nil, zero value otherwise. -func (p *PendingDeployment) GetWaitTimerStartedAt() Timestamp { - if p == nil || p.WaitTimerStartedAt == nil { - return Timestamp{} - } - return *p.WaitTimerStartedAt -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (p *PendingDeploymentEnvironment) GetHTMLURL() string { - if p == nil || p.HTMLURL == nil { - return "" - } - return *p.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (p *PendingDeploymentEnvironment) GetID() int64 { - if p == nil || p.ID == nil { - return 0 - } - return *p.ID -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (p *PendingDeploymentEnvironment) GetName() string { - if p == nil || p.Name == nil { - return "" - } - return *p.Name -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (p *PendingDeploymentEnvironment) GetNodeID() string { - if p == nil || p.NodeID == nil { - return "" - } - return *p.NodeID -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (p *PendingDeploymentEnvironment) GetURL() string { - if p == nil || p.URL == nil { - return "" - } - 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 { - return Timestamp{} - } - return *p.AccessGrantedAt -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (p *PersonalAccessToken) GetID() int64 { - if p == nil || p.ID == nil { - return 0 - } - return *p.ID -} - -// GetOwner returns the Owner field. -func (p *PersonalAccessToken) GetOwner() *User { - if p == nil { - return nil - } - return p.Owner -} - -// GetPermissions returns the Permissions field. -func (p *PersonalAccessToken) GetPermissions() *PersonalAccessTokenPermissions { - if p == nil { - return nil - } - return p.Permissions -} - -// GetRepositoriesURL returns the RepositoriesURL field if it's non-nil, zero value otherwise. -func (p *PersonalAccessToken) GetRepositoriesURL() string { - if p == nil || p.RepositoriesURL == nil { - return "" - } - return *p.RepositoriesURL -} - -// GetRepositorySelection returns the RepositorySelection field if it's non-nil, zero value otherwise. -func (p *PersonalAccessToken) GetRepositorySelection() string { - if p == nil || p.RepositorySelection == nil { - return "" - } - return *p.RepositorySelection -} - -// GetTokenExpired returns the TokenExpired field if it's non-nil, zero value otherwise. -func (p *PersonalAccessToken) GetTokenExpired() bool { - if p == nil || p.TokenExpired == nil { - return false - } - return *p.TokenExpired -} - -// GetTokenExpiresAt returns the TokenExpiresAt field if it's non-nil, zero value otherwise. -func (p *PersonalAccessToken) GetTokenExpiresAt() Timestamp { - if p == nil || p.TokenExpiresAt == nil { - return Timestamp{} - } - return *p.TokenExpiresAt -} - -// GetTokenID returns the TokenID field if it's non-nil, zero value otherwise. -func (p *PersonalAccessToken) GetTokenID() int64 { - if p == nil || p.TokenID == nil { - return 0 - } - return *p.TokenID -} - -// GetTokenLastUsedAt returns the TokenLastUsedAt field if it's non-nil, zero value otherwise. -func (p *PersonalAccessToken) GetTokenLastUsedAt() Timestamp { - if p == nil || p.TokenLastUsedAt == nil { - return Timestamp{} - } - return *p.TokenLastUsedAt -} - -// GetTokenName returns the TokenName field if it's non-nil, zero value otherwise. -func (p *PersonalAccessToken) GetTokenName() string { - if p == nil || p.TokenName == nil { - return "" - } - return *p.TokenName -} - -// GetOrg returns the Org map if it's non-nil, an empty map otherwise. -func (p *PersonalAccessTokenPermissions) GetOrg() map[string]string { - if p == nil || p.Org == nil { - return map[string]string{} - } - return p.Org -} - -// GetOther returns the Other map if it's non-nil, an empty map otherwise. -func (p *PersonalAccessTokenPermissions) GetOther() map[string]string { - if p == nil || p.Other == nil { - return map[string]string{} - } - return p.Other -} - -// GetRepo returns the Repo map if it's non-nil, an empty map otherwise. -func (p *PersonalAccessTokenPermissions) GetRepo() map[string]string { - if p == nil || p.Repo == nil { - return map[string]string{} - } - return p.Repo -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (p *PersonalAccessTokenRequest) GetCreatedAt() Timestamp { - if p == nil || p.CreatedAt == nil { - return Timestamp{} - } - return *p.CreatedAt -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (p *PersonalAccessTokenRequest) GetID() int64 { - if p == nil || p.ID == nil { - return 0 - } - return *p.ID -} - -// GetOrg returns the Org field. -func (p *PersonalAccessTokenRequest) GetOrg() *Organization { - if p == nil { - return nil - } - return p.Org -} - -// GetOwner returns the Owner field. -func (p *PersonalAccessTokenRequest) GetOwner() *User { - if p == nil { - return nil - } - return p.Owner -} - -// GetPermissionsAdded returns the PermissionsAdded field. -func (p *PersonalAccessTokenRequest) GetPermissionsAdded() *PersonalAccessTokenPermissions { - if p == nil { - return nil - } - return p.PermissionsAdded -} - -// GetPermissionsResult returns the PermissionsResult field. -func (p *PersonalAccessTokenRequest) GetPermissionsResult() *PersonalAccessTokenPermissions { - if p == nil { - return nil - } - return p.PermissionsResult -} - -// GetPermissionsUpgraded returns the PermissionsUpgraded field. -func (p *PersonalAccessTokenRequest) GetPermissionsUpgraded() *PersonalAccessTokenPermissions { - if p == nil { - return nil - } - 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 { - return 0 - } - return *p.RepositoryCount -} - -// GetRepositorySelection returns the RepositorySelection field if it's non-nil, zero value otherwise. -func (p *PersonalAccessTokenRequest) GetRepositorySelection() string { - if p == nil || p.RepositorySelection == nil { - return "" - } - return *p.RepositorySelection -} - -// GetTokenExpired returns the TokenExpired field if it's non-nil, zero value otherwise. -func (p *PersonalAccessTokenRequest) GetTokenExpired() bool { - if p == nil || p.TokenExpired == nil { - return false - } - return *p.TokenExpired -} - -// GetTokenExpiresAt returns the TokenExpiresAt field if it's non-nil, zero value otherwise. -func (p *PersonalAccessTokenRequest) GetTokenExpiresAt() Timestamp { - if p == nil || p.TokenExpiresAt == nil { - return Timestamp{} - } - return *p.TokenExpiresAt -} - -// GetTokenLastUsedAt returns the TokenLastUsedAt field if it's non-nil, zero value otherwise. -func (p *PersonalAccessTokenRequest) GetTokenLastUsedAt() Timestamp { - if p == nil || p.TokenLastUsedAt == nil { - return Timestamp{} - } - return *p.TokenLastUsedAt -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (p *PersonalAccessTokenRequestEvent) GetAction() string { - if p == nil || p.Action == nil { - return "" - } - return *p.Action -} - -// GetInstallation returns the Installation field. -func (p *PersonalAccessTokenRequestEvent) GetInstallation() *Installation { - if p == nil { - return nil - } - return p.Installation -} - -// GetOrg returns the Org field. -func (p *PersonalAccessTokenRequestEvent) GetOrg() *Organization { - if p == nil { - return nil - } - return p.Org -} - -// GetPersonalAccessTokenRequest returns the PersonalAccessTokenRequest field. -func (p *PersonalAccessTokenRequestEvent) GetPersonalAccessTokenRequest() *PersonalAccessTokenRequest { - if p == nil { - return nil - } - return p.PersonalAccessTokenRequest -} - -// GetSender returns the Sender field. -func (p *PersonalAccessTokenRequestEvent) GetSender() *User { - if p == nil { - return nil - } - return p.Sender -} - -// GetHook returns the Hook field. -func (p *PingEvent) GetHook() *Hook { - if p == nil { - return nil - } - return p.Hook -} - -// GetHookID returns the HookID field if it's non-nil, zero value otherwise. -func (p *PingEvent) GetHookID() int64 { - if p == nil || p.HookID == nil { - return 0 - } - return *p.HookID -} - -// GetInstallation returns the Installation field. -func (p *PingEvent) GetInstallation() *Installation { - if p == nil { - return nil - } - return p.Installation -} - -// GetOrg returns the Org field. -func (p *PingEvent) GetOrg() *Organization { - if p == nil { - return nil - } - return p.Org -} - -// GetRepo returns the Repo field. -func (p *PingEvent) GetRepo() *Repository { - if p == nil { - return nil - } - return p.Repo -} - -// GetSender returns the Sender field. -func (p *PingEvent) GetSender() *User { - if p == nil { - return nil - } - return p.Sender -} - -// GetZen returns the Zen field if it's non-nil, zero value otherwise. -func (p *PingEvent) GetZen() string { - if p == nil || p.Zen == nil { - return "" - } - return *p.Zen -} - -// GetPinnedAt returns the PinnedAt field if it's non-nil, zero value otherwise. -func (p *PinnedIssueComment) GetPinnedAt() Timestamp { - if p == nil || p.PinnedAt == nil { - return Timestamp{} - } - return *p.PinnedAt -} - -// GetPinnedBy returns the PinnedBy field. -func (p *PinnedIssueComment) GetPinnedBy() *User { - if p == nil { - return nil - } - return p.PinnedBy -} - -// GetCollaborators returns the Collaborators field if it's non-nil, zero value otherwise. -func (p *Plan) GetCollaborators() int { - if p == nil || p.Collaborators == nil { - return 0 - } - return *p.Collaborators -} - -// GetFilledSeats returns the FilledSeats field if it's non-nil, zero value otherwise. -func (p *Plan) GetFilledSeats() int { - if p == nil || p.FilledSeats == nil { - return 0 - } - return *p.FilledSeats -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (p *Plan) GetName() string { - if p == nil || p.Name == nil { - return "" - } - return *p.Name -} - -// GetPrivateRepos returns the PrivateRepos field if it's non-nil, zero value otherwise. -func (p *Plan) GetPrivateRepos() int64 { - if p == nil || p.PrivateRepos == nil { - return 0 - } - return *p.PrivateRepos -} - -// GetSeats returns the Seats field if it's non-nil, zero value otherwise. -func (p *Plan) GetSeats() int { - if p == nil || p.Seats == nil { - return 0 - } - return *p.Seats -} - -// GetSpace returns the Space field if it's non-nil, zero value otherwise. -func (p *Plan) GetSpace() int { - if p == nil || p.Space == nil { - return 0 - } - 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 { - return "" - } - return *p.Model -} - -// GetOrganization returns the Organization field if it's non-nil, zero value otherwise. -func (p *PremiumRequestUsageReport) GetOrganization() string { - if p == nil || p.Organization == nil { - return "" - } - return *p.Organization -} - -// GetProduct returns the Product field if it's non-nil, zero value otherwise. -func (p *PremiumRequestUsageReport) GetProduct() string { - if p == nil || p.Product == nil { - return "" - } - 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 { - return "" - } - return *p.User -} - -// GetDay returns the Day field if it's non-nil, zero value otherwise. -func (p *PremiumRequestUsageReportOptions) GetDay() int { - if p == nil || p.Day == nil { - return 0 - } - return *p.Day -} - -// GetModel returns the Model field if it's non-nil, zero value otherwise. -func (p *PremiumRequestUsageReportOptions) GetModel() string { - if p == nil || p.Model == nil { - return "" - } - return *p.Model -} - -// GetMonth returns the Month field if it's non-nil, zero value otherwise. -func (p *PremiumRequestUsageReportOptions) GetMonth() int { - if p == nil || p.Month == nil { - return 0 - } - return *p.Month -} - -// GetProduct returns the Product field if it's non-nil, zero value otherwise. -func (p *PremiumRequestUsageReportOptions) GetProduct() string { - if p == nil || p.Product == nil { - return "" - } - return *p.Product -} - -// GetUser returns the User field if it's non-nil, zero value otherwise. -func (p *PremiumRequestUsageReportOptions) GetUser() string { - if p == nil || p.User == nil { - return "" - } - return *p.User -} - -// GetYear returns the Year field if it's non-nil, zero value otherwise. -func (p *PremiumRequestUsageReportOptions) GetYear() int { - if p == nil || p.Year == nil { - return 0 - } - return *p.Year -} - -// GetDay returns the Day field if it's non-nil, zero value otherwise. -func (p *PremiumRequestUsageTimePeriod) GetDay() int { - if p == nil || p.Day == nil { - return 0 - } - return *p.Day -} - -// GetMonth returns the Month field if it's non-nil, zero value otherwise. -func (p *PremiumRequestUsageTimePeriod) GetMonth() int { - if p == nil || p.Month == nil { - return 0 - } - 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 { - return "" - } - return *p.ConfigURL -} - -// GetEnforcement returns the Enforcement field if it's non-nil, zero value otherwise. -func (p *PreReceiveHook) GetEnforcement() string { - if p == nil || p.Enforcement == nil { - return "" - } - return *p.Enforcement -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (p *PreReceiveHook) GetID() int64 { - if p == nil || p.ID == nil { - return 0 - } - return *p.ID -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (p *PreReceiveHook) GetName() string { - if p == nil || p.Name == nil { - return "" - } - 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 { - return 0 - } - return *p.TotalCount -} - -// GetAccountID returns the AccountID field if it's non-nil, zero value otherwise. -func (p *PrivateRegistry) GetAccountID() string { - if p == nil || p.AccountID == nil { - return "" - } - return *p.AccountID -} - -// GetAudience returns the Audience field if it's non-nil, zero value otherwise. -func (p *PrivateRegistry) GetAudience() string { - if p == nil || p.Audience == nil { - return "" - } - return *p.Audience -} - -// GetAuthType returns the AuthType field. -func (p *PrivateRegistry) GetAuthType() *PrivateRegistryAuthType { - if p == nil { - return nil - } - return p.AuthType -} - -// GetAWSRegion returns the AWSRegion field if it's non-nil, zero value otherwise. -func (p *PrivateRegistry) GetAWSRegion() string { - if p == nil || p.AWSRegion == nil { - return "" - } - return *p.AWSRegion -} - -// GetClientID returns the ClientID field if it's non-nil, zero value otherwise. -func (p *PrivateRegistry) GetClientID() string { - if p == nil || p.ClientID == nil { - return "" - } - return *p.ClientID -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (p *PrivateRegistry) GetCreatedAt() Timestamp { - if p == nil || p.CreatedAt == nil { - return Timestamp{} - } - return *p.CreatedAt -} - -// GetDomain returns the Domain field if it's non-nil, zero value otherwise. -func (p *PrivateRegistry) GetDomain() string { - if p == nil || p.Domain == nil { - return "" - } - return *p.Domain -} - -// GetDomainOwner returns the DomainOwner field if it's non-nil, zero value otherwise. -func (p *PrivateRegistry) GetDomainOwner() string { - if p == nil || p.DomainOwner == nil { - return "" - } - return *p.DomainOwner -} - -// GetIdentityMappingName returns the IdentityMappingName field if it's non-nil, zero value otherwise. -func (p *PrivateRegistry) GetIdentityMappingName() string { - if p == nil || p.IdentityMappingName == nil { - return "" - } - return *p.IdentityMappingName -} - -// GetJFrogOIDCProviderName returns the JFrogOIDCProviderName field if it's non-nil, zero value otherwise. -func (p *PrivateRegistry) GetJFrogOIDCProviderName() string { - if p == nil || p.JFrogOIDCProviderName == nil { - return "" - } - return *p.JFrogOIDCProviderName -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (p *PrivateRegistry) GetName() string { - if p == nil || p.Name == nil { - return "" - } - return *p.Name -} - -// GetRegistryType returns the RegistryType field. -func (p *PrivateRegistry) GetRegistryType() *PrivateRegistryType { - if p == nil { - return nil - } - return p.RegistryType -} - -// GetReplacesBase returns the ReplacesBase field if it's non-nil, zero value otherwise. -func (p *PrivateRegistry) GetReplacesBase() bool { - if p == nil || p.ReplacesBase == nil { - return false - } - return *p.ReplacesBase -} - -// GetRoleName returns the RoleName field if it's non-nil, zero value otherwise. -func (p *PrivateRegistry) GetRoleName() string { - if p == nil || p.RoleName == nil { - return "" - } - return *p.RoleName -} - -// GetSelectedRepositoryIDs returns the SelectedRepositoryIDs slice if it's non-nil, nil otherwise. -func (p *PrivateRegistry) GetSelectedRepositoryIDs() []int64 { - if p == nil || p.SelectedRepositoryIDs == nil { - return nil - } - return p.SelectedRepositoryIDs -} - -// GetTenantID returns the TenantID field if it's non-nil, zero value otherwise. -func (p *PrivateRegistry) GetTenantID() string { - if p == nil || p.TenantID == nil { - return "" - } - return *p.TenantID -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (p *PrivateRegistry) GetUpdatedAt() Timestamp { - if p == nil || p.UpdatedAt == nil { - return Timestamp{} - } - return *p.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (p *PrivateRegistry) GetURL() string { - if p == nil || p.URL == nil { - return "" - } - return *p.URL -} - -// GetUsername returns the Username field if it's non-nil, zero value otherwise. -func (p *PrivateRegistry) GetUsername() string { - if p == nil || p.Username == nil { - return "" - } - return *p.Username -} - -// GetVisibility returns the Visibility field. -func (p *PrivateRegistry) GetVisibility() *PrivateRegistryVisibility { - if p == nil { - return nil - } - return p.Visibility -} - -// GetHRef returns the HRef field if it's non-nil, zero value otherwise. -func (p *PRLink) GetHRef() string { - if p == nil || p.HRef == nil { - return "" - } - return *p.HRef -} - -// GetComments returns the Comments field. -func (p *PRLinks) GetComments() *PRLink { - if p == nil { - return nil - } - return p.Comments -} - -// GetCommits returns the Commits field. -func (p *PRLinks) GetCommits() *PRLink { - if p == nil { - return nil - } - return p.Commits -} - -// GetHTML returns the HTML field. -func (p *PRLinks) GetHTML() *PRLink { - if p == nil { - return nil - } - return p.HTML -} - -// GetIssue returns the Issue field. -func (p *PRLinks) GetIssue() *PRLink { - if p == nil { - return nil - } - return p.Issue -} - -// GetReviewComment returns the ReviewComment field. -func (p *PRLinks) GetReviewComment() *PRLink { - if p == nil { - return nil - } - return p.ReviewComment -} - -// GetReviewComments returns the ReviewComments field. -func (p *PRLinks) GetReviewComments() *PRLink { - if p == nil { - return nil - } - return p.ReviewComments -} - -// GetSelf returns the Self field. -func (p *PRLinks) GetSelf() *PRLink { - if p == nil { - return nil - } - return p.Self -} - -// GetStatuses returns the Statuses field. -func (p *PRLinks) GetStatuses() *PRLink { - if p == nil { - return nil - } - return p.Statuses -} - -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (p *ProjectBody) GetFrom() string { - if p == nil || p.From == nil { - return "" - } - return *p.From -} - -// GetNote returns the Note field. -func (p *ProjectCardChange) GetNote() *ProjectCardNote { - if p == nil { - return nil - } - return p.Note -} - -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (p *ProjectCardNote) GetFrom() string { - if p == nil || p.From == nil { - return "" - } - return *p.From -} - -// GetBody returns the Body field. -func (p *ProjectChange) GetBody() *ProjectBody { - if p == nil { - return nil - } - return p.Body -} - -// GetName returns the Name field. -func (p *ProjectChange) GetName() *ProjectName { - if p == nil { - return nil - } - return p.Name -} - -// GetName returns the Name field. -func (p *ProjectColumnChange) GetName() *ProjectColumnName { - if p == nil { - return nil - } - return p.Name -} - -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (p *ProjectColumnName) GetFrom() string { - if p == nil || p.From == nil { - return "" - } - return *p.From -} - -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (p *ProjectName) GetFrom() string { - if p == nil || p.From == nil { - return "" - } - return *p.From -} - -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (p *ProjectV2) GetBody() string { - if p == nil || p.Body == nil { - return "" - } - return *p.Body -} - -// GetClosedAt returns the ClosedAt field if it's non-nil, zero value otherwise. -func (p *ProjectV2) GetClosedAt() Timestamp { - if p == nil || p.ClosedAt == nil { - return Timestamp{} - } - return *p.ClosedAt -} - -// GetColumnsURL returns the ColumnsURL field if it's non-nil, zero value otherwise. -func (p *ProjectV2) GetColumnsURL() string { - if p == nil || p.ColumnsURL == nil { - return "" - } - return *p.ColumnsURL -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (p *ProjectV2) GetCreatedAt() Timestamp { - if p == nil || p.CreatedAt == nil { - return Timestamp{} - } - return *p.CreatedAt -} - -// GetCreator returns the Creator field. -func (p *ProjectV2) GetCreator() *User { - if p == nil { - return nil - } - return p.Creator -} - -// GetDeletedAt returns the DeletedAt field if it's non-nil, zero value otherwise. -func (p *ProjectV2) GetDeletedAt() Timestamp { - if p == nil || p.DeletedAt == nil { - return Timestamp{} - } - return *p.DeletedAt -} - -// GetDeletedBy returns the DeletedBy field. -func (p *ProjectV2) GetDeletedBy() *User { - if p == nil { - return nil - } - return p.DeletedBy -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (p *ProjectV2) GetDescription() string { - if p == nil || p.Description == nil { - return "" - } - return *p.Description -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (p *ProjectV2) GetHTMLURL() string { - if p == nil || p.HTMLURL == nil { - return "" - } - return *p.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (p *ProjectV2) GetID() int64 { - if p == nil || p.ID == nil { - return 0 - } - return *p.ID -} - -// GetIsTemplate returns the IsTemplate field if it's non-nil, zero value otherwise. -func (p *ProjectV2) GetIsTemplate() bool { - if p == nil || p.IsTemplate == nil { - return false - } - return *p.IsTemplate -} - -// GetLatestStatusUpdate returns the LatestStatusUpdate field. -func (p *ProjectV2) GetLatestStatusUpdate() *ProjectV2StatusUpdate { - if p == nil { - return nil - } - return p.LatestStatusUpdate -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (p *ProjectV2) GetName() string { - if p == nil || p.Name == nil { - return "" - } - return *p.Name -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (p *ProjectV2) GetNodeID() string { - if p == nil || p.NodeID == nil { - return "" - } - return *p.NodeID -} - -// GetNumber returns the Number field if it's non-nil, zero value otherwise. -func (p *ProjectV2) GetNumber() int { - if p == nil || p.Number == nil { - return 0 - } - return *p.Number -} - -// GetOrganizationPermission returns the OrganizationPermission field if it's non-nil, zero value otherwise. -func (p *ProjectV2) GetOrganizationPermission() string { - if p == nil || p.OrganizationPermission == nil { - return "" - } - return *p.OrganizationPermission -} - -// GetOwner returns the Owner field. -func (p *ProjectV2) GetOwner() *User { - if p == nil { - return nil - } - return p.Owner -} - -// GetOwnerURL returns the OwnerURL field if it's non-nil, zero value otherwise. -func (p *ProjectV2) GetOwnerURL() string { - if p == nil || p.OwnerURL == nil { - return "" - } - return *p.OwnerURL -} - -// GetPrivate returns the Private field if it's non-nil, zero value otherwise. -func (p *ProjectV2) GetPrivate() bool { - if p == nil || p.Private == nil { - return false - } - return *p.Private -} - -// GetPublic returns the Public field if it's non-nil, zero value otherwise. -func (p *ProjectV2) GetPublic() bool { - if p == nil || p.Public == nil { - return false - } - return *p.Public -} - -// GetShortDescription returns the ShortDescription field if it's non-nil, zero value otherwise. -func (p *ProjectV2) GetShortDescription() string { - if p == nil || p.ShortDescription == nil { - return "" - } - return *p.ShortDescription -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (p *ProjectV2) GetState() string { - if p == nil || p.State == nil { - return "" - } - return *p.State -} - -// GetTitle returns the Title field if it's non-nil, zero value otherwise. -func (p *ProjectV2) GetTitle() string { - if p == nil || p.Title == nil { - return "" - } - return *p.Title -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (p *ProjectV2) GetUpdatedAt() Timestamp { - if p == nil || p.UpdatedAt == nil { - return Timestamp{} - } - return *p.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (p *ProjectV2) GetURL() string { - if p == nil || p.URL == nil { - return "" - } - return *p.URL -} - -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (p *ProjectV2DraftIssue) GetBody() string { - if p == nil || p.Body == nil { - return "" - } - return *p.Body -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (p *ProjectV2DraftIssue) GetCreatedAt() Timestamp { - if p == nil || p.CreatedAt == nil { - return Timestamp{} - } - return *p.CreatedAt -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (p *ProjectV2DraftIssue) GetID() int64 { - if p == nil || p.ID == nil { - return 0 - } - return *p.ID -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (p *ProjectV2DraftIssue) GetNodeID() string { - if p == nil || p.NodeID == nil { - return "" - } - return *p.NodeID -} - -// GetTitle returns the Title field if it's non-nil, zero value otherwise. -func (p *ProjectV2DraftIssue) GetTitle() string { - if p == nil || p.Title == nil { - return "" - } - return *p.Title -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (p *ProjectV2DraftIssue) GetUpdatedAt() Timestamp { - if p == nil || p.UpdatedAt == nil { - return Timestamp{} - } - return *p.UpdatedAt -} - -// GetUser returns the User field. -func (p *ProjectV2DraftIssue) GetUser() *User { - if p == nil { - return nil - } - return p.User -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (p *ProjectV2Event) GetAction() string { - if p == nil || p.Action == nil { - return "" - } - return *p.Action -} - -// GetInstallation returns the Installation field. -func (p *ProjectV2Event) GetInstallation() *Installation { - if p == nil { - return nil - } - return p.Installation -} - -// GetOrg returns the Org field. -func (p *ProjectV2Event) GetOrg() *Organization { - if p == nil { - return nil - } - return p.Org -} - -// GetProjectsV2 returns the ProjectsV2 field. -func (p *ProjectV2Event) GetProjectsV2() *ProjectV2 { - if p == nil { - return nil - } - return p.ProjectsV2 -} - -// GetSender returns the Sender field. -func (p *ProjectV2Event) GetSender() *User { - if p == nil { - return nil - } - return p.Sender -} - -// GetConfiguration returns the Configuration field. -func (p *ProjectV2Field) GetConfiguration() *ProjectV2FieldConfiguration { - if p == nil { - return nil - } - return p.Configuration -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (p *ProjectV2Field) GetCreatedAt() Timestamp { - if p == nil || p.CreatedAt == nil { - return Timestamp{} - } - return *p.CreatedAt -} - -// GetDataType returns the DataType field if it's non-nil, zero value otherwise. -func (p *ProjectV2Field) GetDataType() string { - if p == nil || p.DataType == nil { - return "" - } - return *p.DataType -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (p *ProjectV2Field) GetID() int64 { - if p == nil || p.ID == nil { - return 0 - } - return *p.ID -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (p *ProjectV2Field) GetName() string { - if p == nil || p.Name == nil { - return "" - } - return *p.Name -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (p *ProjectV2Field) GetNodeID() string { - if p == nil || p.NodeID == nil { - return "" - } - 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 { - return "" - } - return *p.ProjectURL -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (p *ProjectV2Field) GetUpdatedAt() Timestamp { - if p == nil || p.UpdatedAt == nil { - return Timestamp{} - } - return *p.UpdatedAt -} - -// GetDuration returns the Duration field if it's non-nil, zero value otherwise. -func (p *ProjectV2FieldConfiguration) GetDuration() int { - if p == nil || p.Duration == nil { - return 0 - } - 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 { - return 0 - } - return *p.StartDay -} - -// GetDuration returns the Duration field if it's non-nil, zero value otherwise. -func (p *ProjectV2FieldIteration) GetDuration() int { - if p == nil || p.Duration == nil { - return 0 - } - return *p.Duration -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (p *ProjectV2FieldIteration) GetID() string { - if p == nil || p.ID == nil { - return "" - } - return *p.ID -} - -// GetStartDate returns the StartDate field if it's non-nil, zero value otherwise. -func (p *ProjectV2FieldIteration) GetStartDate() string { - if p == nil || p.StartDate == nil { - return "" - } - return *p.StartDate -} - -// GetTitle returns the Title field. -func (p *ProjectV2FieldIteration) GetTitle() *ProjectV2TextContent { - if p == nil { - return nil - } - return p.Title -} - -// GetDuration returns the Duration field if it's non-nil, zero value otherwise. -func (p *ProjectV2FieldIterationConfiguration) GetDuration() int { - if p == nil || p.Duration == nil { - return 0 - } - return *p.Duration -} - -// GetIterations returns the Iterations slice if it's non-nil, nil otherwise. -func (p *ProjectV2FieldIterationConfiguration) GetIterations() []*ProjectV2FieldIterationConfigurationIteration { - if p == nil || p.Iterations == nil { - return nil - } - return p.Iterations -} - -// GetStartDate returns the StartDate field if it's non-nil, zero value otherwise. -func (p *ProjectV2FieldIterationConfiguration) GetStartDate() string { - if p == nil || p.StartDate == nil { - return "" - } - return *p.StartDate -} - -// GetDuration returns the Duration field if it's non-nil, zero value otherwise. -func (p *ProjectV2FieldIterationConfigurationIteration) GetDuration() int { - if p == nil || p.Duration == nil { - return 0 - } - return *p.Duration -} - -// GetStartDate returns the StartDate field if it's non-nil, zero value otherwise. -func (p *ProjectV2FieldIterationConfigurationIteration) GetStartDate() string { - if p == nil || p.StartDate == nil { - return "" - } - return *p.StartDate -} - -// GetTitle returns the Title field if it's non-nil, zero value otherwise. -func (p *ProjectV2FieldIterationConfigurationIteration) GetTitle() string { - if p == nil || p.Title == nil { - return "" - } - return *p.Title -} - -// GetColor returns the Color field if it's non-nil, zero value otherwise. -func (p *ProjectV2FieldOption) GetColor() string { - if p == nil || p.Color == nil { - return "" - } - return *p.Color -} - -// GetDescription returns the Description field. -func (p *ProjectV2FieldOption) GetDescription() *ProjectV2TextContent { - if p == nil { - return nil - } - return p.Description -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (p *ProjectV2FieldOption) GetID() string { - if p == nil || p.ID == nil { - return "" - } - return *p.ID -} - -// GetName returns the Name field. -func (p *ProjectV2FieldOption) GetName() *ProjectV2TextContent { - if p == nil { - return nil - } - return p.Name -} - -// GetColor returns the Color field if it's non-nil, zero value otherwise. -func (p *ProjectV2FieldSingleSelectOption) GetColor() string { - if p == nil || p.Color == nil { - return "" - } - return *p.Color -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (p *ProjectV2FieldSingleSelectOption) GetDescription() string { - if p == nil || p.Description == nil { - return "" - } - return *p.Description -} - -// GetName returns the Name field. -func (p *ProjectV2FieldSingleSelectOption) GetName() string { - if p == nil { - return "" - } - return p.Name -} - -// GetArchivedAt returns the ArchivedAt field if it's non-nil, zero value otherwise. -func (p *ProjectV2Item) GetArchivedAt() Timestamp { - if p == nil || p.ArchivedAt == nil { - return Timestamp{} - } - return *p.ArchivedAt -} - -// GetContent returns the Content field. -func (p *ProjectV2Item) GetContent() *ProjectV2ItemContent { - if p == nil { - return nil - } - return p.Content -} - -// GetContentNodeID returns the ContentNodeID field if it's non-nil, zero value otherwise. -func (p *ProjectV2Item) GetContentNodeID() string { - if p == nil || p.ContentNodeID == nil { - return "" - } - return *p.ContentNodeID -} - -// GetContentType returns the ContentType field. -func (p *ProjectV2Item) GetContentType() *ProjectV2ItemContentType { - if p == nil { - return nil - } - return p.ContentType -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (p *ProjectV2Item) GetCreatedAt() Timestamp { - if p == nil || p.CreatedAt == nil { - return Timestamp{} - } - return *p.CreatedAt -} - -// GetCreator returns the Creator field. -func (p *ProjectV2Item) GetCreator() *User { - if p == nil { - return nil - } - 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 { - return 0 - } - return *p.ID -} - -// GetItemURL returns the ItemURL field if it's non-nil, zero value otherwise. -func (p *ProjectV2Item) GetItemURL() string { - if p == nil || p.ItemURL == nil { - return "" - } - return *p.ItemURL -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (p *ProjectV2Item) GetNodeID() string { - if p == nil || p.NodeID == nil { - return "" - } - return *p.NodeID -} - -// GetProjectNodeID returns the ProjectNodeID field if it's non-nil, zero value otherwise. -func (p *ProjectV2Item) GetProjectNodeID() string { - if p == nil || p.ProjectNodeID == nil { - return "" - } - return *p.ProjectNodeID -} - -// GetProjectURL returns the ProjectURL field if it's non-nil, zero value otherwise. -func (p *ProjectV2Item) GetProjectURL() string { - if p == nil || p.ProjectURL == nil { - return "" - } - return *p.ProjectURL -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (p *ProjectV2Item) GetUpdatedAt() Timestamp { - if p == nil || p.UpdatedAt == nil { - return Timestamp{} - } - return *p.UpdatedAt -} - -// GetArchivedAt returns the ArchivedAt field. -func (p *ProjectV2ItemChange) GetArchivedAt() *ArchivedAt { - if p == nil { - return nil - } - return p.ArchivedAt -} - -// GetFieldValue returns the FieldValue field. -func (p *ProjectV2ItemChange) GetFieldValue() *FieldValue { - if p == nil { - return nil - } - return p.FieldValue -} - -// GetDraftIssue returns the DraftIssue field. -func (p *ProjectV2ItemContent) GetDraftIssue() *ProjectV2DraftIssue { - if p == nil { - return nil - } - return p.DraftIssue -} - -// GetIssue returns the Issue field. -func (p *ProjectV2ItemContent) GetIssue() *Issue { - if p == nil { - return nil - } - return p.Issue -} - -// GetPullRequest returns the PullRequest field. -func (p *ProjectV2ItemContent) GetPullRequest() *PullRequest { - if p == nil { - return nil - } - return p.PullRequest -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (p *ProjectV2ItemEvent) GetAction() string { - if p == nil || p.Action == nil { - return "" - } - return *p.Action -} - -// GetChanges returns the Changes field. -func (p *ProjectV2ItemEvent) GetChanges() *ProjectV2ItemChange { - if p == nil { - return nil - } - return p.Changes -} - -// GetInstallation returns the Installation field. -func (p *ProjectV2ItemEvent) GetInstallation() *Installation { - if p == nil { - return nil - } - return p.Installation -} - -// GetOrg returns the Org field. -func (p *ProjectV2ItemEvent) GetOrg() *Organization { - if p == nil { - return nil - } - return p.Org -} - -// GetProjectV2Item returns the ProjectV2Item field. -func (p *ProjectV2ItemEvent) GetProjectV2Item() *ProjectV2Item { - if p == nil { - return nil - } - return p.ProjectV2Item -} - -// GetSender returns the Sender field. -func (p *ProjectV2ItemEvent) GetSender() *User { - if p == nil { - return nil - } - return p.Sender -} - -// GetDataType returns the DataType field if it's non-nil, zero value otherwise. -func (p *ProjectV2ItemFieldValue) GetDataType() string { - if p == nil || p.DataType == nil { - return "" - } - return *p.DataType -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (p *ProjectV2ItemFieldValue) GetID() int64 { - if p == nil || p.ID == nil { - return 0 - } - return *p.ID -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (p *ProjectV2ItemFieldValue) GetName() string { - if p == nil || p.Name == nil { - return "" - } - 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 { - return "" - } - return *p.Body -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (p *ProjectV2StatusUpdate) GetCreatedAt() Timestamp { - if p == nil || p.CreatedAt == nil { - return Timestamp{} - } - return *p.CreatedAt -} - -// GetCreator returns the Creator field. -func (p *ProjectV2StatusUpdate) GetCreator() *User { - if p == nil { - return nil - } - return p.Creator -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (p *ProjectV2StatusUpdate) GetID() int64 { - if p == nil || p.ID == nil { - return 0 - } - return *p.ID -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (p *ProjectV2StatusUpdate) GetNodeID() string { - if p == nil || p.NodeID == nil { - return "" - } - return *p.NodeID -} - -// GetProjectNodeID returns the ProjectNodeID field if it's non-nil, zero value otherwise. -func (p *ProjectV2StatusUpdate) GetProjectNodeID() string { - if p == nil || p.ProjectNodeID == nil { - return "" - } - return *p.ProjectNodeID -} - -// GetStartDate returns the StartDate field if it's non-nil, zero value otherwise. -func (p *ProjectV2StatusUpdate) GetStartDate() string { - if p == nil || p.StartDate == nil { - return "" - } - return *p.StartDate -} - -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (p *ProjectV2StatusUpdate) GetStatus() string { - if p == nil || p.Status == nil { - return "" - } - return *p.Status -} - -// GetTargetDate returns the TargetDate field if it's non-nil, zero value otherwise. -func (p *ProjectV2StatusUpdate) GetTargetDate() string { - if p == nil || p.TargetDate == nil { - return "" - } - return *p.TargetDate -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (p *ProjectV2StatusUpdate) GetUpdatedAt() Timestamp { - if p == nil || p.UpdatedAt == nil { - return Timestamp{} - } - return *p.UpdatedAt -} - -// GetHTML returns the HTML field if it's non-nil, zero value otherwise. -func (p *ProjectV2TextContent) GetHTML() string { - if p == nil || p.HTML == nil { - return "" - } - return *p.HTML -} - -// GetRaw returns the Raw field if it's non-nil, zero value otherwise. -func (p *ProjectV2TextContent) GetRaw() string { - if p == nil || p.Raw == nil { - return "" - } - return *p.Raw -} - -// GetCreatedAt returns the CreatedAt field. -func (p *ProjectV2View) GetCreatedAt() Timestamp { - if p == nil { - return Timestamp{} - } - return p.CreatedAt -} - -// GetCreator returns the Creator field. -func (p *ProjectV2View) GetCreator() User { - if p == nil { - return User{} - } - return p.Creator -} - -// GetFilter returns the Filter field if it's non-nil, zero value otherwise. -func (p *ProjectV2View) GetFilter() string { - if p == nil || p.Filter == nil { - return "" - } - return *p.Filter -} - -// GetGroupBy returns the GroupBy slice if it's non-nil, nil otherwise. -func (p *ProjectV2View) GetGroupBy() []int64 { - if p == nil || p.GroupBy == nil { - return nil - } - return p.GroupBy -} - -// GetHTMLURL returns the HTMLURL field. -func (p *ProjectV2View) GetHTMLURL() string { - if p == nil { - return "" - } - return p.HTMLURL -} - -// GetID returns the ID field. -func (p *ProjectV2View) GetID() int64 { - if p == nil { - return 0 - } - return p.ID -} - -// GetLayout returns the Layout field. -func (p *ProjectV2View) GetLayout() string { - if p == nil { - return "" - } - return p.Layout -} - -// GetName returns the Name field. -func (p *ProjectV2View) GetName() string { - if p == nil { - return "" - } - return p.Name -} - -// GetNodeID returns the NodeID field. -func (p *ProjectV2View) GetNodeID() string { - if p == nil { - return "" - } - return p.NodeID -} - -// GetNumber returns the Number field. -func (p *ProjectV2View) GetNumber() int { - if p == nil { - return 0 - } - return p.Number -} - -// GetProjectURL returns the ProjectURL field. -func (p *ProjectV2View) GetProjectURL() string { - if p == nil { - return "" - } - return p.ProjectURL -} - -// GetSortBy returns the SortBy slice if it's non-nil, nil otherwise. -func (p *ProjectV2View) GetSortBy() []*ProjectV2ViewSortBy { - if p == nil || p.SortBy == nil { - return nil - } - return p.SortBy -} - -// GetUpdatedAt returns the UpdatedAt field. -func (p *ProjectV2View) GetUpdatedAt() Timestamp { - if p == nil { - return Timestamp{} - } - return p.UpdatedAt -} - -// GetVerticalGroupBy returns the VerticalGroupBy slice if it's non-nil, nil otherwise. -func (p *ProjectV2View) GetVerticalGroupBy() []int64 { - if p == nil || p.VerticalGroupBy == nil { - return nil - } - return p.VerticalGroupBy -} - -// GetVisibleFields returns the VisibleFields slice if it's non-nil, nil otherwise. -func (p *ProjectV2View) GetVisibleFields() []int64 { - if p == nil || p.VisibleFields == nil { - return nil - } - return p.VisibleFields -} - -// GetDirection returns the Direction field if it's non-nil, zero value otherwise. -func (p *ProjectV2ViewSortBy) GetDirection() string { - if p == nil || p.Direction == nil { - return "" - } - return *p.Direction -} - -// GetFieldID returns the FieldID field if it's non-nil, zero value otherwise. -func (p *ProjectV2ViewSortBy) GetFieldID() int64 { - if p == nil || p.FieldID == nil { - return 0 - } - return *p.FieldID -} - -// GetAllowDeletions returns the AllowDeletions field. -func (p *Protection) GetAllowDeletions() *AllowDeletions { - if p == nil { - return nil - } - return p.AllowDeletions -} - -// GetAllowForcePushes returns the AllowForcePushes field. -func (p *Protection) GetAllowForcePushes() *AllowForcePushes { - if p == nil { - return nil - } - return p.AllowForcePushes -} - -// GetAllowForkSyncing returns the AllowForkSyncing field. -func (p *Protection) GetAllowForkSyncing() *AllowForkSyncing { - if p == nil { - return nil - } - return p.AllowForkSyncing -} - -// GetBlockCreations returns the BlockCreations field. -func (p *Protection) GetBlockCreations() *BlockCreations { - if p == nil { - return nil - } - return p.BlockCreations -} - -// GetEnforceAdmins returns the EnforceAdmins field. -func (p *Protection) GetEnforceAdmins() *AdminEnforcement { - if p == nil { - return nil - } - return p.EnforceAdmins -} - -// GetLockBranch returns the LockBranch field. -func (p *Protection) GetLockBranch() *LockBranch { - if p == nil { - return nil - } - return p.LockBranch -} - -// GetRequiredConversationResolution returns the RequiredConversationResolution field. -func (p *Protection) GetRequiredConversationResolution() *RequiredConversationResolution { - if p == nil { - return nil - } - return p.RequiredConversationResolution -} - -// GetRequiredPullRequestReviews returns the RequiredPullRequestReviews field. -func (p *Protection) GetRequiredPullRequestReviews() *PullRequestReviewsEnforcement { - if p == nil { - return nil - } - return p.RequiredPullRequestReviews -} - -// GetRequiredSignatures returns the RequiredSignatures field. -func (p *Protection) GetRequiredSignatures() *SignaturesProtectedBranch { - if p == nil { - return nil - } - return p.RequiredSignatures -} - -// GetRequiredStatusChecks returns the RequiredStatusChecks field. -func (p *Protection) GetRequiredStatusChecks() *RequiredStatusChecks { - if p == nil { - return nil - } - return p.RequiredStatusChecks -} - -// GetRequireLinearHistory returns the RequireLinearHistory field. -func (p *Protection) GetRequireLinearHistory() *RequireLinearHistory { - if p == nil { - return nil - } - return p.RequireLinearHistory -} - -// GetRestrictions returns the Restrictions field. -func (p *Protection) GetRestrictions() *BranchRestrictions { - if p == nil { - return nil - } - return p.Restrictions -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (p *Protection) GetURL() string { - if p == nil || p.URL == nil { - return "" - } - return *p.URL -} - -// GetAdminEnforced returns the AdminEnforced field. -func (p *ProtectionChanges) GetAdminEnforced() *AdminEnforcedChanges { - if p == nil { - return nil - } - return p.AdminEnforced -} - -// GetAllowDeletionsEnforcementLevel returns the AllowDeletionsEnforcementLevel field. -func (p *ProtectionChanges) GetAllowDeletionsEnforcementLevel() *AllowDeletionsEnforcementLevelChanges { - if p == nil { - return nil - } - return p.AllowDeletionsEnforcementLevel -} - -// GetAuthorizedActorNames returns the AuthorizedActorNames field. -func (p *ProtectionChanges) GetAuthorizedActorNames() *AuthorizedActorNames { - if p == nil { - return nil - } - return p.AuthorizedActorNames -} - -// GetAuthorizedActorsOnly returns the AuthorizedActorsOnly field. -func (p *ProtectionChanges) GetAuthorizedActorsOnly() *AuthorizedActorsOnly { - if p == nil { - return nil - } - return p.AuthorizedActorsOnly -} - -// GetAuthorizedDismissalActorsOnly returns the AuthorizedDismissalActorsOnly field. -func (p *ProtectionChanges) GetAuthorizedDismissalActorsOnly() *AuthorizedDismissalActorsOnlyChanges { - if p == nil { - return nil - } - return p.AuthorizedDismissalActorsOnly -} - -// GetCreateProtected returns the CreateProtected field. -func (p *ProtectionChanges) GetCreateProtected() *CreateProtectedChanges { - if p == nil { - return nil - } - return p.CreateProtected -} - -// GetDismissStaleReviewsOnPush returns the DismissStaleReviewsOnPush field. -func (p *ProtectionChanges) GetDismissStaleReviewsOnPush() *DismissStaleReviewsOnPushChanges { - if p == nil { - return nil - } - return p.DismissStaleReviewsOnPush -} - -// GetLinearHistoryRequirementEnforcementLevel returns the LinearHistoryRequirementEnforcementLevel field. -func (p *ProtectionChanges) GetLinearHistoryRequirementEnforcementLevel() *LinearHistoryRequirementEnforcementLevelChanges { - if p == nil { - return nil - } - return p.LinearHistoryRequirementEnforcementLevel -} - -// GetPullRequestReviewsEnforcementLevel returns the PullRequestReviewsEnforcementLevel field. -func (p *ProtectionChanges) GetPullRequestReviewsEnforcementLevel() *PullRequestReviewsEnforcementLevelChanges { - if p == nil { - return nil - } - return p.PullRequestReviewsEnforcementLevel -} - -// GetRequireCodeOwnerReview returns the RequireCodeOwnerReview field. -func (p *ProtectionChanges) GetRequireCodeOwnerReview() *RequireCodeOwnerReviewChanges { - if p == nil { - return nil - } - return p.RequireCodeOwnerReview -} - -// GetRequiredConversationResolutionLevel returns the RequiredConversationResolutionLevel field. -func (p *ProtectionChanges) GetRequiredConversationResolutionLevel() *RequiredConversationResolutionLevelChanges { - if p == nil { - return nil - } - return p.RequiredConversationResolutionLevel -} - -// GetRequiredDeploymentsEnforcementLevel returns the RequiredDeploymentsEnforcementLevel field. -func (p *ProtectionChanges) GetRequiredDeploymentsEnforcementLevel() *RequiredDeploymentsEnforcementLevelChanges { - if p == nil { - return nil - } - return p.RequiredDeploymentsEnforcementLevel -} - -// GetRequiredStatusChecks returns the RequiredStatusChecks field. -func (p *ProtectionChanges) GetRequiredStatusChecks() *RequiredStatusChecksChanges { - if p == nil { - return nil - } - return p.RequiredStatusChecks -} - -// GetRequiredStatusChecksEnforcementLevel returns the RequiredStatusChecksEnforcementLevel field. -func (p *ProtectionChanges) GetRequiredStatusChecksEnforcementLevel() *RequiredStatusChecksEnforcementLevelChanges { - if p == nil { - return nil - } - return p.RequiredStatusChecksEnforcementLevel -} - -// GetRequireLastPushApproval returns the RequireLastPushApproval field. -func (p *ProtectionChanges) GetRequireLastPushApproval() *RequireLastPushApprovalChanges { - if p == nil { - return nil - } - return p.RequireLastPushApproval -} - -// GetSignatureRequirementEnforcementLevel returns the SignatureRequirementEnforcementLevel field. -func (p *ProtectionChanges) GetSignatureRequirementEnforcementLevel() *SignatureRequirementEnforcementLevelChanges { - if p == nil { - return nil - } - return p.SignatureRequirementEnforcementLevel -} - -// GetAllowDeletions returns the AllowDeletions field if it's non-nil, zero value otherwise. -func (p *ProtectionRequest) GetAllowDeletions() bool { - if p == nil || p.AllowDeletions == nil { - return false - } - return *p.AllowDeletions -} - -// GetAllowForcePushes returns the AllowForcePushes field if it's non-nil, zero value otherwise. -func (p *ProtectionRequest) GetAllowForcePushes() bool { - if p == nil || p.AllowForcePushes == nil { - return false - } - return *p.AllowForcePushes -} - -// GetAllowForkSyncing returns the AllowForkSyncing field if it's non-nil, zero value otherwise. -func (p *ProtectionRequest) GetAllowForkSyncing() bool { - if p == nil || p.AllowForkSyncing == nil { - return false - } - return *p.AllowForkSyncing -} - -// GetBlockCreations returns the BlockCreations field if it's non-nil, zero value otherwise. -func (p *ProtectionRequest) GetBlockCreations() bool { - if p == nil || p.BlockCreations == nil { - return false - } - 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 { - return false - } - return *p.LockBranch -} - -// GetRequiredConversationResolution returns the RequiredConversationResolution field if it's non-nil, zero value otherwise. -func (p *ProtectionRequest) GetRequiredConversationResolution() bool { - if p == nil || p.RequiredConversationResolution == nil { - return false - } - return *p.RequiredConversationResolution -} - -// GetRequiredPullRequestReviews returns the RequiredPullRequestReviews field. -func (p *ProtectionRequest) GetRequiredPullRequestReviews() *PullRequestReviewsEnforcementRequest { - if p == nil { - return nil - } - return p.RequiredPullRequestReviews -} - -// GetRequiredStatusChecks returns the RequiredStatusChecks field. -func (p *ProtectionRequest) GetRequiredStatusChecks() *RequiredStatusChecks { - if p == nil { - return nil - } - return p.RequiredStatusChecks -} - -// GetRequireLinearHistory returns the RequireLinearHistory field if it's non-nil, zero value otherwise. -func (p *ProtectionRequest) GetRequireLinearHistory() bool { - if p == nil || p.RequireLinearHistory == nil { - return false - } - return *p.RequireLinearHistory -} - -// GetRestrictions returns the Restrictions field. -func (p *ProtectionRequest) GetRestrictions() *BranchRestrictionsRequest { - if p == nil { - return nil - } - return p.Restrictions -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (p *ProtectionRule) GetID() int64 { - if p == nil || p.ID == nil { - return 0 - } - return *p.ID -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (p *ProtectionRule) GetNodeID() string { - if p == nil || p.NodeID == nil { - return "" - } - return *p.NodeID -} - -// GetPreventSelfReview returns the PreventSelfReview field if it's non-nil, zero value otherwise. -func (p *ProtectionRule) GetPreventSelfReview() bool { - if p == nil || p.PreventSelfReview == nil { - return false - } - 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 { - return "" - } - return *p.Type -} - -// GetWaitTimer returns the WaitTimer field if it's non-nil, zero value otherwise. -func (p *ProtectionRule) GetWaitTimer() int { - if p == nil || p.WaitTimer == nil { - return 0 - } - return *p.WaitTimer -} - -// GetInstallation returns the Installation field. -func (p *PublicEvent) GetInstallation() *Installation { - if p == nil { - return nil - } - return p.Installation -} - -// GetOrg returns the Org field. -func (p *PublicEvent) GetOrg() *Organization { - if p == nil { - return nil - } - return p.Org -} - -// GetRepo returns the Repo field. -func (p *PublicEvent) GetRepo() *Repository { - if p == nil { - return nil - } - return p.Repo -} - -// GetSender returns the Sender field. -func (p *PublicEvent) GetSender() *User { - if p == nil { - return nil - } - 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 { - return "" - } - return *p.Key -} - -// GetKeyID returns the KeyID field if it's non-nil, zero value otherwise. -func (p *PublicKey) GetKeyID() string { - if p == nil || p.KeyID == nil { - return "" - } - return *p.KeyID -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (p *PublishCodespaceOptions) GetName() string { - if p == nil || p.Name == nil { - return "" - } - return *p.Name -} - -// GetPrivate returns the Private field if it's non-nil, zero value otherwise. -func (p *PublishCodespaceOptions) GetPrivate() bool { - if p == nil || p.Private == nil { - return false - } - return *p.Private -} - -// GetActiveLockReason returns the ActiveLockReason field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetActiveLockReason() string { - if p == nil || p.ActiveLockReason == nil { - return "" - } - return *p.ActiveLockReason -} - -// GetAdditions returns the Additions field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetAdditions() int { - if p == nil || p.Additions == nil { - return 0 - } - return *p.Additions -} - -// GetAssignee returns the Assignee field. -func (p *PullRequest) GetAssignee() *User { - if p == nil { - return nil - } - 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 { - return "" - } - return *p.AuthorAssociation -} - -// GetAutoMerge returns the AutoMerge field. -func (p *PullRequest) GetAutoMerge() *PullRequestAutoMerge { - if p == nil { - return nil - } - return p.AutoMerge -} - -// GetBase returns the Base field. -func (p *PullRequest) GetBase() *PullRequestBranch { - if p == nil { - return nil - } - return p.Base -} - -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetBody() string { - if p == nil || p.Body == nil { - return "" - } - return *p.Body -} - -// GetChangedFiles returns the ChangedFiles field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetChangedFiles() int { - if p == nil || p.ChangedFiles == nil { - return 0 - } - return *p.ChangedFiles -} - -// GetClosedAt returns the ClosedAt field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetClosedAt() Timestamp { - if p == nil || p.ClosedAt == nil { - return Timestamp{} - } - return *p.ClosedAt -} - -// GetComments returns the Comments field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetComments() int { - if p == nil || p.Comments == nil { - return 0 - } - return *p.Comments -} - -// GetCommentsURL returns the CommentsURL field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetCommentsURL() string { - if p == nil || p.CommentsURL == nil { - return "" - } - return *p.CommentsURL -} - -// GetCommits returns the Commits field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetCommits() int { - if p == nil || p.Commits == nil { - return 0 - } - return *p.Commits -} - -// GetCommitsURL returns the CommitsURL field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetCommitsURL() string { - if p == nil || p.CommitsURL == nil { - return "" - } - return *p.CommitsURL -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetCreatedAt() Timestamp { - if p == nil || p.CreatedAt == nil { - return Timestamp{} - } - return *p.CreatedAt -} - -// GetDeletions returns the Deletions field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetDeletions() int { - if p == nil || p.Deletions == nil { - return 0 - } - return *p.Deletions -} - -// GetDiffURL returns the DiffURL field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetDiffURL() string { - if p == nil || p.DiffURL == nil { - return "" - } - return *p.DiffURL -} - -// GetDraft returns the Draft field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetDraft() bool { - if p == nil || p.Draft == nil { - return false - } - return *p.Draft -} - -// GetHead returns the Head field. -func (p *PullRequest) GetHead() *PullRequestBranch { - if p == nil { - return nil - } - return p.Head -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetHTMLURL() string { - if p == nil || p.HTMLURL == nil { - return "" - } - return *p.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetID() int64 { - if p == nil || p.ID == nil { - return 0 - } - return *p.ID -} - -// GetIssueURL returns the IssueURL field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetIssueURL() string { - if p == nil || p.IssueURL == nil { - return "" - } - 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 { - return nil - } - return p.Links -} - -// GetLocked returns the Locked field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetLocked() bool { - if p == nil || p.Locked == nil { - return false - } - return *p.Locked -} - -// GetMaintainerCanModify returns the MaintainerCanModify field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetMaintainerCanModify() bool { - if p == nil || p.MaintainerCanModify == nil { - return false - } - return *p.MaintainerCanModify -} - -// GetMergeable returns the Mergeable field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetMergeable() bool { - if p == nil || p.Mergeable == nil { - return false - } - return *p.Mergeable -} - -// GetMergeableState returns the MergeableState field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetMergeableState() string { - if p == nil || p.MergeableState == nil { - return "" - } - return *p.MergeableState -} - -// GetMergeCommitSHA returns the MergeCommitSHA field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetMergeCommitSHA() string { - if p == nil || p.MergeCommitSHA == nil { - return "" - } - return *p.MergeCommitSHA -} - -// GetMerged returns the Merged field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetMerged() bool { - if p == nil || p.Merged == nil { - return false - } - return *p.Merged -} - -// GetMergedAt returns the MergedAt field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetMergedAt() Timestamp { - if p == nil || p.MergedAt == nil { - return Timestamp{} - } - return *p.MergedAt -} - -// GetMergedBy returns the MergedBy field. -func (p *PullRequest) GetMergedBy() *User { - if p == nil { - return nil - } - return p.MergedBy -} - -// GetMilestone returns the Milestone field. -func (p *PullRequest) GetMilestone() *Milestone { - if p == nil { - return nil - } - return p.Milestone -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetNodeID() string { - if p == nil || p.NodeID == nil { - return "" - } - return *p.NodeID -} - -// GetNumber returns the Number field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetNumber() int { - if p == nil || p.Number == nil { - return 0 - } - return *p.Number -} - -// GetPatchURL returns the PatchURL field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetPatchURL() string { - if p == nil || p.PatchURL == nil { - return "" - } - return *p.PatchURL -} - -// GetRebaseable returns the Rebaseable field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetRebaseable() bool { - if p == nil || p.Rebaseable == nil { - return false - } - return *p.Rebaseable -} - -// 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 { - return 0 - } - return *p.ReviewComments -} - -// GetReviewCommentsURL returns the ReviewCommentsURL field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetReviewCommentsURL() string { - if p == nil || p.ReviewCommentsURL == nil { - return "" - } - return *p.ReviewCommentsURL -} - -// GetReviewCommentURL returns the ReviewCommentURL field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetReviewCommentURL() string { - if p == nil || p.ReviewCommentURL == nil { - return "" - } - return *p.ReviewCommentURL -} - -// GetStack returns the Stack field. -func (p *PullRequest) GetStack() *PullRequestStack { - if p == nil { - return nil - } - return p.Stack -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetState() string { - if p == nil || p.State == nil { - return "" - } - return *p.State -} - -// GetStatusesURL returns the StatusesURL field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetStatusesURL() string { - if p == nil || p.StatusesURL == nil { - return "" - } - return *p.StatusesURL -} - -// GetTitle returns the Title field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetTitle() string { - if p == nil || p.Title == nil { - return "" - } - return *p.Title -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetUpdatedAt() Timestamp { - if p == nil || p.UpdatedAt == nil { - return Timestamp{} - } - return *p.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (p *PullRequest) GetURL() string { - if p == nil || p.URL == nil { - return "" - } - return *p.URL -} - -// GetUser returns the User field. -func (p *PullRequest) GetUser() *User { - if p == nil { - return nil - } - return p.User -} - -// GetCommitMessage returns the CommitMessage field if it's non-nil, zero value otherwise. -func (p *PullRequestAutoMerge) GetCommitMessage() string { - if p == nil || p.CommitMessage == nil { - return "" - } - return *p.CommitMessage -} - -// GetCommitTitle returns the CommitTitle field if it's non-nil, zero value otherwise. -func (p *PullRequestAutoMerge) GetCommitTitle() string { - if p == nil || p.CommitTitle == nil { - return "" - } - return *p.CommitTitle -} - -// GetEnabledBy returns the EnabledBy field. -func (p *PullRequestAutoMerge) GetEnabledBy() *User { - if p == nil { - return nil - } - return p.EnabledBy -} - -// GetMergeMethod returns the MergeMethod field if it's non-nil, zero value otherwise. -func (p *PullRequestAutoMerge) GetMergeMethod() string { - if p == nil || p.MergeMethod == nil { - return "" - } - return *p.MergeMethod -} - -// GetLabel returns the Label field if it's non-nil, zero value otherwise. -func (p *PullRequestBranch) GetLabel() string { - if p == nil || p.Label == nil { - return "" - } - return *p.Label -} - -// GetRef returns the Ref field if it's non-nil, zero value otherwise. -func (p *PullRequestBranch) GetRef() string { - if p == nil || p.Ref == nil { - return "" - } - return *p.Ref -} - -// GetRepo returns the Repo field. -func (p *PullRequestBranch) GetRepo() *Repository { - if p == nil { - return nil - } - return p.Repo -} - -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (p *PullRequestBranch) GetSHA() string { - if p == nil || p.SHA == nil { - return "" - } - return *p.SHA -} - -// GetUser returns the User field. -func (p *PullRequestBranch) GetUser() *User { - if p == nil { - return nil - } - 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 { - return "" - } - return *p.ExpectedHeadSHA -} - -// GetMessage returns the Message field if it's non-nil, zero value otherwise. -func (p *PullRequestBranchUpdateResponse) GetMessage() string { - if p == nil || p.Message == nil { - return "" - } - return *p.Message -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (p *PullRequestBranchUpdateResponse) GetURL() string { - if p == nil || p.URL == nil { - return "" - } - return *p.URL -} - -// GetAuthorAssociation returns the AuthorAssociation field if it's non-nil, zero value otherwise. -func (p *PullRequestComment) GetAuthorAssociation() string { - if p == nil || p.AuthorAssociation == nil { - return "" - } - return *p.AuthorAssociation -} - -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (p *PullRequestComment) GetBody() string { - if p == nil || p.Body == nil { - return "" - } - return *p.Body -} - -// GetBodyHTML returns the BodyHTML field if it's non-nil, zero value otherwise. -func (p *PullRequestComment) GetBodyHTML() string { - if p == nil || p.BodyHTML == nil { - return "" - } - return *p.BodyHTML -} - -// GetBodyText returns the BodyText field if it's non-nil, zero value otherwise. -func (p *PullRequestComment) GetBodyText() string { - if p == nil || p.BodyText == nil { - return "" - } - return *p.BodyText -} - -// GetCommitID returns the CommitID field if it's non-nil, zero value otherwise. -func (p *PullRequestComment) GetCommitID() string { - if p == nil || p.CommitID == nil { - return "" - } - return *p.CommitID -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (p *PullRequestComment) GetCreatedAt() Timestamp { - if p == nil || p.CreatedAt == nil { - return Timestamp{} - } - return *p.CreatedAt -} - -// GetDiffHunk returns the DiffHunk field if it's non-nil, zero value otherwise. -func (p *PullRequestComment) GetDiffHunk() string { - if p == nil || p.DiffHunk == nil { - return "" - } - return *p.DiffHunk -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (p *PullRequestComment) GetHTMLURL() string { - if p == nil || p.HTMLURL == nil { - return "" - } - return *p.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (p *PullRequestComment) GetID() int64 { - if p == nil || p.ID == nil { - return 0 - } - return *p.ID -} - -// GetInReplyTo returns the InReplyTo field if it's non-nil, zero value otherwise. -func (p *PullRequestComment) GetInReplyTo() int64 { - if p == nil || p.InReplyTo == nil { - return 0 - } - return *p.InReplyTo -} - -// GetLine returns the Line field if it's non-nil, zero value otherwise. -func (p *PullRequestComment) GetLine() int { - if p == nil || p.Line == nil { - return 0 - } - return *p.Line -} - -// GetLinks returns the Links field. -func (p *PullRequestComment) GetLinks() *PullRequestCommentLinks { - if p == nil { - return nil - } - return p.Links -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (p *PullRequestComment) GetNodeID() string { - if p == nil || p.NodeID == nil { - return "" - } - return *p.NodeID -} - -// GetOriginalCommitID returns the OriginalCommitID field if it's non-nil, zero value otherwise. -func (p *PullRequestComment) GetOriginalCommitID() string { - if p == nil || p.OriginalCommitID == nil { - return "" - } - return *p.OriginalCommitID -} - -// GetOriginalLine returns the OriginalLine field if it's non-nil, zero value otherwise. -func (p *PullRequestComment) GetOriginalLine() int { - if p == nil || p.OriginalLine == nil { - return 0 - } - return *p.OriginalLine -} - -// GetOriginalPosition returns the OriginalPosition field if it's non-nil, zero value otherwise. -func (p *PullRequestComment) GetOriginalPosition() int { - if p == nil || p.OriginalPosition == nil { - return 0 - } - return *p.OriginalPosition -} - -// GetOriginalStartLine returns the OriginalStartLine field if it's non-nil, zero value otherwise. -func (p *PullRequestComment) GetOriginalStartLine() int { - if p == nil || p.OriginalStartLine == nil { - return 0 - } - return *p.OriginalStartLine -} - -// GetPath returns the Path field if it's non-nil, zero value otherwise. -func (p *PullRequestComment) GetPath() string { - if p == nil || p.Path == nil { - return "" - } - return *p.Path -} - -// GetPosition returns the Position field if it's non-nil, zero value otherwise. -func (p *PullRequestComment) GetPosition() int { - if p == nil || p.Position == nil { - return 0 - } - return *p.Position -} - -// GetPullRequestReviewID returns the PullRequestReviewID field if it's non-nil, zero value otherwise. -func (p *PullRequestComment) GetPullRequestReviewID() int64 { - if p == nil || p.PullRequestReviewID == nil { - return 0 - } - return *p.PullRequestReviewID -} - -// GetPullRequestURL returns the PullRequestURL field if it's non-nil, zero value otherwise. -func (p *PullRequestComment) GetPullRequestURL() string { - if p == nil || p.PullRequestURL == nil { - return "" - } - return *p.PullRequestURL -} - -// GetReactions returns the Reactions field. -func (p *PullRequestComment) GetReactions() *Reactions { - if p == nil { - return nil - } - return p.Reactions -} - -// GetSide returns the Side field if it's non-nil, zero value otherwise. -func (p *PullRequestComment) GetSide() string { - if p == nil || p.Side == nil { - return "" - } - return *p.Side -} - -// GetStartLine returns the StartLine field if it's non-nil, zero value otherwise. -func (p *PullRequestComment) GetStartLine() int { - if p == nil || p.StartLine == nil { - return 0 - } - return *p.StartLine -} - -// GetStartSide returns the StartSide field if it's non-nil, zero value otherwise. -func (p *PullRequestComment) GetStartSide() string { - if p == nil || p.StartSide == nil { - return "" - } - return *p.StartSide -} - -// GetSubjectType returns the SubjectType field if it's non-nil, zero value otherwise. -func (p *PullRequestComment) GetSubjectType() string { - if p == nil || p.SubjectType == nil { - return "" - } - return *p.SubjectType -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (p *PullRequestComment) GetUpdatedAt() Timestamp { - if p == nil || p.UpdatedAt == nil { - return Timestamp{} - } - return *p.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (p *PullRequestComment) GetURL() string { - if p == nil || p.URL == nil { - return "" - } - return *p.URL -} - -// GetUser returns the User field. -func (p *PullRequestComment) GetUser() *User { - if p == nil { - return nil - } - return p.User -} - -// GetHTML returns the HTML field. -func (p *PullRequestCommentLinks) GetHTML() *PRLink { - if p == nil { - return nil - } - return p.HTML -} - -// GetPullRequest returns the PullRequest field. -func (p *PullRequestCommentLinks) GetPullRequest() *PRLink { - if p == nil { - return nil - } - return p.PullRequest -} - -// GetSelf returns the Self field. -func (p *PullRequestCommentLinks) GetSelf() *PRLink { - if p == nil { - return nil - } - return p.Self -} - -// GetEvent returns the Event field if it's non-nil, zero value otherwise. -func (p *PullRequestDismissReviewRequest) GetEvent() string { - if p == nil || p.Event == nil { - return "" - } - return *p.Event -} - -// GetMessage returns the Message field. -func (p *PullRequestDismissReviewRequest) GetMessage() string { - if p == nil { - return "" - } - return p.Message -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (p *PullRequestEvent) GetAction() string { - if p == nil || p.Action == nil { - return "" - } - return *p.Action -} - -// GetAfter returns the After field if it's non-nil, zero value otherwise. -func (p *PullRequestEvent) GetAfter() string { - if p == nil || p.After == nil { - return "" - } - return *p.After -} - -// GetAssignee returns the Assignee field. -func (p *PullRequestEvent) GetAssignee() *User { - if p == nil { - return nil - } - return p.Assignee -} - -// GetBefore returns the Before field if it's non-nil, zero value otherwise. -func (p *PullRequestEvent) GetBefore() string { - if p == nil || p.Before == nil { - return "" - } - return *p.Before -} - -// GetChanges returns the Changes field. -func (p *PullRequestEvent) GetChanges() *EditChange { - if p == nil { - return nil - } - return p.Changes -} - -// GetInstallation returns the Installation field. -func (p *PullRequestEvent) GetInstallation() *Installation { - if p == nil { - return nil - } - return p.Installation -} - -// GetLabel returns the Label field. -func (p *PullRequestEvent) GetLabel() *Label { - if p == nil { - return nil - } - return p.Label -} - -// GetNumber returns the Number field if it's non-nil, zero value otherwise. -func (p *PullRequestEvent) GetNumber() int { - if p == nil || p.Number == nil { - return 0 - } - return *p.Number -} - -// GetOrganization returns the Organization field. -func (p *PullRequestEvent) GetOrganization() *Organization { - if p == nil { - return nil - } - return p.Organization -} - -// GetPerformedViaGithubApp returns the PerformedViaGithubApp field. -func (p *PullRequestEvent) GetPerformedViaGithubApp() *App { - if p == nil { - return nil - } - return p.PerformedViaGithubApp -} - -// GetPullRequest returns the PullRequest field. -func (p *PullRequestEvent) GetPullRequest() *PullRequest { - if p == nil { - return nil - } - return p.PullRequest -} - -// GetReason returns the Reason field if it's non-nil, zero value otherwise. -func (p *PullRequestEvent) GetReason() string { - if p == nil || p.Reason == nil { - return "" - } - return *p.Reason -} - -// GetRepo returns the Repo field. -func (p *PullRequestEvent) GetRepo() *Repository { - if p == nil { - return nil - } - return p.Repo -} - -// GetRequestedReviewer returns the RequestedReviewer field. -func (p *PullRequestEvent) GetRequestedReviewer() *User { - if p == nil { - return nil - } - return p.RequestedReviewer -} - -// GetRequestedTeam returns the RequestedTeam field. -func (p *PullRequestEvent) GetRequestedTeam() *Team { - if p == nil { - return nil - } - return p.RequestedTeam -} - -// GetSender returns the Sender field. -func (p *PullRequestEvent) GetSender() *User { - if p == nil { - return nil - } - return p.Sender -} - -// GetDiffURL returns the DiffURL field if it's non-nil, zero value otherwise. -func (p *PullRequestLinks) GetDiffURL() string { - if p == nil || p.DiffURL == nil { - return "" - } - return *p.DiffURL -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (p *PullRequestLinks) GetHTMLURL() string { - if p == nil || p.HTMLURL == nil { - return "" - } - return *p.HTMLURL -} - -// GetMergedAt returns the MergedAt field if it's non-nil, zero value otherwise. -func (p *PullRequestLinks) GetMergedAt() Timestamp { - if p == nil || p.MergedAt == nil { - return Timestamp{} - } - return *p.MergedAt -} - -// GetPatchURL returns the PatchURL field if it's non-nil, zero value otherwise. -func (p *PullRequestLinks) GetPatchURL() string { - if p == nil || p.PatchURL == nil { - return "" - } - return *p.PatchURL -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (p *PullRequestLinks) GetURL() string { - if p == nil || p.URL == nil { - return "" - } - 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 -} - -// GetExpectedHeadSHA returns the ExpectedHeadSHA field if it's non-nil, zero value otherwise. -func (p *PullRequestMergeAsyncDetails) GetExpectedHeadSHA() string { - if p == nil || p.ExpectedHeadSHA == nil { - return "" - } - return *p.ExpectedHeadSHA -} - -// GetMergeAction returns the MergeAction field if it's non-nil, zero value otherwise. -func (p *PullRequestMergeAsyncDetails) GetMergeAction() string { - if p == nil || p.MergeAction == nil { - return "" - } - return *p.MergeAction -} - -// GetMergeMethod returns the MergeMethod field if it's non-nil, zero value otherwise. -func (p *PullRequestMergeAsyncDetails) GetMergeMethod() string { - if p == nil || p.MergeMethod == nil { - return "" - } - return *p.MergeMethod -} - -// GetMessage returns the Message field if it's non-nil, zero value otherwise. -func (p *PullRequestMergeAsyncDetails) GetMessage() string { - if p == nil || p.Message == nil { - return "" - } - return *p.Message -} - -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (p *PullRequestMergeAsyncDetails) GetSHA() string { - if p == nil || p.SHA == nil { - return "" - } - return *p.SHA -} - -// GetUUID returns the UUID field if it's non-nil, zero value otherwise. -func (p *PullRequestMergeAsyncDetails) GetUUID() string { - if p == nil || p.UUID == nil { - return "" - } - return *p.UUID -} - -// GetCommitMessage returns the CommitMessage field if it's non-nil, zero value otherwise. -func (p *PullRequestMergeAsyncRequest) GetCommitMessage() string { - if p == nil || p.CommitMessage == nil { - return "" - } - return *p.CommitMessage -} - -// GetCommitTitle returns the CommitTitle field if it's non-nil, zero value otherwise. -func (p *PullRequestMergeAsyncRequest) GetCommitTitle() string { - if p == nil || p.CommitTitle == nil { - return "" - } - return *p.CommitTitle -} - -// GetMergeAction returns the MergeAction field if it's non-nil, zero value otherwise. -func (p *PullRequestMergeAsyncRequest) GetMergeAction() string { - if p == nil || p.MergeAction == nil { - return "" - } - return *p.MergeAction -} - -// GetMergeMethod returns the MergeMethod field if it's non-nil, zero value otherwise. -func (p *PullRequestMergeAsyncRequest) GetMergeMethod() string { - if p == nil || p.MergeMethod == nil { - return "" - } - return *p.MergeMethod -} - -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (p *PullRequestMergeAsyncRequest) GetSHA() string { - if p == nil || p.SHA == nil { - return "" - } - return *p.SHA -} - -// GetDetails returns the Details field. -func (p *PullRequestMergeAsyncResult) GetDetails() *PullRequestMergeAsyncDetails { - if p == nil { - return nil - } - return p.Details -} - -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (p *PullRequestMergeAsyncResult) GetStatus() string { - if p == nil || p.Status == nil { - return "" - } - return *p.Status -} - -// GetMerged returns the Merged field if it's non-nil, zero value otherwise. -func (p *PullRequestMergeResult) GetMerged() bool { - if p == nil || p.Merged == nil { - return false - } - return *p.Merged -} - -// GetMessage returns the Message field if it's non-nil, zero value otherwise. -func (p *PullRequestMergeResult) GetMessage() string { - if p == nil || p.Message == nil { - return "" - } - return *p.Message -} - -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (p *PullRequestMergeResult) GetSHA() string { - if p == nil || p.SHA == nil { - return "" - } - 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 { - return "" - } - return *p.AuthorAssociation -} - -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (p *PullRequestReview) GetBody() string { - if p == nil || p.Body == nil { - return "" - } - return *p.Body -} - -// GetCommitID returns the CommitID field if it's non-nil, zero value otherwise. -func (p *PullRequestReview) GetCommitID() string { - if p == nil || p.CommitID == nil { - return "" - } - return *p.CommitID -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (p *PullRequestReview) GetHTMLURL() string { - if p == nil || p.HTMLURL == nil { - return "" - } - return *p.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (p *PullRequestReview) GetID() int64 { - if p == nil || p.ID == nil { - return 0 - } - return *p.ID -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (p *PullRequestReview) GetNodeID() string { - if p == nil || p.NodeID == nil { - return "" - } - return *p.NodeID -} - -// GetPullRequestURL returns the PullRequestURL field if it's non-nil, zero value otherwise. -func (p *PullRequestReview) GetPullRequestURL() string { - if p == nil || p.PullRequestURL == nil { - return "" - } - return *p.PullRequestURL -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (p *PullRequestReview) GetState() string { - if p == nil || p.State == nil { - return "" - } - return *p.State -} - -// GetSubmittedAt returns the SubmittedAt field if it's non-nil, zero value otherwise. -func (p *PullRequestReview) GetSubmittedAt() Timestamp { - if p == nil || p.SubmittedAt == nil { - return Timestamp{} - } - return *p.SubmittedAt -} - -// GetUser returns the User field. -func (p *PullRequestReview) GetUser() *User { - if p == nil { - return nil - } - return p.User -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (p *PullRequestReviewCommentEvent) GetAction() string { - if p == nil || p.Action == nil { - return "" - } - return *p.Action -} - -// GetChanges returns the Changes field. -func (p *PullRequestReviewCommentEvent) GetChanges() *EditChange { - if p == nil { - return nil - } - return p.Changes -} - -// GetComment returns the Comment field. -func (p *PullRequestReviewCommentEvent) GetComment() *PullRequestComment { - if p == nil { - return nil - } - return p.Comment -} - -// GetInstallation returns the Installation field. -func (p *PullRequestReviewCommentEvent) GetInstallation() *Installation { - if p == nil { - return nil - } - return p.Installation -} - -// GetOrg returns the Org field. -func (p *PullRequestReviewCommentEvent) GetOrg() *Organization { - if p == nil { - return nil - } - return p.Org -} - -// GetPullRequest returns the PullRequest field. -func (p *PullRequestReviewCommentEvent) GetPullRequest() *PullRequest { - if p == nil { - return nil - } - return p.PullRequest -} - -// GetRepo returns the Repo field. -func (p *PullRequestReviewCommentEvent) GetRepo() *Repository { - if p == nil { - return nil - } - return p.Repo -} - -// GetSender returns the Sender field. -func (p *PullRequestReviewCommentEvent) GetSender() *User { - if p == nil { - return nil - } - return p.Sender -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (p *PullRequestReviewEvent) GetAction() string { - if p == nil || p.Action == nil { - return "" - } - return *p.Action -} - -// GetInstallation returns the Installation field. -func (p *PullRequestReviewEvent) GetInstallation() *Installation { - if p == nil { - return nil - } - return p.Installation -} - -// GetOrganization returns the Organization field. -func (p *PullRequestReviewEvent) GetOrganization() *Organization { - if p == nil { - return nil - } - return p.Organization -} - -// GetPullRequest returns the PullRequest field. -func (p *PullRequestReviewEvent) GetPullRequest() *PullRequest { - if p == nil { - return nil - } - return p.PullRequest -} - -// GetRepo returns the Repo field. -func (p *PullRequestReviewEvent) GetRepo() *Repository { - if p == nil { - return nil - } - return p.Repo -} - -// GetReview returns the Review field. -func (p *PullRequestReviewEvent) GetReview() *PullRequestReview { - if p == nil { - return nil - } - return p.Review -} - -// GetSender returns the Sender field. -func (p *PullRequestReviewEvent) GetSender() *User { - if p == nil { - return nil - } - return p.Sender -} - -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (p *PullRequestReviewRequest) GetBody() string { - if p == nil || p.Body == nil { - return "" - } - 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 { - return "" - } - return *p.CommitID -} - -// GetEvent returns the Event field if it's non-nil, zero value otherwise. -func (p *PullRequestReviewRequest) GetEvent() string { - if p == nil || p.Event == nil { - return "" - } - return *p.Event -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (p *PullRequestReviewRequest) GetNodeID() string { - if p == nil || p.NodeID == nil { - return "" - } - return *p.NodeID -} - -// GetBypassPullRequestAllowances returns the BypassPullRequestAllowances field. -func (p *PullRequestReviewsEnforcement) GetBypassPullRequestAllowances() *BypassPullRequestAllowances { - if p == nil { - return nil - } - return p.BypassPullRequestAllowances -} - -// GetDismissalRestrictions returns the DismissalRestrictions field. -func (p *PullRequestReviewsEnforcement) GetDismissalRestrictions() *DismissalRestrictions { - if p == nil { - return nil - } - 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 { - return "" - } - return *p.From -} - -// GetBypassPullRequestAllowancesRequest returns the BypassPullRequestAllowancesRequest field. -func (p *PullRequestReviewsEnforcementRequest) GetBypassPullRequestAllowancesRequest() *BypassPullRequestAllowancesRequest { - if p == nil { - return nil - } - return p.BypassPullRequestAllowancesRequest -} - -// GetDismissalRestrictionsRequest returns the DismissalRestrictionsRequest field. -func (p *PullRequestReviewsEnforcementRequest) GetDismissalRestrictionsRequest() *DismissalRestrictionsRequest { - if p == nil { - return nil - } - 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 { - return false - } - return *p.RequireLastPushApproval -} - -// GetBypassPullRequestAllowancesRequest returns the BypassPullRequestAllowancesRequest field. -func (p *PullRequestReviewsEnforcementUpdate) GetBypassPullRequestAllowancesRequest() *BypassPullRequestAllowancesRequest { - if p == nil { - return nil - } - return p.BypassPullRequestAllowancesRequest -} - -// GetDismissalRestrictionsRequest returns the DismissalRestrictionsRequest field. -func (p *PullRequestReviewsEnforcementUpdate) GetDismissalRestrictionsRequest() *DismissalRestrictionsRequest { - if p == nil { - return nil - } - return p.DismissalRestrictionsRequest -} - -// GetDismissStaleReviews returns the DismissStaleReviews field if it's non-nil, zero value otherwise. -func (p *PullRequestReviewsEnforcementUpdate) GetDismissStaleReviews() bool { - if p == nil || p.DismissStaleReviews == nil { - return false - } - return *p.DismissStaleReviews -} - -// GetRequireCodeOwnerReviews returns the RequireCodeOwnerReviews field if it's non-nil, zero value otherwise. -func (p *PullRequestReviewsEnforcementUpdate) GetRequireCodeOwnerReviews() bool { - if p == nil || p.RequireCodeOwnerReviews == nil { - return false - } - 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 { - return false - } - return *p.RequireLastPushApproval -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (p *PullRequestReviewThreadEvent) GetAction() string { - if p == nil || p.Action == nil { - return "" - } - return *p.Action -} - -// GetInstallation returns the Installation field. -func (p *PullRequestReviewThreadEvent) GetInstallation() *Installation { - if p == nil { - return nil - } - return p.Installation -} - -// GetOrg returns the Org field. -func (p *PullRequestReviewThreadEvent) GetOrg() *Organization { - if p == nil { - return nil - } - return p.Org -} - -// GetPullRequest returns the PullRequest field. -func (p *PullRequestReviewThreadEvent) GetPullRequest() *PullRequest { - if p == nil { - return nil - } - return p.PullRequest -} - -// GetRepo returns the Repo field. -func (p *PullRequestReviewThreadEvent) GetRepo() *Repository { - if p == nil { - return nil - } - return p.Repo -} - -// GetSender returns the Sender field. -func (p *PullRequestReviewThreadEvent) GetSender() *User { - if p == nil { - return nil - } - return p.Sender -} - -// GetThread returns the Thread field. -func (p *PullRequestReviewThreadEvent) GetThread() *PullRequestThread { - if p == nil { - return nil - } - 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 -} - -// GetBase returns the Base field. -func (p *PullRequestStack) GetBase() *PullRequestStackBase { - if p == nil { - return nil - } - return p.Base -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (p *PullRequestStack) GetID() int64 { - if p == nil || p.ID == nil { - return 0 - } - return *p.ID -} - -// GetNumber returns the Number field if it's non-nil, zero value otherwise. -func (p *PullRequestStack) GetNumber() int { - if p == nil || p.Number == nil { - return 0 - } - return *p.Number -} - -// GetPosition returns the Position field if it's non-nil, zero value otherwise. -func (p *PullRequestStack) GetPosition() int { - if p == nil || p.Position == nil { - return 0 - } - return *p.Position -} - -// GetSize returns the Size field if it's non-nil, zero value otherwise. -func (p *PullRequestStack) GetSize() int { - if p == nil || p.Size == nil { - return 0 - } - return *p.Size -} - -// GetRef returns the Ref field. -func (p *PullRequestStackBase) GetRef() string { - if p == nil { - return "" - } - return p.Ref -} - -// GetSHA returns the SHA field. -func (p *PullRequestStackBase) GetSHA() string { - if p == nil { - return "" - } - return p.SHA -} - -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (p *PullRequestSubmitReviewRequest) GetBody() string { - if p == nil || p.Body == nil { - return "" - } - return *p.Body -} - -// GetEvent returns the Event field. -func (p *PullRequestSubmitReviewRequest) GetEvent() string { - if p == nil { - return "" - } - return p.Event -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (p *PullRequestTargetEvent) GetAction() string { - if p == nil || p.Action == nil { - return "" - } - return *p.Action -} - -// GetAfter returns the After field if it's non-nil, zero value otherwise. -func (p *PullRequestTargetEvent) GetAfter() string { - if p == nil || p.After == nil { - return "" - } - return *p.After -} - -// GetAssignee returns the Assignee field. -func (p *PullRequestTargetEvent) GetAssignee() *User { - if p == nil { - return nil - } - return p.Assignee -} - -// GetBefore returns the Before field if it's non-nil, zero value otherwise. -func (p *PullRequestTargetEvent) GetBefore() string { - if p == nil || p.Before == nil { - return "" - } - return *p.Before -} - -// GetChanges returns the Changes field. -func (p *PullRequestTargetEvent) GetChanges() *EditChange { - if p == nil { - return nil - } - return p.Changes -} - -// GetInstallation returns the Installation field. -func (p *PullRequestTargetEvent) GetInstallation() *Installation { - if p == nil { - return nil - } - return p.Installation -} - -// GetLabel returns the Label field. -func (p *PullRequestTargetEvent) GetLabel() *Label { - if p == nil { - return nil - } - return p.Label -} - -// GetNumber returns the Number field if it's non-nil, zero value otherwise. -func (p *PullRequestTargetEvent) GetNumber() int { - if p == nil || p.Number == nil { - return 0 - } - return *p.Number -} - -// GetOrganization returns the Organization field. -func (p *PullRequestTargetEvent) GetOrganization() *Organization { - if p == nil { - return nil - } - return p.Organization -} - -// GetPerformedViaGithubApp returns the PerformedViaGithubApp field. -func (p *PullRequestTargetEvent) GetPerformedViaGithubApp() *App { - if p == nil { - return nil - } - return p.PerformedViaGithubApp -} - -// GetPullRequest returns the PullRequest field. -func (p *PullRequestTargetEvent) GetPullRequest() *PullRequest { - if p == nil { - return nil - } - return p.PullRequest -} - -// GetRepo returns the Repo field. -func (p *PullRequestTargetEvent) GetRepo() *Repository { - if p == nil { - return nil - } - return p.Repo -} - -// GetRequestedReviewer returns the RequestedReviewer field. -func (p *PullRequestTargetEvent) GetRequestedReviewer() *User { - if p == nil { - return nil - } - return p.RequestedReviewer -} - -// GetRequestedTeam returns the RequestedTeam field. -func (p *PullRequestTargetEvent) GetRequestedTeam() *Team { - if p == nil { - return nil - } - return p.RequestedTeam -} - -// GetSender returns the Sender field. -func (p *PullRequestTargetEvent) GetSender() *User { - if p == nil { - return nil - } - 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 { - return 0 - } - return *p.ID -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (p *PullRequestThread) GetNodeID() string { - if p == nil || p.NodeID == nil { - return "" - } - return *p.NodeID -} - -// GetMergeablePulls returns the MergeablePulls field if it's non-nil, zero value otherwise. -func (p *PullStats) GetMergeablePulls() int { - if p == nil || p.MergeablePulls == nil { - return 0 - } - return *p.MergeablePulls -} - -// GetMergedPulls returns the MergedPulls field if it's non-nil, zero value otherwise. -func (p *PullStats) GetMergedPulls() int { - if p == nil || p.MergedPulls == nil { - return 0 - } - return *p.MergedPulls -} - -// GetTotalPulls returns the TotalPulls field if it's non-nil, zero value otherwise. -func (p *PullStats) GetTotalPulls() int { - if p == nil || p.TotalPulls == nil { - return 0 - } - return *p.TotalPulls -} - -// GetUnmergeablePulls returns the UnmergeablePulls field if it's non-nil, zero value otherwise. -func (p *PullStats) GetUnmergeablePulls() int { - if p == nil || p.UnmergeablePulls == nil { - return 0 - } - return *p.UnmergeablePulls -} - -// GetCommits returns the Commits field if it's non-nil, zero value otherwise. -func (p *PunchCard) GetCommits() int { - if p == nil || p.Commits == nil { - return 0 - } - return *p.Commits -} - -// GetDay returns the Day field if it's non-nil, zero value otherwise. -func (p *PunchCard) GetDay() int { - if p == nil || p.Day == nil { - return 0 - } - return *p.Day -} - -// GetHour returns the Hour field if it's non-nil, zero value otherwise. -func (p *PunchCard) GetHour() int { - if p == nil || p.Hour == nil { - return 0 - } - return *p.Hour -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (p *PushEvent) GetAction() string { - if p == nil || p.Action == nil { - return "" - } - return *p.Action -} - -// GetAfter returns the After field if it's non-nil, zero value otherwise. -func (p *PushEvent) GetAfter() string { - if p == nil || p.After == nil { - return "" - } - return *p.After -} - -// GetBaseRef returns the BaseRef field if it's non-nil, zero value otherwise. -func (p *PushEvent) GetBaseRef() string { - if p == nil || p.BaseRef == nil { - return "" - } - return *p.BaseRef -} - -// GetBefore returns the Before field if it's non-nil, zero value otherwise. -func (p *PushEvent) GetBefore() string { - if p == nil || p.Before == nil { - return "" - } - return *p.Before -} - -// GetCommits returns the Commits slice if it's non-nil, nil otherwise. -func (p *PushEvent) GetCommits() []*HeadCommit { - if p == nil || p.Commits == nil { - return nil - } - return p.Commits -} - -// GetCompare returns the Compare field if it's non-nil, zero value otherwise. -func (p *PushEvent) GetCompare() string { - if p == nil || p.Compare == nil { - return "" - } - return *p.Compare -} - -// GetCreated returns the Created field if it's non-nil, zero value otherwise. -func (p *PushEvent) GetCreated() bool { - if p == nil || p.Created == nil { - return false - } - return *p.Created -} - -// GetDeleted returns the Deleted field if it's non-nil, zero value otherwise. -func (p *PushEvent) GetDeleted() bool { - if p == nil || p.Deleted == nil { - return false - } - return *p.Deleted -} - -// GetDistinctSize returns the DistinctSize field if it's non-nil, zero value otherwise. -func (p *PushEvent) GetDistinctSize() int { - if p == nil || p.DistinctSize == nil { - return 0 - } - return *p.DistinctSize -} - -// GetForced returns the Forced field if it's non-nil, zero value otherwise. -func (p *PushEvent) GetForced() bool { - if p == nil || p.Forced == nil { - return false - } - return *p.Forced -} - -// GetHead returns the Head field if it's non-nil, zero value otherwise. -func (p *PushEvent) GetHead() string { - if p == nil || p.Head == nil { - return "" - } - return *p.Head -} - -// GetHeadCommit returns the HeadCommit field. -func (p *PushEvent) GetHeadCommit() *HeadCommit { - if p == nil { - return nil - } - return p.HeadCommit -} - -// GetInstallation returns the Installation field. -func (p *PushEvent) GetInstallation() *Installation { - if p == nil { - return nil - } - return p.Installation -} - -// GetOrganization returns the Organization field. -func (p *PushEvent) GetOrganization() *Organization { - if p == nil { - return nil - } - return p.Organization -} - -// GetPusher returns the Pusher field. -func (p *PushEvent) GetPusher() *CommitAuthor { - if p == nil { - return nil - } - return p.Pusher -} - -// GetPushID returns the PushID field if it's non-nil, zero value otherwise. -func (p *PushEvent) GetPushID() int64 { - if p == nil || p.PushID == nil { - return 0 - } - return *p.PushID -} - -// GetRef returns the Ref field if it's non-nil, zero value otherwise. -func (p *PushEvent) GetRef() string { - if p == nil || p.Ref == nil { - return "" - } - return *p.Ref -} - -// GetRepo returns the Repo field. -func (p *PushEvent) GetRepo() *PushEventRepository { - if p == nil { - return nil - } - return p.Repo -} - -// GetSender returns the Sender field. -func (p *PushEvent) GetSender() *User { - if p == nil { - return nil - } - return p.Sender -} - -// GetSize returns the Size field if it's non-nil, zero value otherwise. -func (p *PushEvent) GetSize() int { - if p == nil || p.Size == nil { - return 0 - } - return *p.Size -} - -// GetEmail returns the Email field if it's non-nil, zero value otherwise. -func (p *PushEventRepoOwner) GetEmail() string { - if p == nil || p.Email == nil { - return "" - } - return *p.Email -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (p *PushEventRepoOwner) GetName() string { - if p == nil || p.Name == nil { - return "" - } - return *p.Name -} - -// GetArchived returns the Archived field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetArchived() bool { - if p == nil || p.Archived == nil { - return false - } - return *p.Archived -} - -// GetArchiveURL returns the ArchiveURL field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetArchiveURL() string { - if p == nil || p.ArchiveURL == nil { - return "" - } - return *p.ArchiveURL -} - -// GetCloneURL returns the CloneURL field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetCloneURL() string { - if p == nil || p.CloneURL == nil { - return "" - } - return *p.CloneURL -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetCreatedAt() Timestamp { - if p == nil || p.CreatedAt == nil { - return Timestamp{} - } - return *p.CreatedAt -} - -// GetCustomProperties returns the CustomProperties map if it's non-nil, an empty map otherwise. -func (p *PushEventRepository) GetCustomProperties() map[string]any { - if p == nil || p.CustomProperties == nil { - return map[string]any{} - } - return p.CustomProperties -} - -// GetDefaultBranch returns the DefaultBranch field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetDefaultBranch() string { - if p == nil || p.DefaultBranch == nil { - return "" - } - return *p.DefaultBranch -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetDescription() string { - if p == nil || p.Description == nil { - return "" - } - return *p.Description -} - -// GetDisabled returns the Disabled field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetDisabled() bool { - if p == nil || p.Disabled == nil { - return false - } - return *p.Disabled -} - -// GetFork returns the Fork field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetFork() bool { - if p == nil || p.Fork == nil { - return false - } - return *p.Fork -} - -// GetForksCount returns the ForksCount field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetForksCount() int { - if p == nil || p.ForksCount == nil { - return 0 - } - return *p.ForksCount -} - -// GetFullName returns the FullName field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetFullName() string { - if p == nil || p.FullName == nil { - return "" - } - return *p.FullName -} - -// GetGitURL returns the GitURL field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetGitURL() string { - if p == nil || p.GitURL == nil { - return "" - } - return *p.GitURL -} - -// GetHasDownloads returns the HasDownloads field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetHasDownloads() bool { - if p == nil || p.HasDownloads == nil { - return false - } - return *p.HasDownloads -} - -// GetHasIssues returns the HasIssues field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetHasIssues() bool { - if p == nil || p.HasIssues == nil { - return false - } - return *p.HasIssues -} - -// GetHasPages returns the HasPages field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetHasPages() bool { - if p == nil || p.HasPages == nil { - return false - } - return *p.HasPages -} - -// GetHasWiki returns the HasWiki field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetHasWiki() bool { - if p == nil || p.HasWiki == nil { - return false - } - return *p.HasWiki -} - -// GetHomepage returns the Homepage field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetHomepage() string { - if p == nil || p.Homepage == nil { - return "" - } - return *p.Homepage -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetHTMLURL() string { - if p == nil || p.HTMLURL == nil { - return "" - } - return *p.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetID() int64 { - if p == nil || p.ID == nil { - return 0 - } - return *p.ID -} - -// GetLanguage returns the Language field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetLanguage() string { - if p == nil || p.Language == nil { - return "" - } - return *p.Language -} - -// GetMasterBranch returns the MasterBranch field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetMasterBranch() string { - if p == nil || p.MasterBranch == nil { - return "" - } - return *p.MasterBranch -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetName() string { - if p == nil || p.Name == nil { - return "" - } - return *p.Name -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetNodeID() string { - if p == nil || p.NodeID == nil { - return "" - } - return *p.NodeID -} - -// GetOpenIssuesCount returns the OpenIssuesCount field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetOpenIssuesCount() int { - if p == nil || p.OpenIssuesCount == nil { - return 0 - } - return *p.OpenIssuesCount -} - -// GetOrganization returns the Organization field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetOrganization() string { - if p == nil || p.Organization == nil { - return "" - } - return *p.Organization -} - -// GetOwner returns the Owner field. -func (p *PushEventRepository) GetOwner() *User { - if p == nil { - return nil - } - return p.Owner -} - -// GetPrivate returns the Private field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetPrivate() bool { - if p == nil || p.Private == nil { - return false - } - return *p.Private -} - -// GetPullsURL returns the PullsURL field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetPullsURL() string { - if p == nil || p.PullsURL == nil { - return "" - } - return *p.PullsURL -} - -// GetPushedAt returns the PushedAt field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetPushedAt() Timestamp { - if p == nil || p.PushedAt == nil { - return Timestamp{} - } - return *p.PushedAt -} - -// GetSize returns the Size field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetSize() int { - if p == nil || p.Size == nil { - return 0 - } - return *p.Size -} - -// GetSSHURL returns the SSHURL field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetSSHURL() string { - if p == nil || p.SSHURL == nil { - return "" - } - return *p.SSHURL -} - -// GetStargazersCount returns the StargazersCount field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetStargazersCount() int { - if p == nil || p.StargazersCount == nil { - return 0 - } - return *p.StargazersCount -} - -// GetStatusesURL returns the StatusesURL field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetStatusesURL() string { - if p == nil || p.StatusesURL == nil { - return "" - } - return *p.StatusesURL -} - -// GetSVNURL returns the SVNURL field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetSVNURL() string { - if p == nil || p.SVNURL == nil { - return "" - } - 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 { - return Timestamp{} - } - return *p.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetURL() string { - if p == nil || p.URL == nil { - return "" - } - return *p.URL -} - -// GetWatchersCount returns the WatchersCount field if it's non-nil, zero value otherwise. -func (p *PushEventRepository) GetWatchersCount() int { - if p == nil || p.WatchersCount == nil { - return 0 - } - return *p.WatchersCount -} - -// GetExpireAt returns the ExpireAt field if it's non-nil, zero value otherwise. -func (p *PushProtectionBypass) GetExpireAt() Timestamp { - if p == nil || p.ExpireAt == nil { - return 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 { - return nil - } - return r.ActionsRunnerRegistration -} - -// GetAuditLog returns the AuditLog field. -func (r *RateLimits) GetAuditLog() *Rate { - if r == nil { - return nil - } - return r.AuditLog -} - -// GetCodeScanningUpload returns the CodeScanningUpload field. -func (r *RateLimits) GetCodeScanningUpload() *Rate { - if r == nil { - return nil - } - return r.CodeScanningUpload -} - -// GetCodeSearch returns the CodeSearch field. -func (r *RateLimits) GetCodeSearch() *Rate { - if r == nil { - return nil - } - return r.CodeSearch -} - -// GetCore returns the Core field. -func (r *RateLimits) GetCore() *Rate { - if r == nil { - return nil - } - return r.Core -} - -// GetDependencySBOM returns the DependencySBOM field. -func (r *RateLimits) GetDependencySBOM() *Rate { - if r == nil { - return nil - } - return r.DependencySBOM -} - -// GetDependencySnapshots returns the DependencySnapshots field. -func (r *RateLimits) GetDependencySnapshots() *Rate { - if r == nil { - return nil - } - return r.DependencySnapshots -} - -// GetGraphQL returns the GraphQL field. -func (r *RateLimits) GetGraphQL() *Rate { - if r == nil { - return nil - } - return r.GraphQL -} - -// GetIntegrationManifest returns the IntegrationManifest field. -func (r *RateLimits) GetIntegrationManifest() *Rate { - if r == nil { - return nil - } - return r.IntegrationManifest -} - -// GetSCIM returns the SCIM field. -func (r *RateLimits) GetSCIM() *Rate { - if r == nil { - return nil - } - return r.SCIM -} - -// GetSearch returns the Search field. -func (r *RateLimits) GetSearch() *Rate { - if r == nil { - return nil - } - return r.Search -} - -// GetSourceImport returns the SourceImport field. -func (r *RateLimits) GetSourceImport() *Rate { - if r == nil { - return nil - } - 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 { - return "" - } - return *r.Content -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (r *Reaction) GetCreatedAt() Timestamp { - if r == nil || r.CreatedAt == nil { - return Timestamp{} - } - return *r.CreatedAt -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (r *Reaction) GetID() int64 { - if r == nil || r.ID == nil { - return 0 - } - return *r.ID -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (r *Reaction) GetNodeID() string { - if r == nil || r.NodeID == nil { - return "" - } - return *r.NodeID -} - -// GetUser returns the User field. -func (r *Reaction) GetUser() *User { - if r == nil { - return nil - } - return r.User -} - -// GetConfused returns the Confused field if it's non-nil, zero value otherwise. -func (r *Reactions) GetConfused() int { - if r == nil || r.Confused == nil { - return 0 - } - return *r.Confused -} - -// GetEyes returns the Eyes field if it's non-nil, zero value otherwise. -func (r *Reactions) GetEyes() int { - if r == nil || r.Eyes == nil { - return 0 - } - return *r.Eyes -} - -// GetHeart returns the Heart field if it's non-nil, zero value otherwise. -func (r *Reactions) GetHeart() int { - if r == nil || r.Heart == nil { - return 0 - } - return *r.Heart -} - -// GetHooray returns the Hooray field if it's non-nil, zero value otherwise. -func (r *Reactions) GetHooray() int { - if r == nil || r.Hooray == nil { - return 0 - } - return *r.Hooray -} - -// GetLaugh returns the Laugh field if it's non-nil, zero value otherwise. -func (r *Reactions) GetLaugh() int { - if r == nil || r.Laugh == nil { - return 0 - } - return *r.Laugh -} - -// GetMinusOne returns the MinusOne field if it's non-nil, zero value otherwise. -func (r *Reactions) GetMinusOne() int { - if r == nil || r.MinusOne == nil { - return 0 - } - return *r.MinusOne -} - -// GetPlusOne returns the PlusOne field if it's non-nil, zero value otherwise. -func (r *Reactions) GetPlusOne() int { - if r == nil || r.PlusOne == nil { - return 0 - } - return *r.PlusOne -} - -// GetRocket returns the Rocket field if it's non-nil, zero value otherwise. -func (r *Reactions) GetRocket() int { - if r == nil || r.Rocket == nil { - return 0 - } - return *r.Rocket -} - -// GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. -func (r *Reactions) GetTotalCount() int { - if r == nil || r.TotalCount == nil { - return 0 - } - return *r.TotalCount -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (r *Reactions) GetURL() string { - if r == nil || r.URL == nil { - return "" - } - return *r.URL -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (r *ReassignedResource) GetName() string { - if r == nil || r.Name == nil { - return "" - } - return *r.Name -} - -// GetPreviousCostCenter returns the PreviousCostCenter field if it's non-nil, zero value otherwise. -func (r *ReassignedResource) GetPreviousCostCenter() string { - if r == nil || r.PreviousCostCenter == nil { - return "" - } - return *r.PreviousCostCenter -} - -// GetResourceType returns the ResourceType field if it's non-nil, zero value otherwise. -func (r *ReassignedResource) GetResourceType() string { - if r == nil || r.ResourceType == nil { - return "" - } - 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 { - return "" - } - return *r.NodeID -} - -// GetObject returns the Object field. -func (r *Reference) GetObject() *GitObject { - if r == nil { - return nil - } - return r.Object -} - -// GetRef returns the Ref field if it's non-nil, zero value otherwise. -func (r *Reference) GetRef() string { - if r == nil || r.Ref == nil { - return "" - } - return *r.Ref -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (r *Reference) GetURL() string { - if r == nil || r.URL == nil { - return "" - } - return *r.URL -} - -// GetPath returns the Path field if it's non-nil, zero value otherwise. -func (r *ReferencedWorkflow) GetPath() string { - if r == nil || r.Path == nil { - return "" - } - return *r.Path -} - -// GetRef returns the Ref field if it's non-nil, zero value otherwise. -func (r *ReferencedWorkflow) GetRef() string { - if r == nil || r.Ref == nil { - return "" - } - return *r.Ref -} - -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (r *ReferencedWorkflow) GetSHA() string { - if r == nil || r.SHA == nil { - return "" - } - return *r.SHA -} - -// GetExpiresAt returns the ExpiresAt field if it's non-nil, zero value otherwise. -func (r *RegistrationToken) GetExpiresAt() Timestamp { - if r == nil || r.ExpiresAt == nil { - return Timestamp{} - } - return *r.ExpiresAt -} - -// GetToken returns the Token field if it's non-nil, zero value otherwise. -func (r *RegistrationToken) GetToken() string { - if r == nil || r.Token == nil { - return "" - } - return *r.Token -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (r *RegistryPackageEvent) GetAction() string { - if r == nil || r.Action == nil { - return "" - } - return *r.Action -} - -// GetEnterprise returns the Enterprise field. -func (r *RegistryPackageEvent) GetEnterprise() *Enterprise { - if r == nil { - return nil - } - return r.Enterprise -} - -// GetInstallation returns the Installation field. -func (r *RegistryPackageEvent) GetInstallation() *Installation { - if r == nil { - return nil - } - return r.Installation -} - -// GetOrganization returns the Organization field. -func (r *RegistryPackageEvent) GetOrganization() *Organization { - if r == nil { - return nil - } - return r.Organization -} - -// GetRegistryPackage returns the RegistryPackage field. -func (r *RegistryPackageEvent) GetRegistryPackage() *Package { - if r == nil { - return nil - } - return r.RegistryPackage -} - -// GetRepository returns the Repository field. -func (r *RegistryPackageEvent) GetRepository() *Repository { - if r == nil { - return nil - } - return r.Repository -} - -// GetSender returns the Sender field. -func (r *RegistryPackageEvent) GetSender() *User { - if r == nil { - return nil - } - return r.Sender -} - -// GetBrowserDownloadURL returns the BrowserDownloadURL field if it's non-nil, zero value otherwise. -func (r *ReleaseAsset) GetBrowserDownloadURL() string { - if r == nil || r.BrowserDownloadURL == nil { - return "" - } - return *r.BrowserDownloadURL -} - -// GetContentType returns the ContentType field if it's non-nil, zero value otherwise. -func (r *ReleaseAsset) GetContentType() string { - if r == nil || r.ContentType == nil { - return "" - } - return *r.ContentType -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (r *ReleaseAsset) GetCreatedAt() Timestamp { - if r == nil || r.CreatedAt == nil { - return Timestamp{} - } - return *r.CreatedAt -} - -// GetDigest returns the Digest field if it's non-nil, zero value otherwise. -func (r *ReleaseAsset) GetDigest() string { - if r == nil || r.Digest == nil { - return "" - } - return *r.Digest -} - -// GetDownloadCount returns the DownloadCount field if it's non-nil, zero value otherwise. -func (r *ReleaseAsset) GetDownloadCount() int { - if r == nil || r.DownloadCount == nil { - return 0 - } - return *r.DownloadCount -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (r *ReleaseAsset) GetID() int64 { - if r == nil || r.ID == nil { - return 0 - } - return *r.ID -} - -// GetLabel returns the Label field if it's non-nil, zero value otherwise. -func (r *ReleaseAsset) GetLabel() string { - if r == nil || r.Label == nil { - return "" - } - return *r.Label -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (r *ReleaseAsset) GetName() string { - if r == nil || r.Name == nil { - return "" - } - return *r.Name -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (r *ReleaseAsset) GetNodeID() string { - if r == nil || r.NodeID == nil { - return "" - } - return *r.NodeID -} - -// GetSize returns the Size field if it's non-nil, zero value otherwise. -func (r *ReleaseAsset) GetSize() int { - if r == nil || r.Size == nil { - return 0 - } - return *r.Size -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (r *ReleaseAsset) GetState() string { - if r == nil || r.State == nil { - return "" - } - return *r.State -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (r *ReleaseAsset) GetUpdatedAt() Timestamp { - if r == nil || r.UpdatedAt == nil { - return Timestamp{} - } - return *r.UpdatedAt -} - -// GetUploader returns the Uploader field. -func (r *ReleaseAsset) GetUploader() *User { - if r == nil { - return nil - } - return r.Uploader -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (r *ReleaseAsset) GetURL() string { - if r == nil || r.URL == nil { - return "" - } - return *r.URL -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (r *ReleaseEvent) GetAction() string { - if r == nil || r.Action == nil { - return "" - } - return *r.Action -} - -// GetInstallation returns the Installation field. -func (r *ReleaseEvent) GetInstallation() *Installation { - if r == nil { - return nil - } - return r.Installation -} - -// GetOrg returns the Org field. -func (r *ReleaseEvent) GetOrg() *Organization { - if r == nil { - return nil - } - return r.Org -} - -// GetRelease returns the Release field. -func (r *ReleaseEvent) GetRelease() *RepositoryRelease { - if r == nil { - return nil - } - return r.Release -} - -// GetRepo returns the Repo field. -func (r *ReleaseEvent) GetRepo() *Repository { - if r == nil { - return nil - } - return r.Repo -} - -// GetSender returns the Sender field. -func (r *ReleaseEvent) GetSender() *User { - if r == nil { - return nil - } - return r.Sender -} - -// GetBuildDate returns the BuildDate field if it's non-nil, zero value otherwise. -func (r *ReleaseVersion) GetBuildDate() string { - if r == nil || r.BuildDate == nil { - return "" - } - return *r.BuildDate -} - -// GetBuildID returns the BuildID field if it's non-nil, zero value otherwise. -func (r *ReleaseVersion) GetBuildID() string { - if r == nil || r.BuildID == nil { - return "" - } - return *r.BuildID -} - -// GetPlatform returns the Platform field if it's non-nil, zero value otherwise. -func (r *ReleaseVersion) GetPlatform() string { - if r == nil || r.Platform == nil { - return "" - } - return *r.Platform -} - -// GetVersion returns the Version field if it's non-nil, zero value otherwise. -func (r *ReleaseVersion) GetVersion() string { - if r == nil || r.Version == nil { - return "" - } - return *r.Version -} - -// GetMessage returns the Message field if it's non-nil, zero value otherwise. -func (r *RemoveResourcesFromCostCenterResponse) GetMessage() string { - if r == nil || r.Message == nil { - return "" - } - return *r.Message -} - -// GetExpiresAt returns the ExpiresAt field if it's non-nil, zero value otherwise. -func (r *RemoveToken) GetExpiresAt() Timestamp { - if r == nil || r.ExpiresAt == nil { - return Timestamp{} - } - return *r.ExpiresAt -} - -// GetToken returns the Token field if it's non-nil, zero value otherwise. -func (r *RemoveToken) GetToken() string { - if r == nil || r.Token == nil { - return "" - } - return *r.Token -} - -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (r *Rename) GetFrom() string { - if r == nil || r.From == nil { - return "" - } - return *r.From -} - -// GetTo returns the To field if it's non-nil, zero value otherwise. -func (r *Rename) GetTo() string { - if r == nil || r.To == nil { - return "" - } - return *r.To -} - -// GetMessage returns the Message field if it's non-nil, zero value otherwise. -func (r *RenameOrgResponse) GetMessage() string { - if r == nil || r.Message == nil { - return "" - } - return *r.Message -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (r *RenameOrgResponse) GetURL() string { - if r == nil || r.URL == nil { - return "" - } - return *r.URL -} - -// GetLogin returns the Login field if it's non-nil, zero value otherwise. -func (r *RepoAdvisoryCredit) GetLogin() string { - if r == nil || r.Login == nil { - return "" - } - return *r.Login -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (r *RepoAdvisoryCredit) GetType() string { - if r == nil || r.Type == nil { - return "" - } - return *r.Type -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (r *RepoAdvisoryCreditDetailed) GetState() string { - if r == nil || r.State == nil { - return "" - } - return *r.State -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (r *RepoAdvisoryCreditDetailed) GetType() string { - if r == nil || r.Type == nil { - return "" - } - return *r.Type -} - -// GetUser returns the User field. -func (r *RepoAdvisoryCreditDetailed) GetUser() *User { - if r == nil { - return nil - } - 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 { - return "" - } - 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 { - return false - } - return *r.FilesAnalyzed -} - -// GetLicenseConcluded returns the LicenseConcluded field if it's non-nil, zero value otherwise. -func (r *RepoDependencies) GetLicenseConcluded() string { - if r == nil || r.LicenseConcluded == nil { - return "" - } - return *r.LicenseConcluded -} - -// GetLicenseDeclared returns the LicenseDeclared field if it's non-nil, zero value otherwise. -func (r *RepoDependencies) GetLicenseDeclared() string { - if r == nil || r.LicenseDeclared == nil { - return "" - } - return *r.LicenseDeclared -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (r *RepoDependencies) GetName() string { - if r == nil || r.Name == nil { - return "" - } - return *r.Name -} - -// GetSPDXID returns the SPDXID field if it's non-nil, zero value otherwise. -func (r *RepoDependencies) GetSPDXID() string { - if r == nil || r.SPDXID == nil { - return "" - } - return *r.SPDXID -} - -// GetVersionInfo returns the VersionInfo field if it's non-nil, zero value otherwise. -func (r *RepoDependencies) GetVersionInfo() string { - if r == nil || r.VersionInfo == nil { - return "" - } - 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 { - return false - } - return *r.Enabled -} - -// GetEnforcedByOwner returns the EnforcedByOwner field if it's non-nil, zero value otherwise. -func (r *RepoImmutableReleasesStatus) GetEnforcedByOwner() bool { - if r == nil || r.EnforcedByOwner == nil { - return false - } - return *r.EnforcedByOwner -} - -// GetBranch returns the Branch field. -func (r *RepoMergeUpstreamRequest) GetBranch() string { - if r == nil { - return "" - } - return r.Branch -} - -// GetBaseBranch returns the BaseBranch field if it's non-nil, zero value otherwise. -func (r *RepoMergeUpstreamResult) GetBaseBranch() string { - if r == nil || r.BaseBranch == nil { - return "" - } - return *r.BaseBranch -} - -// GetMergeType returns the MergeType field if it's non-nil, zero value otherwise. -func (r *RepoMergeUpstreamResult) GetMergeType() string { - if r == nil || r.MergeType == nil { - return "" - } - return *r.MergeType -} - -// GetMessage returns the Message field if it's non-nil, zero value otherwise. -func (r *RepoMergeUpstreamResult) GetMessage() string { - if r == nil || r.Message == nil { - return "" - } - return *r.Message -} - -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (r *RepoName) GetFrom() string { - if r == nil || r.From == nil { - return "" - } - return *r.From -} - -// GetIncompleteResults returns the IncompleteResults field if it's non-nil, zero value otherwise. -func (r *RepositoriesSearchResult) GetIncompleteResults() bool { - if r == nil || r.IncompleteResults == nil { - return false - } - 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 { - return 0 - } - return *r.Total -} - -// GetAllowAutoMerge returns the AllowAutoMerge field if it's non-nil, zero value otherwise. -func (r *Repository) GetAllowAutoMerge() bool { - if r == nil || r.AllowAutoMerge == nil { - return false - } - return *r.AllowAutoMerge -} - -// GetAllowForking returns the AllowForking field if it's non-nil, zero value otherwise. -func (r *Repository) GetAllowForking() bool { - if r == nil || r.AllowForking == nil { - return false - } - return *r.AllowForking -} - -// GetAllowMergeCommit returns the AllowMergeCommit field if it's non-nil, zero value otherwise. -func (r *Repository) GetAllowMergeCommit() bool { - if r == nil || r.AllowMergeCommit == nil { - return false - } - return *r.AllowMergeCommit -} - -// GetAllowRebaseMerge returns the AllowRebaseMerge field if it's non-nil, zero value otherwise. -func (r *Repository) GetAllowRebaseMerge() bool { - if r == nil || r.AllowRebaseMerge == nil { - return false - } - return *r.AllowRebaseMerge -} - -// GetAllowSquashMerge returns the AllowSquashMerge field if it's non-nil, zero value otherwise. -func (r *Repository) GetAllowSquashMerge() bool { - if r == nil || r.AllowSquashMerge == nil { - return false - } - return *r.AllowSquashMerge -} - -// GetAllowUpdateBranch returns the AllowUpdateBranch field if it's non-nil, zero value otherwise. -func (r *Repository) GetAllowUpdateBranch() bool { - if r == nil || r.AllowUpdateBranch == nil { - return false - } - return *r.AllowUpdateBranch -} - -// GetArchived returns the Archived field if it's non-nil, zero value otherwise. -func (r *Repository) GetArchived() bool { - if r == nil || r.Archived == nil { - return false - } - return *r.Archived -} - -// GetArchiveURL returns the ArchiveURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetArchiveURL() string { - if r == nil || r.ArchiveURL == nil { - return "" - } - return *r.ArchiveURL -} - -// GetAssigneesURL returns the AssigneesURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetAssigneesURL() string { - if r == nil || r.AssigneesURL == nil { - return "" - } - return *r.AssigneesURL -} - -// GetAutoInit returns the AutoInit field if it's non-nil, zero value otherwise. -func (r *Repository) GetAutoInit() bool { - if r == nil || r.AutoInit == nil { - return false - } - return *r.AutoInit -} - -// GetBlobsURL returns the BlobsURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetBlobsURL() string { - if r == nil || r.BlobsURL == nil { - return "" - } - return *r.BlobsURL -} - -// GetBranchesURL returns the BranchesURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetBranchesURL() string { - if r == nil || r.BranchesURL == nil { - return "" - } - return *r.BranchesURL -} - -// GetCloneURL returns the CloneURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetCloneURL() string { - if r == nil || r.CloneURL == nil { - return "" - } - return *r.CloneURL -} - -// GetCodeOfConduct returns the CodeOfConduct field. -func (r *Repository) GetCodeOfConduct() *CodeOfConduct { - if r == nil { - return nil - } - return r.CodeOfConduct -} - -// GetCollaboratorsURL returns the CollaboratorsURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetCollaboratorsURL() string { - if r == nil || r.CollaboratorsURL == nil { - return "" - } - return *r.CollaboratorsURL -} - -// GetCommentsURL returns the CommentsURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetCommentsURL() string { - if r == nil || r.CommentsURL == nil { - return "" - } - return *r.CommentsURL -} - -// GetCommitsURL returns the CommitsURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetCommitsURL() string { - if r == nil || r.CommitsURL == nil { - return "" - } - return *r.CommitsURL -} - -// GetCompareURL returns the CompareURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetCompareURL() string { - if r == nil || r.CompareURL == nil { - return "" - } - return *r.CompareURL -} - -// GetContentsURL returns the ContentsURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetContentsURL() string { - if r == nil || r.ContentsURL == nil { - return "" - } - return *r.ContentsURL -} - -// GetContributorsURL returns the ContributorsURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetContributorsURL() string { - if r == nil || r.ContributorsURL == nil { - return "" - } - return *r.ContributorsURL -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (r *Repository) GetCreatedAt() Timestamp { - if r == nil || r.CreatedAt == nil { - return Timestamp{} - } - return *r.CreatedAt -} - -// GetCustomProperties returns the CustomProperties map if it's non-nil, an empty map otherwise. -func (r *Repository) GetCustomProperties() map[string]any { - if r == nil || r.CustomProperties == nil { - return map[string]any{} - } - return r.CustomProperties -} - -// GetDefaultBranch returns the DefaultBranch field if it's non-nil, zero value otherwise. -func (r *Repository) GetDefaultBranch() string { - if r == nil || r.DefaultBranch == nil { - return "" - } - return *r.DefaultBranch -} - -// GetDeleteBranchOnMerge returns the DeleteBranchOnMerge field if it's non-nil, zero value otherwise. -func (r *Repository) GetDeleteBranchOnMerge() bool { - if r == nil || r.DeleteBranchOnMerge == nil { - return false - } - return *r.DeleteBranchOnMerge -} - -// GetDeploymentsURL returns the DeploymentsURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetDeploymentsURL() string { - if r == nil || r.DeploymentsURL == nil { - return "" - } - return *r.DeploymentsURL -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (r *Repository) GetDescription() string { - if r == nil || r.Description == nil { - return "" - } - return *r.Description -} - -// GetDisabled returns the Disabled field if it's non-nil, zero value otherwise. -func (r *Repository) GetDisabled() bool { - if r == nil || r.Disabled == nil { - return false - } - return *r.Disabled -} - -// GetDownloadsURL returns the DownloadsURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetDownloadsURL() string { - if r == nil || r.DownloadsURL == nil { - return "" - } - return *r.DownloadsURL -} - -// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetEventsURL() string { - if r == nil || r.EventsURL == nil { - return "" - } - return *r.EventsURL -} - -// GetFork returns the Fork field if it's non-nil, zero value otherwise. -func (r *Repository) GetFork() bool { - if r == nil || r.Fork == nil { - return false - } - return *r.Fork -} - -// GetForksCount returns the ForksCount field if it's non-nil, zero value otherwise. -func (r *Repository) GetForksCount() int { - if r == nil || r.ForksCount == nil { - return 0 - } - return *r.ForksCount -} - -// GetForksURL returns the ForksURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetForksURL() string { - if r == nil || r.ForksURL == nil { - return "" - } - return *r.ForksURL -} - -// GetFullName returns the FullName field if it's non-nil, zero value otherwise. -func (r *Repository) GetFullName() string { - if r == nil || r.FullName == nil { - return "" - } - return *r.FullName -} - -// GetGitCommitsURL returns the GitCommitsURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetGitCommitsURL() string { - if r == nil || r.GitCommitsURL == nil { - return "" - } - return *r.GitCommitsURL -} - -// GetGitignoreTemplate returns the GitignoreTemplate field if it's non-nil, zero value otherwise. -func (r *Repository) GetGitignoreTemplate() string { - if r == nil || r.GitignoreTemplate == nil { - return "" - } - return *r.GitignoreTemplate -} - -// GetGitRefsURL returns the GitRefsURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetGitRefsURL() string { - if r == nil || r.GitRefsURL == nil { - return "" - } - return *r.GitRefsURL -} - -// GetGitTagsURL returns the GitTagsURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetGitTagsURL() string { - if r == nil || r.GitTagsURL == nil { - return "" - } - return *r.GitTagsURL -} - -// GetGitURL returns the GitURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetGitURL() string { - if r == nil || r.GitURL == nil { - return "" - } - return *r.GitURL -} - -// GetHasDiscussions returns the HasDiscussions field if it's non-nil, zero value otherwise. -func (r *Repository) GetHasDiscussions() bool { - if r == nil || r.HasDiscussions == nil { - return false - } - return *r.HasDiscussions -} - -// GetHasDownloads returns the HasDownloads field if it's non-nil, zero value otherwise. -func (r *Repository) GetHasDownloads() bool { - if r == nil || r.HasDownloads == nil { - return false - } - return *r.HasDownloads -} - -// GetHasIssues returns the HasIssues field if it's non-nil, zero value otherwise. -func (r *Repository) GetHasIssues() bool { - if r == nil || r.HasIssues == nil { - return false - } - return *r.HasIssues -} - -// GetHasPages returns the HasPages field if it's non-nil, zero value otherwise. -func (r *Repository) GetHasPages() bool { - if r == nil || r.HasPages == nil { - return false - } - return *r.HasPages -} - -// GetHasProjects returns the HasProjects field if it's non-nil, zero value otherwise. -func (r *Repository) GetHasProjects() bool { - if r == nil || r.HasProjects == nil { - return false - } - return *r.HasProjects -} - -// GetHasPullRequests returns the HasPullRequests field if it's non-nil, zero value otherwise. -func (r *Repository) GetHasPullRequests() bool { - if r == nil || r.HasPullRequests == nil { - return false - } - return *r.HasPullRequests -} - -// GetHasWiki returns the HasWiki field if it's non-nil, zero value otherwise. -func (r *Repository) GetHasWiki() bool { - if r == nil || r.HasWiki == nil { - return false - } - return *r.HasWiki -} - -// GetHomepage returns the Homepage field if it's non-nil, zero value otherwise. -func (r *Repository) GetHomepage() string { - if r == nil || r.Homepage == nil { - return "" - } - return *r.Homepage -} - -// GetHooksURL returns the HooksURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetHooksURL() string { - if r == nil || r.HooksURL == nil { - return "" - } - return *r.HooksURL -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetHTMLURL() string { - if r == nil || r.HTMLURL == nil { - return "" - } - return *r.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (r *Repository) GetID() int64 { - if r == nil || r.ID == nil { - return 0 - } - return *r.ID -} - -// GetIssueCommentURL returns the IssueCommentURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetIssueCommentURL() string { - if r == nil || r.IssueCommentURL == nil { - return "" - } - return *r.IssueCommentURL -} - -// GetIssueEventsURL returns the IssueEventsURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetIssueEventsURL() string { - if r == nil || r.IssueEventsURL == nil { - return "" - } - return *r.IssueEventsURL -} - -// GetIssuesURL returns the IssuesURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetIssuesURL() string { - if r == nil || r.IssuesURL == nil { - return "" - } - return *r.IssuesURL -} - -// GetIsTemplate returns the IsTemplate field if it's non-nil, zero value otherwise. -func (r *Repository) GetIsTemplate() bool { - if r == nil || r.IsTemplate == nil { - return false - } - return *r.IsTemplate -} - -// GetKeysURL returns the KeysURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetKeysURL() string { - if r == nil || r.KeysURL == nil { - return "" - } - return *r.KeysURL -} - -// GetLabelsURL returns the LabelsURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetLabelsURL() string { - if r == nil || r.LabelsURL == nil { - return "" - } - return *r.LabelsURL -} - -// GetLanguage returns the Language field if it's non-nil, zero value otherwise. -func (r *Repository) GetLanguage() string { - if r == nil || r.Language == nil { - return "" - } - return *r.Language -} - -// GetLanguagesURL returns the LanguagesURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetLanguagesURL() string { - if r == nil || r.LanguagesURL == nil { - return "" - } - return *r.LanguagesURL -} - -// GetLicense returns the License field. -func (r *Repository) GetLicense() *License { - if r == nil { - return nil - } - return r.License -} - -// GetLicenseTemplate returns the LicenseTemplate field if it's non-nil, zero value otherwise. -func (r *Repository) GetLicenseTemplate() string { - if r == nil || r.LicenseTemplate == nil { - return "" - } - return *r.LicenseTemplate -} - -// GetMasterBranch returns the MasterBranch field if it's non-nil, zero value otherwise. -func (r *Repository) GetMasterBranch() string { - if r == nil || r.MasterBranch == nil { - return "" - } - return *r.MasterBranch -} - -// GetMergeCommitMessage returns the MergeCommitMessage field if it's non-nil, zero value otherwise. -func (r *Repository) GetMergeCommitMessage() string { - if r == nil || r.MergeCommitMessage == nil { - return "" - } - return *r.MergeCommitMessage -} - -// GetMergeCommitTitle returns the MergeCommitTitle field if it's non-nil, zero value otherwise. -func (r *Repository) GetMergeCommitTitle() string { - if r == nil || r.MergeCommitTitle == nil { - return "" - } - return *r.MergeCommitTitle -} - -// GetMergesURL returns the MergesURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetMergesURL() string { - if r == nil || r.MergesURL == nil { - return "" - } - return *r.MergesURL -} - -// GetMilestonesURL returns the MilestonesURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetMilestonesURL() string { - if r == nil || r.MilestonesURL == nil { - return "" - } - return *r.MilestonesURL -} - -// GetMirrorURL returns the MirrorURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetMirrorURL() string { - if r == nil || r.MirrorURL == nil { - return "" - } - return *r.MirrorURL -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (r *Repository) GetName() string { - if r == nil || r.Name == nil { - return "" - } - return *r.Name -} - -// GetNetworkCount returns the NetworkCount field if it's non-nil, zero value otherwise. -func (r *Repository) GetNetworkCount() int { - if r == nil || r.NetworkCount == nil { - return 0 - } - return *r.NetworkCount -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (r *Repository) GetNodeID() string { - if r == nil || r.NodeID == nil { - return "" - } - return *r.NodeID -} - -// GetNotificationsURL returns the NotificationsURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetNotificationsURL() string { - if r == nil || r.NotificationsURL == nil { - return "" - } - return *r.NotificationsURL -} - -// GetOpenIssues returns the OpenIssues field if it's non-nil, zero value otherwise. -func (r *Repository) GetOpenIssues() int { - if r == nil || r.OpenIssues == nil { - return 0 - } - return *r.OpenIssues -} - -// GetOpenIssuesCount returns the OpenIssuesCount field if it's non-nil, zero value otherwise. -func (r *Repository) GetOpenIssuesCount() int { - if r == nil || r.OpenIssuesCount == nil { - return 0 - } - return *r.OpenIssuesCount -} - -// GetOrganization returns the Organization field. -func (r *Repository) GetOrganization() *Organization { - if r == nil { - return nil - } - return r.Organization -} - -// GetOwner returns the Owner field. -func (r *Repository) GetOwner() *User { - if r == nil { - return nil - } - return r.Owner -} - -// GetParent returns the Parent field. -func (r *Repository) GetParent() *Repository { - if r == nil { - return nil - } - return r.Parent -} - -// GetPermissions returns the Permissions field. -func (r *Repository) GetPermissions() *RepositoryPermissions { - if r == nil { - return nil - } - return r.Permissions -} - -// GetPrivate returns the Private field if it's non-nil, zero value otherwise. -func (r *Repository) GetPrivate() bool { - if r == nil || r.Private == nil { - return false - } - return *r.Private -} - -// GetPullRequestCreationPolicy returns the PullRequestCreationPolicy field if it's non-nil, zero value otherwise. -func (r *Repository) GetPullRequestCreationPolicy() string { - if r == nil || r.PullRequestCreationPolicy == nil { - return "" - } - return *r.PullRequestCreationPolicy -} - -// GetPullsURL returns the PullsURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetPullsURL() string { - if r == nil || r.PullsURL == nil { - return "" - } - return *r.PullsURL -} - -// GetPushedAt returns the PushedAt field if it's non-nil, zero value otherwise. -func (r *Repository) GetPushedAt() Timestamp { - if r == nil || r.PushedAt == nil { - return Timestamp{} - } - return *r.PushedAt -} - -// GetReleasesURL returns the ReleasesURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetReleasesURL() string { - if r == nil || r.ReleasesURL == nil { - return "" - } - return *r.ReleasesURL -} - -// GetRoleName returns the RoleName field if it's non-nil, zero value otherwise. -func (r *Repository) GetRoleName() string { - if r == nil || r.RoleName == nil { - return "" - } - return *r.RoleName -} - -// GetSecurityAndAnalysis returns the SecurityAndAnalysis field. -func (r *Repository) GetSecurityAndAnalysis() *SecurityAndAnalysis { - if r == nil { - return nil - } - return r.SecurityAndAnalysis -} - -// GetSize returns the Size field if it's non-nil, zero value otherwise. -func (r *Repository) GetSize() int { - if r == nil || r.Size == nil { - return 0 - } - return *r.Size -} - -// GetSource returns the Source field. -func (r *Repository) GetSource() *Repository { - if r == nil { - return nil - } - return r.Source -} - -// GetSquashMergeCommitMessage returns the SquashMergeCommitMessage field if it's non-nil, zero value otherwise. -func (r *Repository) GetSquashMergeCommitMessage() string { - if r == nil || r.SquashMergeCommitMessage == nil { - return "" - } - return *r.SquashMergeCommitMessage -} - -// GetSquashMergeCommitTitle returns the SquashMergeCommitTitle field if it's non-nil, zero value otherwise. -func (r *Repository) GetSquashMergeCommitTitle() string { - if r == nil || r.SquashMergeCommitTitle == nil { - return "" - } - return *r.SquashMergeCommitTitle -} - -// GetSSHURL returns the SSHURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetSSHURL() string { - if r == nil || r.SSHURL == nil { - return "" - } - return *r.SSHURL -} - -// GetStargazersCount returns the StargazersCount field if it's non-nil, zero value otherwise. -func (r *Repository) GetStargazersCount() int { - if r == nil || r.StargazersCount == nil { - return 0 - } - return *r.StargazersCount -} - -// GetStargazersURL returns the StargazersURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetStargazersURL() string { - if r == nil || r.StargazersURL == nil { - return "" - } - return *r.StargazersURL -} - -// GetStatusesURL returns the StatusesURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetStatusesURL() string { - if r == nil || r.StatusesURL == nil { - return "" - } - return *r.StatusesURL -} - -// GetSubscribersCount returns the SubscribersCount field if it's non-nil, zero value otherwise. -func (r *Repository) GetSubscribersCount() int { - if r == nil || r.SubscribersCount == nil { - return 0 - } - return *r.SubscribersCount -} - -// GetSubscribersURL returns the SubscribersURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetSubscribersURL() string { - if r == nil || r.SubscribersURL == nil { - return "" - } - return *r.SubscribersURL -} - -// GetSubscriptionURL returns the SubscriptionURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetSubscriptionURL() string { - if r == nil || r.SubscriptionURL == nil { - return "" - } - return *r.SubscriptionURL -} - -// GetSVNURL returns the SVNURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetSVNURL() string { - if r == nil || r.SVNURL == nil { - return "" - } - return *r.SVNURL -} - -// GetTagsURL returns the TagsURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetTagsURL() string { - if r == nil || r.TagsURL == nil { - return "" - } - return *r.TagsURL -} - -// GetTeamID returns the TeamID field if it's non-nil, zero value otherwise. -func (r *Repository) GetTeamID() int64 { - if r == nil || r.TeamID == nil { - return 0 - } - return *r.TeamID -} - -// GetTeamsURL returns the TeamsURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetTeamsURL() string { - if r == nil || r.TeamsURL == nil { - return "" - } - return *r.TeamsURL -} - -// GetTemplateRepository returns the TemplateRepository field. -func (r *Repository) GetTemplateRepository() *Repository { - if r == nil { - return nil - } - 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 { - return "" - } - return *r.TreesURL -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (r *Repository) GetUpdatedAt() Timestamp { - if r == nil || r.UpdatedAt == nil { - return Timestamp{} - } - return *r.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (r *Repository) GetURL() string { - if r == nil || r.URL == nil { - return "" - } - return *r.URL -} - -// GetUseSquashPRTitleAsDefault returns the UseSquashPRTitleAsDefault field if it's non-nil, zero value otherwise. -func (r *Repository) GetUseSquashPRTitleAsDefault() bool { - if r == nil || r.UseSquashPRTitleAsDefault == nil { - return false - } - return *r.UseSquashPRTitleAsDefault -} - -// GetVisibility returns the Visibility field if it's non-nil, zero value otherwise. -func (r *Repository) GetVisibility() string { - if r == nil || r.Visibility == nil { - return "" - } - return *r.Visibility -} - -// GetWatchers returns the Watchers field if it's non-nil, zero value otherwise. -func (r *Repository) GetWatchers() int { - if r == nil || r.Watchers == nil { - return 0 - } - return *r.Watchers -} - -// GetWatchersCount returns the WatchersCount field if it's non-nil, zero value otherwise. -func (r *Repository) GetWatchersCount() int { - if r == nil || r.WatchersCount == nil { - return 0 - } - return *r.WatchersCount -} - -// GetWebCommitSignoffRequired returns the WebCommitSignoffRequired field if it's non-nil, zero value otherwise. -func (r *Repository) GetWebCommitSignoffRequired() bool { - if r == nil || r.WebCommitSignoffRequired == nil { - return false - } - return *r.WebCommitSignoffRequired -} - -// GetAccessLevel returns the AccessLevel field if it's non-nil, zero value otherwise. -func (r *RepositoryActionsAccessLevel) GetAccessLevel() string { - if r == nil || r.AccessLevel == nil { - return "" - } - return *r.AccessLevel -} - -// GetAdvancedSecurityCommitters returns the AdvancedSecurityCommitters field. -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 { - return nil - } - 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 { - return Timestamp{} - } - return *r.Timestamp -} - -// GetAvatarURL returns the AvatarURL field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetAvatarURL() string { - if r == nil || r.AvatarURL == nil { - return "" - } - return *r.AvatarURL -} - -// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetEventsURL() string { - if r == nil || r.EventsURL == nil { - return "" - } - return *r.EventsURL -} - -// GetFollowersURL returns the FollowersURL field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetFollowersURL() string { - if r == nil || r.FollowersURL == nil { - return "" - } - return *r.FollowersURL -} - -// GetFollowingURL returns the FollowingURL field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetFollowingURL() string { - if r == nil || r.FollowingURL == nil { - return "" - } - return *r.FollowingURL -} - -// GetGistsURL returns the GistsURL field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetGistsURL() string { - if r == nil || r.GistsURL == nil { - return "" - } - return *r.GistsURL -} - -// GetGravatarID returns the GravatarID field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetGravatarID() string { - if r == nil || r.GravatarID == nil { - return "" - } - return *r.GravatarID -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetHTMLURL() string { - if r == nil || r.HTMLURL == nil { - return "" - } - return *r.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetID() int64 { - if r == nil || r.ID == nil { - return 0 - } - return *r.ID -} - -// GetLogin returns the Login field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetLogin() string { - if r == nil || r.Login == nil { - return "" - } - return *r.Login -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetNodeID() string { - if r == nil || r.NodeID == nil { - return "" - } - return *r.NodeID -} - -// GetOrganizationsURL returns the OrganizationsURL field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetOrganizationsURL() string { - if r == nil || r.OrganizationsURL == nil { - return "" - } - return *r.OrganizationsURL -} - -// GetReceivedEventsURL returns the ReceivedEventsURL field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetReceivedEventsURL() string { - if r == nil || r.ReceivedEventsURL == nil { - return "" - } - return *r.ReceivedEventsURL -} - -// GetReposURL returns the ReposURL field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetReposURL() string { - if r == nil || r.ReposURL == nil { - return "" - } - return *r.ReposURL -} - -// GetSiteAdmin returns the SiteAdmin field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetSiteAdmin() bool { - if r == nil || r.SiteAdmin == nil { - return false - } - return *r.SiteAdmin -} - -// GetStarredURL returns the StarredURL field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetStarredURL() string { - if r == nil || r.StarredURL == nil { - return "" - } - return *r.StarredURL -} - -// GetSubscriptionsURL returns the SubscriptionsURL field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetSubscriptionsURL() string { - if r == nil || r.SubscriptionsURL == nil { - return "" - } - return *r.SubscriptionsURL -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetType() string { - if r == nil || r.Type == nil { - return "" - } - return *r.Type -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetURL() string { - if r == nil || r.URL == nil { - return "" - } - return *r.URL -} - -// GetUserViewType returns the UserViewType field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetUserViewType() string { - if r == nil || r.UserViewType == nil { - return "" - } - 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 { - return nil - } - return r.Repository -} - -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (r *RepositoryAttachment) GetStatus() string { - if r == nil || r.Status == nil { - return "" - } - return *r.Status -} - -// GetConfiguration returns the Configuration field. -func (r *RepositoryCodeSecurityConfiguration) GetConfiguration() *CodeSecurityConfiguration { - if r == nil { - return nil - } - return r.Configuration -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (r *RepositoryCodeSecurityConfiguration) GetState() string { - if r == nil || r.State == nil { - return "" - } - return *r.State -} - -// GetAuthorAssociation returns the AuthorAssociation field if it's non-nil, zero value otherwise. -func (r *RepositoryComment) GetAuthorAssociation() string { - if r == nil || r.AuthorAssociation == nil { - return "" - } - return *r.AuthorAssociation -} - -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (r *RepositoryComment) GetBody() string { - if r == nil || r.Body == nil { - return "" - } - return *r.Body -} - -// GetCommitID returns the CommitID field if it's non-nil, zero value otherwise. -func (r *RepositoryComment) GetCommitID() string { - if r == nil || r.CommitID == nil { - return "" - } - return *r.CommitID -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (r *RepositoryComment) GetCreatedAt() Timestamp { - if r == nil || r.CreatedAt == nil { - return Timestamp{} - } - return *r.CreatedAt -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (r *RepositoryComment) GetHTMLURL() string { - if r == nil || r.HTMLURL == nil { - return "" - } - return *r.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (r *RepositoryComment) GetID() int64 { - if r == nil || r.ID == nil { - return 0 - } - return *r.ID -} - -// GetLine returns the Line field if it's non-nil, zero value otherwise. -func (r *RepositoryComment) GetLine() int { - if r == nil || r.Line == nil { - return 0 - } - return *r.Line -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (r *RepositoryComment) GetNodeID() string { - if r == nil || r.NodeID == nil { - return "" - } - return *r.NodeID -} - -// GetPath returns the Path field if it's non-nil, zero value otherwise. -func (r *RepositoryComment) GetPath() string { - if r == nil || r.Path == nil { - return "" - } - return *r.Path -} - -// GetPosition returns the Position field if it's non-nil, zero value otherwise. -func (r *RepositoryComment) GetPosition() int { - if r == nil || r.Position == nil { - return 0 - } - return *r.Position -} - -// GetReactions returns the Reactions field. -func (r *RepositoryComment) GetReactions() *Reactions { - if r == nil { - return nil - } - return r.Reactions -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (r *RepositoryComment) GetUpdatedAt() Timestamp { - if r == nil || r.UpdatedAt == nil { - return Timestamp{} - } - return *r.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (r *RepositoryComment) GetURL() string { - if r == nil || r.URL == nil { - return "" - } - return *r.URL -} - -// GetUser returns the User field. -func (r *RepositoryComment) GetUser() *User { - if r == nil { - return nil - } - return r.User -} - -// GetAuthor returns the Author field. -func (r *RepositoryCommit) GetAuthor() *User { - if r == nil { - return nil - } - return r.Author -} - -// GetCommentsURL returns the CommentsURL field if it's non-nil, zero value otherwise. -func (r *RepositoryCommit) GetCommentsURL() string { - if r == nil || r.CommentsURL == nil { - return "" - } - return *r.CommentsURL -} - -// GetCommit returns the Commit field. -func (r *RepositoryCommit) GetCommit() *Commit { - if r == nil { - return nil - } - return r.Commit -} - -// GetCommitter returns the Committer field. -func (r *RepositoryCommit) GetCommitter() *User { - if r == nil { - return nil - } - 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 { - return "" - } - return *r.HTMLURL -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (r *RepositoryCommit) GetNodeID() string { - if r == nil || r.NodeID == nil { - return "" - } - 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 { - return "" - } - return *r.SHA -} - -// GetStats returns the Stats field. -func (r *RepositoryCommit) GetStats() *CommitStats { - if r == nil { - return nil - } - return r.Stats -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (r *RepositoryCommit) GetURL() string { - if r == nil || r.URL == nil { - return "" - } - return *r.URL -} - -// GetDownloadURL returns the DownloadURL field if it's non-nil, zero value otherwise. -func (r *RepositoryContent) GetDownloadURL() string { - if r == nil || r.DownloadURL == nil { - return "" - } - return *r.DownloadURL -} - -// GetEncoding returns the Encoding field if it's non-nil, zero value otherwise. -func (r *RepositoryContent) GetEncoding() string { - if r == nil || r.Encoding == nil { - return "" - } - return *r.Encoding -} - -// GetGitURL returns the GitURL field if it's non-nil, zero value otherwise. -func (r *RepositoryContent) GetGitURL() string { - if r == nil || r.GitURL == nil { - return "" - } - return *r.GitURL -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (r *RepositoryContent) GetHTMLURL() string { - if r == nil || r.HTMLURL == nil { - return "" - } - return *r.HTMLURL -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (r *RepositoryContent) GetName() string { - if r == nil || r.Name == nil { - return "" - } - return *r.Name -} - -// GetPath returns the Path field if it's non-nil, zero value otherwise. -func (r *RepositoryContent) GetPath() string { - if r == nil || r.Path == nil { - return "" - } - return *r.Path -} - -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (r *RepositoryContent) GetSHA() string { - if r == nil || r.SHA == nil { - return "" - } - return *r.SHA -} - -// GetSize returns the Size field if it's non-nil, zero value otherwise. -func (r *RepositoryContent) GetSize() int { - if r == nil || r.Size == nil { - return 0 - } - return *r.Size -} - -// GetSubmoduleGitURL returns the SubmoduleGitURL field if it's non-nil, zero value otherwise. -func (r *RepositoryContent) GetSubmoduleGitURL() string { - if r == nil || r.SubmoduleGitURL == nil { - return "" - } - return *r.SubmoduleGitURL -} - -// GetTarget returns the Target field if it's non-nil, zero value otherwise. -func (r *RepositoryContent) GetTarget() string { - if r == nil || r.Target == nil { - return "" - } - return *r.Target -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (r *RepositoryContent) GetType() string { - if r == nil || r.Type == nil { - return "" - } - return *r.Type -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (r *RepositoryContent) GetURL() string { - if r == nil || r.URL == nil { - return "" - } - return *r.URL -} - -// GetAuthor returns the Author field. -func (r *RepositoryContentFileOptions) GetAuthor() *CommitAuthor { - if r == nil { - return nil - } - return r.Author -} - -// GetBranch returns the Branch field if it's non-nil, zero value otherwise. -func (r *RepositoryContentFileOptions) GetBranch() string { - if r == nil || r.Branch == nil { - return "" - } - return *r.Branch -} - -// GetCommitter returns the Committer field. -func (r *RepositoryContentFileOptions) GetCommitter() *CommitAuthor { - if r == nil { - return nil - } - 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 { - return "" - } - return *r.Message -} - -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (r *RepositoryContentFileOptions) GetSHA() string { - if r == nil || r.SHA == nil { - return "" - } - 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 { - return nil - } - 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 { - return "" - } - return *r.Action -} - -// GetBranch returns the Branch field if it's non-nil, zero value otherwise. -func (r *RepositoryDispatchEvent) GetBranch() string { - if r == nil || r.Branch == nil { - return "" - } - 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 { - return nil - } - return r.Installation -} - -// GetOrg returns the Org field. -func (r *RepositoryDispatchEvent) GetOrg() *Organization { - if r == nil { - return nil - } - return r.Org -} - -// GetRepo returns the Repo field. -func (r *RepositoryDispatchEvent) GetRepo() *Repository { - if r == nil { - return nil - } - return r.Repo -} - -// GetSender returns the Sender field. -func (r *RepositoryDispatchEvent) GetSender() *User { - if r == nil { - return nil - } - return r.Sender -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (r *RepositoryEvent) GetAction() string { - if r == nil || r.Action == nil { - return "" - } - return *r.Action -} - -// GetChanges returns the Changes field. -func (r *RepositoryEvent) GetChanges() *EditChange { - if r == nil { - return nil - } - return r.Changes -} - -// GetInstallation returns the Installation field. -func (r *RepositoryEvent) GetInstallation() *Installation { - if r == nil { - return nil - } - return r.Installation -} - -// GetOrg returns the Org field. -func (r *RepositoryEvent) GetOrg() *Organization { - if r == nil { - return nil - } - return r.Org -} - -// GetRepo returns the Repo field. -func (r *RepositoryEvent) GetRepo() *Repository { - if r == nil { - return nil - } - return r.Repo -} - -// GetSender returns the Sender field. -func (r *RepositoryEvent) GetSender() *User { - if r == nil { - return nil - } - return r.Sender -} - -// GetOrg returns the Org field. -func (r *RepositoryImportEvent) GetOrg() *Organization { - if r == nil { - return nil - } - return r.Org -} - -// GetRepo returns the Repo field. -func (r *RepositoryImportEvent) GetRepo() *Repository { - if r == nil { - return nil - } - return r.Repo -} - -// GetSender returns the Sender field. -func (r *RepositoryImportEvent) GetSender() *User { - if r == nil { - return nil - } - return r.Sender -} - -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (r *RepositoryImportEvent) GetStatus() string { - if r == nil || r.Status == nil { - return "" - } - return *r.Status -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (r *RepositoryInvitation) GetCreatedAt() Timestamp { - if r == nil || r.CreatedAt == nil { - return Timestamp{} - } - return *r.CreatedAt -} - -// GetExpired returns the Expired field if it's non-nil, zero value otherwise. -func (r *RepositoryInvitation) GetExpired() bool { - if r == nil || r.Expired == nil { - return false - } - return *r.Expired -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (r *RepositoryInvitation) GetHTMLURL() string { - if r == nil || r.HTMLURL == nil { - return "" - } - return *r.HTMLURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (r *RepositoryInvitation) GetID() int64 { - if r == nil || r.ID == nil { - return 0 - } - return *r.ID -} - -// GetInvitee returns the Invitee field. -func (r *RepositoryInvitation) GetInvitee() *User { - if r == nil { - return nil - } - return r.Invitee -} - -// GetInviter returns the Inviter field. -func (r *RepositoryInvitation) GetInviter() *User { - if r == nil { - return nil - } - return r.Inviter -} - -// GetPermissions returns the Permissions field if it's non-nil, zero value otherwise. -func (r *RepositoryInvitation) GetPermissions() string { - if r == nil || r.Permissions == nil { - return "" - } - return *r.Permissions -} - -// GetRepo returns the Repo field. -func (r *RepositoryInvitation) GetRepo() *Repository { - if r == nil { - return nil - } - return r.Repo -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (r *RepositoryInvitation) GetURL() string { - if r == nil || r.URL == nil { - return "" - } - return *r.URL -} - -// GetContent returns the Content field if it's non-nil, zero value otherwise. -func (r *RepositoryLicense) GetContent() string { - if r == nil || r.Content == nil { - return "" - } - return *r.Content -} - -// GetDownloadURL returns the DownloadURL field if it's non-nil, zero value otherwise. -func (r *RepositoryLicense) GetDownloadURL() string { - if r == nil || r.DownloadURL == nil { - return "" - } - return *r.DownloadURL -} - -// GetEncoding returns the Encoding field if it's non-nil, zero value otherwise. -func (r *RepositoryLicense) GetEncoding() string { - if r == nil || r.Encoding == nil { - return "" - } - return *r.Encoding -} - -// GetGitURL returns the GitURL field if it's non-nil, zero value otherwise. -func (r *RepositoryLicense) GetGitURL() string { - if r == nil || r.GitURL == nil { - return "" - } - return *r.GitURL -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (r *RepositoryLicense) GetHTMLURL() string { - if r == nil || r.HTMLURL == nil { - return "" - } - return *r.HTMLURL -} - -// GetLicense returns the License field. -func (r *RepositoryLicense) GetLicense() *License { - if r == nil { - return nil - } - return r.License -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (r *RepositoryLicense) GetName() string { - if r == nil || r.Name == nil { - return "" - } - return *r.Name -} - -// GetPath returns the Path field if it's non-nil, zero value otherwise. -func (r *RepositoryLicense) GetPath() string { - if r == nil || r.Path == nil { - return "" - } - return *r.Path -} - -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (r *RepositoryLicense) GetSHA() string { - if r == nil || r.SHA == nil { - return "" - } - return *r.SHA -} - -// GetSize returns the Size field if it's non-nil, zero value otherwise. -func (r *RepositoryLicense) GetSize() int { - if r == nil || r.Size == nil { - return 0 - } - return *r.Size -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (r *RepositoryLicense) GetType() string { - if r == nil || r.Type == nil { - return "" - } - return *r.Type -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (r *RepositoryLicense) GetURL() string { - if r == nil || r.URL == nil { - return "" - } - 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 { - return false - } - return *r.IncludesParents -} - -// GetBase returns the Base field. -func (r *RepositoryMergeRequest) GetBase() string { - if r == nil { - return "" - } - return r.Base -} - -// GetCommitMessage returns the CommitMessage field if it's non-nil, zero value otherwise. -func (r *RepositoryMergeRequest) GetCommitMessage() string { - if r == nil || r.CommitMessage == nil { - return "" - } - return *r.CommitMessage -} - -// GetHead returns the Head field. -func (r *RepositoryMergeRequest) GetHead() string { - if r == nil { - return "" - } - 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 { - return "" - } - return *r.Permission -} - -// GetRoleName returns the RoleName field if it's non-nil, zero value otherwise. -func (r *RepositoryPermissionLevel) GetRoleName() string { - if r == nil || r.RoleName == nil { - return "" - } - return *r.RoleName -} - -// GetUser returns the User field. -func (r *RepositoryPermissionLevel) GetUser() *User { - if r == nil { - return nil - } - return r.User -} - -// GetAdmin returns the Admin field if it's non-nil, zero value otherwise. -func (r *RepositoryPermissions) GetAdmin() bool { - if r == nil || r.Admin == nil { - return false - } - return *r.Admin -} - -// GetMaintain returns the Maintain field if it's non-nil, zero value otherwise. -func (r *RepositoryPermissions) GetMaintain() bool { - if r == nil || r.Maintain == nil { - return false - } - return *r.Maintain -} - -// GetPull returns the Pull field if it's non-nil, zero value otherwise. -func (r *RepositoryPermissions) GetPull() bool { - if r == nil || r.Pull == nil { - return false - } - return *r.Pull -} - -// GetPush returns the Push field if it's non-nil, zero value otherwise. -func (r *RepositoryPermissions) GetPush() bool { - if r == nil || r.Push == nil { - return false - } - return *r.Push -} - -// GetTriage returns the Triage field if it's non-nil, zero value otherwise. -func (r *RepositoryPermissions) GetTriage() bool { - if r == nil || r.Triage == nil { - return false - } - 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. -func (r *RepositoryRelease) GetAssetsURL() string { - if r == nil { - return "" - } - return r.AssetsURL -} - -// GetAuthor returns the Author field. -func (r *RepositoryRelease) GetAuthor() *User { - if r == nil { - return nil - } - return r.Author -} - -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (r *RepositoryRelease) GetBody() string { - if r == nil || r.Body == nil { - return "" - } - return *r.Body -} - -// GetBodyHTML returns the BodyHTML field if it's non-nil, zero value otherwise. -func (r *RepositoryRelease) GetBodyHTML() string { - if r == nil || r.BodyHTML == nil { - return "" - } - return *r.BodyHTML -} - -// GetBodyText returns the BodyText field if it's non-nil, zero value otherwise. -func (r *RepositoryRelease) GetBodyText() string { - if r == nil || r.BodyText == nil { - return "" - } - return *r.BodyText -} - -// GetCreatedAt returns the CreatedAt field. -func (r *RepositoryRelease) GetCreatedAt() Timestamp { - if r == nil { - return Timestamp{} - } - return r.CreatedAt -} - -// GetDiscussionURL returns the DiscussionURL field if it's non-nil, zero value otherwise. -func (r *RepositoryRelease) GetDiscussionURL() string { - if r == nil || r.DiscussionURL == nil { - return "" - } - return *r.DiscussionURL -} - -// GetDraft returns the Draft field. -func (r *RepositoryRelease) GetDraft() bool { - if r == nil { - return false - } - return r.Draft -} - -// GetHTMLURL returns the HTMLURL field. -func (r *RepositoryRelease) GetHTMLURL() string { - if r == nil { - return "" - } - return r.HTMLURL -} - -// GetID returns the ID field. -func (r *RepositoryRelease) GetID() int64 { - if r == nil { - return 0 - } - return r.ID -} - -// GetImmutable returns the Immutable field if it's non-nil, zero value otherwise. -func (r *RepositoryRelease) GetImmutable() bool { - if r == nil || r.Immutable == nil { - return false - } - return *r.Immutable -} - -// GetMentionsCount returns the MentionsCount field if it's non-nil, zero value otherwise. -func (r *RepositoryRelease) GetMentionsCount() int { - if r == nil || r.MentionsCount == nil { - return 0 - } - return *r.MentionsCount -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (r *RepositoryRelease) GetName() string { - if r == nil || r.Name == nil { - return "" - } - return *r.Name -} - -// GetNodeID returns the NodeID field. -func (r *RepositoryRelease) GetNodeID() string { - if r == nil { - return "" - } - return r.NodeID -} - -// GetPrerelease returns the Prerelease field. -func (r *RepositoryRelease) GetPrerelease() bool { - if r == nil { - return false - } - return r.Prerelease -} - -// GetPublishedAt returns the PublishedAt field if it's non-nil, zero value otherwise. -func (r *RepositoryRelease) GetPublishedAt() Timestamp { - if r == nil || r.PublishedAt == nil { - return Timestamp{} - } - return *r.PublishedAt -} - -// GetReactions returns the Reactions field. -func (r *RepositoryRelease) GetReactions() *Reactions { - if r == nil { - return nil - } - return r.Reactions -} - -// GetTagName returns the TagName field. -func (r *RepositoryRelease) GetTagName() string { - if r == nil { - return "" - } - return r.TagName -} - -// GetTarballURL returns the TarballURL field if it's non-nil, zero value otherwise. -func (r *RepositoryRelease) GetTarballURL() string { - if r == nil || r.TarballURL == nil { - return "" - } - return *r.TarballURL -} - -// GetTargetCommitish returns the TargetCommitish field. -func (r *RepositoryRelease) GetTargetCommitish() string { - if r == nil { - return "" - } - return r.TargetCommitish -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (r *RepositoryRelease) GetUpdatedAt() Timestamp { - if r == nil || r.UpdatedAt == nil { - return Timestamp{} - } - return *r.UpdatedAt -} - -// GetUploadURL returns the UploadURL field. -func (r *RepositoryRelease) GetUploadURL() string { - if r == nil { - return "" - } - return r.UploadURL -} - -// GetURL returns the URL field. -func (r *RepositoryRelease) GetURL() string { - if r == nil { - return "" - } - return r.URL -} - -// GetZipballURL returns the ZipballURL field if it's non-nil, zero value otherwise. -func (r *RepositoryRelease) GetZipballURL() string { - if r == nil || r.ZipballURL == nil { - return "" - } - 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 { - return nil - } - return r.Conditions -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (r *RepositoryRuleset) GetCreatedAt() Timestamp { - if r == nil || r.CreatedAt == nil { - return Timestamp{} - } - return *r.CreatedAt -} - -// GetCurrentUserCanBypass returns the CurrentUserCanBypass field. -func (r *RepositoryRuleset) GetCurrentUserCanBypass() *BypassMode { - if r == nil { - return nil - } - 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 { - return 0 - } - return *r.ID -} - -// GetLinks returns the Links field. -func (r *RepositoryRuleset) GetLinks() *RepositoryRulesetLinks { - if r == nil { - return nil - } - 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 { - return "" - } - return *r.NodeID -} - -// GetRules returns the Rules field. -func (r *RepositoryRuleset) GetRules() *RepositoryRulesetRules { - if r == nil { - return nil - } - 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 { - return nil - } - return r.SourceType -} - -// GetTarget returns the Target field. -func (r *RepositoryRuleset) GetTarget() *RulesetTarget { - if r == nil { - return nil - } - return r.Target -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (r *RepositoryRuleset) GetUpdatedAt() Timestamp { - if r == nil || r.UpdatedAt == nil { - return 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 { - return nil - } - return r.Configuration -} - -// GetPattern returns the Pattern field. -func (r *RepositoryRulesetChangedRule) GetPattern() *RepositoryRulesetChangeSource { - if r == nil { - return nil - } - return r.Pattern -} - -// GetRuleType returns the RuleType field. -func (r *RepositoryRulesetChangedRule) GetRuleType() *RepositoryRulesetChangeSource { - if r == nil { - return nil - } - 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 { - return nil - } - return r.Conditions -} - -// GetEnforcement returns the Enforcement field. -func (r *RepositoryRulesetChanges) GetEnforcement() *RepositoryRulesetChangeSource { - if r == nil { - return nil - } - return r.Enforcement -} - -// GetName returns the Name field. -func (r *RepositoryRulesetChanges) GetName() *RepositoryRulesetChangeSource { - if r == nil { - return nil - } - return r.Name -} - -// GetRules returns the Rules field. -func (r *RepositoryRulesetChanges) GetRules() *RepositoryRulesetChangedRules { - if r == nil { - return nil - } - return r.Rules -} - -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (r *RepositoryRulesetChangeSource) GetFrom() string { - if r == nil || r.From == nil { - return "" - } - 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 { - return nil - } - return r.OrganizationID -} - -// GetOrganizationName returns the OrganizationName field. -func (r *RepositoryRulesetConditions) GetOrganizationName() *RepositoryRulesetOrganizationNamesConditionParameters { - if r == nil { - return nil - } - return r.OrganizationName -} - -// GetOrganizationProperty returns the OrganizationProperty field. -func (r *RepositoryRulesetConditions) GetOrganizationProperty() *RepositoryRulesetOrganizationPropertyConditionParameters { - if r == nil { - return nil - } - return r.OrganizationProperty -} - -// GetRefName returns the RefName field. -func (r *RepositoryRulesetConditions) GetRefName() *RepositoryRulesetRefConditionParameters { - if r == nil { - return nil - } - return r.RefName -} - -// GetRepositoryID returns the RepositoryID field. -func (r *RepositoryRulesetConditions) GetRepositoryID() *RepositoryRulesetRepositoryIDsConditionParameters { - if r == nil { - return nil - } - return r.RepositoryID -} - -// GetRepositoryName returns the RepositoryName field. -func (r *RepositoryRulesetConditions) GetRepositoryName() *RepositoryRulesetRepositoryNamesConditionParameters { - if r == nil { - return nil - } - return r.RepositoryName -} - -// GetRepositoryProperty returns the RepositoryProperty field. -func (r *RepositoryRulesetConditions) GetRepositoryProperty() *RepositoryRulesetRepositoryPropertyConditionParameters { - if r == nil { - return nil - } - return r.RepositoryProperty -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (r *RepositoryRulesetEvent) GetAction() string { - if r == nil || r.Action == nil { - return "" - } - return *r.Action -} - -// GetChanges returns the Changes field. -func (r *RepositoryRulesetEvent) GetChanges() *RepositoryRulesetChanges { - if r == nil { - return nil - } - return r.Changes -} - -// GetEnterprise returns the Enterprise field. -func (r *RepositoryRulesetEvent) GetEnterprise() *Enterprise { - if r == nil { - return nil - } - return r.Enterprise -} - -// GetInstallation returns the Installation field. -func (r *RepositoryRulesetEvent) GetInstallation() *Installation { - if r == nil { - return nil - } - return r.Installation -} - -// GetOrganization returns the Organization field. -func (r *RepositoryRulesetEvent) GetOrganization() *Organization { - if r == nil { - return nil - } - return r.Organization -} - -// GetRepository returns the Repository field. -func (r *RepositoryRulesetEvent) GetRepository() *Repository { - if r == nil { - return nil - } - return r.Repository -} - -// GetRepositoryRuleset returns the RepositoryRuleset field. -func (r *RepositoryRulesetEvent) GetRepositoryRuleset() *RepositoryRuleset { - if r == nil { - return nil - } - return r.RepositoryRuleset -} - -// GetSender returns the Sender field. -func (r *RepositoryRulesetEvent) GetSender() *User { - if r == nil { - return nil - } - return r.Sender -} - -// GetHRef returns the HRef field if it's non-nil, zero value otherwise. -func (r *RepositoryRulesetLink) GetHRef() string { - if r == nil || r.HRef == nil { - return "" - } - return *r.HRef -} - -// GetHTML returns the HTML field. -func (r *RepositoryRulesetLinks) GetHTML() *RepositoryRulesetLink { - if r == nil { - return nil - } - return r.HTML -} - -// GetSelf returns the Self field. -func (r *RepositoryRulesetLinks) GetSelf() *RepositoryRulesetLink { - if r == nil { - return nil - } - 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 { - return false - } - 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 { - return "" - } - return *r.Source -} - -// GetBranchNamePattern returns the BranchNamePattern field. -func (r *RepositoryRulesetRules) GetBranchNamePattern() *PatternRuleParameters { - if r == nil { - return nil - } - return r.BranchNamePattern -} - -// GetCodeScanning returns the CodeScanning field. -func (r *RepositoryRulesetRules) GetCodeScanning() *CodeScanningRuleParameters { - if r == nil { - return nil - } - return r.CodeScanning -} - -// GetCommitAuthorEmailPattern returns the CommitAuthorEmailPattern field. -func (r *RepositoryRulesetRules) GetCommitAuthorEmailPattern() *PatternRuleParameters { - if r == nil { - return nil - } - return r.CommitAuthorEmailPattern -} - -// GetCommitMessagePattern returns the CommitMessagePattern field. -func (r *RepositoryRulesetRules) GetCommitMessagePattern() *PatternRuleParameters { - if r == nil { - return nil - } - return r.CommitMessagePattern -} - -// GetCommitterEmailPattern returns the CommitterEmailPattern field. -func (r *RepositoryRulesetRules) GetCommitterEmailPattern() *PatternRuleParameters { - if r == nil { - return nil - } - return r.CommitterEmailPattern -} - -// GetCopilotCodeReview returns the CopilotCodeReview field. -func (r *RepositoryRulesetRules) GetCopilotCodeReview() *CopilotCodeReviewRuleParameters { - if r == nil { - return nil - } - return r.CopilotCodeReview -} - -// GetCreation returns the Creation field. -func (r *RepositoryRulesetRules) GetCreation() *EmptyRuleParameters { - if r == nil { - return nil - } - return r.Creation -} - -// GetDeletion returns the Deletion field. -func (r *RepositoryRulesetRules) GetDeletion() *EmptyRuleParameters { - if r == nil { - return nil - } - return r.Deletion -} - -// GetFileExtensionRestriction returns the FileExtensionRestriction field. -func (r *RepositoryRulesetRules) GetFileExtensionRestriction() *FileExtensionRestrictionRuleParameters { - if r == nil { - return nil - } - return r.FileExtensionRestriction -} - -// GetFilePathRestriction returns the FilePathRestriction field. -func (r *RepositoryRulesetRules) GetFilePathRestriction() *FilePathRestrictionRuleParameters { - if r == nil { - return nil - } - return r.FilePathRestriction -} - -// GetMaxFilePathLength returns the MaxFilePathLength field. -func (r *RepositoryRulesetRules) GetMaxFilePathLength() *MaxFilePathLengthRuleParameters { - if r == nil { - return nil - } - return r.MaxFilePathLength -} - -// GetMaxFileSize returns the MaxFileSize field. -func (r *RepositoryRulesetRules) GetMaxFileSize() *MaxFileSizeRuleParameters { - if r == nil { - return nil - } - return r.MaxFileSize -} - -// GetMergeQueue returns the MergeQueue field. -func (r *RepositoryRulesetRules) GetMergeQueue() *MergeQueueRuleParameters { - if r == nil { - return nil - } - return r.MergeQueue -} - -// GetNonFastForward returns the NonFastForward field. -func (r *RepositoryRulesetRules) GetNonFastForward() *EmptyRuleParameters { - if r == nil { - return nil - } - return r.NonFastForward -} - -// GetPullRequest returns the PullRequest field. -func (r *RepositoryRulesetRules) GetPullRequest() *PullRequestRuleParameters { - if r == nil { - return nil - } - return r.PullRequest -} - -// GetRepositoryCreate returns the RepositoryCreate field. -func (r *RepositoryRulesetRules) GetRepositoryCreate() *EmptyRuleParameters { - if r == nil { - return nil - } - return r.RepositoryCreate -} - -// GetRepositoryDelete returns the RepositoryDelete field. -func (r *RepositoryRulesetRules) GetRepositoryDelete() *EmptyRuleParameters { - if r == nil { - return nil - } - return r.RepositoryDelete -} - -// GetRepositoryName returns the RepositoryName field. -func (r *RepositoryRulesetRules) GetRepositoryName() *SimplePatternRuleParameters { - if r == nil { - return nil - } - return r.RepositoryName -} - -// GetRepositoryTransfer returns the RepositoryTransfer field. -func (r *RepositoryRulesetRules) GetRepositoryTransfer() *EmptyRuleParameters { - if r == nil { - return nil - } - return r.RepositoryTransfer -} - -// GetRepositoryVisibility returns the RepositoryVisibility field. -func (r *RepositoryRulesetRules) GetRepositoryVisibility() *RepositoryVisibilityRuleParameters { - if r == nil { - return nil - } - return r.RepositoryVisibility -} - -// GetRequiredDeployments returns the RequiredDeployments field. -func (r *RepositoryRulesetRules) GetRequiredDeployments() *RequiredDeploymentsRuleParameters { - if r == nil { - return nil - } - return r.RequiredDeployments -} - -// GetRequiredLinearHistory returns the RequiredLinearHistory field. -func (r *RepositoryRulesetRules) GetRequiredLinearHistory() *EmptyRuleParameters { - if r == nil { - return nil - } - return r.RequiredLinearHistory -} - -// GetRequiredSignatures returns the RequiredSignatures field. -func (r *RepositoryRulesetRules) GetRequiredSignatures() *EmptyRuleParameters { - if r == nil { - return nil - } - return r.RequiredSignatures -} - -// GetRequiredStatusChecks returns the RequiredStatusChecks field. -func (r *RepositoryRulesetRules) GetRequiredStatusChecks() *RequiredStatusChecksRuleParameters { - if r == nil { - return nil - } - return r.RequiredStatusChecks -} - -// GetTagNamePattern returns the TagNamePattern field. -func (r *RepositoryRulesetRules) GetTagNamePattern() *PatternRuleParameters { - if r == nil { - return nil - } - return r.TagNamePattern -} - -// GetUpdate returns the Update field. -func (r *RepositoryRulesetRules) GetUpdate() *UpdateRuleParameters { - if r == nil { - return nil - } - return r.Update -} - -// GetWorkflows returns the Workflows field. -func (r *RepositoryRulesetRules) GetWorkflows() *WorkflowsRuleParameters { - if r == nil { - return nil - } - return r.Workflows -} - -// GetConditionType returns the ConditionType field. -func (r *RepositoryRulesetUpdatedCondition) GetConditionType() *RepositoryRulesetChangeSource { - if r == nil { - return nil - } - return r.ConditionType -} - -// GetExclude returns the Exclude field. -func (r *RepositoryRulesetUpdatedCondition) GetExclude() *RepositoryRulesetChangeSources { - if r == nil { - return nil - } - return r.Exclude -} - -// GetInclude returns the Include field. -func (r *RepositoryRulesetUpdatedCondition) GetInclude() *RepositoryRulesetChangeSources { - if r == nil { - return nil - } - return r.Include -} - -// GetTarget returns the Target field. -func (r *RepositoryRulesetUpdatedCondition) GetTarget() *RepositoryRulesetChangeSource { - if r == nil { - return nil - } - return r.Target -} - -// GetChanges returns the Changes field. -func (r *RepositoryRulesetUpdatedConditions) GetChanges() *RepositoryRulesetUpdatedCondition { - if r == nil { - return nil - } - return r.Changes -} - -// GetCondition returns the Condition field. -func (r *RepositoryRulesetUpdatedConditions) GetCondition() *RepositoryRulesetConditions { - if r == nil { - return nil - } - return r.Condition -} - -// GetChanges returns the Changes field. -func (r *RepositoryRulesetUpdatedRules) GetChanges() *RepositoryRulesetChangedRule { - if r == nil { - return nil - } - return r.Changes -} - -// GetRule returns the Rule field. -func (r *RepositoryRulesetUpdatedRules) GetRule() *RepositoryRule { - if r == nil { - return nil - } - return r.Rule -} - -// GetCommit returns the Commit field. -func (r *RepositoryTag) GetCommit() *Commit { - if r == nil { - return nil - } - return r.Commit -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (r *RepositoryTag) GetName() string { - if r == nil || r.Name == nil { - return "" - } - return *r.Name -} - -// GetTarballURL returns the TarballURL field if it's non-nil, zero value otherwise. -func (r *RepositoryTag) GetTarballURL() string { - if r == nil || r.TarballURL == nil { - return "" - } - return *r.TarballURL -} - -// GetZipballURL returns the ZipballURL field if it's non-nil, zero value otherwise. -func (r *RepositoryTag) GetZipballURL() string { - if r == nil || r.ZipballURL == nil { - return "" - } - 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 -} - -// GetPublic returns the Public field. -func (r *RepositoryVisibilityRuleParameters) GetPublic() bool { - if r == nil { - return false - } - return r.Public -} - -// GetAffectedPackageName returns the AffectedPackageName field if it's non-nil, zero value otherwise. -func (r *RepositoryVulnerabilityAlert) GetAffectedPackageName() string { - if r == nil || r.AffectedPackageName == nil { - return "" - } - return *r.AffectedPackageName -} - -// GetAffectedRange returns the AffectedRange field if it's non-nil, zero value otherwise. -func (r *RepositoryVulnerabilityAlert) GetAffectedRange() string { - if r == nil || r.AffectedRange == nil { - return "" - } - return *r.AffectedRange -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (r *RepositoryVulnerabilityAlert) GetCreatedAt() Timestamp { - if r == nil || r.CreatedAt == nil { - return Timestamp{} - } - return *r.CreatedAt -} - -// GetDismissedAt returns the DismissedAt field if it's non-nil, zero value otherwise. -func (r *RepositoryVulnerabilityAlert) GetDismissedAt() Timestamp { - if r == nil || r.DismissedAt == nil { - return Timestamp{} - } - return *r.DismissedAt -} - -// GetDismisser returns the Dismisser field. -func (r *RepositoryVulnerabilityAlert) GetDismisser() *User { - if r == nil { - return nil - } - return r.Dismisser -} - -// GetDismissReason returns the DismissReason field if it's non-nil, zero value otherwise. -func (r *RepositoryVulnerabilityAlert) GetDismissReason() string { - if r == nil || r.DismissReason == nil { - return "" - } - return *r.DismissReason -} - -// GetExternalIdentifier returns the ExternalIdentifier field if it's non-nil, zero value otherwise. -func (r *RepositoryVulnerabilityAlert) GetExternalIdentifier() string { - if r == nil || r.ExternalIdentifier == nil { - return "" - } - return *r.ExternalIdentifier -} - -// GetExternalReference returns the ExternalReference field if it's non-nil, zero value otherwise. -func (r *RepositoryVulnerabilityAlert) GetExternalReference() string { - if r == nil || r.ExternalReference == nil { - return "" - } - return *r.ExternalReference -} - -// GetFixedIn returns the FixedIn field if it's non-nil, zero value otherwise. -func (r *RepositoryVulnerabilityAlert) GetFixedIn() string { - if r == nil || r.FixedIn == nil { - return "" - } - return *r.FixedIn -} - -// GetGitHubSecurityAdvisoryID returns the GitHubSecurityAdvisoryID field if it's non-nil, zero value otherwise. -func (r *RepositoryVulnerabilityAlert) GetGitHubSecurityAdvisoryID() string { - if r == nil || r.GitHubSecurityAdvisoryID == nil { - return "" - } - return *r.GitHubSecurityAdvisoryID -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (r *RepositoryVulnerabilityAlert) GetID() int64 { - if r == nil || r.ID == nil { - return 0 - } - return *r.ID -} - -// GetSeverity returns the Severity field if it's non-nil, zero value otherwise. -func (r *RepositoryVulnerabilityAlert) GetSeverity() string { - if r == nil || r.Severity == nil { - return "" - } - return *r.Severity -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (r *RepositoryVulnerabilityAlertEvent) GetAction() string { - if r == nil || r.Action == nil { - return "" - } - return *r.Action -} - -// GetAlert returns the Alert field. -func (r *RepositoryVulnerabilityAlertEvent) GetAlert() *RepositoryVulnerabilityAlert { - if r == nil { - return nil - } - return r.Alert -} - -// GetInstallation returns the Installation field. -func (r *RepositoryVulnerabilityAlertEvent) GetInstallation() *Installation { - if r == nil { - return nil - } - return r.Installation -} - -// GetOrg returns the Org field. -func (r *RepositoryVulnerabilityAlertEvent) GetOrg() *Organization { - if r == nil { - return nil - } - return r.Org -} - -// GetRepository returns the Repository field. -func (r *RepositoryVulnerabilityAlertEvent) GetRepository() *Repository { - if r == nil { - return nil - } - return r.Repository -} - -// GetSender returns the Sender field. -func (r *RepositoryVulnerabilityAlertEvent) GetSender() *User { - if r == nil { - return nil - } - return r.Sender -} - -// GetForkRepos returns the ForkRepos field if it's non-nil, zero value otherwise. -func (r *RepoStats) GetForkRepos() int { - if r == nil || r.ForkRepos == nil { - return 0 - } - return *r.ForkRepos -} - -// GetOrgRepos returns the OrgRepos field if it's non-nil, zero value otherwise. -func (r *RepoStats) GetOrgRepos() int { - if r == nil || r.OrgRepos == nil { - return 0 - } - return *r.OrgRepos -} - -// GetRootRepos returns the RootRepos field if it's non-nil, zero value otherwise. -func (r *RepoStats) GetRootRepos() int { - if r == nil || r.RootRepos == nil { - return 0 - } - return *r.RootRepos -} - -// GetTotalPushes returns the TotalPushes field if it's non-nil, zero value otherwise. -func (r *RepoStats) GetTotalPushes() int { - if r == nil || r.TotalPushes == nil { - return 0 - } - return *r.TotalPushes -} - -// GetTotalRepos returns the TotalRepos field if it's non-nil, zero value otherwise. -func (r *RepoStats) GetTotalRepos() int { - if r == nil || r.TotalRepos == nil { - return 0 - } - return *r.TotalRepos -} - -// GetTotalWikis returns the TotalWikis field if it's non-nil, zero value otherwise. -func (r *RepoStats) GetTotalWikis() int { - if r == nil || r.TotalWikis == nil { - return 0 - } - return *r.TotalWikis -} - -// GetAvatarURL returns the AvatarURL field if it's non-nil, zero value otherwise. -func (r *RepoStatus) GetAvatarURL() string { - if r == nil || r.AvatarURL == nil { - return "" - } - return *r.AvatarURL -} - -// GetContext returns the Context field if it's non-nil, zero value otherwise. -func (r *RepoStatus) GetContext() string { - if r == nil || r.Context == nil { - return "" - } - return *r.Context -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (r *RepoStatus) GetCreatedAt() Timestamp { - if r == nil || r.CreatedAt == nil { - return Timestamp{} - } - return *r.CreatedAt -} - -// GetCreator returns the Creator field. -func (r *RepoStatus) GetCreator() *User { - if r == nil { - return nil - } - return r.Creator -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (r *RepoStatus) GetDescription() string { - if r == nil || r.Description == nil { - return "" - } - return *r.Description -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (r *RepoStatus) GetID() int64 { - if r == nil || r.ID == nil { - return 0 - } - return *r.ID -} - -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (r *RepoStatus) GetNodeID() string { - if r == nil || r.NodeID == nil { - return "" - } - return *r.NodeID -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (r *RepoStatus) GetState() string { - if r == nil || r.State == nil { - return "" - } - return *r.State -} - -// GetTargetURL returns the TargetURL field if it's non-nil, zero value otherwise. -func (r *RepoStatus) GetTargetURL() string { - if r == nil || r.TargetURL == nil { - return "" - } - return *r.TargetURL -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (r *RepoStatus) GetUpdatedAt() Timestamp { - if r == nil || r.UpdatedAt == nil { - return Timestamp{} - } - return *r.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (r *RepoStatus) GetURL() string { - if r == nil || r.URL == nil { - return "" - } - 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 { - return false - } - 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 { - return "" - } - 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 { - return "" - } - 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 { - return "" - } - return *r.Type -} - -// GetAppID returns the AppID field if it's non-nil, zero value otherwise. -func (r *RequiredStatusCheck) GetAppID() int64 { - if r == nil || r.AppID == nil { - return 0 - } - 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 { - return nil - } - return *r.Checks -} - -// GetContexts returns the Contexts field if it's non-nil, zero value otherwise. -func (r *RequiredStatusChecks) GetContexts() []string { - if r == nil || r.Contexts == nil { - return nil - } - return *r.Contexts -} - -// GetContextsURL returns the ContextsURL field if it's non-nil, zero value otherwise. -func (r *RequiredStatusChecks) GetContextsURL() string { - if r == nil || r.ContextsURL == nil { - return "" - } - 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 { - return "" - } - 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 { - return "" - } - 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 { - return false - } - return *r.Strict -} - -// GetDoNotEnforceOnCreate returns the DoNotEnforceOnCreate field if it's non-nil, zero value otherwise. -func (r *RequiredStatusChecksRuleParameters) GetDoNotEnforceOnCreate() bool { - if r == nil || r.DoNotEnforceOnCreate == nil { - return false - } - 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 { - return false - } - 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 { - return "" - } - 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 { - return "" - } - return *r.Reason -} - -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (r *Rule) GetDescription() string { - if r == nil || r.Description == nil { - return "" - } - return *r.Description -} - -// GetFullDescription returns the FullDescription field if it's non-nil, zero value otherwise. -func (r *Rule) GetFullDescription() string { - if r == nil || r.FullDescription == nil { - return "" - } - return *r.FullDescription -} - -// GetHelp returns the Help field if it's non-nil, zero value otherwise. -func (r *Rule) GetHelp() string { - if r == nil || r.Help == nil { - return "" - } - return *r.Help -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (r *Rule) GetID() string { - if r == nil || r.ID == nil { - return "" - } - return *r.ID -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (r *Rule) GetName() string { - if r == nil || r.Name == nil { - return "" - } - return *r.Name -} - -// GetSecuritySeverityLevel returns the SecuritySeverityLevel field if it's non-nil, zero value otherwise. -func (r *Rule) GetSecuritySeverityLevel() string { - if r == nil || r.SecuritySeverityLevel == nil { - return "" - } - return *r.SecuritySeverityLevel -} - -// GetSeverity returns the Severity field if it's non-nil, zero value otherwise. -func (r *Rule) GetSeverity() string { - if r == nil || r.Severity == nil { - return "" - } - 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 { - return 0 - } - return *r.MinimumApprovals -} - -// GetReviewer returns the Reviewer field. -func (r *RulesetRequiredReviewer) GetReviewer() *RulesetReviewer { - if r == nil { - return nil - } - return r.Reviewer -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (r *RulesetReviewer) GetID() int64 { - if r == nil || r.ID == nil { - return 0 - } - return *r.ID -} - -// GetType returns the Type field. -func (r *RulesetReviewer) GetType() *RulesetReviewerType { - if r == nil { - return nil - } - 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 { - return 0 - } - 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 { - return "" - } - return *r.Ref -} - -// GetRepositoryID returns the RepositoryID field if it's non-nil, zero value otherwise. -func (r *RuleWorkflow) GetRepositoryID() int64 { - if r == nil || r.RepositoryID == nil { - return 0 - } - return *r.RepositoryID -} - -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (r *RuleWorkflow) GetSHA() string { - if r == nil || r.SHA == nil { - return "" - } - return *r.SHA -} - -// GetBusy returns the Busy field if it's non-nil, zero value otherwise. -func (r *Runner) GetBusy() bool { - if r == nil || r.Busy == nil { - return false - } - return *r.Busy -} - -// GetEphemeral returns the Ephemeral field if it's non-nil, zero value otherwise. -func (r *Runner) GetEphemeral() bool { - if r == nil || r.Ephemeral == nil { - return false - } - return *r.Ephemeral -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (r *Runner) GetID() int64 { - if r == nil || r.ID == nil { - return 0 - } - 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 { - return "" - } - return *r.Name -} - -// GetOS returns the OS field if it's non-nil, zero value otherwise. -func (r *Runner) GetOS() string { - if r == nil || r.OS == nil { - return "" - } - return *r.OS -} - -// GetRunnerGroupID returns the RunnerGroupID field if it's non-nil, zero value otherwise. -func (r *Runner) GetRunnerGroupID() int64 { - if r == nil || r.RunnerGroupID == nil { - return 0 - } - return *r.RunnerGroupID -} - -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (r *Runner) GetStatus() string { - if r == nil || r.Status == nil { - return "" - } - return *r.Status -} - -// GetVersion returns the Version field if it's non-nil, zero value otherwise. -func (r *Runner) GetVersion() string { - if r == nil || r.Version == nil { - return "" - } - return *r.Version -} - -// GetArchitecture returns the Architecture field if it's non-nil, zero value otherwise. -func (r *RunnerApplicationDownload) GetArchitecture() string { - if r == nil || r.Architecture == nil { - return "" - } - return *r.Architecture -} - -// GetDownloadURL returns the DownloadURL field if it's non-nil, zero value otherwise. -func (r *RunnerApplicationDownload) GetDownloadURL() string { - if r == nil || r.DownloadURL == nil { - return "" - } - return *r.DownloadURL -} - -// GetFilename returns the Filename field if it's non-nil, zero value otherwise. -func (r *RunnerApplicationDownload) GetFilename() string { - if r == nil || r.Filename == nil { - return "" - } - return *r.Filename -} - -// GetOS returns the OS field if it's non-nil, zero value otherwise. -func (r *RunnerApplicationDownload) GetOS() string { - if r == nil || r.OS == nil { - return "" - } - return *r.OS -} - -// GetSHA256Checksum returns the SHA256Checksum field if it's non-nil, zero value otherwise. -func (r *RunnerApplicationDownload) GetSHA256Checksum() string { - if r == nil || r.SHA256Checksum == nil { - return "" - } - return *r.SHA256Checksum -} - -// GetTempDownloadToken returns the TempDownloadToken field if it's non-nil, zero value otherwise. -func (r *RunnerApplicationDownload) GetTempDownloadToken() string { - if r == nil || r.TempDownloadToken == nil { - return "" - } - return *r.TempDownloadToken -} - -// GetAllowsPublicRepositories returns the AllowsPublicRepositories field if it's non-nil, zero value otherwise. -func (r *RunnerGroup) GetAllowsPublicRepositories() bool { - if r == nil || r.AllowsPublicRepositories == nil { - return false - } - return *r.AllowsPublicRepositories -} - -// GetDefault returns the Default field if it's non-nil, zero value otherwise. -func (r *RunnerGroup) GetDefault() bool { - if r == nil || r.Default == nil { - return false - } - return *r.Default -} - -// GetHostedRunnersURL returns the HostedRunnersURL field if it's non-nil, zero value otherwise. -func (r *RunnerGroup) GetHostedRunnersURL() string { - if r == nil || r.HostedRunnersURL == nil { - return "" - } - return *r.HostedRunnersURL -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (r *RunnerGroup) GetID() int64 { - if r == nil || r.ID == nil { - return 0 - } - return *r.ID -} - -// GetInherited returns the Inherited field if it's non-nil, zero value otherwise. -func (r *RunnerGroup) GetInherited() bool { - if r == nil || r.Inherited == nil { - return false - } - return *r.Inherited -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (r *RunnerGroup) GetName() string { - if r == nil || r.Name == nil { - return "" - } - return *r.Name -} - -// GetNetworkConfigurationID returns the NetworkConfigurationID field if it's non-nil, zero value otherwise. -func (r *RunnerGroup) GetNetworkConfigurationID() string { - if r == nil || r.NetworkConfigurationID == nil { - return "" - } - return *r.NetworkConfigurationID -} - -// GetRestrictedToWorkflows returns the RestrictedToWorkflows field if it's non-nil, zero value otherwise. -func (r *RunnerGroup) GetRestrictedToWorkflows() bool { - if r == nil || r.RestrictedToWorkflows == nil { - return false - } - return *r.RestrictedToWorkflows -} - -// GetRunnersURL returns the RunnersURL field if it's non-nil, zero value otherwise. -func (r *RunnerGroup) GetRunnersURL() string { - if r == nil || r.RunnersURL == nil { - return "" - } - return *r.RunnersURL -} - -// GetSelectedRepositoriesURL returns the SelectedRepositoriesURL field if it's non-nil, zero value otherwise. -func (r *RunnerGroup) GetSelectedRepositoriesURL() string { - if r == nil || r.SelectedRepositoriesURL == nil { - return "" - } - 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 { - return "" - } - return *r.Visibility -} - -// GetWorkflowRestrictionsReadOnly returns the WorkflowRestrictionsReadOnly field if it's non-nil, zero value otherwise. -func (r *RunnerGroup) GetWorkflowRestrictionsReadOnly() bool { - if r == nil || r.WorkflowRestrictionsReadOnly == nil { - return false - } - return *r.WorkflowRestrictionsReadOnly -} - -// 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 { - return 0 - } - return *r.ID -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (r *RunnerLabels) GetName() string { - if r == nil || r.Name == nil { - return "" - } - return *r.Name -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (r *RunnerLabels) GetType() string { - if r == nil || r.Type == nil { - return "" - } - 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 { - return "" - } - return *s.CheckoutURI -} - -// GetCommitSHA returns the CommitSHA field. -func (s *SarifAnalysis) GetCommitSHA() string { - if s == nil { - return "" - } - return s.CommitSHA -} - -// GetRef returns the Ref field. -func (s *SarifAnalysis) GetRef() string { - if s == nil { - return "" - } - return s.Ref -} - -// GetSarif returns the Sarif field. -func (s *SarifAnalysis) GetSarif() string { - if s == nil { - return "" - } - return s.Sarif -} - -// GetStartedAt returns the StartedAt field if it's non-nil, zero value otherwise. -func (s *SarifAnalysis) GetStartedAt() Timestamp { - if s == nil || s.StartedAt == nil { - return Timestamp{} - } - return *s.StartedAt -} - -// GetToolName returns the ToolName field if it's non-nil, zero value otherwise. -func (s *SarifAnalysis) GetToolName() string { - if s == nil || s.ToolName == nil { - return "" - } - return *s.ToolName -} - -// GetValidate returns the Validate field if it's non-nil, zero value otherwise. -func (s *SarifAnalysis) GetValidate() bool { - if s == nil || s.Validate == nil { - return false - } - return *s.Validate -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (s *SarifID) GetID() string { - if s == nil || s.ID == nil { - return "" - } - return *s.ID -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (s *SarifID) GetURL() string { - if s == nil || s.URL == nil { - return "" - } - return *s.URL -} - -// GetAnalysesURL returns the AnalysesURL field if it's non-nil, zero value otherwise. -func (s *SARIFUpload) GetAnalysesURL() string { - if s == nil || s.AnalysesURL == nil { - return "" - } - return *s.AnalysesURL -} - -// GetProcessingStatus returns the ProcessingStatus field if it's non-nil, zero value otherwise. -func (s *SARIFUpload) GetProcessingStatus() string { - if s == nil || s.ProcessingStatus == nil { - return "" - } - return *s.ProcessingStatus -} - -// GetSBOM returns the SBOM field. -func (s *SBOM) GetSBOM() *SBOMInfo { - if s == nil { - return nil - } - return s.SBOM -} - -// GetCreationInfo returns the CreationInfo field. -func (s *SBOMInfo) GetCreationInfo() *CreationInfo { - if s == nil { - return nil - } - return s.CreationInfo -} - -// GetDataLicense returns the DataLicense field if it's non-nil, zero value otherwise. -func (s *SBOMInfo) GetDataLicense() string { - if s == nil || s.DataLicense == nil { - return "" - } - 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 { - return "" - } - return *s.DocumentNamespace -} - -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (s *SBOMInfo) GetName() string { - if s == nil || s.Name == nil { - return "" - } - 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 { - return "" - } - return *s.SPDXID -} - -// GetSPDXVersion returns the SPDXVersion field if it's non-nil, zero value otherwise. -func (s *SBOMInfo) GetSPDXVersion() string { - if s == nil || s.SPDXVersion == nil { - return "" - } - 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 { - return "" - } - return *s.AnalysisKey -} - -// GetCategory returns the Category field if it's non-nil, zero value otherwise. -func (s *ScanningAnalysis) GetCategory() string { - if s == nil || s.Category == nil { - return "" - } - return *s.Category -} - -// GetCommitSHA returns the CommitSHA field if it's non-nil, zero value otherwise. -func (s *ScanningAnalysis) GetCommitSHA() string { - if s == nil || s.CommitSHA == nil { - return "" - } - return *s.CommitSHA -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (s *ScanningAnalysis) GetCreatedAt() Timestamp { - if s == nil || s.CreatedAt == nil { - return Timestamp{} - } - return *s.CreatedAt -} - -// GetDeletable returns the Deletable field if it's non-nil, zero value otherwise. -func (s *ScanningAnalysis) GetDeletable() bool { - if s == nil || s.Deletable == nil { - return false - } - return *s.Deletable -} - -// GetEnvironment returns the Environment field if it's non-nil, zero value otherwise. -func (s *ScanningAnalysis) GetEnvironment() string { - if s == nil || s.Environment == nil { - return "" - } - return *s.Environment -} - -// GetError returns the Error field if it's non-nil, zero value otherwise. -func (s *ScanningAnalysis) GetError() string { - if s == nil || s.Error == nil { - return "" - } - return *s.Error -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (s *ScanningAnalysis) GetID() int64 { - if s == nil || s.ID == nil { - return 0 - } - return *s.ID -} - -// GetRef returns the Ref field if it's non-nil, zero value otherwise. -func (s *ScanningAnalysis) GetRef() string { - if s == nil || s.Ref == nil { - return "" - } - return *s.Ref -} - -// GetResultsCount returns the ResultsCount field if it's non-nil, zero value otherwise. -func (s *ScanningAnalysis) GetResultsCount() int { - if s == nil || s.ResultsCount == nil { - return 0 - } - return *s.ResultsCount -} - -// GetRulesCount returns the RulesCount field if it's non-nil, zero value otherwise. -func (s *ScanningAnalysis) GetRulesCount() int { - if s == nil || s.RulesCount == nil { - return 0 - } - return *s.RulesCount -} - -// GetSarifID returns the SarifID field if it's non-nil, zero value otherwise. -func (s *ScanningAnalysis) GetSarifID() string { - if s == nil || s.SarifID == nil { - return "" - } - return *s.SarifID -} - -// GetTool returns the Tool field. -func (s *ScanningAnalysis) GetTool() *Tool { - if s == nil { - return nil - } - return s.Tool -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (s *ScanningAnalysis) GetURL() string { - if s == nil || s.URL == nil { - return "" - } - return *s.URL -} - -// GetWarning returns the Warning field if it's non-nil, zero value otherwise. -func (s *ScanningAnalysis) GetWarning() string { - if s == nil || s.Warning == nil { - return "" - } - 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 { - return "" - } - 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 { - return "" - } - return *s.Display -} - -// GetRef returns the Ref field if it's non-nil, zero value otherwise. -func (s *SCIMEnterpriseDisplayReference) GetRef() string { - if s == nil || s.Ref == nil { - return "" - } - 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 { - return "" - } - return *s.DisplayName -} - -// GetExternalID returns the ExternalID field if it's non-nil, zero value otherwise. -func (s *SCIMEnterpriseGroupAttributes) GetExternalID() string { - if s == nil || s.ExternalID == nil { - return "" - } - return *s.ExternalID -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (s *SCIMEnterpriseGroupAttributes) GetID() string { - if s == nil || s.ID == nil { - return "" - } - 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 { - return nil - } - 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 { - return 0 - } - 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 { - return 0 - } - return *s.StartIndex -} - -// GetTotalResults returns the TotalResults field if it's non-nil, zero value otherwise. -func (s *SCIMEnterpriseGroups) GetTotalResults() int { - if s == nil || s.TotalResults == nil { - return 0 - } - return *s.TotalResults -} - -// GetCreated returns the Created field if it's non-nil, zero value otherwise. -func (s *SCIMEnterpriseMeta) GetCreated() Timestamp { - if s == nil || s.Created == nil { - return Timestamp{} - } - return *s.Created -} - -// GetLastModified returns the LastModified field if it's non-nil, zero value otherwise. -func (s *SCIMEnterpriseMeta) GetLastModified() Timestamp { - if s == nil || s.LastModified == nil { - return Timestamp{} - } - return *s.LastModified -} - -// GetLocation returns the Location field if it's non-nil, zero value otherwise. -func (s *SCIMEnterpriseMeta) GetLocation() string { - if s == nil || s.Location == nil { - return "" - } - 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 { - return "" - } - return *s.ID -} - -// GetMeta returns the Meta field. -func (s *SCIMEnterpriseUserAttributes) GetMeta() *SCIMEnterpriseMeta { - if s == nil { - return nil - } - return s.Meta -} - -// GetName returns the Name field. -func (s *SCIMEnterpriseUserAttributes) GetName() *SCIMEnterpriseUserName { - if s == nil { - return nil - } - 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 { - return "" - } - 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 { - return "" - } - return *s.MiddleName -} - -// GetDisplay returns the Display field if it's non-nil, zero value otherwise. -func (s *SCIMEnterpriseUserRole) GetDisplay() string { - if s == nil || s.Display == nil { - return "" - } - return *s.Display -} - -// GetPrimary returns the Primary field if it's non-nil, zero value otherwise. -func (s *SCIMEnterpriseUserRole) GetPrimary() bool { - if s == nil || s.Primary == nil { - return false - } - return *s.Primary -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (s *SCIMEnterpriseUserRole) GetType() string { - if s == nil || s.Type == nil { - return "" - } - 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 { - return 0 - } - 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 { - return 0 - } - return *s.StartIndex -} - -// GetTotalResults returns the TotalResults field if it's non-nil, zero value otherwise. -func (s *SCIMEnterpriseUsers) GetTotalResults() int { - if s == nil || s.TotalResults == nil { - return 0 - } - return *s.TotalResults -} - -// GetCreated returns the Created field if it's non-nil, zero value otherwise. -func (s *SCIMMeta) GetCreated() Timestamp { - if s == nil || s.Created == nil { - return Timestamp{} - } - return *s.Created -} - -// GetLastModified returns the LastModified field if it's non-nil, zero value otherwise. -func (s *SCIMMeta) GetLastModified() Timestamp { - if s == nil || s.LastModified == nil { - return Timestamp{} - } - return *s.LastModified -} - -// GetLocation returns the Location field if it's non-nil, zero value otherwise. -func (s *SCIMMeta) GetLocation() string { - if s == nil || s.Location == nil { - return "" - } - return *s.Location -} - -// GetResourceType returns the ResourceType field if it's non-nil, zero value otherwise. -func (s *SCIMMeta) GetResourceType() string { - if s == nil || s.ResourceType == nil { - return "" - } - return *s.ResourceType -} - -// GetItemsPerPage returns the ItemsPerPage field if it's non-nil, zero value otherwise. -func (s *SCIMProvisionedIdentities) GetItemsPerPage() int { - if s == nil || s.ItemsPerPage == nil { - return 0 - } - 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 { - return 0 - } - return *s.StartIndex -} - -// GetTotalResults returns the TotalResults field if it's non-nil, zero value otherwise. -func (s *SCIMProvisionedIdentities) GetTotalResults() int { - if s == nil || s.TotalResults == nil { - return 0 - } - return *s.TotalResults -} - -// GetActive returns the Active field if it's non-nil, zero value otherwise. -func (s *SCIMUserAttributes) GetActive() bool { - if s == nil || s.Active == nil { - return false - } - return *s.Active -} - -// GetDisplayName returns the DisplayName field if it's non-nil, zero value otherwise. -func (s *SCIMUserAttributes) GetDisplayName() string { - if s == nil || s.DisplayName == nil { - return "" - } - 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 { - return "" - } - 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 { - return "" - } - return *s.ID -} - -// GetMeta returns the Meta field. -func (s *SCIMUserAttributes) GetMeta() *SCIMMeta { - if s == nil { - return nil - } - 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 { - return false - } - return *s.Primary -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (s *SCIMUserEmail) GetType() string { - if s == nil || s.Type == nil { - return "" - } - 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 { - return "" - } - 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 { - return "" - } - return *s.Display -} - -// GetPrimary returns the Primary field if it's non-nil, zero value otherwise. -func (s *SCIMUserRole) GetPrimary() bool { - if s == nil || s.Primary == nil { - return false - } - return *s.Primary -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (s *SCIMUserRole) GetType() string { - if s == nil || s.Type == nil { - return "" - } - 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 { - return false - } - return *s.AdvancedSearch -} - -// GetOrder returns the Order field. -func (s *SearchOptions) GetOrder() string { - if s == nil { - return "" - } - return s.Order -} - -// GetSearchType returns the SearchType field. -func (s *SearchOptions) GetSearchType() string { - if s == nil { - return "" - } - return s.SearchType -} - -// 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 -} - -// GetEncryptedValue returns the EncryptedValue field. -func (s *SecretOrgRequest) GetEncryptedValue() string { - if s == nil { - return "" - } - return s.EncryptedValue -} - -// GetKeyID returns the KeyID field. -func (s *SecretOrgRequest) GetKeyID() string { - if s == nil { - return "" - } - return s.KeyID -} - -// GetSelectedRepositoryIDs returns the SelectedRepositoryIDs slice if it's non-nil, nil otherwise. -func (s *SecretOrgRequest) GetSelectedRepositoryIDs() []int64 { - if s == nil || s.SelectedRepositoryIDs == nil { - return nil - } - return s.SelectedRepositoryIDs -} - -// GetVisibility returns the Visibility field. -func (s *SecretOrgRequest) GetVisibility() string { - if s == nil { - return "" - } - return s.Visibility -} - -// GetEncryptedValue returns the EncryptedValue field. -func (s *SecretRequest) GetEncryptedValue() string { - if s == nil { - return "" - } - return s.EncryptedValue -} - -// GetKeyID returns the KeyID field. -func (s *SecretRequest) GetKeyID() string { - if s == nil { - return "" - } - return s.KeyID -} - -// 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 { - return "" - } - return *s.Status -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlert) GetCreatedAt() Timestamp { - if s == nil || s.CreatedAt == nil { - return Timestamp{} - } - return *s.CreatedAt -} - -// GetFirstLocationDetected returns the FirstLocationDetected field. -func (s *SecretScanningAlert) GetFirstLocationDetected() *SecretScanningAlertLocationDetails { - if s == nil { - return nil - } - return s.FirstLocationDetected -} - -// GetHasMoreLocations returns the HasMoreLocations field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlert) GetHasMoreLocations() bool { - if s == nil || s.HasMoreLocations == nil { - return false - } - return *s.HasMoreLocations -} - -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlert) GetHTMLURL() string { - if s == nil || s.HTMLURL == nil { - return "" - } - return *s.HTMLURL -} - -// GetIsBase64Encoded returns the IsBase64Encoded field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlert) GetIsBase64Encoded() bool { - if s == nil || s.IsBase64Encoded == nil { - return false - } - return *s.IsBase64Encoded -} - -// GetLocationsURL returns the LocationsURL field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlert) GetLocationsURL() string { - if s == nil || s.LocationsURL == nil { - return "" - } - return *s.LocationsURL -} - -// GetMultiRepo returns the MultiRepo field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlert) GetMultiRepo() bool { - if s == nil || s.MultiRepo == nil { - return false - } - return *s.MultiRepo -} - -// GetNumber returns the Number field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlert) GetNumber() int { - if s == nil || s.Number == nil { - return 0 - } - return *s.Number -} - -// GetPubliclyLeaked returns the PubliclyLeaked field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlert) GetPubliclyLeaked() bool { - if s == nil || s.PubliclyLeaked == nil { - return false - } - return *s.PubliclyLeaked -} - -// GetPushProtectionBypassed returns the PushProtectionBypassed field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlert) GetPushProtectionBypassed() bool { - if s == nil || s.PushProtectionBypassed == nil { - return false - } - return *s.PushProtectionBypassed -} - -// GetPushProtectionBypassedAt returns the PushProtectionBypassedAt field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlert) GetPushProtectionBypassedAt() Timestamp { - if s == nil || s.PushProtectionBypassedAt == nil { - return Timestamp{} - } - return *s.PushProtectionBypassedAt -} - -// GetPushProtectionBypassedBy returns the PushProtectionBypassedBy field. -func (s *SecretScanningAlert) GetPushProtectionBypassedBy() *User { - if s == nil { - return nil - } - return s.PushProtectionBypassedBy -} - -// GetPushProtectionBypassRequestComment returns the PushProtectionBypassRequestComment field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlert) GetPushProtectionBypassRequestComment() string { - if s == nil || s.PushProtectionBypassRequestComment == nil { - return "" - } - return *s.PushProtectionBypassRequestComment -} - -// GetPushProtectionBypassRequestHTMLURL returns the PushProtectionBypassRequestHTMLURL field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlert) GetPushProtectionBypassRequestHTMLURL() string { - if s == nil || s.PushProtectionBypassRequestHTMLURL == nil { - return "" - } - return *s.PushProtectionBypassRequestHTMLURL -} - -// GetPushProtectionBypassRequestReviewer returns the PushProtectionBypassRequestReviewer field. -func (s *SecretScanningAlert) GetPushProtectionBypassRequestReviewer() *User { - if s == nil { - return nil - } - return s.PushProtectionBypassRequestReviewer -} - -// GetPushProtectionBypassRequestReviewerComment returns the PushProtectionBypassRequestReviewerComment field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlert) GetPushProtectionBypassRequestReviewerComment() string { - if s == nil || s.PushProtectionBypassRequestReviewerComment == nil { - return "" - } - return *s.PushProtectionBypassRequestReviewerComment -} - -// GetRepository returns the Repository field. -func (s *SecretScanningAlert) GetRepository() *Repository { - if s == nil { - return nil - } - return s.Repository -} - -// GetResolution returns the Resolution field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlert) GetResolution() string { - if s == nil || s.Resolution == nil { - return "" - } - return *s.Resolution -} - -// GetResolutionComment returns the ResolutionComment field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlert) GetResolutionComment() string { - if s == nil || s.ResolutionComment == nil { - return "" - } - return *s.ResolutionComment -} - -// GetResolvedAt returns the ResolvedAt field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlert) GetResolvedAt() Timestamp { - if s == nil || s.ResolvedAt == nil { - return Timestamp{} - } - return *s.ResolvedAt -} - -// GetResolvedBy returns the ResolvedBy field. -func (s *SecretScanningAlert) GetResolvedBy() *User { - if s == nil { - return nil - } - return s.ResolvedBy -} - -// GetSecret returns the Secret field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlert) GetSecret() string { - if s == nil || s.Secret == nil { - return "" - } - return *s.Secret -} - -// GetSecretType returns the SecretType field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlert) GetSecretType() string { - if s == nil || s.SecretType == nil { - return "" - } - return *s.SecretType -} - -// GetSecretTypeDisplayName returns the SecretTypeDisplayName field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlert) GetSecretTypeDisplayName() string { - if s == nil || s.SecretTypeDisplayName == nil { - return "" - } - return *s.SecretTypeDisplayName -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlert) GetState() string { - if s == nil || s.State == nil { - return "" - } - return *s.State -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlert) GetUpdatedAt() Timestamp { - if s == nil || s.UpdatedAt == nil { - return Timestamp{} - } - return *s.UpdatedAt -} - -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlert) GetURL() string { - if s == nil || s.URL == nil { - return "" - } - return *s.URL -} - -// GetValidity returns the Validity field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlert) GetValidity() string { - if s == nil || s.Validity == nil { - return "" - } - return *s.Validity -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlertEvent) GetAction() string { - if s == nil || s.Action == nil { - return "" - } - return *s.Action -} - -// GetAlert returns the Alert field. -func (s *SecretScanningAlertEvent) GetAlert() *SecretScanningAlert { - if s == nil { - return nil - } - return s.Alert -} - -// GetEnterprise returns the Enterprise field. -func (s *SecretScanningAlertEvent) GetEnterprise() *Enterprise { - if s == nil { - return nil - } - return s.Enterprise -} - -// GetInstallation returns the Installation field. -func (s *SecretScanningAlertEvent) GetInstallation() *Installation { - if s == nil { - return nil - } - return s.Installation -} - -// GetOrganization returns the Organization field. -func (s *SecretScanningAlertEvent) GetOrganization() *Organization { - if s == nil { - return nil - } - return s.Organization -} - -// GetRepo returns the Repo field. -func (s *SecretScanningAlertEvent) GetRepo() *Repository { - if s == nil { - return nil - } - return s.Repo -} - -// GetSender returns the Sender field. -func (s *SecretScanningAlertEvent) GetSender() *User { - if s == nil { - return nil - } - 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 { - return nil - } - return s.Details -} - -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlertLocation) GetType() string { - if s == nil || s.Type == nil { - return "" - } - return *s.Type -} - -// GetBlobSHA returns the BlobSHA field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlertLocationDetails) GetBlobSHA() string { - if s == nil || s.BlobSHA == nil { - return "" - } - return *s.BlobSHA -} - -// GetBlobURL returns the BlobURL field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlertLocationDetails) GetBlobURL() string { - if s == nil || s.BlobURL == nil { - return "" - } - return *s.BlobURL -} - -// GetCommitSHA returns the CommitSHA field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlertLocationDetails) GetCommitSHA() string { - if s == nil || s.CommitSHA == nil { - return "" - } - return *s.CommitSHA -} - -// GetCommitURL returns the CommitURL field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlertLocationDetails) GetCommitURL() string { - if s == nil || s.CommitURL == nil { - return "" - } - return *s.CommitURL -} - -// GetEndColumn returns the EndColumn field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlertLocationDetails) GetEndColumn() int { - if s == nil || s.EndColumn == nil { - return 0 - } - return *s.EndColumn -} - -// GetEndLine returns the EndLine field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlertLocationDetails) GetEndLine() int { - if s == nil || s.EndLine == nil { - return 0 - } - return *s.EndLine -} - -// GetPath returns the Path field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlertLocationDetails) GetPath() string { - if s == nil || s.Path == nil { - return "" - } - return *s.Path -} - -// GetPullRequestCommentURL returns the PullRequestCommentURL field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlertLocationDetails) GetPullRequestCommentURL() string { - if s == nil || s.PullRequestCommentURL == nil { - return "" - } - return *s.PullRequestCommentURL -} - -// GetStartColumn returns the StartColumn field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlertLocationDetails) GetStartColumn() int { - if s == nil || s.StartColumn == nil { - return 0 - } - return *s.StartColumn -} - -// GetStartline returns the Startline field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlertLocationDetails) GetStartline() int { - if s == nil || s.Startline == nil { - return 0 - } - return *s.Startline -} - -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlertLocationEvent) GetAction() string { - if s == nil || s.Action == nil { - return "" - } - return *s.Action -} - -// GetAlert returns the Alert field. -func (s *SecretScanningAlertLocationEvent) GetAlert() *SecretScanningAlert { - if s == nil { - return nil - } - return s.Alert -} - -// GetInstallation returns the Installation field. -func (s *SecretScanningAlertLocationEvent) GetInstallation() *Installation { - if s == nil { - return nil - } - return s.Installation -} - -// GetLocation returns the Location field. -func (s *SecretScanningAlertLocationEvent) GetLocation() *SecretScanningAlertLocation { - if s == nil { - return nil - } - return s.Location -} - -// GetOrganization returns the Organization field. -func (s *SecretScanningAlertLocationEvent) GetOrganization() *Organization { - if s == nil { - return nil - } - return s.Organization -} - -// GetRepo returns the Repo field. -func (s *SecretScanningAlertLocationEvent) GetRepo() *Repository { - if s == nil { - return nil - } - return s.Repo -} - -// GetSender returns the Sender field. -func (s *SecretScanningAlertLocationEvent) GetSender() *User { - if s == nil { - return nil - } - return s.Sender -} - -// GetResolution returns the Resolution field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlertUpdateOptions) GetResolution() string { - if s == nil || s.Resolution == nil { - return "" - } - return *s.Resolution -} - -// GetResolutionComment returns the ResolutionComment field if it's non-nil, zero value otherwise. -func (s *SecretScanningAlertUpdateOptions) GetResolutionComment() string { - if s == nil || s.ResolutionComment == nil { - return "" - } - return *s.ResolutionComment -} - -// GetState returns the State field. -func (s *SecretScanningAlertUpdateOptions) GetState() string { - if s == nil { - return "" - } - return s.State -} - -// GetPatterns returns the Patterns slice if it's non-nil, nil otherwise. -func (s *SecretScanningCreateCustomPatternsRequest) GetPatterns() []*SecretScanningCustomPatternRequest { - if s == nil || s.Patterns == nil { - return nil - } - return s.Patterns -} - -// GetCreatedPatterns returns the CreatedPatterns slice if it's non-nil, nil otherwise. -func (s *SecretScanningCreateCustomPatternsResponse) GetCreatedPatterns() []*SecretScanningCustomPattern { - if s == nil || s.CreatedPatterns == nil { - return nil - } - return s.CreatedPatterns -} - -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (s *SecretScanningCustomPattern) GetCreatedAt() Timestamp { - if s == nil || s.CreatedAt == nil { - return Timestamp{} - } - return *s.CreatedAt -} - -// GetCustomPatternVersion returns the CustomPatternVersion field if it's non-nil, zero value otherwise. -func (s *SecretScanningCustomPattern) GetCustomPatternVersion() string { - if s == nil || s.CustomPatternVersion == nil { - return "" - } - return *s.CustomPatternVersion -} - -// GetEndDelimiter returns the EndDelimiter field if it's non-nil, zero value otherwise. -func (s *SecretScanningCustomPattern) GetEndDelimiter() string { - if s == nil || s.EndDelimiter == nil { - return "" - } - return *s.EndDelimiter -} - -// GetID returns the ID field. -func (s *SecretScanningCustomPattern) GetID() int64 { - if s == nil { - return 0 - } - return s.ID -} - -// GetMustMatch returns the MustMatch slice if it's non-nil, nil otherwise. -func (s *SecretScanningCustomPattern) GetMustMatch() []string { - if s == nil || s.MustMatch == nil { - return nil - } - return s.MustMatch -} - -// GetMustNotMatch returns the MustNotMatch slice if it's non-nil, nil otherwise. -func (s *SecretScanningCustomPattern) GetMustNotMatch() []string { - if s == nil || s.MustNotMatch == nil { - return nil - } - return s.MustNotMatch -} - -// GetName returns the Name field. -func (s *SecretScanningCustomPattern) GetName() string { - if s == nil { - return "" - } - return s.Name -} - -// GetPattern returns the Pattern field. -func (s *SecretScanningCustomPattern) GetPattern() string { - if s == nil { - return "" - } - return s.Pattern -} - -// GetPushProtectionEnabled returns the PushProtectionEnabled field. -func (s *SecretScanningCustomPattern) GetPushProtectionEnabled() bool { - if s == nil { - return false - } - return s.PushProtectionEnabled -} - -// GetSlug returns the Slug field. -func (s *SecretScanningCustomPattern) GetSlug() string { - if s == nil { - return "" - } - return s.Slug -} - -// GetStartDelimiter returns the StartDelimiter field if it's non-nil, zero value otherwise. -func (s *SecretScanningCustomPattern) GetStartDelimiter() string { - if s == nil || s.StartDelimiter == nil { - return "" - } - return *s.StartDelimiter -} - -// GetState returns the State field. -func (s *SecretScanningCustomPattern) GetState() string { - if s == nil { - return "" - } - return s.State -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (s *SecretScanningCustomPattern) GetUpdatedAt() Timestamp { - if s == nil || s.UpdatedAt == nil { - return Timestamp{} - } - return *s.UpdatedAt -} - -// GetDirection returns the Direction field. -func (s *SecretScanningCustomPatternListOptions) GetDirection() string { - if s == nil { - return "" - } - return s.Direction -} - -// GetPushProtection returns the PushProtection field. -func (s *SecretScanningCustomPatternListOptions) GetPushProtection() string { - if s == nil { - return "" - } - return s.PushProtection -} - -// GetSort returns the Sort field. -func (s *SecretScanningCustomPatternListOptions) GetSort() string { - if s == nil { - return "" - } - return s.Sort -} - -// GetState returns the State field. -func (s *SecretScanningCustomPatternListOptions) GetState() string { - if s == nil { - return "" - } - return s.State -} - -// GetEndDelimiter returns the EndDelimiter field if it's non-nil, zero value otherwise. -func (s *SecretScanningCustomPatternRequest) GetEndDelimiter() string { - if s == nil || s.EndDelimiter == nil { - return "" - } - return *s.EndDelimiter -} - -// GetMustMatch returns the MustMatch slice if it's non-nil, nil otherwise. -func (s *SecretScanningCustomPatternRequest) GetMustMatch() []string { - if s == nil || s.MustMatch == nil { - return nil - } - return s.MustMatch -} - -// GetMustNotMatch returns the MustNotMatch slice if it's non-nil, nil otherwise. -func (s *SecretScanningCustomPatternRequest) GetMustNotMatch() []string { - if s == nil || s.MustNotMatch == nil { - return nil - } - return s.MustNotMatch -} - -// GetName returns the Name field. -func (s *SecretScanningCustomPatternRequest) GetName() string { - if s == nil { - return "" - } - return s.Name -} - -// GetPattern returns the Pattern field. -func (s *SecretScanningCustomPatternRequest) GetPattern() string { - if s == nil { - return "" - } - return s.Pattern -} - -// GetStartDelimiter returns the StartDelimiter field if it's non-nil, zero value otherwise. -func (s *SecretScanningCustomPatternRequest) GetStartDelimiter() string { - if s == nil || s.StartDelimiter == nil { - return "" - } - return *s.StartDelimiter -} - -// GetCustomPatternVersion returns the CustomPatternVersion field if it's non-nil, zero value otherwise. -func (s *SecretScanningCustomPatternSetting) GetCustomPatternVersion() string { - if s == nil || s.CustomPatternVersion == nil { - return "" - } - 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 -} - -// GetCustomPatternVersion returns the CustomPatternVersion field if it's non-nil, zero value otherwise. -func (s *SecretScanningCustomPatternToDelete) GetCustomPatternVersion() string { - if s == nil || s.CustomPatternVersion == nil { - return "" - } - return *s.CustomPatternVersion -} - -// GetPatternID returns the PatternID field. -func (s *SecretScanningCustomPatternToDelete) GetPatternID() int64 { - if s == nil { - return 0 - } - return s.PatternID -} - -// 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 -} - -// GetPatterns returns the Patterns slice if it's non-nil, nil otherwise. -func (s *SecretScanningDeleteCustomPatternsRequest) GetPatterns() []*SecretScanningCustomPatternToDelete { - if s == nil || s.Patterns == nil { - return nil - } - return s.Patterns -} - -// GetPostDeleteAction returns the PostDeleteAction field if it's non-nil, zero value otherwise. -func (s *SecretScanningDeleteCustomPatternsRequest) GetPostDeleteAction() string { - if s == nil || s.PostDeleteAction == nil { - return "" - } - return *s.PostDeleteAction -} - -// 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 { - return "" - } - 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 { - return "" - } - 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 { - return "" - } - 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 { - return 0 - } - return *s.AlertTotal -} - -// GetAlertTotalPercentage returns the AlertTotalPercentage field if it's non-nil, zero value otherwise. -func (s *SecretScanningPatternOverride) GetAlertTotalPercentage() int { - if s == nil || s.AlertTotalPercentage == nil { - return 0 - } - return *s.AlertTotalPercentage -} - -// GetBypassrate returns the Bypassrate field if it's non-nil, zero value otherwise. -func (s *SecretScanningPatternOverride) GetBypassrate() int { - if s == nil || s.Bypassrate == nil { - return 0 - } - return *s.Bypassrate -} - -// GetCustomPatternVersion returns the CustomPatternVersion field if it's non-nil, zero value otherwise. -func (s *SecretScanningPatternOverride) GetCustomPatternVersion() string { - if s == nil || s.CustomPatternVersion == nil { - return "" - } - return *s.CustomPatternVersion -} - -// GetDefaultSetting returns the DefaultSetting field if it's non-nil, zero value otherwise. -func (s *SecretScanningPatternOverride) GetDefaultSetting() string { - if s == nil || s.DefaultSetting == nil { - return "" - } - return *s.DefaultSetting -} - -// GetDisplayName returns the DisplayName field if it's non-nil, zero value otherwise. -func (s *SecretScanningPatternOverride) GetDisplayName() string { - if s == nil || s.DisplayName == nil { - return "" - } - return *s.DisplayName -} - -// GetEnterpriseSetting returns the EnterpriseSetting field if it's non-nil, zero value otherwise. -func (s *SecretScanningPatternOverride) GetEnterpriseSetting() string { - if s == nil || s.EnterpriseSetting == nil { - return "" - } - return *s.EnterpriseSetting -} - -// GetFalsePositiveRate returns the FalsePositiveRate field if it's non-nil, zero value otherwise. -func (s *SecretScanningPatternOverride) GetFalsePositiveRate() int { - if s == nil || s.FalsePositiveRate == nil { - return 0 - } - return *s.FalsePositiveRate -} - -// GetFalsePositives returns the FalsePositives field if it's non-nil, zero value otherwise. -func (s *SecretScanningPatternOverride) GetFalsePositives() int { - if s == nil || s.FalsePositives == nil { - return 0 - } - return *s.FalsePositives -} - -// GetSetting returns the Setting field if it's non-nil, zero value otherwise. -func (s *SecretScanningPatternOverride) GetSetting() string { - if s == nil || s.Setting == nil { - return "" - } - return *s.Setting -} - -// GetSlug returns the Slug field if it's non-nil, zero value otherwise. -func (s *SecretScanningPatternOverride) GetSlug() string { - if s == nil || s.Slug == nil { - return "" - } - return *s.Slug -} - -// GetTokenType returns the TokenType field if it's non-nil, zero value otherwise. -func (s *SecretScanningPatternOverride) GetTokenType() string { - if s == nil || s.TokenType == nil { - return "" - } - 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 { - return "" - } - 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 -} - -// GetCustomPatternVersion returns the CustomPatternVersion field if it's non-nil, zero value otherwise. -func (s *SecretScanningUpdateCustomPatternRequest) GetCustomPatternVersion() string { - if s == nil || s.CustomPatternVersion == nil { - return "" - } - return *s.CustomPatternVersion -} - -// GetEndDelimiter returns the EndDelimiter field if it's non-nil, zero value otherwise. -func (s *SecretScanningUpdateCustomPatternRequest) GetEndDelimiter() string { - if s == nil || s.EndDelimiter == nil { - return "" - } - return *s.EndDelimiter -} - -// GetMustMatch returns the MustMatch slice if it's non-nil, nil otherwise. -func (s *SecretScanningUpdateCustomPatternRequest) GetMustMatch() []string { - if s == nil || s.MustMatch == nil { - return nil - } - return s.MustMatch -} - -// GetMustNotMatch returns the MustNotMatch slice if it's non-nil, nil otherwise. -func (s *SecretScanningUpdateCustomPatternRequest) GetMustNotMatch() []string { - if s == nil || s.MustNotMatch == nil { - return nil - } - return s.MustNotMatch -} - -// GetPattern returns the Pattern field if it's non-nil, zero value otherwise. -func (s *SecretScanningUpdateCustomPatternRequest) GetPattern() string { - if s == nil || s.Pattern == nil { - return "" - } - return *s.Pattern -} - -// GetStartDelimiter returns the StartDelimiter field if it's non-nil, zero value otherwise. -func (s *SecretScanningUpdateCustomPatternRequest) GetStartDelimiter() string { - if s == nil || s.StartDelimiter == nil { - return "" - } - return *s.StartDelimiter -} - -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (s *SecretScanningValidityChecks) GetStatus() string { - if s == nil || s.Status == nil { - return "" - } - return *s.Status -} - -// GetCompletedAt returns the CompletedAt field if it's non-nil, zero value otherwise. -func (s *SecretsScan) GetCompletedAt() Timestamp { - if s == nil || s.CompletedAt == nil { - return Timestamp{} - } - return *s.CompletedAt -} - -// GetStartedAt returns the StartedAt field if it's non-nil, zero value otherwise. -func (s *SecretsScan) GetStartedAt() Timestamp { - if s == nil || s.StartedAt == nil { - return 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 "" +// GetAllowsPublicRepositories returns the AllowsPublicRepositories field if it's non-nil, zero value otherwise. +func (c *CreateEnterpriseRunnerGroupRequest) GetAllowsPublicRepositories() bool { + if c == nil || c.AllowsPublicRepositories == nil { + return false } - return s.Type + return *c.AllowsPublicRepositories } -// GetAuthor returns the Author field. -func (s *SecurityAdvisory) GetAuthor() *User { - if s == nil { - return nil +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (c *CreateEnterpriseRunnerGroupRequest) GetName() string { + if c == nil || c.Name == nil { + return "" } - return s.Author + return *c.Name } -// GetClosedAt returns the ClosedAt field if it's non-nil, zero value otherwise. -func (s *SecurityAdvisory) GetClosedAt() Timestamp { - if s == nil || s.ClosedAt == nil { - return Timestamp{} +// GetNetworkConfigurationID returns the NetworkConfigurationID field if it's non-nil, zero value otherwise. +func (c *CreateEnterpriseRunnerGroupRequest) GetNetworkConfigurationID() string { + if c == nil || c.NetworkConfigurationID == nil { + return "" } - return *s.ClosedAt + return *c.NetworkConfigurationID } -// 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 +// GetRestrictedToWorkflows returns the RestrictedToWorkflows field if it's non-nil, zero value otherwise. +func (c *CreateEnterpriseRunnerGroupRequest) GetRestrictedToWorkflows() bool { + if c == nil || c.RestrictedToWorkflows == nil { + return false } - return s.CollaboratingTeams + return *c.RestrictedToWorkflows } -// GetCollaboratingUsers returns the CollaboratingUsers slice if it's non-nil, nil otherwise. -func (s *SecurityAdvisory) GetCollaboratingUsers() []*User { - if s == nil || s.CollaboratingUsers == nil { +// 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 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 { - return Timestamp{} - } - return *s.CreatedAt + return c.Runners } -// GetCredits returns the Credits slice if it's non-nil, nil otherwise. -func (s *SecurityAdvisory) GetCredits() []*RepoAdvisoryCredit { - if s == nil || s.Credits == nil { +// 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 s.Credits + return c.SelectedOrganizationIDs } -// GetCreditsDetailed returns the CreditsDetailed slice if it's non-nil, nil otherwise. -func (s *SecurityAdvisory) GetCreditsDetailed() []*RepoAdvisoryCreditDetailed { - if s == nil || s.CreditsDetailed == nil { +// 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 s.CreditsDetailed + return c.SelectedWorkflows } -// GetCVEID returns the CVEID field if it's non-nil, zero value otherwise. -func (s *SecurityAdvisory) GetCVEID() string { - if s == nil || s.CVEID == nil { +// GetVisibility returns the Visibility field if it's non-nil, zero value otherwise. +func (c *CreateEnterpriseRunnerGroupRequest) GetVisibility() string { + if c == nil || c.Visibility == nil { return "" } - return *s.CVEID + return *c.Visibility } -// GetCVSS returns the CVSS field. -func (s *SecurityAdvisory) GetCVSS() *AdvisoryCVSS { - if s == nil { - return nil +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (c *CreateEvent) GetDescription() string { + if c == nil || c.Description == nil { + return "" } - return s.CVSS + return *c.Description } -// GetCVSSSeverities returns the CVSSSeverities field. -func (s *SecurityAdvisory) GetCVSSSeverities() *AdvisoryCVSSSeverities { - if s == nil { +// GetInstallation returns the Installation field. +func (c *CreateEvent) GetInstallation() *Installation { + if c == nil { return nil } - return s.CVSSSeverities + return c.Installation } -// 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 +// GetMasterBranch returns the MasterBranch field if it's non-nil, zero value otherwise. +func (c *CreateEvent) GetMasterBranch() string { + if c == nil || c.MasterBranch == nil { + return "" } - return s.CWEIDs + return *c.MasterBranch } -// GetCWEs returns the CWEs slice if it's non-nil, nil otherwise. -func (s *SecurityAdvisory) GetCWEs() []*AdvisoryCWEs { - if s == nil || s.CWEs == nil { +// GetOrg returns the Org field. +func (c *CreateEvent) GetOrg() *Organization { + if c == nil { return nil } - return s.CWEs + return c.Org } -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (s *SecurityAdvisory) GetDescription() string { - if s == nil || s.Description == nil { +// GetPusherType returns the PusherType field if it's non-nil, zero value otherwise. +func (c *CreateEvent) GetPusherType() string { + if c == nil || c.PusherType == nil { return "" } - return *s.Description + return *c.PusherType } -// GetGHSAID returns the GHSAID field if it's non-nil, zero value otherwise. -func (s *SecurityAdvisory) GetGHSAID() string { - if s == nil || s.GHSAID == nil { +// GetRef returns the Ref field if it's non-nil, zero value otherwise. +func (c *CreateEvent) GetRef() string { + if c == nil || c.Ref == nil { return "" } - return *s.GHSAID + return *c.Ref } -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (s *SecurityAdvisory) GetHTMLURL() string { - if s == nil || s.HTMLURL == nil { +// GetRefType returns the RefType field if it's non-nil, zero value otherwise. +func (c *CreateEvent) GetRefType() string { + if c == nil || c.RefType == nil { return "" } - 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 { - return nil - } - return s.PrivateFork -} - -// GetPublishedAt returns the PublishedAt field if it's non-nil, zero value otherwise. -func (s *SecurityAdvisory) GetPublishedAt() Timestamp { - if s == nil || s.PublishedAt == nil { - return Timestamp{} - } - return *s.PublishedAt -} - -// GetPublisher returns the Publisher field. -func (s *SecurityAdvisory) GetPublisher() *User { - if s == nil { - return nil - } - return s.Publisher + return *c.RefType } -// GetReferences returns the References slice if it's non-nil, nil otherwise. -func (s *SecurityAdvisory) GetReferences() []*AdvisoryReference { - if s == nil || s.References == nil { +// GetRepo returns the Repo field. +func (c *CreateEvent) GetRepo() *Repository { + if c == 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 { - return "" - } - return *s.Severity -} - -// GetState returns the State field if it's non-nil, zero value otherwise. -func (s *SecurityAdvisory) GetState() string { - if s == nil || s.State == nil { - return "" - } - return *s.State + return c.Repo } -// GetSubmission returns the Submission field. -func (s *SecurityAdvisory) GetSubmission() *SecurityAdvisorySubmission { - if s == nil { +// GetSender returns the Sender field. +func (c *CreateEvent) GetSender() *User { + if c == nil { return nil } - return s.Submission + return c.Sender } -// GetSummary returns the Summary field if it's non-nil, zero value otherwise. -func (s *SecurityAdvisory) GetSummary() string { - if s == nil || s.Summary == nil { +// GetBody returns the Body field. +func (c *CreateGistCommentRequest) GetBody() string { + if c == nil { return "" } - return *s.Summary -} - -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (s *SecurityAdvisory) GetUpdatedAt() Timestamp { - if s == nil || s.UpdatedAt == nil { - return Timestamp{} - } - return *s.UpdatedAt + return c.Body } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (s *SecurityAdvisory) GetURL() string { - if s == nil || s.URL == nil { +// GetContent returns the Content field. +func (c *CreateGistFile) GetContent() string { + if c == nil { return "" } - 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 { - return Timestamp{} - } - return *s.WithdrawnAt + return c.Content } -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (s *SecurityAdvisoryEvent) GetAction() string { - if s == nil || s.Action == nil { +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (c *CreateGistRequest) GetDescription() string { + if c == nil || c.Description == nil { return "" } - return *s.Action + return *c.Description } -// GetEnterprise returns the Enterprise field. -func (s *SecurityAdvisoryEvent) GetEnterprise() *Enterprise { - if s == nil { - return nil +// GetPublic returns the Public field if it's non-nil, zero value otherwise. +func (c *CreateGistRequest) GetPublic() bool { + if c == nil || c.Public == nil { + return false } - return s.Enterprise + return *c.Public } -// GetInstallation returns the Installation field. -func (s *SecurityAdvisoryEvent) GetInstallation() *Installation { - if s == nil { - return nil +// GetEnableStaticIP returns the EnableStaticIP field if it's non-nil, zero value otherwise. +func (c *CreateHostedRunnerRequest) GetEnableStaticIP() bool { + if c == nil || c.EnableStaticIP == nil { + return false } - return s.Installation + return *c.EnableStaticIP } -// GetOrganization returns the Organization field. -func (s *SecurityAdvisoryEvent) GetOrganization() *Organization { - if s == nil { - return nil +// GetImage returns the Image field. +func (c *CreateHostedRunnerRequest) GetImage() HostedRunnerImage { + if c == nil { + return HostedRunnerImage{} } - return s.Organization + return c.Image } -// GetRepository returns the Repository field. -func (s *SecurityAdvisoryEvent) GetRepository() *Repository { - if s == nil { - return nil +// GetImageGen returns the ImageGen field if it's non-nil, zero value otherwise. +func (c *CreateHostedRunnerRequest) GetImageGen() bool { + if c == nil || c.ImageGen == nil { + return false } - return s.Repository + return *c.ImageGen } -// GetSecurityAdvisory returns the SecurityAdvisory field. -func (s *SecurityAdvisoryEvent) GetSecurityAdvisory() *SecurityAdvisory { - if s == nil { - return nil +// GetMaximumRunners returns the MaximumRunners field if it's non-nil, zero value otherwise. +func (c *CreateHostedRunnerRequest) GetMaximumRunners() int64 { + if c == nil || c.MaximumRunners == nil { + return 0 } - return s.SecurityAdvisory + return *c.MaximumRunners } -// GetSender returns the Sender field. -func (s *SecurityAdvisoryEvent) GetSender() *User { - if s == nil { - return nil +// GetName returns the Name field. +func (c *CreateHostedRunnerRequest) GetName() string { + if c == nil { + return "" } - return s.Sender + return c.Name } -// GetAccepted returns the Accepted field if it's non-nil, zero value otherwise. -func (s *SecurityAdvisorySubmission) GetAccepted() bool { - if s == nil || s.Accepted == nil { - return false +// GetRunnerGroupID returns the RunnerGroupID field. +func (c *CreateHostedRunnerRequest) GetRunnerGroupID() int64 { + if c == nil { + return 0 } - return *s.Accepted + return c.RunnerGroupID } -// GetAdvancedSecurity returns the AdvancedSecurity field. -func (s *SecurityAndAnalysis) GetAdvancedSecurity() *AdvancedSecurity { - if s == nil { - return nil +// GetSize returns the Size field. +func (c *CreateHostedRunnerRequest) GetSize() string { + if c == nil { + return "" } - return s.AdvancedSecurity + return c.Size } -// GetCodeSecurity returns the CodeSecurity field. -func (s *SecurityAndAnalysis) GetCodeSecurity() *CodeSecurity { - if s == nil { - return nil +// GetColor returns the Color field if it's non-nil, zero value otherwise. +func (c *CreateIssueLabelRequest) GetColor() string { + if c == nil || c.Color == nil { + return "" } - return s.CodeSecurity + return *c.Color } -// GetDependabotSecurityUpdates returns the DependabotSecurityUpdates field. -func (s *SecurityAndAnalysis) GetDependabotSecurityUpdates() *DependabotSecurityUpdates { - if s == nil { - return nil +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (c *CreateIssueLabelRequest) GetDescription() string { + if c == nil || c.Description == nil { + return "" } - return s.DependabotSecurityUpdates + return *c.Description } -// GetSecretScanning returns the SecretScanning field. -func (s *SecurityAndAnalysis) GetSecretScanning() *SecretScanning { - if s == nil { - return nil +// GetName returns the Name field. +func (c *CreateIssueLabelRequest) GetName() string { + if c == nil { + return "" } - return s.SecretScanning + return c.Name } -// GetSecretScanningPushProtection returns the SecretScanningPushProtection field. -func (s *SecurityAndAnalysis) GetSecretScanningPushProtection() *SecretScanningPushProtection { - if s == nil { - return nil +// GetAssignee returns the Assignee field if it's non-nil, zero value otherwise. +func (c *CreateIssueRequest) GetAssignee() string { + if c == nil || c.Assignee == nil { + return "" } - return s.SecretScanningPushProtection + return *c.Assignee } -// GetSecretScanningValidityChecks returns the SecretScanningValidityChecks field. -func (s *SecurityAndAnalysis) GetSecretScanningValidityChecks() *SecretScanningValidityChecks { - if s == nil { +// GetAssignees returns the Assignees slice if it's non-nil, nil otherwise. +func (c *CreateIssueRequest) GetAssignees() []string { + if c == nil || c.Assignees == nil { return nil } - return s.SecretScanningValidityChecks + return c.Assignees } -// GetFrom returns the From field. -func (s *SecurityAndAnalysisChange) GetFrom() *SecurityAndAnalysisChangeFrom { - if s == nil { - return nil +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (c *CreateIssueRequest) GetBody() string { + if c == nil || c.Body == nil { + return "" } - return s.From + return *c.Body } -// GetSecurityAndAnalysis returns the SecurityAndAnalysis field. -func (s *SecurityAndAnalysisChangeFrom) GetSecurityAndAnalysis() *SecurityAndAnalysis { - if s == nil { +// GetIssueFieldValues returns the IssueFieldValues slice if it's non-nil, nil otherwise. +func (c *CreateIssueRequest) GetIssueFieldValues() []*IssueRequestFieldValue { + if c == nil || c.IssueFieldValues == nil { return nil } - return s.SecurityAndAnalysis + return c.IssueFieldValues } -// GetChanges returns the Changes field. -func (s *SecurityAndAnalysisEvent) GetChanges() *SecurityAndAnalysisChange { - if s == nil { +// GetLabels returns the Labels slice if it's non-nil, nil otherwise. +func (c *CreateIssueRequest) GetLabels() []string { + if c == nil || c.Labels == nil { return nil } - return s.Changes + return c.Labels } -// GetEnterprise returns the Enterprise field. -func (s *SecurityAndAnalysisEvent) GetEnterprise() *Enterprise { - if s == nil { - return nil +// GetMilestone returns the Milestone field if it's non-nil, zero value otherwise. +func (c *CreateIssueRequest) GetMilestone() int { + if c == nil || c.Milestone == nil { + return 0 } - return s.Enterprise + return *c.Milestone } -// GetInstallation returns the Installation field. -func (s *SecurityAndAnalysisEvent) GetInstallation() *Installation { - if s == nil { - return nil +// GetTitle returns the Title field. +func (c *CreateIssueRequest) GetTitle() string { + if c == nil { + return "" } - return s.Installation + return c.Title } -// GetOrganization returns the Organization field. -func (s *SecurityAndAnalysisEvent) GetOrganization() *Organization { - if s == nil { - return nil +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (c *CreateIssueRequest) GetType() string { + if c == nil || c.Type == nil { + return "" } - return s.Organization + return *c.Type } -// GetRepository returns the Repository field. -func (s *SecurityAndAnalysisEvent) GetRepository() *Repository { - if s == nil { +// GetLabels returns the Labels slice if it's non-nil, nil otherwise. +func (c *CreateJITConfigRequest) GetLabels() []string { + if c == nil || c.Labels == nil { return nil } - return s.Repository + return c.Labels } -// GetSender returns the Sender field. -func (s *SecurityAndAnalysisEvent) GetSender() *User { - if s == nil { - return nil +// GetName returns the Name field. +func (c *CreateJITConfigRequest) GetName() string { + if c == nil { + return "" } - return s.Sender + return c.Name } -// 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 +// GetRunnerGroupID returns the RunnerGroupID field. +func (c *CreateJITConfigRequest) GetRunnerGroupID() int64 { + if c == nil { + return 0 } - return s.Repositories + return c.RunnerGroupID } -// GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. -func (s *SelectedReposList) GetTotalCount() int { - if s == nil || s.TotalCount == nil { - return 0 +// GetWorkFolder returns the WorkFolder field if it's non-nil, zero value otherwise. +func (c *CreateJITConfigRequest) GetWorkFolder() string { + if c == nil || c.WorkFolder == nil { + return "" } - return *s.TotalCount + return *c.WorkFolder } -// 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 +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (c *CreateMilestoneRequest) GetDescription() string { + if c == nil || c.Description == nil { + return "" } - return s.Repositories + return *c.Description } -// GetTotalCount returns the TotalCount field. -func (s *SelfHostedRunnersAllowedRepos) GetTotalCount() int { - if s == nil { - return 0 +// GetDueOn returns the DueOn field if it's non-nil, zero value otherwise. +func (c *CreateMilestoneRequest) GetDueOn() Timestamp { + if c == nil || c.DueOn == nil { + return Timestamp{} } - return s.TotalCount + return *c.DueOn } -// GetEnabledRepositories returns the EnabledRepositories field if it's non-nil, zero value otherwise. -func (s *SelfHostedRunnersSettingsOrganization) GetEnabledRepositories() string { - if s == nil || s.EnabledRepositories == nil { +// GetState returns the State field if it's non-nil, zero value otherwise. +func (c *CreateMilestoneRequest) GetState() string { + if c == nil || c.State == nil { return "" } - return *s.EnabledRepositories + return *c.State } -// GetSelectedRepositoriesURL returns the SelectedRepositoriesURL field if it's non-nil, zero value otherwise. -func (s *SelfHostedRunnersSettingsOrganization) GetSelectedRepositoriesURL() string { - if s == nil || s.SelectedRepositoriesURL == nil { +// GetTitle returns the Title field. +func (c *CreateMilestoneRequest) GetTitle() string { + if c == nil { return "" } - return *s.SelectedRepositoriesURL + return c.Title } -// GetEnabledRepositories returns the EnabledRepositories field if it's non-nil, zero value otherwise. -func (s *SelfHostedRunnersSettingsOrganizationOpt) GetEnabledRepositories() string { - if s == nil || s.EnabledRepositories == nil { +// GetAccountID returns the AccountID field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetAccountID() string { + if c == nil || c.AccountID == nil { return "" } - return *s.EnabledRepositories + return *c.AccountID } -// GetDisableSelfHostedRunnersForAllOrgs returns the DisableSelfHostedRunnersForAllOrgs field if it's non-nil, zero value otherwise. -func (s *SelfHostRunnerPermissionsEnterprise) GetDisableSelfHostedRunnersForAllOrgs() bool { - if s == nil || s.DisableSelfHostedRunnersForAllOrgs == nil { - return false +// GetAudience returns the Audience field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetAudience() string { + if c == nil || c.Audience == nil { + return "" } - return *s.DisableSelfHostedRunnersForAllOrgs + return *c.Audience } -// GetServerInstances returns the ServerInstances field. -func (s *ServerInstanceProperties) GetServerInstances() *ServerInstances { - if s == nil { - return nil +// GetAuthType returns the AuthType field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetAuthType() string { + if c == nil || c.AuthType == nil { + return "" } - return s.ServerInstances + return *c.AuthType } -// GetItems returns the Items field. -func (s *ServerInstances) GetItems() *ServiceInstanceItems { - if s == nil { - return nil +// GetAWSRegion returns the AWSRegion field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetAWSRegion() string { + if c == nil || c.AWSRegion == nil { + return "" } - return s.Items + return *c.AWSRegion } -// GetType returns the Type field. -func (s *ServerInstances) GetType() string { - if s == nil { +// GetClientID returns the ClientID field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetClientID() string { + if c == nil || c.ClientID == nil { return "" } - return s.Type + return *c.ClientID } -// GetHostname returns the Hostname field. -func (s *ServerItemProperties) GetHostname() string { - if s == nil { +// GetDomain returns the Domain field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetDomain() string { + if c == nil || c.Domain == nil { return "" } - return s.Hostname + return *c.Domain } -// GetLastSync returns the LastSync field. -func (s *ServerItemProperties) GetLastSync() *LastLicenseSync { - if s == nil { - return nil +// GetDomainOwner returns the DomainOwner field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetDomainOwner() string { + if c == nil || c.DomainOwner == nil { + return "" } - return s.LastSync + return *c.DomainOwner } -// GetServerID returns the ServerID field. -func (s *ServerItemProperties) GetServerID() string { - if s == nil { +// GetEncryptedValue returns the EncryptedValue field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetEncryptedValue() string { + if c == nil || c.EncryptedValue == nil { return "" } - return s.ServerID + return *c.EncryptedValue } -// GetProperties returns the Properties field. -func (s *ServiceInstanceItems) GetProperties() *ServerItemProperties { - if s == nil { - return nil +// GetIdentityMappingName returns the IdentityMappingName field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetIdentityMappingName() string { + if c == nil || c.IdentityMappingName == nil { + return "" } - return s.Properties + return *c.IdentityMappingName } -// GetType returns the Type field. -func (s *ServiceInstanceItems) GetType() string { - if s == nil { +// GetJFrogOIDCProviderName returns the JFrogOIDCProviderName field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetJFrogOIDCProviderName() string { + if c == nil || c.JFrogOIDCProviderName == nil { return "" } - return s.Type + return *c.JFrogOIDCProviderName } -// 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 +// GetKeyID returns the KeyID field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetKeyID() string { + if c == nil || c.KeyID == nil { + return "" } - return s.SelectedOrganizationIDs + return *c.KeyID } -// 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 +// GetRegistryType returns the RegistryType field. +func (c *CreateOrganizationPrivateRegistry) GetRegistryType() PrivateRegistryType { + if c == nil { + return "" } - return s.SelectedRepositoryIDs + return c.RegistryType } -// 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 +// GetReplacesBase returns the ReplacesBase field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetReplacesBase() bool { + if c == nil || c.ReplacesBase == nil { + return false } - return s.Runners + return *c.ReplacesBase } -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (s *SignatureRequirementEnforcementLevelChanges) GetFrom() string { - if s == nil || s.From == nil { +// GetRoleName returns the RoleName field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetRoleName() string { + if c == nil || c.RoleName == nil { return "" } - return *s.From + return *c.RoleName } -// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. -func (s *SignaturesProtectedBranch) GetEnabled() bool { - if s == nil || s.Enabled == nil { - return false +// 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 *s.Enabled + return c.SelectedRepositoryIDs } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (s *SignaturesProtectedBranch) GetURL() string { - if s == nil || s.URL == nil { +// GetTenantID returns the TenantID field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetTenantID() string { + if c == nil || c.TenantID == nil { return "" } - return *s.URL + return *c.TenantID } -// GetPayload returns the Payload field if it's non-nil, zero value otherwise. -func (s *SignatureVerification) GetPayload() string { - if s == nil || s.Payload == nil { +// GetURL returns the URL field. +func (c *CreateOrganizationPrivateRegistry) GetURL() string { + if c == nil { return "" } - return *s.Payload + return c.URL } -// GetReason returns the Reason field if it's non-nil, zero value otherwise. -func (s *SignatureVerification) GetReason() string { - if s == nil || s.Reason == nil { +// GetUsername returns the Username field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetUsername() string { + if c == nil || c.Username == nil { return "" } - return *s.Reason + return *c.Username } -// GetSignature returns the Signature field if it's non-nil, zero value otherwise. -func (s *SignatureVerification) GetSignature() string { - if s == nil || s.Signature == nil { +// GetVisibility returns the Visibility field. +func (c *CreateOrganizationPrivateRegistry) GetVisibility() PrivateRegistryVisibility { + if c == nil { return "" } - return *s.Signature + return c.Visibility } -// GetVerified returns the Verified field if it's non-nil, zero value otherwise. -func (s *SignatureVerification) GetVerified() bool { - if s == nil || s.Verified == nil { - return false +// GetEmail returns the Email field if it's non-nil, zero value otherwise. +func (c *CreateOrgInvitationOptions) GetEmail() string { + if c == nil || c.Email == nil { + return "" } - return *s.Verified + return *c.Email } -// GetNegate returns the Negate field. -func (s *SimplePatternRuleParameters) GetNegate() bool { - if s == nil { - return false +// GetInviteeID returns the InviteeID field if it's non-nil, zero value otherwise. +func (c *CreateOrgInvitationOptions) GetInviteeID() int64 { + if c == nil || c.InviteeID == nil { + return 0 } - return s.Negate + return *c.InviteeID } -// GetPattern returns the Pattern field. -func (s *SimplePatternRuleParameters) GetPattern() string { - if s == nil { +// GetRole returns the Role field if it's non-nil, zero value otherwise. +func (c *CreateOrgInvitationOptions) GetRole() string { + if c == nil || c.Role == nil { return "" } - return s.Pattern + return *c.Role } -// GetProvider returns the Provider field if it's non-nil, zero value otherwise. -func (s *SocialAccount) GetProvider() string { - if s == nil || s.Provider == nil { - return "" +// 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 *s.Provider + return c.TeamID } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (s *SocialAccount) GetURL() string { - if s == nil || s.URL == nil { +// GetColor returns the Color field if it's non-nil, zero value otherwise. +func (c *CreateOrUpdateIssueTypesOptions) GetColor() string { + if c == nil || c.Color == nil { return "" } - return *s.URL + return *c.Color } -// GetActor returns the Actor field. -func (s *Source) GetActor() *User { - if s == nil { - return nil +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (c *CreateOrUpdateIssueTypesOptions) GetDescription() string { + if c == nil || c.Description == nil { + return "" } - return s.Actor + return *c.Description } -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (s *Source) GetID() int64 { - if s == nil || s.ID == nil { - return 0 +// GetIsEnabled returns the IsEnabled field. +func (c *CreateOrUpdateIssueTypesOptions) GetIsEnabled() bool { + if c == nil { + return false } - return *s.ID + return c.IsEnabled } -// GetIssue returns the Issue field. -func (s *Source) GetIssue() *Issue { - if s == nil { - return nil +// GetIsPrivate returns the IsPrivate field if it's non-nil, zero value otherwise. +func (c *CreateOrUpdateIssueTypesOptions) GetIsPrivate() bool { + if c == nil || c.IsPrivate == nil { + return false } - return s.Issue + return *c.IsPrivate } -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (s *Source) GetType() string { - if s == nil || s.Type == nil { +// GetName returns the Name field. +func (c *CreateOrUpdateIssueTypesOptions) GetName() string { + if c == nil { return "" } - return *s.Type + return c.Name } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (s *Source) GetURL() string { - if s == nil || s.URL == nil { +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (c *CreateProjectV2DraftItemRequest) GetBody() string { + if c == nil || c.Body == nil { return "" } - return *s.URL + return *c.Body } -// GetEmail returns the Email field if it's non-nil, zero value otherwise. -func (s *SourceImportAuthor) GetEmail() string { - if s == nil || s.Email == nil { +// GetTitle returns the Title field. +func (c *CreateProjectV2DraftItemRequest) GetTitle() string { + if c == nil { return "" } - return *s.Email + return c.Title } -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (s *SourceImportAuthor) GetID() int64 { - if s == nil || s.ID == nil { - return 0 +// GetFilter returns the Filter field if it's non-nil, zero value otherwise. +func (c *CreateProjectV2ViewRequest) GetFilter() string { + if c == nil || c.Filter == nil { + return "" } - return *s.ID + return *c.Filter } -// GetImportURL returns the ImportURL field if it's non-nil, zero value otherwise. -func (s *SourceImportAuthor) GetImportURL() string { - if s == nil || s.ImportURL == nil { +// GetLayout returns the Layout field. +func (c *CreateProjectV2ViewRequest) GetLayout() string { + if c == nil { return "" } - return *s.ImportURL + return c.Layout } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (s *SourceImportAuthor) GetName() string { - if s == nil || s.Name == nil { +// GetName returns the Name field. +func (c *CreateProjectV2ViewRequest) GetName() string { + if c == nil { return "" } - return *s.Name + return c.Name } -// GetRemoteID returns the RemoteID field if it's non-nil, zero value otherwise. -func (s *SourceImportAuthor) GetRemoteID() string { - if s == nil || s.RemoteID == nil { - return "" +// GetVisibleFields returns the VisibleFields slice if it's non-nil, nil otherwise. +func (c *CreateProjectV2ViewRequest) GetVisibleFields() []int64 { + if c == nil || c.VisibleFields == nil { + return nil + } + return c.VisibleFields +} + +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (c *CreateProtectedChanges) GetFrom() bool { + if c == nil || c.From == nil { + return false } - return *s.RemoteID + return *c.From } -// GetRemoteName returns the RemoteName field if it's non-nil, zero value otherwise. -func (s *SourceImportAuthor) GetRemoteName() string { - if s == nil || s.RemoteName == nil { +// GetBase returns the Base field. +func (c *CreatePullRequest) GetBase() string { + if c == nil { return "" } - return *s.RemoteName + return c.Base } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (s *SourceImportAuthor) GetURL() string { - if s == nil || s.URL == nil { +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (c *CreatePullRequest) GetBody() string { + if c == nil || c.Body == nil { return "" } - return *s.URL + return *c.Body } -// GetDomain returns the Domain field. -func (s *SplunkConfig) GetDomain() string { - if s == nil { - return "" +// GetDraft returns the Draft field if it's non-nil, zero value otherwise. +func (c *CreatePullRequest) GetDraft() bool { + if c == nil || c.Draft == nil { + return false } - return s.Domain + return *c.Draft } -// GetEncryptedToken returns the EncryptedToken field. -func (s *SplunkConfig) GetEncryptedToken() string { - if s == nil { +// GetHead returns the Head field. +func (c *CreatePullRequest) GetHead() string { + if c == nil { return "" } - return s.EncryptedToken + return c.Head } -// GetKeyID returns the KeyID field. -func (s *SplunkConfig) GetKeyID() string { - if s == nil { +// GetHeadRepo returns the HeadRepo field if it's non-nil, zero value otherwise. +func (c *CreatePullRequest) GetHeadRepo() string { + if c == nil || c.HeadRepo == nil { return "" } - return s.KeyID + return *c.HeadRepo } -// GetPort returns the Port field. -func (s *SplunkConfig) GetPort() uint16 { - if s == nil { +// GetIssue returns the Issue field if it's non-nil, zero value otherwise. +func (c *CreatePullRequest) GetIssue() int { + if c == nil || c.Issue == nil { return 0 } - return s.Port + return *c.Issue } -// GetSSLVerify returns the SSLVerify field. -func (s *SplunkConfig) GetSSLVerify() bool { - if s == nil { +// GetMaintainerCanModify returns the MaintainerCanModify field if it's non-nil, zero value otherwise. +func (c *CreatePullRequest) GetMaintainerCanModify() bool { + if c == nil || c.MaintainerCanModify == nil { return false } - return s.SSLVerify + return *c.MaintainerCanModify } -// GetPrivacyLevel returns the PrivacyLevel field if it's non-nil, zero value otherwise. -func (s *SponsorshipChanges) GetPrivacyLevel() string { - if s == nil || s.PrivacyLevel == nil { +// GetTitle returns the Title field if it's non-nil, zero value otherwise. +func (c *CreatePullRequest) GetTitle() string { + if c == nil || c.Title == nil { return "" } - return *s.PrivacyLevel + return *c.Title } -// GetTier returns the Tier field. -func (s *SponsorshipChanges) GetTier() *SponsorshipTier { - if s == nil { - return nil +// GetBody returns the Body field. +func (c *CreatePullRequestCommentRequest) GetBody() string { + if c == nil { + return "" } - return s.Tier + return c.Body } -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (s *SponsorshipEvent) GetAction() string { - if s == nil || s.Action == nil { +// GetCommitID returns the CommitID field. +func (c *CreatePullRequestCommentRequest) GetCommitID() string { + if c == nil { return "" } - return *s.Action + return c.CommitID } -// GetChanges returns the Changes field. -func (s *SponsorshipEvent) GetChanges() *SponsorshipChanges { - if s == nil { - return nil +// GetInReplyTo returns the InReplyTo field if it's non-nil, zero value otherwise. +func (c *CreatePullRequestCommentRequest) GetInReplyTo() int64 { + if c == nil || c.InReplyTo == nil { + return 0 } - return s.Changes + return *c.InReplyTo } -// GetEffectiveDate returns the EffectiveDate field if it's non-nil, zero value otherwise. -func (s *SponsorshipEvent) GetEffectiveDate() string { - if s == nil || s.EffectiveDate == nil { - return "" +// GetLine returns the Line field if it's non-nil, zero value otherwise. +func (c *CreatePullRequestCommentRequest) GetLine() int { + if c == nil || c.Line == nil { + return 0 } - return *s.EffectiveDate + return *c.Line } -// GetInstallation returns the Installation field. -func (s *SponsorshipEvent) GetInstallation() *Installation { - if s == nil { - return nil +// GetPath returns the Path field. +func (c *CreatePullRequestCommentRequest) GetPath() string { + if c == nil { + return "" } - return s.Installation + return c.Path } -// GetOrganization returns the Organization field. -func (s *SponsorshipEvent) GetOrganization() *Organization { - if s == nil { - return nil +// GetPosition returns the Position field if it's non-nil, zero value otherwise. +func (c *CreatePullRequestCommentRequest) GetPosition() int { + if c == nil || c.Position == nil { + return 0 } - return s.Organization + return *c.Position } -// GetRepository returns the Repository field. -func (s *SponsorshipEvent) GetRepository() *Repository { - if s == nil { - return nil +// GetSide returns the Side field if it's non-nil, zero value otherwise. +func (c *CreatePullRequestCommentRequest) GetSide() string { + if c == nil || c.Side == nil { + return "" } - return s.Repository + return *c.Side } -// GetSender returns the Sender field. -func (s *SponsorshipEvent) GetSender() *User { - if s == nil { - return nil +// GetStartLine returns the StartLine field if it's non-nil, zero value otherwise. +func (c *CreatePullRequestCommentRequest) GetStartLine() int { + if c == nil || c.StartLine == nil { + return 0 } - return s.Sender + return *c.StartLine } -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (s *SponsorshipTier) GetFrom() string { - if s == nil || s.From == nil { +// GetStartSide returns the StartSide field if it's non-nil, zero value otherwise. +func (c *CreatePullRequestCommentRequest) GetStartSide() string { + if c == nil || c.StartSide == nil { return "" } - return *s.From + return *c.StartSide } -// GetKey returns the Key field. -func (s *SSHKeyOptions) GetKey() string { - if s == nil { +// GetSubjectType returns the SubjectType field if it's non-nil, zero value otherwise. +func (c *CreatePullRequestCommentRequest) GetSubjectType() string { + if c == nil || c.SubjectType == nil { return "" } - return s.Key + return *c.SubjectType } -// GetHostname returns the Hostname field if it's non-nil, zero value otherwise. -func (s *SSHKeyStatus) GetHostname() string { - if s == nil || s.Hostname == nil { +// GetRef returns the Ref field. +func (c *CreateRef) GetRef() string { + if c == nil { return "" } - return *s.Hostname + return c.Ref } -// GetMessage returns the Message field if it's non-nil, zero value otherwise. -func (s *SSHKeyStatus) GetMessage() string { - if s == nil || s.Message == nil { +// GetSHA returns the SHA field. +func (c *CreateRef) GetSHA() string { + if c == nil { return "" } - return *s.Message + return c.SHA } -// GetModified returns the Modified field if it's non-nil, zero value otherwise. -func (s *SSHKeyStatus) GetModified() bool { - if s == nil || s.Modified == nil { - return false +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (c *CreateReleaseRequest) GetBody() string { + if c == nil || c.Body == nil { + return "" } - return *s.Modified + return *c.Body } -// GetUUID returns the UUID field if it's non-nil, zero value otherwise. -func (s *SSHKeyStatus) GetUUID() string { - if s == nil || s.UUID == nil { +// GetDiscussionCategoryName returns the DiscussionCategoryName field if it's non-nil, zero value otherwise. +func (c *CreateReleaseRequest) GetDiscussionCategoryName() string { + if c == nil || c.DiscussionCategoryName == nil { return "" } - return *s.UUID + return *c.DiscussionCategoryName } -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (s *SSHSigningKey) GetCreatedAt() Timestamp { - if s == nil || s.CreatedAt == nil { - return Timestamp{} +// GetDraft returns the Draft field if it's non-nil, zero value otherwise. +func (c *CreateReleaseRequest) GetDraft() bool { + if c == nil || c.Draft == nil { + return false } - return *s.CreatedAt + return *c.Draft } -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (s *SSHSigningKey) GetID() int64 { - if s == nil || s.ID == nil { - return 0 +// GetGenerateReleaseNotes returns the GenerateReleaseNotes field if it's non-nil, zero value otherwise. +func (c *CreateReleaseRequest) GetGenerateReleaseNotes() bool { + if c == nil || c.GenerateReleaseNotes == nil { + return false } - return *s.ID + return *c.GenerateReleaseNotes } -// GetKey returns the Key field if it's non-nil, zero value otherwise. -func (s *SSHSigningKey) GetKey() string { - if s == nil || s.Key == nil { +// GetMakeLatest returns the MakeLatest field if it's non-nil, zero value otherwise. +func (c *CreateReleaseRequest) GetMakeLatest() string { + if c == nil || c.MakeLatest == nil { return "" } - return *s.Key + return *c.MakeLatest } -// GetTitle returns the Title field if it's non-nil, zero value otherwise. -func (s *SSHSigningKey) GetTitle() string { - if s == nil || s.Title == nil { +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (c *CreateReleaseRequest) GetName() string { + if c == nil || c.Name == nil { return "" } - return *s.Title + return *c.Name } -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (s *StarEvent) GetAction() string { - if s == nil || s.Action == nil { - return "" +// GetPrerelease returns the Prerelease field if it's non-nil, zero value otherwise. +func (c *CreateReleaseRequest) GetPrerelease() bool { + if c == nil || c.Prerelease == nil { + return false } - return *s.Action + return *c.Prerelease } -// GetInstallation returns the Installation field. -func (s *StarEvent) GetInstallation() *Installation { - if s == nil { - return nil +// GetTagName returns the TagName field. +func (c *CreateReleaseRequest) GetTagName() string { + if c == nil { + return "" } - return s.Installation + return c.TagName } -// GetOrg returns the Org field. -func (s *StarEvent) GetOrg() *Organization { - if s == nil { - return nil +// GetTargetCommitish returns the TargetCommitish field if it's non-nil, zero value otherwise. +func (c *CreateReleaseRequest) GetTargetCommitish() string { + if c == nil || c.TargetCommitish == nil { + return "" } - return s.Org + return *c.TargetCommitish } -// GetRepo returns the Repo field. -func (s *StarEvent) GetRepo() *Repository { - if s == nil { - return nil +// GetAllowsPublicRepositories returns the AllowsPublicRepositories field if it's non-nil, zero value otherwise. +func (c *CreateRunnerGroupRequest) GetAllowsPublicRepositories() bool { + if c == nil || c.AllowsPublicRepositories == nil { + return false } - return s.Repo + return *c.AllowsPublicRepositories } -// GetSender returns the Sender field. -func (s *StarEvent) GetSender() *User { - if s == nil { - return nil +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (c *CreateRunnerGroupRequest) GetName() string { + if c == nil || c.Name == nil { + return "" } - return s.Sender + return *c.Name } -// GetStarredAt returns the StarredAt field if it's non-nil, zero value otherwise. -func (s *StarEvent) GetStarredAt() Timestamp { - if s == nil || s.StarredAt == nil { - return Timestamp{} +// GetNetworkConfigurationID returns the NetworkConfigurationID field if it's non-nil, zero value otherwise. +func (c *CreateRunnerGroupRequest) GetNetworkConfigurationID() string { + if c == nil || c.NetworkConfigurationID == nil { + return "" } - return *s.StarredAt + return *c.NetworkConfigurationID } -// GetStarredAt returns the StarredAt field if it's non-nil, zero value otherwise. -func (s *Stargazer) GetStarredAt() Timestamp { - if s == nil || s.StarredAt == nil { - return Timestamp{} +// GetRestrictedToWorkflows returns the RestrictedToWorkflows field if it's non-nil, zero value otherwise. +func (c *CreateRunnerGroupRequest) GetRestrictedToWorkflows() bool { + if c == nil || c.RestrictedToWorkflows == nil { + return false } - return *s.StarredAt + return *c.RestrictedToWorkflows } -// GetUser returns the User field. -func (s *Stargazer) GetUser() *User { - if s == nil { +// 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 s.User + return c.Runners } -// GetRepository returns the Repository field. -func (s *StarredRepository) GetRepository() *Repository { - if s == nil { +// 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 s.Repository + return c.SelectedRepositoryIDs } -// GetStarredAt returns the StarredAt field if it's non-nil, zero value otherwise. -func (s *StarredRepository) GetStarredAt() Timestamp { - if s == nil || s.StarredAt == nil { - return Timestamp{} +// 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 *s.StarredAt + return c.SelectedWorkflows } -// 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 +// GetVisibility returns the Visibility field if it's non-nil, zero value otherwise. +func (c *CreateRunnerGroupRequest) GetVisibility() string { + if c == nil || c.Visibility == nil { + return "" } - return s.Branches + return *c.Visibility } -// GetCommit returns the Commit field. -func (s *StatusEvent) GetCommit() *RepositoryCommit { - if s == nil { - return nil +// GetKey returns the Key field. +func (c *CreateSSHSigningKeyRequest) GetKey() string { + if c == nil { + return "" } - return s.Commit + return c.Key } -// GetContext returns the Context field if it's non-nil, zero value otherwise. -func (s *StatusEvent) GetContext() string { - if s == nil || s.Context == nil { +// GetTitle returns the Title field if it's non-nil, zero value otherwise. +func (c *CreateSSHSigningKeyRequest) GetTitle() string { + if c == nil || c.Title == nil { return "" } - return *s.Context + return *c.Title } -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (s *StatusEvent) GetCreatedAt() Timestamp { - if s == nil || s.CreatedAt == nil { - return Timestamp{} +// GetMessage returns the Message field. +func (c *CreateTag) GetMessage() string { + if c == nil { + return "" } - return *s.CreatedAt + return c.Message } -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (s *StatusEvent) GetDescription() string { - if s == nil || s.Description == nil { +// GetObject returns the Object field. +func (c *CreateTag) GetObject() string { + if c == nil { return "" } - return *s.Description + return c.Object } -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (s *StatusEvent) GetID() int64 { - if s == nil || s.ID == nil { - return 0 +// GetTag returns the Tag field. +func (c *CreateTag) GetTag() string { + if c == nil { + return "" } - return *s.ID + return c.Tag } -// GetInstallation returns the Installation field. -func (s *StatusEvent) GetInstallation() *Installation { - if s == nil { +// GetTagger returns the Tagger field. +func (c *CreateTag) GetTagger() *CommitAuthor { + if c == nil { return nil } - return s.Installation + return c.Tagger } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (s *StatusEvent) GetName() string { - if s == nil || s.Name == nil { +// GetType returns the Type field. +func (c *CreateTag) GetType() string { + if c == nil { + return "" + } + return c.Type +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (c *CreateTeamRequest) GetDescription() string { + if c == nil || c.Description == nil { return "" } - return *s.Name + return *c.Description } -// GetOrg returns the Org field. -func (s *StatusEvent) GetOrg() *Organization { - if s == nil { +// GetMaintainers returns the Maintainers slice if it's non-nil, nil otherwise. +func (c *CreateTeamRequest) GetMaintainers() []string { + if c == nil || c.Maintainers == nil { return nil } - return s.Org + return c.Maintainers } -// GetRepo returns the Repo field. -func (s *StatusEvent) GetRepo() *Repository { - if s == nil { - return nil +// GetName returns the Name field. +func (c *CreateTeamRequest) GetName() string { + if c == nil { + return "" } - return s.Repo + return c.Name } -// GetSender returns the Sender field. -func (s *StatusEvent) GetSender() *User { - if s == nil { - return nil +// GetNotificationSetting returns the NotificationSetting field if it's non-nil, zero value otherwise. +func (c *CreateTeamRequest) GetNotificationSetting() string { + if c == nil || c.NotificationSetting == nil { + return "" } - return s.Sender + return *c.NotificationSetting } -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (s *StatusEvent) GetSHA() string { - if s == nil || s.SHA == nil { - return "" +// GetParentTeamID returns the ParentTeamID field if it's non-nil, zero value otherwise. +func (c *CreateTeamRequest) GetParentTeamID() int64 { + if c == nil || c.ParentTeamID == nil { + return 0 } - return *s.SHA + return *c.ParentTeamID } -// GetState returns the State field if it's non-nil, zero value otherwise. -func (s *StatusEvent) GetState() string { - if s == nil || s.State == nil { +// GetParentTeamSlug returns the ParentTeamSlug field if it's non-nil, zero value otherwise. +func (c *CreateTeamRequest) GetParentTeamSlug() string { + if c == nil || c.ParentTeamSlug == nil { return "" } - return *s.State + return *c.ParentTeamSlug } -// GetTargetURL returns the TargetURL field if it's non-nil, zero value otherwise. -func (s *StatusEvent) GetTargetURL() string { - if s == nil || s.TargetURL == nil { +// GetPermission returns the Permission field if it's non-nil, zero value otherwise. +func (c *CreateTeamRequest) GetPermission() string { + if c == nil || c.Permission == nil { return "" } - return *s.TargetURL + return *c.Permission } -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (s *StatusEvent) GetUpdatedAt() Timestamp { - if s == nil || s.UpdatedAt == nil { - return Timestamp{} +// GetPrivacy returns the Privacy field if it's non-nil, zero value otherwise. +func (c *CreateTeamRequest) GetPrivacy() string { + if c == nil || c.Privacy == nil { + return "" } - return *s.UpdatedAt + return *c.Privacy } -// GetDaysLeftInBillingCycle returns the DaysLeftInBillingCycle field. -func (s *StorageBilling) GetDaysLeftInBillingCycle() int { - if s == nil { - return 0 +// GetRepoNames returns the RepoNames slice if it's non-nil, nil otherwise. +func (c *CreateTeamRequest) GetRepoNames() []string { + if c == nil || c.RepoNames == nil { + return nil } - return s.DaysLeftInBillingCycle + return c.RepoNames } -// GetEstimatedPaidStorageForMonth returns the EstimatedPaidStorageForMonth field. -func (s *StorageBilling) GetEstimatedPaidStorageForMonth() int { - if s == nil { - return 0 +// GetCanAdminsBypass returns the CanAdminsBypass field if it's non-nil, zero value otherwise. +func (c *CreateUpdateEnvironment) GetCanAdminsBypass() bool { + if c == nil || c.CanAdminsBypass == nil { + return false } - return s.EstimatedPaidStorageForMonth + return *c.CanAdminsBypass } -// GetEstimatedStorageForMonth returns the EstimatedStorageForMonth field. -func (s *StorageBilling) GetEstimatedStorageForMonth() int { - if s == nil { - return 0 +// GetDeploymentBranchPolicy returns the DeploymentBranchPolicy field. +func (c *CreateUpdateEnvironment) GetDeploymentBranchPolicy() *BranchPolicy { + if c == nil { + return nil } - return s.EstimatedStorageForMonth + return c.DeploymentBranchPolicy } -// GetAfterID returns the AfterID field if it's non-nil, zero value otherwise. -func (s *SubIssueRequest) GetAfterID() int64 { - if s == nil || s.AfterID == nil { - return 0 +// GetPreventSelfReview returns the PreventSelfReview field if it's non-nil, zero value otherwise. +func (c *CreateUpdateEnvironment) GetPreventSelfReview() bool { + if c == nil || c.PreventSelfReview == nil { + return false } - return *s.AfterID + return *c.PreventSelfReview } -// GetBeforeID returns the BeforeID field if it's non-nil, zero value otherwise. -func (s *SubIssueRequest) GetBeforeID() int64 { - if s == nil || s.BeforeID == nil { - return 0 +// 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 *s.BeforeID + return c.Reviewers } -// GetReplaceParent returns the ReplaceParent field if it's non-nil, zero value otherwise. -func (s *SubIssueRequest) GetReplaceParent() bool { - if s == nil || s.ReplaceParent == nil { - return false +// GetWaitTimer returns the WaitTimer field if it's non-nil, zero value otherwise. +func (c *CreateUpdateEnvironment) GetWaitTimer() int { + if c == nil || c.WaitTimer == nil { + return 0 } - return *s.ReplaceParent + return *c.WaitTimer } -// GetSubIssueID returns the SubIssueID field. -func (s *SubIssueRequest) GetSubIssueID() int64 { - if s == nil { - return 0 +// GetScopes returns the Scopes slice if it's non-nil, nil otherwise. +func (c *CreateUserImpersonationRequest) GetScopes() []string { + if c == nil || c.Scopes == nil { + return nil } - return s.SubIssueID + return c.Scopes } -// GetCompleted returns the Completed field if it's non-nil, zero value otherwise. -func (s *SubIssuesSummary) GetCompleted() int { - if s == nil || s.Completed == nil { - return 0 +// GetKey returns the Key field. +func (c *CreateUserKeyRequest) GetKey() string { + if c == nil { + return "" } - return *s.Completed + return c.Key } -// GetPercentCompleted returns the PercentCompleted field if it's non-nil, zero value otherwise. -func (s *SubIssuesSummary) GetPercentCompleted() int { - if s == nil || s.PercentCompleted == nil { - return 0 +// GetTitle returns the Title field if it's non-nil, zero value otherwise. +func (c *CreateUserKeyRequest) GetTitle() string { + if c == nil || c.Title == nil { + return "" } - return *s.PercentCompleted + return *c.Title } -// GetTotal returns the Total field if it's non-nil, zero value otherwise. -func (s *SubIssuesSummary) GetTotal() int { - if s == nil || s.Total == nil { - return 0 +// GetEmail returns the Email field if it's non-nil, zero value otherwise. +func (c *CreateUserRequest) GetEmail() string { + if c == nil || c.Email == nil { + return "" } - return *s.Total + return *c.Email } -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (s *Subscription) GetCreatedAt() Timestamp { - if s == nil || s.CreatedAt == nil { - return Timestamp{} +// GetLogin returns the Login field. +func (c *CreateUserRequest) GetLogin() string { + if c == nil { + return "" } - return *s.CreatedAt + return c.Login } -// GetIgnored returns the Ignored field if it's non-nil, zero value otherwise. -func (s *Subscription) GetIgnored() bool { - if s == nil || s.Ignored == nil { +// GetSuspended returns the Suspended field if it's non-nil, zero value otherwise. +func (c *CreateUserRequest) GetSuspended() bool { + if c == nil || c.Suspended == nil { return false } - return *s.Ignored + return *c.Suspended } -// GetReason returns the Reason field if it's non-nil, zero value otherwise. -func (s *Subscription) GetReason() string { - if s == nil || s.Reason == nil { - return "" +// GetInputs returns the Inputs map if it's non-nil, an empty map otherwise. +func (c *CreateWorkflowDispatchEventRequest) GetInputs() map[string]any { + if c == nil || c.Inputs == nil { + return map[string]any{} } - return *s.Reason + return c.Inputs } -// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise. -func (s *Subscription) GetRepositoryURL() string { - if s == nil || s.RepositoryURL == nil { +// GetRef returns the Ref field. +func (c *CreateWorkflowDispatchEventRequest) GetRef() string { + if c == nil { return "" } - return *s.RepositoryURL + return c.Ref } -// GetSubscribed returns the Subscribed field if it's non-nil, zero value otherwise. -func (s *Subscription) GetSubscribed() bool { - if s == nil || s.Subscribed == nil { +// GetReturnRunDetails returns the ReturnRunDetails field if it's non-nil, zero value otherwise. +func (c *CreateWorkflowDispatchEventRequest) GetReturnRunDetails() bool { + if c == nil || c.ReturnRunDetails == nil { return false } - return *s.Subscribed + return *c.ReturnRunDetails } -// GetThreadURL returns the ThreadURL field if it's non-nil, zero value otherwise. -func (s *Subscription) GetThreadURL() string { - if s == nil || s.ThreadURL == nil { - return "" +// GetCreated returns the Created field if it's non-nil, zero value otherwise. +func (c *CreationInfo) GetCreated() Timestamp { + if c == nil || c.Created == nil { + return Timestamp{} } - return *s.ThreadURL + return *c.Created } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (s *Subscription) GetURL() string { - if s == nil || s.URL == nil { - return "" +// 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 *s.URL + return c.Creators } -// 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 +// GetAuthorizedCredentialExpiresAt returns the AuthorizedCredentialExpiresAt field if it's non-nil, zero value otherwise. +func (c *CredentialAuthorization) GetAuthorizedCredentialExpiresAt() Timestamp { + if c == nil || c.AuthorizedCredentialExpiresAt == nil { + return Timestamp{} } - return s.Nodes + return *c.AuthorizedCredentialExpiresAt } -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (s *SystemRequirements) GetStatus() string { - if s == nil || s.Status == nil { +// GetAuthorizedCredentialID returns the AuthorizedCredentialID field if it's non-nil, zero value otherwise. +func (c *CredentialAuthorization) GetAuthorizedCredentialID() int64 { + if c == nil || c.AuthorizedCredentialID == nil { + return 0 + } + return *c.AuthorizedCredentialID +} + +// GetAuthorizedCredentialNote returns the AuthorizedCredentialNote field if it's non-nil, zero value otherwise. +func (c *CredentialAuthorization) GetAuthorizedCredentialNote() string { + if c == nil || c.AuthorizedCredentialNote == nil { return "" } - return *s.Status + return *c.AuthorizedCredentialNote } -// GetHostname returns the Hostname field if it's non-nil, zero value otherwise. -func (s *SystemRequirementsNode) GetHostname() string { - if s == nil || s.Hostname == nil { +// GetAuthorizedCredentialTitle returns the AuthorizedCredentialTitle field if it's non-nil, zero value otherwise. +func (c *CredentialAuthorization) GetAuthorizedCredentialTitle() string { + if c == nil || c.AuthorizedCredentialTitle == nil { return "" } - return *s.Hostname + return *c.AuthorizedCredentialTitle } -// 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 +// GetCredentialAccessedAt returns the CredentialAccessedAt field if it's non-nil, zero value otherwise. +func (c *CredentialAuthorization) GetCredentialAccessedAt() Timestamp { + if c == nil || c.CredentialAccessedAt == nil { + return Timestamp{} } - return s.RolesStatus + return *c.CredentialAccessedAt } -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (s *SystemRequirementsNode) GetStatus() string { - if s == nil || s.Status == nil { - return "" +// GetCredentialAuthorizedAt returns the CredentialAuthorizedAt field if it's non-nil, zero value otherwise. +func (c *CredentialAuthorization) GetCredentialAuthorizedAt() Timestamp { + if c == nil || c.CredentialAuthorizedAt == nil { + return Timestamp{} } - return *s.Status + return *c.CredentialAuthorizedAt } -// GetRole returns the Role field if it's non-nil, zero value otherwise. -func (s *SystemRequirementsNodeRoleStatus) GetRole() string { - if s == nil || s.Role == nil { - return "" +// GetCredentialID returns the CredentialID field if it's non-nil, zero value otherwise. +func (c *CredentialAuthorization) GetCredentialID() int64 { + if c == nil || c.CredentialID == nil { + return 0 } - return *s.Role + return *c.CredentialID } -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (s *SystemRequirementsNodeRoleStatus) GetStatus() string { - if s == nil || s.Status == nil { +// GetCredentialType returns the CredentialType field if it's non-nil, zero value otherwise. +func (c *CredentialAuthorization) GetCredentialType() string { + if c == nil || c.CredentialType == nil { return "" } - return *s.Status + return *c.CredentialType } -// GetMessage returns the Message field if it's non-nil, zero value otherwise. -func (t *Tag) GetMessage() string { - if t == nil || t.Message == nil { +// GetFingerprint returns the Fingerprint field if it's non-nil, zero value otherwise. +func (c *CredentialAuthorization) GetFingerprint() string { + if c == nil || c.Fingerprint == nil { return "" } - return *t.Message + return *c.Fingerprint } -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (t *Tag) GetNodeID() string { - if t == nil || t.NodeID == nil { +// GetLogin returns the Login field if it's non-nil, zero value otherwise. +func (c *CredentialAuthorization) GetLogin() string { + if c == nil || c.Login == nil { return "" } - return *t.NodeID + return *c.Login } -// GetObject returns the Object field. -func (t *Tag) GetObject() *GitObject { - if t == nil { +// 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 t.Object + return c.Scopes } -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (t *Tag) GetSHA() string { - if t == nil || t.SHA == nil { +// GetTokenLastEight returns the TokenLastEight field if it's non-nil, zero value otherwise. +func (c *CredentialAuthorization) GetTokenLastEight() string { + if c == nil || c.TokenLastEight == nil { return "" } - return *t.SHA + return *c.TokenLastEight } -// GetTag returns the Tag field if it's non-nil, zero value otherwise. -func (t *Tag) GetTag() string { - if t == nil || t.Tag == nil { +// GetLogin returns the Login field. +func (c *CredentialAuthorizationsListOptions) GetLogin() string { + if c == nil { return "" } - return *t.Tag -} - -// GetTagger returns the Tagger field. -func (t *Tag) GetTagger() *CommitAuthor { - if t == nil { - return nil - } - return t.Tagger + return c.Login } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (t *Tag) GetURL() string { - if t == nil || t.URL == nil { +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (c *Credit) GetType() string { + if c == nil || c.Type == nil { return "" } - return *t.URL + return *c.Type } -// GetVerification returns the Verification field. -func (t *Tag) GetVerification() *SignatureVerification { - if t == nil { +// GetUser returns the User field. +func (c *Credit) GetUser() *User { + if c == nil { return nil } - return t.Verification -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (t *TagProtection) GetID() int64 { - if t == nil || t.ID == nil { - return 0 - } - return *t.ID + return c.User } -// GetPattern returns the Pattern field if it's non-nil, zero value otherwise. -func (t *TagProtection) GetPattern() string { - if t == nil || t.Pattern == nil { - return "" +// GetApp returns the App field. +func (c *CustomDeploymentProtectionRule) GetApp() *CustomDeploymentProtectionRuleApp { + if c == nil { + return nil } - return *t.Pattern + return c.App } -// GetCompletedAt returns the CompletedAt field if it's non-nil, zero value otherwise. -func (t *TaskStep) GetCompletedAt() Timestamp { - if t == nil || t.CompletedAt == nil { - return Timestamp{} +// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. +func (c *CustomDeploymentProtectionRule) GetEnabled() bool { + if c == nil || c.Enabled == nil { + return false } - return *t.CompletedAt + return *c.Enabled } -// GetConclusion returns the Conclusion field if it's non-nil, zero value otherwise. -func (t *TaskStep) GetConclusion() string { - if t == nil || t.Conclusion == nil { - return "" +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (c *CustomDeploymentProtectionRule) GetID() int64 { + if c == nil || c.ID == nil { + return 0 } - return *t.Conclusion + return *c.ID } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (t *TaskStep) GetName() string { - if t == nil || t.Name == nil { +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (c *CustomDeploymentProtectionRule) GetNodeID() string { + if c == nil || c.NodeID == nil { return "" } - return *t.Name + return *c.NodeID } -// GetNumber returns the Number field if it's non-nil, zero value otherwise. -func (t *TaskStep) GetNumber() int64 { - if t == nil || t.Number == nil { +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (c *CustomDeploymentProtectionRuleApp) GetID() int64 { + if c == nil || c.ID == nil { return 0 } - return *t.Number + return *c.ID } -// GetStartedAt returns the StartedAt field if it's non-nil, zero value otherwise. -func (t *TaskStep) GetStartedAt() Timestamp { - if t == nil || t.StartedAt == nil { - return Timestamp{} +// GetIntegrationURL returns the IntegrationURL field if it's non-nil, zero value otherwise. +func (c *CustomDeploymentProtectionRuleApp) GetIntegrationURL() string { + if c == nil || c.IntegrationURL == nil { + return "" } - return *t.StartedAt + return *c.IntegrationURL } -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (t *TaskStep) GetStatus() string { - if t == nil || t.Status == nil { +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (c *CustomDeploymentProtectionRuleApp) GetNodeID() string { + if c == nil || c.NodeID == nil { return "" } - return *t.Status + return *c.NodeID } -// GetAccessSource returns the AccessSource field if it's non-nil, zero value otherwise. -func (t *Team) GetAccessSource() string { - if t == nil || t.AccessSource == nil { +// GetSlug returns the Slug field if it's non-nil, zero value otherwise. +func (c *CustomDeploymentProtectionRuleApp) GetSlug() string { + if c == nil || c.Slug == nil { return "" } - return *t.AccessSource + return *c.Slug } -// GetAssignment returns the Assignment field if it's non-nil, zero value otherwise. -func (t *Team) GetAssignment() string { - if t == nil || t.Assignment == nil { - return "" +// GetIntegrationID returns the IntegrationID field if it's non-nil, zero value otherwise. +func (c *CustomDeploymentProtectionRuleRequest) GetIntegrationID() int64 { + if c == nil || c.IntegrationID == nil { + return 0 } - return *t.Assignment + return *c.IntegrationID } -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (t *Team) GetDescription() string { - if t == nil || t.Description == nil { +// GetBaseRole returns the BaseRole field if it's non-nil, zero value otherwise. +func (c *CustomOrgRole) GetBaseRole() string { + if c == nil || c.BaseRole == nil { return "" } - return *t.Description + return *c.BaseRole } -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (t *Team) GetHTMLURL() string { - if t == nil || t.HTMLURL == nil { +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (c *CustomOrgRole) GetCreatedAt() Timestamp { + if c == nil || c.CreatedAt == nil { + return Timestamp{} + } + return *c.CreatedAt +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (c *CustomOrgRole) GetDescription() string { + if c == nil || c.Description == nil { return "" } - return *t.HTMLURL + return *c.Description } // GetID returns the ID field if it's non-nil, zero value otherwise. -func (t *Team) GetID() int64 { - if t == nil || t.ID == nil { +func (c *CustomOrgRole) GetID() int64 { + if c == nil || c.ID == nil { return 0 } - return *t.ID + return *c.ID } -// GetLDAPDN returns the LDAPDN field if it's non-nil, zero value otherwise. -func (t *Team) GetLDAPDN() string { - if t == nil || t.LDAPDN == nil { +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (c *CustomOrgRole) GetName() string { + if c == nil || c.Name == nil { return "" } - return *t.LDAPDN + return *c.Name } -// GetMembersCount returns the MembersCount field if it's non-nil, zero value otherwise. -func (t *Team) GetMembersCount() int { - if t == nil || t.MembersCount == nil { - return 0 +// GetOrg returns the Org field. +func (c *CustomOrgRole) GetOrg() *Organization { + if c == nil { + return nil } - return *t.MembersCount + return c.Org } -// GetMembersURL returns the MembersURL field if it's non-nil, zero value otherwise. -func (t *Team) GetMembersURL() string { - if t == nil || t.MembersURL == nil { - return "" +// 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 *t.MembersURL + return c.Permissions } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (t *Team) GetName() string { - if t == nil || t.Name == nil { +// GetSource returns the Source field if it's non-nil, zero value otherwise. +func (c *CustomOrgRole) GetSource() string { + if c == nil || c.Source == nil { return "" } - return *t.Name + return *c.Source } -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (t *Team) GetNodeID() string { - if t == nil || t.NodeID == nil { +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (c *CustomOrgRole) GetUpdatedAt() Timestamp { + if c == nil || c.UpdatedAt == nil { + return Timestamp{} + } + return *c.UpdatedAt +} + +// GetPatternScope returns the PatternScope field if it's non-nil, zero value otherwise. +func (c *CustomPatternBackfillScan) GetPatternScope() string { + if c == nil || c.PatternScope == nil { return "" } - return *t.NodeID + return *c.PatternScope } -// GetNotificationSetting returns the NotificationSetting field if it's non-nil, zero value otherwise. -func (t *Team) GetNotificationSetting() string { - if t == nil || t.NotificationSetting == nil { +// GetPatternSlug returns the PatternSlug field if it's non-nil, zero value otherwise. +func (c *CustomPatternBackfillScan) GetPatternSlug() string { + if c == nil || c.PatternSlug == nil { return "" } - return *t.NotificationSetting + return *c.PatternSlug } -// GetOrganization returns the Organization field. -func (t *Team) GetOrganization() *Organization { - if t == nil { +// 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 t.Organization + return c.AllowedValues } -// GetParent returns the Parent field. -func (t *Team) GetParent() *Team { - if t == nil { +// GetDefaultValue returns the DefaultValue field. +func (c *CustomProperty) GetDefaultValue() any { + if c == nil { return nil } - return t.Parent + return c.DefaultValue } -// GetPermission returns the Permission field if it's non-nil, zero value otherwise. -func (t *Team) GetPermission() string { - if t == nil || t.Permission == nil { +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (c *CustomProperty) GetDescription() string { + if c == nil || c.Description == nil { return "" } - return *t.Permission + return *c.Description } -// GetPermissions returns the Permissions map if it's non-nil, an empty map otherwise. -func (t *Team) GetPermissions() map[string]bool { - if t == nil || t.Permissions == nil { - return map[string]bool{} +// GetPropertyName returns the PropertyName field if it's non-nil, zero value otherwise. +func (c *CustomProperty) GetPropertyName() string { + if c == nil || c.PropertyName == nil { + return "" } - return t.Permissions + return *c.PropertyName } -// GetPrivacy returns the Privacy field if it's non-nil, zero value otherwise. -func (t *Team) GetPrivacy() string { - if t == nil || t.Privacy == nil { - return "" +// GetRequired returns the Required field if it's non-nil, zero value otherwise. +func (c *CustomProperty) GetRequired() bool { + if c == nil || c.Required == nil { + return false } - return *t.Privacy + return *c.Required } -// GetReposCount returns the ReposCount field if it's non-nil, zero value otherwise. -func (t *Team) GetReposCount() int { - if t == nil || t.ReposCount == nil { - return 0 +// GetSourceType returns the SourceType field if it's non-nil, zero value otherwise. +func (c *CustomProperty) GetSourceType() string { + if c == nil || c.SourceType == nil { + return "" } - return *t.ReposCount + return *c.SourceType } -// GetRepositoriesURL returns the RepositoriesURL field if it's non-nil, zero value otherwise. -func (t *Team) GetRepositoriesURL() string { - if t == nil || t.RepositoriesURL == nil { +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (c *CustomProperty) GetURL() string { + if c == nil || c.URL == nil { return "" } - return *t.RepositoriesURL + return *c.URL } -// GetSlug returns the Slug field if it's non-nil, zero value otherwise. -func (t *Team) GetSlug() string { - if t == nil || t.Slug == nil { +// GetValuesEditableBy returns the ValuesEditableBy field if it's non-nil, zero value otherwise. +func (c *CustomProperty) GetValuesEditableBy() string { + if c == nil || c.ValuesEditableBy == nil { return "" } - return *t.Slug + return *c.ValuesEditableBy } -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (t *Team) GetType() string { - if t == nil || t.Type == nil { +// GetValueType returns the ValueType field. +func (c *CustomProperty) GetValueType() PropertyValueType { + if c == nil { return "" } - return *t.Type + return c.ValueType } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (t *Team) GetURL() string { - if t == nil || t.URL == nil { +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (c *CustomPropertyEvent) GetAction() string { + if c == nil || c.Action == nil { return "" } - return *t.URL + return *c.Action } -// GetInstallation returns the Installation field. -func (t *TeamAddEvent) GetInstallation() *Installation { - if t == nil { +// GetDefinition returns the Definition field. +func (c *CustomPropertyEvent) GetDefinition() *CustomProperty { + if c == nil { return nil } - return t.Installation + return c.Definition } -// GetOrg returns the Org field. -func (t *TeamAddEvent) GetOrg() *Organization { - if t == nil { +// GetEnterprise returns the Enterprise field. +func (c *CustomPropertyEvent) GetEnterprise() *Enterprise { + if c == nil { return nil } - return t.Org + return c.Enterprise } -// GetRepo returns the Repo field. -func (t *TeamAddEvent) GetRepo() *Repository { - if t == nil { +// GetInstallation returns the Installation field. +func (c *CustomPropertyEvent) GetInstallation() *Installation { + if c == nil { return nil } - return t.Repo + return c.Installation } -// GetSender returns the Sender field. -func (t *TeamAddEvent) GetSender() *User { - if t == nil { +// GetOrg returns the Org field. +func (c *CustomPropertyEvent) GetOrg() *Organization { + if c == nil { return nil } - return t.Sender + return c.Org } -// GetTeam returns the Team field. -func (t *TeamAddEvent) GetTeam() *Team { - if t == nil { +// GetSender returns the Sender field. +func (c *CustomPropertyEvent) GetSender() *User { + if c == nil { return nil } - return t.Team + return c.Sender } -// GetRole returns the Role field. -func (t *TeamAddTeamMembershipOptions) GetRole() string { - if t == nil { +// GetPropertyName returns the PropertyName field. +func (c *CustomPropertyValue) GetPropertyName() string { + if c == nil { return "" } - return t.Role + return c.PropertyName } -// GetPermission returns the Permission field. -func (t *TeamAddTeamRepoOptions) GetPermission() string { - if t == nil { +// 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 { return "" } - return t.Permission + return *c.Action } -// GetDescription returns the Description field. -func (t *TeamChange) GetDescription() *TeamDescription { - if t == nil { +// GetEnterprise returns the Enterprise field. +func (c *CustomPropertyValuesEvent) GetEnterprise() *Enterprise { + if c == nil { return nil } - return t.Description + return c.Enterprise } -// GetName returns the Name field. -func (t *TeamChange) GetName() *TeamName { - if t == nil { +// GetInstallation returns the Installation field. +func (c *CustomPropertyValuesEvent) GetInstallation() *Installation { + if c == nil { + return nil + } + 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 t.Name + return c.NewPropertyValues } -// GetPrivacy returns the Privacy field. -func (t *TeamChange) GetPrivacy() *TeamPrivacy { - if t == nil { +// 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 t.Privacy + return c.OldPropertyValues } -// GetRepository returns the Repository field. -func (t *TeamChange) GetRepository() *TeamRepository { - if t == nil { +// GetOrg returns the Org field. +func (c *CustomPropertyValuesEvent) GetOrg() *Organization { + if c == nil { return nil } - return t.Repository + return c.Org } -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (t *TeamDescription) GetFrom() string { - if t == nil || t.From == nil { - return "" +// GetRepo returns the Repo field. +func (c *CustomPropertyValuesEvent) GetRepo() *Repository { + if c == nil { + return nil } - return *t.From + return c.Repo } -// GetAuthor returns the Author field. -func (t *TeamDiscussion) GetAuthor() *User { - if t == nil { +// GetSender returns the Sender field. +func (c *CustomPropertyValuesEvent) GetSender() *User { + if c == nil { return nil } - return t.Author + return c.Sender } -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (t *TeamDiscussion) GetBody() string { - if t == nil || t.Body == nil { +// GetBaseRole returns the BaseRole field if it's non-nil, zero value otherwise. +func (c *CustomRepoRoles) GetBaseRole() string { + if c == nil || c.BaseRole == nil { return "" } - return *t.Body + return *c.BaseRole } -// GetBodyHTML returns the BodyHTML field if it's non-nil, zero value otherwise. -func (t *TeamDiscussion) GetBodyHTML() string { - if t == nil || t.BodyHTML == nil { - return "" +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (c *CustomRepoRoles) GetCreatedAt() Timestamp { + if c == nil || c.CreatedAt == nil { + return Timestamp{} } - return *t.BodyHTML + return *c.CreatedAt } -// GetBodyVersion returns the BodyVersion field if it's non-nil, zero value otherwise. -func (t *TeamDiscussion) GetBodyVersion() string { - if t == nil || t.BodyVersion == nil { +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (c *CustomRepoRoles) GetDescription() string { + if c == nil || c.Description == nil { return "" } - return *t.BodyVersion + return *c.Description } -// GetCommentsCount returns the CommentsCount field if it's non-nil, zero value otherwise. -func (t *TeamDiscussion) GetCommentsCount() int { - if t == nil || t.CommentsCount == nil { +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (c *CustomRepoRoles) GetID() int64 { + if c == nil || c.ID == nil { return 0 } - return *t.CommentsCount + return *c.ID } -// GetCommentsURL returns the CommentsURL field if it's non-nil, zero value otherwise. -func (t *TeamDiscussion) GetCommentsURL() string { - if t == nil || t.CommentsURL == nil { +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (c *CustomRepoRoles) GetName() string { + if c == nil || c.Name == nil { return "" } - return *t.CommentsURL + return *c.Name } -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (t *TeamDiscussion) GetCreatedAt() Timestamp { - if t == nil || t.CreatedAt == nil { - return Timestamp{} +// GetOrg returns the Org field. +func (c *CustomRepoRoles) GetOrg() *Organization { + if c == nil { + return nil } - return *t.CreatedAt + return c.Org } -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (t *TeamDiscussion) GetHTMLURL() string { - if t == nil || t.HTMLURL == nil { - return "" +// 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 *t.HTMLURL + return c.Permissions } -// GetLastEditedAt returns the LastEditedAt field if it's non-nil, zero value otherwise. -func (t *TeamDiscussion) GetLastEditedAt() Timestamp { - if t == nil || t.LastEditedAt == nil { +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (c *CustomRepoRoles) GetUpdatedAt() Timestamp { + if c == nil || c.UpdatedAt == nil { return Timestamp{} } - return *t.LastEditedAt + return *c.UpdatedAt } -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (t *TeamDiscussion) GetNodeID() string { - if t == nil || t.NodeID == nil { +// GetEncryptedToken returns the EncryptedToken field. +func (d *DatadogConfig) GetEncryptedToken() string { + if d == nil { return "" } - return *t.NodeID -} - -// GetNumber returns the Number field if it's non-nil, zero value otherwise. -func (t *TeamDiscussion) GetNumber() int { - if t == nil || t.Number == nil { - return 0 - } - return *t.Number + return d.EncryptedToken } -// GetPinned returns the Pinned field if it's non-nil, zero value otherwise. -func (t *TeamDiscussion) GetPinned() bool { - if t == nil || t.Pinned == nil { - return false +// GetKeyID returns the KeyID field. +func (d *DatadogConfig) GetKeyID() string { + if d == nil { + return "" } - return *t.Pinned + return d.KeyID } -// GetPrivate returns the Private field if it's non-nil, zero value otherwise. -func (t *TeamDiscussion) GetPrivate() bool { - if t == nil || t.Private == nil { - return false +// GetSite returns the Site field. +func (d *DatadogConfig) GetSite() string { + if d == nil { + return "" } - return *t.Private + return d.Site } -// GetReactions returns the Reactions field. -func (t *TeamDiscussion) GetReactions() *Reactions { - if t == nil { +// 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 t.Reactions + return d.Languages } -// GetTeamURL returns the TeamURL field if it's non-nil, zero value otherwise. -func (t *TeamDiscussion) GetTeamURL() string { - if t == nil || t.TeamURL == nil { +// GetQuerySuite returns the QuerySuite field if it's non-nil, zero value otherwise. +func (d *DefaultSetupConfiguration) GetQuerySuite() string { + if d == nil || d.QuerySuite == nil { return "" } - return *t.TeamURL + return *d.QuerySuite } -// GetTitle returns the Title field if it's non-nil, zero value otherwise. -func (t *TeamDiscussion) GetTitle() string { - if t == nil || t.Title == nil { +// GetState returns the State field if it's non-nil, zero value otherwise. +func (d *DefaultSetupConfiguration) GetState() string { + if d == nil || d.State == nil { return "" } - return *t.Title + return *d.State } // GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (t *TeamDiscussion) GetUpdatedAt() Timestamp { - if t == nil || t.UpdatedAt == nil { +func (d *DefaultSetupConfiguration) GetUpdatedAt() Timestamp { + if d == nil || d.UpdatedAt == nil { return Timestamp{} } - return *t.UpdatedAt + return *d.UpdatedAt } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (t *TeamDiscussion) GetURL() string { - if t == nil || t.URL == nil { - return "" +// GetCanApprovePullRequestReviews returns the CanApprovePullRequestReviews field if it's non-nil, zero value otherwise. +func (d *DefaultWorkflowPermissionEnterprise) GetCanApprovePullRequestReviews() bool { + if d == nil || d.CanApprovePullRequestReviews == nil { + return false } - return *t.URL + return *d.CanApprovePullRequestReviews } -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (t *TeamEvent) GetAction() string { - if t == nil || t.Action == nil { +// GetDefaultWorkflowPermissions returns the DefaultWorkflowPermissions field if it's non-nil, zero value otherwise. +func (d *DefaultWorkflowPermissionEnterprise) GetDefaultWorkflowPermissions() string { + if d == nil || d.DefaultWorkflowPermissions == nil { return "" } - return *t.Action + return *d.DefaultWorkflowPermissions } -// GetChanges returns the Changes field. -func (t *TeamEvent) GetChanges() *TeamChange { - if t == nil { - return nil +// GetCanApprovePullRequestReviews returns the CanApprovePullRequestReviews field if it's non-nil, zero value otherwise. +func (d *DefaultWorkflowPermissionOrganization) GetCanApprovePullRequestReviews() bool { + if d == nil || d.CanApprovePullRequestReviews == nil { + return false } - return t.Changes + return *d.CanApprovePullRequestReviews } -// GetInstallation returns the Installation field. -func (t *TeamEvent) GetInstallation() *Installation { - if t == nil { - return nil +// GetDefaultWorkflowPermissions returns the DefaultWorkflowPermissions field if it's non-nil, zero value otherwise. +func (d *DefaultWorkflowPermissionOrganization) GetDefaultWorkflowPermissions() string { + if d == nil || d.DefaultWorkflowPermissions == nil { + return "" } - return t.Installation + return *d.DefaultWorkflowPermissions } -// GetOrg returns the Org field. -func (t *TeamEvent) GetOrg() *Organization { - if t == nil { - return nil +// GetCanApprovePullRequestReviews returns the CanApprovePullRequestReviews field if it's non-nil, zero value otherwise. +func (d *DefaultWorkflowPermissionRepository) GetCanApprovePullRequestReviews() bool { + if d == nil || d.CanApprovePullRequestReviews == nil { + return false } - return t.Org + return *d.CanApprovePullRequestReviews } -// GetRepo returns the Repo field. -func (t *TeamEvent) GetRepo() *Repository { - if t == nil { - return nil +// GetDefaultWorkflowPermissions returns the DefaultWorkflowPermissions field if it's non-nil, zero value otherwise. +func (d *DefaultWorkflowPermissionRepository) GetDefaultWorkflowPermissions() string { + if d == nil || d.DefaultWorkflowPermissions == nil { + return "" } - return t.Repo + return *d.DefaultWorkflowPermissions } -// GetSender returns the Sender field. -func (t *TeamEvent) GetSender() *User { - if t == nil { - return nil +// GetConfirmDeleteURL returns the ConfirmDeleteURL field if it's non-nil, zero value otherwise. +func (d *DeleteAnalysis) GetConfirmDeleteURL() string { + if d == nil || d.ConfirmDeleteURL == nil { + return "" } - return t.Sender + return *d.ConfirmDeleteURL } -// GetTeam returns the Team field. -func (t *TeamEvent) GetTeam() *Team { - if t == nil { - return nil +// GetNextAnalysisURL returns the NextAnalysisURL field if it's non-nil, zero value otherwise. +func (d *DeleteAnalysis) GetNextAnalysisURL() string { + if d == nil || d.NextAnalysisURL == nil { + return "" } - return t.Team + return *d.NextAnalysisURL } -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (t *TeamLDAPMapping) GetDescription() string { - if t == nil || t.Description == nil { +// GetCostCenterState returns the CostCenterState field. +func (d *DeleteCostCenterResponse) GetCostCenterState() string { + if d == nil { return "" } - return *t.Description + return d.CostCenterState } -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (t *TeamLDAPMapping) GetID() int64 { - if t == nil || t.ID == nil { - return 0 +// GetID returns the ID field. +func (d *DeleteCostCenterResponse) GetID() string { + if d == nil { + return "" } - return *t.ID + return d.ID } -// GetLDAPDN returns the LDAPDN field if it's non-nil, zero value otherwise. -func (t *TeamLDAPMapping) GetLDAPDN() string { - if t == nil || t.LDAPDN == nil { +// GetMessage returns the Message field. +func (d *DeleteCostCenterResponse) GetMessage() string { + if d == nil { return "" } - return *t.LDAPDN + return d.Message } -// GetMembersURL returns the MembersURL field if it's non-nil, zero value otherwise. -func (t *TeamLDAPMapping) GetMembersURL() string { - if t == nil || t.MembersURL == nil { +// GetName returns the Name field. +func (d *DeleteCostCenterResponse) GetName() string { + if d == nil { return "" } - return *t.MembersURL + return d.Name } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (t *TeamLDAPMapping) GetName() string { - if t == nil || t.Name == nil { - return "" +// GetInstallation returns the Installation field. +func (d *DeleteEvent) GetInstallation() *Installation { + if d == nil { + return nil } - return *t.Name + return d.Installation } -// GetPermission returns the Permission field if it's non-nil, zero value otherwise. -func (t *TeamLDAPMapping) GetPermission() string { - if t == nil || t.Permission == nil { - return "" +// GetOrg returns the Org field. +func (d *DeleteEvent) GetOrg() *Organization { + if d == nil { + return nil } - return *t.Permission + return d.Org } -// GetPrivacy returns the Privacy field if it's non-nil, zero value otherwise. -func (t *TeamLDAPMapping) GetPrivacy() string { - if t == nil || t.Privacy == nil { +// GetPusherType returns the PusherType field if it's non-nil, zero value otherwise. +func (d *DeleteEvent) GetPusherType() string { + if d == nil || d.PusherType == nil { return "" } - return *t.Privacy + return *d.PusherType } -// GetRepositoriesURL returns the RepositoriesURL field if it's non-nil, zero value otherwise. -func (t *TeamLDAPMapping) GetRepositoriesURL() string { - if t == nil || t.RepositoriesURL == nil { +// GetRef returns the Ref field if it's non-nil, zero value otherwise. +func (d *DeleteEvent) GetRef() string { + if d == nil || d.Ref == nil { return "" } - return *t.RepositoriesURL + return *d.Ref } -// GetSlug returns the Slug field if it's non-nil, zero value otherwise. -func (t *TeamLDAPMapping) GetSlug() string { - if t == nil || t.Slug == nil { +// GetRefType returns the RefType field if it's non-nil, zero value otherwise. +func (d *DeleteEvent) GetRefType() string { + if d == nil || d.RefType == nil { return "" } - return *t.Slug + return *d.RefType } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (t *TeamLDAPMapping) GetURL() string { - if t == nil || t.URL == nil { - return "" +// GetRepo returns the Repo field. +func (d *DeleteEvent) GetRepo() *Repository { + if d == nil { + return nil } - return *t.URL + return d.Repo } -// GetRole returns the Role field. -func (t *TeamListTeamMembersOptions) GetRole() string { - if t == nil { - return "" +// GetSender returns the Sender field. +func (d *DeleteEvent) GetSender() *User { + if d == nil { + return nil } - return t.Role + return d.Sender } -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (t *TeamName) GetFrom() string { - if t == nil || t.From == nil { - return "" +// GetAutoDismissedAt returns the AutoDismissedAt field if it's non-nil, zero value otherwise. +func (d *DependabotAlert) GetAutoDismissedAt() Timestamp { + if d == nil || d.AutoDismissedAt == nil { + return Timestamp{} } - return *t.From + return *d.AutoDismissedAt } -// GetFrom returns the From field. -func (t *TeamPermissions) GetFrom() *TeamPermissionsFrom { - if t == nil { +// GetCreatedAt returns the CreatedAt field if it's non-nil, z// 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 t.From + return l.Seats } -// GetAdmin returns the Admin field if it's non-nil, zero value otherwise. -func (t *TeamPermissionsFrom) GetAdmin() bool { - if t == nil || t.Admin == nil { - return false +// GetTotalSeats returns the TotalSeats field. +func (l *ListCopilotSeatsResponse) GetTotalSeats() int64 { + if l == nil { + return 0 } - return *t.Admin + return l.TotalSeats } -// GetPull returns the Pull field if it's non-nil, zero value otherwise. -func (t *TeamPermissionsFrom) GetPull() bool { - if t == nil || t.Pull == nil { - return false +// GetState returns the State field if it's non-nil, zero value otherwise. +func (l *ListCostCenterOptions) GetState() string { + if l == nil || l.State == nil { + return "" } - return *t.Pull + return *l.State } -// GetPush returns the Push field if it's non-nil, zero value otherwise. -func (t *TeamPermissionsFrom) GetPush() bool { - if t == nil || t.Push == nil { - return false +// GetAfter returns the After field. +func (l *ListCursorOptions) GetAfter() string { + if l == nil { + return "" } - return *t.Push + return l.After } -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (t *TeamPrivacy) GetFrom() string { - if t == nil || t.From == nil { +// GetBefore returns the Before field. +func (l *ListCursorOptions) GetBefore() string { + if l == nil { return "" } - return *t.From + return l.Before } -// GetPermission returns the Permission field if it's non-nil, zero value otherwise. -func (t *TeamProjectOptions) GetPermission() string { - if t == nil || t.Permission == nil { +// GetCursor returns the Cursor field. +func (l *ListCursorOptions) GetCursor() string { + if l == nil { return "" } - return *t.Permission + return l.Cursor } -// GetPermissions returns the Permissions field. -func (t *TeamRepository) GetPermissions() *TeamPermissions { - if t == nil { - return nil +// GetFirst returns the First field. +func (l *ListCursorOptions) GetFirst() int { + if l == nil { + return 0 } - return t.Permissions + return l.First } -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (t *TemplateRepoRequest) GetDescription() string { - if t == nil || t.Description == nil { - return "" +// GetLast returns the Last field. +func (l *ListCursorOptions) GetLast() int { + if l == nil { + return 0 } - return *t.Description + return l.Last } -// GetIncludeAllBranches returns the IncludeAllBranches field if it's non-nil, zero value otherwise. -func (t *TemplateRepoRequest) GetIncludeAllBranches() bool { - if t == nil || t.IncludeAllBranches == nil { - return false +// GetPage returns the Page field. +func (l *ListCursorOptions) GetPage() string { + if l == nil { + return "" } - return *t.IncludeAllBranches + return l.Page } -// GetName returns the Name field. -func (t *TemplateRepoRequest) GetName() string { - if t == nil { - return "" +// GetPerPage returns the PerPage field. +func (l *ListCursorOptions) GetPerPage() int { + if l == nil { + return 0 } - return t.Name + return l.PerPage } -// GetOwner returns the Owner field if it's non-nil, zero value otherwise. -func (t *TemplateRepoRequest) GetOwner() string { - if t == nil || t.Owner == nil { - return "" +// 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 *t.Owner + return l.AvailableIntegrations } -// GetPrivate returns the Private field if it's non-nil, zero value otherwise. -func (t *TemplateRepoRequest) GetPrivate() bool { - if t == nil || t.Private == nil { - return false +// GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. +func (l *ListCustomDeploymentRuleIntegrationsResponse) GetTotalCount() int { + if l == nil || l.TotalCount == nil { + return 0 } - return *t.Private + return *l.TotalCount } -// GetFragment returns the Fragment field if it's non-nil, zero value otherwise. -func (t *TextMatch) GetFragment() string { - if t == nil || t.Fragment == nil { +// GetRepositoryQuery returns the RepositoryQuery field. +func (l *ListCustomPropertyValuesOptions) GetRepositoryQuery() string { + if l == nil { return "" } - return *t.Fragment + return l.RepositoryQuery } -// GetMatches returns the Matches slice if it's non-nil, nil otherwise. -func (t *TextMatch) GetMatches() []*Match { - if t == nil || t.Matches == nil { +// 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 t.Matches + return l.ProtectionRules } -// GetObjectType returns the ObjectType field if it's non-nil, zero value otherwise. -func (t *TextMatch) GetObjectType() string { - if t == nil || t.ObjectType == nil { - return "" +// GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. +func (l *ListDeploymentProtectionRuleResponse) GetTotalCount() int { + if l == nil || l.TotalCount == nil { + return 0 } - return *t.ObjectType + return *l.TotalCount } -// GetObjectURL returns the ObjectURL field if it's non-nil, zero value otherwise. -func (t *TextMatch) GetObjectURL() string { - if t == nil || t.ObjectURL == nil { +// GetAfter returns the After field. +func (l *ListEnterpriseCodeSecurityConfigurationOptions) GetAfter() string { + if l == nil { return "" } - return *t.ObjectURL + return l.After } -// GetProperty returns the Property field if it's non-nil, zero value otherwise. -func (t *TextMatch) GetProperty() string { - if t == nil || t.Property == nil { +// GetBefore returns the Before field. +func (l *ListEnterpriseCodeSecurityConfigurationOptions) GetBefore() string { + if l == nil { return "" } - return *t.Property + return l.Before } -// GetActor returns the Actor field. -func (t *Timeline) GetActor() *User { - if t == nil { - return nil +// GetPerPage returns the PerPage field. +func (l *ListEnterpriseCodeSecurityConfigurationOptions) GetPerPage() int { + if l == nil { + return 0 } - return t.Actor + return l.PerPage } -// GetAssignee returns the Assignee field. -func (t *Timeline) GetAssignee() *User { - if t == nil { - return nil +// GetVisibleToOrganization returns the VisibleToOrganization field. +func (l *ListEnterpriseRunnerGroupOptions) GetVisibleToOrganization() string { + if l == nil { + return "" } - return t.Assignee + return l.VisibleToOrganization } -// GetAssigner returns the Assigner field. -func (t *Timeline) GetAssigner() *User { - if t == nil { - return nil +// GetDisplayName returns the DisplayName field if it's non-nil, zero value otherwise. +func (l *ListExternalGroupsOptions) GetDisplayName() string { + if l == nil || l.DisplayName == nil { + return "" } - return t.Assigner + return *l.DisplayName } -// GetAuthor returns the Author field. -func (t *Timeline) GetAuthor() *CommitAuthor { - if t == nil { - return nil +// GetDirection returns the Direction field. +func (l *ListFineGrainedPATOptions) GetDirection() string { + if l == nil { + return "" } - return t.Author + return l.Direction } -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (t *Timeline) GetBody() string { - if t == nil || t.Body == nil { +// GetLastUsedAfter returns the LastUsedAfter field. +func (l *ListFineGrainedPATOptions) GetLastUsedAfter() string { + if l == nil { return "" } - return *t.Body + return l.LastUsedAfter } -// GetCommitID returns the CommitID field if it's non-nil, zero value otherwise. -func (t *Timeline) GetCommitID() string { - if t == nil || t.CommitID == nil { +// GetLastUsedBefore returns the LastUsedBefore field. +func (l *ListFineGrainedPATOptions) GetLastUsedBefore() string { + if l == nil { return "" } - return *t.CommitID + return l.LastUsedBefore } -// GetCommitter returns the Committer field. -func (t *Timeline) GetCommitter() *CommitAuthor { - if t == nil { +// 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 t.Committer + return l.Owner } -// GetCommitURL returns the CommitURL field if it's non-nil, zero value otherwise. -func (t *Timeline) GetCommitURL() string { - if t == nil || t.CommitURL == nil { +// GetPermission returns the Permission field. +func (l *ListFineGrainedPATOptions) GetPermission() string { + if l == nil { return "" } - return *t.CommitURL + return l.Permission } -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (t *Timeline) GetCreatedAt() Timestamp { - if t == nil || t.CreatedAt == nil { - return Timestamp{} +// GetRepository returns the Repository field. +func (l *ListFineGrainedPATOptions) GetRepository() string { + if l == nil { + return "" } - return *t.CreatedAt + return l.Repository } -// GetEvent returns the Event field if it's non-nil, zero value otherwise. -func (t *Timeline) GetEvent() string { - if t == nil || t.Event == nil { +// GetSort returns the Sort field. +func (l *ListFineGrainedPATOptions) GetSort() string { + if l == nil { return "" } - return *t.Event + return l.Sort } -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (t *Timeline) GetID() int64 { - if t == nil || t.ID == nil { - return 0 +// 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 *t.ID + return l.TokenID } -// GetLabel returns the Label field. -func (t *Timeline) GetLabel() *Label { - if t == nil { - return nil +// GetAffects returns the Affects field if it's non-nil, zero value otherwise. +func (l *ListGlobalSecurityAdvisoriesOptions) GetAffects() string { + if l == nil || l.Affects == nil { + return "" } - return t.Label + return *l.Affects } -// GetMessage returns the Message field if it's non-nil, zero value otherwise. -func (t *Timeline) GetMessage() string { - if t == nil || t.Message == nil { +// GetCVEID returns the CVEID field if it's non-nil, zero value otherwise. +func (l *ListGlobalSecurityAdvisoriesOptions) GetCVEID() string { + if l == nil || l.CVEID == nil { return "" } - return *t.Message + return *l.CVEID } -// GetMilestone returns the Milestone field. -func (t *Timeline) GetMilestone() *Milestone { - if t == nil { +// 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 t.Milestone + return l.CWEs } -// 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 +// GetEcosystem returns the Ecosystem field if it's non-nil, zero value otherwise. +func (l *ListGlobalSecurityAdvisoriesOptions) GetEcosystem() string { + if l == nil || l.Ecosystem == nil { + return "" } - return t.Parents + return *l.Ecosystem } -// GetPerformedViaGithubApp returns the PerformedViaGithubApp field. -func (t *Timeline) GetPerformedViaGithubApp() *App { - if t == nil { - return nil +// GetGHSAID returns the GHSAID field if it's non-nil, zero value otherwise. +func (l *ListGlobalSecurityAdvisoriesOptions) GetGHSAID() string { + if l == nil || l.GHSAID == nil { + return "" } - return t.PerformedViaGithubApp + return *l.GHSAID } -// GetRename returns the Rename field. -func (t *Timeline) GetRename() *Rename { - if t == nil { - return nil +// GetIsWithdrawn returns the IsWithdrawn field if it's non-nil, zero value otherwise. +func (l *ListGlobalSecurityAdvisoriesOptions) GetIsWithdrawn() bool { + if l == nil || l.IsWithdrawn == nil { + return false } - return t.Rename + return *l.IsWithdrawn } -// GetRequestedTeam returns the RequestedTeam field. -func (t *Timeline) GetRequestedTeam() *Team { - if t == nil { - return nil +// GetModified returns the Modified field if it's non-nil, zero value otherwise. +func (l *ListGlobalSecurityAdvisoriesOptions) GetModified() string { + if l == nil || l.Modified == nil { + return "" } - return t.RequestedTeam + return *l.Modified } -// GetRequester returns the Requester field. -func (t *Timeline) GetRequester() *User { - if t == nil { - return nil +// GetPublished returns the Published field if it's non-nil, zero value otherwise. +func (l *ListGlobalSecurityAdvisoriesOptions) GetPublished() string { + if l == nil || l.Published == nil { + return "" } - return t.Requester + return *l.Published } -// GetReviewer returns the Reviewer field. -func (t *Timeline) GetReviewer() *User { - if t == nil { - return nil +// GetSeverity returns the Severity field if it's non-nil, zero value otherwise. +func (l *ListGlobalSecurityAdvisoriesOptions) GetSeverity() string { + if l == nil || l.Severity == nil { + return "" } - return t.Reviewer + return *l.Severity } -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (t *Timeline) GetSHA() string { - if t == nil || t.SHA == nil { +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (l *ListGlobalSecurityAdvisoriesOptions) GetType() string { + if l == nil || l.Type == nil { return "" } - return *t.SHA + return *l.Type } -// GetSource returns the Source field. -func (t *Timeline) GetSource() *Source { - if t == nil { - return nil +// GetUpdated returns the Updated field if it's non-nil, zero value otherwise. +func (l *ListGlobalSecurityAdvisoriesOptions) GetUpdated() string { + if l == nil || l.Updated == nil { + return "" } - return t.Source + return *l.Updated } -// GetState returns the State field if it's non-nil, zero value otherwise. -func (t *Timeline) GetState() string { - if t == nil || t.State == nil { +// GetQuery returns the Query field. +func (l *ListIDPGroupsOptions) GetQuery() string { + if l == nil { return "" } - return *t.State + return l.Query } -// GetSubmittedAt returns the SubmittedAt field if it's non-nil, zero value otherwise. -func (t *Timeline) GetSubmittedAt() Timestamp { - if t == nil || t.SubmittedAt == nil { - return Timestamp{} +// GetFeatured returns the Featured field if it's non-nil, zero value otherwise. +func (l *ListLicensesOptions) GetFeatured() bool { + if l == nil || l.Featured == nil { + return false } - return *t.SubmittedAt + return *l.Featured } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (t *Timeline) GetURL() string { - if t == nil || t.URL == nil { +// GetFilter returns the Filter field. +func (l *ListMembersOptions) GetFilter() string { + if l == nil { return "" } - return *t.URL + return l.Filter } -// GetUser returns the User field. -func (t *Timeline) GetUser() *User { - if t == nil { - return nil +// GetPublicOnly returns the PublicOnly field. +func (l *ListMembersOptions) GetPublicOnly() bool { + if l == nil { + return false } - return t.User + return l.PublicOnly } -// GetGUID returns the GUID field if it's non-nil, zero value otherwise. -func (t *Tool) GetGUID() string { - if t == nil || t.GUID == nil { +// GetRole returns the Role field. +func (l *ListMembersOptions) GetRole() string { + if l == nil { return "" } - return *t.GUID + return l.Role } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (t *Tool) GetName() string { - if t == nil || t.Name == nil { - return "" +// GetPage returns the Page field. +func (l *ListOptions) GetPage() int { + if l == nil { + return 0 } - return *t.Name + return l.Page } -// GetVersion returns the Version field if it's non-nil, zero value otherwise. -func (t *Tool) GetVersion() string { - if t == nil || t.Version == nil { - return "" +// GetPerPage returns the PerPage field. +func (l *ListOptions) GetPerPage() int { + if l == nil { + return 0 } - return *t.Version + return l.PerPage } -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (t *TopicResult) GetCreatedAt() Timestamp { - if t == nil || t.CreatedAt == nil { - return Timestamp{} +// GetRepositories returns the Repositories slice if it's non-nil, nil otherwise. +func (l *ListOrganizationCopilotCodingAgentRepositoriesResponse) GetRepositories() []*Repository { + if l == nil || l.Repositories == nil { + return nil } - return *t.CreatedAt + return l.Repositories } -// GetCreatedBy returns the CreatedBy field if it's non-nil, zero value otherwise. -func (t *TopicResult) GetCreatedBy() string { - if t == nil || t.CreatedBy == nil { - return "" +// GetTotalCount returns the TotalCount field. +func (l *ListOrganizationCopilotCodingAgentRepositoriesResponse) GetTotalCount() int { + if l == nil { + return 0 } - return *t.CreatedBy + return l.TotalCount } -// GetCurated returns the Curated field if it's non-nil, zero value otherwise. -func (t *TopicResult) GetCurated() bool { - if t == nil || t.Curated == nil { - return false +// 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 *t.Curated + return l.Organizations } -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (t *TopicResult) GetDescription() string { - if t == nil || t.Description == nil { - return "" +// GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. +func (l *ListOrganizations) GetTotalCount() int { + if l == nil || l.TotalCount == nil { + return 0 } - return *t.Description + return *l.TotalCount } -// GetDisplayName returns the DisplayName field if it's non-nil, zero value otherwise. -func (t *TopicResult) GetDisplayName() string { - if t == nil || t.DisplayName == nil { +// GetAfter returns the After field. +func (l *ListOrgCodeSecurityConfigurationOptions) GetAfter() string { + if l == nil { return "" } - return *t.DisplayName -} - -// GetFeatured returns the Featured field if it's non-nil, zero value otherwise. -func (t *TopicResult) GetFeatured() bool { - if t == nil || t.Featured == nil { - return false - } - return *t.Featured + return l.After } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (t *TopicResult) GetName() string { - if t == nil || t.Name == nil { +// GetBefore returns the Before field. +func (l *ListOrgCodeSecurityConfigurationOptions) GetBefore() string { + if l == nil { return "" } - return *t.Name + return l.Before } -// GetScore returns the Score field if it's non-nil, zero value otherwise. -func (t *TopicResult) GetScore() float64 { - if t == nil || t.Score == nil { +// GetPerPage returns the PerPage field. +func (l *ListOrgCodeSecurityConfigurationOptions) GetPerPage() int { + if l == nil { return 0 } - return *t.Score + return l.PerPage } -// GetShortDescription returns the ShortDescription field if it's non-nil, zero value otherwise. -func (t *TopicResult) GetShortDescription() string { - if t == nil || t.ShortDescription == nil { +// GetTargetType returns the TargetType field. +func (l *ListOrgCodeSecurityConfigurationOptions) GetTargetType() string { + if l == nil { return "" } - return *t.ShortDescription + return l.TargetType } -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (t *TopicResult) GetUpdatedAt() string { - if t == nil || t.UpdatedAt == nil { +// GetState returns the State field. +func (l *ListOrgMembershipsOptions) GetState() string { + if l == nil { return "" } - return *t.UpdatedAt + return l.State } -// GetIncompleteResults returns the IncompleteResults field if it's non-nil, zero value otherwise. -func (t *TopicsSearchResult) GetIncompleteResults() bool { - if t == nil || t.IncompleteResults == nil { - return false +// GetVisibleToRepository returns the VisibleToRepository field. +func (l *ListOrgRunnerGroupOptions) GetVisibleToRepository() string { + if l == nil { + return "" } - return *t.IncompleteResults + return l.VisibleToRepository } -// 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 +// GetFilter returns the Filter field. +func (l *ListOutsideCollaboratorsOptions) GetFilter() string { + if l == nil { + return "" } - return t.Topics + return l.Filter } -// GetTotal returns the Total field if it's non-nil, zero value otherwise. -func (t *TopicsSearchResult) GetTotal() int { - if t == nil || t.Total == nil { - return 0 +// GetState returns the State field. +func (l *ListPackageVersionsOptions) GetState() string { + if l == nil { + return "" } - return *t.Total + return l.State } -// GetTotalActiveCachesCount returns the TotalActiveCachesCount field. -func (t *TotalCacheUsage) GetTotalActiveCachesCount() int { - if t == nil { - return 0 +// 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 t.TotalActiveCachesCount + return l.Fields } -// GetTotalActiveCachesUsageSizeInBytes returns the TotalActiveCachesUsageSizeInBytes field. -func (t *TotalCacheUsage) GetTotalActiveCachesUsageSizeInBytes() int64 { - if t == nil { - return 0 +// GetQuery returns the Query field. +func (l *ListProjectsOptions) GetQuery() string { + if l == nil { + return "" } - return t.TotalActiveCachesUsageSizeInBytes + return l.Query } -// GetPer returns the Per field. -func (t *TrafficBreakdownOptions) GetPer() string { - if t == nil { +// GetAfter returns the After field. +func (l *ListProjectsPaginationOptions) GetAfter() string { + if l == nil { return "" } - return t.Per + return l.After } -// 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 +// GetBefore returns the Before field. +func (l *ListProjectsPaginationOptions) GetBefore() string { + if l == nil { + return "" } - return t.Clones + return l.Before } -// GetCount returns the Count field if it's non-nil, zero value otherwise. -func (t *TrafficClones) GetCount() int { - if t == nil || t.Count == nil { +// GetPerPage returns the PerPage field. +func (l *ListProjectsPaginationOptions) GetPerPage() int { + if l == nil { return 0 } - return *t.Count + return l.PerPage } -// GetUniques returns the Uniques field if it's non-nil, zero value otherwise. -func (t *TrafficClones) GetUniques() int { - if t == nil || t.Uniques == nil { +// GetCount returns the Count field if it's non-nil, zero value otherwise. +func (l *ListProvisionedSCIMGroupsEnterpriseOptions) GetCount() int { + if l == nil || l.Count == nil { return 0 } - return *t.Uniques + return *l.Count } -// GetCount returns the Count field if it's non-nil, zero value otherwise. -func (t *TrafficData) GetCount() int { - if t == nil || t.Count == nil { - return 0 +// GetExcludedAttributes returns the ExcludedAttributes field if it's non-nil, zero value otherwise. +func (l *ListProvisionedSCIMGroupsEnterpriseOptions) GetExcludedAttributes() string { + if l == nil || l.ExcludedAttributes == nil { + return "" } - return *t.Count + return *l.ExcludedAttributes } -// GetTimestamp returns the Timestamp field if it's non-nil, zero value otherwise. -func (t *TrafficData) GetTimestamp() Timestamp { - if t == nil || t.Timestamp == nil { - return Timestamp{} +// GetFilter returns the Filter field if it's non-nil, zero value otherwise. +func (l *ListProvisionedSCIMGroupsEnterpriseOptions) GetFilter() string { + if l == nil || l.Filter == nil { + return "" } - return *t.Timestamp + return *l.Filter } -// GetUniques returns the Uniques field if it's non-nil, zero value otherwise. -func (t *TrafficData) GetUniques() int { - if t == nil || t.Uniques == nil { +// GetStartIndex returns the StartIndex field if it's non-nil, zero value otherwise. +func (l *ListProvisionedSCIMGroupsEnterpriseOptions) GetStartIndex() int { + if l == nil || l.StartIndex == nil { return 0 } - return *t.Uniques + return *l.StartIndex } // GetCount returns the Count field if it's non-nil, zero value otherwise. -func (t *TrafficPath) GetCount() int { - if t == nil || t.Count == nil { +func (l *ListProvisionedSCIMUsersEnterpriseOptions) GetCount() int { + if l == nil || l.Count == nil { return 0 } - return *t.Count + return *l.Count } -// GetPath returns the Path field if it's non-nil, zero value otherwise. -func (t *TrafficPath) GetPath() string { - if t == nil || t.Path == nil { +// GetFilter returns the Filter field if it's non-nil, zero value otherwise. +func (l *ListProvisionedSCIMUsersEnterpriseOptions) GetFilter() string { + if l == nil || l.Filter == nil { return "" } - return *t.Path + return *l.Filter } -// GetTitle returns the Title field if it's non-nil, zero value otherwise. -func (t *TrafficPath) GetTitle() string { - if t == nil || t.Title == nil { +// GetStartIndex returns the StartIndex field if it's non-nil, zero value otherwise. +func (l *ListProvisionedSCIMUsersEnterpriseOptions) GetStartIndex() int { + if l == nil || l.StartIndex == nil { + return 0 + } + return *l.StartIndex +} + +// GetContent returns the Content field. +func (l *ListReactionOptions) GetContent() string { + if l == nil { return "" } - return *t.Title + return l.Content } -// GetUniques returns the Uniques field if it's non-nil, zero value otherwise. -func (t *TrafficPath) GetUniques() int { - if t == nil || t.Uniques == nil { - return 0 +// GetClientIP returns the ClientIP field if it's non-nil, zero value otherwise. +func (l *ListRepoMachineTypesOptions) GetClientIP() string { + if l == nil || l.ClientIP == nil { + return "" } - return *t.Uniques + return *l.ClientIP } -// GetCount returns the Count field if it's non-nil, zero value otherwise. -func (t *TrafficReferrer) GetCount() int { - if t == nil || t.Count == nil { - return 0 +// GetLocation returns the Location field if it's non-nil, zero value otherwise. +func (l *ListRepoMachineTypesOptions) GetLocation() string { + if l == nil || l.Location == nil { + return "" } - return *t.Count + return *l.Location } -// GetReferrer returns the Referrer field if it's non-nil, zero value otherwise. -func (t *TrafficReferrer) GetReferrer() string { - if t == nil || t.Referrer == nil { +// GetRef returns the Ref field if it's non-nil, zero value otherwise. +func (l *ListRepoMachineTypesOptions) GetRef() string { + if l == nil || l.Ref == nil { return "" } - return *t.Referrer + return *l.Ref } -// GetUniques returns the Uniques field if it's non-nil, zero value otherwise. -func (t *TrafficReferrer) GetUniques() int { - if t == nil || t.Uniques == nil { - return 0 +// 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 *t.Uniques + return l.Repositories } -// GetCount returns the Count field if it's non-nil, zero value otherwise. -func (t *TrafficViews) GetCount() int { - if t == nil || t.Count == nil { +// GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. +func (l *ListRepositories) GetTotalCount() int { + if l == nil || l.TotalCount == nil { return 0 } - return *t.Count + return *l.TotalCount } -// GetUniques returns the Uniques field if it's non-nil, zero value otherwise. -func (t *TrafficViews) GetUniques() int { - if t == nil || t.Uniques == nil { - return 0 +// GetActivityType returns the ActivityType field. +func (l *ListRepositoryActivityOptions) GetActivityType() string { + if l == nil { + return "" } - return *t.Uniques + return l.ActivityType } -// 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 +// GetActor returns the Actor field. +func (l *ListRepositoryActivityOptions) GetActor() string { + if l == nil { + return "" } - return t.Views + return l.Actor } -// GetNewName returns the NewName field if it's non-nil, zero value otherwise. -func (t *TransferRequest) GetNewName() string { - if t == nil || t.NewName == nil { +// GetAfter returns the After field. +func (l *ListRepositoryActivityOptions) GetAfter() string { + if l == nil { return "" } - return *t.NewName + return l.After } -// GetNewOwner returns the NewOwner field. -func (t *TransferRequest) GetNewOwner() string { - if t == nil { +// GetBefore returns the Before field. +func (l *ListRepositoryActivityOptions) GetBefore() string { + if l == nil { return "" } - return t.NewOwner + return l.Before } -// 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 +// GetDirection returns the Direction field. +func (l *ListRepositoryActivityOptions) GetDirection() string { + if l == nil { + return "" } - return t.TeamID + return l.Direction } -// 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 +// GetPerPage returns the PerPage field. +func (l *ListRepositoryActivityOptions) GetPerPage() int { + if l == nil { + return 0 } - return t.Entries + return l.PerPage } -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (t *Tree) GetSHA() string { - if t == nil || t.SHA == nil { +// GetRef returns the Ref field. +func (l *ListRepositoryActivityOptions) GetRef() string { + if l == nil { return "" } - return *t.SHA + return l.Ref } -// GetTruncated returns the Truncated field if it's non-nil, zero value otherwise. -func (t *Tree) GetTruncated() bool { - if t == nil || t.Truncated == nil { - return false +// GetTimePeriod returns the TimePeriod field. +func (l *ListRepositoryActivityOptions) GetTimePeriod() string { + if l == nil { + return "" } - return *t.Truncated + return l.TimePeriod } -// GetContent returns the Content field if it's non-nil, zero value otherwise. -func (t *TreeEntry) GetContent() string { - if t == nil || t.Content == nil { +// GetDirection returns the Direction field. +func (l *ListRepositorySecurityAdvisoriesOptions) GetDirection() string { + if l == nil { return "" } - return *t.Content + return l.Direction } -// GetMode returns the Mode field if it's non-nil, zero value otherwise. -func (t *TreeEntry) GetMode() string { - if t == nil || t.Mode == nil { +// GetSort returns the Sort field. +func (l *ListRepositorySecurityAdvisoriesOptions) GetSort() string { + if l == nil { return "" } - return *t.Mode + return l.Sort } -// GetPath returns the Path field if it's non-nil, zero value otherwise. -func (t *TreeEntry) GetPath() string { - if t == nil || t.Path == nil { +// GetState returns the State field. +func (l *ListRepositorySecurityAdvisoriesOptions) GetState() string { + if l == nil { return "" } - return *t.Path + return l.State } -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (t *TreeEntry) GetSHA() string { - if t == nil || t.SHA == nil { +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (l *ListRunnersOptions) GetName() string { + if l == nil || l.Name == nil { return "" } - return *t.SHA + return *l.Name } -// GetSize returns the Size field if it's non-nil, zero value otherwise. -func (t *TreeEntry) GetSize() int { - if t == nil || t.Size == nil { +// GetCount returns the Count field if it's non-nil, zero value otherwise. +func (l *ListSCIMProvisionedIdentitiesOptions) GetCount() int { + if l == nil || l.Count == nil { return 0 } - return *t.Size + return *l.Count } -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (t *TreeEntry) GetType() string { - if t == nil || t.Type == nil { +// GetFilter returns the Filter field if it's non-nil, zero value otherwise. +func (l *ListSCIMProvisionedIdentitiesOptions) GetFilter() string { + if l == nil || l.Filter == nil { return "" } - return *t.Type + return *l.Filter } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (t *TreeEntry) GetURL() string { - if t == nil || t.URL == nil { - return "" +// GetStartIndex returns the StartIndex field if it's non-nil, zero value otherwise. +func (l *ListSCIMProvisionedIdentitiesOptions) GetStartIndex() int { + if l == nil || l.StartIndex == nil { + return 0 } - return *t.URL + return *l.StartIndex } -// GetClientID returns the ClientID field. -func (u *UnauthenticatedRateLimitedTransport) GetClientID() string { - if u == nil { +// GetDirection returns the Direction field. +func (l *ListUserIssuesOptions) GetDirection() string { + if l == nil { return "" } - return u.ClientID + return l.Direction } -// GetClientSecret returns the ClientSecret field. -func (u *UnauthenticatedRateLimitedTransport) GetClientSecret() string { - if u == nil { +// GetFilter returns the Filter field. +func (l *ListUserIssuesOptions) GetFilter() string { + if l == nil { return "" } - return u.ClientSecret + return l.Filter } -// GetRepositories returns the Repositories slice if it's non-nil, nil otherwise. -func (u *UpdateAppInstallationRepositoriesRequest) GetRepositories() []string { - if u == nil || u.Repositories == nil { +// 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 u.Repositories + return l.Labels +} + +// GetSince returns the Since field. +func (l *ListUserIssuesOptions) GetSince() time.Time { + if l == nil { + return time.Time{} + } + return l.Since } -// GetRepositorySelection returns the RepositorySelection field if it's non-nil, zero value otherwise. -func (u *UpdateAppInstallationRepositoriesRequest) GetRepositorySelection() string { - if u == nil || u.RepositorySelection == nil { +// GetSort returns the Sort field. +func (l *ListUserIssuesOptions) GetSort() string { + if l == nil { return "" } - return *u.RepositorySelection + return l.Sort } -// GetOp returns the Op field. -func (u *UpdateAttributeForSCIMUserOperations) GetOp() string { - if u == nil { +// GetState returns the State field. +func (l *ListUserIssuesOptions) GetState() string { + if l == nil { return "" } - return u.Op + return l.State } -// GetPath returns the Path field if it's non-nil, zero value otherwise. -func (u *UpdateAttributeForSCIMUserOperations) GetPath() string { - if u == nil || u.Path == nil { +// GetIsUnmatchedOnly returns the IsUnmatchedOnly field. +func (l *ListVisualStudioSubscriptionsOptions) GetIsUnmatchedOnly() bool { + if l == nil { + return false + } + return l.IsUnmatchedOnly +} + +// GetFilter returns the Filter field. +func (l *ListWorkflowJobsOptions) GetFilter() string { + if l == nil { return "" } - return *u.Path + return l.Filter } -// GetValue returns the Value field. -func (u *UpdateAttributeForSCIMUserOperations) GetValue() json.RawMessage { - if u == nil { - return json.RawMessage{} +// GetActor returns the Actor field. +func (l *ListWorkflowRunsOptions) GetActor() string { + if l == nil { + return "" } - return u.Value + return l.Actor } -// GetOperations returns the Operations slice if it's non-nil, nil otherwise. -func (u *UpdateAttributeForSCIMUserRequest) GetOperations() []*UpdateAttributeForSCIMUserOperations { - if u == nil || u.Operations == nil { - return nil +// GetBranch returns the Branch field. +func (l *ListWorkflowRunsOptions) GetBranch() string { + if l == nil { + return "" } - return u.Operations + return l.Branch } -// GetSchemas returns the Schemas slice if it's non-nil, nil otherwise. -func (u *UpdateAttributeForSCIMUserRequest) GetSchemas() []string { - if u == nil || u.Schemas == nil { - return nil +// GetCheckSuiteID returns the CheckSuiteID field. +func (l *ListWorkflowRunsOptions) GetCheckSuiteID() int64 { + if l == nil { + return 0 } - return u.Schemas + return l.CheckSuiteID } -// GetParameters returns the Parameters field. -func (u *UpdateBranchRule) GetParameters() UpdateRuleParameters { - if u == nil { - return UpdateRuleParameters{} +// GetCreated returns the Created field. +func (l *ListWorkflowRunsOptions) GetCreated() string { + if l == nil { + return "" } - return u.Parameters + return l.Created } -// 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 +// GetEvent returns the Event field. +func (l *ListWorkflowRunsOptions) GetEvent() string { + if l == nil { + return "" } - return u.Actions + return l.Event } -// GetCompletedAt returns the CompletedAt field if it's non-nil, zero value otherwise. -func (u *UpdateCheckRunOptions) GetCompletedAt() Timestamp { - if u == nil || u.CompletedAt == nil { - return Timestamp{} +// GetExcludePullRequests returns the ExcludePullRequests field. +func (l *ListWorkflowRunsOptions) GetExcludePullRequests() bool { + if l == nil { + return false } - return *u.CompletedAt + return l.ExcludePullRequests } -// GetConclusion returns the Conclusion field if it's non-nil, zero value otherwise. -func (u *UpdateCheckRunOptions) GetConclusion() string { - if u == nil || u.Conclusion == nil { +// GetHeadSHA returns the HeadSHA field. +func (l *ListWorkflowRunsOptions) GetHeadSHA() string { + if l == nil { return "" } - return *u.Conclusion + return l.HeadSHA } -// GetDetailsURL returns the DetailsURL field if it's non-nil, zero value otherwise. -func (u *UpdateCheckRunOptions) GetDetailsURL() string { - if u == nil || u.DetailsURL == nil { +// GetStatus returns the Status field. +func (l *ListWorkflowRunsOptions) GetStatus() string { + if l == nil { return "" } - return *u.DetailsURL + return l.Status } -// GetExternalID returns the ExternalID field if it's non-nil, zero value otherwise. -func (u *UpdateCheckRunOptions) GetExternalID() string { - if u == nil || u.ExternalID == nil { - return "" +// GetEndColumn returns the EndColumn field if it's non-nil, zero value otherwise. +func (l *Location) GetEndColumn() int { + if l == nil || l.EndColumn == nil { + return 0 } - return *u.ExternalID + return *l.EndColumn } -// GetName returns the Name field. -func (u *UpdateCheckRunOptions) GetName() string { - if u == nil { - return "" +// GetEndLine returns the EndLine field if it's non-nil, zero value otherwise. +func (l *Location) GetEndLine() int { + if l == nil || l.EndLine == nil { + return 0 } - return u.Name + return *l.EndLine } -// GetOutput returns the Output field. -func (u *UpdateCheckRunOptions) GetOutput() *CheckRunOutput { - if u == nil { - return nil +// GetPath returns the Path field if it's non-nil, zero value otherwise. +func (l *Location) GetPath() string { + if l == nil || l.Path == nil { + return "" } - return u.Output + return *l.Path } -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (u *UpdateCheckRunOptions) GetStatus() string { - if u == nil || u.Status == nil { - return "" +// GetStartColumn returns the StartColumn field if it's non-nil, zero value otherwise. +func (l *Location) GetStartColumn() int { + if l == nil || l.StartColumn == nil { + return 0 } - return *u.Status + return *l.StartColumn } -// GetMachine returns the Machine field if it's non-nil, zero value otherwise. -func (u *UpdateCodespaceOptions) GetMachine() string { - if u == nil || u.Machine == nil { - return "" +// GetStartLine returns the StartLine field if it's non-nil, zero value otherwise. +func (l *Location) GetStartLine() int { + if l == nil || l.StartLine == nil { + return 0 } - return *u.Machine + return *l.StartLine } -// 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 +// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. +func (l *LockBranch) GetEnabled() bool { + if l == nil || l.Enabled == nil { + return false } - return u.RecentFolders + return *l.Enabled } -// GetBody returns the Body field. -func (u *UpdateCommitCommentRequest) GetBody() string { - if u == nil { +// GetLockReason returns the LockReason field. +func (l *LockIssueOptions) GetLockReason() string { + if l == nil { return "" } - return u.Body + return l.LockReason } -// GetGroupID returns the GroupID field. -func (u *UpdateConnectedExternalGroupRequest) GetGroupID() int64 { - if u == nil { - return 0 +// GetHostname returns the Hostname field if it's non-nil, zero value otherwise. +func (m *MaintenanceOperationStatus) GetHostname() string { + if m == nil || m.Hostname == nil { + return "" } - return u.GroupID + return *m.Hostname } -// GetBaseRole returns the BaseRole field if it's non-nil, zero value otherwise. -func (u *UpdateCustomOrgRoleRequest) GetBaseRole() string { - if u == nil || u.BaseRole == nil { +// GetMessage returns the Message field if it's non-nil, zero value otherwise. +func (m *MaintenanceOperationStatus) GetMessage() string { + if m == nil || m.Message == nil { return "" } - return *u.BaseRole + return *m.Message } -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (u *UpdateCustomOrgRoleRequest) GetDescription() string { - if u == nil || u.Description == nil { +// GetUUID returns the UUID field if it's non-nil, zero value otherwise. +func (m *MaintenanceOperationStatus) GetUUID() string { + if m == nil || m.UUID == nil { return "" } - return *u.Description + return *m.UUID } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (u *UpdateCustomOrgRoleRequest) GetName() string { - if u == nil || u.Name == nil { - return "" +// GetEnabled returns the Enabled field. +func (m *MaintenanceOptions) GetEnabled() bool { + if m == nil { + return false } - return *u.Name + return m.Enabled } -// GetPermissions returns the Permissions slice if it's non-nil, nil otherwise. -func (u *UpdateCustomOrgRoleRequest) GetPermissions() []string { - if u == nil || u.Permissions == nil { +// 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 u.Permissions + return m.IPExceptionList } -// GetBaseRole returns the BaseRole field if it's non-nil, zero value otherwise. -func (u *UpdateCustomRepoRoleRequest) GetBaseRole() string { - if u == nil || u.BaseRole == nil { +// GetMaintenanceModeMessage returns the MaintenanceModeMessage field if it's non-nil, zero value otherwise. +func (m *MaintenanceOptions) GetMaintenanceModeMessage() string { + if m == nil || m.MaintenanceModeMessage == nil { return "" } - return *u.BaseRole + return *m.MaintenanceModeMessage } -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (u *UpdateCustomRepoRoleRequest) GetDescription() string { - if u == nil || u.Description == nil { +// GetUUID returns the UUID field if it's non-nil, zero value otherwise. +func (m *MaintenanceOptions) GetUUID() string { + if m == nil || m.UUID == nil { return "" } - return *u.Description + return *m.UUID } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (u *UpdateCustomRepoRoleRequest) GetName() string { - if u == nil || u.Name == nil { +// GetWhen returns the When field if it's non-nil, zero value otherwise. +func (m *MaintenanceOptions) GetWhen() string { + if m == nil || m.When == nil { return "" } - return *u.Name + return *m.When } -// GetPermissions returns the Permissions slice if it's non-nil, nil otherwise. -func (u *UpdateCustomRepoRoleRequest) GetPermissions() []string { - if u == nil || u.Permissions == nil { - return nil +// GetCanUnsetMaintenance returns the CanUnsetMaintenance field if it's non-nil, zero value otherwise. +func (m *MaintenanceStatus) GetCanUnsetMaintenance() bool { + if m == nil || m.CanUnsetMaintenance == nil { + return false } - return u.Permissions + return *m.CanUnsetMaintenance } -// GetLanguages returns the Languages slice if it's non-nil, nil otherwise. -func (u *UpdateDefaultSetupConfigurationOptions) GetLanguages() []string { - if u == nil || u.Languages == nil { +// 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 u.Languages + return m.ConnectionServices } -// GetQuerySuite returns the QuerySuite field if it's non-nil, zero value otherwise. -func (u *UpdateDefaultSetupConfigurationOptions) GetQuerySuite() string { - if u == nil || u.QuerySuite == nil { +// GetHostname returns the Hostname field if it's non-nil, zero value otherwise. +func (m *MaintenanceStatus) GetHostname() string { + if m == nil || m.Hostname == nil { return "" } - return *u.QuerySuite + return *m.Hostname } -// GetState returns the State field. -func (u *UpdateDefaultSetupConfigurationOptions) GetState() string { - if u == nil { - return "" +// 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 u.State + return m.IPExceptionList } -// GetRunID returns the RunID field if it's non-nil, zero value otherwise. -func (u *UpdateDefaultSetupConfigurationResponse) GetRunID() int64 { - if u == nil || u.RunID == nil { - return 0 +// GetMaintenanceModeMessage returns the MaintenanceModeMessage field if it's non-nil, zero value otherwise. +func (m *MaintenanceStatus) GetMaintenanceModeMessage() string { + if m == nil || m.MaintenanceModeMessage == nil { + return "" } - return *u.RunID + return *m.MaintenanceModeMessage } -// GetRunURL returns the RunURL field if it's non-nil, zero value otherwise. -func (u *UpdateDefaultSetupConfigurationResponse) GetRunURL() string { - if u == nil || u.RunURL == nil { - return "" +// GetScheduledTime returns the ScheduledTime field if it's non-nil, zero value otherwise. +func (m *MaintenanceStatus) GetScheduledTime() Timestamp { + if m == nil || m.ScheduledTime == nil { + return Timestamp{} } - return *u.RunURL + return *m.ScheduledTime } -// GetName returns the Name field. -func (u *UpdateDeploymentBranchPolicyRequest) GetName() string { - if u == nil { +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (m *MaintenanceStatus) GetStatus() string { + if m == nil || m.Status == nil { return "" } - return u.Name + return *m.Status } -// GetAllowsPublicRepositories returns the AllowsPublicRepositories field if it's non-nil, zero value otherwise. -func (u *UpdateEnterpriseRunnerGroupRequest) GetAllowsPublicRepositories() bool { - if u == nil || u.AllowsPublicRepositories == nil { - return false +// GetUUID returns the UUID field if it's non-nil, zero value otherwise. +func (m *MaintenanceStatus) GetUUID() string { + if m == nil || m.UUID == nil { + return "" } - return *u.AllowsPublicRepositories + return *m.UUID } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (u *UpdateEnterpriseRunnerGroupRequest) GetName() string { - if u == nil || u.Name == nil { +// GetContext returns the Context field. +func (m *MarkdownOptions) GetContext() string { + if m == nil { return "" } - return *u.Name + return m.Context } -// GetNetworkConfigurationID returns the NetworkConfigurationID field if it's non-nil, zero value otherwise. -func (u *UpdateEnterpriseRunnerGroupRequest) GetNetworkConfigurationID() string { - if u == nil || u.NetworkConfigurationID == nil { +// GetMode returns the Mode field. +func (m *MarkdownOptions) GetMode() string { + if m == nil { return "" } - return *u.NetworkConfigurationID + return m.Mode } -// GetRestrictedToWorkflows returns the RestrictedToWorkflows field if it's non-nil, zero value otherwise. -func (u *UpdateEnterpriseRunnerGroupRequest) GetRestrictedToWorkflows() bool { - if u == nil || u.RestrictedToWorkflows == nil { - return false +// GetEffectiveDate returns the EffectiveDate field if it's non-nil, zero value otherwise. +func (m *MarketplacePendingChange) GetEffectiveDate() Timestamp { + if m == nil || m.EffectiveDate == nil { + return Timestamp{} } - return *u.RestrictedToWorkflows + return *m.EffectiveDate } -// 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 +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (m *MarketplacePendingChange) GetID() int64 { + if m == nil || m.ID == nil { + return 0 } - return u.SelectedWorkflows + return *m.ID } -// GetVisibility returns the Visibility field if it's non-nil, zero value otherwise. -func (u *UpdateEnterpriseRunnerGroupRequest) GetVisibility() string { - if u == nil || u.Visibility == nil { - return "" +// GetPlan returns the Plan field. +func (m *MarketplacePendingChange) GetPlan() *MarketplacePlan { + if m == nil { + return nil } - return *u.Visibility + return m.Plan } -// GetBody returns the Body field. -func (u *UpdateGistCommentRequest) GetBody() string { - if u == nil { - return "" +// GetUnitCount returns the UnitCount field if it's non-nil, zero value otherwise. +func (m *MarketplacePendingChange) GetUnitCount() int { + if m == nil || m.UnitCount == nil { + return 0 } - return u.Body + return *m.UnitCount } -// GetContent returns the Content field if it's non-nil, zero value otherwise. -func (u *UpdateGistFile) GetContent() string { - if u == nil || u.Content == nil { +// GetAccountsURL returns the AccountsURL field if it's non-nil, zero value otherwise. +func (m *MarketplacePlan) GetAccountsURL() string { + if m == nil || m.AccountsURL == nil { return "" } - return *u.Content + return *m.AccountsURL } -// GetFilename returns the Filename field if it's non-nil, zero value otherwise. -func (u *UpdateGistFile) GetFilename() string { - if u == nil || u.Filename == nil { - return "" +// GetBullets returns the Bullets field if it's non-nil, zero value otherwise. +func (m *MarketplacePlan) GetBullets() []string { + if m == nil || m.Bullets == nil { + return nil } - return *u.Filename + return *m.Bullets } // GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (u *UpdateGistRequest) GetDescription() string { - if u == nil || u.Description == nil { +func (m *MarketplacePlan) GetDescription() string { + if m == nil || m.Description == nil { return "" } - return *u.Description + return *m.Description } -// GetEnableStaticIP returns the EnableStaticIP field if it's non-nil, zero value otherwise. -func (u *UpdateHostedRunnerRequest) GetEnableStaticIP() bool { - if u == nil || u.EnableStaticIP == nil { +// GetHasFreeTrial returns the HasFreeTrial field if it's non-nil, zero value otherwise. +func (m *MarketplacePlan) GetHasFreeTrial() bool { + if m == nil || m.HasFreeTrial == nil { return false } - return *u.EnableStaticIP -} - -// GetImageID returns the ImageID field if it's non-nil, zero value otherwise. -func (u *UpdateHostedRunnerRequest) GetImageID() string { - if u == nil || u.ImageID == nil { - return "" - } - return *u.ImageID + return *m.HasFreeTrial } -// GetImageVersion returns the ImageVersion field if it's non-nil, zero value otherwise. -func (u *UpdateHostedRunnerRequest) GetImageVersion() string { - if u == nil || u.ImageVersion == nil { - return "" +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (m *MarketplacePlan) GetID() int64 { + if m == nil || m.ID == nil { + return 0 } - return *u.ImageVersion + return *m.ID } -// GetMaximumRunners returns the MaximumRunners field if it's non-nil, zero value otherwise. -func (u *UpdateHostedRunnerRequest) GetMaximumRunners() int64 { - if u == nil || u.MaximumRunners == nil { +// GetMonthlyPriceInCents returns the MonthlyPriceInCents field if it's non-nil, zero value otherwise. +func (m *MarketplacePlan) GetMonthlyPriceInCents() int { + if m == nil || m.MonthlyPriceInCents == nil { return 0 } - return *u.MaximumRunners + return *m.MonthlyPriceInCents } // GetName returns the Name field if it's non-nil, zero value otherwise. -func (u *UpdateHostedRunnerRequest) GetName() string { - if u == nil || u.Name == nil { +func (m *MarketplacePlan) GetName() string { + if m == nil || m.Name == nil { return "" } - return *u.Name + return *m.Name } -// GetRunnerGroupID returns the RunnerGroupID field if it's non-nil, zero value otherwise. -func (u *UpdateHostedRunnerRequest) GetRunnerGroupID() int64 { - if u == nil || u.RunnerGroupID == nil { +// GetNumber returns the Number field if it's non-nil, zero value otherwise. +func (m *MarketplacePlan) GetNumber() int { + if m == nil || m.Number == nil { return 0 } - return *u.RunnerGroupID -} - -// GetSize returns the Size field if it's non-nil, zero value otherwise. -func (u *UpdateHostedRunnerRequest) GetSize() string { - if u == nil || u.Size == nil { - return "" - } - return *u.Size + return *m.Number } -// GetColor returns the Color field if it's non-nil, zero value otherwise. -func (u *UpdateIssueLabelRequest) GetColor() string { - if u == nil || u.Color == nil { +// GetPriceModel returns the PriceModel field if it's non-nil, zero value otherwise. +func (m *MarketplacePlan) GetPriceModel() string { + if m == nil || m.PriceModel == nil { return "" } - return *u.Color + return *m.PriceModel } -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (u *UpdateIssueLabelRequest) GetDescription() string { - if u == nil || u.Description == nil { +// GetState returns the State field if it's non-nil, zero value otherwise. +func (m *MarketplacePlan) GetState() string { + if m == nil || m.State == nil { return "" } - return *u.Description + return *m.State } -// GetNewName returns the NewName field if it's non-nil, zero value otherwise. -func (u *UpdateIssueLabelRequest) GetNewName() string { - if u == nil || u.NewName == nil { +// GetUnitName returns the UnitName field if it's non-nil, zero value otherwise. +func (m *MarketplacePlan) GetUnitName() string { + if m == nil || m.UnitName == nil { return "" } - return *u.NewName + return *m.UnitName } -// GetAssignee returns the Assignee field if it's non-nil, zero value otherwise. -func (u *UpdateIssueRequest) GetAssignee() string { - if u == nil || u.Assignee == nil { +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (m *MarketplacePlan) GetURL() string { + if m == nil || m.URL == nil { return "" } - return *u.Assignee -} - -// GetAssignees returns the Assignees slice if it's non-nil, nil otherwise. -func (u *UpdateIssueRequest) GetAssignees() []string { - if u == nil || u.Assignees == nil { - return nil - } - return u.Assignees + return *m.URL } -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (u *UpdateIssueRequest) GetBody() string { - if u == nil || u.Body == nil { - return "" +// GetYearlyPriceInCents returns the YearlyPriceInCents field if it's non-nil, zero value otherwise. +func (m *MarketplacePlan) GetYearlyPriceInCents() int { + if m == nil || m.YearlyPriceInCents == nil { + return 0 } - return *u.Body + return *m.YearlyPriceInCents } -// GetDuplicateIssueID returns the DuplicateIssueID field if it's non-nil, zero value otherwise. -func (u *UpdateIssueRequest) GetDuplicateIssueID() int { - if u == nil || u.DuplicateIssueID == nil { +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (m *MarketplacePlanAccount) GetID() int64 { + if m == nil || m.ID == nil { return 0 } - return *u.DuplicateIssueID + return *m.ID } -// GetIssueFieldValues returns the IssueFieldValues slice if it's non-nil, nil otherwise. -func (u *UpdateIssueRequest) GetIssueFieldValues() []*IssueRequestFieldValue { - if u == nil || u.IssueFieldValues == nil { - return nil +// GetLogin returns the Login field if it's non-nil, zero value otherwise. +func (m *MarketplacePlanAccount) GetLogin() string { + if m == nil || m.Login == nil { + return "" } - return u.IssueFieldValues + return *m.Login } -// GetLabels returns the Labels slice if it's non-nil, nil otherwise. -func (u *UpdateIssueRequest) GetLabels() []string { - if u == nil || u.Labels == nil { +// GetMarketplacePendingChange returns the MarketplacePendingChange field. +func (m *MarketplacePlanAccount) GetMarketplacePendingChange() *MarketplacePendingChange { + if m == nil { return nil } - return u.Labels + return m.MarketplacePendingChange } -// GetMilestone returns the Milestone field if it's non-nil, zero value otherwise. -func (u *UpdateIssueRequest) GetMilestone() int { - if u == nil || u.Milestone == nil { - return 0 +// GetMarketplacePurchase returns the MarketplacePurchase field. +func (m *MarketplacePlanAccount) GetMarketplacePurchase() *MarketplacePurchase { + if m == nil { + return nil } - return *u.Milestone + return m.MarketplacePurchase } -// GetState returns the State field if it's non-nil, zero value otherwise. -func (u *UpdateIssueRequest) GetState() string { - if u == nil || u.State == nil { +// GetOrganizationBillingEmail returns the OrganizationBillingEmail field if it's non-nil, zero value otherwise. +func (m *MarketplacePlanAccount) GetOrganizationBillingEmail() string { + if m == nil || m.OrganizationBillingEmail == nil { return "" } - return *u.State + return *m.OrganizationBillingEmail } -// GetStateReason returns the StateReason field if it's non-nil, zero value otherwise. -func (u *UpdateIssueRequest) GetStateReason() string { - if u == nil || u.StateReason == nil { +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (m *MarketplacePlanAccount) GetType() string { + if m == nil || m.Type == nil { return "" } - return *u.StateReason + return *m.Type } -// GetTitle returns the Title field if it's non-nil, zero value otherwise. -func (u *UpdateIssueRequest) GetTitle() string { - if u == nil || u.Title == nil { +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (m *MarketplacePlanAccount) GetURL() string { + if m == nil || m.URL == nil { return "" } - return *u.Title + return *m.URL } -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (u *UpdateIssueRequest) GetType() string { - if u == nil || u.Type == nil { - return "" +// GetAccount returns the Account field. +func (m *MarketplacePurchase) GetAccount() *MarketplacePurchaseAccount { + if m == nil { + return nil } - return *u.Type + return m.Account } -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (u *UpdateMilestoneRequest) GetDescription() string { - if u == nil || u.Description == nil { +// GetBillingCycle returns the BillingCycle field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchase) GetBillingCycle() string { + if m == nil || m.BillingCycle == nil { return "" } - return *u.Description + return *m.BillingCycle } -// GetDueOn returns the DueOn field if it's non-nil, zero value otherwise. -func (u *UpdateMilestoneRequest) GetDueOn() Timestamp { - if u == nil || u.DueOn == nil { +// GetFreeTrialEndsOn returns the FreeTrialEndsOn field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchase) GetFreeTrialEndsOn() Timestamp { + if m == nil || m.FreeTrialEndsOn == nil { return Timestamp{} } - return *u.DueOn + return *m.FreeTrialEndsOn } -// GetState returns the State field if it's non-nil, zero value otherwise. -func (u *UpdateMilestoneRequest) GetState() string { - if u == nil || u.State == nil { - return "" +// GetNextBillingDate returns the NextBillingDate field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchase) GetNextBillingDate() Timestamp { + if m == nil || m.NextBillingDate == nil { + return Timestamp{} } - return *u.State + return *m.NextBillingDate } -// GetTitle returns the Title field if it's non-nil, zero value otherwise. -func (u *UpdateMilestoneRequest) GetTitle() string { - if u == nil || u.Title == nil { - return "" +// GetOnFreeTrial returns the OnFreeTrial field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchase) GetOnFreeTrial() bool { + if m == nil || m.OnFreeTrial == nil { + return false } - return *u.Title + return *m.OnFreeTrial } -// GetAccountID returns the AccountID field if it's non-nil, zero value otherwise. -func (u *UpdateOrganizationPrivateRegistry) GetAccountID() string { - if u == nil || u.AccountID == nil { - return "" +// GetPlan returns the Plan field. +func (m *MarketplacePurchase) GetPlan() *MarketplacePlan { + if m == nil { + return nil } - return *u.AccountID + return m.Plan } -// GetAudience returns the Audience field if it's non-nil, zero value otherwise. -func (u *UpdateOrganizationPrivateRegistry) GetAudience() string { - if u == nil || u.Audience == nil { - return "" +// GetUnitCount returns the UnitCount field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchase) GetUnitCount() int { + if m == nil || m.UnitCount == nil { + return 0 } - return *u.Audience + return *m.UnitCount } -// GetAuthType returns the AuthType field if it's non-nil, zero value otherwise. -func (u *UpdateOrganizationPrivateRegistry) GetAuthType() string { - if u == nil || u.AuthType == nil { - return "" +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchase) GetUpdatedAt() Timestamp { + if m == nil || m.UpdatedAt == nil { + return Timestamp{} } - return *u.AuthType + return *m.UpdatedAt } -// GetAWSRegion returns the AWSRegion field if it's non-nil, zero value otherwise. -func (u *UpdateOrganizationPrivateRegistry) GetAWSRegion() string { - if u == nil || u.AWSRegion == nil { +// GetEmail returns the Email field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchaseAccount) GetEmail() string { + if m == nil || m.Email == nil { return "" } - return *u.AWSRegion + return *m.Email } -// GetClientID returns the ClientID field if it's non-nil, zero value otherwise. -func (u *UpdateOrganizationPrivateRegistry) GetClientID() string { - if u == nil || u.ClientID == nil { - return "" +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchaseAccount) GetID() int64 { + if m == nil || m.ID == nil { + return 0 } - return *u.ClientID + return *m.ID } -// GetDomain returns the Domain field if it's non-nil, zero value otherwise. -func (u *UpdateOrganizationPrivateRegistry) GetDomain() string { - if u == nil || u.Domain == nil { +// GetLogin returns the Login field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchaseAccount) GetLogin() string { + if m == nil || m.Login == nil { return "" } - return *u.Domain + return *m.Login } -// GetDomainOwner returns the DomainOwner field if it's non-nil, zero value otherwise. -func (u *UpdateOrganizationPrivateRegistry) GetDomainOwner() string { - if u == nil || u.DomainOwner == nil { +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchaseAccount) GetNodeID() string { + if m == nil || m.NodeID == nil { return "" } - return *u.DomainOwner + return *m.NodeID } -// GetEncryptedValue returns the EncryptedValue field if it's non-nil, zero value otherwise. -func (u *UpdateOrganizationPrivateRegistry) GetEncryptedValue() string { - if u == nil || u.EncryptedValue == nil { +// GetOrganizationBillingEmail returns the OrganizationBillingEmail field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchaseAccount) GetOrganizationBillingEmail() string { + if m == nil || m.OrganizationBillingEmail == nil { return "" } - return *u.EncryptedValue + return *m.OrganizationBillingEmail } -// GetIdentityMappingName returns the IdentityMappingName field if it's non-nil, zero value otherwise. -func (u *UpdateOrganizationPrivateRegistry) GetIdentityMappingName() string { - if u == nil || u.IdentityMappingName == nil { +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchaseAccount) GetType() string { + if m == nil || m.Type == nil { return "" } - return *u.IdentityMappingName + return *m.Type } -// GetJFrogOIDCProviderName returns the JFrogOIDCProviderName field if it's non-nil, zero value otherwise. -func (u *UpdateOrganizationPrivateRegistry) GetJFrogOIDCProviderName() string { - if u == nil || u.JFrogOIDCProviderName == nil { +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchaseAccount) GetURL() string { + if m == nil || m.URL == nil { return "" } - return *u.JFrogOIDCProviderName + return *m.URL } -// GetKeyID returns the KeyID field if it's non-nil, zero value otherwise. -func (u *UpdateOrganizationPrivateRegistry) GetKeyID() string { - if u == nil || u.KeyID == nil { +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchaseEvent) GetAction() string { + if m == nil || m.Action == nil { return "" } - return *u.KeyID -} - -// GetRegistryType returns the RegistryType field. -func (u *UpdateOrganizationPrivateRegistry) GetRegistryType() *PrivateRegistryType { - if u == nil { - return nil - } - return u.RegistryType + return *m.Action } -// GetReplacesBase returns the ReplacesBase field if it's non-nil, zero value otherwise. -func (u *UpdateOrganizationPrivateRegistry) GetReplacesBase() bool { - if u == nil || u.ReplacesBase == nil { - return false +// GetEffectiveDate returns the EffectiveDate field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchaseEvent) GetEffectiveDate() Timestamp { + if m == nil || m.EffectiveDate == nil { + return Timestamp{} } - return *u.ReplacesBase + return *m.EffectiveDate } -// GetRoleName returns the RoleName field if it's non-nil, zero value otherwise. -func (u *UpdateOrganizationPrivateRegistry) GetRoleName() string { - if u == nil || u.RoleName == nil { - return "" +// GetInstallation returns the Installation field. +func (m *MarketplacePurchaseEvent) GetInstallation() *Installation { + if m == nil { + return nil } - return *u.RoleName + return m.Installation } -// GetSelectedRepositoryIDs returns the SelectedRepositoryIDs slice if it's non-nil, nil otherwise. -func (u *UpdateOrganizationPrivateRegistry) GetSelectedRepositoryIDs() []int64 { - if u == nil || u.SelectedRepositoryIDs == nil { +// GetMarketplacePurchase returns the MarketplacePurchase field. +func (m *MarketplacePurchaseEvent) GetMarketplacePurchase() *MarketplacePurchase { + if m == nil { return nil } - return u.SelectedRepositoryIDs + return m.MarketplacePurchase } -// GetTenantID returns the TenantID field if it's non-nil, zero value otherwise. -func (u *UpdateOrganizationPrivateRegistry) GetTenantID() string { - if u == nil || u.TenantID == nil { - return "" +// GetOrg returns the Org field. +func (m *MarketplacePurchaseEvent) GetOrg() *Organization { + if m == nil { + return nil } - return *u.TenantID + return m.Org } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (u *UpdateOrganizationPrivateRegistry) GetURL() string { - if u == nil || u.URL == nil { - return "" +// GetPreviousMarketplacePurchase returns the PreviousMarketplacePurchase field. +func (m *MarketplacePurchaseEvent) GetPreviousMarketplacePurchase() *MarketplacePurchase { + if m == nil { + return nil } - return *u.URL + return m.PreviousMarketplacePurchase } -// GetUsername returns the Username field if it's non-nil, zero value otherwise. -func (u *UpdateOrganizationPrivateRegistry) GetUsername() string { - if u == nil || u.Username == nil { - return "" +// GetSender returns the Sender field. +func (m *MarketplacePurchaseEvent) GetSender() *User { + if m == nil { + return nil } - return *u.Username + return m.Sender } -// GetVisibility returns the Visibility field. -func (u *UpdateOrganizationPrivateRegistry) GetVisibility() *PrivateRegistryVisibility { - if u == nil { +// 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 u.Visibility + return m.Indices } -// GetEnforcement returns the Enforcement field if it's non-nil, zero value otherwise. -func (u *UpdatePreReceiveHookRequest) GetEnforcement() string { - if u == nil || u.Enforcement == nil { +// GetText returns the Text field if it's non-nil, zero value otherwise. +func (m *Match) GetText() string { + if m == nil || m.Text == nil { return "" } - return *u.Enforcement -} - -// GetArchived returns the Archived field if it's non-nil, zero value otherwise. -func (u *UpdateProjectItemOptions) GetArchived() bool { - if u == nil || u.Archived == nil { - return false - } - return *u.Archived + return *m.Text } -// 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 +// GetParameters returns the Parameters field. +func (m *MaxFilePathLengthBranchRule) GetParameters() MaxFilePathLengthRuleParameters { + if m == nil { + return MaxFilePathLengthRuleParameters{} } - return u.Fields + return m.Parameters } -// GetID returns the ID field. -func (u *UpdateProjectV2Field) GetID() int64 { - if u == nil { +// GetMaxFilePathLength returns the MaxFilePathLength field. +func (m *MaxFilePathLengthRuleParameters) GetMaxFilePathLength() int { + if m == nil { return 0 } - return u.ID + return m.MaxFilePathLength } -// GetValue returns the Value field. -func (u *UpdateProjectV2Field) GetValue() any { - if u == nil { - return nil +// GetParameters returns the Parameters field. +func (m *MaxFileSizeBranchRule) GetParameters() MaxFileSizeRuleParameters { + if m == nil { + return MaxFileSizeRuleParameters{} } - return u.Value + return m.Parameters } -// GetActive returns the Active field if it's non-nil, zero value otherwise. -func (u *UpdateProvisionedOrgMembershipRequest) GetActive() bool { - if u == nil || u.Active == nil { - return false +// GetMaxFileSize returns the MaxFileSize field. +func (m *MaxFileSizeRuleParameters) GetMaxFileSize() int64 { + if m == nil { + return 0 } - return *u.Active + return m.MaxFileSize } -// GetDisplayName returns the DisplayName field if it's non-nil, zero value otherwise. -func (u *UpdateProvisionedOrgMembershipRequest) GetDisplayName() string { - if u == nil || u.DisplayName == nil { - return "" +// GetPermission returns the Permission field. +func (m *MemberChanges) GetPermission() *MemberChangesPermission { + if m == nil { + return nil } - return *u.DisplayName + return m.Permission } -// GetEmails returns the Emails slice if it's non-nil, nil otherwise. -func (u *UpdateProvisionedOrgMembershipRequest) GetEmails() []*SCIMUserEmail { - if u == nil || u.Emails == nil { +// GetRoleName returns the RoleName field. +func (m *MemberChanges) GetRoleName() *MemberChangesRoleName { + if m == nil { return nil } - return u.Emails + return m.RoleName } -// GetExternalID returns the ExternalID field if it's non-nil, zero value otherwise. -func (u *UpdateProvisionedOrgMembershipRequest) GetExternalID() string { - if u == nil || u.ExternalID == nil { +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (m *MemberChangesPermission) GetFrom() string { + if m == nil || m.From == nil { return "" } - return *u.ExternalID -} - -// GetGroups returns the Groups slice if it's non-nil, nil otherwise. -func (u *UpdateProvisionedOrgMembershipRequest) GetGroups() []string { - if u == nil || u.Groups == nil { - return nil - } - return u.Groups + return *m.From } -// GetName returns the Name field. -func (u *UpdateProvisionedOrgMembershipRequest) GetName() SCIMUserName { - if u == nil { - return SCIMUserName{} +// GetTo returns the To field if it's non-nil, zero value otherwise. +func (m *MemberChangesPermission) GetTo() string { + if m == nil || m.To == nil { + return "" } - return u.Name + return *m.To } -// GetSchemas returns the Schemas slice if it's non-nil, nil otherwise. -func (u *UpdateProvisionedOrgMembershipRequest) GetSchemas() []string { - if u == nil || u.Schemas == nil { - return nil +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (m *MemberChangesRoleName) GetFrom() string { + if m == nil || m.From == nil { + return "" } - return u.Schemas + return *m.From } -// GetUserName returns the UserName field. -func (u *UpdateProvisionedOrgMembershipRequest) GetUserName() string { - if u == nil { +// GetTo returns the To field if it's non-nil, zero value otherwise. +func (m *MemberChangesRoleName) GetTo() string { + if m == nil || m.To == nil { return "" } - return u.UserName + return *m.To } -// GetBody returns the Body field. -func (u *UpdatePullRequestCommentRequest) GetBody() string { - if u == nil { +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (m *MemberEvent) GetAction() string { + if m == nil || m.Action == nil { return "" } - return u.Body + return *m.Action } -// GetForce returns the Force field if it's non-nil, zero value otherwise. -func (u *UpdateRef) GetForce() bool { - if u == nil || u.Force == nil { - return false +// GetChanges returns the Changes field. +func (m *MemberEvent) GetChanges() *MemberChanges { + if m == nil { + return nil } - return *u.Force + return m.Changes } -// GetSHA returns the SHA field. -func (u *UpdateRef) GetSHA() string { - if u == nil { - return "" +// GetInstallation returns the Installation field. +func (m *MemberEvent) GetInstallation() *Installation { + if m == nil { + return nil } - return u.SHA + return m.Installation } -// GetLabel returns the Label field if it's non-nil, zero value otherwise. -func (u *UpdateReleaseAssetRequest) GetLabel() string { - if u == nil || u.Label == nil { - return "" +// GetMember returns the Member field. +func (m *MemberEvent) GetMember() *User { + if m == nil { + return nil } - return *u.Label + return m.Member } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (u *UpdateReleaseAssetRequest) GetName() string { - if u == nil || u.Name == nil { - return "" +// GetOrg returns the Org field. +func (m *MemberEvent) GetOrg() *Organization { + if m == nil { + return nil } - return *u.Name + return m.Org } -// GetState returns the State field if it's non-nil, zero value otherwise. -func (u *UpdateReleaseAssetRequest) GetState() string { - if u == nil || u.State == nil { - return "" +// GetRepo returns the Repo field. +func (m *MemberEvent) GetRepo() *Repository { + if m == nil { + return nil } - return *u.State + return m.Repo } -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (u *UpdateReleaseRequest) GetBody() string { - if u == nil || u.Body == nil { - return "" +// GetSender returns the Sender field. +func (m *MemberEvent) GetSender() *User { + if m == nil { + return nil } - return *u.Body + return m.Sender } -// GetDiscussionCategoryName returns the DiscussionCategoryName field if it's non-nil, zero value otherwise. -func (u *UpdateReleaseRequest) GetDiscussionCategoryName() string { - if u == nil || u.DiscussionCategoryName == nil { - return "" +// GetOrganization returns the Organization field. +func (m *Membership) GetOrganization() *Organization { + if m == nil { + return nil } - return *u.DiscussionCategoryName + return m.Organization } -// GetDraft returns the Draft field if it's non-nil, zero value otherwise. -func (u *UpdateReleaseRequest) GetDraft() bool { - if u == nil || u.Draft == nil { - return false +// GetOrganizationURL returns the OrganizationURL field if it's non-nil, zero value otherwise. +func (m *Membership) GetOrganizationURL() string { + if m == nil || m.OrganizationURL == nil { + return "" } - return *u.Draft + return *m.OrganizationURL } -// GetMakeLatest returns the MakeLatest field if it's non-nil, zero value otherwise. -func (u *UpdateReleaseRequest) GetMakeLatest() string { - if u == nil || u.MakeLatest == nil { +// GetRole returns the Role field if it's non-nil, zero value otherwise. +func (m *Membership) GetRole() string { + if m == nil || m.Role == nil { return "" } - return *u.MakeLatest + return *m.Role } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (u *UpdateReleaseRequest) GetName() string { - if u == nil || u.Name == nil { +// GetState returns the State field if it's non-nil, zero value otherwise. +func (m *Membership) GetState() string { + if m == nil || m.State == nil { return "" } - return *u.Name + return *m.State } -// GetPrerelease returns the Prerelease field if it's non-nil, zero value otherwise. -func (u *UpdateReleaseRequest) GetPrerelease() bool { - if u == nil || u.Prerelease == nil { - return false +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (m *Membership) GetURL() string { + if m == nil || m.URL == nil { + return "" } - return *u.Prerelease + return *m.URL } -// GetTagName returns the TagName field if it's non-nil, zero value otherwise. -func (u *UpdateReleaseRequest) GetTagName() string { - if u == nil || u.TagName == nil { - return "" +// GetUser returns the User field. +func (m *Membership) GetUser() *User { + if m == nil { + return nil } - return *u.TagName + return m.User } -// GetTargetCommitish returns the TargetCommitish field if it's non-nil, zero value otherwise. -func (u *UpdateReleaseRequest) GetTargetCommitish() string { - if u == nil || u.TargetCommitish == nil { +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (m *MembershipEvent) GetAction() string { + if m == nil || m.Action == nil { return "" } - return *u.TargetCommitish + return *m.Action } -// GetUpdateAllowsFetchAndMerge returns the UpdateAllowsFetchAndMerge field. -func (u *UpdateRuleParameters) GetUpdateAllowsFetchAndMerge() bool { - if u == nil { - return false +// GetInstallation returns the Installation field. +func (m *MembershipEvent) GetInstallation() *Installation { + if m == nil { + return nil } - return u.UpdateAllowsFetchAndMerge + return m.Installation } -// GetAllowsPublicRepositories returns the AllowsPublicRepositories field if it's non-nil, zero value otherwise. -func (u *UpdateRunnerGroupRequest) GetAllowsPublicRepositories() bool { - if u == nil || u.AllowsPublicRepositories == nil { - return false +// GetMember returns the Member field. +func (m *MembershipEvent) GetMember() *User { + if m == nil { + return nil } - return *u.AllowsPublicRepositories + return m.Member } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (u *UpdateRunnerGroupRequest) GetName() string { - if u == nil || u.Name == nil { - return "" +// GetOrg returns the Org field. +func (m *MembershipEvent) GetOrg() *Organization { + if m == nil { + return nil } - return *u.Name + return m.Org } -// GetNetworkConfigurationID returns the NetworkConfigurationID field if it's non-nil, zero value otherwise. -func (u *UpdateRunnerGroupRequest) GetNetworkConfigurationID() string { - if u == nil || u.NetworkConfigurationID == nil { +// GetScope returns the Scope field if it's non-nil, zero value otherwise. +func (m *MembershipEvent) GetScope() string { + if m == nil || m.Scope == nil { return "" } - return *u.NetworkConfigurationID + return *m.Scope } -// GetRestrictedToWorkflows returns the RestrictedToWorkflows field if it's non-nil, zero value otherwise. -func (u *UpdateRunnerGroupRequest) GetRestrictedToWorkflows() bool { - if u == nil || u.RestrictedToWorkflows == nil { - return false +// GetSender returns the Sender field. +func (m *MembershipEvent) GetSender() *User { + if m == nil { + return nil } - return *u.RestrictedToWorkflows + return m.Sender } -// GetSelectedWorkflows returns the SelectedWorkflows slice if it's non-nil, nil otherwise. -func (u *UpdateRunnerGroupRequest) GetSelectedWorkflows() []string { - if u == nil || u.SelectedWorkflows == nil { +// GetTeam returns the Team field. +func (m *MembershipEvent) GetTeam() *Team { + if m == nil { return nil } - return u.SelectedWorkflows + return m.Team } -// GetVisibility returns the Visibility field if it's non-nil, zero value otherwise. -func (u *UpdateRunnerGroupRequest) GetVisibility() string { - if u == nil || u.Visibility == nil { +// GetBaseRef returns the BaseRef field if it's non-nil, zero value otherwise. +func (m *MergeGroup) GetBaseRef() string { + if m == nil || m.BaseRef == nil { return "" } - return *u.Visibility + return *m.BaseRef } -// GetLDAPDN returns the LDAPDN field. -func (u *UpdateTeamLDAPMappingRequest) GetLDAPDN() string { - if u == nil { +// GetBaseSHA returns the BaseSHA field if it's non-nil, zero value otherwise. +func (m *MergeGroup) GetBaseSHA() string { + if m == nil || m.BaseSHA == nil { return "" } - return u.LDAPDN + return *m.BaseSHA } -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (u *UpdateTeamRequest) GetDescription() string { - if u == nil || u.Description == nil { - return "" +// GetHeadCommit returns the HeadCommit field. +func (m *MergeGroup) GetHeadCommit() *Commit { + if m == nil { + return nil } - return *u.Description + return m.HeadCommit } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (u *UpdateTeamRequest) GetName() string { - if u == nil || u.Name == nil { +// GetHeadRef returns the HeadRef field if it's non-nil, zero value otherwise. +func (m *MergeGroup) GetHeadRef() string { + if m == nil || m.HeadRef == nil { return "" } - return *u.Name + return *m.HeadRef } -// GetNotificationSetting returns the NotificationSetting field if it's non-nil, zero value otherwise. -func (u *UpdateTeamRequest) GetNotificationSetting() string { - if u == nil || u.NotificationSetting == nil { +// GetHeadSHA returns the HeadSHA field if it's non-nil, zero value otherwise. +func (m *MergeGroup) GetHeadSHA() string { + if m == nil || m.HeadSHA == nil { return "" } - return *u.NotificationSetting -} - -// GetParentTeamID returns the ParentTeamID field if it's non-nil, zero value otherwise. -func (u *UpdateTeamRequest) GetParentTeamID() int64 { - if u == nil || u.ParentTeamID == nil { - return 0 - } - return *u.ParentTeamID + return *m.HeadSHA } -// GetParentTeamSlug returns the ParentTeamSlug field if it's non-nil, zero value otherwise. -func (u *UpdateTeamRequest) GetParentTeamSlug() string { - if u == nil || u.ParentTeamSlug == nil { +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (m *MergeGroupEvent) GetAction() string { + if m == nil || m.Action == nil { return "" } - return *u.ParentTeamSlug + return *m.Action } -// GetPermission returns the Permission field if it's non-nil, zero value otherwise. -func (u *UpdateTeamRequest) GetPermission() string { - if u == nil || u.Permission == nil { - return "" +// GetInstallation returns the Installation field. +func (m *MergeGroupEvent) GetInstallation() *Installation { + if m == nil { + return nil } - return *u.Permission + return m.Installation } -// GetPrivacy returns the Privacy field if it's non-nil, zero value otherwise. -func (u *UpdateTeamRequest) GetPrivacy() string { - if u == nil || u.Privacy == nil { - return "" +// GetMergeGroup returns the MergeGroup field. +func (m *MergeGroupEvent) GetMergeGroup() *MergeGroup { + if m == nil { + return nil } - return *u.Privacy + return m.MergeGroup } -// GetRemoveParentTeam returns the RemoveParentTeam field. -func (u *UpdateTeamRequest) GetRemoveParentTeam() bool { - if u == nil { - return false +// GetOrg returns the Org field. +func (m *MergeGroupEvent) GetOrg() *Organization { + if m == nil { + return nil } - return u.RemoveParentTeam + return m.Org } -// GetLDAPDN returns the LDAPDN field. -func (u *UpdateUserLDAPMappingRequest) GetLDAPDN() string { - if u == nil { +// GetReason returns the Reason field if it's non-nil, zero value otherwise. +func (m *MergeGroupEvent) GetReason() string { + if m == nil || m.Reason == nil { return "" } - return u.LDAPDN + return *m.Reason } -// GetLicense returns the License field. -func (u *UploadLicenseOptions) GetLicense() string { - if u == nil { - return "" +// GetRepo returns the Repo field. +func (m *MergeGroupEvent) GetRepo() *Repository { + if m == nil { + return nil } - return u.License + return m.Repo } -// GetLabel returns the Label field. -func (u *UploadOptions) GetLabel() string { - if u == nil { - return "" +// GetSender returns the Sender field. +func (m *MergeGroupEvent) GetSender() *User { + if m == nil { + return nil } - return u.Label + return m.Sender } -// GetMediaType returns the MediaType field. -func (u *UploadOptions) GetMediaType() string { - if u == nil { - return "" +// GetParameters returns the Parameters field. +func (m *MergeQueueBranchRule) GetParameters() MergeQueueRuleParameters { + if m == nil { + return MergeQueueRuleParameters{} } - return u.MediaType + return m.Parameters } -// GetName returns the Name field. -func (u *UploadOptions) GetName() string { - if u == nil { - return "" +// GetCheckResponseTimeoutMinutes returns the CheckResponseTimeoutMinutes field. +func (m *MergeQueueRuleParameters) GetCheckResponseTimeoutMinutes() int { + if m == nil { + return 0 } - return u.Name + return m.CheckResponseTimeoutMinutes } -// GetDate returns the Date field. -func (u *UsageItem) GetDate() string { - if u == nil { +// GetGroupingStrategy returns the GroupingStrategy field. +func (m *MergeQueueRuleParameters) GetGroupingStrategy() MergeGroupingStrategy { + if m == nil { return "" } - return u.Date + return m.GroupingStrategy } -// GetDiscountAmount returns the DiscountAmount field. -func (u *UsageItem) GetDiscountAmount() float64 { - if u == nil { +// GetMaxEntriesToBuild returns the MaxEntriesToBuild field. +func (m *MergeQueueRuleParameters) GetMaxEntriesToBuild() int { + if m == nil { return 0 } - return u.DiscountAmount + return m.MaxEntriesToBuild } -// GetGrossAmount returns the GrossAmount field. -func (u *UsageItem) GetGrossAmount() float64 { - if u == nil { +// GetMaxEntriesToMerge returns the MaxEntriesToMerge field. +func (m *MergeQueueRuleParameters) GetMaxEntriesToMerge() int { + if m == nil { return 0 } - return u.GrossAmount + return m.MaxEntriesToMerge } -// GetNetAmount returns the NetAmount field. -func (u *UsageItem) GetNetAmount() float64 { - if u == nil { - return 0 +// GetMergeMethod returns the MergeMethod field. +func (m *MergeQueueRuleParameters) GetMergeMethod() MergeQueueMergeMethod { + if m == nil { + return "" } - return u.NetAmount + return m.MergeMethod } -// GetOrganizationName returns the OrganizationName field if it's non-nil, zero value otherwise. -func (u *UsageItem) GetOrganizationName() string { - if u == nil || u.OrganizationName == nil { - return "" +// GetMinEntriesToMerge returns the MinEntriesToMerge field. +func (m *MergeQueueRuleParameters) GetMinEntriesToMerge() int { + if m == nil { + return 0 } - return *u.OrganizationName + return m.MinEntriesToMerge } -// GetPricePerUnit returns the PricePerUnit field. -func (u *UsageItem) GetPricePerUnit() float64 { - if u == nil { +// GetMinEntriesToMergeWaitMinutes returns the MinEntriesToMergeWaitMinutes field. +func (m *MergeQueueRuleParameters) GetMinEntriesToMergeWaitMinutes() int { + if m == nil { return 0 } - return u.PricePerUnit + return m.MinEntriesToMergeWaitMinutes } -// GetProduct returns the Product field. -func (u *UsageItem) GetProduct() string { - if u == nil { +// GetText returns the Text field if it's non-nil, zero value otherwise. +func (m *Message) GetText() string { + if m == nil || m.Text == nil { return "" } - return u.Product + return *m.Text } -// GetQuantity returns the Quantity field. -func (u *UsageItem) GetQuantity() float64 { - if u == nil { - return 0 +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (m *MetaEvent) GetAction() string { + if m == nil || m.Action == nil { + return "" } - return u.Quantity + return *m.Action } -// GetRepositoryName returns the RepositoryName field if it's non-nil, zero value otherwise. -func (u *UsageItem) GetRepositoryName() string { - if u == nil || u.RepositoryName == nil { - return "" +// GetHook returns the Hook field. +func (m *MetaEvent) GetHook() *Hook { + if m == nil { + return nil } - return *u.RepositoryName + return m.Hook } -// GetSKU returns the SKU field. -func (u *UsageItem) GetSKU() string { - if u == nil { - return "" +// GetHookID returns the HookID field if it's non-nil, zero value otherwise. +func (m *MetaEvent) GetHookID() int64 { + if m == nil || m.HookID == nil { + return 0 } - return u.SKU + return *m.HookID } -// GetUnitType returns the UnitType field. -func (u *UsageItem) GetUnitType() string { - if u == nil { - return "" +// GetInstallation returns the Installation field. +func (m *MetaEvent) GetInstallation() *Installation { + if m == nil { + return nil } - return u.UnitType + return m.Installation } -// GetUsageItems returns the UsageItems slice if it's non-nil, nil otherwise. -func (u *UsageReport) GetUsageItems() []*UsageItem { - if u == nil || u.UsageItems == nil { +// GetOrg returns the Org field. +func (m *MetaEvent) GetOrg() *Organization { + if m == nil { return nil } - return u.UsageItems + return m.Org } -// GetDay returns the Day field if it's non-nil, zero value otherwise. -func (u *UsageReportOptions) GetDay() int { - if u == nil || u.Day == nil { - return 0 +// GetRepo returns the Repo field. +func (m *MetaEvent) GetRepo() *Repository { + if m == nil { + return nil } - return *u.Day + return m.Repo } -// GetHour returns the Hour field if it's non-nil, zero value otherwise. -func (u *UsageReportOptions) GetHour() int { - if u == nil || u.Hour == nil { - return 0 +// GetSender returns the Sender field. +func (m *MetaEvent) GetSender() *User { + if m == nil { + return nil } - return *u.Hour + return m.Sender } -// GetMonth returns the Month field if it's non-nil, zero value otherwise. -func (u *UsageReportOptions) GetMonth() int { - if u == nil || u.Month == nil { - return 0 +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (m *Metric) GetHTMLURL() string { + if m == nil || m.HTMLURL == nil { + return "" } - return *u.Month + return *m.HTMLURL } -// GetYear returns the Year field if it's non-nil, zero value otherwise. -func (u *UsageReportOptions) GetYear() int { - if u == nil || u.Year == nil { - return 0 +// GetKey returns the Key field if it's non-nil, zero value otherwise. +func (m *Metric) GetKey() string { + if m == nil || m.Key == nil { + return "" } - return *u.Year + return *m.Key } -// GetAssignment returns the Assignment field if it's non-nil, zero value otherwise. -func (u *User) GetAssignment() string { - if u == nil || u.Assignment == nil { +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (m *Metric) GetName() string { + if m == nil || m.Name == nil { return "" } - return *u.Assignment + return *m.Name } -// GetAvatarURL returns the AvatarURL field if it's non-nil, zero value otherwise. -func (u *User) GetAvatarURL() string { - if u == nil || u.AvatarURL == nil { +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (m *Metric) GetNodeID() string { + if m == nil || m.NodeID == nil { return "" } - return *u.AvatarURL + return *m.NodeID } -// GetBio returns the Bio field if it's non-nil, zero value otherwise. -func (u *User) GetBio() string { - if u == nil || u.Bio == nil { +// GetSPDXID returns the SPDXID field if it's non-nil, zero value otherwise. +func (m *Metric) GetSPDXID() string { + if m == nil || m.SPDXID == nil { return "" } - return *u.Bio + return *m.SPDXID } -// GetBlog returns the Blog field if it's non-nil, zero value otherwise. -func (u *User) GetBlog() string { - if u == nil || u.Blog == nil { +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (m *Metric) GetURL() string { + if m == nil || m.URL == nil { return "" } - return *u.Blog + return *m.URL } -// GetBusinessPlus returns the BusinessPlus field if it's non-nil, zero value otherwise. -func (u *User) GetBusinessPlus() bool { - if u == nil || u.BusinessPlus == nil { - return false +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (m *Migration) GetCreatedAt() string { + if m == nil || m.CreatedAt == nil { + return "" } - return *u.BusinessPlus + return *m.CreatedAt } -// GetCollaborators returns the Collaborators field if it's non-nil, zero value otherwise. -func (u *User) GetCollaborators() int { - if u == nil || u.Collaborators == nil { - return 0 +// GetExcludeAttachments returns the ExcludeAttachments field if it's non-nil, zero value otherwise. +func (m *Migration) GetExcludeAttachments() bool { + if m == nil || m.ExcludeAttachments == nil { + return false } - return *u.Collaborators + return *m.ExcludeAttachments } -// GetCompany returns the Company field if it's non-nil, zero value otherwise. -func (u *User) GetCompany() string { - if u == nil || u.Company == nil { +// GetGUID returns the GUID field if it's non-nil, zero value otherwise. +func (m *Migration) GetGUID() string { + if m == nil || m.GUID == nil { return "" } - return *u.Company + return *m.GUID } -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (u *User) GetCreatedAt() Timestamp { - if u == nil || u.CreatedAt == nil { - return Timestamp{} +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (m *Migration) GetID() int64 { + if m == nil || m.ID == nil { + return 0 } - return *u.CreatedAt + return *m.ID } -// GetDiskUsage returns the DiskUsage field if it's non-nil, zero value otherwise. -func (u *User) GetDiskUsage() int { - if u == nil || u.DiskUsage == nil { - return 0 +// GetLockRepositories returns the LockRepositories field if it's non-nil, zero value otherwise. +func (m *Migration) GetLockRepositories() bool { + if m == nil || m.LockRepositories == nil { + return false } - return *u.DiskUsage + return *m.LockRepositories } -// GetEmail returns the Email field if it's non-nil, zero value otherwise. -func (u *User) GetEmail() string { - if u == nil || u.Email == nil { - return "" +// 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 *u.Email + return m.Repositories } - -// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise. -func (u *User) GetEventsURL() string { - if u == nil || u.EventsURL == nil { - return "" +// 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 *u.EventsURL + return r.TextMatches } -// GetFollowers returns the Followers field if it's non-nil, zero value otherwise. -func (u *User) GetFollowers() int { - if u == nil || u.Followers == nil { - return 0 +// 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 *u.Followers + return r.Topics } -// GetFollowersURL returns the FollowersURL field if it's non-nil, zero value otherwise. -func (u *User) GetFollowersURL() string { - if u == nil || u.FollowersURL == nil { +// GetTreesURL returns the TreesURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetTreesURL() string { + if r == nil || r.TreesURL == nil { return "" } - return *u.FollowersURL + return *r.TreesURL } -// GetFollowing returns the Following field if it's non-nil, zero value otherwise. -func (u *User) GetFollowing() int { - if u == nil || u.Following == nil { - return 0 +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (r *Repository) GetUpdatedAt() Timestamp { + if r == nil || r.UpdatedAt == nil { + return Timestamp{} } - return *u.Following + return *r.UpdatedAt } -// GetFollowingURL returns the FollowingURL field if it's non-nil, zero value otherwise. -func (u *User) GetFollowingURL() string { - if u == nil || u.FollowingURL == nil { +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (r *Repository) GetURL() string { + if r == nil || r.URL == nil { return "" } - return *u.FollowingURL + return *r.URL } -// GetGistsURL returns the GistsURL field if it's non-nil, zero value otherwise. -func (u *User) GetGistsURL() string { - if u == nil || u.GistsURL == nil { - return "" +// GetUseSquashPRTitleAsDefault returns the UseSquashPRTitleAsDefault field if it's non-nil, zero value otherwise. +func (r *Repository) GetUseSquashPRTitleAsDefault() bool { + if r == nil || r.UseSquashPRTitleAsDefault == nil { + return false } - return *u.GistsURL + return *r.UseSquashPRTitleAsDefault } -// GetGravatarID returns the GravatarID field if it's non-nil, zero value otherwise. -func (u *User) GetGravatarID() string { - if u == nil || u.GravatarID == nil { +// GetVisibility returns the Visibility field if it's non-nil, zero value otherwise. +func (r *Repository) GetVisibility() string { + if r == nil || r.Visibility == nil { return "" } - return *u.GravatarID -} - -// GetHireable returns the Hireable field if it's non-nil, zero value otherwise. -func (u *User) GetHireable() bool { - if u == nil || u.Hireable == nil { - return false - } - return *u.Hireable + return *r.Visibility } -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (u *User) GetHTMLURL() string { - if u == nil || u.HTMLURL == nil { - return "" +// GetWatchers returns the Watchers field if it's non-nil, zero value otherwise. +func (r *Repository) GetWatchers() int { + if r == nil || r.Watchers == nil { + return 0 } - return *u.HTMLURL + return *r.Watchers } -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (u *User) GetID() int64 { - if u == nil || u.ID == nil { +// GetWatchersCount returns the WatchersCount field if it's non-nil, zero value otherwise. +func (r *Repository) GetWatchersCount() int { + if r == nil || r.WatchersCount == nil { return 0 } - return *u.ID + return *r.WatchersCount } -// GetInherited returns the Inherited field if it's non-nil, zero value otherwise. -func (u *User) GetInherited() bool { - if u == nil || u.Inherited == nil { +// GetWebCommitSignoffRequired returns the WebCommitSignoffRequired field if it's non-nil, zero value otherwise. +func (r *Repository) GetWebCommitSignoffRequired() bool { + if r == nil || r.WebCommitSignoffRequired == nil { return false } - return *u.Inherited + return *r.WebCommitSignoffRequired } -// 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 +// GetAccessLevel returns the AccessLevel field if it's non-nil, zero value otherwise. +func (r *RepositoryActionsAccessLevel) GetAccessLevel() string { + if r == nil || r.AccessLevel == nil { + return "" } - return u.InheritedFrom + return *r.AccessLevel } -// GetLdapDn returns the LdapDn field if it's non-nil, zero value otherwise. -func (u *User) GetLdapDn() string { - if u == nil || u.LdapDn == nil { - return "" +// GetAdvancedSecurityCommitters returns the AdvancedSecurityCommitters field. +func (r *RepositoryActiveCommitters) GetAdvancedSecurityCommitters() int { + if r == nil { + return 0 } - return *u.LdapDn + return r.AdvancedSecurityCommitters } -// GetLocation returns the Location field if it's non-nil, zero value otherwise. -func (u *User) GetLocation() string { - if u == nil || u.Location == nil { - return "" +// 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 *u.Location + return r.AdvancedSecurityCommittersBreakdown } -// GetLogin returns the Login field if it's non-nil, zero value otherwise. -func (u *User) GetLogin() string { - if u == nil || u.Login == nil { +// GetName returns the Name field. +func (r *RepositoryActiveCommitters) GetName() string { + if r == nil { return "" } - return *u.Login + return r.Name } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (u *User) GetName() string { - if u == nil || u.Name == nil { +// GetActivityType returns the ActivityType field. +func (r *RepositoryActivity) GetActivityType() string { + if r == nil { return "" } - return *u.Name + return r.ActivityType } -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (u *User) GetNodeID() string { - if u == nil || u.NodeID == nil { - return "" +// GetActor returns the Actor field. +func (r *RepositoryActivity) GetActor() *RepositoryActor { + if r == nil { + return nil } - return *u.NodeID + return r.Actor } -// GetNotificationEmail returns the NotificationEmail field if it's non-nil, zero value otherwise. -func (u *User) GetNotificationEmail() string { - if u == nil || u.NotificationEmail == nil { +// GetAfter returns the After field. +func (r *RepositoryActivity) GetAfter() string { + if r == nil { return "" } - return *u.NotificationEmail + return r.After } -// GetOrganizationsURL returns the OrganizationsURL field if it's non-nil, zero value otherwise. -func (u *User) GetOrganizationsURL() string { - if u == nil || u.OrganizationsURL == nil { +// GetBefore returns the Before field. +func (r *RepositoryActivity) GetBefore() string { + if r == nil { return "" } - return *u.OrganizationsURL + return r.Before } -// GetOwnedPrivateRepos returns the OwnedPrivateRepos field if it's non-nil, zero value otherwise. -func (u *User) GetOwnedPrivateRepos() int64 { - if u == nil || u.OwnedPrivateRepos == nil { +// GetID returns the ID field. +func (r *RepositoryActivity) GetID() int64 { + if r == nil { return 0 } - return *u.OwnedPrivateRepos + return r.ID } -// GetPermissions returns the Permissions field. -func (u *User) GetPermissions() *RepositoryPermissions { - if u == nil { - return nil +// GetNodeID returns the NodeID field. +func (r *RepositoryActivity) GetNodeID() string { + if r == nil { + return "" } - return u.Permissions + return r.NodeID } -// GetPlan returns the Plan field. -func (u *User) GetPlan() *Plan { - if u == nil { - return nil +// GetRef returns the Ref field. +func (r *RepositoryActivity) GetRef() string { + if r == nil { + return "" } - return u.Plan + return r.Ref } -// GetPrivateGists returns the PrivateGists field if it's non-nil, zero value otherwise. -func (u *User) GetPrivateGists() int { - if u == nil || u.PrivateGists == nil { - return 0 +// GetTimestamp returns the Timestamp field if it's non-nil, zero value otherwise. +func (r *RepositoryActivity) GetTimestamp() Timestamp { + if r == nil || r.Timestamp == nil { + return Timestamp{} } - return *u.PrivateGists + return *r.Timestamp } -// GetPublicGists returns the PublicGists field if it's non-nil, zero value otherwise. -func (u *User) GetPublicGists() int { - if u == nil || u.PublicGists == nil { - return 0 +// GetAvatarURL returns the AvatarURL field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetAvatarURL() string { + if r == nil || r.AvatarURL == nil { + return "" } - return *u.PublicGists + return *r.AvatarURL } -// GetPublicRepos returns the PublicRepos field if it's non-nil, zero value otherwise. -func (u *User) GetPublicRepos() int { - if u == nil || u.PublicRepos == nil { - return 0 +// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetEventsURL() string { + if r == nil || r.EventsURL == nil { + return "" } - return *u.PublicRepos + return *r.EventsURL } -// GetReceivedEventsURL returns the ReceivedEventsURL field if it's non-nil, zero value otherwise. -func (u *User) GetReceivedEventsURL() string { - if u == nil || u.ReceivedEventsURL == nil { +// GetFollowersURL returns the FollowersURL field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetFollowersURL() string { + if r == nil || r.FollowersURL == nil { return "" } - return *u.ReceivedEventsURL + return *r.FollowersURL } -// GetReposURL returns the ReposURL field if it's non-nil, zero value otherwise. -func (u *User) GetReposURL() string { - if u == nil || u.ReposURL == nil { +// GetFollowingURL returns the FollowingURL field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetFollowingURL() string { + if r == nil || r.FollowingURL == nil { return "" } - return *u.ReposURL + return *r.FollowingURL } -// GetRole returns the Role field if it's non-nil, zero value otherwise. -func (u *User) GetRole() string { - if u == nil || u.Role == nil { +// GetGistsURL returns the GistsURL field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetGistsURL() string { + if r == nil || r.GistsURL == nil { return "" } - return *u.Role + return *r.GistsURL } -// GetRoleName returns the RoleName field if it's non-nil, zero value otherwise. -func (u *User) GetRoleName() string { - if u == nil || u.RoleName == nil { +// GetGravatarID returns the GravatarID field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetGravatarID() string { + if r == nil || r.GravatarID == nil { return "" } - return *u.RoleName + return *r.GravatarID } -// GetSiteAdmin returns the SiteAdmin field if it's non-nil, zero value otherwise. -func (u *User) GetSiteAdmin() bool { - if u == nil || u.SiteAdmin == nil { - return false +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetHTMLURL() string { + if r == nil || r.HTMLURL == nil { + return "" } - return *u.SiteAdmin + return *r.HTMLURL } -// GetStarredURL returns the StarredURL field if it's non-nil, zero value otherwise. -func (u *User) GetStarredURL() string { - if u == nil || u.StarredURL == nil { - return "" +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetID() int64 { + if r == nil || r.ID == nil { + return 0 } - return *u.StarredURL + return *r.ID } -// GetSubscriptionsURL returns the SubscriptionsURL field if it's non-nil, zero value otherwise. -func (u *User) GetSubscriptionsURL() string { - if u == nil || u.SubscriptionsURL == nil { +// GetLogin returns the Login field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetLogin() string { + if r == nil || r.Login == nil { return "" } - return *u.SubscriptionsURL + return *r.Login } -// GetSuspendedAt returns the SuspendedAt field if it's non-nil, zero value otherwise. -func (u *User) GetSuspendedAt() Timestamp { - if u == nil || u.SuspendedAt == nil { - return Timestamp{} +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetNodeID() string { + if r == nil || r.NodeID == nil { + return "" } - return *u.SuspendedAt + return *r.NodeID } -// 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 +// GetOrganizationsURL returns the OrganizationsURL field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetOrganizationsURL() string { + if r == nil || r.OrganizationsURL == nil { + return "" } - return u.TextMatches + return *r.OrganizationsURL } -// GetTotalPrivateRepos returns the TotalPrivateRepos field if it's non-nil, zero value otherwise. -func (u *User) GetTotalPrivateRepos() int64 { - if u == nil || u.TotalPrivateRepos == nil { - return 0 +// GetReceivedEventsURL returns the ReceivedEventsURL field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetReceivedEventsURL() string { + if r == nil || r.ReceivedEventsURL == nil { + return "" } - return *u.TotalPrivateRepos + return *r.ReceivedEventsURL } -// GetTwitterUsername returns the TwitterUsername field if it's non-nil, zero value otherwise. -func (u *User) GetTwitterUsername() string { - if u == nil || u.TwitterUsername == nil { +// GetReposURL returns the ReposURL field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetReposURL() string { + if r == nil || r.ReposURL == nil { return "" } - return *u.TwitterUsername + return *r.ReposURL } -// GetTwoFactorAuthentication returns the TwoFactorAuthentication field if it's non-nil, zero value otherwise. -func (u *User) GetTwoFactorAuthentication() bool { - if u == nil || u.TwoFactorAuthentication == nil { +// GetSiteAdmin returns the SiteAdmin field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetSiteAdmin() bool { + if r == nil || r.SiteAdmin == nil { return false } - return *u.TwoFactorAuthentication + return *r.SiteAdmin } -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (u *User) GetType() string { - if u == nil || u.Type == nil { +// GetStarredURL returns the StarredURL field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetStarredURL() string { + if r == nil || r.StarredURL == nil { return "" } - return *u.Type + return *r.StarredURL } -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (u *User) GetUpdatedAt() Timestamp { - if u == nil || u.UpdatedAt == nil { - return Timestamp{} +// GetSubscriptionsURL returns the SubscriptionsURL field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetSubscriptionsURL() string { + if r == nil || r.SubscriptionsURL == nil { + return "" } - return *u.UpdatedAt + return *r.SubscriptionsURL } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (u *User) GetURL() string { - if u == nil || u.URL == nil { +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetType() string { + if r == nil || r.Type == nil { return "" } - return *u.URL + return *r.Type } -// GetUserViewType returns the UserViewType field if it's non-nil, zero value otherwise. -func (u *User) GetUserViewType() string { - if u == nil || u.UserViewType == nil { +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetURL() string { + if r == nil || r.URL == nil { return "" } - return *u.UserViewType + return *r.URL } -// GetApp returns the App field. -func (u *UserAuthorization) GetApp() *OAuthAPP { - if u == nil { - return nil +// GetUserViewType returns the UserViewType field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetUserViewType() string { + if r == nil || r.UserViewType == nil { + return "" } - return u.App + return *r.UserViewType } -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (u *UserAuthorization) GetCreatedAt() Timestamp { - if u == nil || u.CreatedAt == nil { - return Timestamp{} +// GetPermission returns the Permission field. +func (r *RepositoryAddCollaboratorOptions) GetPermission() string { + if r == nil { + return "" } - return *u.CreatedAt + return r.Permission } -// GetFingerprint returns the Fingerprint field if it's non-nil, zero value otherwise. -func (u *UserAuthorization) GetFingerprint() string { - if u == nil || u.Fingerprint == nil { - return "" +// GetRepository returns the Repository field. +func (r *RepositoryAttachment) GetRepository() *Repository { + if r == nil { + return nil } - return *u.Fingerprint + return r.Repository } -// GetHashedToken returns the HashedToken field if it's non-nil, zero value otherwise. -func (u *UserAuthorization) GetHashedToken() string { - if u == nil || u.HashedToken == nil { +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (r *RepositoryAttachment) GetStatus() string { + if r == nil || r.Status == nil { return "" } - return *u.HashedToken + return *r.Status } -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (u *UserAuthorization) GetID() int64 { - if u == nil || u.ID == nil { - return 0 +// GetConfiguration returns the Configuration field. +func (r *RepositoryCodeSecurityConfiguration) GetConfiguration() *CodeSecurityConfiguration { + if r == nil { + return nil } - return *u.ID + return r.Configuration } -// GetNote returns the Note field if it's non-nil, zero value otherwise. -func (u *UserAuthorization) GetNote() string { - if u == nil || u.Note == nil { +// GetState returns the State field if it's non-nil, zero value otherwise. +func (r *RepositoryCodeSecurityConfiguration) GetState() string { + if r == nil || r.State == nil { return "" } - return *u.Note + return *r.State } -// GetNoteURL returns the NoteURL field if it's non-nil, zero value otherwise. -func (u *UserAuthorization) GetNoteURL() string { - if u == nil || u.NoteURL == nil { +// GetAuthorAssociation returns the AuthorAssociation field if it's non-nil, zero value otherwise. +func (r *RepositoryComment) GetAuthorAssociation() string { + if r == nil || r.AuthorAssociation == nil { return "" } - 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 + return *r.AuthorAssociation } -// GetToken returns the Token field if it's non-nil, zero value otherwise. -func (u *UserAuthorization) GetToken() string { - if u == nil || u.Token == nil { +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (r *RepositoryComment) GetBody() string { + if r == nil || r.Body == nil { return "" } - return *u.Token + return *r.Body } -// GetTokenLastEight returns the TokenLastEight field if it's non-nil, zero value otherwise. -func (u *UserAuthorization) GetTokenLastEight() string { - if u == nil || u.TokenLastEight == nil { +// GetCommitID returns the CommitID field if it's non-nil, zero value otherwise. +func (r *RepositoryComment) GetCommitID() string { + if r == nil || r.CommitID == nil { return "" } - return *u.TokenLastEight + return *r.CommitID } -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (u *UserAuthorization) GetUpdatedAt() Timestamp { - if u == nil || u.UpdatedAt == nil { +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (r *RepositoryComment) GetCreatedAt() Timestamp { + if r == nil || r.CreatedAt == nil { return Timestamp{} } - return *u.UpdatedAt + return *r.CreatedAt } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (u *UserAuthorization) GetURL() string { - if u == nil || u.URL == nil { +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (r *RepositoryComment) GetHTMLURL() string { + if r == nil || r.HTMLURL == nil { return "" } - return *u.URL + return *r.HTMLURL } -// GetMessage returns the Message field if it's non-nil, zero value otherwise. -func (u *UserContext) GetMessage() string { - if u == nil || u.Message == nil { - return "" +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (r *RepositoryComment) GetID() int64 { + if r == nil || r.ID == nil { + return 0 + } + return *r.ID +} + +// GetLine returns the Line field if it's non-nil, zero value otherwise. +func (r *RepositoryComment) GetLine() int { + if r == nil || r.Line == nil { + return 0 } - return *u.Message + return *r.Line } -// GetOcticon returns the Octicon field if it's non-nil, zero value otherwise. -func (u *UserContext) GetOcticon() string { - if u == nil || u.Octicon == nil { +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (r *RepositoryComment) GetNodeID() string { + if r == nil || r.NodeID == nil { return "" } - return *u.Octicon + return *r.NodeID } -// GetEmail returns the Email field if it's non-nil, zero value otherwise. -func (u *UserEmail) GetEmail() string { - if u == nil || u.Email == nil { +// GetPath returns the Path field if it's non-nil, zero value otherwise. +func (r *RepositoryComment) GetPath() string { + if r == nil || r.Path == nil { return "" } - return *u.Email + return *r.Path } -// GetPrimary returns the Primary field if it's non-nil, zero value otherwise. -func (u *UserEmail) GetPrimary() bool { - if u == nil || u.Primary == nil { - return false +// GetPosition returns the Position field if it's non-nil, zero value otherwise. +func (r *RepositoryComment) GetPosition() int { + if r == nil || r.Position == nil { + return 0 } - return *u.Primary + return *r.Position } -// GetVerified returns the Verified field if it's non-nil, zero value otherwise. -func (u *UserEmail) GetVerified() bool { - if u == nil || u.Verified == nil { - return false +// GetReactions returns the Reactions field. +func (r *RepositoryComment) GetReactions() *Reactions { + if r == nil { + return nil } - return *u.Verified + return r.Reactions } -// GetVisibility returns the Visibility field if it's non-nil, zero value otherwise. -func (u *UserEmail) GetVisibility() string { - if u == nil || u.Visibility == nil { - return "" +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (r *RepositoryComment) GetUpdatedAt() Timestamp { + if r == nil || r.UpdatedAt == nil { + return Timestamp{} } - return *u.Visibility + return *r.UpdatedAt } -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (u *UserEvent) GetAction() string { - if u == nil || u.Action == nil { +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (r *RepositoryComment) GetURL() string { + if r == nil || r.URL == nil { return "" } - return *u.Action + return *r.URL } -// GetEnterprise returns the Enterprise field. -func (u *UserEvent) GetEnterprise() *Enterprise { - if u == nil { +// GetUser returns the User field. +func (r *RepositoryComment) GetUser() *User { + if r == nil { return nil } - return u.Enterprise + return r.User } -// GetInstallation returns the Installation field. -func (u *UserEvent) GetInstallation() *Installation { - if u == nil { +// GetAuthor returns the Author field. +func (r *RepositoryCommit) GetAuthor() *User { + if r == nil { return nil } - return u.Installation + return r.Author } -// GetSender returns the Sender field. -func (u *UserEvent) GetSender() *User { - if u == nil { - return nil +// GetCommentsURL returns the CommentsURL field if it's non-nil, zero value otherwise. +func (r *RepositoryCommit) GetCommentsURL() string { + if r == nil || r.CommentsURL == nil { + return "" } - return u.Sender + return *r.CommentsURL } -// GetUser returns the User field. -func (u *UserEvent) GetUser() *User { - if u == nil { +// GetCommit returns the Commit field. +func (r *RepositoryCommit) GetCommit() *Commit { + if r == nil { return nil } - return u.User + return r.Commit } -// GetAvatarURL returns the AvatarURL field if it's non-nil, zero value otherwise. -func (u *UserLDAPMapping) GetAvatarURL() string { - if u == nil || u.AvatarURL == nil { - return "" +// GetCommitter returns the Committer field. +func (r *RepositoryCommit) GetCommitter() *User { + if r == nil { + return nil } - return *u.AvatarURL + return r.Committer } -// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise. -func (u *UserLDAPMapping) GetEventsURL() string { - if u == nil || u.EventsURL == nil { - return "" +// 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 *u.EventsURL + return r.Files } -// GetFollowersURL returns the FollowersURL field if it's non-nil, zero value otherwise. -func (u *UserLDAPMapping) GetFollowersURL() string { - if u == nil || u.FollowersURL == nil { +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (r *RepositoryCommit) GetHTMLURL() string { + if r == nil || r.HTMLURL == nil { return "" } - return *u.FollowersURL + return *r.HTMLURL } -// GetFollowingURL returns the FollowingURL field if it's non-nil, zero value otherwise. -func (u *UserLDAPMapping) GetFollowingURL() string { - if u == nil || u.FollowingURL == nil { +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (r *RepositoryCommit) GetNodeID() string { + if r == nil || r.NodeID == nil { return "" } - return *u.FollowingURL + return *r.NodeID } -// GetGistsURL returns the GistsURL field if it's non-nil, zero value otherwise. -func (u *UserLDAPMapping) GetGistsURL() string { - if u == nil || u.GistsURL == nil { - return "" +// 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 *u.GistsURL + return r.Parents } -// GetGravatarID returns the GravatarID field if it's non-nil, zero value otherwise. -func (u *UserLDAPMapping) GetGravatarID() string { - if u == nil || u.GravatarID == nil { +// GetSHA returns the SHA field if it's non-nil, zero value otherwise. +func (r *RepositoryCommit) GetSHA() string { + if r == nil || r.SHA == nil { return "" } - return *u.GravatarID -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (u *UserLDAPMapping) GetID() int64 { - if u == nil || u.ID == nil { - return 0 - } - return *u.ID + return *r.SHA } -// GetLDAPDN returns the LDAPDN field if it's non-nil, zero value otherwise. -func (u *UserLDAPMapping) GetLDAPDN() string { - if u == nil || u.LDAPDN == nil { - return "" +// GetStats returns the Stats field. +func (r *RepositoryCommit) GetStats() *CommitStats { + if r == nil { + return nil } - return *u.LDAPDN + return r.Stats } -// GetLogin returns the Login field if it's non-nil, zero value otherwise. -func (u *UserLDAPMapping) GetLogin() string { - if u == nil || u.Login == nil { +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (r *RepositoryCommit) GetURL() string { + if r == nil || r.URL == nil { return "" } - return *u.Login + return *r.URL } -// GetOrganizationsURL returns the OrganizationsURL field if it's non-nil, zero value otherwise. -func (u *UserLDAPMapping) GetOrganizationsURL() string { - if u == nil || u.OrganizationsURL == nil { +// GetDownloadURL returns the DownloadURL field if it's non-nil, zero value otherwise. +func (r *RepositoryContent) GetDownloadURL() string { + if r == nil || r.DownloadURL == nil { return "" } - return *u.OrganizationsURL + return *r.DownloadURL } -// GetReceivedEventsURL returns the ReceivedEventsURL field if it's non-nil, zero value otherwise. -func (u *UserLDAPMapping) GetReceivedEventsURL() string { - if u == nil || u.ReceivedEventsURL == nil { +// GetEncoding returns the Encoding field if it's non-nil, zero value otherwise. +func (r *RepositoryContent) GetEncoding() string { + if r == nil || r.Encoding == nil { return "" } - return *u.ReceivedEventsURL + return *r.Encoding } -// GetReposURL returns the ReposURL field if it's non-nil, zero value otherwise. -func (u *UserLDAPMapping) GetReposURL() string { - if u == nil || u.ReposURL == nil { +// GetGitURL returns the GitURL field if it's non-nil, zero value otherwise. +func (r *RepositoryContent) GetGitURL() string { + if r == nil || r.GitURL == nil { return "" } - return *u.ReposURL -} - -// GetSiteAdmin returns the SiteAdmin field if it's non-nil, zero value otherwise. -func (u *UserLDAPMapping) GetSiteAdmin() bool { - if u == nil || u.SiteAdmin == nil { - return false - } - return *u.SiteAdmin + return *r.GitURL } -// GetStarredURL returns the StarredURL field if it's non-nil, zero value otherwise. -func (u *UserLDAPMapping) GetStarredURL() string { - if u == nil || u.StarredURL == nil { +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (r *RepositoryContent) GetHTMLURL() string { + if r == nil || r.HTMLURL == nil { return "" } - return *u.StarredURL + return *r.HTMLURL } -// GetSubscriptionsURL returns the SubscriptionsURL field if it's non-nil, zero value otherwise. -func (u *UserLDAPMapping) GetSubscriptionsURL() string { - if u == nil || u.SubscriptionsURL == nil { +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (r *RepositoryContent) GetName() string { + if r == nil || r.Name == nil { return "" } - return *u.SubscriptionsURL + return *r.Name } -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (u *UserLDAPMapping) GetType() string { - if u == nil || u.Type == nil { +// GetPath returns the Path field if it's non-nil, zero value otherwise. +func (r *RepositoryContent) GetPath() string { + if r == nil || r.Path == nil { return "" } - return *u.Type + return *r.Path } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (u *UserLDAPMapping) GetURL() string { - if u == nil || u.URL == nil { +// GetSHA returns the SHA field if it's non-nil, zero value otherwise. +func (r *RepositoryContent) GetSHA() string { + if r == nil || r.SHA == nil { return "" } - return *u.URL + return *r.SHA } -// GetPerPage returns the PerPage field. -func (u *UserListOptions) GetPerPage() int { - if u == nil { +// GetSize returns the Size field if it's non-nil, zero value otherwise. +func (r *RepositoryContent) GetSize() int { + if r == nil || r.Size == nil { return 0 } - return u.PerPage + return *r.Size } -// GetSince returns the Since field. -func (u *UserListOptions) GetSince() int64 { - if u == nil { - return 0 +// GetSubmoduleGitURL returns the SubmoduleGitURL field if it's non-nil, zero value otherwise. +func (r *RepositoryContent) GetSubmoduleGitURL() string { + if r == nil || r.SubmoduleGitURL == nil { + return "" } - return u.Since + return *r.SubmoduleGitURL } -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (u *UserMigration) GetCreatedAt() string { - if u == nil || u.CreatedAt == nil { +// GetTarget returns the Target field if it's non-nil, zero value otherwise. +func (r *RepositoryContent) GetTarget() string { + if r == nil || r.Target == nil { return "" } - return *u.CreatedAt + return *r.Target } -// GetExcludeAttachments returns the ExcludeAttachments field if it's non-nil, zero value otherwise. -func (u *UserMigration) GetExcludeAttachments() bool { - if u == nil || u.ExcludeAttachments == nil { - return false +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (r *RepositoryContent) GetType() string { + if r == nil || r.Type == nil { + return "" } - return *u.ExcludeAttachments + return *r.Type } -// GetGUID returns the GUID field if it's non-nil, zero value otherwise. -func (u *UserMigration) GetGUID() string { - if u == nil || u.GUID == nil { +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (r *RepositoryContent) GetURL() string { + if r == nil || r.URL == nil { return "" } - return *u.GUID + return *r.URL } -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (u *UserMigration) GetID() int64 { - if u == nil || u.ID == nil { - return 0 +// GetAuthor returns the Author field. +func (r *RepositoryContentFileOptions) GetAuthor() *CommitAuthor { + if r == nil { + return nil } - return *u.ID + return r.Author } -// GetLockRepositories returns the LockRepositories field if it's non-nil, zero value otherwise. -func (u *UserMigration) GetLockRepositories() bool { - if u == nil || u.LockRepositories == nil { - return false +// GetBranch returns the Branch field if it's non-nil, zero value otherwise. +func (r *RepositoryContentFileOptions) GetBranch() string { + if r == nil || r.Branch == nil { + return "" } - return *u.LockRepositories + return *r.Branch } -// GetRepositories returns the Repositories slice if it's non-nil, nil otherwise. -func (u *UserMigration) GetRepositories() []*Repository { - if u == nil || u.Repositories == nil { +// GetCommitter returns the Committer field. +func (r *RepositoryContentFileOptions) GetCommitter() *CommitAuthor { + if r == nil { return nil } - return u.Repositories + return r.Committer } -// GetState returns the State field if it's non-nil, zero value otherwise. -func (u *UserMigration) GetState() string { - if u == nil || u.State == nil { - return "" +// 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 *u.State + return r.Content } -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (u *UserMigration) GetUpdatedAt() string { - if u == nil || u.UpdatedAt == nil { +// GetMessage returns the Message field if it's non-nil, zero value otherwise. +func (r *RepositoryContentFileOptions) GetMessage() string { + if r == nil || r.Message == nil { return "" } - return *u.UpdatedAt + return *r.Message } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (u *UserMigration) GetURL() string { - if u == nil || u.URL == nil { +// GetSHA returns the SHA field if it's non-nil, zero value otherwise. +func (r *RepositoryContentFileOptions) GetSHA() string { + if r == nil || r.SHA == nil { return "" } - return *u.URL + return *r.SHA } -// GetExcludeAttachments returns the ExcludeAttachments field. -func (u *UserMigrationOptions) GetExcludeAttachments() bool { - if u == nil { - return false +// GetRef returns the Ref field. +func (r *RepositoryContentGetOptions) GetRef() string { + if r == nil { + return "" } - return u.ExcludeAttachments + return r.Ref } -// GetLockRepositories returns the LockRepositories field. -func (u *UserMigrationOptions) GetLockRepositories() bool { - if u == nil { - return false +// GetContent returns the Content field. +func (r *RepositoryContentResponse) GetContent() *RepositoryContent { + if r == nil { + return nil } - return u.LockRepositories + return r.Content } -// GetIncompleteResults returns the IncompleteResults field if it's non-nil, zero value otherwise. -func (u *UsersSearchResult) GetIncompleteResults() bool { - if u == nil || u.IncompleteResults == nil { +// GetDefaultBranchOnly returns the DefaultBranchOnly field. +func (r *RepositoryCreateForkOptions) GetDefaultBranchOnly() bool { + if r == nil { return false } - return *u.IncompleteResults + return r.DefaultBranchOnly } -// GetTotal returns the Total field if it's non-nil, zero value otherwise. -func (u *UsersSearchResult) GetTotal() int { - if u == nil || u.Total == nil { - return 0 +// GetName returns the Name field. +func (r *RepositoryCreateForkOptions) GetName() string { + if r == nil { + return "" } - return *u.Total + return r.Name } -// 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 +// GetOrganization returns the Organization field. +func (r *RepositoryCreateForkOptions) GetOrganization() string { + if r == nil { + return "" } - return u.Users + return r.Organization } -// GetAdminUsers returns the AdminUsers field if it's non-nil, zero value otherwise. -func (u *UserStats) GetAdminUsers() int { - if u == nil || u.AdminUsers == nil { - return 0 +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (r *RepositoryDispatchEvent) GetAction() string { + if r == nil || r.Action == nil { + return "" } - return *u.AdminUsers + return *r.Action } -// GetSuspendedUsers returns the SuspendedUsers field if it's non-nil, zero value otherwise. -func (u *UserStats) GetSuspendedUsers() int { - if u == nil || u.SuspendedUsers == nil { - return 0 +// GetBranch returns the Branch field if it's non-nil, zero value otherwise. +func (r *RepositoryDispatchEvent) GetBranch() string { + if r == nil || r.Branch == nil { + return "" } - return *u.SuspendedUsers + return *r.Branch } -// GetTotalUsers returns the TotalUsers field if it's non-nil, zero value otherwise. -func (u *UserStats) GetTotalUsers() int { - if u == nil || u.TotalUsers == nil { - return 0 +// GetClientPayload returns the ClientPayload field. +func (r *RepositoryDispatchEvent) GetClientPayload() json.RawMessage { + if r == nil { + return json.RawMessage{} } - return *u.TotalUsers + return r.ClientPayload } -// GetReason returns the Reason field if it's non-nil, zero value otherwise. -func (u *UserSuspendOptions) GetReason() string { - if u == nil || u.Reason == nil { - return "" +// GetInstallation returns the Installation field. +func (r *RepositoryDispatchEvent) GetInstallation() *Installation { + if r == nil { + return nil } - return *u.Reason + return r.Installation } -// GetBio returns the Bio field if it's non-nil, zero value otherwise. -func (u *UserUpdateRequest) GetBio() string { - if u == nil || u.Bio == nil { - return "" +// GetOrg returns the Org field. +func (r *RepositoryDispatchEvent) GetOrg() *Organization { + if r == nil { + return nil } - return *u.Bio + return r.Org } -// GetBlog returns the Blog field if it's non-nil, zero value otherwise. -func (u *UserUpdateRequest) GetBlog() string { - if u == nil || u.Blog == nil { - return "" +// GetRepo returns the Repo field. +func (r *RepositoryDispatchEvent) GetRepo() *Repository { + if r == nil { + return nil } - return *u.Blog + return r.Repo } -// GetCompany returns the Company field if it's non-nil, zero value otherwise. -func (u *UserUpdateRequest) GetCompany() string { - if u == nil || u.Company == nil { - return "" +// GetSender returns the Sender field. +func (r *RepositoryDispatchEvent) GetSender() *User { + if r == nil { + return nil } - return *u.Company + return r.Sender } -// GetEmail returns the Email field if it's non-nil, zero value otherwise. -func (u *UserUpdateRequest) GetEmail() string { - if u == nil || u.Email == nil { +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (r *RepositoryEvent) GetAction() string { + if r == nil || r.Action == nil { return "" } - return *u.Email + return *r.Action } -// GetHireable returns the Hireable field if it's non-nil, zero value otherwise. -func (u *UserUpdateRequest) GetHireable() bool { - if u == nil || u.Hireable == nil { - return false +// GetChanges returns the Changes field. +func (r *RepositoryEvent) GetChanges() *EditChange { + if r == nil { + return nil } - return *u.Hireable + return r.Changes } -// GetLocation returns the Location field if it's non-nil, zero value otherwise. -func (u *UserUpdateRequest) GetLocation() string { - if u == nil || u.Location == nil { - return "" +// GetInstallation returns the Installation field. +func (r *RepositoryEvent) GetInstallation() *Installation { + if r == nil { + return nil } - return *u.Location + return r.Installation } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (u *UserUpdateRequest) GetName() string { - if u == nil || u.Name == nil { - return "" +// GetOrg returns the Org field. +func (r *RepositoryEvent) GetOrg() *Organization { + if r == nil { + return nil } - return *u.Name + return r.Org } -// GetTwitterUsername returns the TwitterUsername field if it's non-nil, zero value otherwise. -func (u *UserUpdateRequest) GetTwitterUsername() string { - if u == nil || u.TwitterUsername == nil { - return "" +// GetRepo returns the Repo field. +func (r *RepositoryEvent) GetRepo() *Repository { + if r == nil { + return nil } - return *u.TwitterUsername + return r.Repo } -// GetManualMatch returns the ManualMatch field if it's non-nil, zero value otherwise. -func (v *VisualStudioSubscriptionAssignment) GetManualMatch() bool { - if v == nil || v.ManualMatch == nil { - return false +// GetSender returns the Sender field. +func (r *RepositoryEvent) GetSender() *User { + if r == nil { + return nil } - return *v.ManualMatch + return r.Sender } -// GetSubscriptionID returns the SubscriptionID field if it's non-nil, zero value otherwise. -func (v *VisualStudioSubscriptionAssignment) GetSubscriptionID() string { - if v == nil || v.SubscriptionID == nil { - return "" +// GetOrg returns the Org field. +func (r *RepositoryImportEvent) GetOrg() *Organization { + if r == nil { + return nil } - return *v.SubscriptionID + return r.Org } -// GetUsername returns the Username field if it's non-nil, zero value otherwise. -func (v *VisualStudioSubscriptionAssignment) GetUsername() string { - if v == nil || v.Username == nil { - return "" +// GetRepo returns the Repo field. +func (r *RepositoryImportEvent) GetRepo() *Repository { + if r == nil { + return nil } - return *v.Username + return r.Repo } -// GetVisualStudioSubscriptionEmail returns the VisualStudioSubscriptionEmail field if it's non-nil, zero value otherwise. -func (v *VisualStudioSubscriptionAssignment) GetVisualStudioSubscriptionEmail() string { - if v == nil || v.VisualStudioSubscriptionEmail == nil { - return "" +// GetSender returns the Sender field. +func (r *RepositoryImportEvent) GetSender() *User { + if r == nil { + return nil } - return *v.VisualStudioSubscriptionEmail + return r.Sender } -// GetUserIdentifier returns the UserIdentifier field if it's non-nil, zero value otherwise. -func (v *VisualStudioSubscriptionAssignmentRequest) GetUserIdentifier() string { - if v == nil || v.UserIdentifier == nil { +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (r *RepositoryImportEvent) GetStatus() string { + if r == nil || r.Status == nil { return "" } - return *v.UserIdentifier -} - -// GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. -func (v *VisualStudioSubscriptions) GetTotalCount() int { - if v == nil || v.TotalCount == nil { - return 0 - } - return *v.TotalCount + return *r.Status } -// GetVisualStudioSubscriptions returns the VisualStudioSubscriptions slice if it's non-nil, nil otherwise. -func (v *VisualStudioSubscriptions) GetVisualStudioSubscriptions() []*VisualStudioSubscriptionAssignment { - if v == nil || v.VisualStudioSubscriptions == nil { - return nil +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (r *RepositoryInvitation) GetCreatedAt() Timestamp { + if r == nil || r.CreatedAt == nil { + return Timestamp{} } - return v.VisualStudioSubscriptions + return *r.CreatedAt } -// GetEcosystem returns the Ecosystem field if it's non-nil, zero value otherwise. -func (v *VulnerabilityPackage) GetEcosystem() string { - if v == nil || v.Ecosystem == nil { - return "" +// GetExpired returns the Expired field if it's non-nil, zero value otherwise. +func (r *RepositoryInvitation) GetExpired() bool { + if r == nil || r.Expired == nil { + return false } - return *v.Ecosystem + return *r.Expired } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (v *VulnerabilityPackage) GetName() string { - if v == nil || v.Name == nil { +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (r *RepositoryInvitation) GetHTMLURL() string { + if r == nil || r.HTMLURL == nil { return "" } - return *v.Name + return *r.HTMLURL } -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (w *WatchEvent) GetAction() string { - if w == nil || w.Action == nil { - return "" +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (r *RepositoryInvitation) GetID() int64 { + if r == nil || r.ID == nil { + return 0 } - return *w.Action + return *r.ID } -// GetInstallation returns the Installation field. -func (w *WatchEvent) GetInstallation() *Installation { - if w == nil { +// GetInvitee returns the Invitee field. +func (r *RepositoryInvitation) GetInvitee() *User { + if r == nil { return nil } - return w.Installation + return r.Invitee } -// GetOrg returns the Org field. -func (w *WatchEvent) GetOrg() *Organization { - if w == nil { +// GetInviter returns the Inviter field. +func (r *RepositoryInvitation) GetInviter() *User { + if r == nil { return nil } - return w.Org + return r.Inviter } -// GetRepo returns the Repo field. -func (w *WatchEvent) GetRepo() *Repository { - if w == nil { - return nil +// GetPermissions returns the Permissions field if it's non-nil, zero value otherwise. +func (r *RepositoryInvitation) GetPermissions() string { + if r == nil || r.Permissions == nil { + return "" } - return w.Repo + return *r.Permissions } -// GetSender returns the Sender field. -func (w *WatchEvent) GetSender() *User { - if w == nil { +// GetRepo returns the Repo field. +func (r *RepositoryInvitation) GetRepo() *Repository { + if r == nil { return nil } - return w.Sender + return r.Repo } -// 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 +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (r *RepositoryInvitation) GetURL() string { + if r == nil || r.URL == nil { + return "" } - return w.Days + return *r.URL } -// GetTotal returns the Total field if it's non-nil, zero value otherwise. -func (w *WeeklyCommitActivity) GetTotal() int { - if w == nil || w.Total == nil { - return 0 +// GetContent returns the Content field if it's non-nil, zero value otherwise. +func (r *RepositoryLicense) GetContent() string { + if r == nil || r.Content == nil { + return "" } - return *w.Total + return *r.Content } -// GetWeek returns the Week field if it's non-nil, zero value otherwise. -func (w *WeeklyCommitActivity) GetWeek() Timestamp { - if w == nil || w.Week == nil { - return Timestamp{} +// GetDownloadURL returns the DownloadURL field if it's non-nil, zero value otherwise. +func (r *RepositoryLicense) GetDownloadURL() string { + if r == nil || r.DownloadURL == nil { + return "" } - return *w.Week + return *r.DownloadURL } -// GetAdditions returns the Additions field if it's non-nil, zero value otherwise. -func (w *WeeklyStats) GetAdditions() int { - if w == nil || w.Additions == nil { - return 0 +// GetEncoding returns the Encoding field if it's non-nil, zero value otherwise. +func (r *RepositoryLicense) GetEncoding() string { + if r == nil || r.Encoding == nil { + return "" } - return *w.Additions + return *r.Encoding } -// GetCommits returns the Commits field if it's non-nil, zero value otherwise. -func (w *WeeklyStats) GetCommits() int { - if w == nil || w.Commits == nil { - return 0 +// GetGitURL returns the GitURL field if it's non-nil, zero value otherwise. +func (r *RepositoryLicense) GetGitURL() string { + if r == nil || r.GitURL == nil { + return "" } - return *w.Commits + return *r.GitURL } -// GetDeletions returns the Deletions field if it's non-nil, zero value otherwise. -func (w *WeeklyStats) GetDeletions() int { - if w == nil || w.Deletions == nil { - return 0 +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (r *RepositoryLicense) GetHTMLURL() string { + if r == nil || r.HTMLURL == nil { + return "" } - return *w.Deletions + return *r.HTMLURL } -// GetWeek returns the Week field if it's non-nil, zero value otherwise. -func (w *WeeklyStats) GetWeek() Timestamp { - if w == nil || w.Week == nil { - return Timestamp{} +// GetLicense returns the License field. +func (r *RepositoryLicense) GetLicense() *License { + if r == nil { + return nil } - return *w.Week + return r.License } -// GetBadgeURL returns the BadgeURL field if it's non-nil, zero value otherwise. -func (w *Workflow) GetBadgeURL() string { - if w == nil || w.BadgeURL == nil { +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (r *RepositoryLicense) GetName() string { + if r == nil || r.Name == nil { return "" } - return *w.BadgeURL + return *r.Name } -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (w *Workflow) GetCreatedAt() Timestamp { - if w == nil || w.CreatedAt == nil { - return Timestamp{} +// GetPath returns the Path field if it's non-nil, zero value otherwise. +func (r *RepositoryLicense) GetPath() string { + if r == nil || r.Path == nil { + return "" } - return *w.CreatedAt + return *r.Path } -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (w *Workflow) GetHTMLURL() string { - if w == nil || w.HTMLURL == nil { +// GetSHA returns the SHA field if it's non-nil, zero value otherwise. +func (r *RepositoryLicense) GetSHA() string { + if r == nil || r.SHA == nil { return "" } - return *w.HTMLURL + return *r.SHA } -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (w *Workflow) GetID() int64 { - if w == nil || w.ID == nil { +// GetSize returns the Size field if it's non-nil, zero value otherwise. +func (r *RepositoryLicense) GetSize() int { + if r == nil || r.Size == nil { return 0 } - return *w.ID + return *r.Size } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (w *Workflow) GetName() string { - if w == nil || w.Name == nil { +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (r *RepositoryLicense) GetType() string { + if r == nil || r.Type == nil { return "" } - return *w.Name + return *r.Type } -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (w *Workflow) GetNodeID() string { - if w == nil || w.NodeID == nil { +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (r *RepositoryLicense) GetURL() string { + if r == nil || r.URL == nil { return "" } - return *w.NodeID + return *r.URL } -// GetPath returns the Path field if it's non-nil, zero value otherwise. -func (w *Workflow) GetPath() string { - if w == nil || w.Path == nil { - return "" +// GetSince returns the Since field. +func (r *RepositoryListAllOptions) GetSince() int64 { + if r == nil { + return 0 } - return *w.Path + return r.Since } -// GetState returns the State field if it's non-nil, zero value otherwise. -func (w *Workflow) GetState() string { - if w == nil || w.State == nil { +// GetAffiliation returns the Affiliation field. +func (r *RepositoryListByAuthenticatedUserOptions) GetAffiliation() string { + if r == nil { return "" } - return *w.State + return r.Affiliation } -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (w *Workflow) GetUpdatedAt() Timestamp { - if w == nil || w.UpdatedAt == nil { - return Timestamp{} +// GetDirection returns the Direction field. +func (r *RepositoryListByAuthenticatedUserOptions) GetDirection() string { + if r == nil { + return "" } - return *w.UpdatedAt + return r.Direction } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (w *Workflow) GetURL() string { - if w == nil || w.URL == nil { +// GetSort returns the Sort field. +func (r *RepositoryListByAuthenticatedUserOptions) GetSort() string { + if r == nil { return "" } - return *w.URL + return r.Sort } -// GetTotalMS returns the TotalMS field if it's non-nil, zero value otherwise. -func (w *WorkflowBill) GetTotalMS() int64 { - if w == nil || w.TotalMS == nil { - return 0 +// GetType returns the Type field. +func (r *RepositoryListByAuthenticatedUserOptions) GetType() string { + if r == nil { + return "" } - return *w.TotalMS + return r.Type } -// GetInputs returns the Inputs field. -func (w *WorkflowDispatchEvent) GetInputs() json.RawMessage { - if w == nil { - return json.RawMessage{} +// GetVisibility returns the Visibility field. +func (r *RepositoryListByAuthenticatedUserOptions) GetVisibility() string { + if r == nil { + return "" } - return w.Inputs + return r.Visibility } -// GetInstallation returns the Installation field. -func (w *WorkflowDispatchEvent) GetInstallation() *Installation { - if w == nil { - return nil +// GetDirection returns the Direction field. +func (r *RepositoryListByOrgOptions) GetDirection() string { + if r == nil { + return "" } - return w.Installation + return r.Direction } -// GetOrg returns the Org field. -func (w *WorkflowDispatchEvent) GetOrg() *Organization { - if w == nil { - return nil +// GetSort returns the Sort field. +func (r *RepositoryListByOrgOptions) GetSort() string { + if r == nil { + return "" } - return w.Org + return r.Sort } -// GetRef returns the Ref field if it's non-nil, zero value otherwise. -func (w *WorkflowDispatchEvent) GetRef() string { - if w == nil || w.Ref == nil { +// GetType returns the Type field. +func (r *RepositoryListByOrgOptions) GetType() string { + if r == nil { return "" } - return *w.Ref + return r.Type } -// GetRepo returns the Repo field. -func (w *WorkflowDispatchEvent) GetRepo() *Repository { - if w == nil { - return nil +// GetDirection returns the Direction field. +func (r *RepositoryListByUserOptions) GetDirection() string { + if r == nil { + return "" } - return w.Repo + return r.Direction } -// GetSender returns the Sender field. -func (w *WorkflowDispatchEvent) GetSender() *User { - if w == nil { - return nil +// GetSort returns the Sort field. +func (r *RepositoryListByUserOptions) GetSort() string { + if r == nil { + return "" } - return w.Sender + return r.Sort } -// GetWorkflow returns the Workflow field if it's non-nil, zero value otherwise. -func (w *WorkflowDispatchEvent) GetWorkflow() string { - if w == nil || w.Workflow == nil { +// GetType returns the Type field. +func (r *RepositoryListByUserOptions) GetType() string { + if r == nil { return "" } - return *w.Workflow + return r.Type } -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (w *WorkflowDispatchRunDetails) GetHTMLURL() string { - if w == nil || w.HTMLURL == nil { +// GetSort returns the Sort field. +func (r *RepositoryListForksOptions) GetSort() string { + if r == nil { return "" } - return *w.HTMLURL + return r.Sort } -// GetRunURL returns the RunURL field if it's non-nil, zero value otherwise. -func (w *WorkflowDispatchRunDetails) GetRunURL() string { - if w == nil || w.RunURL == nil { +// GetAffiliation returns the Affiliation field. +func (r *RepositoryListOptions) GetAffiliation() string { + if r == nil { return "" } - return *w.RunURL + return r.Affiliation } -// GetWorkflowRunID returns the WorkflowRunID field if it's non-nil, zero value otherwise. -func (w *WorkflowDispatchRunDetails) GetWorkflowRunID() int64 { - if w == nil || w.WorkflowRunID == nil { - return 0 +// GetDirection returns the Direction field. +func (r *RepositoryListOptions) GetDirection() string { + if r == nil { + return "" } - return *w.WorkflowRunID + return r.Direction } -// GetCheckRunURL returns the CheckRunURL field if it's non-nil, zero value otherwise. -func (w *WorkflowJob) GetCheckRunURL() string { - if w == nil || w.CheckRunURL == nil { +// GetSort returns the Sort field. +func (r *RepositoryListOptions) GetSort() string { + if r == nil { return "" } - return *w.CheckRunURL + return r.Sort } -// GetCompletedAt returns the CompletedAt field if it's non-nil, zero value otherwise. -func (w *WorkflowJob) GetCompletedAt() Timestamp { - if w == nil || w.CompletedAt == nil { - return Timestamp{} +// GetType returns the Type field. +func (r *RepositoryListOptions) GetType() string { + if r == nil { + return "" } - return *w.CompletedAt + return r.Type } -// GetConclusion returns the Conclusion field if it's non-nil, zero value otherwise. -func (w *WorkflowJob) GetConclusion() string { - if w == nil || w.Conclusion == nil { +// GetVisibility returns the Visibility field. +func (r *RepositoryListOptions) GetVisibility() string { + if r == nil { return "" } - return *w.Conclusion + return r.Visibility } -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (w *WorkflowJob) GetCreatedAt() Timestamp { - if w == nil || w.CreatedAt == nil { - return Timestamp{} +// GetIncludesParents returns the IncludesParents field if it's non-nil, zero value otherwise. +func (r *RepositoryListRulesetsOptions) GetIncludesParents() bool { + if r == nil || r.IncludesParents == nil { + return false } - return *w.CreatedAt + return *r.IncludesParents } -// GetHeadBranch returns the HeadBranch field if it's non-nil, zero value otherwise. -func (w *WorkflowJob) GetHeadBranch() string { - if w == nil || w.HeadBranch == nil { +// GetBase returns the Base field. +func (r *RepositoryMergeRequest) GetBase() string { + if r == nil { return "" } - return *w.HeadBranch + return r.Base } -// GetHeadSHA returns the HeadSHA field if it's non-nil, zero value otherwise. -func (w *WorkflowJob) GetHeadSHA() string { - if w == nil || w.HeadSHA == nil { +// GetCommitMessage returns the CommitMessage field if it's non-nil, zero value otherwise. +func (r *RepositoryMergeRequest) GetCommitMessage() string { + if r == nil || r.CommitMessage == nil { return "" } - return *w.HeadSHA + return *r.CommitMessage } -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (w *WorkflowJob) GetHTMLURL() string { - if w == nil || w.HTMLURL == nil { +// GetHead returns the Head field. +func (r *RepositoryMergeRequest) GetHead() string { + if r == nil { return "" } - return *w.HTMLURL + return r.Head } -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (w *WorkflowJob) GetID() int64 { - if w == nil || w.ID == nil { - return 0 +// 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 *w.ID + return r.All } -// GetLabels returns the Labels slice if it's non-nil, nil otherwise. -func (w *WorkflowJob) GetLabels() []string { - if w == nil || w.Labels == nil { +// 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 w.Labels + return r.Owner } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (w *WorkflowJob) GetName() string { - if w == nil || w.Name == nil { +// GetPermission returns the Permission field if it's non-nil, zero value otherwise. +func (r *RepositoryPermissionLevel) GetPermission() string { + if r == nil || r.Permission == nil { return "" } - return *w.Name + return *r.Permission } -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (w *WorkflowJob) GetNodeID() string { - if w == nil || w.NodeID == nil { +// GetRoleName returns the RoleName field if it's non-nil, zero value otherwise. +func (r *RepositoryPermissionLevel) GetRoleName() string { + if r == nil || r.RoleName == nil { return "" } - return *w.NodeID + return *r.RoleName } -// GetRunAttempt returns the RunAttempt field if it's non-nil, zero value otherwise. -func (w *WorkflowJob) GetRunAttempt() int64 { - if w == nil || w.RunAttempt == nil { - return 0 +// GetUser returns the User field. +func (r *RepositoryPermissionLevel) GetUser() *User { + if r == nil { + return nil } - return *w.RunAttempt + return r.User } -// GetRunID returns the RunID field if it's non-nil, zero value otherwise. -func (w *WorkflowJob) GetRunID() int64 { - if w == nil || w.RunID == nil { - return 0 +// GetAdmin returns the Admin field if it's non-nil, zero value otherwise. +func (r *RepositoryPermissions) GetAdmin() bool { + if r == nil || r.Admin == nil { + return false + } + return *r.Admin +} + +// GetMaintain returns the Maintain field if it's non-nil, zero value otherwise. +func (r *RepositoryPermissions) GetMaintain() bool { + if r == nil || r.Maintain == nil { + return false } - return *w.RunID + return *r.Maintain } -// GetRunnerGroupID returns the RunnerGroupID field if it's non-nil, zero value otherwise. -func (w *WorkflowJob) GetRunnerGroupID() int64 { - if w == nil || w.RunnerGroupID == nil { - return 0 +// GetPull returns the Pull field if it's non-nil, zero value otherwise. +func (r *RepositoryPermissions) GetPull() bool { + if r == nil || r.Pull == nil { + return false } - return *w.RunnerGroupID + return *r.Pull } -// GetRunnerGroupName returns the RunnerGroupName field if it's non-nil, zero value otherwise. -func (w *WorkflowJob) GetRunnerGroupName() string { - if w == nil || w.RunnerGroupName == nil { - return "" +// GetPush returns the Push field if it's non-nil, zero value otherwise. +func (r *RepositoryPermissions) GetPush() bool { + if r == nil || r.Push == nil { + return false } - return *w.RunnerGroupName + return *r.Push } -// GetRunnerID returns the RunnerID field if it's non-nil, zero value otherwise. -func (w *WorkflowJob) GetRunnerID() int64 { - if w == nil || w.RunnerID == nil { - return 0 +// GetTriage returns the Triage field if it's non-nil, zero value otherwise. +func (r *RepositoryPermissions) GetTriage() bool { + if r == nil || r.Triage == nil { + return false } - return *w.RunnerID + return *r.Triage } -// GetRunnerName returns the RunnerName field if it's non-nil, zero value otherwise. -func (w *WorkflowJob) GetRunnerName() string { - if w == nil || w.RunnerName == nil { - return "" +// 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 *w.RunnerName + return r.Assets } -// GetRunURL returns the RunURL field if it's non-nil, zero value otherwise. -func (w *WorkflowJob) GetRunURL() string { - if w == nil || w.RunURL == nil { +// GetAssetsURL returns the AssetsURL field. +func (r *RepositoryRelease) GetAssetsURL() string { + if r == nil { return "" } - return *w.RunURL + return r.AssetsURL } -// GetStartedAt returns the StartedAt field if it's non-nil, zero value otherwise. -func (w *WorkflowJob) GetStartedAt() Timestamp { - if w == nil || w.StartedAt == nil { - return Timestamp{} +// GetAuthor returns the Author field. +func (r *RepositoryRelease) GetAuthor() *User { + if r == nil { + return nil } - return *w.StartedAt + return r.Author } -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (w *WorkflowJob) GetStatus() string { - if w == nil || w.Status == nil { +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (r *RepositoryRelease) GetBody() string { + if r == nil || r.Body == nil { return "" } - return *w.Status + return *r.Body } -// 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 +// GetBodyHTML returns the BodyHTML field if it's non-nil, zero value otherwise. +func (r *RepositoryRelease) GetBodyHTML() string { + if r == nil || r.BodyHTML == nil { + return "" } - return w.Steps + return *r.BodyHTML } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (w *WorkflowJob) GetURL() string { - if w == nil || w.URL == nil { +// GetBodyText returns the BodyText field if it's non-nil, zero value otherwise. +func (r *RepositoryRelease) GetBodyText() string { + if r == nil || r.BodyText == nil { return "" } - return *w.URL + return *r.BodyText } -// GetWorkflowName returns the WorkflowName field if it's non-nil, zero value otherwise. -func (w *WorkflowJob) GetWorkflowName() string { - if w == nil || w.WorkflowName == nil { - return "" +// GetCreatedAt returns the CreatedAt field. +func (r *RepositoryRelease) GetCreatedAt() Timestamp { + if r == nil { + return Timestamp{} } - return *w.WorkflowName + return r.CreatedAt } -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (w *WorkflowJobEvent) GetAction() string { - if w == nil || w.Action == nil { +// GetDiscussionURL returns the DiscussionURL field if it's non-nil, zero value otherwise. +func (r *RepositoryRelease) GetDiscussionURL() string { + if r == nil || r.DiscussionURL == nil { return "" } - return *w.Action + return *r.DiscussionURL } -// GetDeployment returns the Deployment field. -func (w *WorkflowJobEvent) GetDeployment() *Deployment { - if w == nil { - return nil +// GetDraft returns the Draft field. +func (r *RepositoryRelease) GetDraft() bool { + if r == nil { + return false } - return w.Deployment + return r.Draft } -// GetInstallation returns the Installation field. -func (w *WorkflowJobEvent) GetInstallation() *Installation { - if w == nil { - return nil +// GetHTMLURL returns the HTMLURL field. +func (r *RepositoryRelease) GetHTMLURL() string { + if r == nil { + return "" } - return w.Installation + return r.HTMLURL } -// GetOrg returns the Org field. -func (w *WorkflowJobEvent) GetOrg() *Organization { - if w == nil { - return nil +// GetID returns the ID field. +func (r *RepositoryRelease) GetID() int64 { + if r == nil { + return 0 } - return w.Org + return r.ID } -// GetRepo returns the Repo field. -func (w *WorkflowJobEvent) GetRepo() *Repository { - if w == nil { - return nil +// GetImmutable returns the Immutable field if it's non-nil, zero value otherwise. +func (r *RepositoryRelease) GetImmutable() bool { + if r == nil || r.Immutable == nil { + return false } - return w.Repo + return *r.Immutable } -// GetSender returns the Sender field. -func (w *WorkflowJobEvent) GetSender() *User { - if w == nil { - return nil +// GetMentionsCount returns the MentionsCount field if it's non-nil, zero value otherwise. +func (r *RepositoryRelease) GetMentionsCount() int { + if r == nil || r.MentionsCount == nil { + return 0 } - return w.Sender + return *r.MentionsCount } -// GetWorkflowJob returns the WorkflowJob field. -func (w *WorkflowJobEvent) GetWorkflowJob() *WorkflowJob { - if w == nil { - return nil +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (r *RepositoryRelease) GetName() string { + if r == nil || r.Name == nil { + return "" } - return w.WorkflowJob + return *r.Name } -// GetConclusion returns the Conclusion field if it's non-nil, zero value otherwise. -func (w *WorkflowJobRun) GetConclusion() string { - if w == nil || w.Conclusion == nil { +// GetNodeID returns the NodeID field. +func (r *RepositoryRelease) GetNodeID() string { + if r == nil { return "" } - return *w.Conclusion + return r.NodeID } -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (w *WorkflowJobRun) GetCreatedAt() Timestamp { - if w == nil || w.CreatedAt == nil { - return Timestamp{} +// GetPrerelease returns the Prerelease field. +func (r *RepositoryRelease) GetPrerelease() bool { + if r == nil { + return false } - return *w.CreatedAt + return r.Prerelease } -// GetEnvironment returns the Environment field if it's non-nil, zero value otherwise. -func (w *WorkflowJobRun) GetEnvironment() string { - if w == nil || w.Environment == nil { - return "" +// GetPublishedAt returns the PublishedAt field if it's non-nil, zero value otherwise. +func (r *RepositoryRelease) GetPublishedAt() Timestamp { + if r == nil || r.PublishedAt == nil { + return Timestamp{} } - return *w.Environment + return *r.PublishedAt } -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (w *WorkflowJobRun) GetHTMLURL() string { - if w == nil || w.HTMLURL == nil { - return "" +// GetReactions returns the Reactions field. +func (r *RepositoryRelease) GetReactions() *Reactions { + if r == nil { + return nil } - return *w.HTMLURL + return r.Reactions } -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (w *WorkflowJobRun) GetID() int64 { - if w == nil || w.ID == nil { - return 0 +// GetTagName returns the TagName field. +func (r *RepositoryRelease) GetTagName() string { + if r == nil { + return "" } - return *w.ID + return r.TagName } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (w *WorkflowJobRun) GetName() string { - if w == nil || w.Name == nil { +// GetTarballURL returns the TarballURL field if it's non-nil, zero value otherwise. +func (r *RepositoryRelease) GetTarballURL() string { + if r == nil || r.TarballURL == nil { return "" } - return *w.Name + return *r.TarballURL } -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (w *WorkflowJobRun) GetStatus() string { - if w == nil || w.Status == nil { +// GetTargetCommitish returns the TargetCommitish field. +func (r *RepositoryRelease) GetTargetCommitish() string { + if r == nil { return "" } - return *w.Status + return r.TargetCommitish } // GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (w *WorkflowJobRun) GetUpdatedAt() Timestamp { - if w == nil || w.UpdatedAt == nil { +func (r *RepositoryRelease) GetUpdatedAt() Timestamp { + if r == nil || r.UpdatedAt == nil { return Timestamp{} } - return *w.UpdatedAt -} - -// GetActor returns the Actor field. -func (w *WorkflowRun) GetActor() *User { - if w == nil { - return nil - } - return w.Actor + return *r.UpdatedAt } -// GetArtifactsURL returns the ArtifactsURL field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetArtifactsURL() string { - if w == nil || w.ArtifactsURL == nil { +// GetUploadURL returns the UploadURL field. +func (r *RepositoryRelease) GetUploadURL() string { + if r == nil { return "" } - return *w.ArtifactsURL + return r.UploadURL } -// GetCancelURL returns the CancelURL field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetCancelURL() string { - if w == nil || w.CancelURL == nil { +// GetURL returns the URL field. +func (r *RepositoryRelease) GetURL() string { + if r == nil { return "" } - return *w.CancelURL -} - -// GetCheckSuiteID returns the CheckSuiteID field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetCheckSuiteID() int64 { - if w == nil || w.CheckSuiteID == nil { - return 0 - } - return *w.CheckSuiteID + return r.URL } -// GetCheckSuiteNodeID returns the CheckSuiteNodeID field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetCheckSuiteNodeID() string { - if w == nil || w.CheckSuiteNodeID == nil { +// GetZipballURL returns the ZipballURL field if it's non-nil, zero value otherwise. +func (r *RepositoryRelease) GetZipballURL() string { + if r == nil || r.ZipballURL == nil { return "" } - return *w.CheckSuiteNodeID + return *r.ZipballURL } -// GetCheckSuiteURL returns the CheckSuiteURL field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetCheckSuiteURL() string { - if w == nil || w.CheckSuiteURL == nil { +// GetBody returns the Body field. +func (r *RepositoryReleaseNotes) GetBody() string { + if r == nil { return "" } - return *w.CheckSuiteURL + return r.Body } -// GetConclusion returns the Conclusion field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetConclusion() string { - if w == nil || w.Conclusion == nil { +// GetName returns the Name field. +func (r *RepositoryReleaseNotes) GetName() string { + if r == nil { return "" } - return *w.Conclusion + return r.Name } -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetCreatedAt() Timestamp { - if w == nil || w.CreatedAt == nil { - return Timestamp{} +// GetParameters returns the Parameters field. +func (r *RepositoryRule) GetParameters() any { + if r == nil { + return nil } - return *w.CreatedAt + return r.Parameters } -// GetDisplayTitle returns the DisplayTitle field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetDisplayTitle() string { - if w == nil || w.DisplayTitle == nil { +// GetType returns the Type field. +func (r *RepositoryRule) GetType() RepositoryRuleType { + if r == nil { return "" } - return *w.DisplayTitle + return r.Type } -// GetEvent returns the Event field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetEvent() string { - if w == nil || w.Event == nil { - return "" +// 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 *w.Event + return r.BypassActors } -// GetHeadBranch returns the HeadBranch field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetHeadBranch() string { - if w == nil || w.HeadBranch == nil { - return "" +// GetConditions returns the Conditions field. +func (r *RepositoryRuleset) GetConditions() *RepositoryRulesetConditions { + if r == nil { + return nil } - return *w.HeadBranch + return r.Conditions } -// GetHeadCommit returns the HeadCommit field. -func (w *WorkflowRun) GetHeadCommit() *HeadCommit { - if w == nil { - return nil +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (r *RepositoryRuleset) GetCreatedAt() Timestamp { + if r == nil || r.CreatedAt == nil { + return Timestamp{} } - return w.HeadCommit + return *r.CreatedAt } -// GetHeadRepository returns the HeadRepository field. -func (w *WorkflowRun) GetHeadRepository() *Repository { - if w == nil { +// GetCurrentUserCanBypass returns the CurrentUserCanBypass field. +func (r *RepositoryRuleset) GetCurrentUserCanBypass() *BypassMode { + if r == nil { return nil } - return w.HeadRepository + return r.CurrentUserCanBypass } -// GetHeadSHA returns the HeadSHA field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetHeadSHA() string { - if w == nil || w.HeadSHA == nil { +// GetEnforcement returns the Enforcement field. +func (r *RepositoryRuleset) GetEnforcement() RulesetEnforcement { + if r == nil { return "" } - return *w.HeadSHA + return r.Enforcement } -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetHTMLURL() string { - if w == nil || w.HTMLURL == nil { - return "" +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (r *RepositoryRuleset) GetID() int64 { + if r == nil || r.ID == nil { + return 0 } - return *w.HTMLURL + return *r.ID } -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetID() int64 { - if w == nil || w.ID == nil { - return 0 +// GetLinks returns the Links field. +func (r *RepositoryRuleset) GetLinks() *RepositoryRulesetLinks { + if r == nil { + return nil } - return *w.ID + return r.Links } -// GetJobsURL returns the JobsURL field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetJobsURL() string { - if w == nil || w.JobsURL == nil { +// GetName returns the Name field. +func (r *RepositoryRuleset) GetName() string { + if r == nil { return "" } - return *w.JobsURL + return r.Name } -// GetLogsURL returns the LogsURL field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetLogsURL() string { - if w == nil || w.LogsURL == nil { +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (r *RepositoryRuleset) GetNodeID() string { + if r == nil || r.NodeID == nil { return "" } - return *w.LogsURL + return *r.NodeID } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetName() string { - if w == nil || w.Name == nil { - return "" +// GetRules returns the Rules field. +func (r *RepositoryRuleset) GetRules() *RepositoryRulesetRules { + if r == nil { + return nil } - return *w.Name + return r.Rules } -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetNodeID() string { - if w == nil || w.NodeID == nil { +// GetSource returns the Source field. +func (r *RepositoryRuleset) GetSource() string { + if r == nil { return "" } - return *w.NodeID + return r.Source +} + +// GetSourceType returns the SourceType field. +func (r *RepositoryRuleset) GetSourceType() *RulesetSourceType { + if r == nil { + return nil + } + return r.SourceType } -// GetPath returns the Path field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetPath() string { - if w == nil || w.Path == nil { - return "" +// GetTarget returns the Target field. +func (r *RepositoryRuleset) GetTarget() *RulesetTarget { + if r == nil { + return nil } - return *w.Path + return r.Target } -// GetPreviousAttemptURL returns the PreviousAttemptURL field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetPreviousAttemptURL() string { - if w == nil || w.PreviousAttemptURL == nil { - return "" +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (r *RepositoryRuleset) GetUpdatedAt() Timestamp { + if r == nil || r.UpdatedAt == nil { + return Timestamp{} } - return *w.PreviousAttemptURL + return *r.UpdatedAt } -// GetPullRequests returns the PullRequests slice if it's non-nil, nil otherwise. -func (w *WorkflowRun) GetPullRequests() []*PullRequest { - if w == nil || w.PullRequests == nil { +// 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 w.PullRequests + return r.Added } -// GetReferencedWorkflows returns the ReferencedWorkflows slice if it's non-nil, nil otherwise. -func (w *WorkflowRun) GetReferencedWorkflows() []*ReferencedWorkflow { - if w == nil || w.ReferencedWorkflows == nil { +// 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 w.ReferencedWorkflows + return r.Deleted } -// GetRepository returns the Repository field. -func (w *WorkflowRun) GetRepository() *Repository { - if w == nil { +// 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 w.Repository + return r.Updated } -// GetRerunURL returns the RerunURL field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetRerunURL() string { - if w == nil || w.RerunURL == nil { - return "" +// GetConfiguration returns the Configuration field. +func (r *RepositoryRulesetChangedRule) GetConfiguration() *RepositoryRulesetChangeSource { + if r == nil { + return nil } - return *w.RerunURL + return r.Configuration } -// GetRunAttempt returns the RunAttempt field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetRunAttempt() int { - if w == nil || w.RunAttempt == nil { - return 0 +// GetPattern returns the Pattern field. +func (r *RepositoryRulesetChangedRule) GetPattern() *RepositoryRulesetChangeSource { + if r == nil { + return nil } - return *w.RunAttempt + return r.Pattern } -// GetRunNumber returns the RunNumber field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetRunNumber() int { - if w == nil || w.RunNumber == nil { - return 0 +// GetRuleType returns the RuleType field. +func (r *RepositoryRulesetChangedRule) GetRuleType() *RepositoryRulesetChangeSource { + if r == nil { + return nil } - return *w.RunNumber + return r.RuleType } -// GetRunStartedAt returns the RunStartedAt field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetRunStartedAt() Timestamp { - if w == nil || w.RunStartedAt == nil { - return Timestamp{} +// 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 *w.RunStartedAt + return r.Added } -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetStatus() string { - if w == nil || w.Status == nil { - return "" +// 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 *w.Status + return r.Deleted } -// GetTriggeringActor returns the TriggeringActor field. -func (w *WorkflowRun) GetTriggeringActor() *User { - if w == nil { +// 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 w.TriggeringActor + return r.Updated } -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetUpdatedAt() Timestamp { - if w == nil || w.UpdatedAt == nil { - return Timestamp{} +// GetConditions returns the Conditions field. +func (r *RepositoryRulesetChanges) GetConditions() *RepositoryRulesetChangedConditions { + if r == nil { + return nil } - return *w.UpdatedAt + return r.Conditions } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetURL() string { - if w == nil || w.URL == nil { - return "" +// GetEnforcement returns the Enforcement field. +func (r *RepositoryRulesetChanges) GetEnforcement() *RepositoryRulesetChangeSource { + if r == nil { + return nil } - return *w.URL + return r.Enforcement } -// GetWorkflowID returns the WorkflowID field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetWorkflowID() int64 { - if w == nil || w.WorkflowID == nil { - return 0 +// GetName returns the Name field. +func (r *RepositoryRulesetChanges) GetName() *RepositoryRulesetChangeSource { + if r == nil { + return nil } - return *w.WorkflowID + return r.Name } -// GetWorkflowURL returns the WorkflowURL field if it's non-nil, zero value otherwise. -func (w *WorkflowRun) GetWorkflowURL() string { - if w == nil || w.WorkflowURL == nil { - return "" +// GetRules returns the Rules field. +func (r *RepositoryRulesetChanges) GetRules() *RepositoryRulesetChangedRules { + if r == nil { + return nil } - return *w.WorkflowURL + return r.Rules } -// GetExcludePullRequests returns the ExcludePullRequests field if it's non-nil, zero value otherwise. -func (w *WorkflowRunAttemptOptions) GetExcludePullRequests() bool { - if w == nil || w.ExcludePullRequests == nil { - return false +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (r *RepositoryRulesetChangeSource) GetFrom() string { + if r == nil || r.From == nil { + return "" } - return *w.ExcludePullRequests + return *r.From } -// GetJobRuns returns the JobRuns slice if it's non-nil, nil otherwise. -func (w *WorkflowRunBill) GetJobRuns() []*WorkflowRunJobRun { - if w == nil || w.JobRuns == nil { +// 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 w.JobRuns + return r.From } -// GetJobs returns the Jobs field if it's non-nil, zero value otherwise. -func (w *WorkflowRunBill) GetJobs() int { - if w == nil || w.Jobs == nil { - return 0 +// GetOrganizationID returns the OrganizationID field. +func (r *RepositoryRulesetConditions) GetOrganizationID() *RepositoryRulesetOrganizationIDsConditionParameters { + if r == nil { + return nil } - return *w.Jobs + return r.OrganizationID } -// GetTotalMS returns the TotalMS field if it's non-nil, zero value otherwise. -func (w *WorkflowRunBill) GetTotalMS() int64 { - if w == nil || w.TotalMS == nil { - return 0 +// GetOrganizationName returns the OrganizationName field. +func (r *RepositoryRulesetConditions) GetOrganizationName() *RepositoryRulesetOrganizationNamesConditionParameters { + if r == nil { + return nil } - return *w.TotalMS + return r.OrganizationName } -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (w *WorkflowRunEvent) GetAction() string { - if w == nil || w.Action == nil { - return "" +// GetOrganizationProperty returns the OrganizationProperty field. +func (r *RepositoryRulesetConditions) GetOrganizationProperty() *RepositoryRulesetOrganizationPropertyConditionParameters { + if r == nil { + return nil } - return *w.Action + return r.OrganizationProperty } -// GetInstallation returns the Installation field. -func (w *WorkflowRunEvent) GetInstallation() *Installation { - if w == nil { +// GetRefName returns the RefName field. +func (r *RepositoryRulesetConditions) GetRefName() *RepositoryRulesetRefConditionParameters { + if r == nil { return nil } - return w.Installation + return r.RefName } -// GetOrg returns the Org field. -func (w *WorkflowRunEvent) GetOrg() *Organization { - if w == nil { +// GetRepositoryID returns the RepositoryID field. +func (r *RepositoryRulesetConditions) GetRepositoryID() *RepositoryRulesetRepositoryIDsConditionParameters { + if r == nil { return nil } - return w.Org + return r.RepositoryID } -// GetRepo returns the Repo field. -func (w *WorkflowRunEvent) GetRepo() *Repository { - if w == nil { +// GetRepositoryName returns the RepositoryName field. +func (r *RepositoryRulesetConditions) GetRepositoryName() *RepositoryRulesetRepositoryNamesConditionParameters { + if r == nil { return nil } - return w.Repo + return r.RepositoryName } -// GetSender returns the Sender field. -func (w *WorkflowRunEvent) GetSender() *User { - if w == nil { +// GetRepositoryProperty returns the RepositoryProperty field. +func (r *RepositoryRulesetConditions) GetRepositoryProperty() *RepositoryRulesetRepositoryPropertyConditionParameters { + if r == nil { return nil } - return w.Sender + return r.RepositoryProperty } -// GetWorkflow returns the Workflow field. -func (w *WorkflowRunEvent) GetWorkflow() *Workflow { - if w == nil { - return nil +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (r *RepositoryRulesetEvent) GetAction() string { + if r == nil || r.Action == nil { + return "" } - return w.Workflow + return *r.Action } -// GetWorkflowRun returns the WorkflowRun field. -func (w *WorkflowRunEvent) GetWorkflowRun() *WorkflowRun { - if w == nil { +// GetChanges returns the Changes field. +func (r *RepositoryRulesetEvent) GetChanges() *RepositoryRulesetChanges { + if r == nil { return nil } - return w.WorkflowRun + return r.Changes } -// GetDurationMS returns the DurationMS field if it's non-nil, zero value otherwise. -func (w *WorkflowRunJobRun) GetDurationMS() int64 { - if w == nil || w.DurationMS == nil { - return 0 +// GetEnterprise returns the Enterprise field. +func (r *RepositoryRulesetEvent) GetEnterprise() *Enterprise { + if r == nil { + return nil } - return *w.DurationMS + return r.Enterprise } -// GetJobID returns the JobID field if it's non-nil, zero value otherwise. -func (w *WorkflowRunJobRun) GetJobID() int { - if w == nil || w.JobID == nil { - return 0 +// GetInstallation returns the Installation field. +func (r *RepositoryRulesetEvent) GetInstallation() *Installation { + if r == nil { + return nil } - return *w.JobID + return r.Installation } -// GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. -func (w *WorkflowRuns) GetTotalCount() int { - if w == nil || w.TotalCount == nil { - return 0 +// GetOrganization returns the Organization field. +func (r *RepositoryRulesetEvent) GetOrganization() *Organization { + if r == nil { + return nil } - return *w.TotalCount + return r.Organization } -// GetWorkflowRuns returns the WorkflowRuns slice if it's non-nil, nil otherwise. -func (w *WorkflowRuns) GetWorkflowRuns() []*WorkflowRun { - if w == nil || w.WorkflowRuns == nil { +// GetRepository returns the Repository field. +func (r *RepositoryRulesetEvent) GetRepository() *Repository { + if r == nil { return nil } - return w.WorkflowRuns + return r.Repository } -// GetBillable returns the Billable field. -func (w *WorkflowRunUsage) GetBillable() *WorkflowRunBillMap { - if w == nil { +// GetRepositoryRuleset returns the RepositoryRuleset field. +func (r *RepositoryRulesetEvent) GetRepositoryRuleset() *RepositoryRuleset { + if r == nil { return nil } - return w.Billable + return r.RepositoryRuleset } -// GetRunDurationMS returns the RunDurationMS field if it's non-nil, zero value otherwise. -func (w *WorkflowRunUsage) GetRunDurationMS() int64 { - if w == nil || w.RunDurationMS == nil { - return 0 +// GetSender returns the Sender field. +func (r *RepositoryRulesetEvent) GetSender() *User { + if r == nil { + return nil } - return *w.RunDurationMS + return r.Sender } -// GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. -func (w *Workflows) GetTotalCount() int { - if w == nil || w.TotalCount == nil { - return 0 +// GetHRef returns the HRef field if it's non-nil, zero value otherwise. +func (r *RepositoryRulesetLink) GetHRef() string { + if r == nil || r.HRef == nil { + return "" } - return *w.TotalCount + return *r.HRef } -// GetWorkflows returns the Workflows slice if it's non-nil, nil otherwise. -func (w *Workflows) GetWorkflows() []*Workflow { - if w == nil || w.Workflows == nil { +// GetHTML returns the HTML field. +func (r *RepositoryRulesetLinks) GetHTML() *RepositoryRulesetLink { + if r == nil { return nil } - return w.Workflows -} - -// GetParameters returns the Parameters field. -func (w *WorkflowsBranchRule) GetParameters() WorkflowsRuleParameters { - if w == nil { - return WorkflowsRuleParameters{} - } - return w.Parameters + return r.HTML } -// GetRequireApprovalForForkPRWorkflows returns the RequireApprovalForForkPRWorkflows field if it's non-nil, zero value otherwise. -func (w *WorkflowsPermissions) GetRequireApprovalForForkPRWorkflows() bool { - if w == nil || w.RequireApprovalForForkPRWorkflows == nil { - return false +// GetSelf returns the Self field. +func (r *RepositoryRulesetLinks) GetSelf() *RepositoryRulesetLink { + if r == nil { + return nil } - return *w.RequireApprovalForForkPRWorkflows + return r.Self } -// GetRunWorkflowsFromForkPullRequests returns the RunWorkflowsFromForkPullRequests field if it's non-nil, zero value otherwise. -func (w *WorkflowsPermissions) GetRunWorkflowsFromForkPullRequests() bool { - if w == nil || w.RunWorkflowsFromForkPullRequests == nil { - return false +// 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 *w.RunWorkflowsFromForkPullRequests + return r.OrganizationIDs } -// GetSendSecretsAndVariables returns the SendSecretsAndVariables field if it's non-nil, zero value otherwise. -func (w *WorkflowsPermissions) GetSendSecretsAndVariables() bool { - if w == nil || w.SendSecretsAndVariables == nil { - return false +// 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 *w.SendSecretsAndVariables + return r.Exclude } -// GetSendWriteTokensToWorkflows returns the SendWriteTokensToWorkflows field if it's non-nil, zero value otherwise. -func (w *WorkflowsPermissions) GetSendWriteTokensToWorkflows() bool { - if w == nil || w.SendWriteTokensToWorkflows == nil { - return false +// 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 *w.SendWriteTokensToWorkflows + return r.Include } -// GetRequireApprovalForForkPRWorkflows returns the RequireApprovalForForkPRWorkflows field if it's non-nil, zero value otherwise. -func (w *WorkflowsPermissionsOpt) GetRequireApprovalForForkPRWorkflows() bool { - if w == nil || w.RequireApprovalForForkPRWorkflows == nil { - return false +// 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 *w.RequireApprovalForForkPRWorkflows + return r.Exclude } -// GetRunWorkflowsFromForkPullRequests returns the RunWorkflowsFromForkPullRequests field. -func (w *WorkflowsPermissionsOpt) GetRunWorkflowsFromForkPullRequests() bool { - if w == nil { - return false +// 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 w.RunWorkflowsFromForkPullRequests + return r.Include } -// GetSendSecretsAndVariables returns the SendSecretsAndVariables field if it's non-nil, zero value otherwise. -func (w *WorkflowsPermissionsOpt) GetSendSecretsAndVariables() bool { - if w == nil || w.SendSecretsAndVariables == nil { - return false +// 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 *w.SendSecretsAndVariables + return r.Exclude } -// GetSendWriteTokensToWorkflows returns the SendWriteTokensToWorkflows field if it's non-nil, zero value otherwise. -func (w *WorkflowsPermissionsOpt) GetSendWriteTokensToWorkflows() bool { - if w == nil || w.SendWriteTokensToWorkflows == nil { - return false +// 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 *w.SendWriteTokensToWorkflows + return r.Include } -// GetDoNotEnforceOnCreate returns the DoNotEnforceOnCreate field if it's non-nil, zero value otherwise. -func (w *WorkflowsRuleParameters) GetDoNotEnforceOnCreate() bool { - if w == nil || w.DoNotEnforceOnCreate == nil { - return false +// 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 *w.DoNotEnforceOnCreate + return r.RepositoryIDs } -// GetWorkflows returns the Workflows slice if it's non-nil, nil otherwise. -func (w *WorkflowsRuleParameters) GetWorkflows() []*RuleWorkflow { - if w == nil || w.Workflows == nil { +// 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 w.Workflows + return r.Exclude } -// GetBillable returns the Billable field. -func (w *WorkflowUsage) GetBillable() *WorkflowBillMap { - if w == nil { +// 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 w.Billable + return r.Include } diff --git a/github/github-accessors_test.go b/github/github-accessors_test.go index bc822744add..e18ea3d892e 100644 --- a/github/github-accessors_test.go +++ b/github/github-accessors_test.go @@ -1997,57924 +1997,7987 @@ 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() + a = nil c := &CopilotDailyMetricsReport{DownloadLinks: zeroValue} + c.GetDownloadLinks() + c = &CopilotDailyMetricsReport{} + c.GetDownloadLinks() + c = nil + c.GetDownloadLinks() } -func TestAlertListOptions_GetToolGUID(tt *testing.T) { +func TestCopilotDailyMetricsReport_GetReportDay(tt *testing.T) { tt.Parallel() - a := &AlertListOptions{} - a.GetToolGUID() - a = nil - a.GetToolGUID() + c := &CopilotDailyMetricsReport{} + c.GetReportDay() + c = nil + c.GetReportDay() } -func TestAlertListOptions_GetToolName(tt *testing.T) { +func TestCopilotDotcomChat_GetModels(tt *testing.T) { tt.Parallel() - a := &AlertListOptions{} - a.GetToolName() - a = nil - a.GetToolName() + zeroValue := []*CopilotDotcomChatModel{} + c := &CopilotDotcomChat{Models: zeroValue} + c.GetModels() + c = &CopilotDotcomChat{} + c.GetModels() + c = nil + c.GetModels() } -func TestAllowDeletions_GetEnabled(tt *testing.T) { +func TestCopilotDotcomChat_GetTotalEngagedUsers(tt *testing.T) { tt.Parallel() - a := &AllowDeletions{} - a.GetEnabled() - a = nil - a.GetEnabled() + c := &CopilotDotcomChat{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() } -func TestAllowDeletionsEnforcementLevelChanges_GetFrom(tt *testing.T) { +func TestCopilotDotcomChatModel_GetCustomModelTrainingDate(tt *testing.T) { tt.Parallel() var zeroValue string - a := &AllowDeletionsEnforcementLevelChanges{From: &zeroValue} - a.GetFrom() - a = &AllowDeletionsEnforcementLevelChanges{} - a.GetFrom() - a = nil - a.GetFrom() + c := &CopilotDotcomChatModel{CustomModelTrainingDate: &zeroValue} + c.GetCustomModelTrainingDate() + c = &CopilotDotcomChatModel{} + c.GetCustomModelTrainingDate() + c = nil + c.GetCustomModelTrainingDate() } -func TestAllowForcePushes_GetEnabled(tt *testing.T) { +func TestCopilotDotcomChatModel_GetIsCustomModel(tt *testing.T) { tt.Parallel() - a := &AllowForcePushes{} - a.GetEnabled() - a = nil - a.GetEnabled() + c := &CopilotDotcomChatModel{} + c.GetIsCustomModel() + c = nil + c.GetIsCustomModel() } -func TestAllowForkSyncing_GetEnabled(tt *testing.T) { +func TestCopilotDotcomChatModel_GetName(tt *testing.T) { tt.Parallel() - var zeroValue bool - a := &AllowForkSyncing{Enabled: &zeroValue} - a.GetEnabled() - a = &AllowForkSyncing{} - a.GetEnabled() - a = nil - a.GetEnabled() + c := &CopilotDotcomChatModel{} + c.GetName() + c = nil + c.GetName() } -func TestAmazonS3AccessKeysConfig_GetAuthenticationType(tt *testing.T) { +func TestCopilotDotcomChatModel_GetTotalChats(tt *testing.T) { tt.Parallel() - a := &AmazonS3AccessKeysConfig{} - a.GetAuthenticationType() - a = nil - a.GetAuthenticationType() + c := &CopilotDotcomChatModel{} + c.GetTotalChats() + c = nil + c.GetTotalChats() } -func TestAmazonS3AccessKeysConfig_GetBucket(tt *testing.T) { +func TestCopilotDotcomChatModel_GetTotalEngagedUsers(tt *testing.T) { tt.Parallel() - a := &AmazonS3AccessKeysConfig{} - a.GetBucket() - a = nil - a.GetBucket() + c := &CopilotDotcomChatModel{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() } -func TestAmazonS3AccessKeysConfig_GetEncryptedAccessKeyID(tt *testing.T) { +func TestCopilotDotcomPullRequests_GetRepositories(tt *testing.T) { tt.Parallel() - a := &AmazonS3AccessKeysConfig{} - a.GetEncryptedAccessKeyID() - a = nil - a.GetEncryptedAccessKeyID() + zeroValue := []*CopilotDotcomPullRequestsRepository{} + c := &CopilotDotcomPullRequests{Repositories: zeroValue} + c.GetRepositories() + c = &CopilotDotcomPullRequests{} + c.GetRepositories() + c = nil + c.GetRepositories() } -func TestAmazonS3AccessKeysConfig_GetEncryptedSecretKey(tt *testing.T) { +func TestCopilotDotcomPullRequests_GetTotalEngagedUsers(tt *testing.T) { tt.Parallel() - a := &AmazonS3AccessKeysConfig{} - a.GetEncryptedSecretKey() - a = nil - a.GetEncryptedSecretKey() + c := &CopilotDotcomPullRequests{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() } -func TestAmazonS3AccessKeysConfig_GetKeyID(tt *testing.T) { +func TestCopilotDotcomPullRequestsModel_GetCustomModelTrainingDate(tt *testing.T) { tt.Parallel() - a := &AmazonS3AccessKeysConfig{} - a.GetKeyID() - a = nil - a.GetKeyID() + var zeroValue string + c := &CopilotDotcomPullRequestsModel{CustomModelTrainingDate: &zeroValue} + c.GetCustomModelTrainingDate() + c = &CopilotDotcomPullRequestsModel{} + c.GetCustomModelTrainingDate() + c = nil + c.GetCustomModelTrainingDate() } -func TestAmazonS3AccessKeysConfig_GetRegion(tt *testing.T) { +func TestCopilotDotcomPullRequestsModel_GetIsCustomModel(tt *testing.T) { tt.Parallel() - a := &AmazonS3AccessKeysConfig{} - a.GetRegion() - a = nil - a.GetRegion() + c := &CopilotDotcomPullRequestsModel{} + c.GetIsCustomModel() + c = nil + c.GetIsCustomModel() } -func TestAmazonS3OIDCConfig_GetArnRole(tt *testing.T) { +func TestCopilotDotcomPullRequestsModel_GetName(tt *testing.T) { tt.Parallel() - a := &AmazonS3OIDCConfig{} - a.GetArnRole() - a = nil - a.GetArnRole() + c := &CopilotDotcomPullRequestsModel{} + c.GetName() + c = nil + c.GetName() } -func TestAmazonS3OIDCConfig_GetAuthenticationType(tt *testing.T) { +func TestCopilotDotcomPullRequestsModel_GetTotalEngagedUsers(tt *testing.T) { tt.Parallel() - a := &AmazonS3OIDCConfig{} - a.GetAuthenticationType() - a = nil - a.GetAuthenticationType() + c := &CopilotDotcomPullRequestsModel{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() } -func TestAmazonS3OIDCConfig_GetBucket(tt *testing.T) { +func TestCopilotDotcomPullRequestsModel_GetTotalPRSummariesCreated(tt *testing.T) { tt.Parallel() - a := &AmazonS3OIDCConfig{} - a.GetBucket() - a = nil - a.GetBucket() + c := &CopilotDotcomPullRequestsModel{} + c.GetTotalPRSummariesCreated() + c = nil + c.GetTotalPRSummariesCreated() } -func TestAmazonS3OIDCConfig_GetKeyID(tt *testing.T) { +func TestCopilotDotcomPullRequestsRepository_GetModels(tt *testing.T) { tt.Parallel() - a := &AmazonS3OIDCConfig{} - a.GetKeyID() - a = nil - a.GetKeyID() + zeroValue := []*CopilotDotcomPullRequestsModel{} + c := &CopilotDotcomPullRequestsRepository{Models: zeroValue} + c.GetModels() + c = &CopilotDotcomPullRequestsRepository{} + c.GetModels() + c = nil + c.GetModels() } -func TestAmazonS3OIDCConfig_GetRegion(tt *testing.T) { +func TestCopilotDotcomPullRequestsRepository_GetName(tt *testing.T) { tt.Parallel() - a := &AmazonS3OIDCConfig{} - a.GetRegion() - a = nil - a.GetRegion() + c := &CopilotDotcomPullRequestsRepository{} + c.GetName() + c = nil + c.GetName() } -func TestAnalysesListOptions_GetRef(tt *testing.T) { +func TestCopilotDotcomPullRequestsRepository_GetTotalEngagedUsers(tt *testing.T) { tt.Parallel() - var zeroValue string - a := &AnalysesListOptions{Ref: &zeroValue} - a.GetRef() - a = &AnalysesListOptions{} - a.GetRef() - a = nil - a.GetRef() + c := &CopilotDotcomPullRequestsRepository{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() } -func TestAnalysesListOptions_GetSarifID(tt *testing.T) { +func TestCopilotIDEChat_GetEditors(tt *testing.T) { tt.Parallel() - var zeroValue string - a := &AnalysesListOptions{SarifID: &zeroValue} - a.GetSarifID() - a = &AnalysesListOptions{} - a.GetSarifID() - a = nil - a.GetSarifID() + zeroValue := []*CopilotIDEChatEditor{} + c := &CopilotIDEChat{Editors: zeroValue} + c.GetEditors() + c = &CopilotIDEChat{} + c.GetEditors() + c = nil + c.GetEditors() } -func TestAPIMeta_GetActions(tt *testing.T) { +func TestCopilotIDEChat_GetTotalEngagedUsers(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - a := &APIMeta{Actions: zeroValue} - a.GetActions() - a = &APIMeta{} - a.GetActions() - a = nil - a.GetActions() + c := &CopilotIDEChat{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() } -func TestAPIMeta_GetActionsMacos(tt *testing.T) { +func TestCopilotIDEChatEditor_GetModels(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - a := &APIMeta{ActionsMacos: zeroValue} - a.GetActionsMacos() - a = &APIMeta{} - a.GetActionsMacos() - a = nil - a.GetActionsMacos() + zeroValue := []*CopilotIDEChatModel{} + c := &CopilotIDEChatEditor{Models: zeroValue} + c.GetModels() + c = &CopilotIDEChatEditor{} + c.GetModels() + c = nil + c.GetModels() } -func TestAPIMeta_GetAPI(tt *testing.T) { +func TestCopilotIDEChatEditor_GetName(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - a := &APIMeta{API: zeroValue} - a.GetAPI() - a = &APIMeta{} - a.GetAPI() - a = nil - a.GetAPI() + c := &CopilotIDEChatEditor{} + c.GetName() + c = nil + c.GetName() } -func TestAPIMeta_GetCodespaces(tt *testing.T) { +func TestCopilotIDEChatEditor_GetTotalEngagedUsers(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - a := &APIMeta{Codespaces: zeroValue} - a.GetCodespaces() - a = &APIMeta{} - a.GetCodespaces() - a = nil - a.GetCodespaces() + c := &CopilotIDEChatEditor{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() } -func TestAPIMeta_GetCopilot(tt *testing.T) { +func TestCopilotIDEChatModel_GetCustomModelTrainingDate(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - a := &APIMeta{Copilot: zeroValue} - a.GetCopilot() - a = &APIMeta{} - a.GetCopilot() - a = nil - a.GetCopilot() + var zeroValue string + c := &CopilotIDEChatModel{CustomModelTrainingDate: &zeroValue} + c.GetCustomModelTrainingDate() + c = &CopilotIDEChatModel{} + c.GetCustomModelTrainingDate() + c = nil + c.GetCustomModelTrainingDate() } -func TestAPIMeta_GetDependabot(tt *testing.T) { +func TestCopilotIDEChatModel_GetIsCustomModel(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - a := &APIMeta{Dependabot: zeroValue} - a.GetDependabot() - a = &APIMeta{} - a.GetDependabot() - a = nil - a.GetDependabot() + c := &CopilotIDEChatModel{} + c.GetIsCustomModel() + c = nil + c.GetIsCustomModel() } -func TestAPIMeta_GetDomains(tt *testing.T) { +func TestCopilotIDEChatModel_GetName(tt *testing.T) { tt.Parallel() - a := &APIMeta{} - a.GetDomains() - a = nil - a.GetDomains() + c := &CopilotIDEChatModel{} + c.GetName() + c = nil + c.GetName() } -func TestAPIMeta_GetGit(tt *testing.T) { +func TestCopilotIDEChatModel_GetTotalChatCopyEvents(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - a := &APIMeta{Git: zeroValue} - a.GetGit() - a = &APIMeta{} - a.GetGit() - a = nil - a.GetGit() + c := &CopilotIDEChatModel{} + c.GetTotalChatCopyEvents() + c = nil + c.GetTotalChatCopyEvents() } -func TestAPIMeta_GetGithubEnterpriseImporter(tt *testing.T) { +func TestCopilotIDEChatModel_GetTotalChatInsertionEvents(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - a := &APIMeta{GithubEnterpriseImporter: zeroValue} - a.GetGithubEnterpriseImporter() - a = &APIMeta{} - a.GetGithubEnterpriseImporter() - a = nil - a.GetGithubEnterpriseImporter() + c := &CopilotIDEChatModel{} + c.GetTotalChatInsertionEvents() + c = nil + c.GetTotalChatInsertionEvents() } -func TestAPIMeta_GetHooks(tt *testing.T) { +func TestCopilotIDEChatModel_GetTotalChats(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - a := &APIMeta{Hooks: zeroValue} - a.GetHooks() - a = &APIMeta{} - a.GetHooks() - a = nil - a.GetHooks() + c := &CopilotIDEChatModel{} + c.GetTotalChats() + c = nil + c.GetTotalChats() } -func TestAPIMeta_GetImporter(tt *testing.T) { +func TestCopilotIDEChatModel_GetTotalEngagedUsers(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - a := &APIMeta{Importer: zeroValue} - a.GetImporter() - a = &APIMeta{} - a.GetImporter() - a = nil - a.GetImporter() + c := &CopilotIDEChatModel{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() } -func TestAPIMeta_GetPackages(tt *testing.T) { +func TestCopilotIDECodeCompletions_GetEditors(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - a := &APIMeta{Packages: zeroValue} - a.GetPackages() - a = &APIMeta{} - a.GetPackages() - a = nil - a.GetPackages() + zeroValue := []*CopilotIDECodeCompletionsEditor{} + c := &CopilotIDECodeCompletions{Editors: zeroValue} + c.GetEditors() + c = &CopilotIDECodeCompletions{} + c.GetEditors() + c = nil + c.GetEditors() } -func TestAPIMeta_GetPages(tt *testing.T) { +func TestCopilotIDECodeCompletions_GetLanguages(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - a := &APIMeta{Pages: zeroValue} - a.GetPages() - a = &APIMeta{} - a.GetPages() - a = nil - a.GetPages() + zeroValue := []*CopilotIDECodeCompletionsLanguage{} + c := &CopilotIDECodeCompletions{Languages: zeroValue} + c.GetLanguages() + c = &CopilotIDECodeCompletions{} + c.GetLanguages() + c = nil + c.GetLanguages() } -func TestAPIMeta_GetSSHKeyFingerprints(tt *testing.T) { +func TestCopilotIDECodeCompletions_GetTotalEngagedUsers(tt *testing.T) { tt.Parallel() - zeroValue := map[string]string{} - a := &APIMeta{SSHKeyFingerprints: zeroValue} - a.GetSSHKeyFingerprints() - a = &APIMeta{} - a.GetSSHKeyFingerprints() - a = nil - a.GetSSHKeyFingerprints() + c := &CopilotIDECodeCompletions{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() } -func TestAPIMeta_GetSSHKeys(tt *testing.T) { +func TestCopilotIDECodeCompletionsEditor_GetModels(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - a := &APIMeta{SSHKeys: zeroValue} - a.GetSSHKeys() - a = &APIMeta{} - a.GetSSHKeys() - a = nil - a.GetSSHKeys() + zeroValue := []*CopilotIDECodeCompletionsModel{} + c := &CopilotIDECodeCompletionsEditor{Models: zeroValue} + c.GetModels() + c = &CopilotIDECodeCompletionsEditor{} + c.GetModels() + c = nil + c.GetModels() } -func TestAPIMeta_GetVerifiablePasswordAuthentication(tt *testing.T) { +func TestCopilotIDECodeCompletionsEditor_GetName(tt *testing.T) { tt.Parallel() - var zeroValue bool - a := &APIMeta{VerifiablePasswordAuthentication: &zeroValue} - a.GetVerifiablePasswordAuthentication() - a = &APIMeta{} - a.GetVerifiablePasswordAuthentication() - a = nil - a.GetVerifiablePasswordAuthentication() + c := &CopilotIDECodeCompletionsEditor{} + c.GetName() + c = nil + c.GetName() } -func TestAPIMeta_GetWeb(tt *testing.T) { +func TestCopilotIDECodeCompletionsEditor_GetTotalEngagedUsers(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - a := &APIMeta{Web: zeroValue} - a.GetWeb() - a = &APIMeta{} - a.GetWeb() - a = nil - a.GetWeb() + c := &CopilotIDECodeCompletionsEditor{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() } -func TestAPIMetaArtifactAttestations_GetServices(tt *testing.T) { +func TestCopilotIDECodeCompletionsLanguage_GetName(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - a := &APIMetaArtifactAttestations{Services: zeroValue} - a.GetServices() - a = &APIMetaArtifactAttestations{} - a.GetServices() - a = nil - a.GetServices() + c := &CopilotIDECodeCompletionsLanguage{} + c.GetName() + c = nil + c.GetName() } -func TestAPIMetaArtifactAttestations_GetTrustDomain(tt *testing.T) { +func TestCopilotIDECodeCompletionsLanguage_GetTotalEngagedUsers(tt *testing.T) { tt.Parallel() - a := &APIMetaArtifactAttestations{} - a.GetTrustDomain() - a = nil - a.GetTrustDomain() + c := &CopilotIDECodeCompletionsLanguage{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() } -func TestAPIMetaDomains_GetActions(tt *testing.T) { +func TestCopilotIDECodeCompletionsModel_GetCustomModelTrainingDate(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - a := &APIMetaDomains{Actions: zeroValue} - a.GetActions() - a = &APIMetaDomains{} - a.GetActions() - a = nil - a.GetActions() + var zeroValue string + c := &CopilotIDECodeCompletionsModel{CustomModelTrainingDate: &zeroValue} + c.GetCustomModelTrainingDate() + c = &CopilotIDECodeCompletionsModel{} + c.GetCustomModelTrainingDate() + c = nil + c.GetCustomModelTrainingDate() } -func TestAPIMetaDomains_GetActionsInbound(tt *testing.T) { +func TestCopilotIDECodeCompletionsModel_GetIsCustomModel(tt *testing.T) { tt.Parallel() - a := &APIMetaDomains{} - a.GetActionsInbound() - a = nil - a.GetActionsInbound() + c := &CopilotIDECodeCompletionsModel{} + c.GetIsCustomModel() + c = nil + c.GetIsCustomModel() } -func TestAPIMetaDomains_GetArtifactAttestations(tt *testing.T) { +func TestCopilotIDECodeCompletionsModel_GetLanguages(tt *testing.T) { tt.Parallel() - a := &APIMetaDomains{} - a.GetArtifactAttestations() - a = nil - a.GetArtifactAttestations() + zeroValue := []*CopilotIDECodeCompletionsModelLanguage{} + c := &CopilotIDECodeCompletionsModel{Languages: zeroValue} + c.GetLanguages() + c = &CopilotIDECodeCompletionsModel{} + c.GetLanguages() + c = nil + c.GetLanguages() } -func TestAPIMetaDomains_GetCodespaces(tt *testing.T) { +func TestCopilotIDECodeCompletionsModel_GetName(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - a := &APIMetaDomains{Codespaces: zeroValue} - a.GetCodespaces() - a = &APIMetaDomains{} - a.GetCodespaces() - a = nil - a.GetCodespaces() + c := &CopilotIDECodeCompletionsModel{} + c.GetName() + c = nil + c.GetName() } -func TestAPIMetaDomains_GetCopilot(tt *testing.T) { +func TestCopilotIDECodeCompletionsModel_GetTotalEngagedUsers(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - a := &APIMetaDomains{Copilot: zeroValue} - a.GetCopilot() - a = &APIMetaDomains{} - a.GetCopilot() - a = nil - a.GetCopilot() + c := &CopilotIDECodeCompletionsModel{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() } -func TestAPIMetaDomains_GetPackages(tt *testing.T) { +func TestCopilotIDECodeCompletionsModelLanguage_GetName(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - a := &APIMetaDomains{Packages: zeroValue} - a.GetPackages() - a = &APIMetaDomains{} - a.GetPackages() - a = nil - a.GetPackages() + c := &CopilotIDECodeCompletionsModelLanguage{} + c.GetName() + c = nil + c.GetName() } -func TestAPIMetaDomains_GetWebsite(tt *testing.T) { +func TestCopilotIDECodeCompletionsModelLanguage_GetTotalCodeAcceptances(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - a := &APIMetaDomains{Website: zeroValue} - a.GetWebsite() - a = &APIMetaDomains{} - a.GetWebsite() - a = nil - a.GetWebsite() + c := &CopilotIDECodeCompletionsModelLanguage{} + c.GetTotalCodeAcceptances() + c = nil + c.GetTotalCodeAcceptances() } -func TestApp_GetClientID(tt *testing.T) { +func TestCopilotIDECodeCompletionsModelLanguage_GetTotalCodeLinesAccepted(tt *testing.T) { tt.Parallel() - var zeroValue string - a := &App{ClientID: &zeroValue} - a.GetClientID() - a = &App{} - a.GetClientID() - a = nil - a.GetClientID() + c := &CopilotIDECodeCompletionsModelLanguage{} + c.GetTotalCodeLinesAccepted() + c = nil + c.GetTotalCodeLinesAccepted() } -func TestApp_GetCreatedAt(tt *testing.T) { +func TestCopilotIDECodeCompletionsModelLanguage_GetTotalCodeLinesSuggested(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - a := &App{CreatedAt: &zeroValue} - a.GetCreatedAt() - a = &App{} - a.GetCreatedAt() - a = nil - a.GetCreatedAt() + c := &CopilotIDECodeCompletionsModelLanguage{} + c.GetTotalCodeLinesSuggested() + c = nil + c.GetTotalCodeLinesSuggested() } -func TestApp_GetDescription(tt *testing.T) { +func TestCopilotIDECodeCompletionsModelLanguage_GetTotalCodeSuggestions(tt *testing.T) { tt.Parallel() - var zeroValue string - a := &App{Description: &zeroValue} - a.GetDescription() - a = &App{} - a.GetDescription() - a = nil - a.GetDescription() + c := &CopilotIDECodeCompletionsModelLanguage{} + c.GetTotalCodeSuggestions() + c = nil + c.GetTotalCodeSuggestions() } -func TestApp_GetEvents(tt *testing.T) { +func TestCopilotIDECodeCompletionsModelLanguage_GetTotalEngagedUsers(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - a := &App{Events: zeroValue} - a.GetEvents() - a = &App{} - a.GetEvents() - a = nil - a.GetEvents() + c := &CopilotIDECodeCompletionsModelLanguage{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() } -func TestApp_GetExternalURL(tt *testing.T) { +func TestCopilotMetrics_GetCopilotDotcomChat(tt *testing.T) { tt.Parallel() - var zeroValue string - a := &App{ExternalURL: &zeroValue} - a.GetExternalURL() - a = &App{} - a.GetExternalURL() - a = nil - a.GetExternalURL() + c := &CopilotMetrics{} + c.GetCopilotDotcomChat() + c = nil + c.GetCopilotDotcomChat() } -func TestApp_GetHTMLURL(tt *testing.T) { +func TestCopilotMetrics_GetCopilotDotcomPullRequests(tt *testing.T) { tt.Parallel() - var zeroValue string - a := &App{HTMLURL: &zeroValue} - a.GetHTMLURL() - a = &App{} - a.GetHTMLURL() - a = nil - a.GetHTMLURL() + c := &CopilotMetrics{} + c.GetCopilotDotcomPullRequests() + c = nil + c.GetCopilotDotcomPullRequests() } -func TestApp_GetID(tt *testing.T) { +func TestCopilotMetrics_GetCopilotIDEChat(tt *testing.T) { tt.Parallel() - var zeroValue int64 - a := &App{ID: &zeroValue} - a.GetID() - a = &App{} - a.GetID() - a = nil - a.GetID() + c := &CopilotMetrics{} + c.GetCopilotIDEChat() + c = nil + c.GetCopilotIDEChat() } -func TestApp_GetInstallationsCount(tt *testing.T) { +func TestCopilotMetrics_GetCopilotIDECodeCompletions(tt *testing.T) { tt.Parallel() - var zeroValue int - a := &App{InstallationsCount: &zeroValue} - a.GetInstallationsCount() - a = &App{} - a.GetInstallationsCount() - a = nil - a.GetInstallationsCount() + c := &CopilotMetrics{} + c.GetCopilotIDECodeCompletions() + c = nil + c.GetCopilotIDECodeCompletions() } -func TestApp_GetName(tt *testing.T) { +func TestCopilotMetrics_GetDate(tt *testing.T) { tt.Parallel() - var zeroValue string - a := &App{Name: &zeroValue} - a.GetName() - a = &App{} - a.GetName() - a = nil - a.GetName() + c := &CopilotMetrics{} + c.GetDate() + c = nil + c.GetDate() } -func TestApp_GetNodeID(tt *testing.T) { +func TestCopilotMetrics_GetTotalActiveUsers(tt *testing.T) { tt.Parallel() - var zeroValue string - a := &App{NodeID: &zeroValue} - a.GetNodeID() - a = &App{} - a.GetNodeID() - a = nil - a.GetNodeID() + var zeroValue int + c := &CopilotMetrics{TotalActiveUsers: &zeroValue} + c.GetTotalActiveUsers() + c = &CopilotMetrics{} + c.GetTotalActiveUsers() + c = nil + c.GetTotalActiveUsers() } -func TestApp_GetOwner(tt *testing.T) { +func TestCopilotMetrics_GetTotalEngagedUsers(tt *testing.T) { tt.Parallel() - a := &App{} - a.GetOwner() - a = nil - a.GetOwner() + var zeroValue int + c := &CopilotMetrics{TotalEngagedUsers: &zeroValue} + c.GetTotalEngagedUsers() + c = &CopilotMetrics{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() } -func TestApp_GetPermissions(tt *testing.T) { +func TestCopilotMetricsAIAdoptionPhase_GetPhase(tt *testing.T) { tt.Parallel() - a := &App{} - a.GetPermissions() - a = nil - a.GetPermissions() + c := &CopilotMetricsAIAdoptionPhase{} + c.GetPhase() + c = nil + c.GetPhase() } -func TestApp_GetSlug(tt *testing.T) { +func TestCopilotMetricsAIAdoptionPhase_GetPhaseNumber(tt *testing.T) { tt.Parallel() - var zeroValue string - a := &App{Slug: &zeroValue} - a.GetSlug() - a = &App{} - a.GetSlug() - a = nil - a.GetSlug() + c := &CopilotMetricsAIAdoptionPhase{} + c.GetPhaseNumber() + c = nil + c.GetPhaseNumber() } -func TestApp_GetUpdatedAt(tt *testing.T) { +func TestCopilotMetricsAIAdoptionPhase_GetVersion(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - a := &App{UpdatedAt: &zeroValue} - a.GetUpdatedAt() - a = &App{} - a.GetUpdatedAt() - a = nil - a.GetUpdatedAt() + c := &CopilotMetricsAIAdoptionPhase{} + c.GetVersion() + c = nil + c.GetVersion() } -func TestAppConfig_GetClientID(tt *testing.T) { +func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgCodeAcceptanceActivities(tt *testing.T) { tt.Parallel() - var zeroValue string - a := &AppConfig{ClientID: &zeroValue} - a.GetClientID() - a = &AppConfig{} - a.GetClientID() - a = nil - a.GetClientID() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetAvgCodeAcceptanceActivities() + c = nil + c.GetAvgCodeAcceptanceActivities() } -func TestAppConfig_GetClientSecret(tt *testing.T) { +func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgCodeGenerationActivities(tt *testing.T) { tt.Parallel() - var zeroValue string - a := &AppConfig{ClientSecret: &zeroValue} - a.GetClientSecret() - a = &AppConfig{} - a.GetClientSecret() - a = nil - a.GetClientSecret() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetAvgCodeGenerationActivities() + c = nil + c.GetAvgCodeGenerationActivities() } -func TestAppConfig_GetCreatedAt(tt *testing.T) { +func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgLOCAdded(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - a := &AppConfig{CreatedAt: &zeroValue} - a.GetCreatedAt() - a = &AppConfig{} - a.GetCreatedAt() - a = nil - a.GetCreatedAt() -} - -func TestAppConfig_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AppConfig{Description: &zeroValue} - a.GetDescription() - a = &AppConfig{} - a.GetDescription() - a = nil - a.GetDescription() -} - -func TestAppConfig_GetExternalURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AppConfig{ExternalURL: &zeroValue} - a.GetExternalURL() - a = &AppConfig{} - a.GetExternalURL() - a = nil - a.GetExternalURL() -} - -func TestAppConfig_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AppConfig{HTMLURL: &zeroValue} - a.GetHTMLURL() - a = &AppConfig{} - a.GetHTMLURL() - a = nil - a.GetHTMLURL() -} - -func TestAppConfig_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - a := &AppConfig{ID: &zeroValue} - a.GetID() - a = &AppConfig{} - a.GetID() - a = nil - a.GetID() -} - -func TestAppConfig_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AppConfig{Name: &zeroValue} - a.GetName() - a = &AppConfig{} - a.GetName() - a = nil - a.GetName() -} - -func TestAppConfig_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AppConfig{NodeID: &zeroValue} - a.GetNodeID() - a = &AppConfig{} - a.GetNodeID() - a = nil - a.GetNodeID() -} - -func TestAppConfig_GetOwner(tt *testing.T) { - tt.Parallel() - a := &AppConfig{} - a.GetOwner() - a = nil - a.GetOwner() -} - -func TestAppConfig_GetPEM(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AppConfig{PEM: &zeroValue} - a.GetPEM() - a = &AppConfig{} - a.GetPEM() - a = nil - a.GetPEM() -} - -func TestAppConfig_GetSlug(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AppConfig{Slug: &zeroValue} - a.GetSlug() - a = &AppConfig{} - a.GetSlug() - a = nil - a.GetSlug() -} - -func TestAppConfig_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - a := &AppConfig{UpdatedAt: &zeroValue} - a.GetUpdatedAt() - a = &AppConfig{} - a.GetUpdatedAt() - a = nil - a.GetUpdatedAt() -} - -func TestAppConfig_GetWebhookSecret(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AppConfig{WebhookSecret: &zeroValue} - a.GetWebhookSecret() - a = &AppConfig{} - a.GetWebhookSecret() - a = nil - a.GetWebhookSecret() -} - -func TestAppInstallationRepositoriesRequest_GetRepositories(tt *testing.T) { - tt.Parallel() - zeroValue := []string{} - a := &AppInstallationRepositoriesRequest{Repositories: zeroValue} - a.GetRepositories() - a = &AppInstallationRepositoriesRequest{} - a.GetRepositories() - a = nil - a.GetRepositories() -} - -func TestArchivedAt_GetFrom(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - a := &ArchivedAt{From: &zeroValue} - a.GetFrom() - a = &ArchivedAt{} - a.GetFrom() - a = nil - a.GetFrom() -} - -func TestArchivedAt_GetTo(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - a := &ArchivedAt{To: &zeroValue} - a.GetTo() - a = &ArchivedAt{} - a.GetTo() - a = nil - a.GetTo() -} - -func TestArtifact_GetArchiveDownloadURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &Artifact{ArchiveDownloadURL: &zeroValue} - a.GetArchiveDownloadURL() - a = &Artifact{} - a.GetArchiveDownloadURL() - a = nil - a.GetArchiveDownloadURL() -} - -func TestArtifact_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - a := &Artifact{CreatedAt: &zeroValue} - a.GetCreatedAt() - a = &Artifact{} - a.GetCreatedAt() - a = nil - a.GetCreatedAt() -} - -func TestArtifact_GetDigest(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &Artifact{Digest: &zeroValue} - a.GetDigest() - a = &Artifact{} - a.GetDigest() - a = nil - a.GetDigest() -} - -func TestArtifact_GetExpired(tt *testing.T) { - tt.Parallel() - var zeroValue bool - a := &Artifact{Expired: &zeroValue} - a.GetExpired() - a = &Artifact{} - a.GetExpired() - a = nil - a.GetExpired() -} - -func TestArtifact_GetExpiresAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - a := &Artifact{ExpiresAt: &zeroValue} - a.GetExpiresAt() - a = &Artifact{} - a.GetExpiresAt() - a = nil - a.GetExpiresAt() -} - -func TestArtifact_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - a := &Artifact{ID: &zeroValue} - a.GetID() - a = &Artifact{} - a.GetID() - a = nil - a.GetID() -} - -func TestArtifact_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &Artifact{Name: &zeroValue} - a.GetName() - a = &Artifact{} - a.GetName() - a = nil - a.GetName() -} - -func TestArtifact_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &Artifact{NodeID: &zeroValue} - a.GetNodeID() - a = &Artifact{} - a.GetNodeID() - a = nil - a.GetNodeID() -} - -func TestArtifact_GetSizeInBytes(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - a := &Artifact{SizeInBytes: &zeroValue} - a.GetSizeInBytes() - a = &Artifact{} - a.GetSizeInBytes() - a = nil - a.GetSizeInBytes() -} - -func TestArtifact_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - a := &Artifact{UpdatedAt: &zeroValue} - a.GetUpdatedAt() - a = &Artifact{} - a.GetUpdatedAt() - a = nil - a.GetUpdatedAt() -} - -func TestArtifact_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &Artifact{URL: &zeroValue} - a.GetURL() - a = &Artifact{} - a.GetURL() - a = nil - a.GetURL() -} - -func TestArtifact_GetWorkflowRun(tt *testing.T) { - tt.Parallel() - a := &Artifact{} - a.GetWorkflowRun() - a = nil - a.GetWorkflowRun() -} - -func TestArtifactDeploymentRecord_GetAttestationID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - a := &ArtifactDeploymentRecord{AttestationID: &zeroValue} - a.GetAttestationID() - a = &ArtifactDeploymentRecord{} - a.GetAttestationID() - a = nil - a.GetAttestationID() -} - -func TestArtifactDeploymentRecord_GetCluster(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &ArtifactDeploymentRecord{Cluster: &zeroValue} - a.GetCluster() - a = &ArtifactDeploymentRecord{} - a.GetCluster() - a = nil - a.GetCluster() -} - -func TestArtifactDeploymentRecord_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - a := &ArtifactDeploymentRecord{CreatedAt: &zeroValue} - a.GetCreatedAt() - a = &ArtifactDeploymentRecord{} - a.GetCreatedAt() - a = nil - a.GetCreatedAt() -} - -func TestArtifactDeploymentRecord_GetDeploymentName(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &ArtifactDeploymentRecord{DeploymentName: &zeroValue} - a.GetDeploymentName() - a = &ArtifactDeploymentRecord{} - a.GetDeploymentName() - a = nil - a.GetDeploymentName() -} - -func TestArtifactDeploymentRecord_GetDigest(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &ArtifactDeploymentRecord{Digest: &zeroValue} - a.GetDigest() - a = &ArtifactDeploymentRecord{} - a.GetDigest() - a = nil - a.GetDigest() -} - -func TestArtifactDeploymentRecord_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - a := &ArtifactDeploymentRecord{ID: &zeroValue} - a.GetID() - a = &ArtifactDeploymentRecord{} - a.GetID() - a = nil - a.GetID() -} - -func TestArtifactDeploymentRecord_GetLogicalEnvironment(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &ArtifactDeploymentRecord{LogicalEnvironment: &zeroValue} - a.GetLogicalEnvironment() - a = &ArtifactDeploymentRecord{} - a.GetLogicalEnvironment() - a = nil - a.GetLogicalEnvironment() -} - -func TestArtifactDeploymentRecord_GetPhysicalEnvironment(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &ArtifactDeploymentRecord{PhysicalEnvironment: &zeroValue} - a.GetPhysicalEnvironment() - a = &ArtifactDeploymentRecord{} - a.GetPhysicalEnvironment() - a = nil - 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{} - a := &ArtifactDeploymentRecord{Tags: zeroValue} - a.GetTags() - a = &ArtifactDeploymentRecord{} - a.GetTags() - a = nil - a.GetTags() -} - -func TestArtifactDeploymentRecord_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - a := &ArtifactDeploymentRecord{UpdatedAt: &zeroValue} - a.GetUpdatedAt() - a = &ArtifactDeploymentRecord{} - a.GetUpdatedAt() - a = nil - 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 - a := &ArtifactDeploymentResponse{TotalCount: &zeroValue} - a.GetTotalCount() - a = &ArtifactDeploymentResponse{} - a.GetTotalCount() - a = nil - 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 - a := &ArtifactList{TotalCount: &zeroValue} - a.GetTotalCount() - a = &ArtifactList{} - a.GetTotalCount() - a = nil - a.GetTotalCount() -} - -func TestArtifactPeriod_GetDays(tt *testing.T) { - tt.Parallel() - var zeroValue int - a := &ArtifactPeriod{Days: &zeroValue} - a.GetDays() - a = &ArtifactPeriod{} - a.GetDays() - a = nil - a.GetDays() -} - -func TestArtifactPeriod_GetMaximumAllowedDays(tt *testing.T) { - tt.Parallel() - var zeroValue int - a := &ArtifactPeriod{MaximumAllowedDays: &zeroValue} - a.GetMaximumAllowedDays() - a = &ArtifactPeriod{} - a.GetMaximumAllowedDays() - a = nil - a.GetMaximumAllowedDays() -} - -func TestArtifactPeriodOpt_GetDays(tt *testing.T) { - tt.Parallel() - var zeroValue int - a := &ArtifactPeriodOpt{Days: &zeroValue} - a.GetDays() - a = &ArtifactPeriodOpt{} - a.GetDays() - a = nil - a.GetDays() -} - -func TestArtifactStorageRecord_GetArtifactURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &ArtifactStorageRecord{ArtifactURL: &zeroValue} - a.GetArtifactURL() - a = &ArtifactStorageRecord{} - a.GetArtifactURL() - a = nil - a.GetArtifactURL() -} - -func TestArtifactStorageRecord_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - a := &ArtifactStorageRecord{CreatedAt: &zeroValue} - a.GetCreatedAt() - a = &ArtifactStorageRecord{} - a.GetCreatedAt() - a = nil - a.GetCreatedAt() -} - -func TestArtifactStorageRecord_GetDigest(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &ArtifactStorageRecord{Digest: &zeroValue} - a.GetDigest() - a = &ArtifactStorageRecord{} - a.GetDigest() - a = nil - a.GetDigest() -} - -func TestArtifactStorageRecord_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - a := &ArtifactStorageRecord{ID: &zeroValue} - a.GetID() - a = &ArtifactStorageRecord{} - a.GetID() - a = nil - a.GetID() -} - -func TestArtifactStorageRecord_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &ArtifactStorageRecord{Name: &zeroValue} - a.GetName() - a = &ArtifactStorageRecord{} - a.GetName() - a = nil - a.GetName() -} - -func TestArtifactStorageRecord_GetRegistryURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &ArtifactStorageRecord{RegistryURL: &zeroValue} - a.GetRegistryURL() - a = &ArtifactStorageRecord{} - a.GetRegistryURL() - a = nil - a.GetRegistryURL() -} - -func TestArtifactStorageRecord_GetRepository(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &ArtifactStorageRecord{Repository: &zeroValue} - a.GetRepository() - a = &ArtifactStorageRecord{} - a.GetRepository() - a = nil - a.GetRepository() -} - -func TestArtifactStorageRecord_GetStatus(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &ArtifactStorageRecord{Status: &zeroValue} - a.GetStatus() - a = &ArtifactStorageRecord{} - a.GetStatus() - a = nil - a.GetStatus() -} - -func TestArtifactStorageRecord_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - a := &ArtifactStorageRecord{UpdatedAt: &zeroValue} - a.GetUpdatedAt() - a = &ArtifactStorageRecord{} - a.GetUpdatedAt() - a = nil - 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 - a := &ArtifactStorageResponse{TotalCount: &zeroValue} - a.GetTotalCount() - a = &ArtifactStorageResponse{} - a.GetTotalCount() - a = nil - a.GetTotalCount() -} - -func TestArtifactWorkflowRun_GetHeadBranch(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &ArtifactWorkflowRun{HeadBranch: &zeroValue} - a.GetHeadBranch() - a = &ArtifactWorkflowRun{} - a.GetHeadBranch() - a = nil - a.GetHeadBranch() -} - -func TestArtifactWorkflowRun_GetHeadRepositoryID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - a := &ArtifactWorkflowRun{HeadRepositoryID: &zeroValue} - a.GetHeadRepositoryID() - a = &ArtifactWorkflowRun{} - a.GetHeadRepositoryID() - a = nil - a.GetHeadRepositoryID() -} - -func TestArtifactWorkflowRun_GetHeadSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &ArtifactWorkflowRun{HeadSHA: &zeroValue} - a.GetHeadSHA() - a = &ArtifactWorkflowRun{} - a.GetHeadSHA() - a = nil - a.GetHeadSHA() -} - -func TestArtifactWorkflowRun_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - a := &ArtifactWorkflowRun{ID: &zeroValue} - a.GetID() - a = &ArtifactWorkflowRun{} - a.GetID() - a = nil - a.GetID() -} - -func TestArtifactWorkflowRun_GetRepositoryID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - a := &ArtifactWorkflowRun{RepositoryID: &zeroValue} - a.GetRepositoryID() - a = &ArtifactWorkflowRun{} - a.GetRepositoryID() - a = nil - a.GetRepositoryID() -} - -func TestAssignmentGrade_GetAssignmentName(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AssignmentGrade{AssignmentName: &zeroValue} - a.GetAssignmentName() - a = &AssignmentGrade{} - a.GetAssignmentName() - a = nil - a.GetAssignmentName() -} - -func TestAssignmentGrade_GetAssignmentURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AssignmentGrade{AssignmentURL: &zeroValue} - a.GetAssignmentURL() - a = &AssignmentGrade{} - a.GetAssignmentURL() - a = nil - a.GetAssignmentURL() -} - -func TestAssignmentGrade_GetGithubUsername(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AssignmentGrade{GithubUsername: &zeroValue} - a.GetGithubUsername() - a = &AssignmentGrade{} - a.GetGithubUsername() - a = nil - a.GetGithubUsername() -} - -func TestAssignmentGrade_GetGroupName(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AssignmentGrade{GroupName: &zeroValue} - a.GetGroupName() - a = &AssignmentGrade{} - a.GetGroupName() - a = nil - a.GetGroupName() -} - -func TestAssignmentGrade_GetPointsAvailable(tt *testing.T) { - tt.Parallel() - var zeroValue int - a := &AssignmentGrade{PointsAvailable: &zeroValue} - a.GetPointsAvailable() - a = &AssignmentGrade{} - a.GetPointsAvailable() - a = nil - a.GetPointsAvailable() -} - -func TestAssignmentGrade_GetPointsAwarded(tt *testing.T) { - tt.Parallel() - var zeroValue int - a := &AssignmentGrade{PointsAwarded: &zeroValue} - a.GetPointsAwarded() - a = &AssignmentGrade{} - a.GetPointsAwarded() - a = nil - a.GetPointsAwarded() -} - -func TestAssignmentGrade_GetRosterIdentifier(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AssignmentGrade{RosterIdentifier: &zeroValue} - a.GetRosterIdentifier() - a = &AssignmentGrade{} - a.GetRosterIdentifier() - a = nil - a.GetRosterIdentifier() -} - -func TestAssignmentGrade_GetStarterCodeURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AssignmentGrade{StarterCodeURL: &zeroValue} - a.GetStarterCodeURL() - a = &AssignmentGrade{} - a.GetStarterCodeURL() - a = nil - a.GetStarterCodeURL() -} - -func TestAssignmentGrade_GetStudentRepositoryName(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AssignmentGrade{StudentRepositoryName: &zeroValue} - a.GetStudentRepositoryName() - a = &AssignmentGrade{} - a.GetStudentRepositoryName() - a = nil - a.GetStudentRepositoryName() -} - -func TestAssignmentGrade_GetStudentRepositoryURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AssignmentGrade{StudentRepositoryURL: &zeroValue} - a.GetStudentRepositoryURL() - a = &AssignmentGrade{} - a.GetStudentRepositoryURL() - a = nil - a.GetStudentRepositoryURL() -} - -func TestAssignmentGrade_GetSubmissionTimestamp(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - a := &AssignmentGrade{SubmissionTimestamp: &zeroValue} - a.GetSubmissionTimestamp() - a = &AssignmentGrade{} - a.GetSubmissionTimestamp() - a = nil - a.GetSubmissionTimestamp() -} - -func TestAttachment_GetBody(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &Attachment{Body: &zeroValue} - a.GetBody() - a = &Attachment{} - a.GetBody() - a = nil - a.GetBody() -} - -func TestAttachment_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - a := &Attachment{ID: &zeroValue} - a.GetID() - a = &Attachment{} - a.GetID() - a = nil - a.GetID() -} - -func TestAttachment_GetTitle(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &Attachment{Title: &zeroValue} - a.GetTitle() - a = &Attachment{} - a.GetTitle() - a = nil - 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 - a := &AuditEntry{Action: &zeroValue} - a.GetAction() - a = &AuditEntry{} - a.GetAction() - a = nil - a.GetAction() -} - -func TestAuditEntry_GetActor(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AuditEntry{Actor: &zeroValue} - a.GetActor() - a = &AuditEntry{} - a.GetActor() - a = nil - a.GetActor() -} - -func TestAuditEntry_GetActorID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - a := &AuditEntry{ActorID: &zeroValue} - a.GetActorID() - a = &AuditEntry{} - a.GetActorID() - a = nil - a.GetActorID() -} - -func TestAuditEntry_GetActorLocation(tt *testing.T) { - tt.Parallel() - a := &AuditEntry{} - a.GetActorLocation() - a = nil - a.GetActorLocation() -} - -func TestAuditEntry_GetAdditionalFields(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]any{} - a := &AuditEntry{AdditionalFields: zeroValue} - a.GetAdditionalFields() - a = &AuditEntry{} - a.GetAdditionalFields() - a = nil - a.GetAdditionalFields() -} - -func TestAuditEntry_GetBusiness(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AuditEntry{Business: &zeroValue} - a.GetBusiness() - a = &AuditEntry{} - a.GetBusiness() - a = nil - a.GetBusiness() -} - -func TestAuditEntry_GetBusinessID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - a := &AuditEntry{BusinessID: &zeroValue} - a.GetBusinessID() - a = &AuditEntry{} - a.GetBusinessID() - a = nil - a.GetBusinessID() -} - -func TestAuditEntry_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - a := &AuditEntry{CreatedAt: &zeroValue} - a.GetCreatedAt() - a = &AuditEntry{} - a.GetCreatedAt() - a = nil - a.GetCreatedAt() -} - -func TestAuditEntry_GetData(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]any{} - a := &AuditEntry{Data: zeroValue} - a.GetData() - a = &AuditEntry{} - a.GetData() - a = nil - a.GetData() -} - -func TestAuditEntry_GetDocumentID(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AuditEntry{DocumentID: &zeroValue} - a.GetDocumentID() - a = &AuditEntry{} - a.GetDocumentID() - a = nil - a.GetDocumentID() -} - -func TestAuditEntry_GetExternalIdentityNameID(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AuditEntry{ExternalIdentityNameID: &zeroValue} - a.GetExternalIdentityNameID() - a = &AuditEntry{} - a.GetExternalIdentityNameID() - a = nil - a.GetExternalIdentityNameID() -} - -func TestAuditEntry_GetExternalIdentityUsername(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AuditEntry{ExternalIdentityUsername: &zeroValue} - a.GetExternalIdentityUsername() - a = &AuditEntry{} - a.GetExternalIdentityUsername() - a = nil - a.GetExternalIdentityUsername() -} - -func TestAuditEntry_GetHashedToken(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AuditEntry{HashedToken: &zeroValue} - a.GetHashedToken() - a = &AuditEntry{} - a.GetHashedToken() - a = nil - a.GetHashedToken() -} - -func TestAuditEntry_GetOrg(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AuditEntry{Org: &zeroValue} - a.GetOrg() - a = &AuditEntry{} - a.GetOrg() - a = nil - a.GetOrg() -} - -func TestAuditEntry_GetOrgID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - a := &AuditEntry{OrgID: &zeroValue} - a.GetOrgID() - a = &AuditEntry{} - a.GetOrgID() - a = nil - a.GetOrgID() -} - -func TestAuditEntry_GetTimestamp(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - a := &AuditEntry{Timestamp: &zeroValue} - a.GetTimestamp() - a = &AuditEntry{} - a.GetTimestamp() - a = nil - a.GetTimestamp() -} - -func TestAuditEntry_GetTokenID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - a := &AuditEntry{TokenID: &zeroValue} - a.GetTokenID() - a = &AuditEntry{} - a.GetTokenID() - a = nil - a.GetTokenID() -} - -func TestAuditEntry_GetTokenScopes(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AuditEntry{TokenScopes: &zeroValue} - a.GetTokenScopes() - a = &AuditEntry{} - a.GetTokenScopes() - a = nil - a.GetTokenScopes() -} - -func TestAuditEntry_GetUser(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AuditEntry{User: &zeroValue} - a.GetUser() - a = &AuditEntry{} - a.GetUser() - a = nil - a.GetUser() -} - -func TestAuditEntry_GetUserID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - a := &AuditEntry{UserID: &zeroValue} - a.GetUserID() - a = &AuditEntry{} - a.GetUserID() - a = nil - 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 - a := &AuditLogStream{PausedAt: &zeroValue} - a.GetPausedAt() - a = &AuditLogStream{} - a.GetPausedAt() - a = nil - 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{} - a.GetApp() - a = nil - a.GetApp() -} - -func TestAuthorization_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - a := &Authorization{CreatedAt: &zeroValue} - a.GetCreatedAt() - a = &Authorization{} - a.GetCreatedAt() - a = nil - a.GetCreatedAt() -} - -func TestAuthorization_GetFingerprint(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &Authorization{Fingerprint: &zeroValue} - a.GetFingerprint() - a = &Authorization{} - a.GetFingerprint() - a = nil - a.GetFingerprint() -} - -func TestAuthorization_GetHashedToken(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &Authorization{HashedToken: &zeroValue} - a.GetHashedToken() - a = &Authorization{} - a.GetHashedToken() - a = nil - a.GetHashedToken() -} - -func TestAuthorization_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - a := &Authorization{ID: &zeroValue} - a.GetID() - a = &Authorization{} - a.GetID() - a = nil - a.GetID() -} - -func TestAuthorization_GetNote(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &Authorization{Note: &zeroValue} - a.GetNote() - a = &Authorization{} - a.GetNote() - a = nil - a.GetNote() -} - -func TestAuthorization_GetNoteURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &Authorization{NoteURL: &zeroValue} - a.GetNoteURL() - a = &Authorization{} - a.GetNoteURL() - a = nil - 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 - a := &Authorization{Token: &zeroValue} - a.GetToken() - a = &Authorization{} - a.GetToken() - a = nil - a.GetToken() -} - -func TestAuthorization_GetTokenLastEight(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &Authorization{TokenLastEight: &zeroValue} - a.GetTokenLastEight() - a = &Authorization{} - a.GetTokenLastEight() - a = nil - a.GetTokenLastEight() -} - -func TestAuthorization_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - a := &Authorization{UpdatedAt: &zeroValue} - a.GetUpdatedAt() - a = &Authorization{} - a.GetUpdatedAt() - a = nil - a.GetUpdatedAt() -} - -func TestAuthorization_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &Authorization{URL: &zeroValue} - a.GetURL() - a = &Authorization{} - a.GetURL() - a = nil - a.GetURL() -} - -func TestAuthorization_GetUser(tt *testing.T) { - tt.Parallel() - a := &Authorization{} - a.GetUser() - a = nil - a.GetUser() -} - -func TestAuthorizationApp_GetClientID(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AuthorizationApp{ClientID: &zeroValue} - a.GetClientID() - a = &AuthorizationApp{} - a.GetClientID() - a = nil - a.GetClientID() -} - -func TestAuthorizationApp_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AuthorizationApp{Name: &zeroValue} - a.GetName() - a = &AuthorizationApp{} - a.GetName() - a = nil - a.GetName() -} - -func TestAuthorizationApp_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AuthorizationApp{URL: &zeroValue} - a.GetURL() - a = &AuthorizationApp{} - a.GetURL() - a = nil - a.GetURL() -} - -func TestAuthorizationRequest_GetClientID(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AuthorizationRequest{ClientID: &zeroValue} - a.GetClientID() - a = &AuthorizationRequest{} - a.GetClientID() - a = nil - a.GetClientID() -} - -func TestAuthorizationRequest_GetClientSecret(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AuthorizationRequest{ClientSecret: &zeroValue} - a.GetClientSecret() - a = &AuthorizationRequest{} - a.GetClientSecret() - a = nil - a.GetClientSecret() -} - -func TestAuthorizationRequest_GetFingerprint(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AuthorizationRequest{Fingerprint: &zeroValue} - a.GetFingerprint() - a = &AuthorizationRequest{} - a.GetFingerprint() - a = nil - a.GetFingerprint() -} - -func TestAuthorizationRequest_GetNote(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AuthorizationRequest{Note: &zeroValue} - a.GetNote() - a = &AuthorizationRequest{} - a.GetNote() - a = nil - a.GetNote() -} - -func TestAuthorizationRequest_GetNoteURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AuthorizationRequest{NoteURL: &zeroValue} - a.GetNoteURL() - a = &AuthorizationRequest{} - a.GetNoteURL() - a = nil - 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 - a := &AuthorizationUpdateRequest{Fingerprint: &zeroValue} - a.GetFingerprint() - a = &AuthorizationUpdateRequest{} - a.GetFingerprint() - a = nil - a.GetFingerprint() -} - -func TestAuthorizationUpdateRequest_GetNote(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AuthorizationUpdateRequest{Note: &zeroValue} - a.GetNote() - a = &AuthorizationUpdateRequest{} - a.GetNote() - a = nil - a.GetNote() -} - -func TestAuthorizationUpdateRequest_GetNoteURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &AuthorizationUpdateRequest{NoteURL: &zeroValue} - a.GetNoteURL() - a = &AuthorizationUpdateRequest{} - a.GetNoteURL() - a = nil - 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 - a := &AuthorizedActorsOnly{From: &zeroValue} - a.GetFrom() - a = &AuthorizedActorsOnly{} - a.GetFrom() - a = nil - a.GetFrom() -} - -func TestAuthorizedDismissalActorsOnlyChanges_GetFrom(tt *testing.T) { - tt.Parallel() - var zeroValue bool - a := &AuthorizedDismissalActorsOnlyChanges{From: &zeroValue} - a.GetFrom() - a = &AuthorizedDismissalActorsOnlyChanges{} - a.GetFrom() - a = nil - a.GetFrom() -} - -func TestAutolink_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - a := &Autolink{ID: &zeroValue} - a.GetID() - a = &Autolink{} - a.GetID() - a = nil - a.GetID() -} - -func TestAutolink_GetIsAlphanumeric(tt *testing.T) { - tt.Parallel() - var zeroValue bool - a := &Autolink{IsAlphanumeric: &zeroValue} - a.GetIsAlphanumeric() - a = &Autolink{} - a.GetIsAlphanumeric() - a = nil - a.GetIsAlphanumeric() -} - -func TestAutolink_GetKeyPrefix(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &Autolink{KeyPrefix: &zeroValue} - a.GetKeyPrefix() - a = &Autolink{} - a.GetKeyPrefix() - a = nil - a.GetKeyPrefix() -} - -func TestAutolink_GetURLTemplate(tt *testing.T) { - tt.Parallel() - var zeroValue string - a := &Autolink{URLTemplate: &zeroValue} - a.GetURLTemplate() - a = &Autolink{} - a.GetURLTemplate() - a = nil - a.GetURLTemplate() -} - -func TestAutomatedSecurityFixes_GetEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - a := &AutomatedSecurityFixes{Enabled: &zeroValue} - a.GetEnabled() - a = &AutomatedSecurityFixes{} - a.GetEnabled() - a = nil - a.GetEnabled() -} - -func TestAutomatedSecurityFixes_GetPaused(tt *testing.T) { - tt.Parallel() - var zeroValue bool - a := &AutomatedSecurityFixes{Paused: &zeroValue} - a.GetPaused() - a = &AutomatedSecurityFixes{} - a.GetPaused() - a = nil - a.GetPaused() -} - -func TestAutoTriggerCheck_GetAppID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - a := &AutoTriggerCheck{AppID: &zeroValue} - a.GetAppID() - a = &AutoTriggerCheck{} - a.GetAppID() - a = nil - a.GetAppID() -} - -func TestAutoTriggerCheck_GetSetting(tt *testing.T) { - tt.Parallel() - var zeroValue bool - a := &AutoTriggerCheck{Setting: &zeroValue} - a.GetSetting() - a = &AutoTriggerCheck{} - a.GetSetting() - a = nil - 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 TestBillingCostCenter_GetID(tt *testing.T) { - tt.Parallel() - b := &BillingCostCenter{} - b.GetID() - b = nil - b.GetID() -} - -func TestBillingCostCenter_GetName(tt *testing.T) { - tt.Parallel() - b := &BillingCostCenter{} - b.GetName() - b = nil - b.GetName() -} - -func TestBlob_GetContent(tt *testing.T) { - tt.Parallel() - var zeroValue string - b := &Blob{Content: &zeroValue} - b.GetContent() - b = &Blob{} - b.GetContent() - b = nil - b.GetContent() -} - -func TestBlob_GetEncoding(tt *testing.T) { - tt.Parallel() - var zeroValue string - b := &Blob{Encoding: &zeroValue} - b.GetEncoding() - b = &Blob{} - b.GetEncoding() - b = nil - b.GetEncoding() -} - -func TestBlob_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - b := &Blob{NodeID: &zeroValue} - b.GetNodeID() - b = &Blob{} - b.GetNodeID() - b = nil - b.GetNodeID() -} - -func TestBlob_GetSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - b := &Blob{SHA: &zeroValue} - b.GetSHA() - b = &Blob{} - b.GetSHA() - b = nil - b.GetSHA() -} - -func TestBlob_GetSize(tt *testing.T) { - tt.Parallel() - var zeroValue int - b := &Blob{Size: &zeroValue} - b.GetSize() - b = &Blob{} - b.GetSize() - b = nil - b.GetSize() -} - -func TestBlob_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - b := &Blob{URL: &zeroValue} - b.GetURL() - b = &Blob{} - b.GetURL() - b = nil - b.GetURL() -} - -func TestBlockCreations_GetEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - b := &BlockCreations{Enabled: &zeroValue} - b.GetEnabled() - b = &BlockCreations{} - b.GetEnabled() - b = nil - b.GetEnabled() -} - -func TestBranch_GetCommit(tt *testing.T) { - tt.Parallel() - b := &Branch{} - b.GetCommit() - b = nil - b.GetCommit() -} - -func TestBranch_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - b := &Branch{Name: &zeroValue} - b.GetName() - b = &Branch{} - b.GetName() - b = nil - b.GetName() -} - -func TestBranch_GetProtected(tt *testing.T) { - tt.Parallel() - var zeroValue bool - b := &Branch{Protected: &zeroValue} - b.GetProtected() - b = &Branch{} - b.GetProtected() - b = nil - b.GetProtected() -} - -func TestBranch_GetProtection(tt *testing.T) { - tt.Parallel() - b := &Branch{} - b.GetProtection() - b = nil - b.GetProtection() -} - -func TestBranch_GetProtectionURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - b := &Branch{ProtectionURL: &zeroValue} - b.GetProtectionURL() - b = &Branch{} - b.GetProtectionURL() - b = nil - b.GetProtectionURL() -} - -func TestBranchCommit_GetCommit(tt *testing.T) { - tt.Parallel() - b := &BranchCommit{} - b.GetCommit() - b = nil - b.GetCommit() -} - -func TestBranchCommit_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - b := &BranchCommit{Name: &zeroValue} - b.GetName() - b = &BranchCommit{} - b.GetName() - b = nil - b.GetName() -} - -func TestBranchCommit_GetProtected(tt *testing.T) { - tt.Parallel() - var zeroValue bool - b := &BranchCommit{Protected: &zeroValue} - b.GetProtected() - b = &BranchCommit{} - b.GetProtected() - b = nil - b.GetProtected() -} - -func TestBranchListOptions_GetProtected(tt *testing.T) { - tt.Parallel() - var zeroValue bool - b := &BranchListOptions{Protected: &zeroValue} - b.GetProtected() - b = &BranchListOptions{} - b.GetProtected() - b = nil - b.GetProtected() -} - -func TestBranchPolicy_GetCustomBranchPolicies(tt *testing.T) { - tt.Parallel() - var zeroValue bool - b := &BranchPolicy{CustomBranchPolicies: &zeroValue} - b.GetCustomBranchPolicies() - b = &BranchPolicy{} - b.GetCustomBranchPolicies() - b = nil - b.GetCustomBranchPolicies() -} - -func TestBranchPolicy_GetProtectedBranches(tt *testing.T) { - tt.Parallel() - var zeroValue bool - b := &BranchPolicy{ProtectedBranches: &zeroValue} - b.GetProtectedBranches() - b = &BranchPolicy{} - b.GetProtectedBranches() - b = nil - b.GetProtectedBranches() -} - -func TestBranchProtectionConfigurationEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - b := &BranchProtectionConfigurationEvent{Action: &zeroValue} - b.GetAction() - b = &BranchProtectionConfigurationEvent{} - b.GetAction() - b = nil - b.GetAction() -} - -func TestBranchProtectionConfigurationEvent_GetEnterprise(tt *testing.T) { - tt.Parallel() - b := &BranchProtectionConfigurationEvent{} - b.GetEnterprise() - b = nil - b.GetEnterprise() -} - -func TestBranchProtectionConfigurationEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - b := &BranchProtectionConfigurationEvent{} - b.GetInstallation() - b = nil - b.GetInstallation() -} - -func TestBranchProtectionConfigurationEvent_GetOrg(tt *testing.T) { - tt.Parallel() - b := &BranchProtectionConfigurationEvent{} - b.GetOrg() - b = nil - b.GetOrg() -} - -func TestBranchProtectionConfigurationEvent_GetRepo(tt *testing.T) { - tt.Parallel() - b := &BranchProtectionConfigurationEvent{} - b.GetRepo() - b = nil - b.GetRepo() -} - -func TestBranchProtectionConfigurationEvent_GetSender(tt *testing.T) { - tt.Parallel() - b := &BranchProtectionConfigurationEvent{} - b.GetSender() - b = nil - b.GetSender() -} - -func TestBranchProtectionRule_GetAdminEnforced(tt *testing.T) { - tt.Parallel() - var zeroValue bool - b := &BranchProtectionRule{AdminEnforced: &zeroValue} - b.GetAdminEnforced() - b = &BranchProtectionRule{} - b.GetAdminEnforced() - b = nil - b.GetAdminEnforced() -} - -func TestBranchProtectionRule_GetAllowDeletionsEnforcementLevel(tt *testing.T) { - tt.Parallel() - var zeroValue string - b := &BranchProtectionRule{AllowDeletionsEnforcementLevel: &zeroValue} - b.GetAllowDeletionsEnforcementLevel() - b = &BranchProtectionRule{} - b.GetAllowDeletionsEnforcementLevel() - b = nil - b.GetAllowDeletionsEnforcementLevel() -} - -func TestBranchProtectionRule_GetAllowForcePushesEnforcementLevel(tt *testing.T) { - tt.Parallel() - var zeroValue string - b := &BranchProtectionRule{AllowForcePushesEnforcementLevel: &zeroValue} - b.GetAllowForcePushesEnforcementLevel() - b = &BranchProtectionRule{} - b.GetAllowForcePushesEnforcementLevel() - b = nil - 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 - b := &BranchProtectionRule{AuthorizedActorsOnly: &zeroValue} - b.GetAuthorizedActorsOnly() - b = &BranchProtectionRule{} - b.GetAuthorizedActorsOnly() - b = nil - b.GetAuthorizedActorsOnly() -} - -func TestBranchProtectionRule_GetAuthorizedDismissalActorsOnly(tt *testing.T) { - tt.Parallel() - var zeroValue bool - b := &BranchProtectionRule{AuthorizedDismissalActorsOnly: &zeroValue} - b.GetAuthorizedDismissalActorsOnly() - b = &BranchProtectionRule{} - b.GetAuthorizedDismissalActorsOnly() - b = nil - b.GetAuthorizedDismissalActorsOnly() -} - -func TestBranchProtectionRule_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - b := &BranchProtectionRule{CreatedAt: &zeroValue} - b.GetCreatedAt() - b = &BranchProtectionRule{} - b.GetCreatedAt() - b = nil - b.GetCreatedAt() -} - -func TestBranchProtectionRule_GetDismissStaleReviewsOnPush(tt *testing.T) { - tt.Parallel() - var zeroValue bool - b := &BranchProtectionRule{DismissStaleReviewsOnPush: &zeroValue} - b.GetDismissStaleReviewsOnPush() - b = &BranchProtectionRule{} - b.GetDismissStaleReviewsOnPush() - b = nil - b.GetDismissStaleReviewsOnPush() -} - -func TestBranchProtectionRule_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - b := &BranchProtectionRule{ID: &zeroValue} - b.GetID() - b = &BranchProtectionRule{} - b.GetID() - b = nil - b.GetID() -} - -func TestBranchProtectionRule_GetIgnoreApprovalsFromContributors(tt *testing.T) { - tt.Parallel() - var zeroValue bool - b := &BranchProtectionRule{IgnoreApprovalsFromContributors: &zeroValue} - b.GetIgnoreApprovalsFromContributors() - b = &BranchProtectionRule{} - b.GetIgnoreApprovalsFromContributors() - b = nil - b.GetIgnoreApprovalsFromContributors() -} - -func TestBranchProtectionRule_GetLinearHistoryRequirementEnforcementLevel(tt *testing.T) { - tt.Parallel() - var zeroValue string - b := &BranchProtectionRule{LinearHistoryRequirementEnforcementLevel: &zeroValue} - b.GetLinearHistoryRequirementEnforcementLevel() - b = &BranchProtectionRule{} - b.GetLinearHistoryRequirementEnforcementLevel() - b = nil - b.GetLinearHistoryRequirementEnforcementLevel() -} - -func TestBranchProtectionRule_GetMergeQueueEnforcementLevel(tt *testing.T) { - tt.Parallel() - var zeroValue string - b := &BranchProtectionRule{MergeQueueEnforcementLevel: &zeroValue} - b.GetMergeQueueEnforcementLevel() - b = &BranchProtectionRule{} - b.GetMergeQueueEnforcementLevel() - b = nil - b.GetMergeQueueEnforcementLevel() -} - -func TestBranchProtectionRule_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - b := &BranchProtectionRule{Name: &zeroValue} - b.GetName() - b = &BranchProtectionRule{} - b.GetName() - b = nil - b.GetName() -} - -func TestBranchProtectionRule_GetPullRequestReviewsEnforcementLevel(tt *testing.T) { - tt.Parallel() - var zeroValue string - b := &BranchProtectionRule{PullRequestReviewsEnforcementLevel: &zeroValue} - b.GetPullRequestReviewsEnforcementLevel() - b = &BranchProtectionRule{} - b.GetPullRequestReviewsEnforcementLevel() - b = nil - b.GetPullRequestReviewsEnforcementLevel() -} - -func TestBranchProtectionRule_GetRepositoryID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - b := &BranchProtectionRule{RepositoryID: &zeroValue} - b.GetRepositoryID() - b = &BranchProtectionRule{} - b.GetRepositoryID() - b = nil - b.GetRepositoryID() -} - -func TestBranchProtectionRule_GetRequireCodeOwnerReview(tt *testing.T) { - tt.Parallel() - var zeroValue bool - b := &BranchProtectionRule{RequireCodeOwnerReview: &zeroValue} - b.GetRequireCodeOwnerReview() - b = &BranchProtectionRule{} - b.GetRequireCodeOwnerReview() - b = nil - b.GetRequireCodeOwnerReview() -} - -func TestBranchProtectionRule_GetRequiredApprovingReviewCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - b := &BranchProtectionRule{RequiredApprovingReviewCount: &zeroValue} - b.GetRequiredApprovingReviewCount() - b = &BranchProtectionRule{} - b.GetRequiredApprovingReviewCount() - b = nil - b.GetRequiredApprovingReviewCount() -} - -func TestBranchProtectionRule_GetRequiredConversationResolutionLevel(tt *testing.T) { - tt.Parallel() - var zeroValue string - b := &BranchProtectionRule{RequiredConversationResolutionLevel: &zeroValue} - b.GetRequiredConversationResolutionLevel() - b = &BranchProtectionRule{} - b.GetRequiredConversationResolutionLevel() - b = nil - b.GetRequiredConversationResolutionLevel() -} - -func TestBranchProtectionRule_GetRequiredDeploymentsEnforcementLevel(tt *testing.T) { - tt.Parallel() - var zeroValue string - b := &BranchProtectionRule{RequiredDeploymentsEnforcementLevel: &zeroValue} - b.GetRequiredDeploymentsEnforcementLevel() - b = &BranchProtectionRule{} - b.GetRequiredDeploymentsEnforcementLevel() - b = nil - 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 - b := &BranchProtectionRule{RequiredStatusChecksEnforcementLevel: &zeroValue} - b.GetRequiredStatusChecksEnforcementLevel() - b = &BranchProtectionRule{} - b.GetRequiredStatusChecksEnforcementLevel() - b = nil - b.GetRequiredStatusChecksEnforcementLevel() -} - -func TestBranchProtectionRule_GetRequireLastPushApproval(tt *testing.T) { - tt.Parallel() - var zeroValue bool - b := &BranchProtectionRule{RequireLastPushApproval: &zeroValue} - b.GetRequireLastPushApproval() - b = &BranchProtectionRule{} - b.GetRequireLastPushApproval() - b = nil - b.GetRequireLastPushApproval() -} - -func TestBranchProtectionRule_GetSignatureRequirementEnforcementLevel(tt *testing.T) { - tt.Parallel() - var zeroValue string - b := &BranchProtectionRule{SignatureRequirementEnforcementLevel: &zeroValue} - b.GetSignatureRequirementEnforcementLevel() - b = &BranchProtectionRule{} - b.GetSignatureRequirementEnforcementLevel() - b = nil - b.GetSignatureRequirementEnforcementLevel() -} - -func TestBranchProtectionRule_GetStrictRequiredStatusChecksPolicy(tt *testing.T) { - tt.Parallel() - var zeroValue bool - b := &BranchProtectionRule{StrictRequiredStatusChecksPolicy: &zeroValue} - b.GetStrictRequiredStatusChecksPolicy() - b = &BranchProtectionRule{} - b.GetStrictRequiredStatusChecksPolicy() - b = nil - b.GetStrictRequiredStatusChecksPolicy() -} - -func TestBranchProtectionRule_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - b := &BranchProtectionRule{UpdatedAt: &zeroValue} - b.GetUpdatedAt() - b = &BranchProtectionRule{} - b.GetUpdatedAt() - b = nil - b.GetUpdatedAt() -} - -func TestBranchProtectionRuleEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - b := &BranchProtectionRuleEvent{Action: &zeroValue} - b.GetAction() - b = &BranchProtectionRuleEvent{} - b.GetAction() - b = nil - b.GetAction() -} - -func TestBranchProtectionRuleEvent_GetChanges(tt *testing.T) { - tt.Parallel() - b := &BranchProtectionRuleEvent{} - b.GetChanges() - b = nil - b.GetChanges() -} - -func TestBranchProtectionRuleEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - b := &BranchProtectionRuleEvent{} - b.GetInstallation() - b = nil - b.GetInstallation() -} - -func TestBranchProtectionRuleEvent_GetOrg(tt *testing.T) { - tt.Parallel() - b := &BranchProtectionRuleEvent{} - b.GetOrg() - b = nil - b.GetOrg() -} - -func TestBranchProtectionRuleEvent_GetRepo(tt *testing.T) { - tt.Parallel() - b := &BranchProtectionRuleEvent{} - b.GetRepo() - b = nil - b.GetRepo() -} - -func TestBranchProtectionRuleEvent_GetRule(tt *testing.T) { - tt.Parallel() - b := &BranchProtectionRuleEvent{} - b.GetRule() - b = nil - b.GetRule() -} - -func TestBranchProtectionRuleEvent_GetSender(tt *testing.T) { - tt.Parallel() - b := &BranchProtectionRuleEvent{} - b.GetSender() - b = nil - 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 - b := &BypassActor{ActorID: &zeroValue} - b.GetActorID() - b = &BypassActor{} - b.GetActorID() - b = nil - b.GetActorID() -} - -func TestBypassActor_GetActorType(tt *testing.T) { - tt.Parallel() - b := &BypassActor{} - b.GetActorType() - b = nil - b.GetActorType() -} - -func TestBypassActor_GetBypassMode(tt *testing.T) { - tt.Parallel() - b := &BypassActor{} - b.GetBypassMode() - b = nil - 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 - b := &BypassReviewer{SecurityConfigurationID: &zeroValue} - b.GetSecurityConfigurationID() - b = &BypassReviewer{} - b.GetSecurityConfigurationID() - b = nil - b.GetSecurityConfigurationID() -} - -func TestCheckRun_GetApp(tt *testing.T) { - tt.Parallel() - c := &CheckRun{} - c.GetApp() - c = nil - c.GetApp() -} - -func TestCheckRun_GetCheckSuite(tt *testing.T) { - tt.Parallel() - c := &CheckRun{} - c.GetCheckSuite() - c = nil - c.GetCheckSuite() -} - -func TestCheckRun_GetCompletedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CheckRun{CompletedAt: &zeroValue} - c.GetCompletedAt() - c = &CheckRun{} - c.GetCompletedAt() - c = nil - c.GetCompletedAt() -} - -func TestCheckRun_GetConclusion(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckRun{Conclusion: &zeroValue} - c.GetConclusion() - c = &CheckRun{} - c.GetConclusion() - c = nil - c.GetConclusion() -} - -func TestCheckRun_GetDetailsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckRun{DetailsURL: &zeroValue} - c.GetDetailsURL() - c = &CheckRun{} - c.GetDetailsURL() - c = nil - c.GetDetailsURL() -} - -func TestCheckRun_GetExternalID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckRun{ExternalID: &zeroValue} - c.GetExternalID() - c = &CheckRun{} - c.GetExternalID() - c = nil - c.GetExternalID() -} - -func TestCheckRun_GetHeadSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckRun{HeadSHA: &zeroValue} - c.GetHeadSHA() - c = &CheckRun{} - c.GetHeadSHA() - c = nil - c.GetHeadSHA() -} - -func TestCheckRun_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckRun{HTMLURL: &zeroValue} - c.GetHTMLURL() - c = &CheckRun{} - c.GetHTMLURL() - c = nil - c.GetHTMLURL() -} - -func TestCheckRun_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &CheckRun{ID: &zeroValue} - c.GetID() - c = &CheckRun{} - c.GetID() - c = nil - c.GetID() -} - -func TestCheckRun_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckRun{Name: &zeroValue} - c.GetName() - c = &CheckRun{} - c.GetName() - c = nil - c.GetName() -} - -func TestCheckRun_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckRun{NodeID: &zeroValue} - c.GetNodeID() - c = &CheckRun{} - c.GetNodeID() - c = nil - c.GetNodeID() -} - -func TestCheckRun_GetOutput(tt *testing.T) { - tt.Parallel() - c := &CheckRun{} - c.GetOutput() - c = nil - 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 - c := &CheckRun{StartedAt: &zeroValue} - c.GetStartedAt() - c = &CheckRun{} - c.GetStartedAt() - c = nil - c.GetStartedAt() -} - -func TestCheckRun_GetStatus(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckRun{Status: &zeroValue} - c.GetStatus() - c = &CheckRun{} - c.GetStatus() - c = nil - c.GetStatus() -} - -func TestCheckRun_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckRun{URL: &zeroValue} - c.GetURL() - c = &CheckRun{} - c.GetURL() - c = nil - 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 - c := &CheckRunAnnotation{AnnotationLevel: &zeroValue} - c.GetAnnotationLevel() - c = &CheckRunAnnotation{} - c.GetAnnotationLevel() - c = nil - c.GetAnnotationLevel() -} - -func TestCheckRunAnnotation_GetEndColumn(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CheckRunAnnotation{EndColumn: &zeroValue} - c.GetEndColumn() - c = &CheckRunAnnotation{} - c.GetEndColumn() - c = nil - c.GetEndColumn() -} - -func TestCheckRunAnnotation_GetEndLine(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CheckRunAnnotation{EndLine: &zeroValue} - c.GetEndLine() - c = &CheckRunAnnotation{} - c.GetEndLine() - c = nil - c.GetEndLine() -} - -func TestCheckRunAnnotation_GetMessage(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckRunAnnotation{Message: &zeroValue} - c.GetMessage() - c = &CheckRunAnnotation{} - c.GetMessage() - c = nil - c.GetMessage() -} - -func TestCheckRunAnnotation_GetPath(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckRunAnnotation{Path: &zeroValue} - c.GetPath() - c = &CheckRunAnnotation{} - c.GetPath() - c = nil - c.GetPath() -} - -func TestCheckRunAnnotation_GetRawDetails(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckRunAnnotation{RawDetails: &zeroValue} - c.GetRawDetails() - c = &CheckRunAnnotation{} - c.GetRawDetails() - c = nil - c.GetRawDetails() -} - -func TestCheckRunAnnotation_GetStartColumn(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CheckRunAnnotation{StartColumn: &zeroValue} - c.GetStartColumn() - c = &CheckRunAnnotation{} - c.GetStartColumn() - c = nil - c.GetStartColumn() -} - -func TestCheckRunAnnotation_GetStartLine(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CheckRunAnnotation{StartLine: &zeroValue} - c.GetStartLine() - c = &CheckRunAnnotation{} - c.GetStartLine() - c = nil - c.GetStartLine() -} - -func TestCheckRunAnnotation_GetTitle(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckRunAnnotation{Title: &zeroValue} - c.GetTitle() - c = &CheckRunAnnotation{} - c.GetTitle() - c = nil - c.GetTitle() -} - -func TestCheckRunEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckRunEvent{Action: &zeroValue} - c.GetAction() - c = &CheckRunEvent{} - c.GetAction() - c = nil - c.GetAction() -} - -func TestCheckRunEvent_GetCheckRun(tt *testing.T) { - tt.Parallel() - c := &CheckRunEvent{} - c.GetCheckRun() - c = nil - c.GetCheckRun() -} - -func TestCheckRunEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - c := &CheckRunEvent{} - c.GetInstallation() - c = nil - c.GetInstallation() -} - -func TestCheckRunEvent_GetOrg(tt *testing.T) { - tt.Parallel() - c := &CheckRunEvent{} - c.GetOrg() - c = nil - c.GetOrg() -} - -func TestCheckRunEvent_GetRepo(tt *testing.T) { - tt.Parallel() - c := &CheckRunEvent{} - c.GetRepo() - c = nil - c.GetRepo() -} - -func TestCheckRunEvent_GetRequestedAction(tt *testing.T) { - tt.Parallel() - c := &CheckRunEvent{} - c.GetRequestedAction() - c = nil - c.GetRequestedAction() -} - -func TestCheckRunEvent_GetSender(tt *testing.T) { - tt.Parallel() - c := &CheckRunEvent{} - c.GetSender() - c = nil - c.GetSender() -} - -func TestCheckRunImage_GetAlt(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckRunImage{Alt: &zeroValue} - c.GetAlt() - c = &CheckRunImage{} - c.GetAlt() - c = nil - c.GetAlt() -} - -func TestCheckRunImage_GetCaption(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckRunImage{Caption: &zeroValue} - c.GetCaption() - c = &CheckRunImage{} - c.GetCaption() - c = nil - c.GetCaption() -} - -func TestCheckRunImage_GetImageURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckRunImage{ImageURL: &zeroValue} - c.GetImageURL() - c = &CheckRunImage{} - c.GetImageURL() - c = nil - 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 - c := &CheckRunOutput{AnnotationsCount: &zeroValue} - c.GetAnnotationsCount() - c = &CheckRunOutput{} - c.GetAnnotationsCount() - c = nil - c.GetAnnotationsCount() -} - -func TestCheckRunOutput_GetAnnotationsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckRunOutput{AnnotationsURL: &zeroValue} - c.GetAnnotationsURL() - c = &CheckRunOutput{} - c.GetAnnotationsURL() - c = nil - 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 - c := &CheckRunOutput{Summary: &zeroValue} - c.GetSummary() - c = &CheckRunOutput{} - c.GetSummary() - c = nil - c.GetSummary() -} - -func TestCheckRunOutput_GetText(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckRunOutput{Text: &zeroValue} - c.GetText() - c = &CheckRunOutput{} - c.GetText() - c = nil - c.GetText() -} - -func TestCheckRunOutput_GetTitle(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckRunOutput{Title: &zeroValue} - c.GetTitle() - c = &CheckRunOutput{} - c.GetTitle() - c = nil - c.GetTitle() -} - -func TestCheckSuite_GetAfterSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckSuite{AfterSHA: &zeroValue} - c.GetAfterSHA() - c = &CheckSuite{} - c.GetAfterSHA() - c = nil - c.GetAfterSHA() -} - -func TestCheckSuite_GetApp(tt *testing.T) { - tt.Parallel() - c := &CheckSuite{} - c.GetApp() - c = nil - c.GetApp() -} - -func TestCheckSuite_GetBeforeSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckSuite{BeforeSHA: &zeroValue} - c.GetBeforeSHA() - c = &CheckSuite{} - c.GetBeforeSHA() - c = nil - c.GetBeforeSHA() -} - -func TestCheckSuite_GetConclusion(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckSuite{Conclusion: &zeroValue} - c.GetConclusion() - c = &CheckSuite{} - c.GetConclusion() - c = nil - c.GetConclusion() -} - -func TestCheckSuite_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CheckSuite{CreatedAt: &zeroValue} - c.GetCreatedAt() - c = &CheckSuite{} - c.GetCreatedAt() - c = nil - c.GetCreatedAt() -} - -func TestCheckSuite_GetHeadBranch(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckSuite{HeadBranch: &zeroValue} - c.GetHeadBranch() - c = &CheckSuite{} - c.GetHeadBranch() - c = nil - c.GetHeadBranch() -} - -func TestCheckSuite_GetHeadCommit(tt *testing.T) { - tt.Parallel() - c := &CheckSuite{} - c.GetHeadCommit() - c = nil - c.GetHeadCommit() -} - -func TestCheckSuite_GetHeadSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckSuite{HeadSHA: &zeroValue} - c.GetHeadSHA() - c = &CheckSuite{} - c.GetHeadSHA() - c = nil - c.GetHeadSHA() -} - -func TestCheckSuite_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &CheckSuite{ID: &zeroValue} - c.GetID() - c = &CheckSuite{} - c.GetID() - c = nil - c.GetID() -} - -func TestCheckSuite_GetLatestCheckRunsCount(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &CheckSuite{LatestCheckRunsCount: &zeroValue} - c.GetLatestCheckRunsCount() - c = &CheckSuite{} - c.GetLatestCheckRunsCount() - c = nil - c.GetLatestCheckRunsCount() -} - -func TestCheckSuite_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckSuite{NodeID: &zeroValue} - c.GetNodeID() - c = &CheckSuite{} - c.GetNodeID() - c = nil - 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{} - c.GetRepository() - c = nil - c.GetRepository() -} - -func TestCheckSuite_GetRerequestable(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CheckSuite{Rerequestable: &zeroValue} - c.GetRerequestable() - c = &CheckSuite{} - c.GetRerequestable() - c = nil - c.GetRerequestable() -} - -func TestCheckSuite_GetRunsRerequestable(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CheckSuite{RunsRerequestable: &zeroValue} - c.GetRunsRerequestable() - c = &CheckSuite{} - c.GetRunsRerequestable() - c = nil - c.GetRunsRerequestable() -} - -func TestCheckSuite_GetStatus(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckSuite{Status: &zeroValue} - c.GetStatus() - c = &CheckSuite{} - c.GetStatus() - c = nil - c.GetStatus() -} - -func TestCheckSuite_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CheckSuite{UpdatedAt: &zeroValue} - c.GetUpdatedAt() - c = &CheckSuite{} - c.GetUpdatedAt() - c = nil - c.GetUpdatedAt() -} - -func TestCheckSuite_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckSuite{URL: &zeroValue} - c.GetURL() - c = &CheckSuite{} - c.GetURL() - c = nil - c.GetURL() -} - -func TestCheckSuiteEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CheckSuiteEvent{Action: &zeroValue} - c.GetAction() - c = &CheckSuiteEvent{} - c.GetAction() - c = nil - c.GetAction() -} - -func TestCheckSuiteEvent_GetCheckSuite(tt *testing.T) { - tt.Parallel() - c := &CheckSuiteEvent{} - c.GetCheckSuite() - c = nil - c.GetCheckSuite() -} - -func TestCheckSuiteEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - c := &CheckSuiteEvent{} - c.GetInstallation() - c = nil - c.GetInstallation() -} - -func TestCheckSuiteEvent_GetOrg(tt *testing.T) { - tt.Parallel() - c := &CheckSuiteEvent{} - c.GetOrg() - c = nil - c.GetOrg() -} - -func TestCheckSuiteEvent_GetRepo(tt *testing.T) { - tt.Parallel() - c := &CheckSuiteEvent{} - c.GetRepo() - c = nil - c.GetRepo() -} - -func TestCheckSuiteEvent_GetSender(tt *testing.T) { - tt.Parallel() - c := &CheckSuiteEvent{} - c.GetSender() - c = nil - 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{} - c.GetPreferences() - c = nil - c.GetPreferences() -} - -func TestCheckSuitePreferenceResults_GetRepository(tt *testing.T) { - tt.Parallel() - c := &CheckSuitePreferenceResults{} - c.GetRepository() - c = nil - c.GetRepository() -} - -func TestClassroom_GetArchived(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &Classroom{Archived: &zeroValue} - c.GetArchived() - c = &Classroom{} - c.GetArchived() - c = nil - c.GetArchived() -} - -func TestClassroom_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &Classroom{ID: &zeroValue} - c.GetID() - c = &Classroom{} - c.GetID() - c = nil - c.GetID() -} - -func TestClassroom_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Classroom{Name: &zeroValue} - c.GetName() - c = &Classroom{} - c.GetName() - c = nil - c.GetName() -} - -func TestClassroom_GetOrganization(tt *testing.T) { - tt.Parallel() - c := &Classroom{} - c.GetOrganization() - c = nil - c.GetOrganization() -} - -func TestClassroom_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Classroom{URL: &zeroValue} - c.GetURL() - c = &Classroom{} - c.GetURL() - c = nil - c.GetURL() -} - -func TestClassroomAssignment_GetAccepted(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &ClassroomAssignment{Accepted: &zeroValue} - c.GetAccepted() - c = &ClassroomAssignment{} - c.GetAccepted() - c = nil - c.GetAccepted() -} - -func TestClassroomAssignment_GetClassroom(tt *testing.T) { - tt.Parallel() - c := &ClassroomAssignment{} - c.GetClassroom() - c = nil - c.GetClassroom() -} - -func TestClassroomAssignment_GetDeadline(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &ClassroomAssignment{Deadline: &zeroValue} - c.GetDeadline() - c = &ClassroomAssignment{} - c.GetDeadline() - c = nil - c.GetDeadline() -} - -func TestClassroomAssignment_GetEditor(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ClassroomAssignment{Editor: &zeroValue} - c.GetEditor() - c = &ClassroomAssignment{} - c.GetEditor() - c = nil - c.GetEditor() -} - -func TestClassroomAssignment_GetFeedbackPullRequestsEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ClassroomAssignment{FeedbackPullRequestsEnabled: &zeroValue} - c.GetFeedbackPullRequestsEnabled() - c = &ClassroomAssignment{} - c.GetFeedbackPullRequestsEnabled() - c = nil - c.GetFeedbackPullRequestsEnabled() -} - -func TestClassroomAssignment_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &ClassroomAssignment{ID: &zeroValue} - c.GetID() - c = &ClassroomAssignment{} - c.GetID() - c = nil - c.GetID() -} - -func TestClassroomAssignment_GetInvitationsEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ClassroomAssignment{InvitationsEnabled: &zeroValue} - c.GetInvitationsEnabled() - c = &ClassroomAssignment{} - c.GetInvitationsEnabled() - c = nil - c.GetInvitationsEnabled() -} - -func TestClassroomAssignment_GetInviteLink(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ClassroomAssignment{InviteLink: &zeroValue} - c.GetInviteLink() - c = &ClassroomAssignment{} - c.GetInviteLink() - c = nil - c.GetInviteLink() -} - -func TestClassroomAssignment_GetLanguage(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ClassroomAssignment{Language: &zeroValue} - c.GetLanguage() - c = &ClassroomAssignment{} - c.GetLanguage() - c = nil - c.GetLanguage() -} - -func TestClassroomAssignment_GetMaxMembers(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &ClassroomAssignment{MaxMembers: &zeroValue} - c.GetMaxMembers() - c = &ClassroomAssignment{} - c.GetMaxMembers() - c = nil - c.GetMaxMembers() -} - -func TestClassroomAssignment_GetMaxTeams(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &ClassroomAssignment{MaxTeams: &zeroValue} - c.GetMaxTeams() - c = &ClassroomAssignment{} - c.GetMaxTeams() - c = nil - c.GetMaxTeams() -} - -func TestClassroomAssignment_GetPassing(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &ClassroomAssignment{Passing: &zeroValue} - c.GetPassing() - c = &ClassroomAssignment{} - c.GetPassing() - c = nil - c.GetPassing() -} - -func TestClassroomAssignment_GetPublicRepo(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ClassroomAssignment{PublicRepo: &zeroValue} - c.GetPublicRepo() - c = &ClassroomAssignment{} - c.GetPublicRepo() - c = nil - c.GetPublicRepo() -} - -func TestClassroomAssignment_GetSlug(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ClassroomAssignment{Slug: &zeroValue} - c.GetSlug() - c = &ClassroomAssignment{} - c.GetSlug() - c = nil - c.GetSlug() -} - -func TestClassroomAssignment_GetStarterCodeRepository(tt *testing.T) { - tt.Parallel() - c := &ClassroomAssignment{} - c.GetStarterCodeRepository() - c = nil - c.GetStarterCodeRepository() -} - -func TestClassroomAssignment_GetStudentsAreRepoAdmins(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ClassroomAssignment{StudentsAreRepoAdmins: &zeroValue} - c.GetStudentsAreRepoAdmins() - c = &ClassroomAssignment{} - c.GetStudentsAreRepoAdmins() - c = nil - c.GetStudentsAreRepoAdmins() -} - -func TestClassroomAssignment_GetSubmitted(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &ClassroomAssignment{Submitted: &zeroValue} - c.GetSubmitted() - c = &ClassroomAssignment{} - c.GetSubmitted() - c = nil - c.GetSubmitted() -} - -func TestClassroomAssignment_GetTitle(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ClassroomAssignment{Title: &zeroValue} - c.GetTitle() - c = &ClassroomAssignment{} - c.GetTitle() - c = nil - c.GetTitle() -} - -func TestClassroomAssignment_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ClassroomAssignment{Type: &zeroValue} - c.GetType() - c = &ClassroomAssignment{} - c.GetType() - c = nil - c.GetType() -} - -func TestClassroomUser_GetAvatarURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ClassroomUser{AvatarURL: &zeroValue} - c.GetAvatarURL() - c = &ClassroomUser{} - c.GetAvatarURL() - c = nil - c.GetAvatarURL() -} - -func TestClassroomUser_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ClassroomUser{HTMLURL: &zeroValue} - c.GetHTMLURL() - c = &ClassroomUser{} - c.GetHTMLURL() - c = nil - c.GetHTMLURL() -} - -func TestClassroomUser_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &ClassroomUser{ID: &zeroValue} - c.GetID() - c = &ClassroomUser{} - c.GetID() - c = nil - c.GetID() -} - -func TestClassroomUser_GetLogin(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ClassroomUser{Login: &zeroValue} - c.GetLogin() - c = &ClassroomUser{} - c.GetLogin() - c = nil - 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 - c := &ClusterArtifactDeployment{GithubRepository: &zeroValue} - c.GetGithubRepository() - c = &ClusterArtifactDeployment{} - c.GetGithubRepository() - c = nil - 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{} - c := &ClusterArtifactDeployment{Tags: zeroValue} - c.GetTags() - c = &ClusterArtifactDeployment{} - c.GetTags() - c = nil - c.GetTags() -} - -func TestClusterArtifactDeployment_GetVersion(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ClusterArtifactDeployment{Version: &zeroValue} - c.GetVersion() - c = &ClusterArtifactDeployment{} - c.GetVersion() - c = nil - 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 - c := &ClusterDeploymentRecordsRequest{PhysicalEnvironment: &zeroValue} - c.GetPhysicalEnvironment() - c = &ClusterDeploymentRecordsRequest{} - c.GetPhysicalEnvironment() - c = nil - c.GetPhysicalEnvironment() -} - -func TestClusterSSHKey_GetFingerprint(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ClusterSSHKey{Fingerprint: &zeroValue} - c.GetFingerprint() - c = &ClusterSSHKey{} - c.GetFingerprint() - c = nil - c.GetFingerprint() -} - -func TestClusterSSHKey_GetKey(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ClusterSSHKey{Key: &zeroValue} - c.GetKey() - c = &ClusterSSHKey{} - c.GetKey() - c = nil - 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 - c := &ClusterStatus{Status: &zeroValue} - c.GetStatus() - c = &ClusterStatus{} - c.GetStatus() - c = nil - c.GetStatus() -} - -func TestClusterStatusNode_GetHostname(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ClusterStatusNode{Hostname: &zeroValue} - c.GetHostname() - c = &ClusterStatusNode{} - c.GetHostname() - c = nil - 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 - c := &ClusterStatusNode{Status: &zeroValue} - c.GetStatus() - c = &ClusterStatusNode{} - c.GetStatus() - c = nil - c.GetStatus() -} - -func TestClusterStatusNodeServiceItem_GetDetails(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ClusterStatusNodeServiceItem{Details: &zeroValue} - c.GetDetails() - c = &ClusterStatusNodeServiceItem{} - c.GetDetails() - c = nil - c.GetDetails() -} - -func TestClusterStatusNodeServiceItem_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ClusterStatusNodeServiceItem{Name: &zeroValue} - c.GetName() - c = &ClusterStatusNodeServiceItem{} - c.GetName() - c = nil - c.GetName() -} - -func TestClusterStatusNodeServiceItem_GetStatus(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ClusterStatusNodeServiceItem{Status: &zeroValue} - c.GetStatus() - c = &ClusterStatusNodeServiceItem{} - c.GetStatus() - c = nil - c.GetStatus() -} - -func TestCodeOfConduct_GetBody(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeOfConduct{Body: &zeroValue} - c.GetBody() - c = &CodeOfConduct{} - c.GetBody() - c = nil - c.GetBody() -} - -func TestCodeOfConduct_GetKey(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeOfConduct{Key: &zeroValue} - c.GetKey() - c = &CodeOfConduct{} - c.GetKey() - c = nil - c.GetKey() -} - -func TestCodeOfConduct_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeOfConduct{Name: &zeroValue} - c.GetName() - c = &CodeOfConduct{} - c.GetName() - c = nil - c.GetName() -} - -func TestCodeOfConduct_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeOfConduct{URL: &zeroValue} - c.GetURL() - c = &CodeOfConduct{} - c.GetURL() - c = nil - 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 - c := &CodeownersError{Suggestion: &zeroValue} - c.GetSuggestion() - c = &CodeownersError{} - c.GetSuggestion() - c = nil - 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 - c := &CodeQLDatabase{ContentType: &zeroValue} - c.GetContentType() - c = &CodeQLDatabase{} - c.GetContentType() - c = nil - c.GetContentType() -} - -func TestCodeQLDatabase_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CodeQLDatabase{CreatedAt: &zeroValue} - c.GetCreatedAt() - c = &CodeQLDatabase{} - c.GetCreatedAt() - c = nil - c.GetCreatedAt() -} - -func TestCodeQLDatabase_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &CodeQLDatabase{ID: &zeroValue} - c.GetID() - c = &CodeQLDatabase{} - c.GetID() - c = nil - c.GetID() -} - -func TestCodeQLDatabase_GetLanguage(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeQLDatabase{Language: &zeroValue} - c.GetLanguage() - c = &CodeQLDatabase{} - c.GetLanguage() - c = nil - c.GetLanguage() -} - -func TestCodeQLDatabase_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeQLDatabase{Name: &zeroValue} - c.GetName() - c = &CodeQLDatabase{} - c.GetName() - c = nil - c.GetName() -} - -func TestCodeQLDatabase_GetSize(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &CodeQLDatabase{Size: &zeroValue} - c.GetSize() - c = &CodeQLDatabase{} - c.GetSize() - c = nil - c.GetSize() -} - -func TestCodeQLDatabase_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CodeQLDatabase{UpdatedAt: &zeroValue} - c.GetUpdatedAt() - c = &CodeQLDatabase{} - c.GetUpdatedAt() - c = nil - c.GetUpdatedAt() -} - -func TestCodeQLDatabase_GetUploader(tt *testing.T) { - tt.Parallel() - c := &CodeQLDatabase{} - c.GetUploader() - c = nil - c.GetUploader() -} - -func TestCodeQLDatabase_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeQLDatabase{URL: &zeroValue} - c.GetURL() - c = &CodeQLDatabase{} - c.GetURL() - c = nil - c.GetURL() -} - -func TestCodeQualityFinding_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CodeQualityFinding{CreatedAt: &zeroValue} - c.GetCreatedAt() - c = &CodeQualityFinding{} - c.GetCreatedAt() - c = nil - c.GetCreatedAt() -} - -func TestCodeQualityFinding_GetLocation(tt *testing.T) { - tt.Parallel() - c := &CodeQualityFinding{} - c.GetLocation() - c = nil - c.GetLocation() -} - -func TestCodeQualityFinding_GetMessage(tt *testing.T) { - tt.Parallel() - c := &CodeQualityFinding{} - c.GetMessage() - c = nil - c.GetMessage() -} - -func TestCodeQualityFinding_GetNumber(tt *testing.T) { - tt.Parallel() - c := &CodeQualityFinding{} - c.GetNumber() - c = nil - c.GetNumber() -} - -func TestCodeQualityFinding_GetRule(tt *testing.T) { - tt.Parallel() - c := &CodeQualityFinding{} - c.GetRule() - c = nil - c.GetRule() -} - -func TestCodeQualityFinding_GetState(tt *testing.T) { - tt.Parallel() - c := &CodeQualityFinding{} - c.GetState() - c = nil - c.GetState() -} - -func TestCodeQualityFinding_GetURL(tt *testing.T) { - tt.Parallel() - c := &CodeQualityFinding{} - c.GetURL() - c = nil - c.GetURL() -} - -func TestCodeQualityFindingLocation_GetEndColumn(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CodeQualityFindingLocation{EndColumn: &zeroValue} - c.GetEndColumn() - c = &CodeQualityFindingLocation{} - c.GetEndColumn() - c = nil - c.GetEndColumn() -} - -func TestCodeQualityFindingLocation_GetEndLine(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CodeQualityFindingLocation{EndLine: &zeroValue} - c.GetEndLine() - c = &CodeQualityFindingLocation{} - c.GetEndLine() - c = nil - c.GetEndLine() -} - -func TestCodeQualityFindingLocation_GetPath(tt *testing.T) { - tt.Parallel() - c := &CodeQualityFindingLocation{} - c.GetPath() - c = nil - c.GetPath() -} - -func TestCodeQualityFindingLocation_GetStartColumn(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CodeQualityFindingLocation{StartColumn: &zeroValue} - c.GetStartColumn() - c = &CodeQualityFindingLocation{} - c.GetStartColumn() - c = nil - c.GetStartColumn() -} - -func TestCodeQualityFindingLocation_GetStartLine(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CodeQualityFindingLocation{StartLine: &zeroValue} - c.GetStartLine() - c = &CodeQualityFindingLocation{} - c.GetStartLine() - c = nil - c.GetStartLine() -} - -func TestCodeQualityFindingMessage_GetMarkdown(tt *testing.T) { - tt.Parallel() - c := &CodeQualityFindingMessage{} - c.GetMarkdown() - c = nil - c.GetMarkdown() -} - -func TestCodeQualityFindingMessage_GetText(tt *testing.T) { - tt.Parallel() - c := &CodeQualityFindingMessage{} - c.GetText() - c = nil - c.GetText() -} - -func TestCodeQualityFindingRule_GetCategory(tt *testing.T) { - tt.Parallel() - c := &CodeQualityFindingRule{} - c.GetCategory() - c = nil - c.GetCategory() -} - -func TestCodeQualityFindingRule_GetDescription(tt *testing.T) { - tt.Parallel() - c := &CodeQualityFindingRule{} - c.GetDescription() - c = nil - c.GetDescription() -} - -func TestCodeQualityFindingRule_GetHelp(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeQualityFindingRule{Help: &zeroValue} - c.GetHelp() - c = &CodeQualityFindingRule{} - c.GetHelp() - c = nil - c.GetHelp() -} - -func TestCodeQualityFindingRule_GetID(tt *testing.T) { - tt.Parallel() - c := &CodeQualityFindingRule{} - c.GetID() - c = nil - c.GetID() -} - -func TestCodeQualityFindingRule_GetSeverity(tt *testing.T) { - tt.Parallel() - c := &CodeQualityFindingRule{} - c.GetSeverity() - c = nil - c.GetSeverity() -} - -func TestCodeQualityFindingRule_GetTitle(tt *testing.T) { - tt.Parallel() - c := &CodeQualityFindingRule{} - c.GetTitle() - c = nil - c.GetTitle() -} - -func TestCodeQualitySetupConfiguration_GetLanguages(tt *testing.T) { - tt.Parallel() - zeroValue := []string{} - c := &CodeQualitySetupConfiguration{Languages: zeroValue} - c.GetLanguages() - c = &CodeQualitySetupConfiguration{} - c.GetLanguages() - c = nil - c.GetLanguages() -} - -func TestCodeQualitySetupConfiguration_GetRunnerLabel(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeQualitySetupConfiguration{RunnerLabel: &zeroValue} - c.GetRunnerLabel() - c = &CodeQualitySetupConfiguration{} - c.GetRunnerLabel() - c = nil - c.GetRunnerLabel() -} - -func TestCodeQualitySetupConfiguration_GetRunnerType(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeQualitySetupConfiguration{RunnerType: &zeroValue} - c.GetRunnerType() - c = &CodeQualitySetupConfiguration{} - c.GetRunnerType() - c = nil - c.GetRunnerType() -} - -func TestCodeQualitySetupConfiguration_GetSchedule(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeQualitySetupConfiguration{Schedule: &zeroValue} - c.GetSchedule() - c = &CodeQualitySetupConfiguration{} - c.GetSchedule() - c = nil - c.GetSchedule() -} - -func TestCodeQualitySetupConfiguration_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeQualitySetupConfiguration{State: &zeroValue} - c.GetState() - c = &CodeQualitySetupConfiguration{} - c.GetState() - c = nil - c.GetState() -} - -func TestCodeQualitySetupConfiguration_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CodeQualitySetupConfiguration{UpdatedAt: &zeroValue} - c.GetUpdatedAt() - c = &CodeQualitySetupConfiguration{} - c.GetUpdatedAt() - c = nil - c.GetUpdatedAt() -} - -func TestCodeQualityUpdateSetupRequest_GetLanguages(tt *testing.T) { - tt.Parallel() - zeroValue := []string{} - c := &CodeQualityUpdateSetupRequest{Languages: zeroValue} - c.GetLanguages() - c = &CodeQualityUpdateSetupRequest{} - c.GetLanguages() - c = nil - c.GetLanguages() -} - -func TestCodeQualityUpdateSetupRequest_GetRunnerLabel(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeQualityUpdateSetupRequest{RunnerLabel: &zeroValue} - c.GetRunnerLabel() - c = &CodeQualityUpdateSetupRequest{} - c.GetRunnerLabel() - c = nil - c.GetRunnerLabel() -} - -func TestCodeQualityUpdateSetupRequest_GetRunnerType(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeQualityUpdateSetupRequest{RunnerType: &zeroValue} - c.GetRunnerType() - c = &CodeQualityUpdateSetupRequest{} - c.GetRunnerType() - c = nil - c.GetRunnerType() -} - -func TestCodeQualityUpdateSetupRequest_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeQualityUpdateSetupRequest{State: &zeroValue} - c.GetState() - c = &CodeQualityUpdateSetupRequest{} - c.GetState() - c = nil - c.GetState() -} - -func TestCodeQualityUpdateSetupResponse_GetRunID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &CodeQualityUpdateSetupResponse{RunID: &zeroValue} - c.GetRunID() - c = &CodeQualityUpdateSetupResponse{} - c.GetRunID() - c = nil - c.GetRunID() -} - -func TestCodeQualityUpdateSetupResponse_GetRunURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeQualityUpdateSetupResponse{RunURL: &zeroValue} - c.GetRunURL() - c = &CodeQualityUpdateSetupResponse{} - c.GetRunURL() - c = nil - c.GetRunURL() -} - -func TestCodeResult_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeResult{HTMLURL: &zeroValue} - c.GetHTMLURL() - c = &CodeResult{} - c.GetHTMLURL() - c = nil - c.GetHTMLURL() -} - -func TestCodeResult_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeResult{Name: &zeroValue} - c.GetName() - c = &CodeResult{} - c.GetName() - c = nil - c.GetName() -} - -func TestCodeResult_GetPath(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeResult{Path: &zeroValue} - c.GetPath() - c = &CodeResult{} - c.GetPath() - c = nil - c.GetPath() -} - -func TestCodeResult_GetRepository(tt *testing.T) { - tt.Parallel() - c := &CodeResult{} - c.GetRepository() - c = nil - c.GetRepository() -} - -func TestCodeResult_GetSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeResult{SHA: &zeroValue} - c.GetSHA() - c = &CodeResult{} - c.GetSHA() - c = nil - 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 - c := &CodeScanningAlertEvent{Action: &zeroValue} - c.GetAction() - c = &CodeScanningAlertEvent{} - c.GetAction() - c = nil - c.GetAction() -} - -func TestCodeScanningAlertEvent_GetAlert(tt *testing.T) { - tt.Parallel() - c := &CodeScanningAlertEvent{} - c.GetAlert() - c = nil - c.GetAlert() -} - -func TestCodeScanningAlertEvent_GetCommitOID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeScanningAlertEvent{CommitOID: &zeroValue} - c.GetCommitOID() - c = &CodeScanningAlertEvent{} - c.GetCommitOID() - c = nil - c.GetCommitOID() -} - -func TestCodeScanningAlertEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - c := &CodeScanningAlertEvent{} - c.GetInstallation() - c = nil - c.GetInstallation() -} - -func TestCodeScanningAlertEvent_GetOrg(tt *testing.T) { - tt.Parallel() - c := &CodeScanningAlertEvent{} - c.GetOrg() - c = nil - c.GetOrg() -} - -func TestCodeScanningAlertEvent_GetRef(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeScanningAlertEvent{Ref: &zeroValue} - c.GetRef() - c = &CodeScanningAlertEvent{} - c.GetRef() - c = nil - c.GetRef() -} - -func TestCodeScanningAlertEvent_GetRepo(tt *testing.T) { - tt.Parallel() - c := &CodeScanningAlertEvent{} - c.GetRepo() - c = nil - c.GetRepo() -} - -func TestCodeScanningAlertEvent_GetSender(tt *testing.T) { - tt.Parallel() - c := &CodeScanningAlertEvent{} - c.GetSender() - c = nil - c.GetSender() -} - -func TestCodeScanningAlertState_GetDismissedComment(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeScanningAlertState{DismissedComment: &zeroValue} - c.GetDismissedComment() - c = &CodeScanningAlertState{} - c.GetDismissedComment() - c = nil - c.GetDismissedComment() -} - -func TestCodeScanningAlertState_GetDismissedReason(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeScanningAlertState{DismissedReason: &zeroValue} - c.GetDismissedReason() - c = &CodeScanningAlertState{} - c.GetDismissedReason() - c = nil - 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 - c := &CodeScanningDefaultSetupOptions{RunnerLabel: &zeroValue} - c.GetRunnerLabel() - c = &CodeScanningDefaultSetupOptions{} - c.GetRunnerLabel() - c = nil - 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 - c := &CodeScanningOptions{AllowAdvanced: &zeroValue} - c.GetAllowAdvanced() - c = &CodeScanningOptions{} - c.GetAllowAdvanced() - c = nil - 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 - c := &CodeSearchResult{IncompleteResults: &zeroValue} - c.GetIncompleteResults() - c = &CodeSearchResult{} - c.GetIncompleteResults() - c = nil - c.GetIncompleteResults() -} - -func TestCodeSearchResult_GetTotal(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CodeSearchResult{Total: &zeroValue} - c.GetTotal() - c = &CodeSearchResult{} - c.GetTotal() - c = nil - c.GetTotal() -} - -func TestCodeSecurity_GetStatus(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeSecurity{Status: &zeroValue} - c.GetStatus() - c = &CodeSecurity{} - c.GetStatus() - c = nil - c.GetStatus() -} - -func TestCodeSecurityConfiguration_GetAdvancedSecurity(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeSecurityConfiguration{AdvancedSecurity: &zeroValue} - c.GetAdvancedSecurity() - c = &CodeSecurityConfiguration{} - c.GetAdvancedSecurity() - c = nil - c.GetAdvancedSecurity() -} - -func TestCodeSecurityConfiguration_GetCodeScanningDefaultSetup(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeSecurityConfiguration{CodeScanningDefaultSetup: &zeroValue} - c.GetCodeScanningDefaultSetup() - c = &CodeSecurityConfiguration{} - c.GetCodeScanningDefaultSetup() - c = nil - c.GetCodeScanningDefaultSetup() -} - -func TestCodeSecurityConfiguration_GetCodeScanningDefaultSetupOptions(tt *testing.T) { - tt.Parallel() - c := &CodeSecurityConfiguration{} - c.GetCodeScanningDefaultSetupOptions() - c = nil - c.GetCodeScanningDefaultSetupOptions() -} - -func TestCodeSecurityConfiguration_GetCodeScanningDelegatedAlertDismissal(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeSecurityConfiguration{CodeScanningDelegatedAlertDismissal: &zeroValue} - c.GetCodeScanningDelegatedAlertDismissal() - c = &CodeSecurityConfiguration{} - c.GetCodeScanningDelegatedAlertDismissal() - c = nil - c.GetCodeScanningDelegatedAlertDismissal() -} - -func TestCodeSecurityConfiguration_GetCodeScanningOptions(tt *testing.T) { - tt.Parallel() - c := &CodeSecurityConfiguration{} - c.GetCodeScanningOptions() - c = nil - c.GetCodeScanningOptions() -} - -func TestCodeSecurityConfiguration_GetCodeSecurity(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeSecurityConfiguration{CodeSecurity: &zeroValue} - c.GetCodeSecurity() - c = &CodeSecurityConfiguration{} - c.GetCodeSecurity() - c = nil - c.GetCodeSecurity() -} - -func TestCodeSecurityConfiguration_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CodeSecurityConfiguration{CreatedAt: &zeroValue} - c.GetCreatedAt() - c = &CodeSecurityConfiguration{} - c.GetCreatedAt() - c = nil - c.GetCreatedAt() -} - -func TestCodeSecurityConfiguration_GetDependabotAlerts(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeSecurityConfiguration{DependabotAlerts: &zeroValue} - c.GetDependabotAlerts() - c = &CodeSecurityConfiguration{} - c.GetDependabotAlerts() - c = nil - c.GetDependabotAlerts() -} - -func TestCodeSecurityConfiguration_GetDependabotDelegatedAlertDismissal(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeSecurityConfiguration{DependabotDelegatedAlertDismissal: &zeroValue} - c.GetDependabotDelegatedAlertDismissal() - c = &CodeSecurityConfiguration{} - c.GetDependabotDelegatedAlertDismissal() - c = nil - c.GetDependabotDelegatedAlertDismissal() -} - -func TestCodeSecurityConfiguration_GetDependabotSecurityUpdates(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeSecurityConfiguration{DependabotSecurityUpdates: &zeroValue} - c.GetDependabotSecurityUpdates() - c = &CodeSecurityConfiguration{} - c.GetDependabotSecurityUpdates() - c = nil - c.GetDependabotSecurityUpdates() -} - -func TestCodeSecurityConfiguration_GetDependencyGraph(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeSecurityConfiguration{DependencyGraph: &zeroValue} - c.GetDependencyGraph() - c = &CodeSecurityConfiguration{} - c.GetDependencyGraph() - c = nil - c.GetDependencyGraph() -} - -func TestCodeSecurityConfiguration_GetDependencyGraphAutosubmitAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeSecurityConfiguration{DependencyGraphAutosubmitAction: &zeroValue} - c.GetDependencyGraphAutosubmitAction() - c = &CodeSecurityConfiguration{} - c.GetDependencyGraphAutosubmitAction() - c = nil - c.GetDependencyGraphAutosubmitAction() -} - -func TestCodeSecurityConfiguration_GetDependencyGraphAutosubmitActionOptions(tt *testing.T) { - tt.Parallel() - c := &CodeSecurityConfiguration{} - c.GetDependencyGraphAutosubmitActionOptions() - c = nil - 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 - c := &CodeSecurityConfiguration{Enforcement: &zeroValue} - c.GetEnforcement() - c = &CodeSecurityConfiguration{} - c.GetEnforcement() - c = nil - c.GetEnforcement() -} - -func TestCodeSecurityConfiguration_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeSecurityConfiguration{HTMLURL: &zeroValue} - c.GetHTMLURL() - c = &CodeSecurityConfiguration{} - c.GetHTMLURL() - c = nil - c.GetHTMLURL() -} - -func TestCodeSecurityConfiguration_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &CodeSecurityConfiguration{ID: &zeroValue} - c.GetID() - c = &CodeSecurityConfiguration{} - c.GetID() - c = nil - 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 - c := &CodeSecurityConfiguration{PrivateVulnerabilityReporting: &zeroValue} - c.GetPrivateVulnerabilityReporting() - c = &CodeSecurityConfiguration{} - c.GetPrivateVulnerabilityReporting() - c = nil - c.GetPrivateVulnerabilityReporting() -} - -func TestCodeSecurityConfiguration_GetSecretProtection(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeSecurityConfiguration{SecretProtection: &zeroValue} - c.GetSecretProtection() - c = &CodeSecurityConfiguration{} - c.GetSecretProtection() - c = nil - c.GetSecretProtection() -} - -func TestCodeSecurityConfiguration_GetSecretScanning(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeSecurityConfiguration{SecretScanning: &zeroValue} - c.GetSecretScanning() - c = &CodeSecurityConfiguration{} - c.GetSecretScanning() - c = nil - c.GetSecretScanning() -} - -func TestCodeSecurityConfiguration_GetSecretScanningDelegatedAlertDismissal(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeSecurityConfiguration{SecretScanningDelegatedAlertDismissal: &zeroValue} - c.GetSecretScanningDelegatedAlertDismissal() - c = &CodeSecurityConfiguration{} - c.GetSecretScanningDelegatedAlertDismissal() - c = nil - c.GetSecretScanningDelegatedAlertDismissal() -} - -func TestCodeSecurityConfiguration_GetSecretScanningDelegatedBypass(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeSecurityConfiguration{SecretScanningDelegatedBypass: &zeroValue} - c.GetSecretScanningDelegatedBypass() - c = &CodeSecurityConfiguration{} - c.GetSecretScanningDelegatedBypass() - c = nil - c.GetSecretScanningDelegatedBypass() -} - -func TestCodeSecurityConfiguration_GetSecretScanningDelegatedBypassOptions(tt *testing.T) { - tt.Parallel() - c := &CodeSecurityConfiguration{} - c.GetSecretScanningDelegatedBypassOptions() - c = nil - c.GetSecretScanningDelegatedBypassOptions() -} - -func TestCodeSecurityConfiguration_GetSecretScanningExtendedMetadata(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeSecurityConfiguration{SecretScanningExtendedMetadata: &zeroValue} - c.GetSecretScanningExtendedMetadata() - c = &CodeSecurityConfiguration{} - c.GetSecretScanningExtendedMetadata() - c = nil - c.GetSecretScanningExtendedMetadata() -} - -func TestCodeSecurityConfiguration_GetSecretScanningGenericSecrets(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeSecurityConfiguration{SecretScanningGenericSecrets: &zeroValue} - c.GetSecretScanningGenericSecrets() - c = &CodeSecurityConfiguration{} - c.GetSecretScanningGenericSecrets() - c = nil - c.GetSecretScanningGenericSecrets() -} - -func TestCodeSecurityConfiguration_GetSecretScanningNonProviderPatterns(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeSecurityConfiguration{SecretScanningNonProviderPatterns: &zeroValue} - c.GetSecretScanningNonProviderPatterns() - c = &CodeSecurityConfiguration{} - c.GetSecretScanningNonProviderPatterns() - c = nil - c.GetSecretScanningNonProviderPatterns() -} - -func TestCodeSecurityConfiguration_GetSecretScanningPushProtection(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeSecurityConfiguration{SecretScanningPushProtection: &zeroValue} - c.GetSecretScanningPushProtection() - c = &CodeSecurityConfiguration{} - c.GetSecretScanningPushProtection() - c = nil - c.GetSecretScanningPushProtection() -} - -func TestCodeSecurityConfiguration_GetSecretScanningValidityChecks(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeSecurityConfiguration{SecretScanningValidityChecks: &zeroValue} - c.GetSecretScanningValidityChecks() - c = &CodeSecurityConfiguration{} - c.GetSecretScanningValidityChecks() - c = nil - c.GetSecretScanningValidityChecks() -} - -func TestCodeSecurityConfiguration_GetTargetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeSecurityConfiguration{TargetType: &zeroValue} - c.GetTargetType() - c = &CodeSecurityConfiguration{} - c.GetTargetType() - c = nil - c.GetTargetType() -} - -func TestCodeSecurityConfiguration_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CodeSecurityConfiguration{UpdatedAt: &zeroValue} - c.GetUpdatedAt() - c = &CodeSecurityConfiguration{} - c.GetUpdatedAt() - c = nil - c.GetUpdatedAt() -} - -func TestCodeSecurityConfiguration_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeSecurityConfiguration{URL: &zeroValue} - c.GetURL() - c = &CodeSecurityConfiguration{} - c.GetURL() - c = nil - c.GetURL() -} - -func TestCodeSecurityConfigurationWithDefaultForNewRepos_GetConfiguration(tt *testing.T) { - tt.Parallel() - c := &CodeSecurityConfigurationWithDefaultForNewRepos{} - c.GetConfiguration() - c = nil - c.GetConfiguration() -} - -func TestCodeSecurityConfigurationWithDefaultForNewRepos_GetDefaultForNewRepos(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodeSecurityConfigurationWithDefaultForNewRepos{DefaultForNewRepos: &zeroValue} - c.GetDefaultForNewRepos() - c = &CodeSecurityConfigurationWithDefaultForNewRepos{} - c.GetDefaultForNewRepos() - c = nil - c.GetDefaultForNewRepos() -} - -func TestCodespace_GetBillableOwner(tt *testing.T) { - tt.Parallel() - c := &Codespace{} - c.GetBillableOwner() - c = nil - c.GetBillableOwner() -} - -func TestCodespace_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &Codespace{CreatedAt: &zeroValue} - c.GetCreatedAt() - c = &Codespace{} - c.GetCreatedAt() - c = nil - c.GetCreatedAt() -} - -func TestCodespace_GetDevcontainerPath(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Codespace{DevcontainerPath: &zeroValue} - c.GetDevcontainerPath() - c = &Codespace{} - c.GetDevcontainerPath() - c = nil - c.GetDevcontainerPath() -} - -func TestCodespace_GetDisplayName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Codespace{DisplayName: &zeroValue} - c.GetDisplayName() - c = &Codespace{} - c.GetDisplayName() - c = nil - c.GetDisplayName() -} - -func TestCodespace_GetEnvironmentID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Codespace{EnvironmentID: &zeroValue} - c.GetEnvironmentID() - c = &Codespace{} - c.GetEnvironmentID() - c = nil - c.GetEnvironmentID() -} - -func TestCodespace_GetGitStatus(tt *testing.T) { - tt.Parallel() - c := &Codespace{} - c.GetGitStatus() - c = nil - c.GetGitStatus() -} - -func TestCodespace_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &Codespace{ID: &zeroValue} - c.GetID() - c = &Codespace{} - c.GetID() - c = nil - c.GetID() -} - -func TestCodespace_GetIdleTimeoutMinutes(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &Codespace{IdleTimeoutMinutes: &zeroValue} - c.GetIdleTimeoutMinutes() - c = &Codespace{} - c.GetIdleTimeoutMinutes() - c = nil - c.GetIdleTimeoutMinutes() -} - -func TestCodespace_GetIdleTimeoutNotice(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Codespace{IdleTimeoutNotice: &zeroValue} - c.GetIdleTimeoutNotice() - c = &Codespace{} - c.GetIdleTimeoutNotice() - c = nil - c.GetIdleTimeoutNotice() -} - -func TestCodespace_GetLastKnownStopNotice(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Codespace{LastKnownStopNotice: &zeroValue} - c.GetLastKnownStopNotice() - c = &Codespace{} - c.GetLastKnownStopNotice() - c = nil - c.GetLastKnownStopNotice() -} - -func TestCodespace_GetLastUsedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &Codespace{LastUsedAt: &zeroValue} - c.GetLastUsedAt() - c = &Codespace{} - c.GetLastUsedAt() - c = nil - c.GetLastUsedAt() -} - -func TestCodespace_GetLocation(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Codespace{Location: &zeroValue} - c.GetLocation() - c = &Codespace{} - c.GetLocation() - c = nil - c.GetLocation() -} - -func TestCodespace_GetMachine(tt *testing.T) { - tt.Parallel() - c := &Codespace{} - c.GetMachine() - c = nil - c.GetMachine() -} - -func TestCodespace_GetMachinesURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Codespace{MachinesURL: &zeroValue} - c.GetMachinesURL() - c = &Codespace{} - c.GetMachinesURL() - c = nil - c.GetMachinesURL() -} - -func TestCodespace_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Codespace{Name: &zeroValue} - c.GetName() - c = &Codespace{} - c.GetName() - c = nil - c.GetName() -} - -func TestCodespace_GetOwner(tt *testing.T) { - tt.Parallel() - c := &Codespace{} - c.GetOwner() - c = nil - c.GetOwner() -} - -func TestCodespace_GetPendingOperation(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &Codespace{PendingOperation: &zeroValue} - c.GetPendingOperation() - c = &Codespace{} - c.GetPendingOperation() - c = nil - c.GetPendingOperation() -} - -func TestCodespace_GetPendingOperationDisabledReason(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Codespace{PendingOperationDisabledReason: &zeroValue} - c.GetPendingOperationDisabledReason() - c = &Codespace{} - c.GetPendingOperationDisabledReason() - c = nil - c.GetPendingOperationDisabledReason() -} - -func TestCodespace_GetPrebuild(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &Codespace{Prebuild: &zeroValue} - c.GetPrebuild() - c = &Codespace{} - c.GetPrebuild() - c = nil - c.GetPrebuild() -} - -func TestCodespace_GetPullsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Codespace{PullsURL: &zeroValue} - c.GetPullsURL() - c = &Codespace{} - c.GetPullsURL() - c = nil - 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{} - c.GetRepository() - c = nil - c.GetRepository() -} - -func TestCodespace_GetRetentionExpiresAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &Codespace{RetentionExpiresAt: &zeroValue} - c.GetRetentionExpiresAt() - c = &Codespace{} - c.GetRetentionExpiresAt() - c = nil - c.GetRetentionExpiresAt() -} - -func TestCodespace_GetRetentionPeriodMinutes(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &Codespace{RetentionPeriodMinutes: &zeroValue} - c.GetRetentionPeriodMinutes() - c = &Codespace{} - c.GetRetentionPeriodMinutes() - c = nil - c.GetRetentionPeriodMinutes() -} - -func TestCodespace_GetRuntimeConstraints(tt *testing.T) { - tt.Parallel() - c := &Codespace{} - c.GetRuntimeConstraints() - c = nil - c.GetRuntimeConstraints() -} - -func TestCodespace_GetStartURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Codespace{StartURL: &zeroValue} - c.GetStartURL() - c = &Codespace{} - c.GetStartURL() - c = nil - c.GetStartURL() -} - -func TestCodespace_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Codespace{State: &zeroValue} - c.GetState() - c = &Codespace{} - c.GetState() - c = nil - c.GetState() -} - -func TestCodespace_GetStopURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Codespace{StopURL: &zeroValue} - c.GetStopURL() - c = &Codespace{} - c.GetStopURL() - c = nil - c.GetStopURL() -} - -func TestCodespace_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &Codespace{UpdatedAt: &zeroValue} - c.GetUpdatedAt() - c = &Codespace{} - c.GetUpdatedAt() - c = nil - c.GetUpdatedAt() -} - -func TestCodespace_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Codespace{URL: &zeroValue} - c.GetURL() - c = &Codespace{} - c.GetURL() - c = nil - c.GetURL() -} - -func TestCodespace_GetWebURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Codespace{WebURL: &zeroValue} - c.GetWebURL() - c = &Codespace{} - c.GetWebURL() - c = nil - c.GetWebURL() -} - -func TestCodespaceCreateForUserOptions_GetClientIP(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodespaceCreateForUserOptions{ClientIP: &zeroValue} - c.GetClientIP() - c = &CodespaceCreateForUserOptions{} - c.GetClientIP() - c = nil - c.GetClientIP() -} - -func TestCodespaceCreateForUserOptions_GetDevcontainerPath(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodespaceCreateForUserOptions{DevcontainerPath: &zeroValue} - c.GetDevcontainerPath() - c = &CodespaceCreateForUserOptions{} - c.GetDevcontainerPath() - c = nil - c.GetDevcontainerPath() -} - -func TestCodespaceCreateForUserOptions_GetDisplayName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodespaceCreateForUserOptions{DisplayName: &zeroValue} - c.GetDisplayName() - c = &CodespaceCreateForUserOptions{} - c.GetDisplayName() - c = nil - c.GetDisplayName() -} - -func TestCodespaceCreateForUserOptions_GetGeo(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodespaceCreateForUserOptions{Geo: &zeroValue} - c.GetGeo() - c = &CodespaceCreateForUserOptions{} - c.GetGeo() - c = nil - c.GetGeo() -} - -func TestCodespaceCreateForUserOptions_GetIdleTimeoutMinutes(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CodespaceCreateForUserOptions{IdleTimeoutMinutes: &zeroValue} - c.GetIdleTimeoutMinutes() - c = &CodespaceCreateForUserOptions{} - c.GetIdleTimeoutMinutes() - c = nil - c.GetIdleTimeoutMinutes() -} - -func TestCodespaceCreateForUserOptions_GetLocation(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodespaceCreateForUserOptions{Location: &zeroValue} - c.GetLocation() - c = &CodespaceCreateForUserOptions{} - c.GetLocation() - c = nil - c.GetLocation() -} - -func TestCodespaceCreateForUserOptions_GetMachine(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodespaceCreateForUserOptions{Machine: &zeroValue} - c.GetMachine() - c = &CodespaceCreateForUserOptions{} - c.GetMachine() - c = nil - c.GetMachine() -} - -func TestCodespaceCreateForUserOptions_GetMultiRepoPermissionsOptOut(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CodespaceCreateForUserOptions{MultiRepoPermissionsOptOut: &zeroValue} - c.GetMultiRepoPermissionsOptOut() - c = &CodespaceCreateForUserOptions{} - c.GetMultiRepoPermissionsOptOut() - c = nil - c.GetMultiRepoPermissionsOptOut() -} - -func TestCodespaceCreateForUserOptions_GetPullRequest(tt *testing.T) { - tt.Parallel() - c := &CodespaceCreateForUserOptions{} - c.GetPullRequest() - c = nil - c.GetPullRequest() -} - -func TestCodespaceCreateForUserOptions_GetRef(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodespaceCreateForUserOptions{Ref: &zeroValue} - c.GetRef() - c = &CodespaceCreateForUserOptions{} - c.GetRef() - c = nil - 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 - c := &CodespaceCreateForUserOptions{RetentionPeriodMinutes: &zeroValue} - c.GetRetentionPeriodMinutes() - c = &CodespaceCreateForUserOptions{} - c.GetRetentionPeriodMinutes() - c = nil - c.GetRetentionPeriodMinutes() -} - -func TestCodespaceCreateForUserOptions_GetWorkingDirectory(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodespaceCreateForUserOptions{WorkingDirectory: &zeroValue} - c.GetWorkingDirectory() - c = &CodespaceCreateForUserOptions{} - c.GetWorkingDirectory() - c = nil - c.GetWorkingDirectory() -} - -func TestCodespaceDefaultAttributes_GetBillableOwner(tt *testing.T) { - tt.Parallel() - c := &CodespaceDefaultAttributes{} - c.GetBillableOwner() - c = nil - c.GetBillableOwner() -} - -func TestCodespaceDefaultAttributes_GetDefaults(tt *testing.T) { - tt.Parallel() - c := &CodespaceDefaultAttributes{} - c.GetDefaults() - c = nil - c.GetDefaults() -} - -func TestCodespaceDefaults_GetDevcontainerPath(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodespaceDefaults{DevcontainerPath: &zeroValue} - c.GetDevcontainerPath() - c = &CodespaceDefaults{} - c.GetDevcontainerPath() - c = nil - 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 - c := &CodespaceExport{Branch: &zeroValue} - c.GetBranch() - c = &CodespaceExport{} - c.GetBranch() - c = nil - c.GetBranch() -} - -func TestCodespaceExport_GetCompletedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CodespaceExport{CompletedAt: &zeroValue} - c.GetCompletedAt() - c = &CodespaceExport{} - c.GetCompletedAt() - c = nil - c.GetCompletedAt() -} - -func TestCodespaceExport_GetExportURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodespaceExport{ExportURL: &zeroValue} - c.GetExportURL() - c = &CodespaceExport{} - c.GetExportURL() - c = nil - c.GetExportURL() -} - -func TestCodespaceExport_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodespaceExport{HTMLURL: &zeroValue} - c.GetHTMLURL() - c = &CodespaceExport{} - c.GetHTMLURL() - c = nil - c.GetHTMLURL() -} - -func TestCodespaceExport_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodespaceExport{ID: &zeroValue} - c.GetID() - c = &CodespaceExport{} - c.GetID() - c = nil - c.GetID() -} - -func TestCodespaceExport_GetSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodespaceExport{SHA: &zeroValue} - c.GetSHA() - c = &CodespaceExport{} - c.GetSHA() - c = nil - c.GetSHA() -} - -func TestCodespaceExport_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodespaceExport{State: &zeroValue} - c.GetState() - c = &CodespaceExport{} - c.GetState() - c = nil - c.GetState() -} - -func TestCodespaceGetDefaultAttributesOptions_GetClientIP(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodespaceGetDefaultAttributesOptions{ClientIP: &zeroValue} - c.GetClientIP() - c = &CodespaceGetDefaultAttributesOptions{} - c.GetClientIP() - c = nil - c.GetClientIP() -} - -func TestCodespaceGetDefaultAttributesOptions_GetRef(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodespaceGetDefaultAttributesOptions{Ref: &zeroValue} - c.GetRef() - c = &CodespaceGetDefaultAttributesOptions{} - c.GetRef() - c = nil - 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 - c := &CodespacesGitStatus{Ahead: &zeroValue} - c.GetAhead() - c = &CodespacesGitStatus{} - c.GetAhead() - c = nil - c.GetAhead() -} - -func TestCodespacesGitStatus_GetBehind(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CodespacesGitStatus{Behind: &zeroValue} - c.GetBehind() - c = &CodespacesGitStatus{} - c.GetBehind() - c = nil - c.GetBehind() -} - -func TestCodespacesGitStatus_GetHasUncommittedChanges(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CodespacesGitStatus{HasUncommittedChanges: &zeroValue} - c.GetHasUncommittedChanges() - c = &CodespacesGitStatus{} - c.GetHasUncommittedChanges() - c = nil - c.GetHasUncommittedChanges() -} - -func TestCodespacesGitStatus_GetHasUnpushedChanges(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CodespacesGitStatus{HasUnpushedChanges: &zeroValue} - c.GetHasUnpushedChanges() - c = &CodespacesGitStatus{} - c.GetHasUnpushedChanges() - c = nil - c.GetHasUnpushedChanges() -} - -func TestCodespacesGitStatus_GetRef(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodespacesGitStatus{Ref: &zeroValue} - c.GetRef() - c = &CodespacesGitStatus{} - c.GetRef() - c = nil - c.GetRef() -} - -func TestCodespacesMachine_GetCPUs(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CodespacesMachine{CPUs: &zeroValue} - c.GetCPUs() - c = &CodespacesMachine{} - c.GetCPUs() - c = nil - c.GetCPUs() -} - -func TestCodespacesMachine_GetDisplayName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodespacesMachine{DisplayName: &zeroValue} - c.GetDisplayName() - c = &CodespacesMachine{} - c.GetDisplayName() - c = nil - c.GetDisplayName() -} - -func TestCodespacesMachine_GetMemoryInBytes(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &CodespacesMachine{MemoryInBytes: &zeroValue} - c.GetMemoryInBytes() - c = &CodespacesMachine{} - c.GetMemoryInBytes() - c = nil - c.GetMemoryInBytes() -} - -func TestCodespacesMachine_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodespacesMachine{Name: &zeroValue} - c.GetName() - c = &CodespacesMachine{} - c.GetName() - c = nil - c.GetName() -} - -func TestCodespacesMachine_GetOperatingSystem(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodespacesMachine{OperatingSystem: &zeroValue} - c.GetOperatingSystem() - c = &CodespacesMachine{} - c.GetOperatingSystem() - c = nil - c.GetOperatingSystem() -} - -func TestCodespacesMachine_GetPrebuildAvailability(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CodespacesMachine{PrebuildAvailability: &zeroValue} - c.GetPrebuildAvailability() - c = &CodespacesMachine{} - c.GetPrebuildAvailability() - c = nil - c.GetPrebuildAvailability() -} - -func TestCodespacesMachine_GetStorageInBytes(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &CodespacesMachine{StorageInBytes: &zeroValue} - c.GetStorageInBytes() - c = &CodespacesMachine{} - c.GetStorageInBytes() - c = nil - 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 - c := &CollaboratorInvitation{CreatedAt: &zeroValue} - c.GetCreatedAt() - c = &CollaboratorInvitation{} - c.GetCreatedAt() - c = nil - c.GetCreatedAt() -} - -func TestCollaboratorInvitation_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CollaboratorInvitation{HTMLURL: &zeroValue} - c.GetHTMLURL() - c = &CollaboratorInvitation{} - c.GetHTMLURL() - c = nil - c.GetHTMLURL() -} - -func TestCollaboratorInvitation_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &CollaboratorInvitation{ID: &zeroValue} - c.GetID() - c = &CollaboratorInvitation{} - c.GetID() - c = nil - c.GetID() -} - -func TestCollaboratorInvitation_GetInvitee(tt *testing.T) { - tt.Parallel() - c := &CollaboratorInvitation{} - c.GetInvitee() - c = nil - c.GetInvitee() -} - -func TestCollaboratorInvitation_GetInviter(tt *testing.T) { - tt.Parallel() - c := &CollaboratorInvitation{} - c.GetInviter() - c = nil - c.GetInviter() -} - -func TestCollaboratorInvitation_GetPermissions(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CollaboratorInvitation{Permissions: &zeroValue} - c.GetPermissions() - c = &CollaboratorInvitation{} - c.GetPermissions() - c = nil - c.GetPermissions() -} - -func TestCollaboratorInvitation_GetRepo(tt *testing.T) { - tt.Parallel() - c := &CollaboratorInvitation{} - c.GetRepo() - c = nil - c.GetRepo() -} - -func TestCollaboratorInvitation_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CollaboratorInvitation{URL: &zeroValue} - c.GetURL() - c = &CollaboratorInvitation{} - c.GetURL() - c = nil - c.GetURL() -} - -func TestCombinedStatus_GetCommitURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CombinedStatus{CommitURL: &zeroValue} - c.GetCommitURL() - c = &CombinedStatus{} - c.GetCommitURL() - c = nil - c.GetCommitURL() -} - -func TestCombinedStatus_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CombinedStatus{Name: &zeroValue} - c.GetName() - c = &CombinedStatus{} - c.GetName() - c = nil - c.GetName() -} - -func TestCombinedStatus_GetRepositoryURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CombinedStatus{RepositoryURL: &zeroValue} - c.GetRepositoryURL() - c = &CombinedStatus{} - c.GetRepositoryURL() - c = nil - c.GetRepositoryURL() -} - -func TestCombinedStatus_GetSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CombinedStatus{SHA: &zeroValue} - c.GetSHA() - c = &CombinedStatus{} - c.GetSHA() - c = nil - c.GetSHA() -} - -func TestCombinedStatus_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CombinedStatus{State: &zeroValue} - c.GetState() - c = &CombinedStatus{} - c.GetState() - c = nil - 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 - c := &CombinedStatus{TotalCount: &zeroValue} - c.GetTotalCount() - c = &CombinedStatus{} - c.GetTotalCount() - c = nil - 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 - c := &Comment{CreatedAt: &zeroValue} - c.GetCreatedAt() - c = &Comment{} - c.GetCreatedAt() - c = nil - c.GetCreatedAt() -} - -func TestCommentDiscussion_GetAuthorAssociation(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommentDiscussion{AuthorAssociation: &zeroValue} - c.GetAuthorAssociation() - c = &CommentDiscussion{} - c.GetAuthorAssociation() - c = nil - c.GetAuthorAssociation() -} - -func TestCommentDiscussion_GetBody(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommentDiscussion{Body: &zeroValue} - c.GetBody() - c = &CommentDiscussion{} - c.GetBody() - c = nil - c.GetBody() -} - -func TestCommentDiscussion_GetChildCommentCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CommentDiscussion{ChildCommentCount: &zeroValue} - c.GetChildCommentCount() - c = &CommentDiscussion{} - c.GetChildCommentCount() - c = nil - c.GetChildCommentCount() -} - -func TestCommentDiscussion_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CommentDiscussion{CreatedAt: &zeroValue} - c.GetCreatedAt() - c = &CommentDiscussion{} - c.GetCreatedAt() - c = nil - c.GetCreatedAt() -} - -func TestCommentDiscussion_GetDiscussionID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &CommentDiscussion{DiscussionID: &zeroValue} - c.GetDiscussionID() - c = &CommentDiscussion{} - c.GetDiscussionID() - c = nil - c.GetDiscussionID() -} - -func TestCommentDiscussion_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommentDiscussion{HTMLURL: &zeroValue} - c.GetHTMLURL() - c = &CommentDiscussion{} - c.GetHTMLURL() - c = nil - c.GetHTMLURL() -} - -func TestCommentDiscussion_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &CommentDiscussion{ID: &zeroValue} - c.GetID() - c = &CommentDiscussion{} - c.GetID() - c = nil - c.GetID() -} - -func TestCommentDiscussion_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommentDiscussion{NodeID: &zeroValue} - c.GetNodeID() - c = &CommentDiscussion{} - c.GetNodeID() - c = nil - c.GetNodeID() -} - -func TestCommentDiscussion_GetParentID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &CommentDiscussion{ParentID: &zeroValue} - c.GetParentID() - c = &CommentDiscussion{} - c.GetParentID() - c = nil - c.GetParentID() -} - -func TestCommentDiscussion_GetReactions(tt *testing.T) { - tt.Parallel() - c := &CommentDiscussion{} - c.GetReactions() - c = nil - c.GetReactions() -} - -func TestCommentDiscussion_GetRepositoryURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommentDiscussion{RepositoryURL: &zeroValue} - c.GetRepositoryURL() - c = &CommentDiscussion{} - c.GetRepositoryURL() - c = nil - c.GetRepositoryURL() -} - -func TestCommentDiscussion_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CommentDiscussion{UpdatedAt: &zeroValue} - c.GetUpdatedAt() - c = &CommentDiscussion{} - c.GetUpdatedAt() - c = nil - c.GetUpdatedAt() -} - -func TestCommentDiscussion_GetUser(tt *testing.T) { - tt.Parallel() - c := &CommentDiscussion{} - c.GetUser() - c = nil - c.GetUser() -} - -func TestCommentStats_GetTotalCommitComments(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CommentStats{TotalCommitComments: &zeroValue} - c.GetTotalCommitComments() - c = &CommentStats{} - c.GetTotalCommitComments() - c = nil - c.GetTotalCommitComments() -} - -func TestCommentStats_GetTotalGistComments(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CommentStats{TotalGistComments: &zeroValue} - c.GetTotalGistComments() - c = &CommentStats{} - c.GetTotalGistComments() - c = nil - c.GetTotalGistComments() -} - -func TestCommentStats_GetTotalIssueComments(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CommentStats{TotalIssueComments: &zeroValue} - c.GetTotalIssueComments() - c = &CommentStats{} - c.GetTotalIssueComments() - c = nil - c.GetTotalIssueComments() -} - -func TestCommentStats_GetTotalPullRequestComments(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CommentStats{TotalPullRequestComments: &zeroValue} - c.GetTotalPullRequestComments() - c = &CommentStats{} - c.GetTotalPullRequestComments() - c = nil - c.GetTotalPullRequestComments() -} - -func TestCommit_GetAuthor(tt *testing.T) { - tt.Parallel() - c := &Commit{} - c.GetAuthor() - c = nil - c.GetAuthor() -} - -func TestCommit_GetCommentCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &Commit{CommentCount: &zeroValue} - c.GetCommentCount() - c = &Commit{} - c.GetCommentCount() - c = nil - c.GetCommentCount() -} - -func TestCommit_GetCommitter(tt *testing.T) { - tt.Parallel() - c := &Commit{} - c.GetCommitter() - c = nil - c.GetCommitter() -} - -func TestCommit_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Commit{HTMLURL: &zeroValue} - c.GetHTMLURL() - c = &Commit{} - c.GetHTMLURL() - c = nil - c.GetHTMLURL() -} - -func TestCommit_GetMessage(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Commit{Message: &zeroValue} - c.GetMessage() - c = &Commit{} - c.GetMessage() - c = nil - c.GetMessage() -} - -func TestCommit_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Commit{NodeID: &zeroValue} - c.GetNodeID() - c = &Commit{} - c.GetNodeID() - c = nil - 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 - c := &Commit{SHA: &zeroValue} - c.GetSHA() - c = &Commit{} - c.GetSHA() - c = nil - c.GetSHA() -} - -func TestCommit_GetTree(tt *testing.T) { - tt.Parallel() - c := &Commit{} - c.GetTree() - c = nil - c.GetTree() -} - -func TestCommit_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Commit{URL: &zeroValue} - c.GetURL() - c = &Commit{} - c.GetURL() - c = nil - c.GetURL() -} - -func TestCommit_GetVerification(tt *testing.T) { - tt.Parallel() - c := &Commit{} - c.GetVerification() - c = nil - c.GetVerification() -} - -func TestCommitAuthor_GetDate(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CommitAuthor{Date: &zeroValue} - c.GetDate() - c = &CommitAuthor{} - c.GetDate() - c = nil - c.GetDate() -} - -func TestCommitAuthor_GetEmail(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommitAuthor{Email: &zeroValue} - c.GetEmail() - c = &CommitAuthor{} - c.GetEmail() - c = nil - c.GetEmail() -} - -func TestCommitAuthor_GetLogin(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommitAuthor{Login: &zeroValue} - c.GetLogin() - c = &CommitAuthor{} - c.GetLogin() - c = nil - c.GetLogin() -} - -func TestCommitAuthor_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommitAuthor{Name: &zeroValue} - c.GetName() - c = &CommitAuthor{} - c.GetName() - c = nil - c.GetName() -} - -func TestCommitCommentEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommitCommentEvent{Action: &zeroValue} - c.GetAction() - c = &CommitCommentEvent{} - c.GetAction() - c = nil - c.GetAction() -} - -func TestCommitCommentEvent_GetComment(tt *testing.T) { - tt.Parallel() - c := &CommitCommentEvent{} - c.GetComment() - c = nil - c.GetComment() -} - -func TestCommitCommentEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - c := &CommitCommentEvent{} - c.GetInstallation() - c = nil - c.GetInstallation() -} - -func TestCommitCommentEvent_GetOrg(tt *testing.T) { - tt.Parallel() - c := &CommitCommentEvent{} - c.GetOrg() - c = nil - c.GetOrg() -} - -func TestCommitCommentEvent_GetRepo(tt *testing.T) { - tt.Parallel() - c := &CommitCommentEvent{} - c.GetRepo() - c = nil - c.GetRepo() -} - -func TestCommitCommentEvent_GetSender(tt *testing.T) { - tt.Parallel() - c := &CommitCommentEvent{} - c.GetSender() - c = nil - c.GetSender() -} - -func TestCommitFile_GetAdditions(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CommitFile{Additions: &zeroValue} - c.GetAdditions() - c = &CommitFile{} - c.GetAdditions() - c = nil - c.GetAdditions() -} - -func TestCommitFile_GetBlobURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommitFile{BlobURL: &zeroValue} - c.GetBlobURL() - c = &CommitFile{} - c.GetBlobURL() - c = nil - c.GetBlobURL() -} - -func TestCommitFile_GetChanges(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CommitFile{Changes: &zeroValue} - c.GetChanges() - c = &CommitFile{} - c.GetChanges() - c = nil - c.GetChanges() -} - -func TestCommitFile_GetContentsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommitFile{ContentsURL: &zeroValue} - c.GetContentsURL() - c = &CommitFile{} - c.GetContentsURL() - c = nil - c.GetContentsURL() -} - -func TestCommitFile_GetDeletions(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CommitFile{Deletions: &zeroValue} - c.GetDeletions() - c = &CommitFile{} - c.GetDeletions() - c = nil - c.GetDeletions() -} - -func TestCommitFile_GetFilename(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommitFile{Filename: &zeroValue} - c.GetFilename() - c = &CommitFile{} - c.GetFilename() - c = nil - c.GetFilename() -} - -func TestCommitFile_GetPatch(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommitFile{Patch: &zeroValue} - c.GetPatch() - c = &CommitFile{} - c.GetPatch() - c = nil - c.GetPatch() -} - -func TestCommitFile_GetPreviousFilename(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommitFile{PreviousFilename: &zeroValue} - c.GetPreviousFilename() - c = &CommitFile{} - c.GetPreviousFilename() - c = nil - c.GetPreviousFilename() -} - -func TestCommitFile_GetRawURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommitFile{RawURL: &zeroValue} - c.GetRawURL() - c = &CommitFile{} - c.GetRawURL() - c = nil - c.GetRawURL() -} - -func TestCommitFile_GetSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommitFile{SHA: &zeroValue} - c.GetSHA() - c = &CommitFile{} - c.GetSHA() - c = nil - c.GetSHA() -} - -func TestCommitFile_GetStatus(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommitFile{Status: &zeroValue} - c.GetStatus() - c = &CommitFile{} - c.GetStatus() - c = nil - c.GetStatus() -} - -func TestCommitResult_GetAuthor(tt *testing.T) { - tt.Parallel() - c := &CommitResult{} - c.GetAuthor() - c = nil - c.GetAuthor() -} - -func TestCommitResult_GetCommentsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommitResult{CommentsURL: &zeroValue} - c.GetCommentsURL() - c = &CommitResult{} - c.GetCommentsURL() - c = nil - c.GetCommentsURL() -} - -func TestCommitResult_GetCommit(tt *testing.T) { - tt.Parallel() - c := &CommitResult{} - c.GetCommit() - c = nil - c.GetCommit() -} - -func TestCommitResult_GetCommitter(tt *testing.T) { - tt.Parallel() - c := &CommitResult{} - c.GetCommitter() - c = nil - c.GetCommitter() -} - -func TestCommitResult_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommitResult{HTMLURL: &zeroValue} - c.GetHTMLURL() - c = &CommitResult{} - c.GetHTMLURL() - c = nil - 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{} - c.GetRepository() - c = nil - c.GetRepository() -} - -func TestCommitResult_GetScore(tt *testing.T) { - tt.Parallel() - var zeroValue float64 - c := &CommitResult{Score: &zeroValue} - c.GetScore() - c = &CommitResult{} - c.GetScore() - c = nil - c.GetScore() -} - -func TestCommitResult_GetSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommitResult{SHA: &zeroValue} - c.GetSHA() - c = &CommitResult{} - c.GetSHA() - c = nil - c.GetSHA() -} - -func TestCommitResult_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommitResult{URL: &zeroValue} - c.GetURL() - c = &CommitResult{} - c.GetURL() - c = nil - c.GetURL() -} - -func TestCommitsComparison_GetAheadBy(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CommitsComparison{AheadBy: &zeroValue} - c.GetAheadBy() - c = &CommitsComparison{} - c.GetAheadBy() - c = nil - c.GetAheadBy() -} - -func TestCommitsComparison_GetBaseCommit(tt *testing.T) { - tt.Parallel() - c := &CommitsComparison{} - c.GetBaseCommit() - c = nil - c.GetBaseCommit() -} - -func TestCommitsComparison_GetBehindBy(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CommitsComparison{BehindBy: &zeroValue} - c.GetBehindBy() - c = &CommitsComparison{} - c.GetBehindBy() - c = nil - 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 - c := &CommitsComparison{DiffURL: &zeroValue} - c.GetDiffURL() - c = &CommitsComparison{} - c.GetDiffURL() - c = nil - 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 - c := &CommitsComparison{HTMLURL: &zeroValue} - c.GetHTMLURL() - c = &CommitsComparison{} - c.GetHTMLURL() - c = nil - c.GetHTMLURL() -} - -func TestCommitsComparison_GetMergeBaseCommit(tt *testing.T) { - tt.Parallel() - c := &CommitsComparison{} - c.GetMergeBaseCommit() - c = nil - c.GetMergeBaseCommit() -} - -func TestCommitsComparison_GetPatchURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommitsComparison{PatchURL: &zeroValue} - c.GetPatchURL() - c = &CommitsComparison{} - c.GetPatchURL() - c = nil - c.GetPatchURL() -} - -func TestCommitsComparison_GetPermalinkURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommitsComparison{PermalinkURL: &zeroValue} - c.GetPermalinkURL() - c = &CommitsComparison{} - c.GetPermalinkURL() - c = nil - c.GetPermalinkURL() -} - -func TestCommitsComparison_GetStatus(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommitsComparison{Status: &zeroValue} - c.GetStatus() - c = &CommitsComparison{} - c.GetStatus() - c = nil - c.GetStatus() -} - -func TestCommitsComparison_GetTotalCommits(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CommitsComparison{TotalCommits: &zeroValue} - c.GetTotalCommits() - c = &CommitsComparison{} - c.GetTotalCommits() - c = nil - c.GetTotalCommits() -} - -func TestCommitsComparison_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommitsComparison{URL: &zeroValue} - c.GetURL() - c = &CommitsComparison{} - c.GetURL() - c = nil - 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 - c := &CommitsSearchResult{IncompleteResults: &zeroValue} - c.GetIncompleteResults() - c = &CommitsSearchResult{} - c.GetIncompleteResults() - c = nil - c.GetIncompleteResults() -} - -func TestCommitsSearchResult_GetTotal(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CommitsSearchResult{Total: &zeroValue} - c.GetTotal() - c = &CommitsSearchResult{} - c.GetTotal() - c = nil - c.GetTotal() -} - -func TestCommitStats_GetAdditions(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CommitStats{Additions: &zeroValue} - c.GetAdditions() - c = &CommitStats{} - c.GetAdditions() - c = nil - c.GetAdditions() -} - -func TestCommitStats_GetDeletions(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CommitStats{Deletions: &zeroValue} - c.GetDeletions() - c = &CommitStats{} - c.GetDeletions() - c = nil - c.GetDeletions() -} - -func TestCommitStats_GetTotal(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CommitStats{Total: &zeroValue} - c.GetTotal() - c = &CommitStats{} - c.GetTotal() - c = nil - c.GetTotal() -} - -func TestCommunityHealthFiles_GetCodeOfConduct(tt *testing.T) { - tt.Parallel() - c := &CommunityHealthFiles{} - c.GetCodeOfConduct() - c = nil - c.GetCodeOfConduct() -} - -func TestCommunityHealthFiles_GetCodeOfConductFile(tt *testing.T) { - tt.Parallel() - c := &CommunityHealthFiles{} - c.GetCodeOfConductFile() - c = nil - c.GetCodeOfConductFile() -} - -func TestCommunityHealthFiles_GetContributing(tt *testing.T) { - tt.Parallel() - c := &CommunityHealthFiles{} - c.GetContributing() - c = nil - c.GetContributing() -} - -func TestCommunityHealthFiles_GetIssueTemplate(tt *testing.T) { - tt.Parallel() - c := &CommunityHealthFiles{} - c.GetIssueTemplate() - c = nil - c.GetIssueTemplate() -} - -func TestCommunityHealthFiles_GetLicense(tt *testing.T) { - tt.Parallel() - c := &CommunityHealthFiles{} - c.GetLicense() - c = nil - c.GetLicense() -} - -func TestCommunityHealthFiles_GetPullRequestTemplate(tt *testing.T) { - tt.Parallel() - c := &CommunityHealthFiles{} - c.GetPullRequestTemplate() - c = nil - c.GetPullRequestTemplate() -} - -func TestCommunityHealthFiles_GetReadme(tt *testing.T) { - tt.Parallel() - c := &CommunityHealthFiles{} - c.GetReadme() - c = nil - c.GetReadme() -} - -func TestCommunityHealthMetrics_GetContentReportsEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CommunityHealthMetrics{ContentReportsEnabled: &zeroValue} - c.GetContentReportsEnabled() - c = &CommunityHealthMetrics{} - c.GetContentReportsEnabled() - c = nil - c.GetContentReportsEnabled() -} - -func TestCommunityHealthMetrics_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommunityHealthMetrics{Description: &zeroValue} - c.GetDescription() - c = &CommunityHealthMetrics{} - c.GetDescription() - c = nil - c.GetDescription() -} - -func TestCommunityHealthMetrics_GetDocumentation(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CommunityHealthMetrics{Documentation: &zeroValue} - c.GetDocumentation() - c = &CommunityHealthMetrics{} - c.GetDocumentation() - c = nil - c.GetDocumentation() -} - -func TestCommunityHealthMetrics_GetFiles(tt *testing.T) { - tt.Parallel() - c := &CommunityHealthMetrics{} - c.GetFiles() - c = nil - c.GetFiles() -} - -func TestCommunityHealthMetrics_GetHealthPercentage(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CommunityHealthMetrics{HealthPercentage: &zeroValue} - c.GetHealthPercentage() - c = &CommunityHealthMetrics{} - c.GetHealthPercentage() - c = nil - c.GetHealthPercentage() -} - -func TestCommunityHealthMetrics_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CommunityHealthMetrics{UpdatedAt: &zeroValue} - c.GetUpdatedAt() - c = &CommunityHealthMetrics{} - c.GetUpdatedAt() - c = nil - 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 - c := &ConfigApplyEventsNode{LastRequestID: &zeroValue} - c.GetLastRequestID() - c = &ConfigApplyEventsNode{} - c.GetLastRequestID() - c = nil - c.GetLastRequestID() -} - -func TestConfigApplyEventsNode_GetNode(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigApplyEventsNode{Node: &zeroValue} - c.GetNode() - c = &ConfigApplyEventsNode{} - c.GetNode() - c = nil - c.GetNode() -} - -func TestConfigApplyEventsNodeEvent_GetBody(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigApplyEventsNodeEvent{Body: &zeroValue} - c.GetBody() - c = &ConfigApplyEventsNodeEvent{} - c.GetBody() - c = nil - c.GetBody() -} - -func TestConfigApplyEventsNodeEvent_GetConfigRunID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigApplyEventsNodeEvent{ConfigRunID: &zeroValue} - c.GetConfigRunID() - c = &ConfigApplyEventsNodeEvent{} - c.GetConfigRunID() - c = nil - c.GetConfigRunID() -} - -func TestConfigApplyEventsNodeEvent_GetEventName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigApplyEventsNodeEvent{EventName: &zeroValue} - c.GetEventName() - c = &ConfigApplyEventsNodeEvent{} - c.GetEventName() - c = nil - c.GetEventName() -} - -func TestConfigApplyEventsNodeEvent_GetHostname(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigApplyEventsNodeEvent{Hostname: &zeroValue} - c.GetHostname() - c = &ConfigApplyEventsNodeEvent{} - c.GetHostname() - c = nil - c.GetHostname() -} - -func TestConfigApplyEventsNodeEvent_GetSeverityText(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigApplyEventsNodeEvent{SeverityText: &zeroValue} - c.GetSeverityText() - c = &ConfigApplyEventsNodeEvent{} - c.GetSeverityText() - c = nil - c.GetSeverityText() -} - -func TestConfigApplyEventsNodeEvent_GetSpanDepth(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &ConfigApplyEventsNodeEvent{SpanDepth: &zeroValue} - c.GetSpanDepth() - c = &ConfigApplyEventsNodeEvent{} - c.GetSpanDepth() - c = nil - c.GetSpanDepth() -} - -func TestConfigApplyEventsNodeEvent_GetSpanID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigApplyEventsNodeEvent{SpanID: &zeroValue} - c.GetSpanID() - c = &ConfigApplyEventsNodeEvent{} - c.GetSpanID() - c = nil - c.GetSpanID() -} - -func TestConfigApplyEventsNodeEvent_GetSpanParentID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &ConfigApplyEventsNodeEvent{SpanParentID: &zeroValue} - c.GetSpanParentID() - c = &ConfigApplyEventsNodeEvent{} - c.GetSpanParentID() - c = nil - c.GetSpanParentID() -} - -func TestConfigApplyEventsNodeEvent_GetTimestamp(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &ConfigApplyEventsNodeEvent{Timestamp: &zeroValue} - c.GetTimestamp() - c = &ConfigApplyEventsNodeEvent{} - c.GetTimestamp() - c = nil - c.GetTimestamp() -} - -func TestConfigApplyEventsNodeEvent_GetTopology(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigApplyEventsNodeEvent{Topology: &zeroValue} - c.GetTopology() - c = &ConfigApplyEventsNodeEvent{} - c.GetTopology() - c = nil - c.GetTopology() -} - -func TestConfigApplyEventsNodeEvent_GetTraceID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigApplyEventsNodeEvent{TraceID: &zeroValue} - c.GetTraceID() - c = &ConfigApplyEventsNodeEvent{} - c.GetTraceID() - c = nil - c.GetTraceID() -} - -func TestConfigApplyEventsOptions_GetLastRequestID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigApplyEventsOptions{LastRequestID: &zeroValue} - c.GetLastRequestID() - c = &ConfigApplyEventsOptions{} - c.GetLastRequestID() - c = nil - c.GetLastRequestID() -} - -func TestConfigApplyOptions_GetRunID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigApplyOptions{RunID: &zeroValue} - c.GetRunID() - c = &ConfigApplyOptions{} - c.GetRunID() - c = nil - 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 - c := &ConfigApplyStatus{Running: &zeroValue} - c.GetRunning() - c = &ConfigApplyStatus{} - c.GetRunning() - c = nil - c.GetRunning() -} - -func TestConfigApplyStatus_GetSuccessful(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigApplyStatus{Successful: &zeroValue} - c.GetSuccessful() - c = &ConfigApplyStatus{} - c.GetSuccessful() - c = nil - c.GetSuccessful() -} - -func TestConfigApplyStatusNode_GetHostname(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigApplyStatusNode{Hostname: &zeroValue} - c.GetHostname() - c = &ConfigApplyStatusNode{} - c.GetHostname() - c = nil - c.GetHostname() -} - -func TestConfigApplyStatusNode_GetRunID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigApplyStatusNode{RunID: &zeroValue} - c.GetRunID() - c = &ConfigApplyStatusNode{} - c.GetRunID() - c = nil - c.GetRunID() -} - -func TestConfigApplyStatusNode_GetRunning(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigApplyStatusNode{Running: &zeroValue} - c.GetRunning() - c = &ConfigApplyStatusNode{} - c.GetRunning() - c = nil - c.GetRunning() -} - -func TestConfigApplyStatusNode_GetSuccessful(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigApplyStatusNode{Successful: &zeroValue} - c.GetSuccessful() - c = &ConfigApplyStatusNode{} - c.GetSuccessful() - c = nil - c.GetSuccessful() -} - -func TestConfigSettings_GetAdminPassword(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettings{AdminPassword: &zeroValue} - c.GetAdminPassword() - c = &ConfigSettings{} - c.GetAdminPassword() - c = nil - c.GetAdminPassword() -} - -func TestConfigSettings_GetAssets(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettings{Assets: &zeroValue} - c.GetAssets() - c = &ConfigSettings{} - c.GetAssets() - c = nil - c.GetAssets() -} - -func TestConfigSettings_GetAuthMode(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettings{AuthMode: &zeroValue} - c.GetAuthMode() - c = &ConfigSettings{} - c.GetAuthMode() - c = nil - c.GetAuthMode() -} - -func TestConfigSettings_GetAvatar(tt *testing.T) { - tt.Parallel() - c := &ConfigSettings{} - c.GetAvatar() - c = nil - c.GetAvatar() -} - -func TestConfigSettings_GetCAS(tt *testing.T) { - tt.Parallel() - c := &ConfigSettings{} - c.GetCAS() - c = nil - c.GetCAS() -} - -func TestConfigSettings_GetCollectd(tt *testing.T) { - tt.Parallel() - c := &ConfigSettings{} - c.GetCollectd() - c = nil - c.GetCollectd() -} - -func TestConfigSettings_GetConfigurationID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &ConfigSettings{ConfigurationID: &zeroValue} - c.GetConfigurationID() - c = &ConfigSettings{} - c.GetConfigurationID() - c = nil - c.GetConfigurationID() -} - -func TestConfigSettings_GetConfigurationRunCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &ConfigSettings{ConfigurationRunCount: &zeroValue} - c.GetConfigurationRunCount() - c = &ConfigSettings{} - c.GetConfigurationRunCount() - c = nil - c.GetConfigurationRunCount() -} - -func TestConfigSettings_GetCustomer(tt *testing.T) { - tt.Parallel() - c := &ConfigSettings{} - c.GetCustomer() - c = nil - c.GetCustomer() -} - -func TestConfigSettings_GetExpireSessions(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettings{ExpireSessions: &zeroValue} - c.GetExpireSessions() - c = &ConfigSettings{} - c.GetExpireSessions() - c = nil - c.GetExpireSessions() -} - -func TestConfigSettings_GetGithubHostname(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettings{GithubHostname: &zeroValue} - c.GetGithubHostname() - c = &ConfigSettings{} - c.GetGithubHostname() - c = nil - c.GetGithubHostname() -} - -func TestConfigSettings_GetGithubOAuth(tt *testing.T) { - tt.Parallel() - c := &ConfigSettings{} - c.GetGithubOAuth() - c = nil - c.GetGithubOAuth() -} - -func TestConfigSettings_GetGithubSSL(tt *testing.T) { - tt.Parallel() - c := &ConfigSettings{} - c.GetGithubSSL() - c = nil - c.GetGithubSSL() -} - -func TestConfigSettings_GetHTTPProxy(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettings{HTTPProxy: &zeroValue} - c.GetHTTPProxy() - c = &ConfigSettings{} - c.GetHTTPProxy() - c = nil - c.GetHTTPProxy() -} - -func TestConfigSettings_GetIdenticonsHost(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettings{IdenticonsHost: &zeroValue} - c.GetIdenticonsHost() - c = &ConfigSettings{} - c.GetIdenticonsHost() - c = nil - c.GetIdenticonsHost() -} - -func TestConfigSettings_GetLDAP(tt *testing.T) { - tt.Parallel() - c := &ConfigSettings{} - c.GetLDAP() - c = nil - c.GetLDAP() -} - -func TestConfigSettings_GetLicense(tt *testing.T) { - tt.Parallel() - c := &ConfigSettings{} - c.GetLicense() - c = nil - c.GetLicense() -} - -func TestConfigSettings_GetLoadBalancer(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettings{LoadBalancer: &zeroValue} - c.GetLoadBalancer() - c = &ConfigSettings{} - c.GetLoadBalancer() - c = nil - c.GetLoadBalancer() -} - -func TestConfigSettings_GetMapping(tt *testing.T) { - tt.Parallel() - c := &ConfigSettings{} - c.GetMapping() - c = nil - c.GetMapping() -} - -func TestConfigSettings_GetNTP(tt *testing.T) { - tt.Parallel() - c := &ConfigSettings{} - c.GetNTP() - c = nil - c.GetNTP() -} - -func TestConfigSettings_GetPages(tt *testing.T) { - tt.Parallel() - c := &ConfigSettings{} - c.GetPages() - c = nil - c.GetPages() -} - -func TestConfigSettings_GetPrivateMode(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettings{PrivateMode: &zeroValue} - c.GetPrivateMode() - c = &ConfigSettings{} - c.GetPrivateMode() - c = nil - c.GetPrivateMode() -} - -func TestConfigSettings_GetPublicPages(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettings{PublicPages: &zeroValue} - c.GetPublicPages() - c = &ConfigSettings{} - c.GetPublicPages() - c = nil - c.GetPublicPages() -} - -func TestConfigSettings_GetSAML(tt *testing.T) { - tt.Parallel() - c := &ConfigSettings{} - c.GetSAML() - c = nil - c.GetSAML() -} - -func TestConfigSettings_GetSignupEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettings{SignupEnabled: &zeroValue} - c.GetSignupEnabled() - c = &ConfigSettings{} - c.GetSignupEnabled() - c = nil - c.GetSignupEnabled() -} - -func TestConfigSettings_GetSMTP(tt *testing.T) { - tt.Parallel() - c := &ConfigSettings{} - c.GetSMTP() - c = nil - c.GetSMTP() -} - -func TestConfigSettings_GetSNMP(tt *testing.T) { - tt.Parallel() - c := &ConfigSettings{} - c.GetSNMP() - c = nil - c.GetSNMP() -} - -func TestConfigSettings_GetSubdomainIsolation(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettings{SubdomainIsolation: &zeroValue} - c.GetSubdomainIsolation() - c = &ConfigSettings{} - c.GetSubdomainIsolation() - c = nil - c.GetSubdomainIsolation() -} - -func TestConfigSettings_GetSyslog(tt *testing.T) { - tt.Parallel() - c := &ConfigSettings{} - c.GetSyslog() - c = nil - c.GetSyslog() -} - -func TestConfigSettings_GetTimezone(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettings{Timezone: &zeroValue} - c.GetTimezone() - c = &ConfigSettings{} - c.GetTimezone() - c = nil - c.GetTimezone() -} - -func TestConfigSettingsAvatar_GetEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettingsAvatar{Enabled: &zeroValue} - c.GetEnabled() - c = &ConfigSettingsAvatar{} - c.GetEnabled() - c = nil - c.GetEnabled() -} - -func TestConfigSettingsAvatar_GetURI(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsAvatar{URI: &zeroValue} - c.GetURI() - c = &ConfigSettingsAvatar{} - c.GetURI() - c = nil - c.GetURI() -} - -func TestConfigSettingsCAS_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsCAS{URL: &zeroValue} - c.GetURL() - c = &ConfigSettingsCAS{} - c.GetURL() - c = nil - c.GetURL() -} - -func TestConfigSettingsCollectd_GetEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettingsCollectd{Enabled: &zeroValue} - c.GetEnabled() - c = &ConfigSettingsCollectd{} - c.GetEnabled() - c = nil - c.GetEnabled() -} - -func TestConfigSettingsCollectd_GetEncryption(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsCollectd{Encryption: &zeroValue} - c.GetEncryption() - c = &ConfigSettingsCollectd{} - c.GetEncryption() - c = nil - c.GetEncryption() -} - -func TestConfigSettingsCollectd_GetPassword(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsCollectd{Password: &zeroValue} - c.GetPassword() - c = &ConfigSettingsCollectd{} - c.GetPassword() - c = nil - c.GetPassword() -} - -func TestConfigSettingsCollectd_GetPort(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &ConfigSettingsCollectd{Port: &zeroValue} - c.GetPort() - c = &ConfigSettingsCollectd{} - c.GetPort() - c = nil - c.GetPort() -} - -func TestConfigSettingsCollectd_GetServer(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsCollectd{Server: &zeroValue} - c.GetServer() - c = &ConfigSettingsCollectd{} - c.GetServer() - c = nil - c.GetServer() -} - -func TestConfigSettingsCollectd_GetUsername(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsCollectd{Username: &zeroValue} - c.GetUsername() - c = &ConfigSettingsCollectd{} - c.GetUsername() - c = nil - c.GetUsername() -} - -func TestConfigSettingsCustomer_GetEmail(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsCustomer{Email: &zeroValue} - c.GetEmail() - c = &ConfigSettingsCustomer{} - c.GetEmail() - c = nil - c.GetEmail() -} - -func TestConfigSettingsCustomer_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsCustomer{Name: &zeroValue} - c.GetName() - c = &ConfigSettingsCustomer{} - c.GetName() - c = nil - c.GetName() -} - -func TestConfigSettingsCustomer_GetPublicKeyData(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsCustomer{PublicKeyData: &zeroValue} - c.GetPublicKeyData() - c = &ConfigSettingsCustomer{} - c.GetPublicKeyData() - c = nil - c.GetPublicKeyData() -} - -func TestConfigSettingsCustomer_GetSecret(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsCustomer{Secret: &zeroValue} - c.GetSecret() - c = &ConfigSettingsCustomer{} - c.GetSecret() - c = nil - c.GetSecret() -} - -func TestConfigSettingsCustomer_GetUUID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsCustomer{UUID: &zeroValue} - c.GetUUID() - c = &ConfigSettingsCustomer{} - c.GetUUID() - c = nil - c.GetUUID() -} - -func TestConfigSettingsGithubOAuth_GetClientID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsGithubOAuth{ClientID: &zeroValue} - c.GetClientID() - c = &ConfigSettingsGithubOAuth{} - c.GetClientID() - c = nil - c.GetClientID() -} - -func TestConfigSettingsGithubOAuth_GetClientSecret(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsGithubOAuth{ClientSecret: &zeroValue} - c.GetClientSecret() - c = &ConfigSettingsGithubOAuth{} - c.GetClientSecret() - c = nil - c.GetClientSecret() -} - -func TestConfigSettingsGithubOAuth_GetOrganizationName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsGithubOAuth{OrganizationName: &zeroValue} - c.GetOrganizationName() - c = &ConfigSettingsGithubOAuth{} - c.GetOrganizationName() - c = nil - c.GetOrganizationName() -} - -func TestConfigSettingsGithubOAuth_GetOrganizationTeam(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsGithubOAuth{OrganizationTeam: &zeroValue} - c.GetOrganizationTeam() - c = &ConfigSettingsGithubOAuth{} - c.GetOrganizationTeam() - c = nil - c.GetOrganizationTeam() -} - -func TestConfigSettingsGithubSSL_GetCert(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsGithubSSL{Cert: &zeroValue} - c.GetCert() - c = &ConfigSettingsGithubSSL{} - c.GetCert() - c = nil - c.GetCert() -} - -func TestConfigSettingsGithubSSL_GetEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettingsGithubSSL{Enabled: &zeroValue} - c.GetEnabled() - c = &ConfigSettingsGithubSSL{} - c.GetEnabled() - c = nil - c.GetEnabled() -} - -func TestConfigSettingsGithubSSL_GetKey(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsGithubSSL{Key: &zeroValue} - c.GetKey() - c = &ConfigSettingsGithubSSL{} - c.GetKey() - c = nil - c.GetKey() -} - -func TestConfigSettingsLDAP_GetAdminGroup(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsLDAP{AdminGroup: &zeroValue} - c.GetAdminGroup() - c = &ConfigSettingsLDAP{} - c.GetAdminGroup() - c = nil - 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 - c := &ConfigSettingsLDAP{BindDN: &zeroValue} - c.GetBindDN() - c = &ConfigSettingsLDAP{} - c.GetBindDN() - c = nil - c.GetBindDN() -} - -func TestConfigSettingsLDAP_GetHost(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsLDAP{Host: &zeroValue} - c.GetHost() - c = &ConfigSettingsLDAP{} - c.GetHost() - c = nil - c.GetHost() -} - -func TestConfigSettingsLDAP_GetMethod(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsLDAP{Method: &zeroValue} - c.GetMethod() - c = &ConfigSettingsLDAP{} - c.GetMethod() - c = nil - c.GetMethod() -} - -func TestConfigSettingsLDAP_GetPassword(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsLDAP{Password: &zeroValue} - c.GetPassword() - c = &ConfigSettingsLDAP{} - c.GetPassword() - c = nil - c.GetPassword() -} - -func TestConfigSettingsLDAP_GetPort(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &ConfigSettingsLDAP{Port: &zeroValue} - c.GetPort() - c = &ConfigSettingsLDAP{} - c.GetPort() - c = nil - c.GetPort() -} - -func TestConfigSettingsLDAP_GetPosixSupport(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettingsLDAP{PosixSupport: &zeroValue} - c.GetPosixSupport() - c = &ConfigSettingsLDAP{} - c.GetPosixSupport() - c = nil - c.GetPosixSupport() -} - -func TestConfigSettingsLDAP_GetProfile(tt *testing.T) { - tt.Parallel() - c := &ConfigSettingsLDAP{} - c.GetProfile() - c = nil - c.GetProfile() -} - -func TestConfigSettingsLDAP_GetReconciliation(tt *testing.T) { - tt.Parallel() - c := &ConfigSettingsLDAP{} - c.GetReconciliation() - c = nil - c.GetReconciliation() -} - -func TestConfigSettingsLDAP_GetRecursiveGroupSearch(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettingsLDAP{RecursiveGroupSearch: &zeroValue} - c.GetRecursiveGroupSearch() - c = &ConfigSettingsLDAP{} - c.GetRecursiveGroupSearch() - c = nil - c.GetRecursiveGroupSearch() -} - -func TestConfigSettingsLDAP_GetSearchStrategy(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsLDAP{SearchStrategy: &zeroValue} - c.GetSearchStrategy() - c = &ConfigSettingsLDAP{} - c.GetSearchStrategy() - c = nil - c.GetSearchStrategy() -} - -func TestConfigSettingsLDAP_GetSyncEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettingsLDAP{SyncEnabled: &zeroValue} - c.GetSyncEnabled() - c = &ConfigSettingsLDAP{} - c.GetSyncEnabled() - c = nil - c.GetSyncEnabled() -} - -func TestConfigSettingsLDAP_GetTeamSyncInterval(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &ConfigSettingsLDAP{TeamSyncInterval: &zeroValue} - c.GetTeamSyncInterval() - c = &ConfigSettingsLDAP{} - c.GetTeamSyncInterval() - c = nil - c.GetTeamSyncInterval() -} - -func TestConfigSettingsLDAP_GetUID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsLDAP{UID: &zeroValue} - c.GetUID() - c = &ConfigSettingsLDAP{} - c.GetUID() - c = nil - 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 - c := &ConfigSettingsLDAP{UserSyncEmails: &zeroValue} - c.GetUserSyncEmails() - c = &ConfigSettingsLDAP{} - c.GetUserSyncEmails() - c = nil - c.GetUserSyncEmails() -} - -func TestConfigSettingsLDAP_GetUserSyncInterval(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &ConfigSettingsLDAP{UserSyncInterval: &zeroValue} - c.GetUserSyncInterval() - c = &ConfigSettingsLDAP{} - c.GetUserSyncInterval() - c = nil - c.GetUserSyncInterval() -} - -func TestConfigSettingsLDAP_GetUserSyncKeys(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettingsLDAP{UserSyncKeys: &zeroValue} - c.GetUserSyncKeys() - c = &ConfigSettingsLDAP{} - c.GetUserSyncKeys() - c = nil - c.GetUserSyncKeys() -} - -func TestConfigSettingsLDAP_GetVirtualAttributeEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettingsLDAP{VirtualAttributeEnabled: &zeroValue} - c.GetVirtualAttributeEnabled() - c = &ConfigSettingsLDAP{} - c.GetVirtualAttributeEnabled() - c = nil - c.GetVirtualAttributeEnabled() -} - -func TestConfigSettingsLDAPProfile_GetKey(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsLDAPProfile{Key: &zeroValue} - c.GetKey() - c = &ConfigSettingsLDAPProfile{} - c.GetKey() - c = nil - c.GetKey() -} - -func TestConfigSettingsLDAPProfile_GetMail(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsLDAPProfile{Mail: &zeroValue} - c.GetMail() - c = &ConfigSettingsLDAPProfile{} - c.GetMail() - c = nil - c.GetMail() -} - -func TestConfigSettingsLDAPProfile_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsLDAPProfile{Name: &zeroValue} - c.GetName() - c = &ConfigSettingsLDAPProfile{} - c.GetName() - c = nil - c.GetName() -} - -func TestConfigSettingsLDAPProfile_GetUID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsLDAPProfile{UID: &zeroValue} - c.GetUID() - c = &ConfigSettingsLDAPProfile{} - c.GetUID() - c = nil - c.GetUID() -} - -func TestConfigSettingsLDAPReconciliation_GetOrg(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsLDAPReconciliation{Org: &zeroValue} - c.GetOrg() - c = &ConfigSettingsLDAPReconciliation{} - c.GetOrg() - c = nil - c.GetOrg() -} - -func TestConfigSettingsLDAPReconciliation_GetUser(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsLDAPReconciliation{User: &zeroValue} - c.GetUser() - c = &ConfigSettingsLDAPReconciliation{} - c.GetUser() - c = nil - c.GetUser() -} - -func TestConfigSettingsLicenseSettings_GetClusterSupport(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettingsLicenseSettings{ClusterSupport: &zeroValue} - c.GetClusterSupport() - c = &ConfigSettingsLicenseSettings{} - c.GetClusterSupport() - c = nil - c.GetClusterSupport() -} - -func TestConfigSettingsLicenseSettings_GetEvaluation(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettingsLicenseSettings{Evaluation: &zeroValue} - c.GetEvaluation() - c = &ConfigSettingsLicenseSettings{} - c.GetEvaluation() - c = nil - c.GetEvaluation() -} - -func TestConfigSettingsLicenseSettings_GetExpireAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &ConfigSettingsLicenseSettings{ExpireAt: &zeroValue} - c.GetExpireAt() - c = &ConfigSettingsLicenseSettings{} - c.GetExpireAt() - c = nil - c.GetExpireAt() -} - -func TestConfigSettingsLicenseSettings_GetPerpetual(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettingsLicenseSettings{Perpetual: &zeroValue} - c.GetPerpetual() - c = &ConfigSettingsLicenseSettings{} - c.GetPerpetual() - c = nil - c.GetPerpetual() -} - -func TestConfigSettingsLicenseSettings_GetSeats(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &ConfigSettingsLicenseSettings{Seats: &zeroValue} - c.GetSeats() - c = &ConfigSettingsLicenseSettings{} - c.GetSeats() - c = nil - c.GetSeats() -} - -func TestConfigSettingsLicenseSettings_GetSSHAllowed(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettingsLicenseSettings{SSHAllowed: &zeroValue} - c.GetSSHAllowed() - c = &ConfigSettingsLicenseSettings{} - c.GetSSHAllowed() - c = nil - c.GetSSHAllowed() -} - -func TestConfigSettingsLicenseSettings_GetSupportKey(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsLicenseSettings{SupportKey: &zeroValue} - c.GetSupportKey() - c = &ConfigSettingsLicenseSettings{} - c.GetSupportKey() - c = nil - c.GetSupportKey() -} - -func TestConfigSettingsLicenseSettings_GetUnlimitedSeating(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettingsLicenseSettings{UnlimitedSeating: &zeroValue} - c.GetUnlimitedSeating() - c = &ConfigSettingsLicenseSettings{} - c.GetUnlimitedSeating() - c = nil - c.GetUnlimitedSeating() -} - -func TestConfigSettingsMapping_GetBasemap(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsMapping{Basemap: &zeroValue} - c.GetBasemap() - c = &ConfigSettingsMapping{} - c.GetBasemap() - c = nil - c.GetBasemap() -} - -func TestConfigSettingsMapping_GetEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettingsMapping{Enabled: &zeroValue} - c.GetEnabled() - c = &ConfigSettingsMapping{} - c.GetEnabled() - c = nil - c.GetEnabled() -} - -func TestConfigSettingsMapping_GetTileserver(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsMapping{Tileserver: &zeroValue} - c.GetTileserver() - c = &ConfigSettingsMapping{} - c.GetTileserver() - c = nil - c.GetTileserver() -} - -func TestConfigSettingsMapping_GetToken(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsMapping{Token: &zeroValue} - c.GetToken() - c = &ConfigSettingsMapping{} - c.GetToken() - c = nil - c.GetToken() -} - -func TestConfigSettingsNTP_GetPrimaryServer(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsNTP{PrimaryServer: &zeroValue} - c.GetPrimaryServer() - c = &ConfigSettingsNTP{} - c.GetPrimaryServer() - c = nil - c.GetPrimaryServer() -} - -func TestConfigSettingsNTP_GetSecondaryServer(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsNTP{SecondaryServer: &zeroValue} - c.GetSecondaryServer() - c = &ConfigSettingsNTP{} - c.GetSecondaryServer() - c = nil - c.GetSecondaryServer() -} - -func TestConfigSettingsPagesSettings_GetEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettingsPagesSettings{Enabled: &zeroValue} - c.GetEnabled() - c = &ConfigSettingsPagesSettings{} - c.GetEnabled() - c = nil - c.GetEnabled() -} - -func TestConfigSettingsSAML_GetCertificate(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsSAML{Certificate: &zeroValue} - c.GetCertificate() - c = &ConfigSettingsSAML{} - c.GetCertificate() - c = nil - c.GetCertificate() -} - -func TestConfigSettingsSAML_GetCertificatePath(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsSAML{CertificatePath: &zeroValue} - c.GetCertificatePath() - c = &ConfigSettingsSAML{} - c.GetCertificatePath() - c = nil - c.GetCertificatePath() -} - -func TestConfigSettingsSAML_GetDisableAdminDemote(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettingsSAML{DisableAdminDemote: &zeroValue} - c.GetDisableAdminDemote() - c = &ConfigSettingsSAML{} - c.GetDisableAdminDemote() - c = nil - c.GetDisableAdminDemote() -} - -func TestConfigSettingsSAML_GetIDPInitiatedSSO(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettingsSAML{IDPInitiatedSSO: &zeroValue} - c.GetIDPInitiatedSSO() - c = &ConfigSettingsSAML{} - c.GetIDPInitiatedSSO() - c = nil - c.GetIDPInitiatedSSO() -} - -func TestConfigSettingsSAML_GetIssuer(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsSAML{Issuer: &zeroValue} - c.GetIssuer() - c = &ConfigSettingsSAML{} - c.GetIssuer() - c = nil - c.GetIssuer() -} - -func TestConfigSettingsSAML_GetSSOURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsSAML{SSOURL: &zeroValue} - c.GetSSOURL() - c = &ConfigSettingsSAML{} - c.GetSSOURL() - c = nil - c.GetSSOURL() -} - -func TestConfigSettingsSMTP_GetAddress(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsSMTP{Address: &zeroValue} - c.GetAddress() - c = &ConfigSettingsSMTP{} - c.GetAddress() - c = nil - c.GetAddress() -} - -func TestConfigSettingsSMTP_GetAuthentication(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsSMTP{Authentication: &zeroValue} - c.GetAuthentication() - c = &ConfigSettingsSMTP{} - c.GetAuthentication() - c = nil - c.GetAuthentication() -} - -func TestConfigSettingsSMTP_GetDiscardToNoreplyAddress(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettingsSMTP{DiscardToNoreplyAddress: &zeroValue} - c.GetDiscardToNoreplyAddress() - c = &ConfigSettingsSMTP{} - c.GetDiscardToNoreplyAddress() - c = nil - c.GetDiscardToNoreplyAddress() -} - -func TestConfigSettingsSMTP_GetDomain(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsSMTP{Domain: &zeroValue} - c.GetDomain() - c = &ConfigSettingsSMTP{} - c.GetDomain() - c = nil - c.GetDomain() -} - -func TestConfigSettingsSMTP_GetEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettingsSMTP{Enabled: &zeroValue} - c.GetEnabled() - c = &ConfigSettingsSMTP{} - c.GetEnabled() - c = nil - c.GetEnabled() -} - -func TestConfigSettingsSMTP_GetEnableStarttlsAuto(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettingsSMTP{EnableStarttlsAuto: &zeroValue} - c.GetEnableStarttlsAuto() - c = &ConfigSettingsSMTP{} - c.GetEnableStarttlsAuto() - c = nil - c.GetEnableStarttlsAuto() -} - -func TestConfigSettingsSMTP_GetNoreplyAddress(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsSMTP{NoreplyAddress: &zeroValue} - c.GetNoreplyAddress() - c = &ConfigSettingsSMTP{} - c.GetNoreplyAddress() - c = nil - c.GetNoreplyAddress() -} - -func TestConfigSettingsSMTP_GetPassword(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsSMTP{Password: &zeroValue} - c.GetPassword() - c = &ConfigSettingsSMTP{} - c.GetPassword() - c = nil - c.GetPassword() -} - -func TestConfigSettingsSMTP_GetPort(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsSMTP{Port: &zeroValue} - c.GetPort() - c = &ConfigSettingsSMTP{} - c.GetPort() - c = nil - c.GetPort() -} - -func TestConfigSettingsSMTP_GetSupportAddress(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsSMTP{SupportAddress: &zeroValue} - c.GetSupportAddress() - c = &ConfigSettingsSMTP{} - c.GetSupportAddress() - c = nil - c.GetSupportAddress() -} - -func TestConfigSettingsSMTP_GetSupportAddressType(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsSMTP{SupportAddressType: &zeroValue} - c.GetSupportAddressType() - c = &ConfigSettingsSMTP{} - c.GetSupportAddressType() - c = nil - c.GetSupportAddressType() -} - -func TestConfigSettingsSMTP_GetUsername(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsSMTP{Username: &zeroValue} - c.GetUsername() - c = &ConfigSettingsSMTP{} - c.GetUsername() - c = nil - c.GetUsername() -} - -func TestConfigSettingsSMTP_GetUserName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsSMTP{UserName: &zeroValue} - c.GetUserName() - c = &ConfigSettingsSMTP{} - c.GetUserName() - c = nil - c.GetUserName() -} - -func TestConfigSettingsSNMP_GetCommunity(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsSNMP{Community: &zeroValue} - c.GetCommunity() - c = &ConfigSettingsSNMP{} - c.GetCommunity() - c = nil - c.GetCommunity() -} - -func TestConfigSettingsSNMP_GetEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettingsSNMP{Enabled: &zeroValue} - c.GetEnabled() - c = &ConfigSettingsSNMP{} - c.GetEnabled() - c = nil - c.GetEnabled() -} - -func TestConfigSettingsSyslog_GetEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &ConfigSettingsSyslog{Enabled: &zeroValue} - c.GetEnabled() - c = &ConfigSettingsSyslog{} - c.GetEnabled() - c = nil - c.GetEnabled() -} - -func TestConfigSettingsSyslog_GetProtocolName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsSyslog{ProtocolName: &zeroValue} - c.GetProtocolName() - c = &ConfigSettingsSyslog{} - c.GetProtocolName() - c = nil - c.GetProtocolName() -} - -func TestConfigSettingsSyslog_GetServer(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConfigSettingsSyslog{Server: &zeroValue} - c.GetServer() - c = &ConfigSettingsSyslog{} - c.GetServer() - c = nil - c.GetServer() -} - -func TestConnectionServiceItem_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ConnectionServiceItem{Name: &zeroValue} - c.GetName() - c = &ConnectionServiceItem{} - c.GetName() - c = nil - c.GetName() -} - -func TestConnectionServiceItem_GetNumber(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &ConnectionServiceItem{Number: &zeroValue} - c.GetNumber() - c = &ConnectionServiceItem{} - c.GetNumber() - c = nil - c.GetNumber() -} - -func TestContentReference_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &ContentReference{ID: &zeroValue} - c.GetID() - c = &ContentReference{} - c.GetID() - c = nil - c.GetID() -} - -func TestContentReference_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ContentReference{NodeID: &zeroValue} - c.GetNodeID() - c = &ContentReference{} - c.GetNodeID() - c = nil - c.GetNodeID() -} - -func TestContentReference_GetReference(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ContentReference{Reference: &zeroValue} - c.GetReference() - c = &ContentReference{} - c.GetReference() - c = nil - c.GetReference() -} - -func TestContentReferenceEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &ContentReferenceEvent{Action: &zeroValue} - c.GetAction() - c = &ContentReferenceEvent{} - c.GetAction() - c = nil - c.GetAction() -} - -func TestContentReferenceEvent_GetContentReference(tt *testing.T) { - tt.Parallel() - c := &ContentReferenceEvent{} - c.GetContentReference() - c = nil - c.GetContentReference() -} - -func TestContentReferenceEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - c := &ContentReferenceEvent{} - c.GetInstallation() - c = nil - c.GetInstallation() -} - -func TestContentReferenceEvent_GetRepo(tt *testing.T) { - tt.Parallel() - c := &ContentReferenceEvent{} - c.GetRepo() - c = nil - c.GetRepo() -} - -func TestContentReferenceEvent_GetSender(tt *testing.T) { - tt.Parallel() - c := &ContentReferenceEvent{} - c.GetSender() - c = nil - c.GetSender() -} - -func TestContributor_GetAvatarURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Contributor{AvatarURL: &zeroValue} - c.GetAvatarURL() - c = &Contributor{} - c.GetAvatarURL() - c = nil - c.GetAvatarURL() -} - -func TestContributor_GetContributions(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &Contributor{Contributions: &zeroValue} - c.GetContributions() - c = &Contributor{} - c.GetContributions() - c = nil - c.GetContributions() -} - -func TestContributor_GetEmail(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Contributor{Email: &zeroValue} - c.GetEmail() - c = &Contributor{} - c.GetEmail() - c = nil - c.GetEmail() -} - -func TestContributor_GetEventsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Contributor{EventsURL: &zeroValue} - c.GetEventsURL() - c = &Contributor{} - c.GetEventsURL() - c = nil - c.GetEventsURL() -} - -func TestContributor_GetFollowersURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Contributor{FollowersURL: &zeroValue} - c.GetFollowersURL() - c = &Contributor{} - c.GetFollowersURL() - c = nil - c.GetFollowersURL() -} - -func TestContributor_GetFollowingURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Contributor{FollowingURL: &zeroValue} - c.GetFollowingURL() - c = &Contributor{} - c.GetFollowingURL() - c = nil - c.GetFollowingURL() -} - -func TestContributor_GetGistsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Contributor{GistsURL: &zeroValue} - c.GetGistsURL() - c = &Contributor{} - c.GetGistsURL() - c = nil - c.GetGistsURL() -} - -func TestContributor_GetGravatarID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Contributor{GravatarID: &zeroValue} - c.GetGravatarID() - c = &Contributor{} - c.GetGravatarID() - c = nil - c.GetGravatarID() -} - -func TestContributor_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Contributor{HTMLURL: &zeroValue} - c.GetHTMLURL() - c = &Contributor{} - c.GetHTMLURL() - c = nil - c.GetHTMLURL() -} - -func TestContributor_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &Contributor{ID: &zeroValue} - c.GetID() - c = &Contributor{} - c.GetID() - c = nil - c.GetID() -} - -func TestContributor_GetLogin(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Contributor{Login: &zeroValue} - c.GetLogin() - c = &Contributor{} - c.GetLogin() - c = nil - c.GetLogin() -} - -func TestContributor_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Contributor{Name: &zeroValue} - c.GetName() - c = &Contributor{} - c.GetName() - c = nil - c.GetName() -} - -func TestContributor_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Contributor{NodeID: &zeroValue} - c.GetNodeID() - c = &Contributor{} - c.GetNodeID() - c = nil - c.GetNodeID() -} - -func TestContributor_GetOrganizationsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Contributor{OrganizationsURL: &zeroValue} - c.GetOrganizationsURL() - c = &Contributor{} - c.GetOrganizationsURL() - c = nil - c.GetOrganizationsURL() -} - -func TestContributor_GetReceivedEventsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Contributor{ReceivedEventsURL: &zeroValue} - c.GetReceivedEventsURL() - c = &Contributor{} - c.GetReceivedEventsURL() - c = nil - c.GetReceivedEventsURL() -} - -func TestContributor_GetReposURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Contributor{ReposURL: &zeroValue} - c.GetReposURL() - c = &Contributor{} - c.GetReposURL() - c = nil - c.GetReposURL() -} - -func TestContributor_GetSiteAdmin(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &Contributor{SiteAdmin: &zeroValue} - c.GetSiteAdmin() - c = &Contributor{} - c.GetSiteAdmin() - c = nil - c.GetSiteAdmin() -} - -func TestContributor_GetStarredURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Contributor{StarredURL: &zeroValue} - c.GetStarredURL() - c = &Contributor{} - c.GetStarredURL() - c = nil - c.GetStarredURL() -} - -func TestContributor_GetSubscriptionsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Contributor{SubscriptionsURL: &zeroValue} - c.GetSubscriptionsURL() - c = &Contributor{} - c.GetSubscriptionsURL() - c = nil - c.GetSubscriptionsURL() -} - -func TestContributor_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Contributor{Type: &zeroValue} - c.GetType() - c = &Contributor{} - c.GetType() - c = nil - c.GetType() -} - -func TestContributor_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &Contributor{URL: &zeroValue} - c.GetURL() - c = &Contributor{} - c.GetURL() - c = nil - 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{} - c.GetAuthor() - c = nil - c.GetAuthor() -} - -func TestContributorStats_GetTotal(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &ContributorStats{Total: &zeroValue} - c.GetTotal() - c = &ContributorStats{} - c.GetTotal() - c = nil - 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 TestCopilotCloudAgentConfiguration_GetCustomAllowlist(tt *testing.T) { - tt.Parallel() - zeroValue := []string{} - c := &CopilotCloudAgentConfiguration{CustomAllowlist: zeroValue} - c.GetCustomAllowlist() - c = &CopilotCloudAgentConfiguration{} - c.GetCustomAllowlist() - c = nil - c.GetCustomAllowlist() -} - -func TestCopilotCloudAgentConfiguration_GetEnabledTools(tt *testing.T) { - tt.Parallel() - c := &CopilotCloudAgentConfiguration{} - c.GetEnabledTools() - c = nil - c.GetEnabledTools() -} - -func TestCopilotCloudAgentConfiguration_GetIsFirewallEnabled(tt *testing.T) { - tt.Parallel() - c := &CopilotCloudAgentConfiguration{} - c.GetIsFirewallEnabled() - c = nil - c.GetIsFirewallEnabled() -} - -func TestCopilotCloudAgentConfiguration_GetIsFirewallRecommendedAllowlistEnabled(tt *testing.T) { - tt.Parallel() - c := &CopilotCloudAgentConfiguration{} - c.GetIsFirewallRecommendedAllowlistEnabled() - c = nil - c.GetIsFirewallRecommendedAllowlistEnabled() -} - -func TestCopilotCloudAgentConfiguration_GetMCPConfiguration(tt *testing.T) { - tt.Parallel() - c := &CopilotCloudAgentConfiguration{} - c.GetMCPConfiguration() - c = nil - c.GetMCPConfiguration() -} - -func TestCopilotCloudAgentConfiguration_GetRequireActionsWorkflowApproval(tt *testing.T) { - tt.Parallel() - c := &CopilotCloudAgentConfiguration{} - c.GetRequireActionsWorkflowApproval() - c = nil - c.GetRequireActionsWorkflowApproval() -} - -func TestCopilotCloudAgentEnabledTools_GetCodeql(tt *testing.T) { - tt.Parallel() - c := &CopilotCloudAgentEnabledTools{} - c.GetCodeql() - c = nil - c.GetCodeql() -} - -func TestCopilotCloudAgentEnabledTools_GetCopilotCodeReview(tt *testing.T) { - tt.Parallel() - c := &CopilotCloudAgentEnabledTools{} - c.GetCopilotCodeReview() - c = nil - c.GetCopilotCodeReview() -} - -func TestCopilotCloudAgentEnabledTools_GetDependencyVulnerabilityChecks(tt *testing.T) { - tt.Parallel() - c := &CopilotCloudAgentEnabledTools{} - c.GetDependencyVulnerabilityChecks() - c = nil - c.GetDependencyVulnerabilityChecks() -} - -func TestCopilotCloudAgentEnabledTools_GetSecretScanning(tt *testing.T) { - tt.Parallel() - c := &CopilotCloudAgentEnabledTools{} - c.GetSecretScanning() - c = nil - c.GetSecretScanning() -} - -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 TestCopilotDailyMetrics_GetCodeAcceptanceActivityCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotDailyMetrics{CodeAcceptanceActivityCount: &zeroValue} - c.GetCodeAcceptanceActivityCount() - c = &CopilotDailyMetrics{} - c.GetCodeAcceptanceActivityCount() - c = nil - c.GetCodeAcceptanceActivityCount() -} - -func TestCopilotDailyMetrics_GetCodeGenerationActivityCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotDailyMetrics{CodeGenerationActivityCount: &zeroValue} - c.GetCodeGenerationActivityCount() - c = &CopilotDailyMetrics{} - c.GetCodeGenerationActivityCount() - c = nil - c.GetCodeGenerationActivityCount() -} - -func TestCopilotDailyMetrics_GetDailyActiveCLIUsers(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotDailyMetrics{DailyActiveCLIUsers: &zeroValue} - c.GetDailyActiveCLIUsers() - c = &CopilotDailyMetrics{} - c.GetDailyActiveCLIUsers() - c = nil - c.GetDailyActiveCLIUsers() -} - -func TestCopilotDailyMetrics_GetDailyActiveCopilotAppUsers(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotDailyMetrics{DailyActiveCopilotAppUsers: &zeroValue} - c.GetDailyActiveCopilotAppUsers() - c = &CopilotDailyMetrics{} - c.GetDailyActiveCopilotAppUsers() - c = nil - c.GetDailyActiveCopilotAppUsers() -} - -func TestCopilotDailyMetrics_GetDailyActiveCopilotCloudAgentUsers(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotDailyMetrics{DailyActiveCopilotCloudAgentUsers: &zeroValue} - c.GetDailyActiveCopilotCloudAgentUsers() - c = &CopilotDailyMetrics{} - c.GetDailyActiveCopilotCloudAgentUsers() - c = nil - c.GetDailyActiveCopilotCloudAgentUsers() -} - -func TestCopilotDailyMetrics_GetDailyActiveCopilotCodeReviewUsers(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotDailyMetrics{DailyActiveCopilotCodeReviewUsers: &zeroValue} - c.GetDailyActiveCopilotCodeReviewUsers() - c = &CopilotDailyMetrics{} - c.GetDailyActiveCopilotCodeReviewUsers() - c = nil - c.GetDailyActiveCopilotCodeReviewUsers() -} - -func TestCopilotDailyMetrics_GetDailyActiveUsers(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotDailyMetrics{DailyActiveUsers: &zeroValue} - c.GetDailyActiveUsers() - c = &CopilotDailyMetrics{} - c.GetDailyActiveUsers() - c = nil - c.GetDailyActiveUsers() -} - -func TestCopilotDailyMetrics_GetDailyPassiveCopilotCodeReviewUsers(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotDailyMetrics{DailyPassiveCopilotCodeReviewUsers: &zeroValue} - c.GetDailyPassiveCopilotCodeReviewUsers() - c = &CopilotDailyMetrics{} - c.GetDailyPassiveCopilotCodeReviewUsers() - c = nil - c.GetDailyPassiveCopilotCodeReviewUsers() -} - -func TestCopilotDailyMetrics_GetDay(tt *testing.T) { - tt.Parallel() - c := &CopilotDailyMetrics{} - c.GetDay() - c = nil - c.GetDay() -} - -func TestCopilotDailyMetrics_GetEnterpriseID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CopilotDailyMetrics{EnterpriseID: &zeroValue} - c.GetEnterpriseID() - c = &CopilotDailyMetrics{} - c.GetEnterpriseID() - c = nil - c.GetEnterpriseID() -} - -func TestCopilotDailyMetrics_GetLOCAddedSum(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotDailyMetrics{LOCAddedSum: &zeroValue} - c.GetLOCAddedSum() - c = &CopilotDailyMetrics{} - c.GetLOCAddedSum() - c = nil - c.GetLOCAddedSum() -} - -func TestCopilotDailyMetrics_GetLOCDeletedSum(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotDailyMetrics{LOCDeletedSum: &zeroValue} - c.GetLOCDeletedSum() - c = &CopilotDailyMetrics{} - c.GetLOCDeletedSum() - c = nil - c.GetLOCDeletedSum() -} - -func TestCopilotDailyMetrics_GetLOCSuggestedToAddSum(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotDailyMetrics{LOCSuggestedToAddSum: &zeroValue} - c.GetLOCSuggestedToAddSum() - c = &CopilotDailyMetrics{} - c.GetLOCSuggestedToAddSum() - c = nil - c.GetLOCSuggestedToAddSum() -} - -func TestCopilotDailyMetrics_GetLOCSuggestedToDeleteSum(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotDailyMetrics{LOCSuggestedToDeleteSum: &zeroValue} - c.GetLOCSuggestedToDeleteSum() - c = &CopilotDailyMetrics{} - c.GetLOCSuggestedToDeleteSum() - c = nil - c.GetLOCSuggestedToDeleteSum() -} - -func TestCopilotDailyMetrics_GetMonthlyActiveAgentUsers(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotDailyMetrics{MonthlyActiveAgentUsers: &zeroValue} - c.GetMonthlyActiveAgentUsers() - c = &CopilotDailyMetrics{} - c.GetMonthlyActiveAgentUsers() - c = nil - c.GetMonthlyActiveAgentUsers() -} - -func TestCopilotDailyMetrics_GetMonthlyActiveChatUsers(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotDailyMetrics{MonthlyActiveChatUsers: &zeroValue} - c.GetMonthlyActiveChatUsers() - c = &CopilotDailyMetrics{} - c.GetMonthlyActiveChatUsers() - c = nil - c.GetMonthlyActiveChatUsers() -} - -func TestCopilotDailyMetrics_GetMonthlyActiveCopilotCloudAgentUsers(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotDailyMetrics{MonthlyActiveCopilotCloudAgentUsers: &zeroValue} - c.GetMonthlyActiveCopilotCloudAgentUsers() - c = &CopilotDailyMetrics{} - c.GetMonthlyActiveCopilotCloudAgentUsers() - c = nil - c.GetMonthlyActiveCopilotCloudAgentUsers() -} - -func TestCopilotDailyMetrics_GetMonthlyActiveCopilotCodeReviewUsers(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotDailyMetrics{MonthlyActiveCopilotCodeReviewUsers: &zeroValue} - c.GetMonthlyActiveCopilotCodeReviewUsers() - c = &CopilotDailyMetrics{} - c.GetMonthlyActiveCopilotCodeReviewUsers() - c = nil - c.GetMonthlyActiveCopilotCodeReviewUsers() -} - -func TestCopilotDailyMetrics_GetMonthlyActiveUsers(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotDailyMetrics{MonthlyActiveUsers: &zeroValue} - c.GetMonthlyActiveUsers() - c = &CopilotDailyMetrics{} - c.GetMonthlyActiveUsers() - c = nil - c.GetMonthlyActiveUsers() -} - -func TestCopilotDailyMetrics_GetMonthlyPassiveCopilotCodeReviewUsers(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotDailyMetrics{MonthlyPassiveCopilotCodeReviewUsers: &zeroValue} - c.GetMonthlyPassiveCopilotCodeReviewUsers() - c = &CopilotDailyMetrics{} - c.GetMonthlyPassiveCopilotCodeReviewUsers() - c = nil - c.GetMonthlyPassiveCopilotCodeReviewUsers() -} - -func TestCopilotDailyMetrics_GetOrganizationID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CopilotDailyMetrics{OrganizationID: &zeroValue} - c.GetOrganizationID() - c = &CopilotDailyMetrics{} - c.GetOrganizationID() - c = nil - c.GetOrganizationID() -} - -func TestCopilotDailyMetrics_GetPullRequests(tt *testing.T) { - tt.Parallel() - c := &CopilotDailyMetrics{} - c.GetPullRequests() - c = nil - c.GetPullRequests() -} - -func TestCopilotDailyMetrics_GetTotalsBy3rdPartyAgent(tt *testing.T) { - tt.Parallel() - zeroValue := []*CopilotMetricsThirdPartyAgent{} - c := &CopilotDailyMetrics{TotalsBy3rdPartyAgent: zeroValue} - c.GetTotalsBy3rdPartyAgent() - c = &CopilotDailyMetrics{} - c.GetTotalsBy3rdPartyAgent() - c = nil - c.GetTotalsBy3rdPartyAgent() -} - -func TestCopilotDailyMetrics_GetTotalsByAIAdoptionPhase(tt *testing.T) { - tt.Parallel() - zeroValue := []*CopilotMetricsAIAdoptionPhaseTotals{} - c := &CopilotDailyMetrics{TotalsByAIAdoptionPhase: zeroValue} - c.GetTotalsByAIAdoptionPhase() - c = &CopilotDailyMetrics{} - c.GetTotalsByAIAdoptionPhase() - c = nil - c.GetTotalsByAIAdoptionPhase() -} - -func TestCopilotDailyMetrics_GetTotalsByCLI(tt *testing.T) { - tt.Parallel() - c := &CopilotDailyMetrics{} - c.GetTotalsByCLI() - c = nil - c.GetTotalsByCLI() -} - -func TestCopilotDailyMetrics_GetTotalsByCopilotApp(tt *testing.T) { - tt.Parallel() - c := &CopilotDailyMetrics{} - c.GetTotalsByCopilotApp() - c = nil - c.GetTotalsByCopilotApp() -} - -func TestCopilotDailyMetrics_GetTotalsByFeature(tt *testing.T) { - tt.Parallel() - zeroValue := []*CopilotMetricsFeature{} - c := &CopilotDailyMetrics{TotalsByFeature: zeroValue} - c.GetTotalsByFeature() - c = &CopilotDailyMetrics{} - c.GetTotalsByFeature() - c = nil - c.GetTotalsByFeature() -} - -func TestCopilotDailyMetrics_GetTotalsByIDE(tt *testing.T) { - tt.Parallel() - zeroValue := []*CopilotMetricsIDE{} - c := &CopilotDailyMetrics{TotalsByIDE: zeroValue} - c.GetTotalsByIDE() - c = &CopilotDailyMetrics{} - c.GetTotalsByIDE() - c = nil - c.GetTotalsByIDE() -} - -func TestCopilotDailyMetrics_GetTotalsByLanguageFeature(tt *testing.T) { - tt.Parallel() - zeroValue := []*CopilotMetricsLanguageFeature{} - c := &CopilotDailyMetrics{TotalsByLanguageFeature: zeroValue} - c.GetTotalsByLanguageFeature() - c = &CopilotDailyMetrics{} - c.GetTotalsByLanguageFeature() - c = nil - c.GetTotalsByLanguageFeature() -} - -func TestCopilotDailyMetrics_GetTotalsByLanguageModel(tt *testing.T) { - tt.Parallel() - zeroValue := []*CopilotMetricsLanguageModel{} - c := &CopilotDailyMetrics{TotalsByLanguageModel: zeroValue} - c.GetTotalsByLanguageModel() - c = &CopilotDailyMetrics{} - c.GetTotalsByLanguageModel() - c = nil - c.GetTotalsByLanguageModel() -} - -func TestCopilotDailyMetrics_GetTotalsByModelFeature(tt *testing.T) { - tt.Parallel() - zeroValue := []*CopilotMetricsModelFeature{} - c := &CopilotDailyMetrics{TotalsByModelFeature: zeroValue} - c.GetTotalsByModelFeature() - c = &CopilotDailyMetrics{} - c.GetTotalsByModelFeature() - c = nil - c.GetTotalsByModelFeature() -} - -func TestCopilotDailyMetrics_GetUserInitiatedInteractionCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotDailyMetrics{UserInitiatedInteractionCount: &zeroValue} - c.GetUserInitiatedInteractionCount() - c = &CopilotDailyMetrics{} - c.GetUserInitiatedInteractionCount() - c = nil - c.GetUserInitiatedInteractionCount() -} - -func TestCopilotDailyMetrics_GetWeeklyActiveCopilotCloudAgentUsers(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotDailyMetrics{WeeklyActiveCopilotCloudAgentUsers: &zeroValue} - c.GetWeeklyActiveCopilotCloudAgentUsers() - c = &CopilotDailyMetrics{} - c.GetWeeklyActiveCopilotCloudAgentUsers() - c = nil - c.GetWeeklyActiveCopilotCloudAgentUsers() -} - -func TestCopilotDailyMetrics_GetWeeklyActiveCopilotCodeReviewUsers(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotDailyMetrics{WeeklyActiveCopilotCodeReviewUsers: &zeroValue} - c.GetWeeklyActiveCopilotCodeReviewUsers() - c = &CopilotDailyMetrics{} - c.GetWeeklyActiveCopilotCodeReviewUsers() - c = nil - c.GetWeeklyActiveCopilotCodeReviewUsers() -} - -func TestCopilotDailyMetrics_GetWeeklyActiveUsers(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotDailyMetrics{WeeklyActiveUsers: &zeroValue} - c.GetWeeklyActiveUsers() - c = &CopilotDailyMetrics{} - c.GetWeeklyActiveUsers() - c = nil - c.GetWeeklyActiveUsers() -} - -func TestCopilotDailyMetrics_GetWeeklyPassiveCopilotCodeReviewUsers(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotDailyMetrics{WeeklyPassiveCopilotCodeReviewUsers: &zeroValue} - c.GetWeeklyPassiveCopilotCodeReviewUsers() - c = &CopilotDailyMetrics{} - c.GetWeeklyPassiveCopilotCodeReviewUsers() - c = nil - c.GetWeeklyPassiveCopilotCodeReviewUsers() -} - -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 - c := &CopilotDotcomChatModel{CustomModelTrainingDate: &zeroValue} - c.GetCustomModelTrainingDate() - c = &CopilotDotcomChatModel{} - c.GetCustomModelTrainingDate() - c = nil - 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 - c := &CopilotDotcomPullRequestsModel{CustomModelTrainingDate: &zeroValue} - c.GetCustomModelTrainingDate() - c = &CopilotDotcomPullRequestsModel{} - c.GetCustomModelTrainingDate() - c = nil - 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 - c := &CopilotIDEChatModel{CustomModelTrainingDate: &zeroValue} - c.GetCustomModelTrainingDate() - c = &CopilotIDEChatModel{} - c.GetCustomModelTrainingDate() - c = nil - 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 - c := &CopilotIDECodeCompletionsModel{CustomModelTrainingDate: &zeroValue} - c.GetCustomModelTrainingDate() - c = &CopilotIDECodeCompletionsModel{} - c.GetCustomModelTrainingDate() - c = nil - 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{} - c.GetCopilotDotcomChat() - c = nil - c.GetCopilotDotcomChat() -} - -func TestCopilotMetrics_GetCopilotDotcomPullRequests(tt *testing.T) { - tt.Parallel() - c := &CopilotMetrics{} - c.GetCopilotDotcomPullRequests() - c = nil - c.GetCopilotDotcomPullRequests() -} - -func TestCopilotMetrics_GetCopilotIDEChat(tt *testing.T) { - tt.Parallel() - c := &CopilotMetrics{} - c.GetCopilotIDEChat() - c = nil - c.GetCopilotIDEChat() -} - -func TestCopilotMetrics_GetCopilotIDECodeCompletions(tt *testing.T) { - tt.Parallel() - c := &CopilotMetrics{} - c.GetCopilotIDECodeCompletions() - c = nil - 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 - c := &CopilotMetrics{TotalActiveUsers: &zeroValue} - c.GetTotalActiveUsers() - c = &CopilotMetrics{} - c.GetTotalActiveUsers() - c = nil - c.GetTotalActiveUsers() -} - -func TestCopilotMetrics_GetTotalEngagedUsers(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetrics{TotalEngagedUsers: &zeroValue} - c.GetTotalEngagedUsers() - c = &CopilotMetrics{} - c.GetTotalEngagedUsers() - c = nil - c.GetTotalEngagedUsers() -} - -func TestCopilotMetricsAIAdoptionPhase_GetPhase(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsAIAdoptionPhase{} - c.GetPhase() - c = nil - c.GetPhase() -} - -func TestCopilotMetricsAIAdoptionPhase_GetPhaseNumber(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsAIAdoptionPhase{} - c.GetPhaseNumber() - c = nil - c.GetPhaseNumber() -} - -func TestCopilotMetricsAIAdoptionPhase_GetVersion(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsAIAdoptionPhase{} - c.GetVersion() - c = nil - c.GetVersion() -} - -func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgCodeAcceptanceActivities(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetAvgCodeAcceptanceActivities() - c = nil - c.GetAvgCodeAcceptanceActivities() -} - -func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgCodeGenerationActivities(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetAvgCodeGenerationActivities() - c = nil - c.GetAvgCodeGenerationActivities() -} - -func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgLOCAdded(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetAvgLOCAdded() - c = nil - c.GetAvgLOCAdded() -} - -func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgLOCDeleted(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetAvgLOCDeleted() - c = nil - c.GetAvgLOCDeleted() -} - -func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgPullRequestsCreated(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetAvgPullRequestsCreated() - c = nil - c.GetAvgPullRequestsCreated() -} - -func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgPullRequestsMedianMinutesToMerge(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetAvgPullRequestsMedianMinutesToMerge() - c = nil - c.GetAvgPullRequestsMedianMinutesToMerge() -} - -func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgPullRequestsMerged(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetAvgPullRequestsMerged() - c = nil - c.GetAvgPullRequestsMerged() -} - -func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgPullRequestsMinutesToReview(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetAvgPullRequestsMinutesToReview() - c = nil - c.GetAvgPullRequestsMinutesToReview() -} - -func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgPullRequestsReviewCycles(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetAvgPullRequestsReviewCycles() - c = nil - c.GetAvgPullRequestsReviewCycles() -} - -func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgPullRequestsReviewed(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetAvgPullRequestsReviewed() - c = nil - c.GetAvgPullRequestsReviewed() -} - -func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgUserInitiatedInteractions(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetAvgUserInitiatedInteractions() - c = nil - c.GetAvgUserInitiatedInteractions() -} - -func TestCopilotMetricsAIAdoptionPhaseTotals_GetPhase(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetPhase() - c = nil - c.GetPhase() -} - -func TestCopilotMetricsAIAdoptionPhaseTotals_GetPhaseNumber(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetPhaseNumber() - c = nil - c.GetPhaseNumber() -} - -func TestCopilotMetricsAIAdoptionPhaseTotals_GetTotalEngagedUsers(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetTotalEngagedUsers() - c = nil - c.GetTotalEngagedUsers() -} - -func TestCopilotMetricsAIAdoptionPhaseTotals_GetTotalPullRequestsMerged(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetTotalPullRequestsMerged() - c = nil - c.GetTotalPullRequestsMerged() -} - -func TestCopilotMetricsChatPanel_GetChatPanelAgentMode(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsChatPanel{ChatPanelAgentMode: &zeroValue} - c.GetChatPanelAgentMode() - c = &CopilotMetricsChatPanel{} - c.GetChatPanelAgentMode() - c = nil - c.GetChatPanelAgentMode() -} - -func TestCopilotMetricsChatPanel_GetChatPanelAskMode(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsChatPanel{ChatPanelAskMode: &zeroValue} - c.GetChatPanelAskMode() - c = &CopilotMetricsChatPanel{} - c.GetChatPanelAskMode() - c = nil - c.GetChatPanelAskMode() -} - -func TestCopilotMetricsChatPanel_GetChatPanelCustomMode(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsChatPanel{ChatPanelCustomMode: &zeroValue} - c.GetChatPanelCustomMode() - c = &CopilotMetricsChatPanel{} - c.GetChatPanelCustomMode() - c = nil - c.GetChatPanelCustomMode() -} - -func TestCopilotMetricsChatPanel_GetChatPanelEditMode(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsChatPanel{ChatPanelEditMode: &zeroValue} - c.GetChatPanelEditMode() - c = &CopilotMetricsChatPanel{} - c.GetChatPanelEditMode() - c = nil - c.GetChatPanelEditMode() -} - -func TestCopilotMetricsChatPanel_GetChatPanelUnknownMode(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsChatPanel{ChatPanelUnknownMode: &zeroValue} - c.GetChatPanelUnknownMode() - c = &CopilotMetricsChatPanel{} - c.GetChatPanelUnknownMode() - c = nil - c.GetChatPanelUnknownMode() -} - -func TestCopilotMetricsCLI_GetLastKnownCLIVersion(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsCLI{} - c.GetLastKnownCLIVersion() - c = nil - c.GetLastKnownCLIVersion() -} - -func TestCopilotMetricsCLI_GetPromptCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsCLI{PromptCount: &zeroValue} - c.GetPromptCount() - c = &CopilotMetricsCLI{} - c.GetPromptCount() - c = nil - c.GetPromptCount() -} - -func TestCopilotMetricsCLI_GetRequestCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsCLI{RequestCount: &zeroValue} - c.GetRequestCount() - c = &CopilotMetricsCLI{} - c.GetRequestCount() - c = nil - c.GetRequestCount() -} - -func TestCopilotMetricsCLI_GetSessionCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsCLI{SessionCount: &zeroValue} - c.GetSessionCount() - c = &CopilotMetricsCLI{} - c.GetSessionCount() - c = nil - c.GetSessionCount() -} - -func TestCopilotMetricsCLI_GetTokenUsage(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsCLI{} - c.GetTokenUsage() - c = nil - c.GetTokenUsage() -} - -func TestCopilotMetricsCLITokenUsage_GetAvgTokensPerRequest(tt *testing.T) { - tt.Parallel() - var zeroValue float64 - c := &CopilotMetricsCLITokenUsage{AvgTokensPerRequest: &zeroValue} - c.GetAvgTokensPerRequest() - c = &CopilotMetricsCLITokenUsage{} - c.GetAvgTokensPerRequest() - c = nil - c.GetAvgTokensPerRequest() -} - -func TestCopilotMetricsCLITokenUsage_GetOutputTokensSum(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsCLITokenUsage{OutputTokensSum: &zeroValue} - c.GetOutputTokensSum() - c = &CopilotMetricsCLITokenUsage{} - c.GetOutputTokensSum() - c = nil - c.GetOutputTokensSum() -} - -func TestCopilotMetricsCLITokenUsage_GetPromptTokensSum(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsCLITokenUsage{PromptTokensSum: &zeroValue} - c.GetPromptTokensSum() - c = &CopilotMetricsCLITokenUsage{} - c.GetPromptTokensSum() - c = nil - c.GetPromptTokensSum() -} - -func TestCopilotMetricsCLIVersion_GetCLIVersion(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsCLIVersion{} - c.GetCLIVersion() - c = nil - c.GetCLIVersion() -} - -func TestCopilotMetricsCLIVersion_GetSampledAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CopilotMetricsCLIVersion{SampledAt: &zeroValue} - c.GetSampledAt() - c = &CopilotMetricsCLIVersion{} - c.GetSampledAt() - c = nil - c.GetSampledAt() -} - -func TestCopilotMetricsCodeActivity_GetCodeAcceptanceActivityCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsCodeActivity{CodeAcceptanceActivityCount: &zeroValue} - c.GetCodeAcceptanceActivityCount() - c = &CopilotMetricsCodeActivity{} - c.GetCodeAcceptanceActivityCount() - c = nil - c.GetCodeAcceptanceActivityCount() -} - -func TestCopilotMetricsCodeActivity_GetCodeGenerationActivityCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsCodeActivity{CodeGenerationActivityCount: &zeroValue} - c.GetCodeGenerationActivityCount() - c = &CopilotMetricsCodeActivity{} - c.GetCodeGenerationActivityCount() - c = nil - c.GetCodeGenerationActivityCount() -} - -func TestCopilotMetricsCodeActivity_GetLOCAddedSum(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsCodeActivity{LOCAddedSum: &zeroValue} - c.GetLOCAddedSum() - c = &CopilotMetricsCodeActivity{} - c.GetLOCAddedSum() - c = nil - c.GetLOCAddedSum() -} - -func TestCopilotMetricsCodeActivity_GetLOCDeletedSum(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsCodeActivity{LOCDeletedSum: &zeroValue} - c.GetLOCDeletedSum() - c = &CopilotMetricsCodeActivity{} - c.GetLOCDeletedSum() - c = nil - c.GetLOCDeletedSum() -} - -func TestCopilotMetricsCodeActivity_GetLOCSuggestedToAddSum(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsCodeActivity{LOCSuggestedToAddSum: &zeroValue} - c.GetLOCSuggestedToAddSum() - c = &CopilotMetricsCodeActivity{} - c.GetLOCSuggestedToAddSum() - c = nil - c.GetLOCSuggestedToAddSum() -} - -func TestCopilotMetricsCodeActivity_GetLOCSuggestedToDeleteSum(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsCodeActivity{LOCSuggestedToDeleteSum: &zeroValue} - c.GetLOCSuggestedToDeleteSum() - c = &CopilotMetricsCodeActivity{} - c.GetLOCSuggestedToDeleteSum() - c = nil - c.GetLOCSuggestedToDeleteSum() -} - -func TestCopilotMetricsCopilotApp_GetPromptCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsCopilotApp{PromptCount: &zeroValue} - c.GetPromptCount() - c = &CopilotMetricsCopilotApp{} - c.GetPromptCount() - c = nil - c.GetPromptCount() -} - -func TestCopilotMetricsCopilotApp_GetRequestCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsCopilotApp{RequestCount: &zeroValue} - c.GetRequestCount() - c = &CopilotMetricsCopilotApp{} - c.GetRequestCount() - c = nil - c.GetRequestCount() -} - -func TestCopilotMetricsCopilotApp_GetSessionCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsCopilotApp{SessionCount: &zeroValue} - c.GetSessionCount() - c = &CopilotMetricsCopilotApp{} - c.GetSessionCount() - c = nil - c.GetSessionCount() -} - -func TestCopilotMetricsCopilotApp_GetTokenUsage(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsCopilotApp{} - c.GetTokenUsage() - c = nil - c.GetTokenUsage() -} - -func TestCopilotMetricsCopilotAppTokenUsage_GetAvgTokensPerRequest(tt *testing.T) { - tt.Parallel() - var zeroValue float64 - c := &CopilotMetricsCopilotAppTokenUsage{AvgTokensPerRequest: &zeroValue} - c.GetAvgTokensPerRequest() - c = &CopilotMetricsCopilotAppTokenUsage{} - c.GetAvgTokensPerRequest() - c = nil - c.GetAvgTokensPerRequest() -} - -func TestCopilotMetricsCopilotAppTokenUsage_GetOutputTokensSum(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsCopilotAppTokenUsage{OutputTokensSum: &zeroValue} - c.GetOutputTokensSum() - c = &CopilotMetricsCopilotAppTokenUsage{} - c.GetOutputTokensSum() - c = nil - c.GetOutputTokensSum() -} - -func TestCopilotMetricsCopilotAppTokenUsage_GetPromptTokensSum(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsCopilotAppTokenUsage{PromptTokensSum: &zeroValue} - c.GetPromptTokensSum() - c = &CopilotMetricsCopilotAppTokenUsage{} - c.GetPromptTokensSum() - c = nil - c.GetPromptTokensSum() -} - -func TestCopilotMetricsCopilotSuggestionByCommentType_GetCommentType(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsCopilotSuggestionByCommentType{} - c.GetCommentType() - c = nil - c.GetCommentType() -} - -func TestCopilotMetricsCopilotSuggestionByCommentType_GetTotalCopilotAppliedSuggestions(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsCopilotSuggestionByCommentType{TotalCopilotAppliedSuggestions: &zeroValue} - c.GetTotalCopilotAppliedSuggestions() - c = &CopilotMetricsCopilotSuggestionByCommentType{} - c.GetTotalCopilotAppliedSuggestions() - c = nil - c.GetTotalCopilotAppliedSuggestions() -} - -func TestCopilotMetricsCopilotSuggestionByCommentType_GetTotalCopilotSuggestions(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsCopilotSuggestionByCommentType{TotalCopilotSuggestions: &zeroValue} - c.GetTotalCopilotSuggestions() - c = &CopilotMetricsCopilotSuggestionByCommentType{} - c.GetTotalCopilotSuggestions() - c = nil - c.GetTotalCopilotSuggestions() -} - -func TestCopilotMetricsFeature_GetFeature(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsFeature{} - c.GetFeature() - c = nil - c.GetFeature() -} - -func TestCopilotMetricsFeature_GetUserInitiatedInteractionCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsFeature{UserInitiatedInteractionCount: &zeroValue} - c.GetUserInitiatedInteractionCount() - c = &CopilotMetricsFeature{} - c.GetUserInitiatedInteractionCount() - c = nil - c.GetUserInitiatedInteractionCount() -} - -func TestCopilotMetricsIDE_GetIDE(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsIDE{} - c.GetIDE() - c = nil - c.GetIDE() -} - -func TestCopilotMetricsIDE_GetUserInitiatedInteractionCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsIDE{UserInitiatedInteractionCount: &zeroValue} - c.GetUserInitiatedInteractionCount() - c = &CopilotMetricsIDE{} - c.GetUserInitiatedInteractionCount() - c = nil - c.GetUserInitiatedInteractionCount() -} - -func TestCopilotMetricsLanguageFeature_GetFeature(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsLanguageFeature{} - c.GetFeature() - c = nil - c.GetFeature() -} - -func TestCopilotMetricsLanguageFeature_GetLanguage(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsLanguageFeature{} - c.GetLanguage() - c = nil - c.GetLanguage() -} - -func TestCopilotMetricsLanguageModel_GetLanguage(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsLanguageModel{} - c.GetLanguage() - c = nil - c.GetLanguage() -} - -func TestCopilotMetricsLanguageModel_GetModel(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsLanguageModel{} - c.GetModel() - c = nil - c.GetModel() -} - -func TestCopilotMetricsListOptions_GetSince(tt *testing.T) { - tt.Parallel() - var zeroValue time.Time - c := &CopilotMetricsListOptions{Since: &zeroValue} - c.GetSince() - c = &CopilotMetricsListOptions{} - c.GetSince() - c = nil - c.GetSince() -} - -func TestCopilotMetricsListOptions_GetUntil(tt *testing.T) { - tt.Parallel() - var zeroValue time.Time - c := &CopilotMetricsListOptions{Until: &zeroValue} - c.GetUntil() - c = &CopilotMetricsListOptions{} - c.GetUntil() - c = nil - c.GetUntil() -} - -func TestCopilotMetricsModelFeature_GetFeature(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsModelFeature{} - c.GetFeature() - c = nil - c.GetFeature() -} - -func TestCopilotMetricsModelFeature_GetModel(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsModelFeature{} - c.GetModel() - c = nil - c.GetModel() -} - -func TestCopilotMetricsModelFeature_GetUserInitiatedInteractionCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsModelFeature{UserInitiatedInteractionCount: &zeroValue} - c.GetUserInitiatedInteractionCount() - c = &CopilotMetricsModelFeature{} - c.GetUserInitiatedInteractionCount() - c = nil - c.GetUserInitiatedInteractionCount() -} - -func TestCopilotMetricsPullRequests_GetCopilotSuggestionsByCommentType(tt *testing.T) { - tt.Parallel() - zeroValue := []*CopilotMetricsCopilotSuggestionByCommentType{} - c := &CopilotMetricsPullRequests{CopilotSuggestionsByCommentType: zeroValue} - c.GetCopilotSuggestionsByCommentType() - c = &CopilotMetricsPullRequests{} - c.GetCopilotSuggestionsByCommentType() - c = nil - c.GetCopilotSuggestionsByCommentType() -} - -func TestCopilotMetricsPullRequests_GetMedianMinutesToMerge(tt *testing.T) { - tt.Parallel() - var zeroValue float64 - c := &CopilotMetricsPullRequests{MedianMinutesToMerge: &zeroValue} - c.GetMedianMinutesToMerge() - c = &CopilotMetricsPullRequests{} - c.GetMedianMinutesToMerge() - c = nil - c.GetMedianMinutesToMerge() -} - -func TestCopilotMetricsPullRequests_GetMedianMinutesToMergeCopilotAuthored(tt *testing.T) { - tt.Parallel() - var zeroValue float64 - c := &CopilotMetricsPullRequests{MedianMinutesToMergeCopilotAuthored: &zeroValue} - c.GetMedianMinutesToMergeCopilotAuthored() - c = &CopilotMetricsPullRequests{} - c.GetMedianMinutesToMergeCopilotAuthored() - c = nil - c.GetMedianMinutesToMergeCopilotAuthored() -} - -func TestCopilotMetricsPullRequests_GetMedianMinutesToMergeCopilotReviewed(tt *testing.T) { - tt.Parallel() - var zeroValue float64 - c := &CopilotMetricsPullRequests{MedianMinutesToMergeCopilotReviewed: &zeroValue} - c.GetMedianMinutesToMergeCopilotReviewed() - c = &CopilotMetricsPullRequests{} - c.GetMedianMinutesToMergeCopilotReviewed() - c = nil - c.GetMedianMinutesToMergeCopilotReviewed() -} - -func TestCopilotMetricsPullRequests_GetTotalAppliedSuggestions(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsPullRequests{TotalAppliedSuggestions: &zeroValue} - c.GetTotalAppliedSuggestions() - c = &CopilotMetricsPullRequests{} - c.GetTotalAppliedSuggestions() - c = nil - c.GetTotalAppliedSuggestions() -} - -func TestCopilotMetricsPullRequests_GetTotalCopilotAppliedSuggestions(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsPullRequests{TotalCopilotAppliedSuggestions: &zeroValue} - c.GetTotalCopilotAppliedSuggestions() - c = &CopilotMetricsPullRequests{} - c.GetTotalCopilotAppliedSuggestions() - c = nil - c.GetTotalCopilotAppliedSuggestions() -} - -func TestCopilotMetricsPullRequests_GetTotalCopilotSuggestions(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsPullRequests{TotalCopilotSuggestions: &zeroValue} - c.GetTotalCopilotSuggestions() - c = &CopilotMetricsPullRequests{} - c.GetTotalCopilotSuggestions() - c = nil - c.GetTotalCopilotSuggestions() -} - -func TestCopilotMetricsPullRequests_GetTotalCreated(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsPullRequests{TotalCreated: &zeroValue} - c.GetTotalCreated() - c = &CopilotMetricsPullRequests{} - c.GetTotalCreated() - c = nil - c.GetTotalCreated() -} - -func TestCopilotMetricsPullRequests_GetTotalCreatedByCopilot(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsPullRequests{TotalCreatedByCopilot: &zeroValue} - c.GetTotalCreatedByCopilot() - c = &CopilotMetricsPullRequests{} - c.GetTotalCreatedByCopilot() - c = nil - c.GetTotalCreatedByCopilot() -} - -func TestCopilotMetricsPullRequests_GetTotalMerged(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsPullRequests{TotalMerged: &zeroValue} - c.GetTotalMerged() - c = &CopilotMetricsPullRequests{} - c.GetTotalMerged() - c = nil - c.GetTotalMerged() -} - -func TestCopilotMetricsPullRequests_GetTotalMergedCreatedByCopilot(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsPullRequests{TotalMergedCreatedByCopilot: &zeroValue} - c.GetTotalMergedCreatedByCopilot() - c = &CopilotMetricsPullRequests{} - c.GetTotalMergedCreatedByCopilot() - c = nil - c.GetTotalMergedCreatedByCopilot() -} - -func TestCopilotMetricsPullRequests_GetTotalMergedReviewedByCopilot(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsPullRequests{TotalMergedReviewedByCopilot: &zeroValue} - c.GetTotalMergedReviewedByCopilot() - c = &CopilotMetricsPullRequests{} - c.GetTotalMergedReviewedByCopilot() - c = nil - c.GetTotalMergedReviewedByCopilot() -} - -func TestCopilotMetricsPullRequests_GetTotalReviewed(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsPullRequests{TotalReviewed: &zeroValue} - c.GetTotalReviewed() - c = &CopilotMetricsPullRequests{} - c.GetTotalReviewed() - c = nil - c.GetTotalReviewed() -} - -func TestCopilotMetricsPullRequests_GetTotalReviewedByCopilot(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsPullRequests{TotalReviewedByCopilot: &zeroValue} - c.GetTotalReviewedByCopilot() - c = &CopilotMetricsPullRequests{} - c.GetTotalReviewedByCopilot() - c = nil - c.GetTotalReviewedByCopilot() -} - -func TestCopilotMetricsPullRequests_GetTotalSuggestions(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsPullRequests{TotalSuggestions: &zeroValue} - c.GetTotalSuggestions() - c = &CopilotMetricsPullRequests{} - c.GetTotalSuggestions() - c = nil - c.GetTotalSuggestions() -} - -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 TestCopilotMetricsThirdPartyAgent_GetAgentID(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsThirdPartyAgent{} - c.GetAgentID() - c = nil - c.GetAgentID() -} - -func TestCopilotMetricsThirdPartyAgent_GetAgentName(tt *testing.T) { - tt.Parallel() - c := &CopilotMetricsThirdPartyAgent{} - c.GetAgentName() - c = nil - c.GetAgentName() -} - -func TestCopilotMetricsThirdPartyAgent_GetSessionCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsThirdPartyAgent{SessionCount: &zeroValue} - c.GetSessionCount() - c = &CopilotMetricsThirdPartyAgent{} - c.GetSessionCount() - c = nil - c.GetSessionCount() -} - -func TestCopilotMetricsThirdPartyAgent_GetUserInitiatedInteractionCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotMetricsThirdPartyAgent{UserInitiatedInteractionCount: &zeroValue} - c.GetUserInitiatedInteractionCount() - c = &CopilotMetricsThirdPartyAgent{} - c.GetUserInitiatedInteractionCount() - c = nil - c.GetUserInitiatedInteractionCount() -} - -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{} - c.GetSeatBreakdown() - c = nil - c.GetSeatBreakdown() -} - -func TestCopilotOrganizationDetails_GetSeatManagementSetting(tt *testing.T) { - tt.Parallel() - c := &CopilotOrganizationDetails{} - c.GetSeatManagementSetting() - c = nil - c.GetSeatManagementSetting() -} - -func TestCopilotPeriodicMetrics_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CopilotPeriodicMetrics{CreatedAt: &zeroValue} - c.GetCreatedAt() - c = &CopilotPeriodicMetrics{} - c.GetCreatedAt() - c = nil - c.GetCreatedAt() -} - -func TestCopilotPeriodicMetrics_GetDayTotals(tt *testing.T) { - tt.Parallel() - zeroValue := []*CopilotDailyMetrics{} - c := &CopilotPeriodicMetrics{DayTotals: zeroValue} - c.GetDayTotals() - c = &CopilotPeriodicMetrics{} - c.GetDayTotals() - c = nil - c.GetDayTotals() -} - -func TestCopilotPeriodicMetrics_GetEnterpriseID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CopilotPeriodicMetrics{EnterpriseID: &zeroValue} - c.GetEnterpriseID() - c = &CopilotPeriodicMetrics{} - c.GetEnterpriseID() - c = nil - c.GetEnterpriseID() -} - -func TestCopilotPeriodicMetrics_GetOrganizationID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CopilotPeriodicMetrics{OrganizationID: &zeroValue} - c.GetOrganizationID() - c = &CopilotPeriodicMetrics{} - c.GetOrganizationID() - c = nil - c.GetOrganizationID() -} - -func TestCopilotPeriodicMetrics_GetReportEndDay(tt *testing.T) { - tt.Parallel() - c := &CopilotPeriodicMetrics{} - c.GetReportEndDay() - c = nil - c.GetReportEndDay() -} - -func TestCopilotPeriodicMetrics_GetReportStartDay(tt *testing.T) { - tt.Parallel() - c := &CopilotPeriodicMetrics{} - c.GetReportStartDay() - c = nil - c.GetReportStartDay() -} - -func TestCopilotRepositoryDailyMetrics_GetDay(tt *testing.T) { - tt.Parallel() - c := &CopilotRepositoryDailyMetrics{} - c.GetDay() - c = nil - c.GetDay() -} - -func TestCopilotRepositoryDailyMetrics_GetEnterpriseID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CopilotRepositoryDailyMetrics{EnterpriseID: &zeroValue} - c.GetEnterpriseID() - c = &CopilotRepositoryDailyMetrics{} - c.GetEnterpriseID() - c = nil - c.GetEnterpriseID() -} - -func TestCopilotRepositoryDailyMetrics_GetOrganizationID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CopilotRepositoryDailyMetrics{OrganizationID: &zeroValue} - c.GetOrganizationID() - c = &CopilotRepositoryDailyMetrics{} - c.GetOrganizationID() - c = nil - c.GetOrganizationID() -} - -func TestCopilotRepositoryDailyMetrics_GetPullRequests(tt *testing.T) { - tt.Parallel() - c := &CopilotRepositoryDailyMetrics{} - c.GetPullRequests() - c = nil - c.GetPullRequests() -} - -func TestCopilotRepositoryDailyMetrics_GetRepoID(tt *testing.T) { - tt.Parallel() - c := &CopilotRepositoryDailyMetrics{} - c.GetRepoID() - c = nil - c.GetRepoID() -} - -func TestCopilotRepositoryDailyMetrics_GetRepoName(tt *testing.T) { - tt.Parallel() - c := &CopilotRepositoryDailyMetrics{} - c.GetRepoName() - c = nil - c.GetRepoName() -} - -func TestCopilotRepositoryDailyMetrics_GetRepoOwnerName(tt *testing.T) { - tt.Parallel() - c := &CopilotRepositoryDailyMetrics{} - c.GetRepoOwnerName() - c = nil - c.GetRepoOwnerName() -} - -func TestCopilotRepositoryDailyMetrics_GetRepoVisibility(tt *testing.T) { - tt.Parallel() - c := &CopilotRepositoryDailyMetrics{} - c.GetRepoVisibility() - c = nil - c.GetRepoVisibility() -} - -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{} - c.GetAssigningTeam() - c = nil - c.GetAssigningTeam() -} - -func TestCopilotSeatDetails_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CopilotSeatDetails{CreatedAt: &zeroValue} - c.GetCreatedAt() - c = &CopilotSeatDetails{} - c.GetCreatedAt() - c = nil - c.GetCreatedAt() -} - -func TestCopilotSeatDetails_GetLastActivityAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CopilotSeatDetails{LastActivityAt: &zeroValue} - c.GetLastActivityAt() - c = &CopilotSeatDetails{} - c.GetLastActivityAt() - c = nil - c.GetLastActivityAt() -} - -func TestCopilotSeatDetails_GetLastActivityEditor(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CopilotSeatDetails{LastActivityEditor: &zeroValue} - c.GetLastActivityEditor() - c = &CopilotSeatDetails{} - c.GetLastActivityEditor() - c = nil - c.GetLastActivityEditor() -} - -func TestCopilotSeatDetails_GetPendingCancellationDate(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CopilotSeatDetails{PendingCancellationDate: &zeroValue} - c.GetPendingCancellationDate() - c = &CopilotSeatDetails{} - c.GetPendingCancellationDate() - c = nil - c.GetPendingCancellationDate() -} - -func TestCopilotSeatDetails_GetPlanType(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CopilotSeatDetails{PlanType: &zeroValue} - c.GetPlanType() - c = &CopilotSeatDetails{} - c.GetPlanType() - c = nil - c.GetPlanType() -} - -func TestCopilotSeatDetails_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CopilotSeatDetails{UpdatedAt: &zeroValue} - c.GetUpdatedAt() - c = &CopilotSeatDetails{} - c.GetUpdatedAt() - c = nil - c.GetUpdatedAt() -} - -func TestCopilotUserDailyMetrics_GetAIAdoptionPhase(tt *testing.T) { - tt.Parallel() - c := &CopilotUserDailyMetrics{} - c.GetAIAdoptionPhase() - c = nil - c.GetAIAdoptionPhase() -} - -func TestCopilotUserDailyMetrics_GetAICreditsUsed(tt *testing.T) { - tt.Parallel() - var zeroValue float64 - c := &CopilotUserDailyMetrics{AICreditsUsed: &zeroValue} - c.GetAICreditsUsed() - c = &CopilotUserDailyMetrics{} - c.GetAICreditsUsed() - c = nil - c.GetAICreditsUsed() -} - -func TestCopilotUserDailyMetrics_GetCodeAcceptanceActivityCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotUserDailyMetrics{CodeAcceptanceActivityCount: &zeroValue} - c.GetCodeAcceptanceActivityCount() - c = &CopilotUserDailyMetrics{} - c.GetCodeAcceptanceActivityCount() - c = nil - c.GetCodeAcceptanceActivityCount() -} - -func TestCopilotUserDailyMetrics_GetCodeGenerationActivityCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotUserDailyMetrics{CodeGenerationActivityCount: &zeroValue} - c.GetCodeGenerationActivityCount() - c = &CopilotUserDailyMetrics{} - c.GetCodeGenerationActivityCount() - c = nil - c.GetCodeGenerationActivityCount() -} - -func TestCopilotUserDailyMetrics_GetDay(tt *testing.T) { - tt.Parallel() - c := &CopilotUserDailyMetrics{} - c.GetDay() - c = nil - c.GetDay() -} - -func TestCopilotUserDailyMetrics_GetEnterpriseID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CopilotUserDailyMetrics{EnterpriseID: &zeroValue} - c.GetEnterpriseID() - c = &CopilotUserDailyMetrics{} - c.GetEnterpriseID() - c = nil - c.GetEnterpriseID() -} - -func TestCopilotUserDailyMetrics_GetLOCAddedSum(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotUserDailyMetrics{LOCAddedSum: &zeroValue} - c.GetLOCAddedSum() - c = &CopilotUserDailyMetrics{} - c.GetLOCAddedSum() - c = nil - c.GetLOCAddedSum() -} - -func TestCopilotUserDailyMetrics_GetLOCDeletedSum(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotUserDailyMetrics{LOCDeletedSum: &zeroValue} - c.GetLOCDeletedSum() - c = &CopilotUserDailyMetrics{} - c.GetLOCDeletedSum() - c = nil - c.GetLOCDeletedSum() -} - -func TestCopilotUserDailyMetrics_GetLOCSuggestedToAddSum(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotUserDailyMetrics{LOCSuggestedToAddSum: &zeroValue} - c.GetLOCSuggestedToAddSum() - c = &CopilotUserDailyMetrics{} - c.GetLOCSuggestedToAddSum() - c = nil - c.GetLOCSuggestedToAddSum() -} - -func TestCopilotUserDailyMetrics_GetLOCSuggestedToDeleteSum(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotUserDailyMetrics{LOCSuggestedToDeleteSum: &zeroValue} - c.GetLOCSuggestedToDeleteSum() - c = &CopilotUserDailyMetrics{} - c.GetLOCSuggestedToDeleteSum() - c = nil - c.GetLOCSuggestedToDeleteSum() -} - -func TestCopilotUserDailyMetrics_GetOrganizationID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CopilotUserDailyMetrics{OrganizationID: &zeroValue} - c.GetOrganizationID() - c = &CopilotUserDailyMetrics{} - c.GetOrganizationID() - c = nil - c.GetOrganizationID() -} - -func TestCopilotUserDailyMetrics_GetTotalsBy3rdPartyAgent(tt *testing.T) { - tt.Parallel() - zeroValue := []*CopilotMetricsThirdPartyAgent{} - c := &CopilotUserDailyMetrics{TotalsBy3rdPartyAgent: zeroValue} - c.GetTotalsBy3rdPartyAgent() - c = &CopilotUserDailyMetrics{} - c.GetTotalsBy3rdPartyAgent() - c = nil - c.GetTotalsBy3rdPartyAgent() -} - -func TestCopilotUserDailyMetrics_GetTotalsByCLI(tt *testing.T) { - tt.Parallel() - c := &CopilotUserDailyMetrics{} - c.GetTotalsByCLI() - c = nil - c.GetTotalsByCLI() -} - -func TestCopilotUserDailyMetrics_GetTotalsByCopilotApp(tt *testing.T) { - tt.Parallel() - c := &CopilotUserDailyMetrics{} - c.GetTotalsByCopilotApp() - c = nil - c.GetTotalsByCopilotApp() -} - -func TestCopilotUserDailyMetrics_GetTotalsByFeature(tt *testing.T) { - tt.Parallel() - zeroValue := []*CopilotMetricsFeature{} - c := &CopilotUserDailyMetrics{TotalsByFeature: zeroValue} - c.GetTotalsByFeature() - c = &CopilotUserDailyMetrics{} - c.GetTotalsByFeature() - c = nil - c.GetTotalsByFeature() -} - -func TestCopilotUserDailyMetrics_GetTotalsByIDE(tt *testing.T) { - tt.Parallel() - zeroValue := []*CopilotUserMetricsIDE{} - c := &CopilotUserDailyMetrics{TotalsByIDE: zeroValue} - c.GetTotalsByIDE() - c = &CopilotUserDailyMetrics{} - c.GetTotalsByIDE() - c = nil - c.GetTotalsByIDE() -} - -func TestCopilotUserDailyMetrics_GetTotalsByLanguageFeature(tt *testing.T) { - tt.Parallel() - zeroValue := []*CopilotMetricsLanguageFeature{} - c := &CopilotUserDailyMetrics{TotalsByLanguageFeature: zeroValue} - c.GetTotalsByLanguageFeature() - c = &CopilotUserDailyMetrics{} - c.GetTotalsByLanguageFeature() - c = nil - c.GetTotalsByLanguageFeature() -} - -func TestCopilotUserDailyMetrics_GetTotalsByLanguageModel(tt *testing.T) { - tt.Parallel() - zeroValue := []*CopilotMetricsLanguageModel{} - c := &CopilotUserDailyMetrics{TotalsByLanguageModel: zeroValue} - c.GetTotalsByLanguageModel() - c = &CopilotUserDailyMetrics{} - c.GetTotalsByLanguageModel() - c = nil - c.GetTotalsByLanguageModel() -} - -func TestCopilotUserDailyMetrics_GetTotalsByModelFeature(tt *testing.T) { - tt.Parallel() - zeroValue := []*CopilotMetricsModelFeature{} - c := &CopilotUserDailyMetrics{TotalsByModelFeature: zeroValue} - c.GetTotalsByModelFeature() - c = &CopilotUserDailyMetrics{} - c.GetTotalsByModelFeature() - c = nil - c.GetTotalsByModelFeature() -} - -func TestCopilotUserDailyMetrics_GetUsedAgent(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CopilotUserDailyMetrics{UsedAgent: &zeroValue} - c.GetUsedAgent() - c = &CopilotUserDailyMetrics{} - c.GetUsedAgent() - c = nil - c.GetUsedAgent() -} - -func TestCopilotUserDailyMetrics_GetUsedChat(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CopilotUserDailyMetrics{UsedChat: &zeroValue} - c.GetUsedChat() - c = &CopilotUserDailyMetrics{} - c.GetUsedChat() - c = nil - c.GetUsedChat() -} - -func TestCopilotUserDailyMetrics_GetUsedCLI(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CopilotUserDailyMetrics{UsedCLI: &zeroValue} - c.GetUsedCLI() - c = &CopilotUserDailyMetrics{} - c.GetUsedCLI() - c = nil - c.GetUsedCLI() -} - -func TestCopilotUserDailyMetrics_GetUsedCopilotApp(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CopilotUserDailyMetrics{UsedCopilotApp: &zeroValue} - c.GetUsedCopilotApp() - c = &CopilotUserDailyMetrics{} - c.GetUsedCopilotApp() - c = nil - c.GetUsedCopilotApp() -} - -func TestCopilotUserDailyMetrics_GetUsedCopilotCloudAgent(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CopilotUserDailyMetrics{UsedCopilotCloudAgent: &zeroValue} - c.GetUsedCopilotCloudAgent() - c = &CopilotUserDailyMetrics{} - c.GetUsedCopilotCloudAgent() - c = nil - c.GetUsedCopilotCloudAgent() -} - -func TestCopilotUserDailyMetrics_GetUsedCopilotCodeReviewActive(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CopilotUserDailyMetrics{UsedCopilotCodeReviewActive: &zeroValue} - c.GetUsedCopilotCodeReviewActive() - c = &CopilotUserDailyMetrics{} - c.GetUsedCopilotCodeReviewActive() - c = nil - c.GetUsedCopilotCodeReviewActive() -} - -func TestCopilotUserDailyMetrics_GetUsedCopilotCodeReviewPassive(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CopilotUserDailyMetrics{UsedCopilotCodeReviewPassive: &zeroValue} - c.GetUsedCopilotCodeReviewPassive() - c = &CopilotUserDailyMetrics{} - c.GetUsedCopilotCodeReviewPassive() - c = nil - c.GetUsedCopilotCodeReviewPassive() -} - -func TestCopilotUserDailyMetrics_GetUsedCopilotCodingAgent(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CopilotUserDailyMetrics{UsedCopilotCodingAgent: &zeroValue} - c.GetUsedCopilotCodingAgent() - c = &CopilotUserDailyMetrics{} - c.GetUsedCopilotCodingAgent() - c = nil - c.GetUsedCopilotCodingAgent() -} - -func TestCopilotUserDailyMetrics_GetUserID(tt *testing.T) { - tt.Parallel() - c := &CopilotUserDailyMetrics{} - c.GetUserID() - c = nil - c.GetUserID() -} - -func TestCopilotUserDailyMetrics_GetUserInitiatedInteractionCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotUserDailyMetrics{UserInitiatedInteractionCount: &zeroValue} - c.GetUserInitiatedInteractionCount() - c = &CopilotUserDailyMetrics{} - c.GetUserInitiatedInteractionCount() - c = nil - c.GetUserInitiatedInteractionCount() -} - -func TestCopilotUserDailyMetrics_GetUserLogin(tt *testing.T) { - tt.Parallel() - c := &CopilotUserDailyMetrics{} - c.GetUserLogin() - c = nil - c.GetUserLogin() -} - -func TestCopilotUserMetricsIDE_GetIDE(tt *testing.T) { - tt.Parallel() - c := &CopilotUserMetricsIDE{} - c.GetIDE() - c = nil - c.GetIDE() -} - -func TestCopilotUserMetricsIDE_GetLastKnownIDEVersion(tt *testing.T) { - tt.Parallel() - c := &CopilotUserMetricsIDE{} - c.GetLastKnownIDEVersion() - c = nil - c.GetLastKnownIDEVersion() -} - -func TestCopilotUserMetricsIDE_GetLastKnownPluginVersion(tt *testing.T) { - tt.Parallel() - c := &CopilotUserMetricsIDE{} - c.GetLastKnownPluginVersion() - c = nil - c.GetLastKnownPluginVersion() -} - -func TestCopilotUserMetricsIDE_GetUserInitiatedInteractionCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotUserMetricsIDE{UserInitiatedInteractionCount: &zeroValue} - c.GetUserInitiatedInteractionCount() - c = &CopilotUserMetricsIDE{} - c.GetUserInitiatedInteractionCount() - c = nil - c.GetUserInitiatedInteractionCount() -} - -func TestCopilotUserMetricsIDEVersion_GetIDEVersion(tt *testing.T) { - tt.Parallel() - c := &CopilotUserMetricsIDEVersion{} - c.GetIDEVersion() - c = nil - c.GetIDEVersion() -} - -func TestCopilotUserMetricsIDEVersion_GetSampledAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CopilotUserMetricsIDEVersion{SampledAt: &zeroValue} - c.GetSampledAt() - c = &CopilotUserMetricsIDEVersion{} - c.GetSampledAt() - c = nil - c.GetSampledAt() -} - -func TestCopilotUserMetricsPluginVersion_GetPlugin(tt *testing.T) { - tt.Parallel() - c := &CopilotUserMetricsPluginVersion{} - c.GetPlugin() - c = nil - c.GetPlugin() -} - -func TestCopilotUserMetricsPluginVersion_GetPluginVersion(tt *testing.T) { - tt.Parallel() - c := &CopilotUserMetricsPluginVersion{} - c.GetPluginVersion() - c = nil - c.GetPluginVersion() -} - -func TestCopilotUserMetricsPluginVersion_GetSampledAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CopilotUserMetricsPluginVersion{SampledAt: &zeroValue} - c.GetSampledAt() - c = &CopilotUserMetricsPluginVersion{} - c.GetSampledAt() - c = nil - c.GetSampledAt() -} - -func TestCopilotUserPeriodicMetrics_GetAIAdoptionPhase(tt *testing.T) { - tt.Parallel() - c := &CopilotUserPeriodicMetrics{} - c.GetAIAdoptionPhase() - c = nil - c.GetAIAdoptionPhase() -} - -func TestCopilotUserPeriodicMetrics_GetAICreditsUsed(tt *testing.T) { - tt.Parallel() - var zeroValue float64 - c := &CopilotUserPeriodicMetrics{AICreditsUsed: &zeroValue} - c.GetAICreditsUsed() - c = &CopilotUserPeriodicMetrics{} - c.GetAICreditsUsed() - c = nil - c.GetAICreditsUsed() -} - -func TestCopilotUserPeriodicMetrics_GetCodeAcceptanceActivityCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotUserPeriodicMetrics{CodeAcceptanceActivityCount: &zeroValue} - c.GetCodeAcceptanceActivityCount() - c = &CopilotUserPeriodicMetrics{} - c.GetCodeAcceptanceActivityCount() - c = nil - c.GetCodeAcceptanceActivityCount() -} - -func TestCopilotUserPeriodicMetrics_GetCodeGenerationActivityCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotUserPeriodicMetrics{CodeGenerationActivityCount: &zeroValue} - c.GetCodeGenerationActivityCount() - c = &CopilotUserPeriodicMetrics{} - c.GetCodeGenerationActivityCount() - c = nil - c.GetCodeGenerationActivityCount() -} - -func TestCopilotUserPeriodicMetrics_GetDay(tt *testing.T) { - tt.Parallel() - c := &CopilotUserPeriodicMetrics{} - c.GetDay() - c = nil - c.GetDay() -} - -func TestCopilotUserPeriodicMetrics_GetEnterpriseID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CopilotUserPeriodicMetrics{EnterpriseID: &zeroValue} - c.GetEnterpriseID() - c = &CopilotUserPeriodicMetrics{} - c.GetEnterpriseID() - c = nil - c.GetEnterpriseID() -} - -func TestCopilotUserPeriodicMetrics_GetLOCAddedSum(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotUserPeriodicMetrics{LOCAddedSum: &zeroValue} - c.GetLOCAddedSum() - c = &CopilotUserPeriodicMetrics{} - c.GetLOCAddedSum() - c = nil - c.GetLOCAddedSum() -} - -func TestCopilotUserPeriodicMetrics_GetLOCDeletedSum(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotUserPeriodicMetrics{LOCDeletedSum: &zeroValue} - c.GetLOCDeletedSum() - c = &CopilotUserPeriodicMetrics{} - c.GetLOCDeletedSum() - c = nil - c.GetLOCDeletedSum() -} - -func TestCopilotUserPeriodicMetrics_GetLOCSuggestedToAddSum(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotUserPeriodicMetrics{LOCSuggestedToAddSum: &zeroValue} - c.GetLOCSuggestedToAddSum() - c = &CopilotUserPeriodicMetrics{} - c.GetLOCSuggestedToAddSum() - c = nil - c.GetLOCSuggestedToAddSum() -} - -func TestCopilotUserPeriodicMetrics_GetLOCSuggestedToDeleteSum(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotUserPeriodicMetrics{LOCSuggestedToDeleteSum: &zeroValue} - c.GetLOCSuggestedToDeleteSum() - c = &CopilotUserPeriodicMetrics{} - c.GetLOCSuggestedToDeleteSum() - c = nil - c.GetLOCSuggestedToDeleteSum() -} - -func TestCopilotUserPeriodicMetrics_GetOrganizationID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CopilotUserPeriodicMetrics{OrganizationID: &zeroValue} - c.GetOrganizationID() - c = &CopilotUserPeriodicMetrics{} - c.GetOrganizationID() - c = nil - c.GetOrganizationID() -} - -func TestCopilotUserPeriodicMetrics_GetReportEndDay(tt *testing.T) { - tt.Parallel() - c := &CopilotUserPeriodicMetrics{} - c.GetReportEndDay() - c = nil - c.GetReportEndDay() -} - -func TestCopilotUserPeriodicMetrics_GetReportStartDay(tt *testing.T) { - tt.Parallel() - c := &CopilotUserPeriodicMetrics{} - c.GetReportStartDay() - c = nil - c.GetReportStartDay() -} - -func TestCopilotUserPeriodicMetrics_GetTotalsBy3rdPartyAgent(tt *testing.T) { - tt.Parallel() - zeroValue := []*CopilotMetricsThirdPartyAgent{} - c := &CopilotUserPeriodicMetrics{TotalsBy3rdPartyAgent: zeroValue} - c.GetTotalsBy3rdPartyAgent() - c = &CopilotUserPeriodicMetrics{} - c.GetTotalsBy3rdPartyAgent() - c = nil - c.GetTotalsBy3rdPartyAgent() -} - -func TestCopilotUserPeriodicMetrics_GetTotalsByCLI(tt *testing.T) { - tt.Parallel() - c := &CopilotUserPeriodicMetrics{} - c.GetTotalsByCLI() - c = nil - c.GetTotalsByCLI() -} - -func TestCopilotUserPeriodicMetrics_GetTotalsByCopilotApp(tt *testing.T) { - tt.Parallel() - c := &CopilotUserPeriodicMetrics{} - c.GetTotalsByCopilotApp() - c = nil - c.GetTotalsByCopilotApp() -} - -func TestCopilotUserPeriodicMetrics_GetTotalsByFeature(tt *testing.T) { - tt.Parallel() - zeroValue := []*CopilotMetricsFeature{} - c := &CopilotUserPeriodicMetrics{TotalsByFeature: zeroValue} - c.GetTotalsByFeature() - c = &CopilotUserPeriodicMetrics{} - c.GetTotalsByFeature() - c = nil - c.GetTotalsByFeature() -} - -func TestCopilotUserPeriodicMetrics_GetTotalsByIDE(tt *testing.T) { - tt.Parallel() - zeroValue := []*CopilotUserMetricsIDE{} - c := &CopilotUserPeriodicMetrics{TotalsByIDE: zeroValue} - c.GetTotalsByIDE() - c = &CopilotUserPeriodicMetrics{} - c.GetTotalsByIDE() - c = nil - c.GetTotalsByIDE() -} - -func TestCopilotUserPeriodicMetrics_GetTotalsByLanguageFeature(tt *testing.T) { - tt.Parallel() - zeroValue := []*CopilotMetricsLanguageFeature{} - c := &CopilotUserPeriodicMetrics{TotalsByLanguageFeature: zeroValue} - c.GetTotalsByLanguageFeature() - c = &CopilotUserPeriodicMetrics{} - c.GetTotalsByLanguageFeature() - c = nil - c.GetTotalsByLanguageFeature() -} - -func TestCopilotUserPeriodicMetrics_GetTotalsByLanguageModel(tt *testing.T) { - tt.Parallel() - zeroValue := []*CopilotMetricsLanguageModel{} - c := &CopilotUserPeriodicMetrics{TotalsByLanguageModel: zeroValue} - c.GetTotalsByLanguageModel() - c = &CopilotUserPeriodicMetrics{} - c.GetTotalsByLanguageModel() - c = nil - c.GetTotalsByLanguageModel() -} - -func TestCopilotUserPeriodicMetrics_GetTotalsByModelFeature(tt *testing.T) { - tt.Parallel() - zeroValue := []*CopilotMetricsModelFeature{} - c := &CopilotUserPeriodicMetrics{TotalsByModelFeature: zeroValue} - c.GetTotalsByModelFeature() - c = &CopilotUserPeriodicMetrics{} - c.GetTotalsByModelFeature() - c = nil - c.GetTotalsByModelFeature() -} - -func TestCopilotUserPeriodicMetrics_GetUsedAgent(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CopilotUserPeriodicMetrics{UsedAgent: &zeroValue} - c.GetUsedAgent() - c = &CopilotUserPeriodicMetrics{} - c.GetUsedAgent() - c = nil - c.GetUsedAgent() -} - -func TestCopilotUserPeriodicMetrics_GetUsedChat(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CopilotUserPeriodicMetrics{UsedChat: &zeroValue} - c.GetUsedChat() - c = &CopilotUserPeriodicMetrics{} - c.GetUsedChat() - c = nil - c.GetUsedChat() -} - -func TestCopilotUserPeriodicMetrics_GetUsedCLI(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CopilotUserPeriodicMetrics{UsedCLI: &zeroValue} - c.GetUsedCLI() - c = &CopilotUserPeriodicMetrics{} - c.GetUsedCLI() - c = nil - c.GetUsedCLI() -} - -func TestCopilotUserPeriodicMetrics_GetUsedCopilotApp(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CopilotUserPeriodicMetrics{UsedCopilotApp: &zeroValue} - c.GetUsedCopilotApp() - c = &CopilotUserPeriodicMetrics{} - c.GetUsedCopilotApp() - c = nil - c.GetUsedCopilotApp() -} - -func TestCopilotUserPeriodicMetrics_GetUsedCopilotCloudAgent(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CopilotUserPeriodicMetrics{UsedCopilotCloudAgent: &zeroValue} - c.GetUsedCopilotCloudAgent() - c = &CopilotUserPeriodicMetrics{} - c.GetUsedCopilotCloudAgent() - c = nil - c.GetUsedCopilotCloudAgent() -} - -func TestCopilotUserPeriodicMetrics_GetUsedCopilotCodeReviewActive(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CopilotUserPeriodicMetrics{UsedCopilotCodeReviewActive: &zeroValue} - c.GetUsedCopilotCodeReviewActive() - c = &CopilotUserPeriodicMetrics{} - c.GetUsedCopilotCodeReviewActive() - c = nil - c.GetUsedCopilotCodeReviewActive() -} - -func TestCopilotUserPeriodicMetrics_GetUsedCopilotCodeReviewPassive(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CopilotUserPeriodicMetrics{UsedCopilotCodeReviewPassive: &zeroValue} - c.GetUsedCopilotCodeReviewPassive() - c = &CopilotUserPeriodicMetrics{} - c.GetUsedCopilotCodeReviewPassive() - c = nil - c.GetUsedCopilotCodeReviewPassive() -} - -func TestCopilotUserPeriodicMetrics_GetUsedCopilotCodingAgent(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CopilotUserPeriodicMetrics{UsedCopilotCodingAgent: &zeroValue} - c.GetUsedCopilotCodingAgent() - c = &CopilotUserPeriodicMetrics{} - c.GetUsedCopilotCodingAgent() - c = nil - c.GetUsedCopilotCodingAgent() -} - -func TestCopilotUserPeriodicMetrics_GetUserID(tt *testing.T) { - tt.Parallel() - c := &CopilotUserPeriodicMetrics{} - c.GetUserID() - c = nil - c.GetUserID() -} - -func TestCopilotUserPeriodicMetrics_GetUserInitiatedInteractionCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CopilotUserPeriodicMetrics{UserInitiatedInteractionCount: &zeroValue} - c.GetUserInitiatedInteractionCount() - c = &CopilotUserPeriodicMetrics{} - c.GetUserInitiatedInteractionCount() - c = nil - c.GetUserInitiatedInteractionCount() -} - -func TestCopilotUserPeriodicMetrics_GetUserLogin(tt *testing.T) { - tt.Parallel() - c := &CopilotUserPeriodicMetrics{} - c.GetUserLogin() - c = nil - c.GetUserLogin() -} - -func TestCostCenter_GetAzureSubscription(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CostCenter{AzureSubscription: &zeroValue} - c.GetAzureSubscription() - c = &CostCenter{} - c.GetAzureSubscription() - c = nil - 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 - c := &CostCenter{State: &zeroValue} - c.GetState() - c = &CostCenter{} - c.GetState() - c = nil - 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 TestCreateAgentTaskRequest_GetBaseRef(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateAgentTaskRequest{BaseRef: &zeroValue} - c.GetBaseRef() - c = &CreateAgentTaskRequest{} - c.GetBaseRef() - c = nil - c.GetBaseRef() -} - -func TestCreateAgentTaskRequest_GetCreatePullRequest(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CreateAgentTaskRequest{CreatePullRequest: &zeroValue} - c.GetCreatePullRequest() - c = &CreateAgentTaskRequest{} - c.GetCreatePullRequest() - c = nil - c.GetCreatePullRequest() -} - -func TestCreateAgentTaskRequest_GetHeadRef(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateAgentTaskRequest{HeadRef: &zeroValue} - c.GetHeadRef() - c = &CreateAgentTaskRequest{} - c.GetHeadRef() - c = nil - c.GetHeadRef() -} - -func TestCreateAgentTaskRequest_GetModel(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateAgentTaskRequest{Model: &zeroValue} - c.GetModel() - c = &CreateAgentTaskRequest{} - c.GetModel() - c = nil - c.GetModel() -} - -func TestCreateAgentTaskRequest_GetPrompt(tt *testing.T) { - tt.Parallel() - c := &CreateAgentTaskRequest{} - c.GetPrompt() - c = nil - c.GetPrompt() -} - -func TestCreateArtifactDeploymentRequest_GetCluster(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateArtifactDeploymentRequest{Cluster: &zeroValue} - c.GetCluster() - c = &CreateArtifactDeploymentRequest{} - c.GetCluster() - c = nil - 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 - c := &CreateArtifactDeploymentRequest{GithubRepository: &zeroValue} - c.GetGithubRepository() - c = &CreateArtifactDeploymentRequest{} - c.GetGithubRepository() - c = nil - 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 - c := &CreateArtifactDeploymentRequest{PhysicalEnvironment: &zeroValue} - c.GetPhysicalEnvironment() - c = &CreateArtifactDeploymentRequest{} - c.GetPhysicalEnvironment() - c = nil - 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{} - c := &CreateArtifactDeploymentRequest{Tags: zeroValue} - c.GetTags() - c = &CreateArtifactDeploymentRequest{} - c.GetTags() - c = nil - c.GetTags() -} - -func TestCreateArtifactDeploymentRequest_GetVersion(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateArtifactDeploymentRequest{Version: &zeroValue} - c.GetVersion() - c = &CreateArtifactDeploymentRequest{} - c.GetVersion() - c = nil - c.GetVersion() -} - -func TestCreateArtifactStorageRequest_GetArtifactURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateArtifactStorageRequest{ArtifactURL: &zeroValue} - c.GetArtifactURL() - c = &CreateArtifactStorageRequest{} - c.GetArtifactURL() - c = nil - 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 - c := &CreateArtifactStorageRequest{GithubRepository: &zeroValue} - c.GetGithubRepository() - c = &CreateArtifactStorageRequest{} - c.GetGithubRepository() - c = nil - 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 - c := &CreateArtifactStorageRequest{Path: &zeroValue} - c.GetPath() - c = &CreateArtifactStorageRequest{} - c.GetPath() - c = nil - 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 - c := &CreateArtifactStorageRequest{Repository: &zeroValue} - c.GetRepository() - c = &CreateArtifactStorageRequest{} - c.GetRepository() - c = nil - c.GetRepository() -} - -func TestCreateArtifactStorageRequest_GetStatus(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateArtifactStorageRequest{Status: &zeroValue} - c.GetStatus() - c = &CreateArtifactStorageRequest{} - c.GetStatus() - c = nil - c.GetStatus() -} - -func TestCreateArtifactStorageRequest_GetVersion(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateArtifactStorageRequest{Version: &zeroValue} - c.GetVersion() - c = &CreateArtifactStorageRequest{} - c.GetVersion() - c = nil - c.GetVersion() -} - -func TestCreateAutolinkRequest_GetIsAlphanumeric(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CreateAutolinkRequest{IsAlphanumeric: &zeroValue} - c.GetIsAlphanumeric() - c = &CreateAutolinkRequest{} - c.GetIsAlphanumeric() - c = nil - c.GetIsAlphanumeric() -} - -func TestCreateAutolinkRequest_GetKeyPrefix(tt *testing.T) { - tt.Parallel() - c := &CreateAutolinkRequest{} - c.GetKeyPrefix() - c = nil - c.GetKeyPrefix() -} - -func TestCreateAutolinkRequest_GetURLTemplate(tt *testing.T) { - tt.Parallel() - c := &CreateAutolinkRequest{} - c.GetURLTemplate() - c = nil - c.GetURLTemplate() -} - -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 - c := &CreateCheckRunOptions{CompletedAt: &zeroValue} - c.GetCompletedAt() - c = &CreateCheckRunOptions{} - c.GetCompletedAt() - c = nil - c.GetCompletedAt() -} - -func TestCreateCheckRunOptions_GetConclusion(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateCheckRunOptions{Conclusion: &zeroValue} - c.GetConclusion() - c = &CreateCheckRunOptions{} - c.GetConclusion() - c = nil - c.GetConclusion() -} - -func TestCreateCheckRunOptions_GetDetailsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateCheckRunOptions{DetailsURL: &zeroValue} - c.GetDetailsURL() - c = &CreateCheckRunOptions{} - c.GetDetailsURL() - c = nil - c.GetDetailsURL() -} - -func TestCreateCheckRunOptions_GetExternalID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateCheckRunOptions{ExternalID: &zeroValue} - c.GetExternalID() - c = &CreateCheckRunOptions{} - c.GetExternalID() - c = nil - 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{} - c.GetOutput() - c = nil - c.GetOutput() -} - -func TestCreateCheckRunOptions_GetStartedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CreateCheckRunOptions{StartedAt: &zeroValue} - c.GetStartedAt() - c = &CreateCheckRunOptions{} - c.GetStartedAt() - c = nil - c.GetStartedAt() -} - -func TestCreateCheckRunOptions_GetStatus(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateCheckRunOptions{Status: &zeroValue} - c.GetStatus() - c = &CreateCheckRunOptions{} - c.GetStatus() - c = nil - c.GetStatus() -} - -func TestCreateCheckSuiteOptions_GetHeadBranch(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateCheckSuiteOptions{HeadBranch: &zeroValue} - c.GetHeadBranch() - c = &CreateCheckSuiteOptions{} - c.GetHeadBranch() - c = nil - 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 - c := &CreateCodespaceOptions{ClientIP: &zeroValue} - c.GetClientIP() - c = &CreateCodespaceOptions{} - c.GetClientIP() - c = nil - c.GetClientIP() -} - -func TestCreateCodespaceOptions_GetDevcontainerPath(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateCodespaceOptions{DevcontainerPath: &zeroValue} - c.GetDevcontainerPath() - c = &CreateCodespaceOptions{} - c.GetDevcontainerPath() - c = nil - c.GetDevcontainerPath() -} - -func TestCreateCodespaceOptions_GetDisplayName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateCodespaceOptions{DisplayName: &zeroValue} - c.GetDisplayName() - c = &CreateCodespaceOptions{} - c.GetDisplayName() - c = nil - c.GetDisplayName() -} - -func TestCreateCodespaceOptions_GetGeo(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateCodespaceOptions{Geo: &zeroValue} - c.GetGeo() - c = &CreateCodespaceOptions{} - c.GetGeo() - c = nil - c.GetGeo() -} - -func TestCreateCodespaceOptions_GetIdleTimeoutMinutes(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CreateCodespaceOptions{IdleTimeoutMinutes: &zeroValue} - c.GetIdleTimeoutMinutes() - c = &CreateCodespaceOptions{} - c.GetIdleTimeoutMinutes() - c = nil - c.GetIdleTimeoutMinutes() -} - -func TestCreateCodespaceOptions_GetLocation(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateCodespaceOptions{Location: &zeroValue} - c.GetLocation() - c = &CreateCodespaceOptions{} - c.GetLocation() - c = nil - c.GetLocation() -} - -func TestCreateCodespaceOptions_GetMachine(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateCodespaceOptions{Machine: &zeroValue} - c.GetMachine() - c = &CreateCodespaceOptions{} - c.GetMachine() - c = nil - c.GetMachine() -} - -func TestCreateCodespaceOptions_GetMultiRepoPermissionsOptOut(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CreateCodespaceOptions{MultiRepoPermissionsOptOut: &zeroValue} - c.GetMultiRepoPermissionsOptOut() - c = &CreateCodespaceOptions{} - c.GetMultiRepoPermissionsOptOut() - c = nil - c.GetMultiRepoPermissionsOptOut() -} - -func TestCreateCodespaceOptions_GetRef(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateCodespaceOptions{Ref: &zeroValue} - c.GetRef() - c = &CreateCodespaceOptions{} - c.GetRef() - c = nil - c.GetRef() -} - -func TestCreateCodespaceOptions_GetRetentionPeriodMinutes(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CreateCodespaceOptions{RetentionPeriodMinutes: &zeroValue} - c.GetRetentionPeriodMinutes() - c = &CreateCodespaceOptions{} - c.GetRetentionPeriodMinutes() - c = nil - c.GetRetentionPeriodMinutes() -} - -func TestCreateCodespaceOptions_GetWorkingDirectory(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateCodespaceOptions{WorkingDirectory: &zeroValue} - c.GetWorkingDirectory() - c = &CreateCodespaceOptions{} - c.GetWorkingDirectory() - c = nil - c.GetWorkingDirectory() -} - -func TestCreateCommitCommentRequest_GetBody(tt *testing.T) { - tt.Parallel() - c := &CreateCommitCommentRequest{} - c.GetBody() - c = nil - c.GetBody() -} - -func TestCreateCommitCommentRequest_GetLine(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CreateCommitCommentRequest{Line: &zeroValue} - c.GetLine() - c = &CreateCommitCommentRequest{} - c.GetLine() - c = nil - c.GetLine() -} - -func TestCreateCommitCommentRequest_GetPath(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateCommitCommentRequest{Path: &zeroValue} - c.GetPath() - c = &CreateCommitCommentRequest{} - c.GetPath() - c = nil - c.GetPath() -} - -func TestCreateCommitCommentRequest_GetPosition(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CreateCommitCommentRequest{Position: &zeroValue} - c.GetPosition() - c = &CreateCommitCommentRequest{} - c.GetPosition() - c = nil - c.GetPosition() -} - -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 - c := &CreateCustomOrgRoleRequest{BaseRole: &zeroValue} - c.GetBaseRole() - c = &CreateCustomOrgRoleRequest{} - c.GetBaseRole() - c = nil - c.GetBaseRole() -} - -func TestCreateCustomOrgRoleRequest_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateCustomOrgRoleRequest{Description: &zeroValue} - c.GetDescription() - c = &CreateCustomOrgRoleRequest{} - c.GetDescription() - c = nil - 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 TestCreateCustomRepoRoleRequest_GetBaseRole(tt *testing.T) { - tt.Parallel() - c := &CreateCustomRepoRoleRequest{} - c.GetBaseRole() - c = nil - c.GetBaseRole() -} - -func TestCreateCustomRepoRoleRequest_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateCustomRepoRoleRequest{Description: &zeroValue} - c.GetDescription() - c = &CreateCustomRepoRoleRequest{} - c.GetDescription() - c = nil - c.GetDescription() -} - -func TestCreateCustomRepoRoleRequest_GetName(tt *testing.T) { - tt.Parallel() - c := &CreateCustomRepoRoleRequest{} - c.GetName() - c = nil - c.GetName() -} - -func TestCreateCustomRepoRoleRequest_GetPermissions(tt *testing.T) { - tt.Parallel() - zeroValue := []string{} - c := &CreateCustomRepoRoleRequest{Permissions: zeroValue} - c.GetPermissions() - c = &CreateCustomRepoRoleRequest{} - c.GetPermissions() - c = nil - c.GetPermissions() -} - -func TestCreateDeployKeyRequest_GetKey(tt *testing.T) { - tt.Parallel() - c := &CreateDeployKeyRequest{} - c.GetKey() - c = nil - c.GetKey() -} - -func TestCreateDeployKeyRequest_GetReadOnly(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CreateDeployKeyRequest{ReadOnly: &zeroValue} - c.GetReadOnly() - c = &CreateDeployKeyRequest{} - c.GetReadOnly() - c = nil - c.GetReadOnly() -} - -func TestCreateDeployKeyRequest_GetTitle(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateDeployKeyRequest{Title: &zeroValue} - c.GetTitle() - c = &CreateDeployKeyRequest{} - c.GetTitle() - c = nil - c.GetTitle() -} - -func TestCreateDeploymentBranchPolicyRequest_GetName(tt *testing.T) { - tt.Parallel() - c := &CreateDeploymentBranchPolicyRequest{} - c.GetName() - c = nil - c.GetName() -} - -func TestCreateDeploymentBranchPolicyRequest_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateDeploymentBranchPolicyRequest{Type: &zeroValue} - c.GetType() - c = &CreateDeploymentBranchPolicyRequest{} - c.GetType() - c = nil - c.GetType() -} - -func TestCreateEnterpriseRunnerGroupRequest_GetAllowsPublicRepositories(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CreateEnterpriseRunnerGroupRequest{AllowsPublicRepositories: &zeroValue} - c.GetAllowsPublicRepositories() - c = &CreateEnterpriseRunnerGroupRequest{} - c.GetAllowsPublicRepositories() - c = nil - c.GetAllowsPublicRepositories() -} - -func TestCreateEnterpriseRunnerGroupRequest_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateEnterpriseRunnerGroupRequest{Name: &zeroValue} - c.GetName() - c = &CreateEnterpriseRunnerGroupRequest{} - c.GetName() - c = nil - c.GetName() -} - -func TestCreateEnterpriseRunnerGroupRequest_GetNetworkConfigurationID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateEnterpriseRunnerGroupRequest{NetworkConfigurationID: &zeroValue} - c.GetNetworkConfigurationID() - c = &CreateEnterpriseRunnerGroupRequest{} - c.GetNetworkConfigurationID() - c = nil - c.GetNetworkConfigurationID() -} - -func TestCreateEnterpriseRunnerGroupRequest_GetRestrictedToWorkflows(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CreateEnterpriseRunnerGroupRequest{RestrictedToWorkflows: &zeroValue} - c.GetRestrictedToWorkflows() - c = &CreateEnterpriseRunnerGroupRequest{} - c.GetRestrictedToWorkflows() - c = nil - 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 - c := &CreateEnterpriseRunnerGroupRequest{Visibility: &zeroValue} - c.GetVisibility() - c = &CreateEnterpriseRunnerGroupRequest{} - c.GetVisibility() - c = nil - c.GetVisibility() -} - -func TestCreateEvent_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateEvent{Description: &zeroValue} - c.GetDescription() - c = &CreateEvent{} - c.GetDescription() - c = nil - c.GetDescription() -} - -func TestCreateEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - c := &CreateEvent{} - c.GetInstallation() - c = nil - c.GetInstallation() -} - -func TestCreateEvent_GetMasterBranch(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateEvent{MasterBranch: &zeroValue} - c.GetMasterBranch() - c = &CreateEvent{} - c.GetMasterBranch() - c = nil - c.GetMasterBranch() -} - -func TestCreateEvent_GetOrg(tt *testing.T) { - tt.Parallel() - c := &CreateEvent{} - c.GetOrg() - c = nil - c.GetOrg() -} - -func TestCreateEvent_GetPusherType(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateEvent{PusherType: &zeroValue} - c.GetPusherType() - c = &CreateEvent{} - c.GetPusherType() - c = nil - c.GetPusherType() -} - -func TestCreateEvent_GetRef(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateEvent{Ref: &zeroValue} - c.GetRef() - c = &CreateEvent{} - c.GetRef() - c = nil - c.GetRef() -} - -func TestCreateEvent_GetRefType(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateEvent{RefType: &zeroValue} - c.GetRefType() - c = &CreateEvent{} - c.GetRefType() - c = nil - c.GetRefType() -} - -func TestCreateEvent_GetRepo(tt *testing.T) { - tt.Parallel() - c := &CreateEvent{} - c.GetRepo() - c = nil - c.GetRepo() -} - -func TestCreateEvent_GetSender(tt *testing.T) { - tt.Parallel() - c := &CreateEvent{} - c.GetSender() - c = nil - c.GetSender() -} - -func TestCreateGistCommentRequest_GetBody(tt *testing.T) { - tt.Parallel() - c := &CreateGistCommentRequest{} - c.GetBody() - c = nil - c.GetBody() -} - -func TestCreateGistFile_GetContent(tt *testing.T) { - tt.Parallel() - c := &CreateGistFile{} - c.GetContent() - c = nil - c.GetContent() -} - -func TestCreateGistRequest_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateGistRequest{Description: &zeroValue} - c.GetDescription() - c = &CreateGistRequest{} - c.GetDescription() - c = nil - c.GetDescription() -} - -func TestCreateGistRequest_GetPublic(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CreateGistRequest{Public: &zeroValue} - c.GetPublic() - c = &CreateGistRequest{} - c.GetPublic() - c = nil - c.GetPublic() -} - -func TestCreateHostedRunnerRequest_GetEnableStaticIP(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CreateHostedRunnerRequest{EnableStaticIP: &zeroValue} - c.GetEnableStaticIP() - c = &CreateHostedRunnerRequest{} - c.GetEnableStaticIP() - c = nil - 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 - c := &CreateHostedRunnerRequest{ImageGen: &zeroValue} - c.GetImageGen() - c = &CreateHostedRunnerRequest{} - c.GetImageGen() - c = nil - c.GetImageGen() -} - -func TestCreateHostedRunnerRequest_GetMaximumRunners(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &CreateHostedRunnerRequest{MaximumRunners: &zeroValue} - c.GetMaximumRunners() - c = &CreateHostedRunnerRequest{} - c.GetMaximumRunners() - c = nil - 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 TestCreateIssueLabelRequest_GetColor(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateIssueLabelRequest{Color: &zeroValue} - c.GetColor() - c = &CreateIssueLabelRequest{} - c.GetColor() - c = nil - c.GetColor() -} - -func TestCreateIssueLabelRequest_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateIssueLabelRequest{Description: &zeroValue} - c.GetDescription() - c = &CreateIssueLabelRequest{} - c.GetDescription() - c = nil - c.GetDescription() -} - -func TestCreateIssueLabelRequest_GetName(tt *testing.T) { - tt.Parallel() - c := &CreateIssueLabelRequest{} - c.GetName() - c = nil - c.GetName() -} - -func TestCreateIssueRequest_GetAssignee(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateIssueRequest{Assignee: &zeroValue} - c.GetAssignee() - c = &CreateIssueRequest{} - c.GetAssignee() - c = nil - c.GetAssignee() -} - -func TestCreateIssueRequest_GetAssignees(tt *testing.T) { - tt.Parallel() - zeroValue := []string{} - c := &CreateIssueRequest{Assignees: zeroValue} - c.GetAssignees() - c = &CreateIssueRequest{} - c.GetAssignees() - c = nil - c.GetAssignees() -} - -func TestCreateIssueRequest_GetBody(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateIssueRequest{Body: &zeroValue} - c.GetBody() - c = &CreateIssueRequest{} - c.GetBody() - c = nil - c.GetBody() -} - -func TestCreateIssueRequest_GetIssueFieldValues(tt *testing.T) { - tt.Parallel() - zeroValue := []*IssueRequestFieldValue{} - c := &CreateIssueRequest{IssueFieldValues: zeroValue} - c.GetIssueFieldValues() - c = &CreateIssueRequest{} - c.GetIssueFieldValues() - c = nil - c.GetIssueFieldValues() -} - -func TestCreateIssueRequest_GetLabels(tt *testing.T) { - tt.Parallel() - zeroValue := []string{} - c := &CreateIssueRequest{Labels: zeroValue} - c.GetLabels() - c = &CreateIssueRequest{} - c.GetLabels() - c = nil - c.GetLabels() -} - -func TestCreateIssueRequest_GetMilestone(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CreateIssueRequest{Milestone: &zeroValue} - c.GetMilestone() - c = &CreateIssueRequest{} - c.GetMilestone() - c = nil - c.GetMilestone() -} - -func TestCreateIssueRequest_GetTitle(tt *testing.T) { - tt.Parallel() - c := &CreateIssueRequest{} - c.GetTitle() - c = nil - c.GetTitle() -} - -func TestCreateIssueRequest_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateIssueRequest{Type: &zeroValue} - c.GetType() - c = &CreateIssueRequest{} - c.GetType() - c = nil - c.GetType() -} - -func TestCreateJITConfigRequest_GetLabels(tt *testing.T) { - tt.Parallel() - zeroValue := []string{} - c := &CreateJITConfigRequest{Labels: zeroValue} - c.GetLabels() - c = &CreateJITConfigRequest{} - c.GetLabels() - c = nil - c.GetLabels() -} - -func TestCreateJITConfigRequest_GetName(tt *testing.T) { - tt.Parallel() - c := &CreateJITConfigRequest{} - c.GetName() - c = nil - c.GetName() -} - -func TestCreateJITConfigRequest_GetRunnerGroupID(tt *testing.T) { - tt.Parallel() - c := &CreateJITConfigRequest{} - c.GetRunnerGroupID() - c = nil - c.GetRunnerGroupID() -} - -func TestCreateJITConfigRequest_GetWorkFolder(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateJITConfigRequest{WorkFolder: &zeroValue} - c.GetWorkFolder() - c = &CreateJITConfigRequest{} - c.GetWorkFolder() - c = nil - c.GetWorkFolder() -} - -func TestCreateMilestoneRequest_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateMilestoneRequest{Description: &zeroValue} - c.GetDescription() - c = &CreateMilestoneRequest{} - c.GetDescription() - c = nil - c.GetDescription() -} - -func TestCreateMilestoneRequest_GetDueOn(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CreateMilestoneRequest{DueOn: &zeroValue} - c.GetDueOn() - c = &CreateMilestoneRequest{} - c.GetDueOn() - c = nil - c.GetDueOn() -} - -func TestCreateMilestoneRequest_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateMilestoneRequest{State: &zeroValue} - c.GetState() - c = &CreateMilestoneRequest{} - c.GetState() - c = nil - c.GetState() -} - -func TestCreateMilestoneRequest_GetTitle(tt *testing.T) { - tt.Parallel() - c := &CreateMilestoneRequest{} - c.GetTitle() - c = nil - c.GetTitle() -} - -func TestCreateOrganizationPrivateRegistry_GetAccountID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateOrganizationPrivateRegistry{AccountID: &zeroValue} - c.GetAccountID() - c = &CreateOrganizationPrivateRegistry{} - c.GetAccountID() - c = nil - c.GetAccountID() -} - -func TestCreateOrganizationPrivateRegistry_GetAudience(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateOrganizationPrivateRegistry{Audience: &zeroValue} - c.GetAudience() - c = &CreateOrganizationPrivateRegistry{} - c.GetAudience() - c = nil - c.GetAudience() -} - -func TestCreateOrganizationPrivateRegistry_GetAuthType(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateOrganizationPrivateRegistry{AuthType: &zeroValue} - c.GetAuthType() - c = &CreateOrganizationPrivateRegistry{} - c.GetAuthType() - c = nil - c.GetAuthType() -} - -func TestCreateOrganizationPrivateRegistry_GetAWSRegion(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateOrganizationPrivateRegistry{AWSRegion: &zeroValue} - c.GetAWSRegion() - c = &CreateOrganizationPrivateRegistry{} - c.GetAWSRegion() - c = nil - c.GetAWSRegion() -} - -func TestCreateOrganizationPrivateRegistry_GetClientID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateOrganizationPrivateRegistry{ClientID: &zeroValue} - c.GetClientID() - c = &CreateOrganizationPrivateRegistry{} - c.GetClientID() - c = nil - c.GetClientID() -} - -func TestCreateOrganizationPrivateRegistry_GetDomain(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateOrganizationPrivateRegistry{Domain: &zeroValue} - c.GetDomain() - c = &CreateOrganizationPrivateRegistry{} - c.GetDomain() - c = nil - c.GetDomain() -} - -func TestCreateOrganizationPrivateRegistry_GetDomainOwner(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateOrganizationPrivateRegistry{DomainOwner: &zeroValue} - c.GetDomainOwner() - c = &CreateOrganizationPrivateRegistry{} - c.GetDomainOwner() - c = nil - c.GetDomainOwner() -} - -func TestCreateOrganizationPrivateRegistry_GetEncryptedValue(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateOrganizationPrivateRegistry{EncryptedValue: &zeroValue} - c.GetEncryptedValue() - c = &CreateOrganizationPrivateRegistry{} - c.GetEncryptedValue() - c = nil - c.GetEncryptedValue() -} - -func TestCreateOrganizationPrivateRegistry_GetIdentityMappingName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateOrganizationPrivateRegistry{IdentityMappingName: &zeroValue} - c.GetIdentityMappingName() - c = &CreateOrganizationPrivateRegistry{} - c.GetIdentityMappingName() - c = nil - c.GetIdentityMappingName() -} - -func TestCreateOrganizationPrivateRegistry_GetJFrogOIDCProviderName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateOrganizationPrivateRegistry{JFrogOIDCProviderName: &zeroValue} - c.GetJFrogOIDCProviderName() - c = &CreateOrganizationPrivateRegistry{} - c.GetJFrogOIDCProviderName() - c = nil - c.GetJFrogOIDCProviderName() -} - -func TestCreateOrganizationPrivateRegistry_GetKeyID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateOrganizationPrivateRegistry{KeyID: &zeroValue} - c.GetKeyID() - 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_GetReplacesBase(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CreateOrganizationPrivateRegistry{ReplacesBase: &zeroValue} - c.GetReplacesBase() - c = &CreateOrganizationPrivateRegistry{} - c.GetReplacesBase() - c = nil - c.GetReplacesBase() -} - -func TestCreateOrganizationPrivateRegistry_GetRoleName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateOrganizationPrivateRegistry{RoleName: &zeroValue} - c.GetRoleName() - c = &CreateOrganizationPrivateRegistry{} - c.GetRoleName() - c = nil - c.GetRoleName() -} - -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_GetTenantID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateOrganizationPrivateRegistry{TenantID: &zeroValue} - c.GetTenantID() - c = &CreateOrganizationPrivateRegistry{} - c.GetTenantID() - c = nil - c.GetTenantID() -} - -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 - c := &CreateOrganizationPrivateRegistry{Username: &zeroValue} - c.GetUsername() - c = &CreateOrganizationPrivateRegistry{} - c.GetUsername() - c = nil - 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 - c := &CreateOrgInvitationOptions{Email: &zeroValue} - c.GetEmail() - c = &CreateOrgInvitationOptions{} - c.GetEmail() - c = nil - c.GetEmail() -} - -func TestCreateOrgInvitationOptions_GetInviteeID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &CreateOrgInvitationOptions{InviteeID: &zeroValue} - c.GetInviteeID() - c = &CreateOrgInvitationOptions{} - c.GetInviteeID() - c = nil - c.GetInviteeID() -} - -func TestCreateOrgInvitationOptions_GetRole(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateOrgInvitationOptions{Role: &zeroValue} - c.GetRole() - c = &CreateOrgInvitationOptions{} - c.GetRole() - c = nil - 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 TestCreateOrUpdateIssueTypesOptions_GetColor(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateOrUpdateIssueTypesOptions{Color: &zeroValue} - c.GetColor() - c = &CreateOrUpdateIssueTypesOptions{} - c.GetColor() - c = nil - c.GetColor() -} - -func TestCreateOrUpdateIssueTypesOptions_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateOrUpdateIssueTypesOptions{Description: &zeroValue} - c.GetDescription() - c = &CreateOrUpdateIssueTypesOptions{} - c.GetDescription() - c = nil - 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 - c := &CreateOrUpdateIssueTypesOptions{IsPrivate: &zeroValue} - c.GetIsPrivate() - c = &CreateOrUpdateIssueTypesOptions{} - c.GetIsPrivate() - c = nil - c.GetIsPrivate() -} - -func TestCreateOrUpdateIssueTypesOptions_GetName(tt *testing.T) { - tt.Parallel() - c := &CreateOrUpdateIssueTypesOptions{} - c.GetName() - c = nil - c.GetName() -} - -func TestCreateProjectV2DraftItemRequest_GetBody(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateProjectV2DraftItemRequest{Body: &zeroValue} - c.GetBody() - c = &CreateProjectV2DraftItemRequest{} - c.GetBody() - c = nil - c.GetBody() -} - -func TestCreateProjectV2DraftItemRequest_GetTitle(tt *testing.T) { - tt.Parallel() - c := &CreateProjectV2DraftItemRequest{} - c.GetTitle() - c = nil - c.GetTitle() -} - -func TestCreateProjectV2ViewRequest_GetFilter(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateProjectV2ViewRequest{Filter: &zeroValue} - c.GetFilter() - c = &CreateProjectV2ViewRequest{} - c.GetFilter() - c = nil - c.GetFilter() -} - -func TestCreateProjectV2ViewRequest_GetLayout(tt *testing.T) { - tt.Parallel() - c := &CreateProjectV2ViewRequest{} - c.GetLayout() - c = nil - c.GetLayout() -} - -func TestCreateProjectV2ViewRequest_GetName(tt *testing.T) { - tt.Parallel() - c := &CreateProjectV2ViewRequest{} - c.GetName() - c = nil - c.GetName() -} - -func TestCreateProjectV2ViewRequest_GetVisibleFields(tt *testing.T) { - tt.Parallel() - zeroValue := []int64{} - c := &CreateProjectV2ViewRequest{VisibleFields: zeroValue} - c.GetVisibleFields() - c = &CreateProjectV2ViewRequest{} - c.GetVisibleFields() - c = nil - c.GetVisibleFields() -} - -func TestCreateProtectedChanges_GetFrom(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CreateProtectedChanges{From: &zeroValue} - c.GetFrom() - c = &CreateProtectedChanges{} - c.GetFrom() - c = nil - c.GetFrom() -} - -func TestCreatePullRequest_GetBase(tt *testing.T) { - tt.Parallel() - c := &CreatePullRequest{} - c.GetBase() - c = nil - c.GetBase() -} - -func TestCreatePullRequest_GetBody(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreatePullRequest{Body: &zeroValue} - c.GetBody() - c = &CreatePullRequest{} - c.GetBody() - c = nil - c.GetBody() -} - -func TestCreatePullRequest_GetDraft(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CreatePullRequest{Draft: &zeroValue} - c.GetDraft() - c = &CreatePullRequest{} - c.GetDraft() - c = nil - c.GetDraft() -} - -func TestCreatePullRequest_GetHead(tt *testing.T) { - tt.Parallel() - c := &CreatePullRequest{} - c.GetHead() - c = nil - c.GetHead() -} - -func TestCreatePullRequest_GetHeadRepo(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreatePullRequest{HeadRepo: &zeroValue} - c.GetHeadRepo() - c = &CreatePullRequest{} - c.GetHeadRepo() - c = nil - c.GetHeadRepo() -} - -func TestCreatePullRequest_GetIssue(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CreatePullRequest{Issue: &zeroValue} - c.GetIssue() - c = &CreatePullRequest{} - c.GetIssue() - c = nil - c.GetIssue() -} - -func TestCreatePullRequest_GetMaintainerCanModify(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CreatePullRequest{MaintainerCanModify: &zeroValue} - c.GetMaintainerCanModify() - c = &CreatePullRequest{} - c.GetMaintainerCanModify() - c = nil - c.GetMaintainerCanModify() -} - -func TestCreatePullRequest_GetTitle(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreatePullRequest{Title: &zeroValue} - c.GetTitle() - c = &CreatePullRequest{} - c.GetTitle() - c = nil - c.GetTitle() -} - -func TestCreatePullRequestCommentRequest_GetBody(tt *testing.T) { - tt.Parallel() - c := &CreatePullRequestCommentRequest{} - c.GetBody() - c = nil - c.GetBody() -} - -func TestCreatePullRequestCommentRequest_GetCommitID(tt *testing.T) { - tt.Parallel() - c := &CreatePullRequestCommentRequest{} - c.GetCommitID() - c = nil - c.GetCommitID() -} - -func TestCreatePullRequestCommentRequest_GetInReplyTo(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &CreatePullRequestCommentRequest{InReplyTo: &zeroValue} - c.GetInReplyTo() - c = &CreatePullRequestCommentRequest{} - c.GetInReplyTo() - c = nil - c.GetInReplyTo() -} - -func TestCreatePullRequestCommentRequest_GetLine(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CreatePullRequestCommentRequest{Line: &zeroValue} - c.GetLine() - c = &CreatePullRequestCommentRequest{} - c.GetLine() - c = nil - c.GetLine() -} - -func TestCreatePullRequestCommentRequest_GetPath(tt *testing.T) { - tt.Parallel() - c := &CreatePullRequestCommentRequest{} - c.GetPath() - c = nil - c.GetPath() -} - -func TestCreatePullRequestCommentRequest_GetPosition(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CreatePullRequestCommentRequest{Position: &zeroValue} - c.GetPosition() - c = &CreatePullRequestCommentRequest{} - c.GetPosition() - c = nil - c.GetPosition() -} - -func TestCreatePullRequestCommentRequest_GetSide(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreatePullRequestCommentRequest{Side: &zeroValue} - c.GetSide() - c = &CreatePullRequestCommentRequest{} - c.GetSide() - c = nil - c.GetSide() -} - -func TestCreatePullRequestCommentRequest_GetStartLine(tt *testing.T) { - tt.Parallel() - var zeroValue int - c := &CreatePullRequestCommentRequest{StartLine: &zeroValue} - c.GetStartLine() - c = &CreatePullRequestCommentRequest{} - c.GetStartLine() - c = nil - c.GetStartLine() -} - -func TestCreatePullRequestCommentRequest_GetStartSide(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreatePullRequestCommentRequest{StartSide: &zeroValue} - c.GetStartSide() - c = &CreatePullRequestCommentRequest{} - c.GetStartSide() - c = nil - c.GetStartSide() -} - -func TestCreatePullRequestCommentRequest_GetSubjectType(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreatePullRequestCommentRequest{SubjectType: &zeroValue} - c.GetSubjectType() - c = &CreatePullRequestCommentRequest{} - c.GetSubjectType() - c = nil - c.GetSubjectType() -} - -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 TestCreateReleaseRequest_GetBody(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateReleaseRequest{Body: &zeroValue} - c.GetBody() - c = &CreateReleaseRequest{} - c.GetBody() - c = nil - c.GetBody() -} - -func TestCreateReleaseRequest_GetDiscussionCategoryName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateReleaseRequest{DiscussionCategoryName: &zeroValue} - c.GetDiscussionCategoryName() - c = &CreateReleaseRequest{} - c.GetDiscussionCategoryName() - c = nil - c.GetDiscussionCategoryName() -} - -func TestCreateReleaseRequest_GetDraft(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CreateReleaseRequest{Draft: &zeroValue} - c.GetDraft() - c = &CreateReleaseRequest{} - c.GetDraft() - c = nil - c.GetDraft() -} - -func TestCreateReleaseRequest_GetGenerateReleaseNotes(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CreateReleaseRequest{GenerateReleaseNotes: &zeroValue} - c.GetGenerateReleaseNotes() - c = &CreateReleaseRequest{} - c.GetGenerateReleaseNotes() - c = nil - c.GetGenerateReleaseNotes() -} - -func TestCreateReleaseRequest_GetMakeLatest(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateReleaseRequest{MakeLatest: &zeroValue} - c.GetMakeLatest() - c = &CreateReleaseRequest{} - c.GetMakeLatest() - c = nil - c.GetMakeLatest() -} - -func TestCreateReleaseRequest_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateReleaseRequest{Name: &zeroValue} - c.GetName() - c = &CreateReleaseRequest{} - c.GetName() - c = nil - c.GetName() -} - -func TestCreateReleaseRequest_GetPrerelease(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CreateReleaseRequest{Prerelease: &zeroValue} - c.GetPrerelease() - c = &CreateReleaseRequest{} - c.GetPrerelease() - c = nil - c.GetPrerelease() -} - -func TestCreateReleaseRequest_GetTagName(tt *testing.T) { - tt.Parallel() - c := &CreateReleaseRequest{} - c.GetTagName() - c = nil - c.GetTagName() -} - -func TestCreateReleaseRequest_GetTargetCommitish(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateReleaseRequest{TargetCommitish: &zeroValue} - c.GetTargetCommitish() - c = &CreateReleaseRequest{} - c.GetTargetCommitish() - c = nil - c.GetTargetCommitish() -} - -func TestCreateRunnerGroupRequest_GetAllowsPublicRepositories(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CreateRunnerGroupRequest{AllowsPublicRepositories: &zeroValue} - c.GetAllowsPublicRepositories() - c = &CreateRunnerGroupRequest{} - c.GetAllowsPublicRepositories() - c = nil - c.GetAllowsPublicRepositories() -} - -func TestCreateRunnerGroupRequest_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateRunnerGroupRequest{Name: &zeroValue} - c.GetName() - c = &CreateRunnerGroupRequest{} - c.GetName() - c = nil - c.GetName() -} - -func TestCreateRunnerGroupRequest_GetNetworkConfigurationID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateRunnerGroupRequest{NetworkConfigurationID: &zeroValue} - c.GetNetworkConfigurationID() - c = &CreateRunnerGroupRequest{} - c.GetNetworkConfigurationID() - c = nil - c.GetNetworkConfigurationID() -} - -func TestCreateRunnerGroupRequest_GetRestrictedToWorkflows(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CreateRunnerGroupRequest{RestrictedToWorkflows: &zeroValue} - c.GetRestrictedToWorkflows() - c = &CreateRunnerGroupRequest{} - c.GetRestrictedToWorkflows() - c = nil - 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 - c := &CreateRunnerGroupRequest{Visibility: &zeroValue} - c.GetVisibility() - c = &CreateRunnerGroupRequest{} - c.GetVisibility() - c = nil - c.GetVisibility() -} - -func TestCreateSSHSigningKeyRequest_GetKey(tt *testing.T) { - tt.Parallel() - c := &CreateSSHSigningKeyRequest{} - c.GetKey() - c = nil - c.GetKey() -} - -func TestCreateSSHSigningKeyRequest_GetTitle(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateSSHSigningKeyRequest{Title: &zeroValue} - c.GetTitle() - c = &CreateSSHSigningKeyRequest{} - c.GetTitle() - c = nil - c.GetTitle() -} - -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{} - c.GetTagger() - c = nil - c.GetTagger() -} - -func TestCreateTag_GetType(tt *testing.T) { - tt.Parallel() - c := &CreateTag{} - c.GetType() - c = nil - c.GetType() -} - -func TestCreateTeamRequest_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateTeamRequest{Description: &zeroValue} - c.GetDescription() - c = &CreateTeamRequest{} - c.GetDescription() - c = nil - c.GetDescription() -} - -func TestCreateTeamRequest_GetMaintainers(tt *testing.T) { - tt.Parallel() - zeroValue := []string{} - c := &CreateTeamRequest{Maintainers: zeroValue} - c.GetMaintainers() - c = &CreateTeamRequest{} - c.GetMaintainers() - c = nil - c.GetMaintainers() -} - -func TestCreateTeamRequest_GetName(tt *testing.T) { - tt.Parallel() - c := &CreateTeamRequest{} - c.GetName() - c = nil - c.GetName() -} - -func TestCreateTeamRequest_GetNotificationSetting(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateTeamRequest{NotificationSetting: &zeroValue} - c.GetNotificationSetting() - c = &CreateTeamRequest{} - c.GetNotificationSetting() - c = nil - c.GetNotificationSetting() -} - -func TestCreateTeamRequest_GetParentTeamID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &CreateTeamRequest{ParentTeamID: &zeroValue} - c.GetParentTeamID() - c = &CreateTeamRequest{} - c.GetParentTeamID() - c = nil - c.GetParentTeamID() -} - -func TestCreateTeamRequest_GetParentTeamSlug(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateTeamRequest{ParentTeamSlug: &zeroValue} - c.GetParentTeamSlug() - c = &CreateTeamRequest{} - c.GetParentTeamSlug() - c = nil - c.GetParentTeamSlug() -} - -func TestCreateTeamRequest_GetPermission(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateTeamRequest{Permission: &zeroValue} - c.GetPermission() - c = &CreateTeamRequest{} - c.GetPermission() - c = nil - c.GetPermission() -} - -func TestCreateTeamRequest_GetPrivacy(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateTeamRequest{Privacy: &zeroValue} - c.GetPrivacy() - c = &CreateTeamRequest{} - c.GetPrivacy() - c = nil - c.GetPrivacy() -} - -func TestCreateTeamRequest_GetRepoNames(tt *testing.T) { - tt.Parallel() - zeroValue := []string{} - c := &CreateTeamRequest{RepoNames: zeroValue} - c.GetRepoNames() - c = &CreateTeamRequest{} - c.GetRepoNames() - c = nil - c.GetRepoNames() -} - -func TestCreateUpdateEnvironment_GetCanAdminsBypass(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CreateUpdateEnvironment{CanAdminsBypass: &zeroValue} - c.GetCanAdminsBypass() - c = &CreateUpdateEnvironment{} - c.GetCanAdminsBypass() - c = nil - c.GetCanAdminsBypass() -} - -func TestCreateUpdateEnvironment_GetDeploymentBranchPolicy(tt *testing.T) { - tt.Parallel() - c := &CreateUpdateEnvironment{} - c.GetDeploymentBranchPolicy() - c = nil - c.GetDeploymentBranchPolicy() -} - -func TestCreateUpdateEnvironment_GetPreventSelfReview(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CreateUpdateEnvironment{PreventSelfReview: &zeroValue} - c.GetPreventSelfReview() - c = &CreateUpdateEnvironment{} - c.GetPreventSelfReview() - c = nil - 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 - c := &CreateUpdateEnvironment{WaitTimer: &zeroValue} - c.GetWaitTimer() - c = &CreateUpdateEnvironment{} - c.GetWaitTimer() - c = nil - c.GetWaitTimer() -} - -func TestCreateUserImpersonationRequest_GetScopes(tt *testing.T) { - tt.Parallel() - zeroValue := []string{} - c := &CreateUserImpersonationRequest{Scopes: zeroValue} - c.GetScopes() - c = &CreateUserImpersonationRequest{} - c.GetScopes() - c = nil - c.GetScopes() -} - -func TestCreateUserKeyRequest_GetKey(tt *testing.T) { - tt.Parallel() - c := &CreateUserKeyRequest{} - c.GetKey() - c = nil - c.GetKey() -} - -func TestCreateUserKeyRequest_GetTitle(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateUserKeyRequest{Title: &zeroValue} - c.GetTitle() - c = &CreateUserKeyRequest{} - c.GetTitle() - c = nil - c.GetTitle() -} - -func TestCreateUserRequest_GetEmail(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CreateUserRequest{Email: &zeroValue} - c.GetEmail() - c = &CreateUserRequest{} - c.GetEmail() - c = nil - 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 - c := &CreateUserRequest{Suspended: &zeroValue} - c.GetSuspended() - c = &CreateUserRequest{} - c.GetSuspended() - c = nil - c.GetSuspended() -} - -func TestCreateWorkflowDispatchEventRequest_GetInputs(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]any{} - c := &CreateWorkflowDispatchEventRequest{Inputs: zeroValue} - c.GetInputs() - c = &CreateWorkflowDispatchEventRequest{} - c.GetInputs() - c = nil - 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 - c := &CreateWorkflowDispatchEventRequest{ReturnRunDetails: &zeroValue} - c.GetReturnRunDetails() - c = &CreateWorkflowDispatchEventRequest{} - c.GetReturnRunDetails() - c = nil - c.GetReturnRunDetails() -} - -func TestCreationInfo_GetCreated(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CreationInfo{Created: &zeroValue} - c.GetCreated() - c = &CreationInfo{} - c.GetCreated() - c = nil - 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 - c := &CredentialAuthorization{AuthorizedCredentialExpiresAt: &zeroValue} - c.GetAuthorizedCredentialExpiresAt() - c = &CredentialAuthorization{} - c.GetAuthorizedCredentialExpiresAt() - c = nil - c.GetAuthorizedCredentialExpiresAt() -} - -func TestCredentialAuthorization_GetAuthorizedCredentialID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &CredentialAuthorization{AuthorizedCredentialID: &zeroValue} - c.GetAuthorizedCredentialID() - c = &CredentialAuthorization{} - c.GetAuthorizedCredentialID() - c = nil - c.GetAuthorizedCredentialID() -} - -func TestCredentialAuthorization_GetAuthorizedCredentialNote(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CredentialAuthorization{AuthorizedCredentialNote: &zeroValue} - c.GetAuthorizedCredentialNote() - c = &CredentialAuthorization{} - c.GetAuthorizedCredentialNote() - c = nil - c.GetAuthorizedCredentialNote() -} - -func TestCredentialAuthorization_GetAuthorizedCredentialTitle(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CredentialAuthorization{AuthorizedCredentialTitle: &zeroValue} - c.GetAuthorizedCredentialTitle() - c = &CredentialAuthorization{} - c.GetAuthorizedCredentialTitle() - c = nil - c.GetAuthorizedCredentialTitle() -} - -func TestCredentialAuthorization_GetCredentialAccessedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CredentialAuthorization{CredentialAccessedAt: &zeroValue} - c.GetCredentialAccessedAt() - c = &CredentialAuthorization{} - c.GetCredentialAccessedAt() - c = nil - c.GetCredentialAccessedAt() -} - -func TestCredentialAuthorization_GetCredentialAuthorizedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CredentialAuthorization{CredentialAuthorizedAt: &zeroValue} - c.GetCredentialAuthorizedAt() - c = &CredentialAuthorization{} - c.GetCredentialAuthorizedAt() - c = nil - c.GetCredentialAuthorizedAt() -} - -func TestCredentialAuthorization_GetCredentialID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &CredentialAuthorization{CredentialID: &zeroValue} - c.GetCredentialID() - c = &CredentialAuthorization{} - c.GetCredentialID() - c = nil - c.GetCredentialID() -} - -func TestCredentialAuthorization_GetCredentialType(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CredentialAuthorization{CredentialType: &zeroValue} - c.GetCredentialType() - c = &CredentialAuthorization{} - c.GetCredentialType() - c = nil - c.GetCredentialType() -} - -func TestCredentialAuthorization_GetFingerprint(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CredentialAuthorization{Fingerprint: &zeroValue} - c.GetFingerprint() - c = &CredentialAuthorization{} - c.GetFingerprint() - c = nil - c.GetFingerprint() -} - -func TestCredentialAuthorization_GetLogin(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CredentialAuthorization{Login: &zeroValue} - c.GetLogin() - c = &CredentialAuthorization{} - c.GetLogin() - c = nil - 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 - c := &CredentialAuthorization{TokenLastEight: &zeroValue} - c.GetTokenLastEight() - c = &CredentialAuthorization{} - c.GetTokenLastEight() - c = nil - 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 - c := &Credit{Type: &zeroValue} - c.GetType() - c = &Credit{} - c.GetType() - c = nil - c.GetType() -} - -func TestCredit_GetUser(tt *testing.T) { - tt.Parallel() - c := &Credit{} - c.GetUser() - c = nil - c.GetUser() -} - -func TestCustomDeploymentProtectionRule_GetApp(tt *testing.T) { - tt.Parallel() - c := &CustomDeploymentProtectionRule{} - c.GetApp() - c = nil - c.GetApp() -} - -func TestCustomDeploymentProtectionRule_GetEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CustomDeploymentProtectionRule{Enabled: &zeroValue} - c.GetEnabled() - c = &CustomDeploymentProtectionRule{} - c.GetEnabled() - c = nil - c.GetEnabled() -} - -func TestCustomDeploymentProtectionRule_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &CustomDeploymentProtectionRule{ID: &zeroValue} - c.GetID() - c = &CustomDeploymentProtectionRule{} - c.GetID() - c = nil - c.GetID() -} - -func TestCustomDeploymentProtectionRule_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CustomDeploymentProtectionRule{NodeID: &zeroValue} - c.GetNodeID() - c = &CustomDeploymentProtectionRule{} - c.GetNodeID() - c = nil - c.GetNodeID() -} - -func TestCustomDeploymentProtectionRuleApp_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &CustomDeploymentProtectionRuleApp{ID: &zeroValue} - c.GetID() - c = &CustomDeploymentProtectionRuleApp{} - c.GetID() - c = nil - c.GetID() -} - -func TestCustomDeploymentProtectionRuleApp_GetIntegrationURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CustomDeploymentProtectionRuleApp{IntegrationURL: &zeroValue} - c.GetIntegrationURL() - c = &CustomDeploymentProtectionRuleApp{} - c.GetIntegrationURL() - c = nil - c.GetIntegrationURL() -} - -func TestCustomDeploymentProtectionRuleApp_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CustomDeploymentProtectionRuleApp{NodeID: &zeroValue} - c.GetNodeID() - c = &CustomDeploymentProtectionRuleApp{} - c.GetNodeID() - c = nil - c.GetNodeID() -} - -func TestCustomDeploymentProtectionRuleApp_GetSlug(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CustomDeploymentProtectionRuleApp{Slug: &zeroValue} - c.GetSlug() - c = &CustomDeploymentProtectionRuleApp{} - c.GetSlug() - c = nil - c.GetSlug() -} - -func TestCustomDeploymentProtectionRuleRequest_GetIntegrationID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &CustomDeploymentProtectionRuleRequest{IntegrationID: &zeroValue} - c.GetIntegrationID() - c = &CustomDeploymentProtectionRuleRequest{} - c.GetIntegrationID() - c = nil - c.GetIntegrationID() -} - -func TestCustomOrgRole_GetBaseRole(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CustomOrgRole{BaseRole: &zeroValue} - c.GetBaseRole() - c = &CustomOrgRole{} - c.GetBaseRole() - c = nil - c.GetBaseRole() -} - -func TestCustomOrgRole_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CustomOrgRole{CreatedAt: &zeroValue} - c.GetCreatedAt() - c = &CustomOrgRole{} - c.GetCreatedAt() - c = nil - c.GetCreatedAt() -} - -func TestCustomOrgRole_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CustomOrgRole{Description: &zeroValue} - c.GetDescription() - c = &CustomOrgRole{} - c.GetDescription() - c = nil - c.GetDescription() -} - -func TestCustomOrgRole_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &CustomOrgRole{ID: &zeroValue} - c.GetID() - c = &CustomOrgRole{} - c.GetID() - c = nil - c.GetID() -} - -func TestCustomOrgRole_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CustomOrgRole{Name: &zeroValue} - c.GetName() - c = &CustomOrgRole{} - c.GetName() - c = nil - c.GetName() -} - -func TestCustomOrgRole_GetOrg(tt *testing.T) { - tt.Parallel() - c := &CustomOrgRole{} - c.GetOrg() - c = nil - 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 - c := &CustomOrgRole{Source: &zeroValue} - c.GetSource() - c = &CustomOrgRole{} - c.GetSource() - c = nil - c.GetSource() -} - -func TestCustomOrgRole_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CustomOrgRole{UpdatedAt: &zeroValue} - c.GetUpdatedAt() - c = &CustomOrgRole{} - c.GetUpdatedAt() - c = nil - c.GetUpdatedAt() -} - -func TestCustomPatternBackfillScan_GetPatternScope(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CustomPatternBackfillScan{PatternScope: &zeroValue} - c.GetPatternScope() - c = &CustomPatternBackfillScan{} - c.GetPatternScope() - c = nil - c.GetPatternScope() -} - -func TestCustomPatternBackfillScan_GetPatternSlug(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CustomPatternBackfillScan{PatternSlug: &zeroValue} - c.GetPatternSlug() - c = &CustomPatternBackfillScan{} - c.GetPatternSlug() - c = nil - 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 - c := &CustomProperty{Description: &zeroValue} - c.GetDescription() - c = &CustomProperty{} - c.GetDescription() - c = nil - c.GetDescription() -} - -func TestCustomProperty_GetPropertyName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CustomProperty{PropertyName: &zeroValue} - c.GetPropertyName() - c = &CustomProperty{} - c.GetPropertyName() - c = nil - c.GetPropertyName() -} - -func TestCustomProperty_GetRequired(tt *testing.T) { - tt.Parallel() - var zeroValue bool - c := &CustomProperty{Required: &zeroValue} - c.GetRequired() - c = &CustomProperty{} - c.GetRequired() - c = nil - c.GetRequired() -} - -func TestCustomProperty_GetSourceType(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CustomProperty{SourceType: &zeroValue} - c.GetSourceType() - c = &CustomProperty{} - c.GetSourceType() - c = nil - c.GetSourceType() -} - -func TestCustomProperty_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CustomProperty{URL: &zeroValue} - c.GetURL() - c = &CustomProperty{} - c.GetURL() - c = nil - c.GetURL() -} - -func TestCustomProperty_GetValuesEditableBy(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CustomProperty{ValuesEditableBy: &zeroValue} - c.GetValuesEditableBy() - c = &CustomProperty{} - c.GetValuesEditableBy() - c = nil - 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 - c := &CustomPropertyEvent{Action: &zeroValue} - c.GetAction() - c = &CustomPropertyEvent{} - c.GetAction() - c = nil - c.GetAction() -} - -func TestCustomPropertyEvent_GetDefinition(tt *testing.T) { - tt.Parallel() - c := &CustomPropertyEvent{} - c.GetDefinition() - c = nil - c.GetDefinition() -} - -func TestCustomPropertyEvent_GetEnterprise(tt *testing.T) { - tt.Parallel() - c := &CustomPropertyEvent{} - c.GetEnterprise() - c = nil - c.GetEnterprise() -} - -func TestCustomPropertyEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - c := &CustomPropertyEvent{} - c.GetInstallation() - c = nil - c.GetInstallation() -} - -func TestCustomPropertyEvent_GetOrg(tt *testing.T) { - tt.Parallel() - c := &CustomPropertyEvent{} - c.GetOrg() - c = nil - c.GetOrg() -} - -func TestCustomPropertyEvent_GetSender(tt *testing.T) { - tt.Parallel() - c := &CustomPropertyEvent{} - c.GetSender() - c = nil - 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 - c := &CustomPropertyValuesEvent{Action: &zeroValue} - c.GetAction() - c = &CustomPropertyValuesEvent{} - c.GetAction() - c = nil - c.GetAction() -} - -func TestCustomPropertyValuesEvent_GetEnterprise(tt *testing.T) { - tt.Parallel() - c := &CustomPropertyValuesEvent{} - c.GetEnterprise() - c = nil - c.GetEnterprise() -} - -func TestCustomPropertyValuesEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - c := &CustomPropertyValuesEvent{} - c.GetInstallation() - c = nil - 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{} - c.GetOrg() - c = nil - c.GetOrg() -} - -func TestCustomPropertyValuesEvent_GetRepo(tt *testing.T) { - tt.Parallel() - c := &CustomPropertyValuesEvent{} - c.GetRepo() - c = nil - c.GetRepo() -} - -func TestCustomPropertyValuesEvent_GetSender(tt *testing.T) { - tt.Parallel() - c := &CustomPropertyValuesEvent{} - c.GetSender() - c = nil - c.GetSender() -} - -func TestCustomRepoRoles_GetBaseRole(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CustomRepoRoles{BaseRole: &zeroValue} - c.GetBaseRole() - c = &CustomRepoRoles{} - c.GetBaseRole() - c = nil - c.GetBaseRole() -} - -func TestCustomRepoRoles_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - c := &CustomRepoRoles{CreatedAt: &zeroValue} - c.GetCreatedAt() - c = &CustomRepoRoles{} - c.GetCreatedAt() - c = nil - c.GetCreatedAt() -} - -func TestCustomRepoRoles_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CustomRepoRoles{Description: &zeroValue} - c.GetDescription() - c = &CustomRepoRoles{} - c.GetDescription() - c = nil - c.GetDescription() -} - -func TestCustomRepoRoles_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - c := &CustomRepoRoles{ID: &zeroValue} - c.GetID() - c = &CustomRepoRoles{} - c.GetID() - c = nil - c.GetID() -} - -func TestCustomRepoRoles_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - c := &CustomRepoRoles{Name: &zeroValue} - c.GetName() - c = &CustomRepoRoles{} - c.GetName() - c = nil - c.GetName() -} - -func TestCustomRepoRoles_GetOrg(tt *testing.T) { - tt.Parallel() - c := &CustomRepoRoles{} - c.GetOrg() - c = nil - 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 - c := &CustomRepoRoles{UpdatedAt: &zeroValue} - c.GetUpdatedAt() - c = &CustomRepoRoles{} - c.GetUpdatedAt() - c = nil - 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 - d := &DefaultSetupConfiguration{QuerySuite: &zeroValue} - d.GetQuerySuite() - d = &DefaultSetupConfiguration{} - d.GetQuerySuite() - d = nil - d.GetQuerySuite() -} - -func TestDefaultSetupConfiguration_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DefaultSetupConfiguration{State: &zeroValue} - d.GetState() - d = &DefaultSetupConfiguration{} - d.GetState() - d = nil - d.GetState() -} - -func TestDefaultSetupConfiguration_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - d := &DefaultSetupConfiguration{UpdatedAt: &zeroValue} - d.GetUpdatedAt() - d = &DefaultSetupConfiguration{} - d.GetUpdatedAt() - d = nil - d.GetUpdatedAt() -} - -func TestDefaultWorkflowPermissionEnterprise_GetCanApprovePullRequestReviews(tt *testing.T) { - tt.Parallel() - var zeroValue bool - d := &DefaultWorkflowPermissionEnterprise{CanApprovePullRequestReviews: &zeroValue} - d.GetCanApprovePullRequestReviews() - d = &DefaultWorkflowPermissionEnterprise{} - d.GetCanApprovePullRequestReviews() - d = nil - d.GetCanApprovePullRequestReviews() -} - -func TestDefaultWorkflowPermissionEnterprise_GetDefaultWorkflowPermissions(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DefaultWorkflowPermissionEnterprise{DefaultWorkflowPermissions: &zeroValue} - d.GetDefaultWorkflowPermissions() - d = &DefaultWorkflowPermissionEnterprise{} - d.GetDefaultWorkflowPermissions() - d = nil - d.GetDefaultWorkflowPermissions() -} - -func TestDefaultWorkflowPermissionOrganization_GetCanApprovePullRequestReviews(tt *testing.T) { - tt.Parallel() - var zeroValue bool - d := &DefaultWorkflowPermissionOrganization{CanApprovePullRequestReviews: &zeroValue} - d.GetCanApprovePullRequestReviews() - d = &DefaultWorkflowPermissionOrganization{} - d.GetCanApprovePullRequestReviews() - d = nil - d.GetCanApprovePullRequestReviews() -} - -func TestDefaultWorkflowPermissionOrganization_GetDefaultWorkflowPermissions(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DefaultWorkflowPermissionOrganization{DefaultWorkflowPermissions: &zeroValue} - d.GetDefaultWorkflowPermissions() - d = &DefaultWorkflowPermissionOrganization{} - d.GetDefaultWorkflowPermissions() - d = nil - d.GetDefaultWorkflowPermissions() -} - -func TestDefaultWorkflowPermissionRepository_GetCanApprovePullRequestReviews(tt *testing.T) { - tt.Parallel() - var zeroValue bool - d := &DefaultWorkflowPermissionRepository{CanApprovePullRequestReviews: &zeroValue} - d.GetCanApprovePullRequestReviews() - d = &DefaultWorkflowPermissionRepository{} - d.GetCanApprovePullRequestReviews() - d = nil - d.GetCanApprovePullRequestReviews() -} - -func TestDefaultWorkflowPermissionRepository_GetDefaultWorkflowPermissions(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DefaultWorkflowPermissionRepository{DefaultWorkflowPermissions: &zeroValue} - d.GetDefaultWorkflowPermissions() - d = &DefaultWorkflowPermissionRepository{} - d.GetDefaultWorkflowPermissions() - d = nil - d.GetDefaultWorkflowPermissions() -} - -func TestDeleteAnalysis_GetConfirmDeleteURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeleteAnalysis{ConfirmDeleteURL: &zeroValue} - d.GetConfirmDeleteURL() - d = &DeleteAnalysis{} - d.GetConfirmDeleteURL() - d = nil - d.GetConfirmDeleteURL() -} - -func TestDeleteAnalysis_GetNextAnalysisURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeleteAnalysis{NextAnalysisURL: &zeroValue} - d.GetNextAnalysisURL() - d = &DeleteAnalysis{} - d.GetNextAnalysisURL() - d = nil - 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{} - d.GetInstallation() - d = nil - d.GetInstallation() -} - -func TestDeleteEvent_GetOrg(tt *testing.T) { - tt.Parallel() - d := &DeleteEvent{} - d.GetOrg() - d = nil - d.GetOrg() -} - -func TestDeleteEvent_GetPusherType(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeleteEvent{PusherType: &zeroValue} - d.GetPusherType() - d = &DeleteEvent{} - d.GetPusherType() - d = nil - d.GetPusherType() -} - -func TestDeleteEvent_GetRef(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeleteEvent{Ref: &zeroValue} - d.GetRef() - d = &DeleteEvent{} - d.GetRef() - d = nil - d.GetRef() -} - -func TestDeleteEvent_GetRefType(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeleteEvent{RefType: &zeroValue} - d.GetRefType() - d = &DeleteEvent{} - d.GetRefType() - d = nil - d.GetRefType() -} - -func TestDeleteEvent_GetRepo(tt *testing.T) { - tt.Parallel() - d := &DeleteEvent{} - d.GetRepo() - d = nil - d.GetRepo() -} - -func TestDeleteEvent_GetSender(tt *testing.T) { - tt.Parallel() - d := &DeleteEvent{} - d.GetSender() - d = nil - d.GetSender() -} - -func TestDependabotAlert_GetAutoDismissedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - d := &DependabotAlert{AutoDismissedAt: &zeroValue} - d.GetAutoDismissedAt() - d = &DependabotAlert{} - d.GetAutoDismissedAt() - d = nil - d.GetAutoDismissedAt() -} - -func TestDependabotAlert_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - d := &DependabotAlert{CreatedAt: &zeroValue} - d.GetCreatedAt() - d = &DependabotAlert{} - d.GetCreatedAt() - d = nil - d.GetCreatedAt() -} - -func TestDependabotAlert_GetDependency(tt *testing.T) { - tt.Parallel() - d := &DependabotAlert{} - d.GetDependency() - d = nil - d.GetDependency() -} - -func TestDependabotAlert_GetDismissedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - d := &DependabotAlert{DismissedAt: &zeroValue} - d.GetDismissedAt() - d = &DependabotAlert{} - d.GetDismissedAt() - d = nil - d.GetDismissedAt() -} - -func TestDependabotAlert_GetDismissedBy(tt *testing.T) { - tt.Parallel() - d := &DependabotAlert{} - d.GetDismissedBy() - d = nil - d.GetDismissedBy() -} - -func TestDependabotAlert_GetDismissedComment(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependabotAlert{DismissedComment: &zeroValue} - d.GetDismissedComment() - d = &DependabotAlert{} - d.GetDismissedComment() - d = nil - d.GetDismissedComment() -} - -func TestDependabotAlert_GetDismissedReason(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependabotAlert{DismissedReason: &zeroValue} - d.GetDismissedReason() - d = &DependabotAlert{} - d.GetDismissedReason() - d = nil - d.GetDismissedReason() -} - -func TestDependabotAlert_GetFixedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - d := &DependabotAlert{FixedAt: &zeroValue} - d.GetFixedAt() - d = &DependabotAlert{} - d.GetFixedAt() - d = nil - d.GetFixedAt() -} - -func TestDependabotAlert_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependabotAlert{HTMLURL: &zeroValue} - d.GetHTMLURL() - d = &DependabotAlert{} - d.GetHTMLURL() - d = nil - d.GetHTMLURL() -} - -func TestDependabotAlert_GetNumber(tt *testing.T) { - tt.Parallel() - var zeroValue int - d := &DependabotAlert{Number: &zeroValue} - d.GetNumber() - d = &DependabotAlert{} - d.GetNumber() - d = nil - d.GetNumber() -} - -func TestDependabotAlert_GetRepository(tt *testing.T) { - tt.Parallel() - d := &DependabotAlert{} - d.GetRepository() - d = nil - d.GetRepository() -} - -func TestDependabotAlert_GetSecurityAdvisory(tt *testing.T) { - tt.Parallel() - d := &DependabotAlert{} - d.GetSecurityAdvisory() - d = nil - d.GetSecurityAdvisory() -} - -func TestDependabotAlert_GetSecurityVulnerability(tt *testing.T) { - tt.Parallel() - d := &DependabotAlert{} - d.GetSecurityVulnerability() - d = nil - d.GetSecurityVulnerability() -} - -func TestDependabotAlert_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependabotAlert{State: &zeroValue} - d.GetState() - d = &DependabotAlert{} - d.GetState() - d = nil - d.GetState() -} - -func TestDependabotAlert_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - d := &DependabotAlert{UpdatedAt: &zeroValue} - d.GetUpdatedAt() - d = &DependabotAlert{} - d.GetUpdatedAt() - d = nil - d.GetUpdatedAt() -} - -func TestDependabotAlert_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependabotAlert{URL: &zeroValue} - d.GetURL() - d = &DependabotAlert{} - d.GetURL() - d = nil - d.GetURL() -} - -func TestDependabotAlertEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependabotAlertEvent{Action: &zeroValue} - d.GetAction() - d = &DependabotAlertEvent{} - d.GetAction() - d = nil - d.GetAction() -} - -func TestDependabotAlertEvent_GetAlert(tt *testing.T) { - tt.Parallel() - d := &DependabotAlertEvent{} - d.GetAlert() - d = nil - d.GetAlert() -} - -func TestDependabotAlertEvent_GetEnterprise(tt *testing.T) { - tt.Parallel() - d := &DependabotAlertEvent{} - d.GetEnterprise() - d = nil - d.GetEnterprise() -} - -func TestDependabotAlertEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - d := &DependabotAlertEvent{} - d.GetInstallation() - d = nil - d.GetInstallation() -} - -func TestDependabotAlertEvent_GetOrganization(tt *testing.T) { - tt.Parallel() - d := &DependabotAlertEvent{} - d.GetOrganization() - d = nil - d.GetOrganization() -} - -func TestDependabotAlertEvent_GetRepo(tt *testing.T) { - tt.Parallel() - d := &DependabotAlertEvent{} - d.GetRepo() - d = nil - d.GetRepo() -} - -func TestDependabotAlertEvent_GetSender(tt *testing.T) { - tt.Parallel() - d := &DependabotAlertEvent{} - d.GetSender() - d = nil - d.GetSender() -} - -func TestDependabotAlertState_GetDismissedComment(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependabotAlertState{DismissedComment: &zeroValue} - d.GetDismissedComment() - d = &DependabotAlertState{} - d.GetDismissedComment() - d = nil - d.GetDismissedComment() -} - -func TestDependabotAlertState_GetDismissedReason(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependabotAlertState{DismissedReason: &zeroValue} - d.GetDismissedReason() - d = &DependabotAlertState{} - d.GetDismissedReason() - d = nil - d.GetDismissedReason() -} - -func TestDependabotAlertState_GetState(tt *testing.T) { - tt.Parallel() - d := &DependabotAlertState{} - d.GetState() - d = nil - d.GetState() -} - -func TestDependabotSecurityAdvisory_GetClassification(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependabotSecurityAdvisory{Classification: &zeroValue} - d.GetClassification() - d = &DependabotSecurityAdvisory{} - d.GetClassification() - d = nil - d.GetClassification() -} - -func TestDependabotSecurityAdvisory_GetCVEID(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependabotSecurityAdvisory{CVEID: &zeroValue} - d.GetCVEID() - d = &DependabotSecurityAdvisory{} - d.GetCVEID() - d = nil - d.GetCVEID() -} - -func TestDependabotSecurityAdvisory_GetCVSS(tt *testing.T) { - tt.Parallel() - d := &DependabotSecurityAdvisory{} - d.GetCVSS() - d = nil - d.GetCVSS() -} - -func TestDependabotSecurityAdvisory_GetCVSSSeverities(tt *testing.T) { - tt.Parallel() - d := &DependabotSecurityAdvisory{} - d.GetCVSSSeverities() - d = nil - d.GetCVSSSeverities() -} - -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 - d := &DependabotSecurityAdvisory{Description: &zeroValue} - d.GetDescription() - d = &DependabotSecurityAdvisory{} - d.GetDescription() - d = nil - d.GetDescription() -} - -func TestDependabotSecurityAdvisory_GetEPSS(tt *testing.T) { - tt.Parallel() - d := &DependabotSecurityAdvisory{} - d.GetEPSS() - d = nil - d.GetEPSS() -} - -func TestDependabotSecurityAdvisory_GetGHSAID(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependabotSecurityAdvisory{GHSAID: &zeroValue} - d.GetGHSAID() - d = &DependabotSecurityAdvisory{} - d.GetGHSAID() - d = nil - 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 - d := &DependabotSecurityAdvisory{PublishedAt: &zeroValue} - d.GetPublishedAt() - d = &DependabotSecurityAdvisory{} - d.GetPublishedAt() - d = nil - 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 - d := &DependabotSecurityAdvisory{Severity: &zeroValue} - d.GetSeverity() - d = &DependabotSecurityAdvisory{} - d.GetSeverity() - d = nil - d.GetSeverity() -} - -func TestDependabotSecurityAdvisory_GetSummary(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependabotSecurityAdvisory{Summary: &zeroValue} - d.GetSummary() - d = &DependabotSecurityAdvisory{} - d.GetSummary() - d = nil - d.GetSummary() -} - -func TestDependabotSecurityAdvisory_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - d := &DependabotSecurityAdvisory{UpdatedAt: &zeroValue} - d.GetUpdatedAt() - d = &DependabotSecurityAdvisory{} - d.GetUpdatedAt() - d = nil - 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 - d := &DependabotSecurityAdvisory{WithdrawnAt: &zeroValue} - d.GetWithdrawnAt() - d = &DependabotSecurityAdvisory{} - d.GetWithdrawnAt() - d = nil - d.GetWithdrawnAt() -} - -func TestDependabotSecurityUpdates_GetStatus(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependabotSecurityUpdates{Status: &zeroValue} - d.GetStatus() - d = &DependabotSecurityUpdates{} - d.GetStatus() - d = nil - d.GetStatus() -} - -func TestDependency_GetManifestPath(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &Dependency{ManifestPath: &zeroValue} - d.GetManifestPath() - d = &Dependency{} - d.GetManifestPath() - d = nil - d.GetManifestPath() -} - -func TestDependency_GetPackage(tt *testing.T) { - tt.Parallel() - d := &Dependency{} - d.GetPackage() - d = nil - d.GetPackage() -} - -func TestDependency_GetScope(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &Dependency{Scope: &zeroValue} - d.GetScope() - d = &Dependency{} - d.GetScope() - d = nil - d.GetScope() -} - -func TestDependencyGraphAutosubmitActionOptions_GetLabeledRunners(tt *testing.T) { - tt.Parallel() - var zeroValue bool - d := &DependencyGraphAutosubmitActionOptions{LabeledRunners: &zeroValue} - d.GetLabeledRunners() - d = &DependencyGraphAutosubmitActionOptions{} - d.GetLabeledRunners() - d = nil - d.GetLabeledRunners() -} - -func TestDependencyGraphSnapshot_GetDetector(tt *testing.T) { - tt.Parallel() - d := &DependencyGraphSnapshot{} - d.GetDetector() - d = nil - d.GetDetector() -} - -func TestDependencyGraphSnapshot_GetJob(tt *testing.T) { - tt.Parallel() - d := &DependencyGraphSnapshot{} - d.GetJob() - d = nil - d.GetJob() -} - -func TestDependencyGraphSnapshot_GetMetadata(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]any{} - d := &DependencyGraphSnapshot{Metadata: zeroValue} - d.GetMetadata() - d = &DependencyGraphSnapshot{} - d.GetMetadata() - d = nil - d.GetMetadata() -} - -func TestDependencyGraphSnapshot_GetRef(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependencyGraphSnapshot{Ref: &zeroValue} - d.GetRef() - d = &DependencyGraphSnapshot{} - d.GetRef() - d = nil - d.GetRef() -} - -func TestDependencyGraphSnapshot_GetScanned(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - d := &DependencyGraphSnapshot{Scanned: &zeroValue} - d.GetScanned() - d = &DependencyGraphSnapshot{} - d.GetScanned() - d = nil - d.GetScanned() -} - -func TestDependencyGraphSnapshot_GetSha(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependencyGraphSnapshot{Sha: &zeroValue} - d.GetSha() - d = &DependencyGraphSnapshot{} - d.GetSha() - d = nil - 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 - d := &DependencyGraphSnapshotCreationData{CreatedAt: &zeroValue} - d.GetCreatedAt() - d = &DependencyGraphSnapshotCreationData{} - d.GetCreatedAt() - d = nil - 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 - d := &DependencyGraphSnapshotCreationData{Message: &zeroValue} - d.GetMessage() - d = &DependencyGraphSnapshotCreationData{} - d.GetMessage() - d = nil - d.GetMessage() -} - -func TestDependencyGraphSnapshotCreationData_GetResult(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependencyGraphSnapshotCreationData{Result: &zeroValue} - d.GetResult() - d = &DependencyGraphSnapshotCreationData{} - d.GetResult() - d = nil - d.GetResult() -} - -func TestDependencyGraphSnapshotDetector_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependencyGraphSnapshotDetector{Name: &zeroValue} - d.GetName() - d = &DependencyGraphSnapshotDetector{} - d.GetName() - d = nil - d.GetName() -} - -func TestDependencyGraphSnapshotDetector_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependencyGraphSnapshotDetector{URL: &zeroValue} - d.GetURL() - d = &DependencyGraphSnapshotDetector{} - d.GetURL() - d = nil - d.GetURL() -} - -func TestDependencyGraphSnapshotDetector_GetVersion(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependencyGraphSnapshotDetector{Version: &zeroValue} - d.GetVersion() - d = &DependencyGraphSnapshotDetector{} - d.GetVersion() - d = nil - d.GetVersion() -} - -func TestDependencyGraphSnapshotJob_GetCorrelator(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependencyGraphSnapshotJob{Correlator: &zeroValue} - d.GetCorrelator() - d = &DependencyGraphSnapshotJob{} - d.GetCorrelator() - d = nil - d.GetCorrelator() -} - -func TestDependencyGraphSnapshotJob_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependencyGraphSnapshotJob{HTMLURL: &zeroValue} - d.GetHTMLURL() - d = &DependencyGraphSnapshotJob{} - d.GetHTMLURL() - d = nil - d.GetHTMLURL() -} - -func TestDependencyGraphSnapshotJob_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependencyGraphSnapshotJob{ID: &zeroValue} - d.GetID() - d = &DependencyGraphSnapshotJob{} - d.GetID() - d = nil - d.GetID() -} - -func TestDependencyGraphSnapshotManifest_GetFile(tt *testing.T) { - tt.Parallel() - d := &DependencyGraphSnapshotManifest{} - d.GetFile() - d = nil - d.GetFile() -} - -func TestDependencyGraphSnapshotManifest_GetMetadata(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]any{} - d := &DependencyGraphSnapshotManifest{Metadata: zeroValue} - d.GetMetadata() - d = &DependencyGraphSnapshotManifest{} - d.GetMetadata() - d = nil - d.GetMetadata() -} - -func TestDependencyGraphSnapshotManifest_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependencyGraphSnapshotManifest{Name: &zeroValue} - d.GetName() - d = &DependencyGraphSnapshotManifest{} - d.GetName() - d = nil - d.GetName() -} - -func TestDependencyGraphSnapshotManifestFile_GetSourceLocation(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependencyGraphSnapshotManifestFile{SourceLocation: &zeroValue} - d.GetSourceLocation() - d = &DependencyGraphSnapshotManifestFile{} - d.GetSourceLocation() - d = nil - 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{} - d := &DependencyGraphSnapshotResolvedDependency{Metadata: zeroValue} - d.GetMetadata() - d = &DependencyGraphSnapshotResolvedDependency{} - d.GetMetadata() - d = nil - d.GetMetadata() -} - -func TestDependencyGraphSnapshotResolvedDependency_GetPackageURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependencyGraphSnapshotResolvedDependency{PackageURL: &zeroValue} - d.GetPackageURL() - d = &DependencyGraphSnapshotResolvedDependency{} - d.GetPackageURL() - d = nil - d.GetPackageURL() -} - -func TestDependencyGraphSnapshotResolvedDependency_GetRelationship(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependencyGraphSnapshotResolvedDependency{Relationship: &zeroValue} - d.GetRelationship() - d = &DependencyGraphSnapshotResolvedDependency{} - d.GetRelationship() - d = nil - d.GetRelationship() -} - -func TestDependencyGraphSnapshotResolvedDependency_GetScope(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DependencyGraphSnapshotResolvedDependency{Scope: &zeroValue} - d.GetScope() - d = &DependencyGraphSnapshotResolvedDependency{} - d.GetScope() - d = nil - d.GetScope() -} - -func TestDeployKeyEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeployKeyEvent{Action: &zeroValue} - d.GetAction() - d = &DeployKeyEvent{} - d.GetAction() - d = nil - d.GetAction() -} - -func TestDeployKeyEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - d := &DeployKeyEvent{} - d.GetInstallation() - d = nil - d.GetInstallation() -} - -func TestDeployKeyEvent_GetKey(tt *testing.T) { - tt.Parallel() - d := &DeployKeyEvent{} - d.GetKey() - d = nil - d.GetKey() -} - -func TestDeployKeyEvent_GetOrganization(tt *testing.T) { - tt.Parallel() - d := &DeployKeyEvent{} - d.GetOrganization() - d = nil - d.GetOrganization() -} - -func TestDeployKeyEvent_GetRepo(tt *testing.T) { - tt.Parallel() - d := &DeployKeyEvent{} - d.GetRepo() - d = nil - d.GetRepo() -} - -func TestDeployKeyEvent_GetSender(tt *testing.T) { - tt.Parallel() - d := &DeployKeyEvent{} - d.GetSender() - d = nil - d.GetSender() -} - -func TestDeployment_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - d := &Deployment{CreatedAt: &zeroValue} - d.GetCreatedAt() - d = &Deployment{} - d.GetCreatedAt() - d = nil - d.GetCreatedAt() -} - -func TestDeployment_GetCreator(tt *testing.T) { - tt.Parallel() - d := &Deployment{} - d.GetCreator() - d = nil - d.GetCreator() -} - -func TestDeployment_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &Deployment{Description: &zeroValue} - d.GetDescription() - d = &Deployment{} - d.GetDescription() - d = nil - d.GetDescription() -} - -func TestDeployment_GetEnvironment(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &Deployment{Environment: &zeroValue} - d.GetEnvironment() - d = &Deployment{} - d.GetEnvironment() - d = nil - d.GetEnvironment() -} - -func TestDeployment_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - d := &Deployment{ID: &zeroValue} - d.GetID() - d = &Deployment{} - d.GetID() - d = nil - d.GetID() -} - -func TestDeployment_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &Deployment{NodeID: &zeroValue} - d.GetNodeID() - d = &Deployment{} - d.GetNodeID() - d = nil - 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 - d := &Deployment{Ref: &zeroValue} - d.GetRef() - d = &Deployment{} - d.GetRef() - d = nil - d.GetRef() -} - -func TestDeployment_GetRepositoryURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &Deployment{RepositoryURL: &zeroValue} - d.GetRepositoryURL() - d = &Deployment{} - d.GetRepositoryURL() - d = nil - d.GetRepositoryURL() -} - -func TestDeployment_GetSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &Deployment{SHA: &zeroValue} - d.GetSHA() - d = &Deployment{} - d.GetSHA() - d = nil - d.GetSHA() -} - -func TestDeployment_GetStatusesURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &Deployment{StatusesURL: &zeroValue} - d.GetStatusesURL() - d = &Deployment{} - d.GetStatusesURL() - d = nil - d.GetStatusesURL() -} - -func TestDeployment_GetTask(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &Deployment{Task: &zeroValue} - d.GetTask() - d = &Deployment{} - d.GetTask() - d = nil - d.GetTask() -} - -func TestDeployment_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - d := &Deployment{UpdatedAt: &zeroValue} - d.GetUpdatedAt() - d = &Deployment{} - d.GetUpdatedAt() - d = nil - d.GetUpdatedAt() -} - -func TestDeployment_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &Deployment{URL: &zeroValue} - d.GetURL() - d = &Deployment{} - d.GetURL() - d = nil - d.GetURL() -} - -func TestDeploymentBranchPolicy_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - d := &DeploymentBranchPolicy{ID: &zeroValue} - d.GetID() - d = &DeploymentBranchPolicy{} - d.GetID() - d = nil - d.GetID() -} - -func TestDeploymentBranchPolicy_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentBranchPolicy{Name: &zeroValue} - d.GetName() - d = &DeploymentBranchPolicy{} - d.GetName() - d = nil - d.GetName() -} - -func TestDeploymentBranchPolicy_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentBranchPolicy{NodeID: &zeroValue} - d.GetNodeID() - d = &DeploymentBranchPolicy{} - d.GetNodeID() - d = nil - d.GetNodeID() -} - -func TestDeploymentBranchPolicy_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentBranchPolicy{Type: &zeroValue} - d.GetType() - d = &DeploymentBranchPolicy{} - d.GetType() - d = nil - 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 - d := &DeploymentBranchPolicyResponse{TotalCount: &zeroValue} - d.GetTotalCount() - d = &DeploymentBranchPolicyResponse{} - d.GetTotalCount() - d = nil - d.GetTotalCount() -} - -func TestDeploymentEvent_GetDeployment(tt *testing.T) { - tt.Parallel() - d := &DeploymentEvent{} - d.GetDeployment() - d = nil - d.GetDeployment() -} - -func TestDeploymentEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - d := &DeploymentEvent{} - d.GetInstallation() - d = nil - d.GetInstallation() -} - -func TestDeploymentEvent_GetOrg(tt *testing.T) { - tt.Parallel() - d := &DeploymentEvent{} - d.GetOrg() - d = nil - d.GetOrg() -} - -func TestDeploymentEvent_GetRepo(tt *testing.T) { - tt.Parallel() - d := &DeploymentEvent{} - d.GetRepo() - d = nil - d.GetRepo() -} - -func TestDeploymentEvent_GetSender(tt *testing.T) { - tt.Parallel() - d := &DeploymentEvent{} - d.GetSender() - d = nil - d.GetSender() -} - -func TestDeploymentEvent_GetWorkflow(tt *testing.T) { - tt.Parallel() - d := &DeploymentEvent{} - d.GetWorkflow() - d = nil - d.GetWorkflow() -} - -func TestDeploymentEvent_GetWorkflowRun(tt *testing.T) { - tt.Parallel() - d := &DeploymentEvent{} - d.GetWorkflowRun() - d = nil - d.GetWorkflowRun() -} - -func TestDeploymentProtectionRuleEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentProtectionRuleEvent{Action: &zeroValue} - d.GetAction() - d = &DeploymentProtectionRuleEvent{} - d.GetAction() - d = nil - d.GetAction() -} - -func TestDeploymentProtectionRuleEvent_GetDeployment(tt *testing.T) { - tt.Parallel() - d := &DeploymentProtectionRuleEvent{} - d.GetDeployment() - d = nil - d.GetDeployment() -} - -func TestDeploymentProtectionRuleEvent_GetDeploymentCallbackURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentProtectionRuleEvent{DeploymentCallbackURL: &zeroValue} - d.GetDeploymentCallbackURL() - d = &DeploymentProtectionRuleEvent{} - d.GetDeploymentCallbackURL() - d = nil - d.GetDeploymentCallbackURL() -} - -func TestDeploymentProtectionRuleEvent_GetEnvironment(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentProtectionRuleEvent{Environment: &zeroValue} - d.GetEnvironment() - d = &DeploymentProtectionRuleEvent{} - d.GetEnvironment() - d = nil - d.GetEnvironment() -} - -func TestDeploymentProtectionRuleEvent_GetEvent(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentProtectionRuleEvent{Event: &zeroValue} - d.GetEvent() - d = &DeploymentProtectionRuleEvent{} - d.GetEvent() - d = nil - d.GetEvent() -} - -func TestDeploymentProtectionRuleEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - d := &DeploymentProtectionRuleEvent{} - d.GetInstallation() - d = nil - d.GetInstallation() -} - -func TestDeploymentProtectionRuleEvent_GetOrganization(tt *testing.T) { - tt.Parallel() - d := &DeploymentProtectionRuleEvent{} - d.GetOrganization() - d = nil - 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{} - d.GetRepo() - d = nil - d.GetRepo() -} - -func TestDeploymentProtectionRuleEvent_GetSender(tt *testing.T) { - tt.Parallel() - d := &DeploymentProtectionRuleEvent{} - d.GetSender() - d = nil - d.GetSender() -} - -func TestDeploymentRequest_GetAutoMerge(tt *testing.T) { - tt.Parallel() - var zeroValue bool - d := &DeploymentRequest{AutoMerge: &zeroValue} - d.GetAutoMerge() - d = &DeploymentRequest{} - d.GetAutoMerge() - d = nil - d.GetAutoMerge() -} - -func TestDeploymentRequest_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentRequest{Description: &zeroValue} - d.GetDescription() - d = &DeploymentRequest{} - d.GetDescription() - d = nil - d.GetDescription() -} - -func TestDeploymentRequest_GetEnvironment(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentRequest{Environment: &zeroValue} - d.GetEnvironment() - d = &DeploymentRequest{} - d.GetEnvironment() - d = nil - 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 - d := &DeploymentRequest{ProductionEnvironment: &zeroValue} - d.GetProductionEnvironment() - d = &DeploymentRequest{} - d.GetProductionEnvironment() - d = nil - d.GetProductionEnvironment() -} - -func TestDeploymentRequest_GetRef(tt *testing.T) { - tt.Parallel() - d := &DeploymentRequest{} - d.GetRef() - d = nil - d.GetRef() -} - -func TestDeploymentRequest_GetRequiredContexts(tt *testing.T) { - tt.Parallel() - zeroValue := []string{} - d := &DeploymentRequest{RequiredContexts: zeroValue} - d.GetRequiredContexts() - d = &DeploymentRequest{} - d.GetRequiredContexts() - d = nil - d.GetRequiredContexts() -} - -func TestDeploymentRequest_GetTask(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentRequest{Task: &zeroValue} - d.GetTask() - d = &DeploymentRequest{} - d.GetTask() - d = nil - d.GetTask() -} - -func TestDeploymentRequest_GetTransientEnvironment(tt *testing.T) { - tt.Parallel() - var zeroValue bool - d := &DeploymentRequest{TransientEnvironment: &zeroValue} - d.GetTransientEnvironment() - d = &DeploymentRequest{} - d.GetTransientEnvironment() - d = nil - d.GetTransientEnvironment() -} - -func TestDeploymentReviewEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentReviewEvent{Action: &zeroValue} - d.GetAction() - d = &DeploymentReviewEvent{} - d.GetAction() - d = nil - d.GetAction() -} - -func TestDeploymentReviewEvent_GetApprover(tt *testing.T) { - tt.Parallel() - d := &DeploymentReviewEvent{} - d.GetApprover() - d = nil - d.GetApprover() -} - -func TestDeploymentReviewEvent_GetComment(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentReviewEvent{Comment: &zeroValue} - d.GetComment() - d = &DeploymentReviewEvent{} - d.GetComment() - d = nil - d.GetComment() -} - -func TestDeploymentReviewEvent_GetEnterprise(tt *testing.T) { - tt.Parallel() - d := &DeploymentReviewEvent{} - d.GetEnterprise() - d = nil - d.GetEnterprise() -} - -func TestDeploymentReviewEvent_GetEnvironment(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentReviewEvent{Environment: &zeroValue} - d.GetEnvironment() - d = &DeploymentReviewEvent{} - d.GetEnvironment() - d = nil - d.GetEnvironment() -} - -func TestDeploymentReviewEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - d := &DeploymentReviewEvent{} - d.GetInstallation() - d = nil - d.GetInstallation() -} - -func TestDeploymentReviewEvent_GetOrganization(tt *testing.T) { - tt.Parallel() - d := &DeploymentReviewEvent{} - d.GetOrganization() - d = nil - d.GetOrganization() -} - -func TestDeploymentReviewEvent_GetRepo(tt *testing.T) { - tt.Parallel() - d := &DeploymentReviewEvent{} - d.GetRepo() - d = nil - d.GetRepo() -} - -func TestDeploymentReviewEvent_GetRequester(tt *testing.T) { - tt.Parallel() - d := &DeploymentReviewEvent{} - d.GetRequester() - d = nil - 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{} - d.GetSender() - d = nil - d.GetSender() -} - -func TestDeploymentReviewEvent_GetSince(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentReviewEvent{Since: &zeroValue} - d.GetSince() - d = &DeploymentReviewEvent{} - d.GetSince() - d = nil - d.GetSince() -} - -func TestDeploymentReviewEvent_GetWorkflowJobRun(tt *testing.T) { - tt.Parallel() - d := &DeploymentReviewEvent{} - d.GetWorkflowJobRun() - d = nil - 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{} - d.GetWorkflowRun() - d = nil - 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 - d := &DeploymentStatus{CreatedAt: &zeroValue} - d.GetCreatedAt() - d = &DeploymentStatus{} - d.GetCreatedAt() - d = nil - d.GetCreatedAt() -} - -func TestDeploymentStatus_GetCreator(tt *testing.T) { - tt.Parallel() - d := &DeploymentStatus{} - d.GetCreator() - d = nil - d.GetCreator() -} - -func TestDeploymentStatus_GetDeploymentURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentStatus{DeploymentURL: &zeroValue} - d.GetDeploymentURL() - d = &DeploymentStatus{} - d.GetDeploymentURL() - d = nil - d.GetDeploymentURL() -} - -func TestDeploymentStatus_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentStatus{Description: &zeroValue} - d.GetDescription() - d = &DeploymentStatus{} - d.GetDescription() - d = nil - d.GetDescription() -} - -func TestDeploymentStatus_GetEnvironment(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentStatus{Environment: &zeroValue} - d.GetEnvironment() - d = &DeploymentStatus{} - d.GetEnvironment() - d = nil - d.GetEnvironment() -} - -func TestDeploymentStatus_GetEnvironmentURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentStatus{EnvironmentURL: &zeroValue} - d.GetEnvironmentURL() - d = &DeploymentStatus{} - d.GetEnvironmentURL() - d = nil - d.GetEnvironmentURL() -} - -func TestDeploymentStatus_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - d := &DeploymentStatus{ID: &zeroValue} - d.GetID() - d = &DeploymentStatus{} - d.GetID() - d = nil - d.GetID() -} - -func TestDeploymentStatus_GetLogURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentStatus{LogURL: &zeroValue} - d.GetLogURL() - d = &DeploymentStatus{} - d.GetLogURL() - d = nil - d.GetLogURL() -} - -func TestDeploymentStatus_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentStatus{NodeID: &zeroValue} - d.GetNodeID() - d = &DeploymentStatus{} - d.GetNodeID() - d = nil - d.GetNodeID() -} - -func TestDeploymentStatus_GetRepositoryURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentStatus{RepositoryURL: &zeroValue} - d.GetRepositoryURL() - d = &DeploymentStatus{} - d.GetRepositoryURL() - d = nil - d.GetRepositoryURL() -} - -func TestDeploymentStatus_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentStatus{State: &zeroValue} - d.GetState() - d = &DeploymentStatus{} - d.GetState() - d = nil - d.GetState() -} - -func TestDeploymentStatus_GetTargetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentStatus{TargetURL: &zeroValue} - d.GetTargetURL() - d = &DeploymentStatus{} - d.GetTargetURL() - d = nil - d.GetTargetURL() -} - -func TestDeploymentStatus_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - d := &DeploymentStatus{UpdatedAt: &zeroValue} - d.GetUpdatedAt() - d = &DeploymentStatus{} - d.GetUpdatedAt() - d = nil - d.GetUpdatedAt() -} - -func TestDeploymentStatus_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentStatus{URL: &zeroValue} - d.GetURL() - d = &DeploymentStatus{} - d.GetURL() - d = nil - d.GetURL() -} - -func TestDeploymentStatusEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentStatusEvent{Action: &zeroValue} - d.GetAction() - d = &DeploymentStatusEvent{} - d.GetAction() - d = nil - d.GetAction() -} - -func TestDeploymentStatusEvent_GetDeployment(tt *testing.T) { - tt.Parallel() - d := &DeploymentStatusEvent{} - d.GetDeployment() - d = nil - d.GetDeployment() -} - -func TestDeploymentStatusEvent_GetDeploymentStatus(tt *testing.T) { - tt.Parallel() - d := &DeploymentStatusEvent{} - d.GetDeploymentStatus() - d = nil - d.GetDeploymentStatus() -} - -func TestDeploymentStatusEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - d := &DeploymentStatusEvent{} - d.GetInstallation() - d = nil - d.GetInstallation() -} - -func TestDeploymentStatusEvent_GetOrg(tt *testing.T) { - tt.Parallel() - d := &DeploymentStatusEvent{} - d.GetOrg() - d = nil - d.GetOrg() -} - -func TestDeploymentStatusEvent_GetRepo(tt *testing.T) { - tt.Parallel() - d := &DeploymentStatusEvent{} - d.GetRepo() - d = nil - d.GetRepo() -} - -func TestDeploymentStatusEvent_GetSender(tt *testing.T) { - tt.Parallel() - d := &DeploymentStatusEvent{} - d.GetSender() - d = nil - d.GetSender() -} - -func TestDeploymentStatusRequest_GetAutoInactive(tt *testing.T) { - tt.Parallel() - var zeroValue bool - d := &DeploymentStatusRequest{AutoInactive: &zeroValue} - d.GetAutoInactive() - d = &DeploymentStatusRequest{} - d.GetAutoInactive() - d = nil - d.GetAutoInactive() -} - -func TestDeploymentStatusRequest_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentStatusRequest{Description: &zeroValue} - d.GetDescription() - d = &DeploymentStatusRequest{} - d.GetDescription() - d = nil - d.GetDescription() -} - -func TestDeploymentStatusRequest_GetEnvironment(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentStatusRequest{Environment: &zeroValue} - d.GetEnvironment() - d = &DeploymentStatusRequest{} - d.GetEnvironment() - d = nil - d.GetEnvironment() -} - -func TestDeploymentStatusRequest_GetEnvironmentURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentStatusRequest{EnvironmentURL: &zeroValue} - d.GetEnvironmentURL() - d = &DeploymentStatusRequest{} - d.GetEnvironmentURL() - d = nil - d.GetEnvironmentURL() -} - -func TestDeploymentStatusRequest_GetLogURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentStatusRequest{LogURL: &zeroValue} - d.GetLogURL() - d = &DeploymentStatusRequest{} - d.GetLogURL() - d = nil - d.GetLogURL() -} - -func TestDeploymentStatusRequest_GetState(tt *testing.T) { - tt.Parallel() - d := &DeploymentStatusRequest{} - d.GetState() - d = nil - d.GetState() -} - -func TestDeploymentStatusRequest_GetTargetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DeploymentStatusRequest{TargetURL: &zeroValue} - d.GetTargetURL() - d = &DeploymentStatusRequest{} - d.GetTargetURL() - d = nil - d.GetTargetURL() -} - -func TestDevContainer_GetDisplayName(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DevContainer{DisplayName: &zeroValue} - d.GetDisplayName() - d = &DevContainer{} - d.GetDisplayName() - d = nil - d.GetDisplayName() -} - -func TestDevContainer_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DevContainer{Name: &zeroValue} - d.GetName() - d = &DevContainer{} - d.GetName() - d = nil - 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 - d := &Discussion{ActiveLockReason: &zeroValue} - d.GetActiveLockReason() - d = &Discussion{} - d.GetActiveLockReason() - d = nil - d.GetActiveLockReason() -} - -func TestDiscussion_GetAnswerChosenAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - d := &Discussion{AnswerChosenAt: &zeroValue} - d.GetAnswerChosenAt() - d = &Discussion{} - d.GetAnswerChosenAt() - d = nil - d.GetAnswerChosenAt() -} - -func TestDiscussion_GetAnswerChosenBy(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &Discussion{AnswerChosenBy: &zeroValue} - d.GetAnswerChosenBy() - d = &Discussion{} - d.GetAnswerChosenBy() - d = nil - d.GetAnswerChosenBy() -} - -func TestDiscussion_GetAnswerHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &Discussion{AnswerHTMLURL: &zeroValue} - d.GetAnswerHTMLURL() - d = &Discussion{} - d.GetAnswerHTMLURL() - d = nil - d.GetAnswerHTMLURL() -} - -func TestDiscussion_GetAuthorAssociation(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &Discussion{AuthorAssociation: &zeroValue} - d.GetAuthorAssociation() - d = &Discussion{} - d.GetAuthorAssociation() - d = nil - d.GetAuthorAssociation() -} - -func TestDiscussion_GetBody(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &Discussion{Body: &zeroValue} - d.GetBody() - d = &Discussion{} - d.GetBody() - d = nil - d.GetBody() -} - -func TestDiscussion_GetComments(tt *testing.T) { - tt.Parallel() - var zeroValue int - d := &Discussion{Comments: &zeroValue} - d.GetComments() - d = &Discussion{} - d.GetComments() - d = nil - d.GetComments() -} - -func TestDiscussion_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - d := &Discussion{CreatedAt: &zeroValue} - d.GetCreatedAt() - d = &Discussion{} - d.GetCreatedAt() - d = nil - d.GetCreatedAt() -} - -func TestDiscussion_GetDiscussionCategory(tt *testing.T) { - tt.Parallel() - d := &Discussion{} - d.GetDiscussionCategory() - d = nil - d.GetDiscussionCategory() -} - -func TestDiscussion_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &Discussion{HTMLURL: &zeroValue} - d.GetHTMLURL() - d = &Discussion{} - d.GetHTMLURL() - d = nil - d.GetHTMLURL() -} - -func TestDiscussion_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - d := &Discussion{ID: &zeroValue} - d.GetID() - d = &Discussion{} - d.GetID() - d = nil - d.GetID() -} - -func TestDiscussion_GetLocked(tt *testing.T) { - tt.Parallel() - var zeroValue bool - d := &Discussion{Locked: &zeroValue} - d.GetLocked() - d = &Discussion{} - d.GetLocked() - d = nil - d.GetLocked() -} - -func TestDiscussion_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &Discussion{NodeID: &zeroValue} - d.GetNodeID() - d = &Discussion{} - d.GetNodeID() - d = nil - d.GetNodeID() -} - -func TestDiscussion_GetNumber(tt *testing.T) { - tt.Parallel() - var zeroValue int - d := &Discussion{Number: &zeroValue} - d.GetNumber() - d = &Discussion{} - d.GetNumber() - d = nil - d.GetNumber() -} - -func TestDiscussion_GetRepositoryURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &Discussion{RepositoryURL: &zeroValue} - d.GetRepositoryURL() - d = &Discussion{} - d.GetRepositoryURL() - d = nil - d.GetRepositoryURL() -} - -func TestDiscussion_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &Discussion{State: &zeroValue} - d.GetState() - d = &Discussion{} - d.GetState() - d = nil - d.GetState() -} - -func TestDiscussion_GetTitle(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &Discussion{Title: &zeroValue} - d.GetTitle() - d = &Discussion{} - d.GetTitle() - d = nil - d.GetTitle() -} - -func TestDiscussion_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - d := &Discussion{UpdatedAt: &zeroValue} - d.GetUpdatedAt() - d = &Discussion{} - d.GetUpdatedAt() - d = nil - d.GetUpdatedAt() -} - -func TestDiscussion_GetUser(tt *testing.T) { - tt.Parallel() - d := &Discussion{} - d.GetUser() - d = nil - d.GetUser() -} - -func TestDiscussionCategory_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - d := &DiscussionCategory{CreatedAt: &zeroValue} - d.GetCreatedAt() - d = &DiscussionCategory{} - d.GetCreatedAt() - d = nil - d.GetCreatedAt() -} - -func TestDiscussionCategory_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DiscussionCategory{Description: &zeroValue} - d.GetDescription() - d = &DiscussionCategory{} - d.GetDescription() - d = nil - d.GetDescription() -} - -func TestDiscussionCategory_GetEmoji(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DiscussionCategory{Emoji: &zeroValue} - d.GetEmoji() - d = &DiscussionCategory{} - d.GetEmoji() - d = nil - d.GetEmoji() -} - -func TestDiscussionCategory_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - d := &DiscussionCategory{ID: &zeroValue} - d.GetID() - d = &DiscussionCategory{} - d.GetID() - d = nil - d.GetID() -} - -func TestDiscussionCategory_GetIsAnswerable(tt *testing.T) { - tt.Parallel() - var zeroValue bool - d := &DiscussionCategory{IsAnswerable: &zeroValue} - d.GetIsAnswerable() - d = &DiscussionCategory{} - d.GetIsAnswerable() - d = nil - d.GetIsAnswerable() -} - -func TestDiscussionCategory_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DiscussionCategory{Name: &zeroValue} - d.GetName() - d = &DiscussionCategory{} - d.GetName() - d = nil - d.GetName() -} - -func TestDiscussionCategory_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DiscussionCategory{NodeID: &zeroValue} - d.GetNodeID() - d = &DiscussionCategory{} - d.GetNodeID() - d = nil - d.GetNodeID() -} - -func TestDiscussionCategory_GetRepositoryID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - d := &DiscussionCategory{RepositoryID: &zeroValue} - d.GetRepositoryID() - d = &DiscussionCategory{} - d.GetRepositoryID() - d = nil - d.GetRepositoryID() -} - -func TestDiscussionCategory_GetSlug(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DiscussionCategory{Slug: &zeroValue} - d.GetSlug() - d = &DiscussionCategory{} - d.GetSlug() - d = nil - d.GetSlug() -} - -func TestDiscussionCategory_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - d := &DiscussionCategory{UpdatedAt: &zeroValue} - d.GetUpdatedAt() - d = &DiscussionCategory{} - d.GetUpdatedAt() - d = nil - d.GetUpdatedAt() -} - -func TestDiscussionComment_GetAuthor(tt *testing.T) { - tt.Parallel() - d := &DiscussionComment{} - d.GetAuthor() - d = nil - d.GetAuthor() -} - -func TestDiscussionComment_GetBody(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DiscussionComment{Body: &zeroValue} - d.GetBody() - d = &DiscussionComment{} - d.GetBody() - d = nil - d.GetBody() -} - -func TestDiscussionComment_GetBodyHTML(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DiscussionComment{BodyHTML: &zeroValue} - d.GetBodyHTML() - d = &DiscussionComment{} - d.GetBodyHTML() - d = nil - d.GetBodyHTML() -} - -func TestDiscussionComment_GetBodyVersion(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DiscussionComment{BodyVersion: &zeroValue} - d.GetBodyVersion() - d = &DiscussionComment{} - d.GetBodyVersion() - d = nil - d.GetBodyVersion() -} - -func TestDiscussionComment_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - d := &DiscussionComment{CreatedAt: &zeroValue} - d.GetCreatedAt() - d = &DiscussionComment{} - d.GetCreatedAt() - d = nil - d.GetCreatedAt() -} - -func TestDiscussionComment_GetDiscussionURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DiscussionComment{DiscussionURL: &zeroValue} - d.GetDiscussionURL() - d = &DiscussionComment{} - d.GetDiscussionURL() - d = nil - d.GetDiscussionURL() -} - -func TestDiscussionComment_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DiscussionComment{HTMLURL: &zeroValue} - d.GetHTMLURL() - d = &DiscussionComment{} - d.GetHTMLURL() - d = nil - d.GetHTMLURL() -} - -func TestDiscussionComment_GetLastEditedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - d := &DiscussionComment{LastEditedAt: &zeroValue} - d.GetLastEditedAt() - d = &DiscussionComment{} - d.GetLastEditedAt() - d = nil - d.GetLastEditedAt() -} - -func TestDiscussionComment_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DiscussionComment{NodeID: &zeroValue} - d.GetNodeID() - d = &DiscussionComment{} - d.GetNodeID() - d = nil - d.GetNodeID() -} - -func TestDiscussionComment_GetNumber(tt *testing.T) { - tt.Parallel() - var zeroValue int - d := &DiscussionComment{Number: &zeroValue} - d.GetNumber() - d = &DiscussionComment{} - d.GetNumber() - d = nil - d.GetNumber() -} - -func TestDiscussionComment_GetReactions(tt *testing.T) { - tt.Parallel() - d := &DiscussionComment{} - d.GetReactions() - d = nil - d.GetReactions() -} - -func TestDiscussionComment_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - d := &DiscussionComment{UpdatedAt: &zeroValue} - d.GetUpdatedAt() - d = &DiscussionComment{} - d.GetUpdatedAt() - d = nil - d.GetUpdatedAt() -} - -func TestDiscussionComment_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DiscussionComment{URL: &zeroValue} - d.GetURL() - d = &DiscussionComment{} - d.GetURL() - d = nil - d.GetURL() -} - -func TestDiscussionCommentEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DiscussionCommentEvent{Action: &zeroValue} - d.GetAction() - d = &DiscussionCommentEvent{} - d.GetAction() - d = nil - d.GetAction() -} - -func TestDiscussionCommentEvent_GetComment(tt *testing.T) { - tt.Parallel() - d := &DiscussionCommentEvent{} - d.GetComment() - d = nil - d.GetComment() -} - -func TestDiscussionCommentEvent_GetDiscussion(tt *testing.T) { - tt.Parallel() - d := &DiscussionCommentEvent{} - d.GetDiscussion() - d = nil - d.GetDiscussion() -} - -func TestDiscussionCommentEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - d := &DiscussionCommentEvent{} - d.GetInstallation() - d = nil - d.GetInstallation() -} - -func TestDiscussionCommentEvent_GetOrg(tt *testing.T) { - tt.Parallel() - d := &DiscussionCommentEvent{} - d.GetOrg() - d = nil - d.GetOrg() -} - -func TestDiscussionCommentEvent_GetRepo(tt *testing.T) { - tt.Parallel() - d := &DiscussionCommentEvent{} - d.GetRepo() - d = nil - d.GetRepo() -} - -func TestDiscussionCommentEvent_GetSender(tt *testing.T) { - tt.Parallel() - d := &DiscussionCommentEvent{} - d.GetSender() - d = nil - 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 - d := &DiscussionEvent{Action: &zeroValue} - d.GetAction() - d = &DiscussionEvent{} - d.GetAction() - d = nil - d.GetAction() -} - -func TestDiscussionEvent_GetDiscussion(tt *testing.T) { - tt.Parallel() - d := &DiscussionEvent{} - d.GetDiscussion() - d = nil - d.GetDiscussion() -} - -func TestDiscussionEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - d := &DiscussionEvent{} - d.GetInstallation() - d = nil - d.GetInstallation() -} - -func TestDiscussionEvent_GetOrg(tt *testing.T) { - tt.Parallel() - d := &DiscussionEvent{} - d.GetOrg() - d = nil - d.GetOrg() -} - -func TestDiscussionEvent_GetRepo(tt *testing.T) { - tt.Parallel() - d := &DiscussionEvent{} - d.GetRepo() - d = nil - d.GetRepo() -} - -func TestDiscussionEvent_GetSender(tt *testing.T) { - tt.Parallel() - d := &DiscussionEvent{} - d.GetSender() - d = nil - 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 - d := &DismissalRestrictionsRequest{Apps: &zeroValue} - d.GetApps() - d = &DismissalRestrictionsRequest{} - d.GetApps() - d = nil - d.GetApps() -} - -func TestDismissalRestrictionsRequest_GetTeams(tt *testing.T) { - tt.Parallel() - var zeroValue []string - d := &DismissalRestrictionsRequest{Teams: &zeroValue} - d.GetTeams() - d = &DismissalRestrictionsRequest{} - d.GetTeams() - d = nil - d.GetTeams() -} - -func TestDismissalRestrictionsRequest_GetUsers(tt *testing.T) { - tt.Parallel() - var zeroValue []string - d := &DismissalRestrictionsRequest{Users: &zeroValue} - d.GetUsers() - d = &DismissalRestrictionsRequest{} - d.GetUsers() - d = nil - d.GetUsers() -} - -func TestDismissedReview_GetDismissalCommitID(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DismissedReview{DismissalCommitID: &zeroValue} - d.GetDismissalCommitID() - d = &DismissedReview{} - d.GetDismissalCommitID() - d = nil - d.GetDismissalCommitID() -} - -func TestDismissedReview_GetDismissalMessage(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DismissedReview{DismissalMessage: &zeroValue} - d.GetDismissalMessage() - d = &DismissedReview{} - d.GetDismissalMessage() - d = nil - d.GetDismissalMessage() -} - -func TestDismissedReview_GetReviewID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - d := &DismissedReview{ReviewID: &zeroValue} - d.GetReviewID() - d = &DismissedReview{} - d.GetReviewID() - d = nil - d.GetReviewID() -} - -func TestDismissedReview_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DismissedReview{State: &zeroValue} - d.GetState() - d = &DismissedReview{} - d.GetState() - d = nil - d.GetState() -} - -func TestDismissStaleReviewsOnPushChanges_GetFrom(tt *testing.T) { - tt.Parallel() - var zeroValue bool - d := &DismissStaleReviewsOnPushChanges{From: &zeroValue} - d.GetFrom() - d = &DismissStaleReviewsOnPushChanges{} - d.GetFrom() - d = nil - d.GetFrom() -} - -func TestDispatchRequestOptions_GetClientPayload(tt *testing.T) { - tt.Parallel() - var zeroValue json.RawMessage - d := &DispatchRequestOptions{ClientPayload: &zeroValue} - d.GetClientPayload() - d = &DispatchRequestOptions{} - d.GetClientPayload() - d = nil - 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 - d := &DraftReviewComment{Body: &zeroValue} - d.GetBody() - d = &DraftReviewComment{} - d.GetBody() - d = nil - d.GetBody() -} - -func TestDraftReviewComment_GetLine(tt *testing.T) { - tt.Parallel() - var zeroValue int - d := &DraftReviewComment{Line: &zeroValue} - d.GetLine() - d = &DraftReviewComment{} - d.GetLine() - d = nil - d.GetLine() -} - -func TestDraftReviewComment_GetPath(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DraftReviewComment{Path: &zeroValue} - d.GetPath() - d = &DraftReviewComment{} - d.GetPath() - d = nil - d.GetPath() -} - -func TestDraftReviewComment_GetPosition(tt *testing.T) { - tt.Parallel() - var zeroValue int - d := &DraftReviewComment{Position: &zeroValue} - d.GetPosition() - d = &DraftReviewComment{} - d.GetPosition() - d = nil - d.GetPosition() -} - -func TestDraftReviewComment_GetSide(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DraftReviewComment{Side: &zeroValue} - d.GetSide() - d = &DraftReviewComment{} - d.GetSide() - d = nil - d.GetSide() -} - -func TestDraftReviewComment_GetStartLine(tt *testing.T) { - tt.Parallel() - var zeroValue int - d := &DraftReviewComment{StartLine: &zeroValue} - d.GetStartLine() - d = &DraftReviewComment{} - d.GetStartLine() - d = nil - d.GetStartLine() -} - -func TestDraftReviewComment_GetStartSide(tt *testing.T) { - tt.Parallel() - var zeroValue string - d := &DraftReviewComment{StartSide: &zeroValue} - d.GetStartSide() - d = &DraftReviewComment{} - d.GetStartSide() - d = nil - d.GetStartSide() -} - -func TestEditBase_GetRef(tt *testing.T) { - tt.Parallel() - e := &EditBase{} - e.GetRef() - e = nil - e.GetRef() -} - -func TestEditBase_GetSHA(tt *testing.T) { - tt.Parallel() - e := &EditBase{} - e.GetSHA() - e = nil - e.GetSHA() -} - -func TestEditBody_GetFrom(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EditBody{From: &zeroValue} - e.GetFrom() - e = &EditBody{} - e.GetFrom() - e = nil - e.GetFrom() -} - -func TestEditChange_GetBase(tt *testing.T) { - tt.Parallel() - e := &EditChange{} - e.GetBase() - e = nil - e.GetBase() -} - -func TestEditChange_GetBody(tt *testing.T) { - tt.Parallel() - e := &EditChange{} - e.GetBody() - e = nil - e.GetBody() -} - -func TestEditChange_GetDefaultBranch(tt *testing.T) { - tt.Parallel() - e := &EditChange{} - e.GetDefaultBranch() - e = nil - e.GetDefaultBranch() -} - -func TestEditChange_GetOwner(tt *testing.T) { - tt.Parallel() - e := &EditChange{} - e.GetOwner() - e = nil - e.GetOwner() -} - -func TestEditChange_GetRepo(tt *testing.T) { - tt.Parallel() - e := &EditChange{} - e.GetRepo() - e = nil - e.GetRepo() -} - -func TestEditChange_GetTitle(tt *testing.T) { - tt.Parallel() - e := &EditChange{} - e.GetTitle() - e = nil - e.GetTitle() -} - -func TestEditChange_GetTopics(tt *testing.T) { - tt.Parallel() - e := &EditChange{} - e.GetTopics() - e = nil - e.GetTopics() -} - -func TestEditDefaultBranch_GetFrom(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EditDefaultBranch{From: &zeroValue} - e.GetFrom() - e = &EditDefaultBranch{} - e.GetFrom() - e = nil - e.GetFrom() -} - -func TestEditOwner_GetOwnerInfo(tt *testing.T) { - tt.Parallel() - e := &EditOwner{} - e.GetOwnerInfo() - e = nil - e.GetOwnerInfo() -} - -func TestEditRef_GetFrom(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EditRef{From: &zeroValue} - e.GetFrom() - e = &EditRef{} - e.GetFrom() - e = nil - e.GetFrom() -} - -func TestEditRepo_GetName(tt *testing.T) { - tt.Parallel() - e := &EditRepo{} - e.GetName() - e = nil - e.GetName() -} - -func TestEditSHA_GetFrom(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EditSHA{From: &zeroValue} - e.GetFrom() - e = &EditSHA{} - e.GetFrom() - e = nil - e.GetFrom() -} - -func TestEditTitle_GetFrom(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EditTitle{From: &zeroValue} - e.GetFrom() - e = &EditTitle{} - e.GetFrom() - e = nil - 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 - e := &Enterprise{AvatarURL: &zeroValue} - e.GetAvatarURL() - e = &Enterprise{} - e.GetAvatarURL() - e = nil - e.GetAvatarURL() -} - -func TestEnterprise_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - e := &Enterprise{CreatedAt: &zeroValue} - e.GetCreatedAt() - e = &Enterprise{} - e.GetCreatedAt() - e = nil - e.GetCreatedAt() -} - -func TestEnterprise_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &Enterprise{Description: &zeroValue} - e.GetDescription() - e = &Enterprise{} - e.GetDescription() - e = nil - e.GetDescription() -} - -func TestEnterprise_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &Enterprise{HTMLURL: &zeroValue} - e.GetHTMLURL() - e = &Enterprise{} - e.GetHTMLURL() - e = nil - e.GetHTMLURL() -} - -func TestEnterprise_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int - e := &Enterprise{ID: &zeroValue} - e.GetID() - e = &Enterprise{} - e.GetID() - e = nil - e.GetID() -} - -func TestEnterprise_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &Enterprise{Name: &zeroValue} - e.GetName() - e = &Enterprise{} - e.GetName() - e = nil - e.GetName() -} - -func TestEnterprise_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &Enterprise{NodeID: &zeroValue} - e.GetNodeID() - e = &Enterprise{} - e.GetNodeID() - e = nil - e.GetNodeID() -} - -func TestEnterprise_GetSlug(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &Enterprise{Slug: &zeroValue} - e.GetSlug() - e = &Enterprise{} - e.GetSlug() - e = nil - e.GetSlug() -} - -func TestEnterprise_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - e := &Enterprise{UpdatedAt: &zeroValue} - e.GetUpdatedAt() - e = &Enterprise{} - e.GetUpdatedAt() - e = nil - e.GetUpdatedAt() -} - -func TestEnterprise_GetWebsiteURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &Enterprise{WebsiteURL: &zeroValue} - e.GetWebsiteURL() - e = &Enterprise{} - e.GetWebsiteURL() - e = nil - e.GetWebsiteURL() -} - -func TestEnterpriseAggregatedUsageItem_GetDiscountAmount(tt *testing.T) { - tt.Parallel() - e := &EnterpriseAggregatedUsageItem{} - e.GetDiscountAmount() - e = nil - e.GetDiscountAmount() -} - -func TestEnterpriseAggregatedUsageItem_GetDiscountQuantity(tt *testing.T) { - tt.Parallel() - e := &EnterpriseAggregatedUsageItem{} - e.GetDiscountQuantity() - e = nil - e.GetDiscountQuantity() -} - -func TestEnterpriseAggregatedUsageItem_GetGrossAmount(tt *testing.T) { - tt.Parallel() - e := &EnterpriseAggregatedUsageItem{} - e.GetGrossAmount() - e = nil - e.GetGrossAmount() -} - -func TestEnterpriseAggregatedUsageItem_GetGrossQuantity(tt *testing.T) { - tt.Parallel() - e := &EnterpriseAggregatedUsageItem{} - e.GetGrossQuantity() - e = nil - e.GetGrossQuantity() -} - -func TestEnterpriseAggregatedUsageItem_GetModel(tt *testing.T) { - tt.Parallel() - e := &EnterpriseAggregatedUsageItem{} - e.GetModel() - e = nil - e.GetModel() -} - -func TestEnterpriseAggregatedUsageItem_GetNetAmount(tt *testing.T) { - tt.Parallel() - e := &EnterpriseAggregatedUsageItem{} - e.GetNetAmount() - e = nil - e.GetNetAmount() -} - -func TestEnterpriseAggregatedUsageItem_GetNetQuantity(tt *testing.T) { - tt.Parallel() - e := &EnterpriseAggregatedUsageItem{} - e.GetNetQuantity() - e = nil - e.GetNetQuantity() -} - -func TestEnterpriseAggregatedUsageItem_GetPricePerUnit(tt *testing.T) { - tt.Parallel() - e := &EnterpriseAggregatedUsageItem{} - e.GetPricePerUnit() - e = nil - e.GetPricePerUnit() -} - -func TestEnterpriseAggregatedUsageItem_GetProduct(tt *testing.T) { - tt.Parallel() - e := &EnterpriseAggregatedUsageItem{} - e.GetProduct() - e = nil - e.GetProduct() -} - -func TestEnterpriseAggregatedUsageItem_GetSKU(tt *testing.T) { - tt.Parallel() - e := &EnterpriseAggregatedUsageItem{} - e.GetSKU() - e = nil - e.GetSKU() -} - -func TestEnterpriseAggregatedUsageItem_GetUnitType(tt *testing.T) { - tt.Parallel() - e := &EnterpriseAggregatedUsageItem{} - e.GetUnitType() - e = nil - e.GetUnitType() -} - -func TestEnterpriseAggregatedUsageReport_GetCostCenter(tt *testing.T) { - tt.Parallel() - e := &EnterpriseAggregatedUsageReport{} - e.GetCostCenter() - e = nil - e.GetCostCenter() -} - -func TestEnterpriseAggregatedUsageReport_GetEnterprise(tt *testing.T) { - tt.Parallel() - e := &EnterpriseAggregatedUsageReport{} - e.GetEnterprise() - e = nil - e.GetEnterprise() -} - -func TestEnterpriseAggregatedUsageReport_GetModel(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseAggregatedUsageReport{Model: &zeroValue} - e.GetModel() - e = &EnterpriseAggregatedUsageReport{} - e.GetModel() - e = nil - e.GetModel() -} - -func TestEnterpriseAggregatedUsageReport_GetOrganization(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseAggregatedUsageReport{Organization: &zeroValue} - e.GetOrganization() - e = &EnterpriseAggregatedUsageReport{} - e.GetOrganization() - e = nil - e.GetOrganization() -} - -func TestEnterpriseAggregatedUsageReport_GetProduct(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseAggregatedUsageReport{Product: &zeroValue} - e.GetProduct() - e = &EnterpriseAggregatedUsageReport{} - e.GetProduct() - e = nil - e.GetProduct() -} - -func TestEnterpriseAggregatedUsageReport_GetTimePeriod(tt *testing.T) { - tt.Parallel() - e := &EnterpriseAggregatedUsageReport{} - e.GetTimePeriod() - e = nil - e.GetTimePeriod() -} - -func TestEnterpriseAggregatedUsageReport_GetUsageItems(tt *testing.T) { - tt.Parallel() - zeroValue := []*EnterpriseAggregatedUsageItem{} - e := &EnterpriseAggregatedUsageReport{UsageItems: zeroValue} - e.GetUsageItems() - e = &EnterpriseAggregatedUsageReport{} - e.GetUsageItems() - e = nil - e.GetUsageItems() -} - -func TestEnterpriseAggregatedUsageReport_GetUser(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseAggregatedUsageReport{User: &zeroValue} - e.GetUser() - e = &EnterpriseAggregatedUsageReport{} - e.GetUser() - e = nil - e.GetUser() -} - -func TestEnterpriseBudget_GetBudgetAlerting(tt *testing.T) { - tt.Parallel() - e := &EnterpriseBudget{} - e.GetBudgetAlerting() - e = nil - e.GetBudgetAlerting() -} - -func TestEnterpriseBudget_GetBudgetAmount(tt *testing.T) { - tt.Parallel() - var zeroValue int - e := &EnterpriseBudget{BudgetAmount: &zeroValue} - e.GetBudgetAmount() - e = &EnterpriseBudget{} - e.GetBudgetAmount() - e = nil - e.GetBudgetAmount() -} - -func TestEnterpriseBudget_GetBudgetEntityName(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseBudget{BudgetEntityName: &zeroValue} - e.GetBudgetEntityName() - e = &EnterpriseBudget{} - e.GetBudgetEntityName() - e = nil - e.GetBudgetEntityName() -} - -func TestEnterpriseBudget_GetBudgetProductSKU(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseBudget{BudgetProductSKU: &zeroValue} - e.GetBudgetProductSKU() - e = &EnterpriseBudget{} - e.GetBudgetProductSKU() - e = nil - e.GetBudgetProductSKU() -} - -func TestEnterpriseBudget_GetBudgetScope(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseBudget{BudgetScope: &zeroValue} - e.GetBudgetScope() - e = &EnterpriseBudget{} - e.GetBudgetScope() - e = nil - e.GetBudgetScope() -} - -func TestEnterpriseBudget_GetBudgetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseBudget{BudgetType: &zeroValue} - e.GetBudgetType() - e = &EnterpriseBudget{} - e.GetBudgetType() - e = nil - e.GetBudgetType() -} - -func TestEnterpriseBudget_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseBudget{ID: &zeroValue} - e.GetID() - e = &EnterpriseBudget{} - e.GetID() - e = nil - e.GetID() -} - -func TestEnterpriseBudget_GetPreventFurtherUsage(tt *testing.T) { - tt.Parallel() - var zeroValue bool - e := &EnterpriseBudget{PreventFurtherUsage: &zeroValue} - e.GetPreventFurtherUsage() - e = &EnterpriseBudget{} - e.GetPreventFurtherUsage() - e = nil - 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 - e := &EnterpriseBudgetAlerting{WillAlert: &zeroValue} - e.GetWillAlert() - e = &EnterpriseBudgetAlerting{} - e.GetWillAlert() - e = nil - e.GetWillAlert() -} - -func TestEnterpriseBudgetUserState_GetConsumedAmount(tt *testing.T) { - tt.Parallel() - e := &EnterpriseBudgetUserState{} - e.GetConsumedAmount() - e = nil - e.GetConsumedAmount() -} - -func TestEnterpriseBudgetUserState_GetOverrideBudgetID(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseBudgetUserState{OverrideBudgetID: &zeroValue} - e.GetOverrideBudgetID() - e = &EnterpriseBudgetUserState{} - e.GetOverrideBudgetID() - e = nil - e.GetOverrideBudgetID() -} - -func TestEnterpriseBudgetUserState_GetTargetAmount(tt *testing.T) { - tt.Parallel() - e := &EnterpriseBudgetUserState{} - e.GetTargetAmount() - e = nil - e.GetTargetAmount() -} - -func TestEnterpriseBudgetUserState_GetUser(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseBudgetUserState{User: &zeroValue} - e.GetUser() - e = &EnterpriseBudgetUserState{} - e.GetUser() - e = nil - e.GetUser() -} - -func TestEnterpriseBudgetUserStates_GetHasNextPage(tt *testing.T) { - tt.Parallel() - e := &EnterpriseBudgetUserStates{} - e.GetHasNextPage() - e = nil - e.GetHasNextPage() -} - -func TestEnterpriseBudgetUserStates_GetTotalCount(tt *testing.T) { - tt.Parallel() - e := &EnterpriseBudgetUserStates{} - e.GetTotalCount() - e = nil - e.GetTotalCount() -} - -func TestEnterpriseBudgetUserStates_GetUserStates(tt *testing.T) { - tt.Parallel() - zeroValue := []*EnterpriseBudgetUserState{} - e := &EnterpriseBudgetUserStates{UserStates: zeroValue} - e.GetUserStates() - e = &EnterpriseBudgetUserStates{} - e.GetUserStates() - e = nil - e.GetUserStates() -} - -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{} - e.GetBudgetAlerting() - e = nil - 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 - e := &EnterpriseCreateBudget{BudgetEntityName: &zeroValue} - e.GetBudgetEntityName() - e = &EnterpriseCreateBudget{} - e.GetBudgetEntityName() - e = nil - e.GetBudgetEntityName() -} - -func TestEnterpriseCreateBudget_GetBudgetProductSKU(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseCreateBudget{BudgetProductSKU: &zeroValue} - e.GetBudgetProductSKU() - e = &EnterpriseCreateBudget{} - e.GetBudgetProductSKU() - e = nil - 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{} - e.GetBudget() - e = nil - 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 - e := &EnterpriseCustomPropertiesValues{OrganizationID: &zeroValue} - e.GetOrganizationID() - e = &EnterpriseCustomPropertiesValues{} - e.GetOrganizationID() - e = nil - e.GetOrganizationID() -} - -func TestEnterpriseCustomPropertiesValues_GetOrganizationLogin(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseCustomPropertiesValues{OrganizationLogin: &zeroValue} - e.GetOrganizationLogin() - e = &EnterpriseCustomPropertiesValues{} - e.GetOrganizationLogin() - e = nil - 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 TestEnterpriseGetUserStatesOptions_GetSortOrder(tt *testing.T) { - tt.Parallel() - e := &EnterpriseGetUserStatesOptions{} - e.GetSortOrder() - e = nil - e.GetSortOrder() -} - -func TestEnterpriseGetUserStatesOptions_GetThresholdLowerBound(tt *testing.T) { - tt.Parallel() - e := &EnterpriseGetUserStatesOptions{} - e.GetThresholdLowerBound() - e = nil - e.GetThresholdLowerBound() -} - -func TestEnterpriseGetUserStatesOptions_GetThresholdUpperBound(tt *testing.T) { - tt.Parallel() - e := &EnterpriseGetUserStatesOptions{} - e.GetThresholdUpperBound() - e = nil - e.GetThresholdUpperBound() -} - -func TestEnterpriseGetUserStatesOptions_GetUser(tt *testing.T) { - tt.Parallel() - e := &EnterpriseGetUserStatesOptions{} - e.GetUser() - e = nil - e.GetUser() -} - -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 - e := &EnterpriseLicensedUsers{EnterpriseServerUser: &zeroValue} - e.GetEnterpriseServerUser() - e = &EnterpriseLicensedUsers{} - e.GetEnterpriseServerUser() - e = nil - 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 - e := &EnterpriseLicensedUsers{GithubComName: &zeroValue} - e.GetGithubComName() - e = &EnterpriseLicensedUsers{} - e.GetGithubComName() - e = nil - 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 - e := &EnterpriseLicensedUsers{GithubComProfile: &zeroValue} - e.GetGithubComProfile() - e = &EnterpriseLicensedUsers{} - e.GetGithubComProfile() - e = nil - e.GetGithubComProfile() -} - -func TestEnterpriseLicensedUsers_GetGithubComSamlNameID(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseLicensedUsers{GithubComSamlNameID: &zeroValue} - e.GetGithubComSamlNameID() - e = &EnterpriseLicensedUsers{} - e.GetGithubComSamlNameID() - e = nil - e.GetGithubComSamlNameID() -} - -func TestEnterpriseLicensedUsers_GetGithubComTwoFactorAuth(tt *testing.T) { - tt.Parallel() - var zeroValue bool - e := &EnterpriseLicensedUsers{GithubComTwoFactorAuth: &zeroValue} - e.GetGithubComTwoFactorAuth() - e = &EnterpriseLicensedUsers{} - e.GetGithubComTwoFactorAuth() - e = nil - 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 - e := &EnterpriseLicensedUsers{VisualStudioLicenseStatus: &zeroValue} - e.GetVisualStudioLicenseStatus() - e = &EnterpriseLicensedUsers{} - e.GetVisualStudioLicenseStatus() - e = nil - e.GetVisualStudioLicenseStatus() -} - -func TestEnterpriseLicensedUsers_GetVisualStudioSubscriptionEmail(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseLicensedUsers{VisualStudioSubscriptionEmail: &zeroValue} - e.GetVisualStudioSubscriptionEmail() - e = &EnterpriseLicensedUsers{} - e.GetVisualStudioSubscriptionEmail() - e = nil - 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{} - e.GetProperties() - e = nil - 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 - e := &EnterpriseListBudgets{HasNextPage: &zeroValue} - e.GetHasNextPage() - e = &EnterpriseListBudgets{} - e.GetHasNextPage() - e = nil - e.GetHasNextPage() -} - -func TestEnterpriseListBudgets_GetTotalCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - e := &EnterpriseListBudgets{TotalCount: &zeroValue} - e.GetTotalCount() - e = &EnterpriseListBudgets{} - e.GetTotalCount() - e = nil - e.GetTotalCount() -} - -func TestEnterpriseListBudgetsOptions_GetScope(tt *testing.T) { - tt.Parallel() - e := &EnterpriseListBudgetsOptions{} - e.GetScope() - e = nil - e.GetScope() -} - -func TestEnterpriseListBudgetsOptions_GetUser(tt *testing.T) { - tt.Parallel() - e := &EnterpriseListBudgetsOptions{} - e.GetUser() - e = nil - e.GetUser() -} - -func TestEnterprisePremiumRequestUsageReportOptions_GetModel(tt *testing.T) { - tt.Parallel() - e := &EnterprisePremiumRequestUsageReportOptions{} - e.GetModel() - e = nil - e.GetModel() -} - -func TestEnterprisePremiumRequestUsageReportOptions_GetOrganization(tt *testing.T) { - tt.Parallel() - e := &EnterprisePremiumRequestUsageReportOptions{} - e.GetOrganization() - e = nil - e.GetOrganization() -} - -func TestEnterprisePremiumRequestUsageReportOptions_GetProduct(tt *testing.T) { - tt.Parallel() - e := &EnterprisePremiumRequestUsageReportOptions{} - e.GetProduct() - e = nil - e.GetProduct() -} - -func TestEnterprisePremiumRequestUsageReportOptions_GetUser(tt *testing.T) { - tt.Parallel() - e := &EnterprisePremiumRequestUsageReportOptions{} - e.GetUser() - e = nil - e.GetUser() -} - -func TestEnterpriseRunnerGroup_GetAllowsPublicRepositories(tt *testing.T) { - tt.Parallel() - var zeroValue bool - e := &EnterpriseRunnerGroup{AllowsPublicRepositories: &zeroValue} - e.GetAllowsPublicRepositories() - e = &EnterpriseRunnerGroup{} - e.GetAllowsPublicRepositories() - e = nil - e.GetAllowsPublicRepositories() -} - -func TestEnterpriseRunnerGroup_GetDefault(tt *testing.T) { - tt.Parallel() - var zeroValue bool - e := &EnterpriseRunnerGroup{Default: &zeroValue} - e.GetDefault() - e = &EnterpriseRunnerGroup{} - e.GetDefault() - e = nil - e.GetDefault() -} - -func TestEnterpriseRunnerGroup_GetHostedRunnersURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseRunnerGroup{HostedRunnersURL: &zeroValue} - e.GetHostedRunnersURL() - e = &EnterpriseRunnerGroup{} - e.GetHostedRunnersURL() - e = nil - e.GetHostedRunnersURL() -} - -func TestEnterpriseRunnerGroup_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - e := &EnterpriseRunnerGroup{ID: &zeroValue} - e.GetID() - e = &EnterpriseRunnerGroup{} - e.GetID() - e = nil - e.GetID() -} - -func TestEnterpriseRunnerGroup_GetInherited(tt *testing.T) { - tt.Parallel() - var zeroValue bool - e := &EnterpriseRunnerGroup{Inherited: &zeroValue} - e.GetInherited() - e = &EnterpriseRunnerGroup{} - e.GetInherited() - e = nil - e.GetInherited() -} - -func TestEnterpriseRunnerGroup_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseRunnerGroup{Name: &zeroValue} - e.GetName() - e = &EnterpriseRunnerGroup{} - e.GetName() - e = nil - e.GetName() -} - -func TestEnterpriseRunnerGroup_GetNetworkConfigurationID(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseRunnerGroup{NetworkConfigurationID: &zeroValue} - e.GetNetworkConfigurationID() - e = &EnterpriseRunnerGroup{} - e.GetNetworkConfigurationID() - e = nil - e.GetNetworkConfigurationID() -} - -func TestEnterpriseRunnerGroup_GetRestrictedToWorkflows(tt *testing.T) { - tt.Parallel() - var zeroValue bool - e := &EnterpriseRunnerGroup{RestrictedToWorkflows: &zeroValue} - e.GetRestrictedToWorkflows() - e = &EnterpriseRunnerGroup{} - e.GetRestrictedToWorkflows() - e = nil - e.GetRestrictedToWorkflows() -} - -func TestEnterpriseRunnerGroup_GetRunnersURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseRunnerGroup{RunnersURL: &zeroValue} - e.GetRunnersURL() - e = &EnterpriseRunnerGroup{} - e.GetRunnersURL() - e = nil - e.GetRunnersURL() -} - -func TestEnterpriseRunnerGroup_GetSelectedOrganizationsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseRunnerGroup{SelectedOrganizationsURL: &zeroValue} - e.GetSelectedOrganizationsURL() - e = &EnterpriseRunnerGroup{} - e.GetSelectedOrganizationsURL() - e = nil - 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 - e := &EnterpriseRunnerGroup{Visibility: &zeroValue} - e.GetVisibility() - e = &EnterpriseRunnerGroup{} - e.GetVisibility() - e = nil - e.GetVisibility() -} - -func TestEnterpriseRunnerGroup_GetWorkflowRestrictionsReadOnly(tt *testing.T) { - tt.Parallel() - var zeroValue bool - e := &EnterpriseRunnerGroup{WorkflowRestrictionsReadOnly: &zeroValue} - e.GetWorkflowRestrictionsReadOnly() - e = &EnterpriseRunnerGroup{} - e.GetWorkflowRestrictionsReadOnly() - e = nil - 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 - e := &EnterpriseRunnerGroups{TotalCount: &zeroValue} - e.GetTotalCount() - e = &EnterpriseRunnerGroups{} - e.GetTotalCount() - e = nil - e.GetTotalCount() -} - -func TestEnterpriseSecurityAnalysisSettings_GetAdvancedSecurityEnabledForNewRepositories(tt *testing.T) { - tt.Parallel() - var zeroValue bool - e := &EnterpriseSecurityAnalysisSettings{AdvancedSecurityEnabledForNewRepositories: &zeroValue} - e.GetAdvancedSecurityEnabledForNewRepositories() - e = &EnterpriseSecurityAnalysisSettings{} - e.GetAdvancedSecurityEnabledForNewRepositories() - e = nil - e.GetAdvancedSecurityEnabledForNewRepositories() -} - -func TestEnterpriseSecurityAnalysisSettings_GetSecretScanningEnabledForNewRepositories(tt *testing.T) { - tt.Parallel() - var zeroValue bool - e := &EnterpriseSecurityAnalysisSettings{SecretScanningEnabledForNewRepositories: &zeroValue} - e.GetSecretScanningEnabledForNewRepositories() - e = &EnterpriseSecurityAnalysisSettings{} - e.GetSecretScanningEnabledForNewRepositories() - e = nil - e.GetSecretScanningEnabledForNewRepositories() -} - -func TestEnterpriseSecurityAnalysisSettings_GetSecretScanningPushProtectionCustomLink(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseSecurityAnalysisSettings{SecretScanningPushProtectionCustomLink: &zeroValue} - e.GetSecretScanningPushProtectionCustomLink() - e = &EnterpriseSecurityAnalysisSettings{} - e.GetSecretScanningPushProtectionCustomLink() - e = nil - e.GetSecretScanningPushProtectionCustomLink() -} - -func TestEnterpriseSecurityAnalysisSettings_GetSecretScanningPushProtectionEnabledForNewRepositories(tt *testing.T) { - tt.Parallel() - var zeroValue bool - e := &EnterpriseSecurityAnalysisSettings{SecretScanningPushProtectionEnabledForNewRepositories: &zeroValue} - e.GetSecretScanningPushProtectionEnabledForNewRepositories() - e = &EnterpriseSecurityAnalysisSettings{} - e.GetSecretScanningPushProtectionEnabledForNewRepositories() - e = nil - e.GetSecretScanningPushProtectionEnabledForNewRepositories() -} - -func TestEnterpriseSecurityAnalysisSettings_GetSecretScanningValidityChecksEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - e := &EnterpriseSecurityAnalysisSettings{SecretScanningValidityChecksEnabled: &zeroValue} - e.GetSecretScanningValidityChecksEnabled() - e = &EnterpriseSecurityAnalysisSettings{} - e.GetSecretScanningValidityChecksEnabled() - e = nil - 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 - e := &EnterpriseTeam{Description: &zeroValue} - e.GetDescription() - e = &EnterpriseTeam{} - e.GetDescription() - e = nil - 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 - e := &EnterpriseTeam{OrganizationSelectionType: &zeroValue} - e.GetOrganizationSelectionType() - e = &EnterpriseTeam{} - e.GetOrganizationSelectionType() - e = nil - 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 - e := &EnterpriseTeamCreateOrUpdateRequest{Description: &zeroValue} - e.GetDescription() - e = &EnterpriseTeamCreateOrUpdateRequest{} - e.GetDescription() - e = nil - e.GetDescription() -} - -func TestEnterpriseTeamCreateOrUpdateRequest_GetGroupID(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseTeamCreateOrUpdateRequest{GroupID: &zeroValue} - e.GetGroupID() - e = &EnterpriseTeamCreateOrUpdateRequest{} - e.GetGroupID() - e = nil - 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 - e := &EnterpriseTeamCreateOrUpdateRequest{OrganizationSelectionType: &zeroValue} - e.GetOrganizationSelectionType() - e = &EnterpriseTeamCreateOrUpdateRequest{} - e.GetOrganizationSelectionType() - e = nil - e.GetOrganizationSelectionType() -} - -func TestEnterpriseUpdateBudget_GetBudgetAlerting(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUpdateBudget{} - e.GetBudgetAlerting() - e = nil - e.GetBudgetAlerting() -} - -func TestEnterpriseUpdateBudget_GetBudgetAmount(tt *testing.T) { - tt.Parallel() - var zeroValue int - e := &EnterpriseUpdateBudget{BudgetAmount: &zeroValue} - e.GetBudgetAmount() - e = &EnterpriseUpdateBudget{} - e.GetBudgetAmount() - e = nil - e.GetBudgetAmount() -} - -func TestEnterpriseUpdateBudget_GetBudgetEntityName(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseUpdateBudget{BudgetEntityName: &zeroValue} - e.GetBudgetEntityName() - e = &EnterpriseUpdateBudget{} - e.GetBudgetEntityName() - e = nil - e.GetBudgetEntityName() -} - -func TestEnterpriseUpdateBudget_GetBudgetProductSKU(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseUpdateBudget{BudgetProductSKU: &zeroValue} - e.GetBudgetProductSKU() - e = &EnterpriseUpdateBudget{} - e.GetBudgetProductSKU() - e = nil - e.GetBudgetProductSKU() -} - -func TestEnterpriseUpdateBudget_GetBudgetScope(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseUpdateBudget{BudgetScope: &zeroValue} - e.GetBudgetScope() - e = &EnterpriseUpdateBudget{} - e.GetBudgetScope() - e = nil - e.GetBudgetScope() -} - -func TestEnterpriseUpdateBudget_GetBudgetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseUpdateBudget{BudgetType: &zeroValue} - e.GetBudgetType() - e = &EnterpriseUpdateBudget{} - e.GetBudgetType() - e = nil - e.GetBudgetType() -} - -func TestEnterpriseUpdateBudget_GetPreventFurtherUsage(tt *testing.T) { - tt.Parallel() - var zeroValue bool - e := &EnterpriseUpdateBudget{PreventFurtherUsage: &zeroValue} - e.GetPreventFurtherUsage() - e = &EnterpriseUpdateBudget{} - e.GetPreventFurtherUsage() - e = nil - e.GetPreventFurtherUsage() -} - -func TestEnterpriseUsageItem_GetDate(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageItem{} - e.GetDate() - e = nil - e.GetDate() -} - -func TestEnterpriseUsageItem_GetDiscountAmount(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageItem{} - e.GetDiscountAmount() - e = nil - e.GetDiscountAmount() -} - -func TestEnterpriseUsageItem_GetGrossAmount(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageItem{} - e.GetGrossAmount() - e = nil - e.GetGrossAmount() -} - -func TestEnterpriseUsageItem_GetNetAmount(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageItem{} - e.GetNetAmount() - e = nil - e.GetNetAmount() -} - -func TestEnterpriseUsageItem_GetOrganizationName(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageItem{} - e.GetOrganizationName() - e = nil - e.GetOrganizationName() -} - -func TestEnterpriseUsageItem_GetPricePerUnit(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageItem{} - e.GetPricePerUnit() - e = nil - e.GetPricePerUnit() -} - -func TestEnterpriseUsageItem_GetProduct(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageItem{} - e.GetProduct() - e = nil - e.GetProduct() -} - -func TestEnterpriseUsageItem_GetQuantity(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageItem{} - e.GetQuantity() - e = nil - e.GetQuantity() -} - -func TestEnterpriseUsageItem_GetRepositoryName(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseUsageItem{RepositoryName: &zeroValue} - e.GetRepositoryName() - e = &EnterpriseUsageItem{} - e.GetRepositoryName() - e = nil - e.GetRepositoryName() -} - -func TestEnterpriseUsageItem_GetSKU(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageItem{} - e.GetSKU() - e = nil - e.GetSKU() -} - -func TestEnterpriseUsageItem_GetUnitType(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageItem{} - e.GetUnitType() - e = nil - e.GetUnitType() -} - -func TestEnterpriseUsageReport_GetUsageItems(tt *testing.T) { - tt.Parallel() - zeroValue := []*EnterpriseUsageItem{} - e := &EnterpriseUsageReport{UsageItems: zeroValue} - e.GetUsageItems() - e = &EnterpriseUsageReport{} - e.GetUsageItems() - e = nil - e.GetUsageItems() -} - -func TestEnterpriseUsageReportOptions_GetCostCenterID(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageReportOptions{} - e.GetCostCenterID() - e = nil - e.GetCostCenterID() -} - -func TestEnterpriseUsageReportOptions_GetDay(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageReportOptions{} - e.GetDay() - e = nil - e.GetDay() -} - -func TestEnterpriseUsageReportOptions_GetMonth(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageReportOptions{} - e.GetMonth() - e = nil - e.GetMonth() -} - -func TestEnterpriseUsageReportOptions_GetYear(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageReportOptions{} - e.GetYear() - e = nil - e.GetYear() -} - -func TestEnterpriseUsageSummaryItem_GetDiscountAmount(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageSummaryItem{} - e.GetDiscountAmount() - e = nil - e.GetDiscountAmount() -} - -func TestEnterpriseUsageSummaryItem_GetDiscountQuantity(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageSummaryItem{} - e.GetDiscountQuantity() - e = nil - e.GetDiscountQuantity() -} - -func TestEnterpriseUsageSummaryItem_GetGrossAmount(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageSummaryItem{} - e.GetGrossAmount() - e = nil - e.GetGrossAmount() -} - -func TestEnterpriseUsageSummaryItem_GetGrossQuantity(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageSummaryItem{} - e.GetGrossQuantity() - e = nil - e.GetGrossQuantity() -} - -func TestEnterpriseUsageSummaryItem_GetNetAmount(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageSummaryItem{} - e.GetNetAmount() - e = nil - e.GetNetAmount() -} - -func TestEnterpriseUsageSummaryItem_GetNetQuantity(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageSummaryItem{} - e.GetNetQuantity() - e = nil - e.GetNetQuantity() -} - -func TestEnterpriseUsageSummaryItem_GetPricePerUnit(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageSummaryItem{} - e.GetPricePerUnit() - e = nil - e.GetPricePerUnit() -} - -func TestEnterpriseUsageSummaryItem_GetProduct(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageSummaryItem{} - e.GetProduct() - e = nil - e.GetProduct() -} - -func TestEnterpriseUsageSummaryItem_GetSKU(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageSummaryItem{} - e.GetSKU() - e = nil - e.GetSKU() -} - -func TestEnterpriseUsageSummaryItem_GetUnitType(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageSummaryItem{} - e.GetUnitType() - e = nil - e.GetUnitType() -} - -func TestEnterpriseUsageSummaryOptions_GetOrganization(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageSummaryOptions{} - e.GetOrganization() - e = nil - e.GetOrganization() -} - -func TestEnterpriseUsageSummaryOptions_GetProduct(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageSummaryOptions{} - e.GetProduct() - e = nil - e.GetProduct() -} - -func TestEnterpriseUsageSummaryOptions_GetRepository(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageSummaryOptions{} - e.GetRepository() - e = nil - e.GetRepository() -} - -func TestEnterpriseUsageSummaryOptions_GetSKU(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageSummaryOptions{} - e.GetSKU() - e = nil - e.GetSKU() -} - -func TestEnterpriseUsageSummaryReport_GetCostCenter(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageSummaryReport{} - e.GetCostCenter() - e = nil - e.GetCostCenter() -} - -func TestEnterpriseUsageSummaryReport_GetEnterprise(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageSummaryReport{} - e.GetEnterprise() - e = nil - e.GetEnterprise() -} - -func TestEnterpriseUsageSummaryReport_GetOrganization(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseUsageSummaryReport{Organization: &zeroValue} - e.GetOrganization() - e = &EnterpriseUsageSummaryReport{} - e.GetOrganization() - e = nil - e.GetOrganization() -} - -func TestEnterpriseUsageSummaryReport_GetProduct(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseUsageSummaryReport{Product: &zeroValue} - e.GetProduct() - e = &EnterpriseUsageSummaryReport{} - e.GetProduct() - e = nil - e.GetProduct() -} - -func TestEnterpriseUsageSummaryReport_GetRepository(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseUsageSummaryReport{Repository: &zeroValue} - e.GetRepository() - e = &EnterpriseUsageSummaryReport{} - e.GetRepository() - e = nil - e.GetRepository() -} - -func TestEnterpriseUsageSummaryReport_GetSKU(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnterpriseUsageSummaryReport{SKU: &zeroValue} - e.GetSKU() - e = &EnterpriseUsageSummaryReport{} - e.GetSKU() - e = nil - e.GetSKU() -} - -func TestEnterpriseUsageSummaryReport_GetTimePeriod(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageSummaryReport{} - e.GetTimePeriod() - e = nil - e.GetTimePeriod() -} - -func TestEnterpriseUsageSummaryReport_GetUsageItems(tt *testing.T) { - tt.Parallel() - zeroValue := []*EnterpriseUsageSummaryItem{} - e := &EnterpriseUsageSummaryReport{UsageItems: zeroValue} - e.GetUsageItems() - e = &EnterpriseUsageSummaryReport{} - e.GetUsageItems() - e = nil - e.GetUsageItems() -} - -func TestEnterpriseUsageTimePeriod_GetDay(tt *testing.T) { - tt.Parallel() - var zeroValue int - e := &EnterpriseUsageTimePeriod{Day: &zeroValue} - e.GetDay() - e = &EnterpriseUsageTimePeriod{} - e.GetDay() - e = nil - e.GetDay() -} - -func TestEnterpriseUsageTimePeriod_GetMonth(tt *testing.T) { - tt.Parallel() - var zeroValue int - e := &EnterpriseUsageTimePeriod{Month: &zeroValue} - e.GetMonth() - e = &EnterpriseUsageTimePeriod{} - e.GetMonth() - e = nil - e.GetMonth() -} - -func TestEnterpriseUsageTimePeriod_GetYear(tt *testing.T) { - tt.Parallel() - e := &EnterpriseUsageTimePeriod{} - e.GetYear() - e = nil - e.GetYear() -} - -func TestEnvironment_GetCanAdminsBypass(tt *testing.T) { - tt.Parallel() - var zeroValue bool - e := &Environment{CanAdminsBypass: &zeroValue} - e.GetCanAdminsBypass() - e = &Environment{} - e.GetCanAdminsBypass() - e = nil - e.GetCanAdminsBypass() -} - -func TestEnvironment_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - e := &Environment{CreatedAt: &zeroValue} - e.GetCreatedAt() - e = &Environment{} - e.GetCreatedAt() - e = nil - e.GetCreatedAt() -} - -func TestEnvironment_GetDeploymentBranchPolicy(tt *testing.T) { - tt.Parallel() - e := &Environment{} - e.GetDeploymentBranchPolicy() - e = nil - e.GetDeploymentBranchPolicy() -} - -func TestEnvironment_GetEnvironmentName(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &Environment{EnvironmentName: &zeroValue} - e.GetEnvironmentName() - e = &Environment{} - e.GetEnvironmentName() - e = nil - e.GetEnvironmentName() -} - -func TestEnvironment_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &Environment{HTMLURL: &zeroValue} - e.GetHTMLURL() - e = &Environment{} - e.GetHTMLURL() - e = nil - e.GetHTMLURL() -} - -func TestEnvironment_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - e := &Environment{ID: &zeroValue} - e.GetID() - e = &Environment{} - e.GetID() - e = nil - e.GetID() -} - -func TestEnvironment_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &Environment{Name: &zeroValue} - e.GetName() - e = &Environment{} - e.GetName() - e = nil - e.GetName() -} - -func TestEnvironment_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &Environment{NodeID: &zeroValue} - e.GetNodeID() - e = &Environment{} - e.GetNodeID() - e = nil - e.GetNodeID() -} - -func TestEnvironment_GetOwner(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &Environment{Owner: &zeroValue} - e.GetOwner() - e = &Environment{} - e.GetOwner() - e = nil - 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 - e := &Environment{Repo: &zeroValue} - e.GetRepo() - e = &Environment{} - e.GetRepo() - e = nil - 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 - e := &Environment{UpdatedAt: &zeroValue} - e.GetUpdatedAt() - e = &Environment{} - e.GetUpdatedAt() - e = nil - e.GetUpdatedAt() -} - -func TestEnvironment_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &Environment{URL: &zeroValue} - e.GetURL() - e = &Environment{} - e.GetURL() - e = nil - e.GetURL() -} - -func TestEnvironment_GetWaitTimer(tt *testing.T) { - tt.Parallel() - var zeroValue int - e := &Environment{WaitTimer: &zeroValue} - e.GetWaitTimer() - e = &Environment{} - e.GetWaitTimer() - e = nil - 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 - e := &EnvResponse{TotalCount: &zeroValue} - e.GetTotalCount() - e = &EnvResponse{} - e.GetTotalCount() - e = nil - e.GetTotalCount() -} - -func TestEnvReviewers_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - e := &EnvReviewers{ID: &zeroValue} - e.GetID() - e = &EnvReviewers{} - e.GetID() - e = nil - e.GetID() -} - -func TestEnvReviewers_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &EnvReviewers{Type: &zeroValue} - e.GetType() - e = &EnvReviewers{} - e.GetType() - e = nil - 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 - e := &ErrorBlock{CreatedAt: &zeroValue} - e.GetCreatedAt() - e = &ErrorBlock{} - e.GetCreatedAt() - e = nil - 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{} - e.GetBlock() - e = nil - 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{} - e.GetActor() - e = nil - e.GetActor() -} - -func TestEvent_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - e := &Event{CreatedAt: &zeroValue} - e.GetCreatedAt() - e = &Event{} - e.GetCreatedAt() - e = nil - e.GetCreatedAt() -} - -func TestEvent_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &Event{ID: &zeroValue} - e.GetID() - e = &Event{} - e.GetID() - e = nil - e.GetID() -} - -func TestEvent_GetOrg(tt *testing.T) { - tt.Parallel() - e := &Event{} - e.GetOrg() - e = nil - e.GetOrg() -} - -func TestEvent_GetPublic(tt *testing.T) { - tt.Parallel() - var zeroValue bool - e := &Event{Public: &zeroValue} - e.GetPublic() - e = &Event{} - e.GetPublic() - e = nil - e.GetPublic() -} - -func TestEvent_GetRawPayload(tt *testing.T) { - tt.Parallel() - var zeroValue json.RawMessage - e := &Event{RawPayload: &zeroValue} - e.GetRawPayload() - e = &Event{} - e.GetRawPayload() - e = nil - e.GetRawPayload() -} - -func TestEvent_GetRepo(tt *testing.T) { - tt.Parallel() - e := &Event{} - e.GetRepo() - e = nil - e.GetRepo() -} - -func TestEvent_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &Event{Type: &zeroValue} - e.GetType() - e = &Event{} - e.GetType() - e = nil - e.GetType() -} - -func TestExternalGroup_GetGroupID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - e := &ExternalGroup{GroupID: &zeroValue} - e.GetGroupID() - e = &ExternalGroup{} - e.GetGroupID() - e = nil - e.GetGroupID() -} - -func TestExternalGroup_GetGroupName(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &ExternalGroup{GroupName: &zeroValue} - e.GetGroupName() - e = &ExternalGroup{} - e.GetGroupName() - e = nil - 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 - e := &ExternalGroup{UpdatedAt: &zeroValue} - e.GetUpdatedAt() - e = &ExternalGroup{} - e.GetUpdatedAt() - e = nil - 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 - e := &ExternalGroupMember{MemberEmail: &zeroValue} - e.GetMemberEmail() - e = &ExternalGroupMember{} - e.GetMemberEmail() - e = nil - e.GetMemberEmail() -} - -func TestExternalGroupMember_GetMemberID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - e := &ExternalGroupMember{MemberID: &zeroValue} - e.GetMemberID() - e = &ExternalGroupMember{} - e.GetMemberID() - e = nil - e.GetMemberID() -} - -func TestExternalGroupMember_GetMemberLogin(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &ExternalGroupMember{MemberLogin: &zeroValue} - e.GetMemberLogin() - e = &ExternalGroupMember{} - e.GetMemberLogin() - e = nil - e.GetMemberLogin() -} - -func TestExternalGroupMember_GetMemberName(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &ExternalGroupMember{MemberName: &zeroValue} - e.GetMemberName() - e = &ExternalGroupMember{} - e.GetMemberName() - e = nil - e.GetMemberName() -} - -func TestExternalGroupTeam_GetTeamID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - e := &ExternalGroupTeam{TeamID: &zeroValue} - e.GetTeamID() - e = &ExternalGroupTeam{} - e.GetTeamID() - e = nil - e.GetTeamID() -} - -func TestExternalGroupTeam_GetTeamName(tt *testing.T) { - tt.Parallel() - var zeroValue string - e := &ExternalGroupTeam{TeamName: &zeroValue} - e.GetTeamName() - e = &ExternalGroupTeam{} - e.GetTeamName() - e = nil - e.GetTeamName() -} - -func TestFeedLink_GetHRef(tt *testing.T) { - tt.Parallel() - var zeroValue string - f := &FeedLink{HRef: &zeroValue} - f.GetHRef() - f = &FeedLink{} - f.GetHRef() - f = nil - f.GetHRef() -} - -func TestFeedLink_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - f := &FeedLink{Type: &zeroValue} - f.GetType() - f = &FeedLink{} - f.GetType() - f = nil - f.GetType() -} - -func TestFeedLinks_GetCurrentUser(tt *testing.T) { - tt.Parallel() - f := &FeedLinks{} - f.GetCurrentUser() - f = nil - f.GetCurrentUser() -} - -func TestFeedLinks_GetCurrentUserActor(tt *testing.T) { - tt.Parallel() - f := &FeedLinks{} - f.GetCurrentUserActor() - f = nil - f.GetCurrentUserActor() -} - -func TestFeedLinks_GetCurrentUserOrganization(tt *testing.T) { - tt.Parallel() - f := &FeedLinks{} - f.GetCurrentUserOrganization() - f = nil - 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{} - f.GetCurrentUserPublic() - f = nil - f.GetCurrentUserPublic() -} - -func TestFeedLinks_GetTimeline(tt *testing.T) { - tt.Parallel() - f := &FeedLinks{} - f.GetTimeline() - f = nil - f.GetTimeline() -} - -func TestFeedLinks_GetUser(tt *testing.T) { - tt.Parallel() - f := &FeedLinks{} - f.GetUser() - f = nil - f.GetUser() -} - -func TestFeeds_GetCurrentUserActorURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - f := &Feeds{CurrentUserActorURL: &zeroValue} - f.GetCurrentUserActorURL() - f = &Feeds{} - f.GetCurrentUserActorURL() - f = nil - f.GetCurrentUserActorURL() -} - -func TestFeeds_GetCurrentUserOrganizationURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - f := &Feeds{CurrentUserOrganizationURL: &zeroValue} - f.GetCurrentUserOrganizationURL() - f = &Feeds{} - f.GetCurrentUserOrganizationURL() - f = nil - 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 - f := &Feeds{CurrentUserPublicURL: &zeroValue} - f.GetCurrentUserPublicURL() - f = &Feeds{} - f.GetCurrentUserPublicURL() - f = nil - f.GetCurrentUserPublicURL() -} - -func TestFeeds_GetCurrentUserURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - f := &Feeds{CurrentUserURL: &zeroValue} - f.GetCurrentUserURL() - f = &Feeds{} - f.GetCurrentUserURL() - f = nil - f.GetCurrentUserURL() -} - -func TestFeeds_GetLinks(tt *testing.T) { - tt.Parallel() - f := &Feeds{} - f.GetLinks() - f = nil - f.GetLinks() -} - -func TestFeeds_GetTimelineURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - f := &Feeds{TimelineURL: &zeroValue} - f.GetTimelineURL() - f = &Feeds{} - f.GetTimelineURL() - f = nil - f.GetTimelineURL() -} - -func TestFeeds_GetUserURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - f := &Feeds{UserURL: &zeroValue} - f.GetUserURL() - f = &Feeds{} - f.GetUserURL() - f = nil - f.GetUserURL() -} - -func TestFieldValue_GetFieldName(tt *testing.T) { - tt.Parallel() - var zeroValue string - f := &FieldValue{FieldName: &zeroValue} - f.GetFieldName() - f = &FieldValue{} - f.GetFieldName() - f = nil - f.GetFieldName() -} - -func TestFieldValue_GetFieldNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - f := &FieldValue{FieldNodeID: &zeroValue} - f.GetFieldNodeID() - f = &FieldValue{} - f.GetFieldNodeID() - f = nil - f.GetFieldNodeID() -} - -func TestFieldValue_GetFieldType(tt *testing.T) { - tt.Parallel() - var zeroValue string - f := &FieldValue{FieldType: &zeroValue} - f.GetFieldType() - f = &FieldValue{} - f.GetFieldType() - f = nil - 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 - f := &FieldValue{ProjectNumber: &zeroValue} - f.GetProjectNumber() - f = &FieldValue{} - f.GetProjectNumber() - f = nil - 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 - f := &FineGrainedPersonalAccessTokenRequest{CreatedAt: &zeroValue} - f.GetCreatedAt() - f = &FineGrainedPersonalAccessTokenRequest{} - f.GetCreatedAt() - f = nil - 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 - f := &FineGrainedPersonalAccessTokenRequest{TokenExpiresAt: &zeroValue} - f.GetTokenExpiresAt() - f = &FineGrainedPersonalAccessTokenRequest{} - f.GetTokenExpiresAt() - f = nil - 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 - f := &FineGrainedPersonalAccessTokenRequest{TokenLastUsedAt: &zeroValue} - f.GetTokenLastUsedAt() - f = &FineGrainedPersonalAccessTokenRequest{} - f.GetTokenLastUsedAt() - f = nil - 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 - f := &FirstPatchedVersion{Identifier: &zeroValue} - f.GetIdentifier() - f = &FirstPatchedVersion{} - f.GetIdentifier() - f = nil - f.GetIdentifier() -} - -func TestForkEvent_GetForkee(tt *testing.T) { - tt.Parallel() - f := &ForkEvent{} - f.GetForkee() - f = nil - f.GetForkee() -} - -func TestForkEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - f := &ForkEvent{} - f.GetInstallation() - f = nil - f.GetInstallation() -} - -func TestForkEvent_GetRepo(tt *testing.T) { - tt.Parallel() - f := &ForkEvent{} - f.GetRepo() - f = nil - f.GetRepo() -} - -func TestForkEvent_GetSender(tt *testing.T) { - tt.Parallel() - f := &ForkEvent{} - f.GetSender() - f = nil - f.GetSender() -} - -func TestGenerateNotesRequest_GetConfigurationFilePath(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GenerateNotesRequest{ConfigurationFilePath: &zeroValue} - g.GetConfigurationFilePath() - g = &GenerateNotesRequest{} - g.GetConfigurationFilePath() - g = nil - g.GetConfigurationFilePath() -} - -func TestGenerateNotesRequest_GetPreviousTagName(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GenerateNotesRequest{PreviousTagName: &zeroValue} - g.GetPreviousTagName() - g = &GenerateNotesRequest{} - g.GetPreviousTagName() - g = nil - g.GetPreviousTagName() -} - -func TestGenerateNotesRequest_GetTagName(tt *testing.T) { - tt.Parallel() - g := &GenerateNotesRequest{} - g.GetTagName() - g = nil - g.GetTagName() -} - -func TestGenerateNotesRequest_GetTargetCommitish(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GenerateNotesRequest{TargetCommitish: &zeroValue} - g.GetTargetCommitish() - g = &GenerateNotesRequest{} - g.GetTargetCommitish() - g = nil - g.GetTargetCommitish() -} - -func TestGetAuditLogOptions_GetInclude(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GetAuditLogOptions{Include: &zeroValue} - g.GetInclude() - g = &GetAuditLogOptions{} - g.GetInclude() - g = nil - g.GetInclude() -} - -func TestGetAuditLogOptions_GetOrder(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GetAuditLogOptions{Order: &zeroValue} - g.GetOrder() - g = &GetAuditLogOptions{} - g.GetOrder() - g = nil - g.GetOrder() -} - -func TestGetAuditLogOptions_GetPhrase(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GetAuditLogOptions{Phrase: &zeroValue} - g.GetPhrase() - g = &GetAuditLogOptions{} - g.GetPhrase() - g = nil - 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 - g := &GetProvisionedSCIMGroupEnterpriseOptions{ExcludedAttributes: &zeroValue} - g.GetExcludedAttributes() - g = &GetProvisionedSCIMGroupEnterpriseOptions{} - g.GetExcludedAttributes() - g = nil - g.GetExcludedAttributes() -} - -func TestGist_GetComments(tt *testing.T) { - tt.Parallel() - var zeroValue int - g := &Gist{Comments: &zeroValue} - g.GetComments() - g = &Gist{} - g.GetComments() - g = nil - g.GetComments() -} - -func TestGist_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - g := &Gist{CreatedAt: &zeroValue} - g.GetCreatedAt() - g = &Gist{} - g.GetCreatedAt() - g = nil - g.GetCreatedAt() -} - -func TestGist_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &Gist{Description: &zeroValue} - g.GetDescription() - g = &Gist{} - g.GetDescription() - g = nil - g.GetDescription() -} - -func TestGist_GetFiles(tt *testing.T) { - tt.Parallel() - zeroValue := map[GistFilename]GistFile{} - g := &Gist{Files: zeroValue} - g.GetFiles() - g = &Gist{} - g.GetFiles() - g = nil - g.GetFiles() -} - -func TestGist_GetGitPullURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &Gist{GitPullURL: &zeroValue} - g.GetGitPullURL() - g = &Gist{} - g.GetGitPullURL() - g = nil - g.GetGitPullURL() -} - -func TestGist_GetGitPushURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &Gist{GitPushURL: &zeroValue} - g.GetGitPushURL() - g = &Gist{} - g.GetGitPushURL() - g = nil - g.GetGitPushURL() -} - -func TestGist_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &Gist{HTMLURL: &zeroValue} - g.GetHTMLURL() - g = &Gist{} - g.GetHTMLURL() - g = nil - g.GetHTMLURL() -} - -func TestGist_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &Gist{ID: &zeroValue} - g.GetID() - g = &Gist{} - g.GetID() - g = nil - g.GetID() -} - -func TestGist_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &Gist{NodeID: &zeroValue} - g.GetNodeID() - g = &Gist{} - g.GetNodeID() - g = nil - g.GetNodeID() -} - -func TestGist_GetOwner(tt *testing.T) { - tt.Parallel() - g := &Gist{} - g.GetOwner() - g = nil - g.GetOwner() -} - -func TestGist_GetPublic(tt *testing.T) { - tt.Parallel() - var zeroValue bool - g := &Gist{Public: &zeroValue} - g.GetPublic() - g = &Gist{} - g.GetPublic() - g = nil - g.GetPublic() -} - -func TestGist_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - g := &Gist{UpdatedAt: &zeroValue} - g.GetUpdatedAt() - g = &Gist{} - g.GetUpdatedAt() - g = nil - g.GetUpdatedAt() -} - -func TestGistComment_GetBody(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GistComment{Body: &zeroValue} - g.GetBody() - g = &GistComment{} - g.GetBody() - g = nil - g.GetBody() -} - -func TestGistComment_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - g := &GistComment{CreatedAt: &zeroValue} - g.GetCreatedAt() - g = &GistComment{} - g.GetCreatedAt() - g = nil - g.GetCreatedAt() -} - -func TestGistComment_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - g := &GistComment{ID: &zeroValue} - g.GetID() - g = &GistComment{} - g.GetID() - g = nil - g.GetID() -} - -func TestGistComment_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GistComment{URL: &zeroValue} - g.GetURL() - g = &GistComment{} - g.GetURL() - g = nil - g.GetURL() -} - -func TestGistComment_GetUser(tt *testing.T) { - tt.Parallel() - g := &GistComment{} - g.GetUser() - g = nil - g.GetUser() -} - -func TestGistCommit_GetChangeStatus(tt *testing.T) { - tt.Parallel() - g := &GistCommit{} - g.GetChangeStatus() - g = nil - g.GetChangeStatus() -} - -func TestGistCommit_GetCommittedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - g := &GistCommit{CommittedAt: &zeroValue} - g.GetCommittedAt() - g = &GistCommit{} - g.GetCommittedAt() - g = nil - g.GetCommittedAt() -} - -func TestGistCommit_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GistCommit{NodeID: &zeroValue} - g.GetNodeID() - g = &GistCommit{} - g.GetNodeID() - g = nil - g.GetNodeID() -} - -func TestGistCommit_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GistCommit{URL: &zeroValue} - g.GetURL() - g = &GistCommit{} - g.GetURL() - g = nil - g.GetURL() -} - -func TestGistCommit_GetUser(tt *testing.T) { - tt.Parallel() - g := &GistCommit{} - g.GetUser() - g = nil - g.GetUser() -} - -func TestGistCommit_GetVersion(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GistCommit{Version: &zeroValue} - g.GetVersion() - g = &GistCommit{} - g.GetVersion() - g = nil - g.GetVersion() -} - -func TestGistFile_GetContent(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GistFile{Content: &zeroValue} - g.GetContent() - g = &GistFile{} - g.GetContent() - g = nil - g.GetContent() -} - -func TestGistFile_GetFilename(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GistFile{Filename: &zeroValue} - g.GetFilename() - g = &GistFile{} - g.GetFilename() - g = nil - g.GetFilename() -} - -func TestGistFile_GetLanguage(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GistFile{Language: &zeroValue} - g.GetLanguage() - g = &GistFile{} - g.GetLanguage() - g = nil - g.GetLanguage() -} - -func TestGistFile_GetRawURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GistFile{RawURL: &zeroValue} - g.GetRawURL() - g = &GistFile{} - g.GetRawURL() - g = nil - g.GetRawURL() -} - -func TestGistFile_GetSize(tt *testing.T) { - tt.Parallel() - var zeroValue int - g := &GistFile{Size: &zeroValue} - g.GetSize() - g = &GistFile{} - g.GetSize() - g = nil - g.GetSize() -} - -func TestGistFile_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GistFile{Type: &zeroValue} - g.GetType() - g = &GistFile{} - g.GetType() - g = nil - g.GetType() -} - -func TestGistFork_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - g := &GistFork{CreatedAt: &zeroValue} - g.GetCreatedAt() - g = &GistFork{} - g.GetCreatedAt() - g = nil - g.GetCreatedAt() -} - -func TestGistFork_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GistFork{ID: &zeroValue} - g.GetID() - g = &GistFork{} - g.GetID() - g = nil - g.GetID() -} - -func TestGistFork_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GistFork{NodeID: &zeroValue} - g.GetNodeID() - g = &GistFork{} - g.GetNodeID() - g = nil - g.GetNodeID() -} - -func TestGistFork_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - g := &GistFork{UpdatedAt: &zeroValue} - g.GetUpdatedAt() - g = &GistFork{} - g.GetUpdatedAt() - g = nil - g.GetUpdatedAt() -} - -func TestGistFork_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GistFork{URL: &zeroValue} - g.GetURL() - g = &GistFork{} - g.GetURL() - g = nil - g.GetURL() -} - -func TestGistFork_GetUser(tt *testing.T) { - tt.Parallel() - g := &GistFork{} - g.GetUser() - g = nil - 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 - g := &GistStats{PrivateGists: &zeroValue} - g.GetPrivateGists() - g = &GistStats{} - g.GetPrivateGists() - g = nil - g.GetPrivateGists() -} - -func TestGistStats_GetPublicGists(tt *testing.T) { - tt.Parallel() - var zeroValue int - g := &GistStats{PublicGists: &zeroValue} - g.GetPublicGists() - g = &GistStats{} - g.GetPublicGists() - g = nil - g.GetPublicGists() -} - -func TestGistStats_GetTotalGists(tt *testing.T) { - tt.Parallel() - var zeroValue int - g := &GistStats{TotalGists: &zeroValue} - g.GetTotalGists() - g = &GistStats{} - g.GetTotalGists() - g = nil - g.GetTotalGists() -} - -func TestGitHubAppAuthorizationEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GitHubAppAuthorizationEvent{Action: &zeroValue} - g.GetAction() - g = &GitHubAppAuthorizationEvent{} - g.GetAction() - g = nil - g.GetAction() -} - -func TestGitHubAppAuthorizationEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - g := &GitHubAppAuthorizationEvent{} - g.GetInstallation() - g = nil - g.GetInstallation() -} - -func TestGitHubAppAuthorizationEvent_GetSender(tt *testing.T) { - tt.Parallel() - g := &GitHubAppAuthorizationEvent{} - g.GetSender() - g = nil - g.GetSender() -} - -func TestGitignore_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &Gitignore{Name: &zeroValue} - g.GetName() - g = &Gitignore{} - g.GetName() - g = nil - g.GetName() -} - -func TestGitignore_GetSource(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &Gitignore{Source: &zeroValue} - g.GetSource() - g = &Gitignore{} - g.GetSource() - g = nil - g.GetSource() -} - -func TestGitObject_GetSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GitObject{SHA: &zeroValue} - g.GetSHA() - g = &GitObject{} - g.GetSHA() - g = nil - g.GetSHA() -} - -func TestGitObject_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GitObject{Type: &zeroValue} - g.GetType() - g = &GitObject{} - g.GetType() - g = nil - g.GetType() -} - -func TestGitObject_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GitObject{URL: &zeroValue} - g.GetURL() - g = &GitObject{} - g.GetURL() - g = nil - 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 - g := &GlobalSecurityAdvisory{GithubReviewedAt: &zeroValue} - g.GetGithubReviewedAt() - g = &GlobalSecurityAdvisory{} - g.GetGithubReviewedAt() - g = nil - g.GetGithubReviewedAt() -} - -func TestGlobalSecurityAdvisory_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - g := &GlobalSecurityAdvisory{ID: &zeroValue} - g.GetID() - g = &GlobalSecurityAdvisory{} - g.GetID() - g = nil - g.GetID() -} - -func TestGlobalSecurityAdvisory_GetNVDPublishedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - g := &GlobalSecurityAdvisory{NVDPublishedAt: &zeroValue} - g.GetNVDPublishedAt() - g = &GlobalSecurityAdvisory{} - g.GetNVDPublishedAt() - g = nil - 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 - g := &GlobalSecurityAdvisory{RepositoryAdvisoryURL: &zeroValue} - g.GetRepositoryAdvisoryURL() - g = &GlobalSecurityAdvisory{} - g.GetRepositoryAdvisoryURL() - g = nil - g.GetRepositoryAdvisoryURL() -} - -func TestGlobalSecurityAdvisory_GetSourceCodeLocation(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GlobalSecurityAdvisory{SourceCodeLocation: &zeroValue} - g.GetSourceCodeLocation() - g = &GlobalSecurityAdvisory{} - g.GetSourceCodeLocation() - g = nil - g.GetSourceCodeLocation() -} - -func TestGlobalSecurityAdvisory_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GlobalSecurityAdvisory{Type: &zeroValue} - g.GetType() - g = &GlobalSecurityAdvisory{} - g.GetType() - g = nil - 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 - g := &GlobalSecurityVulnerability{FirstPatchedVersion: &zeroValue} - g.GetFirstPatchedVersion() - g = &GlobalSecurityVulnerability{} - g.GetFirstPatchedVersion() - g = nil - g.GetFirstPatchedVersion() -} - -func TestGlobalSecurityVulnerability_GetPackage(tt *testing.T) { - tt.Parallel() - g := &GlobalSecurityVulnerability{} - g.GetPackage() - g = nil - 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 - g := &GlobalSecurityVulnerability{VulnerableVersionRange: &zeroValue} - g.GetVulnerableVersionRange() - g = &GlobalSecurityVulnerability{} - g.GetVulnerableVersionRange() - g = nil - g.GetVulnerableVersionRange() -} - -func TestGollumEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - g := &GollumEvent{} - g.GetInstallation() - g = nil - g.GetInstallation() -} - -func TestGollumEvent_GetOrg(tt *testing.T) { - tt.Parallel() - g := &GollumEvent{} - g.GetOrg() - g = nil - 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{} - g.GetRepo() - g = nil - g.GetRepo() -} - -func TestGollumEvent_GetSender(tt *testing.T) { - tt.Parallel() - g := &GollumEvent{} - g.GetSender() - g = nil - 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 - g := &GPGEmail{Email: &zeroValue} - g.GetEmail() - g = &GPGEmail{} - g.GetEmail() - g = nil - g.GetEmail() -} - -func TestGPGEmail_GetVerified(tt *testing.T) { - tt.Parallel() - var zeroValue bool - g := &GPGEmail{Verified: &zeroValue} - g.GetVerified() - g = &GPGEmail{} - g.GetVerified() - g = nil - g.GetVerified() -} - -func TestGPGKey_GetCanCertify(tt *testing.T) { - tt.Parallel() - var zeroValue bool - g := &GPGKey{CanCertify: &zeroValue} - g.GetCanCertify() - g = &GPGKey{} - g.GetCanCertify() - g = nil - g.GetCanCertify() -} - -func TestGPGKey_GetCanEncryptComms(tt *testing.T) { - tt.Parallel() - var zeroValue bool - g := &GPGKey{CanEncryptComms: &zeroValue} - g.GetCanEncryptComms() - g = &GPGKey{} - g.GetCanEncryptComms() - g = nil - g.GetCanEncryptComms() -} - -func TestGPGKey_GetCanEncryptStorage(tt *testing.T) { - tt.Parallel() - var zeroValue bool - g := &GPGKey{CanEncryptStorage: &zeroValue} - g.GetCanEncryptStorage() - g = &GPGKey{} - g.GetCanEncryptStorage() - g = nil - g.GetCanEncryptStorage() -} - -func TestGPGKey_GetCanSign(tt *testing.T) { - tt.Parallel() - var zeroValue bool - g := &GPGKey{CanSign: &zeroValue} - g.GetCanSign() - g = &GPGKey{} - g.GetCanSign() - g = nil - g.GetCanSign() -} - -func TestGPGKey_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - g := &GPGKey{CreatedAt: &zeroValue} - g.GetCreatedAt() - g = &GPGKey{} - g.GetCreatedAt() - g = nil - 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 - g := &GPGKey{ExpiresAt: &zeroValue} - g.GetExpiresAt() - g = &GPGKey{} - g.GetExpiresAt() - g = nil - g.GetExpiresAt() -} - -func TestGPGKey_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - g := &GPGKey{ID: &zeroValue} - g.GetID() - g = &GPGKey{} - g.GetID() - g = nil - g.GetID() -} - -func TestGPGKey_GetKeyID(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GPGKey{KeyID: &zeroValue} - g.GetKeyID() - g = &GPGKey{} - g.GetKeyID() - g = nil - g.GetKeyID() -} - -func TestGPGKey_GetPrimaryKeyID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - g := &GPGKey{PrimaryKeyID: &zeroValue} - g.GetPrimaryKeyID() - g = &GPGKey{} - g.GetPrimaryKeyID() - g = nil - g.GetPrimaryKeyID() -} - -func TestGPGKey_GetPublicKey(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GPGKey{PublicKey: &zeroValue} - g.GetPublicKey() - g = &GPGKey{} - g.GetPublicKey() - g = nil - g.GetPublicKey() -} - -func TestGPGKey_GetRawKey(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &GPGKey{RawKey: &zeroValue} - g.GetRawKey() - g = &GPGKey{} - g.GetRawKey() - g = nil - 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{} - g.GetApp() - g = nil - g.GetApp() -} - -func TestGrant_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - g := &Grant{CreatedAt: &zeroValue} - g.GetCreatedAt() - g = &Grant{} - g.GetCreatedAt() - g = nil - g.GetCreatedAt() -} - -func TestGrant_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - g := &Grant{ID: &zeroValue} - g.GetID() - g = &Grant{} - g.GetID() - g = nil - 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 - g := &Grant{UpdatedAt: &zeroValue} - g.GetUpdatedAt() - g = &Grant{} - g.GetUpdatedAt() - g = nil - g.GetUpdatedAt() -} - -func TestGrant_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - g := &Grant{URL: &zeroValue} - g.GetURL() - g = &Grant{} - g.GetURL() - g = nil - 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{} - h.GetAuthor() - h = nil - h.GetAuthor() -} - -func TestHeadCommit_GetCommitter(tt *testing.T) { - tt.Parallel() - h := &HeadCommit{} - h.GetCommitter() - h = nil - h.GetCommitter() -} - -func TestHeadCommit_GetDistinct(tt *testing.T) { - tt.Parallel() - var zeroValue bool - h := &HeadCommit{Distinct: &zeroValue} - h.GetDistinct() - h = &HeadCommit{} - h.GetDistinct() - h = nil - h.GetDistinct() -} - -func TestHeadCommit_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue string - h := &HeadCommit{ID: &zeroValue} - h.GetID() - h = &HeadCommit{} - h.GetID() - h = nil - h.GetID() -} - -func TestHeadCommit_GetMessage(tt *testing.T) { - tt.Parallel() - var zeroValue string - h := &HeadCommit{Message: &zeroValue} - h.GetMessage() - h = &HeadCommit{} - h.GetMessage() - h = nil - 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 - h := &HeadCommit{SHA: &zeroValue} - h.GetSHA() - h = &HeadCommit{} - h.GetSHA() - h = nil - h.GetSHA() -} - -func TestHeadCommit_GetTimestamp(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - h := &HeadCommit{Timestamp: &zeroValue} - h.GetTimestamp() - h = &HeadCommit{} - h.GetTimestamp() - h = nil - h.GetTimestamp() -} - -func TestHeadCommit_GetTreeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - h := &HeadCommit{TreeID: &zeroValue} - h.GetTreeID() - h = &HeadCommit{} - h.GetTreeID() - h = nil - h.GetTreeID() -} - -func TestHeadCommit_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - h := &HeadCommit{URL: &zeroValue} - h.GetURL() - h = &HeadCommit{} - h.GetURL() - h = nil - 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 - h := &Hook{Active: &zeroValue} - h.GetActive() - h = &Hook{} - h.GetActive() - h = nil - h.GetActive() -} - -func TestHook_GetConfig(tt *testing.T) { - tt.Parallel() - h := &Hook{} - h.GetConfig() - h = nil - h.GetConfig() -} - -func TestHook_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - h := &Hook{CreatedAt: &zeroValue} - h.GetCreatedAt() - h = &Hook{} - h.GetCreatedAt() - h = nil - 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 - h := &Hook{ID: &zeroValue} - h.GetID() - h = &Hook{} - h.GetID() - h = nil - h.GetID() -} - -func TestHook_GetLastResponse(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]any{} - h := &Hook{LastResponse: zeroValue} - h.GetLastResponse() - h = &Hook{} - h.GetLastResponse() - h = nil - h.GetLastResponse() -} - -func TestHook_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - h := &Hook{Name: &zeroValue} - h.GetName() - h = &Hook{} - h.GetName() - h = nil - h.GetName() -} - -func TestHook_GetPingURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - h := &Hook{PingURL: &zeroValue} - h.GetPingURL() - h = &Hook{} - h.GetPingURL() - h = nil - h.GetPingURL() -} - -func TestHook_GetTestURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - h := &Hook{TestURL: &zeroValue} - h.GetTestURL() - h = &Hook{} - h.GetTestURL() - h = nil - h.GetTestURL() -} - -func TestHook_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - h := &Hook{Type: &zeroValue} - h.GetType() - h = &Hook{} - h.GetType() - h = nil - h.GetType() -} - -func TestHook_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - h := &Hook{UpdatedAt: &zeroValue} - h.GetUpdatedAt() - h = &Hook{} - h.GetUpdatedAt() - h = nil - h.GetUpdatedAt() -} - -func TestHook_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - h := &Hook{URL: &zeroValue} - h.GetURL() - h = &Hook{} - h.GetURL() - h = nil - h.GetURL() -} - -func TestHookConfig_GetContentType(tt *testing.T) { - tt.Parallel() - var zeroValue string - h := &HookConfig{ContentType: &zeroValue} - h.GetContentType() - h = &HookConfig{} - h.GetContentType() - h = nil - h.GetContentType() -} - -func TestHookConfig_GetInsecureSSL(tt *testing.T) { - tt.Parallel() - var zeroValue string - h := &HookConfig{InsecureSSL: &zeroValue} - h.GetInsecureSSL() - h = &HookConfig{} - h.GetInsecureSSL() - h = nil - h.GetInsecureSSL() -} - -func TestHookConfig_GetSecret(tt *testing.T) { - tt.Parallel() - var zeroValue string - h := &HookConfig{Secret: &zeroValue} - h.GetSecret() - h = &HookConfig{} - h.GetSecret() - h = nil - h.GetSecret() -} - -func TestHookConfig_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - h := &HookConfig{URL: &zeroValue} - h.GetURL() - h = &HookConfig{} - h.GetURL() - h = nil - h.GetURL() -} - -func TestHookDelivery_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - h := &HookDelivery{Action: &zeroValue} - h.GetAction() - h = &HookDelivery{} - h.GetAction() - h = nil - h.GetAction() -} - -func TestHookDelivery_GetDeliveredAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - h := &HookDelivery{DeliveredAt: &zeroValue} - h.GetDeliveredAt() - h = &HookDelivery{} - h.GetDeliveredAt() - h = nil - h.GetDeliveredAt() -} - -func TestHookDelivery_GetDuration(tt *testing.T) { - tt.Parallel() - var zeroValue float64 - h := &HookDelivery{Duration: &zeroValue} - h.GetDuration() - h = &HookDelivery{} - h.GetDuration() - h = nil - h.GetDuration() -} - -func TestHookDelivery_GetEvent(tt *testing.T) { - tt.Parallel() - var zeroValue string - h := &HookDelivery{Event: &zeroValue} - h.GetEvent() - h = &HookDelivery{} - h.GetEvent() - h = nil - h.GetEvent() -} - -func TestHookDelivery_GetGUID(tt *testing.T) { - tt.Parallel() - var zeroValue string - h := &HookDelivery{GUID: &zeroValue} - h.GetGUID() - h = &HookDelivery{} - h.GetGUID() - h = nil - h.GetGUID() -} - -func TestHookDelivery_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - h := &HookDelivery{ID: &zeroValue} - h.GetID() - h = &HookDelivery{} - h.GetID() - h = nil - h.GetID() -} - -func TestHookDelivery_GetInstallationID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - h := &HookDelivery{InstallationID: &zeroValue} - h.GetInstallationID() - h = &HookDelivery{} - h.GetInstallationID() - h = nil - h.GetInstallationID() -} - -func TestHookDelivery_GetRedelivery(tt *testing.T) { - tt.Parallel() - var zeroValue bool - h := &HookDelivery{Redelivery: &zeroValue} - h.GetRedelivery() - h = &HookDelivery{} - h.GetRedelivery() - h = nil - h.GetRedelivery() -} - -func TestHookDelivery_GetRepositoryID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - h := &HookDelivery{RepositoryID: &zeroValue} - h.GetRepositoryID() - h = &HookDelivery{} - h.GetRepositoryID() - h = nil - h.GetRepositoryID() -} - -func TestHookDelivery_GetRequest(tt *testing.T) { - tt.Parallel() - h := &HookDelivery{} - h.GetRequest() - h = nil - h.GetRequest() -} - -func TestHookDelivery_GetResponse(tt *testing.T) { - tt.Parallel() - h := &HookDelivery{} - h.GetResponse() - h = nil - h.GetResponse() -} - -func TestHookDelivery_GetStatus(tt *testing.T) { - tt.Parallel() - var zeroValue string - h := &HookDelivery{Status: &zeroValue} - h.GetStatus() - h = &HookDelivery{} - h.GetStatus() - h = nil - h.GetStatus() -} - -func TestHookDelivery_GetStatusCode(tt *testing.T) { - tt.Parallel() - var zeroValue int - h := &HookDelivery{StatusCode: &zeroValue} - h.GetStatusCode() - h = &HookDelivery{} - h.GetStatusCode() - h = nil - h.GetStatusCode() -} - -func TestHookDelivery_GetThrottledAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - h := &HookDelivery{ThrottledAt: &zeroValue} - h.GetThrottledAt() - h = &HookDelivery{} - h.GetThrottledAt() - h = nil - h.GetThrottledAt() -} - -func TestHookRequest_GetHeaders(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]string{} - h := &HookRequest{Headers: zeroValue} - h.GetHeaders() - h = &HookRequest{} - h.GetHeaders() - h = nil - h.GetHeaders() -} - -func TestHookRequest_GetRawPayload(tt *testing.T) { - tt.Parallel() - var zeroValue json.RawMessage - h := &HookRequest{RawPayload: &zeroValue} - h.GetRawPayload() - h = &HookRequest{} - h.GetRawPayload() - h = nil - h.GetRawPayload() -} - -func TestHookResponse_GetHeaders(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]string{} - h := &HookResponse{Headers: zeroValue} - h.GetHeaders() - h = &HookResponse{} - h.GetHeaders() - h = nil - h.GetHeaders() -} - -func TestHookResponse_GetRawPayload(tt *testing.T) { - tt.Parallel() - var zeroValue json.RawMessage - h := &HookResponse{RawPayload: &zeroValue} - h.GetRawPayload() - h = &HookResponse{} - h.GetRawPayload() - h = nil - h.GetRawPayload() -} - -func TestHookStats_GetActiveHooks(tt *testing.T) { - tt.Parallel() - var zeroValue int - h := &HookStats{ActiveHooks: &zeroValue} - h.GetActiveHooks() - h = &HookStats{} - h.GetActiveHooks() - h = nil - h.GetActiveHooks() -} - -func TestHookStats_GetInactiveHooks(tt *testing.T) { - tt.Parallel() - var zeroValue int - h := &HookStats{InactiveHooks: &zeroValue} - h.GetInactiveHooks() - h = &HookStats{} - h.GetInactiveHooks() - h = nil - h.GetInactiveHooks() -} - -func TestHookStats_GetTotalHooks(tt *testing.T) { - tt.Parallel() - var zeroValue int - h := &HookStats{TotalHooks: &zeroValue} - h.GetTotalHooks() - h = &HookStats{} - h.GetTotalHooks() - h = nil - h.GetTotalHooks() -} - -func TestHostedRunner_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - h := &HostedRunner{ID: &zeroValue} - h.GetID() - h = &HostedRunner{} - h.GetID() - h = nil - h.GetID() -} - -func TestHostedRunner_GetImageDetails(tt *testing.T) { - tt.Parallel() - h := &HostedRunner{} - h.GetImageDetails() - h = nil - h.GetImageDetails() -} - -func TestHostedRunner_GetLastActiveOn(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - h := &HostedRunner{LastActiveOn: &zeroValue} - h.GetLastActiveOn() - h = &HostedRunner{} - h.GetLastActiveOn() - h = nil - h.GetLastActiveOn() -} - -func TestHostedRunner_GetMachineSizeDetails(tt *testing.T) { - tt.Parallel() - h := &HostedRunner{} - h.GetMachineSizeDetails() - h = nil - h.GetMachineSizeDetails() -} - -func TestHostedRunner_GetMaximumRunners(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - h := &HostedRunner{MaximumRunners: &zeroValue} - h.GetMaximumRunners() - h = &HostedRunner{} - h.GetMaximumRunners() - h = nil - h.GetMaximumRunners() -} - -func TestHostedRunner_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - h := &HostedRunner{Name: &zeroValue} - h.GetName() - h = &HostedRunner{} - h.GetName() - h = nil - h.GetName() -} - -func TestHostedRunner_GetPlatform(tt *testing.T) { - tt.Parallel() - var zeroValue string - h := &HostedRunner{Platform: &zeroValue} - h.GetPlatform() - h = &HostedRunner{} - h.GetPlatform() - h = nil - h.GetPlatform() -} - -func TestHostedRunner_GetPublicIPEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - h := &HostedRunner{PublicIPEnabled: &zeroValue} - h.GetPublicIPEnabled() - h = &HostedRunner{} - h.GetPublicIPEnabled() - h = nil - 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 - h := &HostedRunner{RunnerGroupID: &zeroValue} - h.GetRunnerGroupID() - h = &HostedRunner{} - h.GetRunnerGroupID() - h = nil - h.GetRunnerGroupID() -} - -func TestHostedRunner_GetStatus(tt *testing.T) { - tt.Parallel() - var zeroValue string - h := &HostedRunner{Status: &zeroValue} - h.GetStatus() - h = &HostedRunner{} - h.GetStatus() - h = nil - h.GetStatus() -} - -func TestHostedRunnerCustomImage_GetID(tt *testing.T) { - tt.Parallel() - h := &HostedRunnerCustomImage{} - h.GetID() - h = nil - h.GetID() -} - -func TestHostedRunnerCustomImage_GetLatestVersion(tt *testing.T) { - tt.Parallel() - h := &HostedRunnerCustomImage{} - h.GetLatestVersion() - h = nil - h.GetLatestVersion() -} - -func TestHostedRunnerCustomImage_GetName(tt *testing.T) { - tt.Parallel() - h := &HostedRunnerCustomImage{} - h.GetName() - h = nil - h.GetName() -} - -func TestHostedRunnerCustomImage_GetPlatform(tt *testing.T) { - tt.Parallel() - h := &HostedRunnerCustomImage{} - h.GetPlatform() - h = nil - h.GetPlatform() -} - -func TestHostedRunnerCustomImage_GetSource(tt *testing.T) { - tt.Parallel() - h := &HostedRunnerCustomImage{} - h.GetSource() - h = nil - h.GetSource() -} - -func TestHostedRunnerCustomImage_GetState(tt *testing.T) { - tt.Parallel() - h := &HostedRunnerCustomImage{} - h.GetState() - h = nil - h.GetState() -} - -func TestHostedRunnerCustomImage_GetTotalVersionsSize(tt *testing.T) { - tt.Parallel() - h := &HostedRunnerCustomImage{} - h.GetTotalVersionsSize() - h = nil - h.GetTotalVersionsSize() -} - -func TestHostedRunnerCustomImage_GetVersionsCount(tt *testing.T) { - tt.Parallel() - h := &HostedRunnerCustomImage{} - h.GetVersionsCount() - h = nil - h.GetVersionsCount() -} - -func TestHostedRunnerCustomImages_GetImages(tt *testing.T) { - tt.Parallel() - zeroValue := []*HostedRunnerCustomImage{} - h := &HostedRunnerCustomImages{Images: zeroValue} - h.GetImages() - h = &HostedRunnerCustomImages{} - h.GetImages() - h = nil - h.GetImages() -} - -func TestHostedRunnerCustomImages_GetTotalCount(tt *testing.T) { - tt.Parallel() - h := &HostedRunnerCustomImages{} - h.GetTotalCount() - h = nil - h.GetTotalCount() -} - -func TestHostedRunnerCustomImageVersion_GetCreatedOn(tt *testing.T) { - tt.Parallel() - h := &HostedRunnerCustomImageVersion{} - h.GetCreatedOn() - h = nil - h.GetCreatedOn() -} - -func TestHostedRunnerCustomImageVersion_GetSizeGB(tt *testing.T) { - tt.Parallel() - h := &HostedRunnerCustomImageVersion{} - h.GetSizeGB() - h = nil - h.GetSizeGB() -} - -func TestHostedRunnerCustomImageVersion_GetState(tt *testing.T) { - tt.Parallel() - h := &HostedRunnerCustomImageVersion{} - h.GetState() - h = nil - h.GetState() -} - -func TestHostedRunnerCustomImageVersion_GetStateDetails(tt *testing.T) { - tt.Parallel() - h := &HostedRunnerCustomImageVersion{} - h.GetStateDetails() - h = nil - h.GetStateDetails() -} - -func TestHostedRunnerCustomImageVersion_GetVersion(tt *testing.T) { - tt.Parallel() - h := &HostedRunnerCustomImageVersion{} - h.GetVersion() - h = nil - h.GetVersion() -} - -func TestHostedRunnerCustomImageVersions_GetImageVersions(tt *testing.T) { - tt.Parallel() - zeroValue := []*HostedRunnerCustomImageVersion{} - h := &HostedRunnerCustomImageVersions{ImageVersions: zeroValue} - h.GetImageVersions() - h = &HostedRunnerCustomImageVersions{} - h.GetImageVersions() - h = nil - h.GetImageVersions() -} - -func TestHostedRunnerCustomImageVersions_GetTotalCount(tt *testing.T) { - tt.Parallel() - h := &HostedRunnerCustomImageVersions{} - h.GetTotalCount() - h = nil - h.GetTotalCount() -} - -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 - h := &HostedRunnerImage{Version: &zeroValue} - h.GetVersion() - h = &HostedRunnerImage{} - h.GetVersion() - h = nil - h.GetVersion() -} - -func TestHostedRunnerImageDetail_GetDisplayName(tt *testing.T) { - tt.Parallel() - var zeroValue string - h := &HostedRunnerImageDetail{DisplayName: &zeroValue} - h.GetDisplayName() - h = &HostedRunnerImageDetail{} - h.GetDisplayName() - h = nil - h.GetDisplayName() -} - -func TestHostedRunnerImageDetail_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue string - h := &HostedRunnerImageDetail{ID: &zeroValue} - h.GetID() - h = &HostedRunnerImageDetail{} - h.GetID() - h = nil - h.GetID() -} - -func TestHostedRunnerImageDetail_GetSizeGB(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - h := &HostedRunnerImageDetail{SizeGB: &zeroValue} - h.GetSizeGB() - h = &HostedRunnerImageDetail{} - h.GetSizeGB() - h = nil - h.GetSizeGB() -} - -func TestHostedRunnerImageDetail_GetSource(tt *testing.T) { - tt.Parallel() - var zeroValue string - h := &HostedRunnerImageDetail{Source: &zeroValue} - h.GetSource() - h = &HostedRunnerImageDetail{} - h.GetSource() - h = nil - h.GetSource() -} - -func TestHostedRunnerImageDetail_GetVersion(tt *testing.T) { - tt.Parallel() - var zeroValue string - h := &HostedRunnerImageDetail{Version: &zeroValue} - h.GetVersion() - h = &HostedRunnerImageDetail{} - h.GetVersion() - h = nil - 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{} - h.GetPublicIPs() - h = nil - 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 - i := &IDPGroup{GroupDescription: &zeroValue} - i.GetGroupDescription() - i = &IDPGroup{} - i.GetGroupDescription() - i = nil - i.GetGroupDescription() -} - -func TestIDPGroup_GetGroupID(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IDPGroup{GroupID: &zeroValue} - i.GetGroupID() - i = &IDPGroup{} - i.GetGroupID() - i = nil - i.GetGroupID() -} - -func TestIDPGroup_GetGroupName(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IDPGroup{GroupName: &zeroValue} - i.GetGroupName() - i = &IDPGroup{} - i.GetGroupName() - i = nil - 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 - i := &ImmutableReleasePolicy{EnforcedRepositories: &zeroValue} - i.GetEnforcedRepositories() - i = &ImmutableReleasePolicy{} - i.GetEnforcedRepositories() - i = nil - 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 - i := &ImmutableReleaseSettings{EnforcedRepositories: &zeroValue} - i.GetEnforcedRepositories() - i = &ImmutableReleaseSettings{} - i.GetEnforcedRepositories() - i = nil - i.GetEnforcedRepositories() -} - -func TestImmutableReleaseSettings_GetSelectedRepositoriesURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &ImmutableReleaseSettings{SelectedRepositoriesURL: &zeroValue} - i.GetSelectedRepositoriesURL() - i = &ImmutableReleaseSettings{} - i.GetSelectedRepositoriesURL() - i = nil - i.GetSelectedRepositoriesURL() -} - -func TestImport_GetAuthorsCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - i := &Import{AuthorsCount: &zeroValue} - i.GetAuthorsCount() - i = &Import{} - i.GetAuthorsCount() - i = nil - i.GetAuthorsCount() -} - -func TestImport_GetAuthorsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Import{AuthorsURL: &zeroValue} - i.GetAuthorsURL() - i = &Import{} - i.GetAuthorsURL() - i = nil - i.GetAuthorsURL() -} - -func TestImport_GetCommitCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - i := &Import{CommitCount: &zeroValue} - i.GetCommitCount() - i = &Import{} - i.GetCommitCount() - i = nil - i.GetCommitCount() -} - -func TestImport_GetFailedStep(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Import{FailedStep: &zeroValue} - i.GetFailedStep() - i = &Import{} - i.GetFailedStep() - i = nil - i.GetFailedStep() -} - -func TestImport_GetHasLargeFiles(tt *testing.T) { - tt.Parallel() - var zeroValue bool - i := &Import{HasLargeFiles: &zeroValue} - i.GetHasLargeFiles() - i = &Import{} - i.GetHasLargeFiles() - i = nil - i.GetHasLargeFiles() -} - -func TestImport_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Import{HTMLURL: &zeroValue} - i.GetHTMLURL() - i = &Import{} - i.GetHTMLURL() - i = nil - i.GetHTMLURL() -} - -func TestImport_GetHumanName(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Import{HumanName: &zeroValue} - i.GetHumanName() - i = &Import{} - i.GetHumanName() - i = nil - i.GetHumanName() -} - -func TestImport_GetLargeFilesCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - i := &Import{LargeFilesCount: &zeroValue} - i.GetLargeFilesCount() - i = &Import{} - i.GetLargeFilesCount() - i = nil - i.GetLargeFilesCount() -} - -func TestImport_GetLargeFilesSize(tt *testing.T) { - tt.Parallel() - var zeroValue int - i := &Import{LargeFilesSize: &zeroValue} - i.GetLargeFilesSize() - i = &Import{} - i.GetLargeFilesSize() - i = nil - i.GetLargeFilesSize() -} - -func TestImport_GetMessage(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Import{Message: &zeroValue} - i.GetMessage() - i = &Import{} - i.GetMessage() - i = nil - i.GetMessage() -} - -func TestImport_GetPercent(tt *testing.T) { - tt.Parallel() - var zeroValue int - i := &Import{Percent: &zeroValue} - i.GetPercent() - i = &Import{} - i.GetPercent() - i = nil - 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 - i := &Import{PushPercent: &zeroValue} - i.GetPushPercent() - i = &Import{} - i.GetPushPercent() - i = nil - i.GetPushPercent() -} - -func TestImport_GetRepositoryURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Import{RepositoryURL: &zeroValue} - i.GetRepositoryURL() - i = &Import{} - i.GetRepositoryURL() - i = nil - i.GetRepositoryURL() -} - -func TestImport_GetStatus(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Import{Status: &zeroValue} - i.GetStatus() - i = &Import{} - i.GetStatus() - i = nil - i.GetStatus() -} - -func TestImport_GetStatusText(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Import{StatusText: &zeroValue} - i.GetStatusText() - i = &Import{} - i.GetStatusText() - i = nil - i.GetStatusText() -} - -func TestImport_GetTFVCProject(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Import{TFVCProject: &zeroValue} - i.GetTFVCProject() - i = &Import{} - i.GetTFVCProject() - i = nil - i.GetTFVCProject() -} - -func TestImport_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Import{URL: &zeroValue} - i.GetURL() - i = &Import{} - i.GetURL() - i = nil - i.GetURL() -} - -func TestImport_GetUseLFS(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Import{UseLFS: &zeroValue} - i.GetUseLFS() - i = &Import{} - i.GetUseLFS() - i = nil - i.GetUseLFS() -} - -func TestImport_GetVCS(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Import{VCS: &zeroValue} - i.GetVCS() - i = &Import{} - i.GetVCS() - i = nil - i.GetVCS() -} - -func TestImport_GetVCSPassword(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Import{VCSPassword: &zeroValue} - i.GetVCSPassword() - i = &Import{} - i.GetVCSPassword() - i = nil - i.GetVCSPassword() -} - -func TestImport_GetVCSURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Import{VCSURL: &zeroValue} - i.GetVCSURL() - i = &Import{} - i.GetVCSURL() - i = nil - i.GetVCSURL() -} - -func TestImport_GetVCSUsername(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Import{VCSUsername: &zeroValue} - i.GetVCSUsername() - i = &Import{} - i.GetVCSUsername() - i = nil - 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 - i := &InstallableOrganization{AccessibleRepositoriesURL: &zeroValue} - i.GetAccessibleRepositoriesURL() - i = &InstallableOrganization{} - i.GetAccessibleRepositoriesURL() - i = nil - 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 - i := &Installation{AccessTokensURL: &zeroValue} - i.GetAccessTokensURL() - i = &Installation{} - i.GetAccessTokensURL() - i = nil - i.GetAccessTokensURL() -} - -func TestInstallation_GetAccount(tt *testing.T) { - tt.Parallel() - i := &Installation{} - i.GetAccount() - i = nil - i.GetAccount() -} - -func TestInstallation_GetAppID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - i := &Installation{AppID: &zeroValue} - i.GetAppID() - i = &Installation{} - i.GetAppID() - i = nil - i.GetAppID() -} - -func TestInstallation_GetAppSlug(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Installation{AppSlug: &zeroValue} - i.GetAppSlug() - i = &Installation{} - i.GetAppSlug() - i = nil - i.GetAppSlug() -} - -func TestInstallation_GetClientID(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Installation{ClientID: &zeroValue} - i.GetClientID() - i = &Installation{} - i.GetClientID() - i = nil - i.GetClientID() -} - -func TestInstallation_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - i := &Installation{CreatedAt: &zeroValue} - i.GetCreatedAt() - i = &Installation{} - i.GetCreatedAt() - i = nil - 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 - i := &Installation{HasMultipleSingleFiles: &zeroValue} - i.GetHasMultipleSingleFiles() - i = &Installation{} - i.GetHasMultipleSingleFiles() - i = nil - i.GetHasMultipleSingleFiles() -} - -func TestInstallation_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Installation{HTMLURL: &zeroValue} - i.GetHTMLURL() - i = &Installation{} - i.GetHTMLURL() - i = nil - i.GetHTMLURL() -} - -func TestInstallation_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - i := &Installation{ID: &zeroValue} - i.GetID() - i = &Installation{} - i.GetID() - i = nil - i.GetID() -} - -func TestInstallation_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Installation{NodeID: &zeroValue} - i.GetNodeID() - i = &Installation{} - i.GetNodeID() - i = nil - i.GetNodeID() -} - -func TestInstallation_GetPermissions(tt *testing.T) { - tt.Parallel() - i := &Installation{} - i.GetPermissions() - i = nil - i.GetPermissions() -} - -func TestInstallation_GetRepositoriesURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Installation{RepositoriesURL: &zeroValue} - i.GetRepositoriesURL() - i = &Installation{} - i.GetRepositoriesURL() - i = nil - i.GetRepositoriesURL() -} - -func TestInstallation_GetRepositorySelection(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Installation{RepositorySelection: &zeroValue} - i.GetRepositorySelection() - i = &Installation{} - i.GetRepositorySelection() - i = nil - i.GetRepositorySelection() -} - -func TestInstallation_GetSingleFileName(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Installation{SingleFileName: &zeroValue} - i.GetSingleFileName() - i = &Installation{} - i.GetSingleFileName() - i = nil - 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 - i := &Installation{SuspendedAt: &zeroValue} - i.GetSuspendedAt() - i = &Installation{} - i.GetSuspendedAt() - i = nil - i.GetSuspendedAt() -} - -func TestInstallation_GetSuspendedBy(tt *testing.T) { - tt.Parallel() - i := &Installation{} - i.GetSuspendedBy() - i = nil - i.GetSuspendedBy() -} - -func TestInstallation_GetTargetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - i := &Installation{TargetID: &zeroValue} - i.GetTargetID() - i = &Installation{} - i.GetTargetID() - i = nil - i.GetTargetID() -} - -func TestInstallation_GetTargetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Installation{TargetType: &zeroValue} - i.GetTargetType() - i = &Installation{} - i.GetTargetType() - i = nil - i.GetTargetType() -} - -func TestInstallation_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - i := &Installation{UpdatedAt: &zeroValue} - i.GetUpdatedAt() - i = &Installation{} - i.GetUpdatedAt() - i = nil - i.GetUpdatedAt() -} - -func TestInstallationChanges_GetLogin(tt *testing.T) { - tt.Parallel() - i := &InstallationChanges{} - i.GetLogin() - i = nil - i.GetLogin() -} - -func TestInstallationChanges_GetSlug(tt *testing.T) { - tt.Parallel() - i := &InstallationChanges{} - i.GetSlug() - i = nil - i.GetSlug() -} - -func TestInstallationEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationEvent{Action: &zeroValue} - i.GetAction() - i = &InstallationEvent{} - i.GetAction() - i = nil - i.GetAction() -} - -func TestInstallationEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - i := &InstallationEvent{} - i.GetInstallation() - i = nil - i.GetInstallation() -} - -func TestInstallationEvent_GetOrg(tt *testing.T) { - tt.Parallel() - i := &InstallationEvent{} - i.GetOrg() - i = nil - 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{} - i.GetRequester() - i = nil - i.GetRequester() -} - -func TestInstallationEvent_GetSender(tt *testing.T) { - tt.Parallel() - i := &InstallationEvent{} - i.GetSender() - i = nil - i.GetSender() -} - -func TestInstallationLoginChange_GetFrom(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationLoginChange{From: &zeroValue} - i.GetFrom() - i = &InstallationLoginChange{} - i.GetFrom() - i = nil - i.GetFrom() -} - -func TestInstallationPermissions_GetActions(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Actions: &zeroValue} - i.GetActions() - i = &InstallationPermissions{} - i.GetActions() - i = nil - i.GetActions() -} - -func TestInstallationPermissions_GetActionsVariables(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{ActionsVariables: &zeroValue} - i.GetActionsVariables() - i = &InstallationPermissions{} - i.GetActionsVariables() - i = nil - i.GetActionsVariables() -} - -func TestInstallationPermissions_GetAdministration(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Administration: &zeroValue} - i.GetAdministration() - i = &InstallationPermissions{} - i.GetAdministration() - i = nil - i.GetAdministration() -} - -func TestInstallationPermissions_GetAttestations(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Attestations: &zeroValue} - i.GetAttestations() - i = &InstallationPermissions{} - i.GetAttestations() - i = nil - i.GetAttestations() -} - -func TestInstallationPermissions_GetBlocking(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Blocking: &zeroValue} - i.GetBlocking() - i = &InstallationPermissions{} - i.GetBlocking() - i = nil - i.GetBlocking() -} - -func TestInstallationPermissions_GetChecks(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Checks: &zeroValue} - i.GetChecks() - i = &InstallationPermissions{} - i.GetChecks() - i = nil - i.GetChecks() -} - -func TestInstallationPermissions_GetCodespaces(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Codespaces: &zeroValue} - i.GetCodespaces() - i = &InstallationPermissions{} - i.GetCodespaces() - i = nil - i.GetCodespaces() -} - -func TestInstallationPermissions_GetCodespacesLifecycleAdmin(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{CodespacesLifecycleAdmin: &zeroValue} - i.GetCodespacesLifecycleAdmin() - i = &InstallationPermissions{} - i.GetCodespacesLifecycleAdmin() - i = nil - i.GetCodespacesLifecycleAdmin() -} - -func TestInstallationPermissions_GetCodespacesMetadata(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{CodespacesMetadata: &zeroValue} - i.GetCodespacesMetadata() - i = &InstallationPermissions{} - i.GetCodespacesMetadata() - i = nil - i.GetCodespacesMetadata() -} - -func TestInstallationPermissions_GetCodespacesSecrets(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{CodespacesSecrets: &zeroValue} - i.GetCodespacesSecrets() - i = &InstallationPermissions{} - i.GetCodespacesSecrets() - i = nil - i.GetCodespacesSecrets() -} - -func TestInstallationPermissions_GetCodespacesUserSecrets(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{CodespacesUserSecrets: &zeroValue} - i.GetCodespacesUserSecrets() - i = &InstallationPermissions{} - i.GetCodespacesUserSecrets() - i = nil - i.GetCodespacesUserSecrets() -} - -func TestInstallationPermissions_GetContentReferences(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{ContentReferences: &zeroValue} - i.GetContentReferences() - i = &InstallationPermissions{} - i.GetContentReferences() - i = nil - i.GetContentReferences() -} - -func TestInstallationPermissions_GetContents(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Contents: &zeroValue} - i.GetContents() - i = &InstallationPermissions{} - i.GetContents() - i = nil - i.GetContents() -} - -func TestInstallationPermissions_GetCopilotMessages(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{CopilotMessages: &zeroValue} - i.GetCopilotMessages() - i = &InstallationPermissions{} - i.GetCopilotMessages() - i = nil - i.GetCopilotMessages() -} - -func TestInstallationPermissions_GetDependabotSecrets(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{DependabotSecrets: &zeroValue} - i.GetDependabotSecrets() - i = &InstallationPermissions{} - i.GetDependabotSecrets() - i = nil - i.GetDependabotSecrets() -} - -func TestInstallationPermissions_GetDeployments(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Deployments: &zeroValue} - i.GetDeployments() - i = &InstallationPermissions{} - i.GetDeployments() - i = nil - i.GetDeployments() -} - -func TestInstallationPermissions_GetDiscussions(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Discussions: &zeroValue} - i.GetDiscussions() - i = &InstallationPermissions{} - i.GetDiscussions() - i = nil - i.GetDiscussions() -} - -func TestInstallationPermissions_GetEmails(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Emails: &zeroValue} - i.GetEmails() - i = &InstallationPermissions{} - i.GetEmails() - i = nil - i.GetEmails() -} - -func TestInstallationPermissions_GetEnterpriseAIControls(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{EnterpriseAIControls: &zeroValue} - i.GetEnterpriseAIControls() - i = &InstallationPermissions{} - i.GetEnterpriseAIControls() - i = nil - i.GetEnterpriseAIControls() -} - -func TestInstallationPermissions_GetEnterpriseCopilotMetrics(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{EnterpriseCopilotMetrics: &zeroValue} - i.GetEnterpriseCopilotMetrics() - i = &InstallationPermissions{} - i.GetEnterpriseCopilotMetrics() - i = nil - i.GetEnterpriseCopilotMetrics() -} - -func TestInstallationPermissions_GetEnterpriseCredentials(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{EnterpriseCredentials: &zeroValue} - i.GetEnterpriseCredentials() - i = &InstallationPermissions{} - i.GetEnterpriseCredentials() - i = nil - i.GetEnterpriseCredentials() -} - -func TestInstallationPermissions_GetEnterpriseCustomEnterpriseRoles(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{EnterpriseCustomEnterpriseRoles: &zeroValue} - i.GetEnterpriseCustomEnterpriseRoles() - i = &InstallationPermissions{} - i.GetEnterpriseCustomEnterpriseRoles() - i = nil - i.GetEnterpriseCustomEnterpriseRoles() -} - -func TestInstallationPermissions_GetEnterpriseCustomOrgRoles(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{EnterpriseCustomOrgRoles: &zeroValue} - i.GetEnterpriseCustomOrgRoles() - i = &InstallationPermissions{} - i.GetEnterpriseCustomOrgRoles() - i = nil - i.GetEnterpriseCustomOrgRoles() -} - -func TestInstallationPermissions_GetEnterpriseCustomProperties(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{EnterpriseCustomProperties: &zeroValue} - i.GetEnterpriseCustomProperties() - i = &InstallationPermissions{} - i.GetEnterpriseCustomProperties() - i = nil - i.GetEnterpriseCustomProperties() -} - -func TestInstallationPermissions_GetEnterpriseCustomPropertiesForOrgs(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{EnterpriseCustomPropertiesForOrgs: &zeroValue} - i.GetEnterpriseCustomPropertiesForOrgs() - i = &InstallationPermissions{} - i.GetEnterpriseCustomPropertiesForOrgs() - i = nil - i.GetEnterpriseCustomPropertiesForOrgs() -} - -func TestInstallationPermissions_GetEnterpriseOrganizationInstallations(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{EnterpriseOrganizationInstallations: &zeroValue} - i.GetEnterpriseOrganizationInstallations() - i = &InstallationPermissions{} - i.GetEnterpriseOrganizationInstallations() - i = nil - i.GetEnterpriseOrganizationInstallations() -} - -func TestInstallationPermissions_GetEnterpriseOrganizations(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{EnterpriseOrganizations: &zeroValue} - i.GetEnterpriseOrganizations() - i = &InstallationPermissions{} - i.GetEnterpriseOrganizations() - i = nil - i.GetEnterpriseOrganizations() -} - -func TestInstallationPermissions_GetEnterpriseOrgInstallationRepos(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{EnterpriseOrgInstallationRepos: &zeroValue} - i.GetEnterpriseOrgInstallationRepos() - i = &InstallationPermissions{} - i.GetEnterpriseOrgInstallationRepos() - i = nil - i.GetEnterpriseOrgInstallationRepos() -} - -func TestInstallationPermissions_GetEnterprisePeople(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{EnterprisePeople: &zeroValue} - i.GetEnterprisePeople() - i = &InstallationPermissions{} - i.GetEnterprisePeople() - i = nil - i.GetEnterprisePeople() -} - -func TestInstallationPermissions_GetEnterpriseSSO(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{EnterpriseSSO: &zeroValue} - i.GetEnterpriseSSO() - i = &InstallationPermissions{} - i.GetEnterpriseSSO() - i = nil - i.GetEnterpriseSSO() -} - -func TestInstallationPermissions_GetEnterpriseTeams(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{EnterpriseTeams: &zeroValue} - i.GetEnterpriseTeams() - i = &InstallationPermissions{} - i.GetEnterpriseTeams() - i = nil - i.GetEnterpriseTeams() -} - -func TestInstallationPermissions_GetEnvironments(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Environments: &zeroValue} - i.GetEnvironments() - i = &InstallationPermissions{} - i.GetEnvironments() - i = nil - i.GetEnvironments() -} - -func TestInstallationPermissions_GetFollowers(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Followers: &zeroValue} - i.GetFollowers() - i = &InstallationPermissions{} - i.GetFollowers() - i = nil - i.GetFollowers() -} - -func TestInstallationPermissions_GetGists(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Gists: &zeroValue} - i.GetGists() - i = &InstallationPermissions{} - i.GetGists() - i = nil - i.GetGists() -} - -func TestInstallationPermissions_GetGitSigningSSHPublicKeys(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{GitSigningSSHPublicKeys: &zeroValue} - i.GetGitSigningSSHPublicKeys() - i = &InstallationPermissions{} - i.GetGitSigningSSHPublicKeys() - i = nil - i.GetGitSigningSSHPublicKeys() -} - -func TestInstallationPermissions_GetGPGKeys(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{GPGKeys: &zeroValue} - i.GetGPGKeys() - i = &InstallationPermissions{} - i.GetGPGKeys() - i = nil - i.GetGPGKeys() -} - -func TestInstallationPermissions_GetInteractionLimits(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{InteractionLimits: &zeroValue} - i.GetInteractionLimits() - i = &InstallationPermissions{} - i.GetInteractionLimits() - i = nil - i.GetInteractionLimits() -} - -func TestInstallationPermissions_GetIssues(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Issues: &zeroValue} - i.GetIssues() - i = &InstallationPermissions{} - i.GetIssues() - i = nil - i.GetIssues() -} - -func TestInstallationPermissions_GetKeys(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Keys: &zeroValue} - i.GetKeys() - i = &InstallationPermissions{} - i.GetKeys() - i = nil - i.GetKeys() -} - -func TestInstallationPermissions_GetMembers(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Members: &zeroValue} - i.GetMembers() - i = &InstallationPermissions{} - i.GetMembers() - i = nil - i.GetMembers() -} - -func TestInstallationPermissions_GetMergeQueues(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{MergeQueues: &zeroValue} - i.GetMergeQueues() - i = &InstallationPermissions{} - i.GetMergeQueues() - i = nil - i.GetMergeQueues() -} - -func TestInstallationPermissions_GetMetadata(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Metadata: &zeroValue} - i.GetMetadata() - i = &InstallationPermissions{} - i.GetMetadata() - i = nil - i.GetMetadata() -} - -func TestInstallationPermissions_GetOrganizationActionsVariables(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{OrganizationActionsVariables: &zeroValue} - i.GetOrganizationActionsVariables() - i = &InstallationPermissions{} - i.GetOrganizationActionsVariables() - i = nil - i.GetOrganizationActionsVariables() -} - -func TestInstallationPermissions_GetOrganizationAdministration(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{OrganizationAdministration: &zeroValue} - i.GetOrganizationAdministration() - i = &InstallationPermissions{} - i.GetOrganizationAdministration() - i = nil - i.GetOrganizationAdministration() -} - -func TestInstallationPermissions_GetOrganizationAnnouncementBanners(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{OrganizationAnnouncementBanners: &zeroValue} - i.GetOrganizationAnnouncementBanners() - i = &InstallationPermissions{} - i.GetOrganizationAnnouncementBanners() - i = nil - i.GetOrganizationAnnouncementBanners() -} - -func TestInstallationPermissions_GetOrganizationAPIInsights(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{OrganizationAPIInsights: &zeroValue} - i.GetOrganizationAPIInsights() - i = &InstallationPermissions{} - i.GetOrganizationAPIInsights() - i = nil - i.GetOrganizationAPIInsights() -} - -func TestInstallationPermissions_GetOrganizationCodespaces(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{OrganizationCodespaces: &zeroValue} - i.GetOrganizationCodespaces() - i = &InstallationPermissions{} - i.GetOrganizationCodespaces() - i = nil - i.GetOrganizationCodespaces() -} - -func TestInstallationPermissions_GetOrganizationCodespacesSecrets(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{OrganizationCodespacesSecrets: &zeroValue} - i.GetOrganizationCodespacesSecrets() - i = &InstallationPermissions{} - i.GetOrganizationCodespacesSecrets() - i = nil - i.GetOrganizationCodespacesSecrets() -} - -func TestInstallationPermissions_GetOrganizationCodespacesSettings(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{OrganizationCodespacesSettings: &zeroValue} - i.GetOrganizationCodespacesSettings() - i = &InstallationPermissions{} - i.GetOrganizationCodespacesSettings() - i = nil - i.GetOrganizationCodespacesSettings() -} - -func TestInstallationPermissions_GetOrganizationCopilotMetrics(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{OrganizationCopilotMetrics: &zeroValue} - i.GetOrganizationCopilotMetrics() - i = &InstallationPermissions{} - i.GetOrganizationCopilotMetrics() - i = nil - i.GetOrganizationCopilotMetrics() -} - -func TestInstallationPermissions_GetOrganizationCopilotSeatManagement(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{OrganizationCopilotSeatManagement: &zeroValue} - i.GetOrganizationCopilotSeatManagement() - i = &InstallationPermissions{} - i.GetOrganizationCopilotSeatManagement() - i = nil - i.GetOrganizationCopilotSeatManagement() -} - -func TestInstallationPermissions_GetOrganizationCustomOrgRoles(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{OrganizationCustomOrgRoles: &zeroValue} - i.GetOrganizationCustomOrgRoles() - i = &InstallationPermissions{} - i.GetOrganizationCustomOrgRoles() - i = nil - i.GetOrganizationCustomOrgRoles() -} - -func TestInstallationPermissions_GetOrganizationCustomProperties(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{OrganizationCustomProperties: &zeroValue} - i.GetOrganizationCustomProperties() - i = &InstallationPermissions{} - i.GetOrganizationCustomProperties() - i = nil - i.GetOrganizationCustomProperties() -} - -func TestInstallationPermissions_GetOrganizationCustomRoles(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{OrganizationCustomRoles: &zeroValue} - i.GetOrganizationCustomRoles() - i = &InstallationPermissions{} - i.GetOrganizationCustomRoles() - i = nil - i.GetOrganizationCustomRoles() -} - -func TestInstallationPermissions_GetOrganizationDependabotSecrets(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{OrganizationDependabotSecrets: &zeroValue} - i.GetOrganizationDependabotSecrets() - i = &InstallationPermissions{} - i.GetOrganizationDependabotSecrets() - i = nil - i.GetOrganizationDependabotSecrets() -} - -func TestInstallationPermissions_GetOrganizationEvents(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{OrganizationEvents: &zeroValue} - i.GetOrganizationEvents() - i = &InstallationPermissions{} - i.GetOrganizationEvents() - i = nil - i.GetOrganizationEvents() -} - -func TestInstallationPermissions_GetOrganizationHooks(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{OrganizationHooks: &zeroValue} - i.GetOrganizationHooks() - i = &InstallationPermissions{} - i.GetOrganizationHooks() - i = nil - i.GetOrganizationHooks() -} - -func TestInstallationPermissions_GetOrganizationKnowledgeBases(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{OrganizationKnowledgeBases: &zeroValue} - i.GetOrganizationKnowledgeBases() - i = &InstallationPermissions{} - i.GetOrganizationKnowledgeBases() - i = nil - i.GetOrganizationKnowledgeBases() -} - -func TestInstallationPermissions_GetOrganizationPackages(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{OrganizationPackages: &zeroValue} - i.GetOrganizationPackages() - i = &InstallationPermissions{} - i.GetOrganizationPackages() - i = nil - i.GetOrganizationPackages() -} - -func TestInstallationPermissions_GetOrganizationPersonalAccessTokenRequests(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{OrganizationPersonalAccessTokenRequests: &zeroValue} - i.GetOrganizationPersonalAccessTokenRequests() - i = &InstallationPermissions{} - i.GetOrganizationPersonalAccessTokenRequests() - i = nil - i.GetOrganizationPersonalAccessTokenRequests() -} - -func TestInstallationPermissions_GetOrganizationPersonalAccessTokens(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{OrganizationPersonalAccessTokens: &zeroValue} - i.GetOrganizationPersonalAccessTokens() - i = &InstallationPermissions{} - i.GetOrganizationPersonalAccessTokens() - i = nil - i.GetOrganizationPersonalAccessTokens() -} - -func TestInstallationPermissions_GetOrganizationPlan(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{OrganizationPlan: &zeroValue} - i.GetOrganizationPlan() - i = &InstallationPermissions{} - i.GetOrganizationPlan() - i = nil - i.GetOrganizationPlan() -} - -func TestInstallationPermissions_GetOrganizationPreReceiveHooks(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{OrganizationPreReceiveHooks: &zeroValue} - i.GetOrganizationPreReceiveHooks() - i = &InstallationPermissions{} - i.GetOrganizationPreReceiveHooks() - i = nil - i.GetOrganizationPreReceiveHooks() -} - -func TestInstallationPermissions_GetOrganizationProjects(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{OrganizationProjects: &zeroValue} - i.GetOrganizationProjects() - i = &InstallationPermissions{} - i.GetOrganizationProjects() - i = nil - i.GetOrganizationProjects() -} - -func TestInstallationPermissions_GetOrganizationSecrets(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{OrganizationSecrets: &zeroValue} - i.GetOrganizationSecrets() - i = &InstallationPermissions{} - i.GetOrganizationSecrets() - i = nil - i.GetOrganizationSecrets() -} - -func TestInstallationPermissions_GetOrganizationSelfHostedRunners(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{OrganizationSelfHostedRunners: &zeroValue} - i.GetOrganizationSelfHostedRunners() - i = &InstallationPermissions{} - i.GetOrganizationSelfHostedRunners() - i = nil - i.GetOrganizationSelfHostedRunners() -} - -func TestInstallationPermissions_GetOrganizationUserBlocking(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{OrganizationUserBlocking: &zeroValue} - i.GetOrganizationUserBlocking() - i = &InstallationPermissions{} - i.GetOrganizationUserBlocking() - i = nil - i.GetOrganizationUserBlocking() -} - -func TestInstallationPermissions_GetPackages(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Packages: &zeroValue} - i.GetPackages() - i = &InstallationPermissions{} - i.GetPackages() - i = nil - i.GetPackages() -} - -func TestInstallationPermissions_GetPages(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Pages: &zeroValue} - i.GetPages() - i = &InstallationPermissions{} - i.GetPages() - i = nil - i.GetPages() -} - -func TestInstallationPermissions_GetPlan(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Plan: &zeroValue} - i.GetPlan() - i = &InstallationPermissions{} - i.GetPlan() - i = nil - i.GetPlan() -} - -func TestInstallationPermissions_GetProfile(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Profile: &zeroValue} - i.GetProfile() - i = &InstallationPermissions{} - i.GetProfile() - i = nil - i.GetProfile() -} - -func TestInstallationPermissions_GetPullRequests(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{PullRequests: &zeroValue} - i.GetPullRequests() - i = &InstallationPermissions{} - i.GetPullRequests() - i = nil - i.GetPullRequests() -} - -func TestInstallationPermissions_GetRepositoryAdvisories(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{RepositoryAdvisories: &zeroValue} - i.GetRepositoryAdvisories() - i = &InstallationPermissions{} - i.GetRepositoryAdvisories() - i = nil - i.GetRepositoryAdvisories() -} - -func TestInstallationPermissions_GetRepositoryCustomProperties(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{RepositoryCustomProperties: &zeroValue} - i.GetRepositoryCustomProperties() - i = &InstallationPermissions{} - i.GetRepositoryCustomProperties() - i = nil - i.GetRepositoryCustomProperties() -} - -func TestInstallationPermissions_GetRepositoryHooks(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{RepositoryHooks: &zeroValue} - i.GetRepositoryHooks() - i = &InstallationPermissions{} - i.GetRepositoryHooks() - i = nil - i.GetRepositoryHooks() -} - -func TestInstallationPermissions_GetRepositoryPreReceiveHooks(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{RepositoryPreReceiveHooks: &zeroValue} - i.GetRepositoryPreReceiveHooks() - i = &InstallationPermissions{} - i.GetRepositoryPreReceiveHooks() - i = nil - i.GetRepositoryPreReceiveHooks() -} - -func TestInstallationPermissions_GetRepositoryProjects(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{RepositoryProjects: &zeroValue} - i.GetRepositoryProjects() - i = &InstallationPermissions{} - i.GetRepositoryProjects() - i = nil - i.GetRepositoryProjects() -} - -func TestInstallationPermissions_GetSecrets(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Secrets: &zeroValue} - i.GetSecrets() - i = &InstallationPermissions{} - i.GetSecrets() - i = nil - i.GetSecrets() -} - -func TestInstallationPermissions_GetSecretScanningAlerts(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{SecretScanningAlerts: &zeroValue} - i.GetSecretScanningAlerts() - i = &InstallationPermissions{} - i.GetSecretScanningAlerts() - i = nil - i.GetSecretScanningAlerts() -} - -func TestInstallationPermissions_GetSecurityEvents(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{SecurityEvents: &zeroValue} - i.GetSecurityEvents() - i = &InstallationPermissions{} - i.GetSecurityEvents() - i = nil - i.GetSecurityEvents() -} - -func TestInstallationPermissions_GetSingleFile(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{SingleFile: &zeroValue} - i.GetSingleFile() - i = &InstallationPermissions{} - i.GetSingleFile() - i = nil - i.GetSingleFile() -} - -func TestInstallationPermissions_GetStarring(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Starring: &zeroValue} - i.GetStarring() - i = &InstallationPermissions{} - i.GetStarring() - i = nil - i.GetStarring() -} - -func TestInstallationPermissions_GetStatuses(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Statuses: &zeroValue} - i.GetStatuses() - i = &InstallationPermissions{} - i.GetStatuses() - i = nil - i.GetStatuses() -} - -func TestInstallationPermissions_GetTeamDiscussions(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{TeamDiscussions: &zeroValue} - i.GetTeamDiscussions() - i = &InstallationPermissions{} - i.GetTeamDiscussions() - i = nil - i.GetTeamDiscussions() -} - -func TestInstallationPermissions_GetUserEvents(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{UserEvents: &zeroValue} - i.GetUserEvents() - i = &InstallationPermissions{} - i.GetUserEvents() - i = nil - i.GetUserEvents() -} - -func TestInstallationPermissions_GetVulnerabilityAlerts(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{VulnerabilityAlerts: &zeroValue} - i.GetVulnerabilityAlerts() - i = &InstallationPermissions{} - i.GetVulnerabilityAlerts() - i = nil - i.GetVulnerabilityAlerts() -} - -func TestInstallationPermissions_GetWatching(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Watching: &zeroValue} - i.GetWatching() - i = &InstallationPermissions{} - i.GetWatching() - i = nil - i.GetWatching() -} - -func TestInstallationPermissions_GetWorkflows(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Workflows: &zeroValue} - i.GetWorkflows() - i = &InstallationPermissions{} - i.GetWorkflows() - i = nil - i.GetWorkflows() -} - -func TestInstallationRepositoriesEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationRepositoriesEvent{Action: &zeroValue} - i.GetAction() - i = &InstallationRepositoriesEvent{} - i.GetAction() - i = nil - i.GetAction() -} - -func TestInstallationRepositoriesEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - i := &InstallationRepositoriesEvent{} - i.GetInstallation() - i = nil - i.GetInstallation() -} - -func TestInstallationRepositoriesEvent_GetOrg(tt *testing.T) { - tt.Parallel() - i := &InstallationRepositoriesEvent{} - i.GetOrg() - i = nil - 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 - i := &InstallationRepositoriesEvent{RepositorySelection: &zeroValue} - i.GetRepositorySelection() - i = &InstallationRepositoriesEvent{} - i.GetRepositorySelection() - i = nil - i.GetRepositorySelection() -} - -func TestInstallationRepositoriesEvent_GetSender(tt *testing.T) { - tt.Parallel() - i := &InstallationRepositoriesEvent{} - i.GetSender() - i = nil - i.GetSender() -} - -func TestInstallationRequest_GetAccount(tt *testing.T) { - tt.Parallel() - i := &InstallationRequest{} - i.GetAccount() - i = nil - i.GetAccount() -} - -func TestInstallationRequest_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - i := &InstallationRequest{CreatedAt: &zeroValue} - i.GetCreatedAt() - i = &InstallationRequest{} - i.GetCreatedAt() - i = nil - i.GetCreatedAt() -} - -func TestInstallationRequest_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - i := &InstallationRequest{ID: &zeroValue} - i.GetID() - i = &InstallationRequest{} - i.GetID() - i = nil - i.GetID() -} - -func TestInstallationRequest_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationRequest{NodeID: &zeroValue} - i.GetNodeID() - i = &InstallationRequest{} - i.GetNodeID() - i = nil - i.GetNodeID() -} - -func TestInstallationRequest_GetRequester(tt *testing.T) { - tt.Parallel() - i := &InstallationRequest{} - i.GetRequester() - i = nil - i.GetRequester() -} - -func TestInstallationSlugChange_GetFrom(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationSlugChange{From: &zeroValue} - i.GetFrom() - i = &InstallationSlugChange{} - i.GetFrom() - i = nil - i.GetFrom() -} - -func TestInstallationTargetEvent_GetAccount(tt *testing.T) { - tt.Parallel() - i := &InstallationTargetEvent{} - i.GetAccount() - i = nil - i.GetAccount() -} - -func TestInstallationTargetEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationTargetEvent{Action: &zeroValue} - i.GetAction() - i = &InstallationTargetEvent{} - i.GetAction() - i = nil - i.GetAction() -} - -func TestInstallationTargetEvent_GetChanges(tt *testing.T) { - tt.Parallel() - i := &InstallationTargetEvent{} - i.GetChanges() - i = nil - i.GetChanges() -} - -func TestInstallationTargetEvent_GetEnterprise(tt *testing.T) { - tt.Parallel() - i := &InstallationTargetEvent{} - i.GetEnterprise() - i = nil - i.GetEnterprise() -} - -func TestInstallationTargetEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - i := &InstallationTargetEvent{} - i.GetInstallation() - i = nil - i.GetInstallation() -} - -func TestInstallationTargetEvent_GetOrganization(tt *testing.T) { - tt.Parallel() - i := &InstallationTargetEvent{} - i.GetOrganization() - i = nil - i.GetOrganization() -} - -func TestInstallationTargetEvent_GetRepository(tt *testing.T) { - tt.Parallel() - i := &InstallationTargetEvent{} - i.GetRepository() - i = nil - i.GetRepository() -} - -func TestInstallationTargetEvent_GetSender(tt *testing.T) { - tt.Parallel() - i := &InstallationTargetEvent{} - i.GetSender() - i = nil - i.GetSender() -} - -func TestInstallationTargetEvent_GetTargetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InstallationTargetEvent{TargetType: &zeroValue} - i.GetTargetType() - i = &InstallationTargetEvent{} - i.GetTargetType() - i = nil - i.GetTargetType() -} - -func TestInstallationToken_GetExpiresAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - i := &InstallationToken{ExpiresAt: &zeroValue} - i.GetExpiresAt() - i = &InstallationToken{} - i.GetExpiresAt() - i = nil - i.GetExpiresAt() -} - -func TestInstallationToken_GetPermissions(tt *testing.T) { - tt.Parallel() - i := &InstallationToken{} - i.GetPermissions() - i = nil - 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 - i := &InstallationToken{Token: &zeroValue} - i.GetToken() - i = &InstallationToken{} - i.GetToken() - i = nil - i.GetToken() -} - -func TestInstallationTokenListRepoOptions_GetPermissions(tt *testing.T) { - tt.Parallel() - i := &InstallationTokenListRepoOptions{} - i.GetPermissions() - i = nil - 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{} - i.GetPermissions() - i = nil - 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 - i := &InteractionRestriction{ExpiresAt: &zeroValue} - i.GetExpiresAt() - i = &InteractionRestriction{} - i.GetExpiresAt() - i = nil - i.GetExpiresAt() -} - -func TestInteractionRestriction_GetLimit(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InteractionRestriction{Limit: &zeroValue} - i.GetLimit() - i = &InteractionRestriction{} - i.GetLimit() - i = nil - i.GetLimit() -} - -func TestInteractionRestriction_GetOrigin(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &InteractionRestriction{Origin: &zeroValue} - i.GetOrigin() - i = &InteractionRestriction{} - i.GetOrigin() - i = nil - i.GetOrigin() -} - -func TestInvitation_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - i := &Invitation{CreatedAt: &zeroValue} - i.GetCreatedAt() - i = &Invitation{} - i.GetCreatedAt() - i = nil - i.GetCreatedAt() -} - -func TestInvitation_GetEmail(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Invitation{Email: &zeroValue} - i.GetEmail() - i = &Invitation{} - i.GetEmail() - i = nil - i.GetEmail() -} - -func TestInvitation_GetFailedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - i := &Invitation{FailedAt: &zeroValue} - i.GetFailedAt() - i = &Invitation{} - i.GetFailedAt() - i = nil - i.GetFailedAt() -} - -func TestInvitation_GetFailedReason(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Invitation{FailedReason: &zeroValue} - i.GetFailedReason() - i = &Invitation{} - i.GetFailedReason() - i = nil - i.GetFailedReason() -} - -func TestInvitation_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - i := &Invitation{ID: &zeroValue} - i.GetID() - i = &Invitation{} - i.GetID() - i = nil - i.GetID() -} - -func TestInvitation_GetInvitationTeamURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Invitation{InvitationTeamURL: &zeroValue} - i.GetInvitationTeamURL() - i = &Invitation{} - i.GetInvitationTeamURL() - i = nil - i.GetInvitationTeamURL() -} - -func TestInvitation_GetInviter(tt *testing.T) { - tt.Parallel() - i := &Invitation{} - i.GetInviter() - i = nil - i.GetInviter() -} - -func TestInvitation_GetLogin(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Invitation{Login: &zeroValue} - i.GetLogin() - i = &Invitation{} - i.GetLogin() - i = nil - i.GetLogin() -} - -func TestInvitation_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Invitation{NodeID: &zeroValue} - i.GetNodeID() - i = &Invitation{} - i.GetNodeID() - i = nil - i.GetNodeID() -} - -func TestInvitation_GetRole(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Invitation{Role: &zeroValue} - i.GetRole() - i = &Invitation{} - i.GetRole() - i = nil - i.GetRole() -} - -func TestInvitation_GetTeamCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - i := &Invitation{TeamCount: &zeroValue} - i.GetTeamCount() - i = &Invitation{} - i.GetTeamCount() - i = nil - i.GetTeamCount() -} - -func TestIssue_GetActiveLockReason(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Issue{ActiveLockReason: &zeroValue} - i.GetActiveLockReason() - i = &Issue{} - i.GetActiveLockReason() - i = nil - i.GetActiveLockReason() -} - -func TestIssue_GetAssignee(tt *testing.T) { - tt.Parallel() - i := &Issue{} - i.GetAssignee() - i = nil - 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 - i := &Issue{AuthorAssociation: &zeroValue} - i.GetAuthorAssociation() - i = &Issue{} - i.GetAuthorAssociation() - i = nil - i.GetAuthorAssociation() -} - -func TestIssue_GetBody(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Issue{Body: &zeroValue} - i.GetBody() - i = &Issue{} - i.GetBody() - i = nil - i.GetBody() -} - -func TestIssue_GetClosedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - i := &Issue{ClosedAt: &zeroValue} - i.GetClosedAt() - i = &Issue{} - i.GetClosedAt() - i = nil - i.GetClosedAt() -} - -func TestIssue_GetClosedBy(tt *testing.T) { - tt.Parallel() - i := &Issue{} - i.GetClosedBy() - i = nil - i.GetClosedBy() -} - -func TestIssue_GetComments(tt *testing.T) { - tt.Parallel() - var zeroValue int - i := &Issue{Comments: &zeroValue} - i.GetComments() - i = &Issue{} - i.GetComments() - i = nil - i.GetComments() -} - -func TestIssue_GetCommentsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Issue{CommentsURL: &zeroValue} - i.GetCommentsURL() - i = &Issue{} - i.GetCommentsURL() - i = nil - i.GetCommentsURL() -} - -func TestIssue_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - i := &Issue{CreatedAt: &zeroValue} - i.GetCreatedAt() - i = &Issue{} - i.GetCreatedAt() - i = nil - i.GetCreatedAt() -} - -func TestIssue_GetDraft(tt *testing.T) { - tt.Parallel() - var zeroValue bool - i := &Issue{Draft: &zeroValue} - i.GetDraft() - i = &Issue{} - i.GetDraft() - i = nil - i.GetDraft() -} - -func TestIssue_GetEventsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Issue{EventsURL: &zeroValue} - i.GetEventsURL() - i = &Issue{} - i.GetEventsURL() - i = nil - i.GetEventsURL() -} - -func TestIssue_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Issue{HTMLURL: &zeroValue} - i.GetHTMLURL() - i = &Issue{} - i.GetHTMLURL() - i = nil - i.GetHTMLURL() -} - -func TestIssue_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - i := &Issue{ID: &zeroValue} - i.GetID() - i = &Issue{} - i.GetID() - i = nil - i.GetID() -} - -func TestIssue_GetIssueDependenciesSummary(tt *testing.T) { - tt.Parallel() - i := &Issue{} - i.GetIssueDependenciesSummary() - i = nil - i.GetIssueDependenciesSummary() -} - -func TestIssue_GetIssueFieldValues(tt *testing.T) { - tt.Parallel() - zeroValue := []*IssueFieldValue{} - i := &Issue{IssueFieldValues: zeroValue} - i.GetIssueFieldValues() - i = &Issue{} - i.GetIssueFieldValues() - i = nil - i.GetIssueFieldValues() -} - -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 - i := &Issue{LabelsURL: &zeroValue} - i.GetLabelsURL() - i = &Issue{} - i.GetLabelsURL() - i = nil - i.GetLabelsURL() -} - -func TestIssue_GetLocked(tt *testing.T) { - tt.Parallel() - var zeroValue bool - i := &Issue{Locked: &zeroValue} - i.GetLocked() - i = &Issue{} - i.GetLocked() - i = nil - i.GetLocked() -} - -func TestIssue_GetMilestone(tt *testing.T) { - tt.Parallel() - i := &Issue{} - i.GetMilestone() - i = nil - i.GetMilestone() -} - -func TestIssue_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Issue{NodeID: &zeroValue} - i.GetNodeID() - i = &Issue{} - i.GetNodeID() - i = nil - i.GetNodeID() -} - -func TestIssue_GetNumber(tt *testing.T) { - tt.Parallel() - var zeroValue int - i := &Issue{Number: &zeroValue} - i.GetNumber() - i = &Issue{} - i.GetNumber() - i = nil - i.GetNumber() -} - -func TestIssue_GetParentIssueURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Issue{ParentIssueURL: &zeroValue} - i.GetParentIssueURL() - i = &Issue{} - i.GetParentIssueURL() - i = nil - i.GetParentIssueURL() -} - -func TestIssue_GetPerformedViaGithubApp(tt *testing.T) { - tt.Parallel() - i := &Issue{} - i.GetPerformedViaGithubApp() - i = nil - i.GetPerformedViaGithubApp() -} - -func TestIssue_GetPinnedComment(tt *testing.T) { - tt.Parallel() - i := &Issue{} - i.GetPinnedComment() - i = nil - i.GetPinnedComment() -} - -func TestIssue_GetPullRequestLinks(tt *testing.T) { - tt.Parallel() - i := &Issue{} - i.GetPullRequestLinks() - i = nil - i.GetPullRequestLinks() -} - -func TestIssue_GetReactions(tt *testing.T) { - tt.Parallel() - i := &Issue{} - i.GetReactions() - i = nil - i.GetReactions() -} - -func TestIssue_GetRepository(tt *testing.T) { - tt.Parallel() - i := &Issue{} - i.GetRepository() - i = nil - i.GetRepository() -} - -func TestIssue_GetRepositoryURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Issue{RepositoryURL: &zeroValue} - i.GetRepositoryURL() - i = &Issue{} - i.GetRepositoryURL() - i = nil - i.GetRepositoryURL() -} - -func TestIssue_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Issue{State: &zeroValue} - i.GetState() - i = &Issue{} - i.GetState() - i = nil - i.GetState() -} - -func TestIssue_GetStateReason(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Issue{StateReason: &zeroValue} - i.GetStateReason() - i = &Issue{} - i.GetStateReason() - i = nil - i.GetStateReason() -} - -func TestIssue_GetSubIssuesSummary(tt *testing.T) { - tt.Parallel() - i := &Issue{} - i.GetSubIssuesSummary() - i = nil - i.GetSubIssuesSummary() -} - -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 - i := &Issue{Title: &zeroValue} - i.GetTitle() - i = &Issue{} - i.GetTitle() - i = nil - i.GetTitle() -} - -func TestIssue_GetType(tt *testing.T) { - tt.Parallel() - i := &Issue{} - i.GetType() - i = nil - i.GetType() -} - -func TestIssue_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - i := &Issue{UpdatedAt: &zeroValue} - i.GetUpdatedAt() - i = &Issue{} - i.GetUpdatedAt() - i = nil - i.GetUpdatedAt() -} - -func TestIssue_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &Issue{URL: &zeroValue} - i.GetURL() - i = &Issue{} - i.GetURL() - i = nil - i.GetURL() -} - -func TestIssue_GetUser(tt *testing.T) { - tt.Parallel() - i := &Issue{} - i.GetUser() - i = nil - i.GetUser() -} - -func TestIssueComment_GetAuthorAssociation(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueComment{AuthorAssociation: &zeroValue} - i.GetAuthorAssociation() - i = &IssueComment{} - i.GetAuthorAssociation() - i = nil - i.GetAuthorAssociation() -} - -func TestIssueComment_GetBody(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueComment{Body: &zeroValue} - i.GetBody() - i = &IssueComment{} - i.GetBody() - i = nil - i.GetBody() -} - -func TestIssueComment_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - i := &IssueComment{CreatedAt: &zeroValue} - i.GetCreatedAt() - i = &IssueComment{} - i.GetCreatedAt() - i = nil - i.GetCreatedAt() -} - -func TestIssueComment_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueComment{HTMLURL: &zeroValue} - i.GetHTMLURL() - i = &IssueComment{} - i.GetHTMLURL() - i = nil - i.GetHTMLURL() -} - -func TestIssueComment_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - i := &IssueComment{ID: &zeroValue} - i.GetID() - i = &IssueComment{} - i.GetID() - i = nil - i.GetID() -} - -func TestIssueComment_GetIssueURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueComment{IssueURL: &zeroValue} - i.GetIssueURL() - i = &IssueComment{} - i.GetIssueURL() - i = nil - i.GetIssueURL() -} - -func TestIssueComment_GetMinimized(tt *testing.T) { - tt.Parallel() - i := &IssueComment{} - i.GetMinimized() - i = nil - i.GetMinimized() -} - -func TestIssueComment_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueComment{NodeID: &zeroValue} - i.GetNodeID() - i = &IssueComment{} - i.GetNodeID() - i = nil - i.GetNodeID() -} - -func TestIssueComment_GetPerformedViaGithubApp(tt *testing.T) { - tt.Parallel() - i := &IssueComment{} - i.GetPerformedViaGithubApp() - i = nil - i.GetPerformedViaGithubApp() -} - -func TestIssueComment_GetPin(tt *testing.T) { - tt.Parallel() - i := &IssueComment{} - i.GetPin() - i = nil - i.GetPin() -} - -func TestIssueComment_GetReactions(tt *testing.T) { - tt.Parallel() - i := &IssueComment{} - i.GetReactions() - i = nil - i.GetReactions() -} - -func TestIssueComment_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - i := &IssueComment{UpdatedAt: &zeroValue} - i.GetUpdatedAt() - i = &IssueComment{} - i.GetUpdatedAt() - i = nil - i.GetUpdatedAt() -} - -func TestIssueComment_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueComment{URL: &zeroValue} - i.GetURL() - i = &IssueComment{} - i.GetURL() - i = nil - i.GetURL() -} - -func TestIssueComment_GetUser(tt *testing.T) { - tt.Parallel() - i := &IssueComment{} - i.GetUser() - i = nil - i.GetUser() -} - -func TestIssueCommentEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueCommentEvent{Action: &zeroValue} - i.GetAction() - i = &IssueCommentEvent{} - i.GetAction() - i = nil - i.GetAction() -} - -func TestIssueCommentEvent_GetChanges(tt *testing.T) { - tt.Parallel() - i := &IssueCommentEvent{} - i.GetChanges() - i = nil - i.GetChanges() -} - -func TestIssueCommentEvent_GetComment(tt *testing.T) { - tt.Parallel() - i := &IssueCommentEvent{} - i.GetComment() - i = nil - i.GetComment() -} - -func TestIssueCommentEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - i := &IssueCommentEvent{} - i.GetInstallation() - i = nil - i.GetInstallation() -} - -func TestIssueCommentEvent_GetIssue(tt *testing.T) { - tt.Parallel() - i := &IssueCommentEvent{} - i.GetIssue() - i = nil - i.GetIssue() -} - -func TestIssueCommentEvent_GetOrganization(tt *testing.T) { - tt.Parallel() - i := &IssueCommentEvent{} - i.GetOrganization() - i = nil - i.GetOrganization() -} - -func TestIssueCommentEvent_GetRepo(tt *testing.T) { - tt.Parallel() - i := &IssueCommentEvent{} - i.GetRepo() - i = nil - i.GetRepo() -} - -func TestIssueCommentEvent_GetSender(tt *testing.T) { - tt.Parallel() - i := &IssueCommentEvent{} - i.GetSender() - i = nil - i.GetSender() -} - -func TestIssueCommentRequest_GetBody(tt *testing.T) { - tt.Parallel() - i := &IssueCommentRequest{} - i.GetBody() - i = nil - i.GetBody() -} - -func TestIssueDependenciesSummary_GetBlockedBy(tt *testing.T) { - tt.Parallel() - var zeroValue int - i := &IssueDependenciesSummary{BlockedBy: &zeroValue} - i.GetBlockedBy() - i = &IssueDependenciesSummary{} - i.GetBlockedBy() - i = nil - i.GetBlockedBy() -} - -func TestIssueDependenciesSummary_GetBlocking(tt *testing.T) { - tt.Parallel() - var zeroValue int - i := &IssueDependenciesSummary{Blocking: &zeroValue} - i.GetBlocking() - i = &IssueDependenciesSummary{} - i.GetBlocking() - i = nil - i.GetBlocking() -} - -func TestIssueDependenciesSummary_GetTotalBlockedBy(tt *testing.T) { - tt.Parallel() - var zeroValue int - i := &IssueDependenciesSummary{TotalBlockedBy: &zeroValue} - i.GetTotalBlockedBy() - i = &IssueDependenciesSummary{} - i.GetTotalBlockedBy() - i = nil - i.GetTotalBlockedBy() -} - -func TestIssueDependenciesSummary_GetTotalBlocking(tt *testing.T) { - tt.Parallel() - var zeroValue int - i := &IssueDependenciesSummary{TotalBlocking: &zeroValue} - i.GetTotalBlocking() - i = &IssueDependenciesSummary{} - i.GetTotalBlocking() - i = nil - i.GetTotalBlocking() -} - -func TestIssueDependencyRequest_GetIssueID(tt *testing.T) { - tt.Parallel() - i := &IssueDependencyRequest{} - i.GetIssueID() - i = nil - i.GetIssueID() -} - -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{} - i.GetActor() - i = nil - i.GetActor() -} - -func TestIssueEvent_GetAssignee(tt *testing.T) { - tt.Parallel() - i := &IssueEvent{} - i.GetAssignee() - i = nil - i.GetAssignee() -} - -func TestIssueEvent_GetAssigner(tt *testing.T) { - tt.Parallel() - i := &IssueEvent{} - i.GetAssigner() - i = nil - i.GetAssigner() -} - -func TestIssueEvent_GetCommitID(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueEvent{CommitID: &zeroValue} - i.GetCommitID() - i = &IssueEvent{} - i.GetCommitID() - i = nil - i.GetCommitID() -} - -func TestIssueEvent_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - i := &IssueEvent{CreatedAt: &zeroValue} - i.GetCreatedAt() - i = &IssueEvent{} - i.GetCreatedAt() - i = nil - i.GetCreatedAt() -} - -func TestIssueEvent_GetDismissedReview(tt *testing.T) { - tt.Parallel() - i := &IssueEvent{} - i.GetDismissedReview() - i = nil - i.GetDismissedReview() -} - -func TestIssueEvent_GetEvent(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueEvent{Event: &zeroValue} - i.GetEvent() - i = &IssueEvent{} - i.GetEvent() - i = nil - i.GetEvent() -} - -func TestIssueEvent_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - i := &IssueEvent{ID: &zeroValue} - i.GetID() - i = &IssueEvent{} - i.GetID() - i = nil - i.GetID() -} - -func TestIssueEvent_GetIssue(tt *testing.T) { - tt.Parallel() - i := &IssueEvent{} - i.GetIssue() - i = nil - i.GetIssue() -} - -func TestIssueEvent_GetLabel(tt *testing.T) { - tt.Parallel() - i := &IssueEvent{} - i.GetLabel() - i = nil - i.GetLabel() -} - -func TestIssueEvent_GetLockReason(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueEvent{LockReason: &zeroValue} - i.GetLockReason() - i = &IssueEvent{} - i.GetLockReason() - i = nil - i.GetLockReason() -} - -func TestIssueEvent_GetMilestone(tt *testing.T) { - tt.Parallel() - i := &IssueEvent{} - i.GetMilestone() - i = nil - i.GetMilestone() -} - -func TestIssueEvent_GetPerformedViaGithubApp(tt *testing.T) { - tt.Parallel() - i := &IssueEvent{} - i.GetPerformedViaGithubApp() - i = nil - i.GetPerformedViaGithubApp() -} - -func TestIssueEvent_GetRename(tt *testing.T) { - tt.Parallel() - i := &IssueEvent{} - i.GetRename() - i = nil - i.GetRename() -} - -func TestIssueEvent_GetRepository(tt *testing.T) { - tt.Parallel() - i := &IssueEvent{} - i.GetRepository() - i = nil - i.GetRepository() -} - -func TestIssueEvent_GetRequestedReviewer(tt *testing.T) { - tt.Parallel() - i := &IssueEvent{} - i.GetRequestedReviewer() - i = nil - i.GetRequestedReviewer() -} - -func TestIssueEvent_GetRequestedTeam(tt *testing.T) { - tt.Parallel() - i := &IssueEvent{} - i.GetRequestedTeam() - i = nil - i.GetRequestedTeam() -} - -func TestIssueEvent_GetReviewRequester(tt *testing.T) { - tt.Parallel() - i := &IssueEvent{} - i.GetReviewRequester() - i = nil - i.GetReviewRequester() -} - -func TestIssueEvent_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueEvent{URL: &zeroValue} - i.GetURL() - i = &IssueEvent{} - i.GetURL() - i = nil - i.GetURL() -} - -func TestIssueFieldValue_GetDataType(tt *testing.T) { - tt.Parallel() - i := &IssueFieldValue{} - i.GetDataType() - i = nil - i.GetDataType() -} - -func TestIssueFieldValue_GetIssueFieldID(tt *testing.T) { - tt.Parallel() - i := &IssueFieldValue{} - i.GetIssueFieldID() - i = nil - i.GetIssueFieldID() -} - -func TestIssueFieldValue_GetNodeID(tt *testing.T) { - tt.Parallel() - i := &IssueFieldValue{} - i.GetNodeID() - i = nil - i.GetNodeID() -} - -func TestIssueFieldValue_GetSingleSelectOption(tt *testing.T) { - tt.Parallel() - i := &IssueFieldValue{} - i.GetSingleSelectOption() - i = nil - i.GetSingleSelectOption() -} - -func TestIssueFieldValue_GetValue(tt *testing.T) { - tt.Parallel() - i := &IssueFieldValue{} - i.GetValue() - i = nil - i.GetValue() -} - -func TestIssueFieldValueSingleSelectOption_GetColor(tt *testing.T) { - tt.Parallel() - i := &IssueFieldValueSingleSelectOption{} - i.GetColor() - i = nil - i.GetColor() -} - -func TestIssueFieldValueSingleSelectOption_GetID(tt *testing.T) { - tt.Parallel() - i := &IssueFieldValueSingleSelectOption{} - i.GetID() - i = nil - i.GetID() -} - -func TestIssueFieldValueSingleSelectOption_GetName(tt *testing.T) { - tt.Parallel() - i := &IssueFieldValueSingleSelectOption{} - i.GetName() - i = nil - i.GetName() -} - -func TestIssueImport_GetAssignee(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueImport{Assignee: &zeroValue} - i.GetAssignee() - i = &IssueImport{} - i.GetAssignee() - i = nil - 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 - i := &IssueImport{Closed: &zeroValue} - i.GetClosed() - i = &IssueImport{} - i.GetClosed() - i = nil - i.GetClosed() -} - -func TestIssueImport_GetClosedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - i := &IssueImport{ClosedAt: &zeroValue} - i.GetClosedAt() - i = &IssueImport{} - i.GetClosedAt() - i = nil - i.GetClosedAt() -} - -func TestIssueImport_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - i := &IssueImport{CreatedAt: &zeroValue} - i.GetCreatedAt() - i = &IssueImport{} - i.GetCreatedAt() - i = nil - 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 - i := &IssueImport{Milestone: &zeroValue} - i.GetMilestone() - i = &IssueImport{} - i.GetMilestone() - i = nil - 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 - i := &IssueImport{UpdatedAt: &zeroValue} - i.GetUpdatedAt() - i = &IssueImport{} - i.GetUpdatedAt() - i = nil - i.GetUpdatedAt() -} - -func TestIssueImportError_GetCode(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueImportError{Code: &zeroValue} - i.GetCode() - i = &IssueImportError{} - i.GetCode() - i = nil - i.GetCode() -} - -func TestIssueImportError_GetField(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueImportError{Field: &zeroValue} - i.GetField() - i = &IssueImportError{} - i.GetField() - i = nil - i.GetField() -} - -func TestIssueImportError_GetLocation(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueImportError{Location: &zeroValue} - i.GetLocation() - i = &IssueImportError{} - i.GetLocation() - i = nil - i.GetLocation() -} - -func TestIssueImportError_GetResource(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueImportError{Resource: &zeroValue} - i.GetResource() - i = &IssueImportError{} - i.GetResource() - i = nil - i.GetResource() -} - -func TestIssueImportError_GetValue(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueImportError{Value: &zeroValue} - i.GetValue() - i = &IssueImportError{} - i.GetValue() - i = nil - 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 - i := &IssueImportResponse{CreatedAt: &zeroValue} - i.GetCreatedAt() - i = &IssueImportResponse{} - i.GetCreatedAt() - i = nil - i.GetCreatedAt() -} - -func TestIssueImportResponse_GetDocumentationURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueImportResponse{DocumentationURL: &zeroValue} - i.GetDocumentationURL() - i = &IssueImportResponse{} - i.GetDocumentationURL() - i = nil - 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 - i := &IssueImportResponse{ID: &zeroValue} - i.GetID() - i = &IssueImportResponse{} - i.GetID() - i = nil - i.GetID() -} - -func TestIssueImportResponse_GetImportIssuesURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueImportResponse{ImportIssuesURL: &zeroValue} - i.GetImportIssuesURL() - i = &IssueImportResponse{} - i.GetImportIssuesURL() - i = nil - i.GetImportIssuesURL() -} - -func TestIssueImportResponse_GetMessage(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueImportResponse{Message: &zeroValue} - i.GetMessage() - i = &IssueImportResponse{} - i.GetMessage() - i = nil - i.GetMessage() -} - -func TestIssueImportResponse_GetRepositoryURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueImportResponse{RepositoryURL: &zeroValue} - i.GetRepositoryURL() - i = &IssueImportResponse{} - i.GetRepositoryURL() - i = nil - i.GetRepositoryURL() -} - -func TestIssueImportResponse_GetStatus(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueImportResponse{Status: &zeroValue} - i.GetStatus() - i = &IssueImportResponse{} - i.GetStatus() - i = nil - i.GetStatus() -} - -func TestIssueImportResponse_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - i := &IssueImportResponse{UpdatedAt: &zeroValue} - i.GetUpdatedAt() - i = &IssueImportResponse{} - i.GetUpdatedAt() - i = nil - i.GetUpdatedAt() -} - -func TestIssueImportResponse_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueImportResponse{URL: &zeroValue} - i.GetURL() - i = &IssueImportResponse{} - i.GetURL() - i = nil - 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 - i := &IssueListCommentsOptions{Direction: &zeroValue} - i.GetDirection() - i = &IssueListCommentsOptions{} - i.GetDirection() - i = nil - i.GetDirection() -} - -func TestIssueListCommentsOptions_GetSince(tt *testing.T) { - tt.Parallel() - var zeroValue time.Time - i := &IssueListCommentsOptions{Since: &zeroValue} - i.GetSince() - i = &IssueListCommentsOptions{} - i.GetSince() - i = nil - i.GetSince() -} - -func TestIssueListCommentsOptions_GetSort(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueListCommentsOptions{Sort: &zeroValue} - i.GetSort() - i = &IssueListCommentsOptions{} - i.GetSort() - i = nil - i.GetSort() -} - -func TestIssueRequestFieldValue_GetFieldID(tt *testing.T) { - tt.Parallel() - i := &IssueRequestFieldValue{} - i.GetFieldID() - i = nil - i.GetFieldID() -} - -func TestIssueRequestFieldValue_GetValue(tt *testing.T) { - tt.Parallel() - i := &IssueRequestFieldValue{} - i.GetValue() - i = nil - i.GetValue() -} - -func TestIssuesEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssuesEvent{Action: &zeroValue} - i.GetAction() - i = &IssuesEvent{} - i.GetAction() - i = nil - i.GetAction() -} - -func TestIssuesEvent_GetAssignee(tt *testing.T) { - tt.Parallel() - i := &IssuesEvent{} - i.GetAssignee() - i = nil - i.GetAssignee() -} - -func TestIssuesEvent_GetChanges(tt *testing.T) { - tt.Parallel() - i := &IssuesEvent{} - i.GetChanges() - i = nil - i.GetChanges() -} - -func TestIssuesEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - i := &IssuesEvent{} - i.GetInstallation() - i = nil - i.GetInstallation() -} - -func TestIssuesEvent_GetIssue(tt *testing.T) { - tt.Parallel() - i := &IssuesEvent{} - i.GetIssue() - i = nil - i.GetIssue() -} - -func TestIssuesEvent_GetLabel(tt *testing.T) { - tt.Parallel() - i := &IssuesEvent{} - i.GetLabel() - i = nil - i.GetLabel() -} - -func TestIssuesEvent_GetMilestone(tt *testing.T) { - tt.Parallel() - i := &IssuesEvent{} - i.GetMilestone() - i = nil - i.GetMilestone() -} - -func TestIssuesEvent_GetOrg(tt *testing.T) { - tt.Parallel() - i := &IssuesEvent{} - i.GetOrg() - i = nil - i.GetOrg() -} - -func TestIssuesEvent_GetRepo(tt *testing.T) { - tt.Parallel() - i := &IssuesEvent{} - i.GetRepo() - i = nil - i.GetRepo() -} - -func TestIssuesEvent_GetSender(tt *testing.T) { - tt.Parallel() - i := &IssuesEvent{} - i.GetSender() - i = nil - i.GetSender() -} - -func TestIssuesSearchResult_GetIncompleteResults(tt *testing.T) { - tt.Parallel() - var zeroValue bool - i := &IssuesSearchResult{IncompleteResults: &zeroValue} - i.GetIncompleteResults() - i = &IssuesSearchResult{} - i.GetIncompleteResults() - i = nil - 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_GetSearchType(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssuesSearchResult{SearchType: &zeroValue} - i.GetSearchType() - i = &IssuesSearchResult{} - i.GetSearchType() - i = nil - i.GetSearchType() -} - -func TestIssuesSearchResult_GetTotal(tt *testing.T) { - tt.Parallel() - var zeroValue int - i := &IssuesSearchResult{Total: &zeroValue} - i.GetTotal() - i = &IssuesSearchResult{} - i.GetTotal() - i = nil - i.GetTotal() -} - -func TestIssueStats_GetClosedIssues(tt *testing.T) { - tt.Parallel() - var zeroValue int - i := &IssueStats{ClosedIssues: &zeroValue} - i.GetClosedIssues() - i = &IssueStats{} - i.GetClosedIssues() - i = nil - i.GetClosedIssues() -} - -func TestIssueStats_GetOpenIssues(tt *testing.T) { - tt.Parallel() - var zeroValue int - i := &IssueStats{OpenIssues: &zeroValue} - i.GetOpenIssues() - i = &IssueStats{} - i.GetOpenIssues() - i = nil - i.GetOpenIssues() -} - -func TestIssueStats_GetTotalIssues(tt *testing.T) { - tt.Parallel() - var zeroValue int - i := &IssueStats{TotalIssues: &zeroValue} - i.GetTotalIssues() - i = &IssueStats{} - i.GetTotalIssues() - i = nil - i.GetTotalIssues() -} - -func TestIssueType_GetColor(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueType{Color: &zeroValue} - i.GetColor() - i = &IssueType{} - i.GetColor() - i = nil - i.GetColor() -} - -func TestIssueType_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - i := &IssueType{CreatedAt: &zeroValue} - i.GetCreatedAt() - i = &IssueType{} - i.GetCreatedAt() - i = nil - i.GetCreatedAt() -} - -func TestIssueType_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueType{Description: &zeroValue} - i.GetDescription() - i = &IssueType{} - i.GetDescription() - i = nil - i.GetDescription() -} - -func TestIssueType_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - i := &IssueType{ID: &zeroValue} - i.GetID() - i = &IssueType{} - i.GetID() - i = nil - i.GetID() -} - -func TestIssueType_GetIsEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - i := &IssueType{IsEnabled: &zeroValue} - i.GetIsEnabled() - i = &IssueType{} - i.GetIsEnabled() - i = nil - i.GetIsEnabled() -} - -func TestIssueType_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueType{Name: &zeroValue} - i.GetName() - i = &IssueType{} - i.GetName() - i = nil - i.GetName() -} - -func TestIssueType_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - i := &IssueType{NodeID: &zeroValue} - i.GetNodeID() - i = &IssueType{} - i.GetNodeID() - i = nil - i.GetNodeID() -} - -func TestIssueType_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - i := &IssueType{UpdatedAt: &zeroValue} - i.GetUpdatedAt() - i = &IssueType{} - i.GetUpdatedAt() - i = nil - i.GetUpdatedAt() -} - -func TestJITRunnerConfig_GetEncodedJITConfig(tt *testing.T) { - tt.Parallel() - var zeroValue string - j := &JITRunnerConfig{EncodedJITConfig: &zeroValue} - j.GetEncodedJITConfig() - j = &JITRunnerConfig{} - j.GetEncodedJITConfig() - j = nil - j.GetEncodedJITConfig() -} - -func TestJITRunnerConfig_GetRunner(tt *testing.T) { - tt.Parallel() - j := &JITRunnerConfig{} - j.GetRunner() - j = nil - 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 - j := &Jobs{TotalCount: &zeroValue} - j.GetTotalCount() - j = &Jobs{} - j.GetTotalCount() - j = nil - j.GetTotalCount() -} - -func TestKey_GetAddedBy(tt *testing.T) { - tt.Parallel() - var zeroValue string - k := &Key{AddedBy: &zeroValue} - k.GetAddedBy() - k = &Key{} - k.GetAddedBy() - k = nil - k.GetAddedBy() -} - -func TestKey_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - k := &Key{CreatedAt: &zeroValue} - k.GetCreatedAt() - k = &Key{} - k.GetCreatedAt() - k = nil - k.GetCreatedAt() -} - -func TestKey_GetEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - k := &Key{Enabled: &zeroValue} - k.GetEnabled() - k = &Key{} - k.GetEnabled() - k = nil - k.GetEnabled() -} - -func TestKey_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - k := &Key{ID: &zeroValue} - k.GetID() - k = &Key{} - k.GetID() - k = nil - k.GetID() -} - -func TestKey_GetKey(tt *testing.T) { - tt.Parallel() - var zeroValue string - k := &Key{Key: &zeroValue} - k.GetKey() - k = &Key{} - k.GetKey() - k = nil - k.GetKey() -} - -func TestKey_GetLastUsed(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - k := &Key{LastUsed: &zeroValue} - k.GetLastUsed() - k = &Key{} - k.GetLastUsed() - k = nil - k.GetLastUsed() -} - -func TestKey_GetReadOnly(tt *testing.T) { - tt.Parallel() - var zeroValue bool - k := &Key{ReadOnly: &zeroValue} - k.GetReadOnly() - k = &Key{} - k.GetReadOnly() - k = nil - k.GetReadOnly() -} - -func TestKey_GetTitle(tt *testing.T) { - tt.Parallel() - var zeroValue string - k := &Key{Title: &zeroValue} - k.GetTitle() - k = &Key{} - k.GetTitle() - k = nil - k.GetTitle() -} - -func TestKey_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - k := &Key{URL: &zeroValue} - k.GetURL() - k = &Key{} - k.GetURL() - k = nil - k.GetURL() -} - -func TestKey_GetVerified(tt *testing.T) { - tt.Parallel() - var zeroValue bool - k := &Key{Verified: &zeroValue} - k.GetVerified() - k = &Key{} - k.GetVerified() - k = nil - k.GetVerified() -} - -func TestLabel_GetColor(tt *testing.T) { - tt.Parallel() - l := &Label{} - l.GetColor() - l = nil - l.GetColor() -} - -func TestLabel_GetDefault(tt *testing.T) { - tt.Parallel() - l := &Label{} - l.GetDefault() - l = nil - l.GetDefault() -} - -func TestLabel_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &Label{Description: &zeroValue} - l.GetDescription() - l = &Label{} - l.GetDescription() - l = nil - l.GetDescription() -} - -func TestLabel_GetID(tt *testing.T) { - tt.Parallel() - l := &Label{} - l.GetID() - l = nil - l.GetID() -} - -func TestLabel_GetName(tt *testing.T) { - tt.Parallel() - l := &Label{} - l.GetName() - l = nil - l.GetName() -} - -func TestLabel_GetNodeID(tt *testing.T) { - tt.Parallel() - l := &Label{} - l.GetNodeID() - l = nil - l.GetNodeID() -} - -func TestLabel_GetURL(tt *testing.T) { - tt.Parallel() - l := &Label{} - l.GetURL() - l = nil - l.GetURL() -} - -func TestLabelEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &LabelEvent{Action: &zeroValue} - l.GetAction() - l = &LabelEvent{} - l.GetAction() - l = nil - l.GetAction() -} - -func TestLabelEvent_GetChanges(tt *testing.T) { - tt.Parallel() - l := &LabelEvent{} - l.GetChanges() - l = nil - l.GetChanges() -} - -func TestLabelEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - l := &LabelEvent{} - l.GetInstallation() - l = nil - l.GetInstallation() -} - -func TestLabelEvent_GetLabel(tt *testing.T) { - tt.Parallel() - l := &LabelEvent{} - l.GetLabel() - l = nil - l.GetLabel() -} - -func TestLabelEvent_GetOrg(tt *testing.T) { - tt.Parallel() - l := &LabelEvent{} - l.GetOrg() - l = nil - l.GetOrg() -} - -func TestLabelEvent_GetRepo(tt *testing.T) { - tt.Parallel() - l := &LabelEvent{} - l.GetRepo() - l = nil - l.GetRepo() -} - -func TestLabelEvent_GetSender(tt *testing.T) { - tt.Parallel() - l := &LabelEvent{} - l.GetSender() - l = nil - l.GetSender() -} - -func TestLabelResult_GetColor(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &LabelResult{Color: &zeroValue} - l.GetColor() - l = &LabelResult{} - l.GetColor() - l = nil - l.GetColor() -} - -func TestLabelResult_GetDefault(tt *testing.T) { - tt.Parallel() - var zeroValue bool - l := &LabelResult{Default: &zeroValue} - l.GetDefault() - l = &LabelResult{} - l.GetDefault() - l = nil - l.GetDefault() -} - -func TestLabelResult_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &LabelResult{Description: &zeroValue} - l.GetDescription() - l = &LabelResult{} - l.GetDescription() - l = nil - l.GetDescription() -} - -func TestLabelResult_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - l := &LabelResult{ID: &zeroValue} - l.GetID() - l = &LabelResult{} - l.GetID() - l = nil - l.GetID() -} - -func TestLabelResult_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &LabelResult{Name: &zeroValue} - l.GetName() - l = &LabelResult{} - l.GetName() - l = nil - l.GetName() -} - -func TestLabelResult_GetScore(tt *testing.T) { - tt.Parallel() - var zeroValue float64 - l := &LabelResult{Score: &zeroValue} - l.GetScore() - l = &LabelResult{} - l.GetScore() - l = nil - l.GetScore() -} - -func TestLabelResult_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &LabelResult{URL: &zeroValue} - l.GetURL() - l = &LabelResult{} - l.GetURL() - l = nil - l.GetURL() -} - -func TestLabelsSearchResult_GetIncompleteResults(tt *testing.T) { - tt.Parallel() - var zeroValue bool - l := &LabelsSearchResult{IncompleteResults: &zeroValue} - l.GetIncompleteResults() - l = &LabelsSearchResult{} - l.GetIncompleteResults() - l = nil - 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 - l := &LabelsSearchResult{Total: &zeroValue} - l.GetTotal() - l = &LabelsSearchResult{} - l.GetTotal() - l = nil - l.GetTotal() -} - -func TestLargeFile_GetOID(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &LargeFile{OID: &zeroValue} - l.GetOID() - l = &LargeFile{} - l.GetOID() - l = nil - l.GetOID() -} - -func TestLargeFile_GetPath(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &LargeFile{Path: &zeroValue} - l.GetPath() - l = &LargeFile{} - l.GetPath() - l = nil - l.GetPath() -} - -func TestLargeFile_GetRefName(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &LargeFile{RefName: &zeroValue} - l.GetRefName() - l = &LargeFile{} - l.GetRefName() - l = nil - l.GetRefName() -} - -func TestLargeFile_GetSize(tt *testing.T) { - tt.Parallel() - var zeroValue int - l := &LargeFile{Size: &zeroValue} - l.GetSize() - l = &LargeFile{} - l.GetSize() - l = nil - l.GetSize() -} - -func TestLastLicenseSync_GetProperties(tt *testing.T) { - tt.Parallel() - l := &LastLicenseSync{} - l.GetProperties() - l = nil - 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 - l := &LastLicenseSyncProperties{Date: &zeroValue} - l.GetDate() - l = &LastLicenseSyncProperties{} - l.GetDate() - l = nil - 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 - l := &License{Body: &zeroValue} - l.GetBody() - l = &License{} - l.GetBody() - l = nil - l.GetBody() -} - -func TestLicense_GetConditions(tt *testing.T) { - tt.Parallel() - var zeroValue []string - l := &License{Conditions: &zeroValue} - l.GetConditions() - l = &License{} - l.GetConditions() - l = nil - l.GetConditions() -} - -func TestLicense_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &License{Description: &zeroValue} - l.GetDescription() - l = &License{} - l.GetDescription() - l = nil - l.GetDescription() -} - -func TestLicense_GetFeatured(tt *testing.T) { - tt.Parallel() - var zeroValue bool - l := &License{Featured: &zeroValue} - l.GetFeatured() - l = &License{} - l.GetFeatured() - l = nil - l.GetFeatured() -} - -func TestLicense_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &License{HTMLURL: &zeroValue} - l.GetHTMLURL() - l = &License{} - l.GetHTMLURL() - l = nil - l.GetHTMLURL() -} - -func TestLicense_GetImplementation(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &License{Implementation: &zeroValue} - l.GetImplementation() - l = &License{} - l.GetImplementation() - l = nil - l.GetImplementation() -} - -func TestLicense_GetKey(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &License{Key: &zeroValue} - l.GetKey() - l = &License{} - l.GetKey() - l = nil - l.GetKey() -} - -func TestLicense_GetLimitations(tt *testing.T) { - tt.Parallel() - var zeroValue []string - l := &License{Limitations: &zeroValue} - l.GetLimitations() - l = &License{} - l.GetLimitations() - l = nil - l.GetLimitations() -} - -func TestLicense_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &License{Name: &zeroValue} - l.GetName() - l = &License{} - l.GetName() - l = nil - l.GetName() -} - -func TestLicense_GetPermissions(tt *testing.T) { - tt.Parallel() - var zeroValue []string - l := &License{Permissions: &zeroValue} - l.GetPermissions() - l = &License{} - l.GetPermissions() - l = nil - l.GetPermissions() -} - -func TestLicense_GetSPDXID(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &License{SPDXID: &zeroValue} - l.GetSPDXID() - l = &License{} - l.GetSPDXID() - l = nil - l.GetSPDXID() -} - -func TestLicense_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &License{URL: &zeroValue} - l.GetURL() - l = &License{} - l.GetURL() - l = nil - l.GetURL() -} - -func TestLicenseCheck_GetStatus(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &LicenseCheck{Status: &zeroValue} - l.GetStatus() - l = &LicenseCheck{} - l.GetStatus() - l = nil - l.GetStatus() -} - -func TestLicenseStatus_GetAdvancedSecurityEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - l := &LicenseStatus{AdvancedSecurityEnabled: &zeroValue} - l.GetAdvancedSecurityEnabled() - l = &LicenseStatus{} - l.GetAdvancedSecurityEnabled() - l = nil - l.GetAdvancedSecurityEnabled() -} - -func TestLicenseStatus_GetAdvancedSecuritySeats(tt *testing.T) { - tt.Parallel() - var zeroValue int - l := &LicenseStatus{AdvancedSecuritySeats: &zeroValue} - l.GetAdvancedSecuritySeats() - l = &LicenseStatus{} - l.GetAdvancedSecuritySeats() - l = nil - l.GetAdvancedSecuritySeats() -} - -func TestLicenseStatus_GetClusterSupport(tt *testing.T) { - tt.Parallel() - var zeroValue bool - l := &LicenseStatus{ClusterSupport: &zeroValue} - l.GetClusterSupport() - l = &LicenseStatus{} - l.GetClusterSupport() - l = nil - l.GetClusterSupport() -} - -func TestLicenseStatus_GetCompany(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &LicenseStatus{Company: &zeroValue} - l.GetCompany() - l = &LicenseStatus{} - l.GetCompany() - l = nil - l.GetCompany() -} - -func TestLicenseStatus_GetCroquetSupport(tt *testing.T) { - tt.Parallel() - var zeroValue bool - l := &LicenseStatus{CroquetSupport: &zeroValue} - l.GetCroquetSupport() - l = &LicenseStatus{} - l.GetCroquetSupport() - l = nil - l.GetCroquetSupport() -} - -func TestLicenseStatus_GetCustomTerms(tt *testing.T) { - tt.Parallel() - var zeroValue bool - l := &LicenseStatus{CustomTerms: &zeroValue} - l.GetCustomTerms() - l = &LicenseStatus{} - l.GetCustomTerms() - l = nil - l.GetCustomTerms() -} - -func TestLicenseStatus_GetEvaluation(tt *testing.T) { - tt.Parallel() - var zeroValue bool - l := &LicenseStatus{Evaluation: &zeroValue} - l.GetEvaluation() - l = &LicenseStatus{} - l.GetEvaluation() - l = nil - l.GetEvaluation() -} - -func TestLicenseStatus_GetExpireAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - l := &LicenseStatus{ExpireAt: &zeroValue} - l.GetExpireAt() - l = &LicenseStatus{} - l.GetExpireAt() - l = nil - l.GetExpireAt() -} - -func TestLicenseStatus_GetInsightsEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - l := &LicenseStatus{InsightsEnabled: &zeroValue} - l.GetInsightsEnabled() - l = &LicenseStatus{} - l.GetInsightsEnabled() - l = nil - l.GetInsightsEnabled() -} - -func TestLicenseStatus_GetInsightsExpireAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - l := &LicenseStatus{InsightsExpireAt: &zeroValue} - l.GetInsightsExpireAt() - l = &LicenseStatus{} - l.GetInsightsExpireAt() - l = nil - l.GetInsightsExpireAt() -} - -func TestLicenseStatus_GetLearningLabEvaluationExpires(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - l := &LicenseStatus{LearningLabEvaluationExpires: &zeroValue} - l.GetLearningLabEvaluationExpires() - l = &LicenseStatus{} - l.GetLearningLabEvaluationExpires() - l = nil - l.GetLearningLabEvaluationExpires() -} - -func TestLicenseStatus_GetLearningLabSeats(tt *testing.T) { - tt.Parallel() - var zeroValue int - l := &LicenseStatus{LearningLabSeats: &zeroValue} - l.GetLearningLabSeats() - l = &LicenseStatus{} - l.GetLearningLabSeats() - l = nil - l.GetLearningLabSeats() -} - -func TestLicenseStatus_GetPerpetual(tt *testing.T) { - tt.Parallel() - var zeroValue bool - l := &LicenseStatus{Perpetual: &zeroValue} - l.GetPerpetual() - l = &LicenseStatus{} - l.GetPerpetual() - l = nil - l.GetPerpetual() -} - -func TestLicenseStatus_GetReferenceNumber(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &LicenseStatus{ReferenceNumber: &zeroValue} - l.GetReferenceNumber() - l = &LicenseStatus{} - l.GetReferenceNumber() - l = nil - l.GetReferenceNumber() -} - -func TestLicenseStatus_GetSeats(tt *testing.T) { - tt.Parallel() - var zeroValue int - l := &LicenseStatus{Seats: &zeroValue} - l.GetSeats() - l = &LicenseStatus{} - l.GetSeats() - l = nil - l.GetSeats() -} - -func TestLicenseStatus_GetSSHAllowed(tt *testing.T) { - tt.Parallel() - var zeroValue bool - l := &LicenseStatus{SSHAllowed: &zeroValue} - l.GetSSHAllowed() - l = &LicenseStatus{} - l.GetSSHAllowed() - l = nil - l.GetSSHAllowed() -} - -func TestLicenseStatus_GetSupportKey(tt *testing.T) { - tt.Parallel() - var zeroValue bool - l := &LicenseStatus{SupportKey: &zeroValue} - l.GetSupportKey() - l = &LicenseStatus{} - l.GetSupportKey() - l = nil - l.GetSupportKey() -} - -func TestLicenseStatus_GetUnlimitedSeating(tt *testing.T) { - tt.Parallel() - var zeroValue bool - l := &LicenseStatus{UnlimitedSeating: &zeroValue} - l.GetUnlimitedSeating() - l = &LicenseStatus{} - l.GetUnlimitedSeating() - l = nil - l.GetUnlimitedSeating() -} - -func TestLinearHistoryRequirementEnforcementLevelChanges_GetFrom(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &LinearHistoryRequirementEnforcementLevelChanges{From: &zeroValue} - l.GetFrom() - l = &LinearHistoryRequirementEnforcementLevelChanges{} - l.GetFrom() - l = nil - l.GetFrom() -} - -func TestListAlertsOptions_GetDirection(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &ListAlertsOptions{Direction: &zeroValue} - l.GetDirection() - l = &ListAlertsOptions{} - l.GetDirection() - l = nil - l.GetDirection() -} - -func TestListAlertsOptions_GetEcosystem(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &ListAlertsOptions{Ecosystem: &zeroValue} - l.GetEcosystem() - l = &ListAlertsOptions{} - l.GetEcosystem() - l = nil - l.GetEcosystem() -} - -func TestListAlertsOptions_GetPackage(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &ListAlertsOptions{Package: &zeroValue} - l.GetPackage() - l = &ListAlertsOptions{} - l.GetPackage() - l = nil - l.GetPackage() -} - -func TestListAlertsOptions_GetScope(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &ListAlertsOptions{Scope: &zeroValue} - l.GetScope() - l = &ListAlertsOptions{} - l.GetScope() - l = nil - l.GetScope() -} - -func TestListAlertsOptions_GetSeverity(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &ListAlertsOptions{Severity: &zeroValue} - l.GetSeverity() - l = &ListAlertsOptions{} - l.GetSeverity() - l = nil - l.GetSeverity() -} - -func TestListAlertsOptions_GetSort(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &ListAlertsOptions{Sort: &zeroValue} - l.GetSort() - l = &ListAlertsOptions{} - l.GetSort() - l = nil - l.GetSort() -} - -func TestListAlertsOptions_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &ListAlertsOptions{State: &zeroValue} - l.GetState() - l = &ListAlertsOptions{} - l.GetState() - l = nil - 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 - l := &ListArtifactsOptions{Name: &zeroValue} - l.GetName() - l = &ListArtifactsOptions{} - l.GetName() - l = nil - l.GetName() -} - -func TestListCheckRunsOptions_GetAppID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - l := &ListCheckRunsOptions{AppID: &zeroValue} - l.GetAppID() - l = &ListCheckRunsOptions{} - l.GetAppID() - l = nil - l.GetAppID() -} - -func TestListCheckRunsOptions_GetCheckName(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &ListCheckRunsOptions{CheckName: &zeroValue} - l.GetCheckName() - l = &ListCheckRunsOptions{} - l.GetCheckName() - l = nil - l.GetCheckName() -} - -func TestListCheckRunsOptions_GetFilter(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &ListCheckRunsOptions{Filter: &zeroValue} - l.GetFilter() - l = &ListCheckRunsOptions{} - l.GetFilter() - l = nil - l.GetFilter() -} - -func TestListCheckRunsOptions_GetStatus(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &ListCheckRunsOptions{Status: &zeroValue} - l.GetStatus() - l = &ListCheckRunsOptions{} - l.GetStatus() - l = nil - 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 - l := &ListCheckRunsResults{Total: &zeroValue} - l.GetTotal() - l = &ListCheckRunsResults{} - l.GetTotal() - l = nil - l.GetTotal() -} - -func TestListCheckSuiteOptions_GetAppID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - l := &ListCheckSuiteOptions{AppID: &zeroValue} - l.GetAppID() - l = &ListCheckSuiteOptions{} - l.GetAppID() - l = nil - l.GetAppID() -} - -func TestListCheckSuiteOptions_GetCheckName(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &ListCheckSuiteOptions{CheckName: &zeroValue} - l.GetCheckName() - l = &ListCheckSuiteOptions{} - l.GetCheckName() - l = nil - 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 - l := &ListCheckSuiteResults{Total: &zeroValue} - l.GetTotal() - l = &ListCheckSuiteResults{} - l.GetTotal() - l = nil - l.GetTotal() -} - -func TestListCodeQualityFindingsOptions_GetDirection(tt *testing.T) { - tt.Parallel() - l := &ListCodeQualityFindingsOptions{} - l.GetDirection() - l = nil - l.GetDirection() -} - -func TestListCodeQualityFindingsOptions_GetState(tt *testing.T) { - tt.Parallel() - l := &ListCodeQualityFindingsOptions{} - l.GetState() - l = nil - l.GetState() -} - -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 - l := &ListCodespaces{TotalCount: &zeroValue} - l.GetTotalCount() - l = &ListCodespaces{} - l.GetTotalCount() - l = nil - 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 - l := &ListCostCenterOptions{State: &zeroValue} - l.GetState() - l = &ListCostCenterOptions{} - l.GetState() - l = nil - 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 - l := &ListCustomDeploymentRuleIntegrationsResponse{TotalCount: &zeroValue} - l.GetTotalCount() - l = &ListCustomDeploymentRuleIntegrationsResponse{} - l.GetTotalCount() - l = nil - 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 - l := &ListDeploymentProtectionRuleResponse{TotalCount: &zeroValue} - l.GetTotalCount() - l = &ListDeploymentProtectionRuleResponse{} - l.GetTotalCount() - l = nil - 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 - l := &ListExternalGroupsOptions{DisplayName: &zeroValue} - l.GetDisplayName() - l = &ListExternalGroupsOptions{} - l.GetDisplayName() - l = nil - 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 - l := &ListGlobalSecurityAdvisoriesOptions{Affects: &zeroValue} - l.GetAffects() - l = &ListGlobalSecurityAdvisoriesOptions{} - l.GetAffects() - l = nil - l.GetAffects() -} - -func TestListGlobalSecurityAdvisoriesOptions_GetCVEID(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &ListGlobalSecurityAdvisoriesOptions{CVEID: &zeroValue} - l.GetCVEID() - l = &ListGlobalSecurityAdvisoriesOptions{} - l.GetCVEID() - l = nil - 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 - l := &ListGlobalSecurityAdvisoriesOptions{Ecosystem: &zeroValue} - l.GetEcosystem() - l = &ListGlobalSecurityAdvisoriesOptions{} - l.GetEcosystem() - l = nil - l.GetEcosystem() -} - -func TestListGlobalSecurityAdvisoriesOptions_GetGHSAID(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &ListGlobalSecurityAdvisoriesOptions{GHSAID: &zeroValue} - l.GetGHSAID() - l = &ListGlobalSecurityAdvisoriesOptions{} - l.GetGHSAID() - l = nil - l.GetGHSAID() -} - -func TestListGlobalSecurityAdvisoriesOptions_GetIsWithdrawn(tt *testing.T) { - tt.Parallel() - var zeroValue bool - l := &ListGlobalSecurityAdvisoriesOptions{IsWithdrawn: &zeroValue} - l.GetIsWithdrawn() - l = &ListGlobalSecurityAdvisoriesOptions{} - l.GetIsWithdrawn() - l = nil - l.GetIsWithdrawn() -} - -func TestListGlobalSecurityAdvisoriesOptions_GetModified(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &ListGlobalSecurityAdvisoriesOptions{Modified: &zeroValue} - l.GetModified() - l = &ListGlobalSecurityAdvisoriesOptions{} - l.GetModified() - l = nil - l.GetModified() -} - -func TestListGlobalSecurityAdvisoriesOptions_GetPublished(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &ListGlobalSecurityAdvisoriesOptions{Published: &zeroValue} - l.GetPublished() - l = &ListGlobalSecurityAdvisoriesOptions{} - l.GetPublished() - l = nil - l.GetPublished() -} - -func TestListGlobalSecurityAdvisoriesOptions_GetSeverity(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &ListGlobalSecurityAdvisoriesOptions{Severity: &zeroValue} - l.GetSeverity() - l = &ListGlobalSecurityAdvisoriesOptions{} - l.GetSeverity() - l = nil - l.GetSeverity() -} - -func TestListGlobalSecurityAdvisoriesOptions_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &ListGlobalSecurityAdvisoriesOptions{Type: &zeroValue} - l.GetType() - l = &ListGlobalSecurityAdvisoriesOptions{} - l.GetType() - l = nil - l.GetType() -} - -func TestListGlobalSecurityAdvisoriesOptions_GetUpdated(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &ListGlobalSecurityAdvisoriesOptions{Updated: &zeroValue} - l.GetUpdated() - l = &ListGlobalSecurityAdvisoriesOptions{} - l.GetUpdated() - l = nil - 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 - l := &ListLicensesOptions{Featured: &zeroValue} - l.GetFeatured() - l = &ListLicensesOptions{} - l.GetFeatured() - l = nil - 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 TestListOrganizationCopilotCodingAgentRepositoriesResponse_GetRepositories(tt *testing.T) { - tt.Parallel() - zeroValue := []*Repository{} - l := &ListOrganizationCopilotCodingAgentRepositoriesResponse{Repositories: zeroValue} - l.GetRepositories() - l = &ListOrganizationCopilotCodingAgentRepositoriesResponse{} - l.GetRepositories() - l = nil - l.GetRepositories() -} - -func TestListOrganizationCopilotCodingAgentRepositoriesResponse_GetTotalCount(tt *testing.T) { - tt.Parallel() - l := &ListOrganizationCopilotCodingAgentRepositoriesResponse{} - l.GetTotalCount() - l = nil - l.GetTotalCount() -} - -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 - l := &ListOrganizations{TotalCount: &zeroValue} - l.GetTotalCount() - l = &ListOrganizations{} - l.GetTotalCount() - l = nil - 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 - l := &ListProvisionedSCIMGroupsEnterpriseOptions{Count: &zeroValue} - l.GetCount() - l = &ListProvisionedSCIMGroupsEnterpriseOptions{} - l.GetCount() - l = nil - l.GetCount() -} - -func TestListProvisionedSCIMGroupsEnterpriseOptions_GetExcludedAttributes(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &ListProvisionedSCIMGroupsEnterpriseOptions{ExcludedAttributes: &zeroValue} - l.GetExcludedAttributes() - l = &ListProvisionedSCIMGroupsEnterpriseOptions{} - l.GetExcludedAttributes() - l = nil - l.GetExcludedAttributes() -} - -func TestListProvisionedSCIMGroupsEnterpriseOptions_GetFilter(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &ListProvisionedSCIMGroupsEnterpriseOptions{Filter: &zeroValue} - l.GetFilter() - l = &ListProvisionedSCIMGroupsEnterpriseOptions{} - l.GetFilter() - l = nil - l.GetFilter() -} - -func TestListProvisionedSCIMGroupsEnterpriseOptions_GetStartIndex(tt *testing.T) { - tt.Parallel() - var zeroValue int - l := &ListProvisionedSCIMGroupsEnterpriseOptions{StartIndex: &zeroValue} - l.GetStartIndex() - l = &ListProvisionedSCIMGroupsEnterpriseOptions{} - l.GetStartIndex() - l = nil - l.GetStartIndex() -} - -func TestListProvisionedSCIMUsersEnterpriseOptions_GetCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - l := &ListProvisionedSCIMUsersEnterpriseOptions{Count: &zeroValue} - l.GetCount() - l = &ListProvisionedSCIMUsersEnterpriseOptions{} - l.GetCount() - l = nil - l.GetCount() -} - -func TestListProvisionedSCIMUsersEnterpriseOptions_GetFilter(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &ListProvisionedSCIMUsersEnterpriseOptions{Filter: &zeroValue} - l.GetFilter() - l = &ListProvisionedSCIMUsersEnterpriseOptions{} - l.GetFilter() - l = nil - l.GetFilter() -} - -func TestListProvisionedSCIMUsersEnterpriseOptions_GetStartIndex(tt *testing.T) { - tt.Parallel() - var zeroValue int - l := &ListProvisionedSCIMUsersEnterpriseOptions{StartIndex: &zeroValue} - l.GetStartIndex() - l = &ListProvisionedSCIMUsersEnterpriseOptions{} - l.GetStartIndex() - l = nil - 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 - l := &ListRepoMachineTypesOptions{ClientIP: &zeroValue} - l.GetClientIP() - l = &ListRepoMachineTypesOptions{} - l.GetClientIP() - l = nil - l.GetClientIP() -} - -func TestListRepoMachineTypesOptions_GetLocation(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &ListRepoMachineTypesOptions{Location: &zeroValue} - l.GetLocation() - l = &ListRepoMachineTypesOptions{} - l.GetLocation() - l = nil - l.GetLocation() -} - -func TestListRepoMachineTypesOptions_GetRef(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &ListRepoMachineTypesOptions{Ref: &zeroValue} - l.GetRef() - l = &ListRepoMachineTypesOptions{} - l.GetRef() - l = nil - 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 - l := &ListRepositories{TotalCount: &zeroValue} - l.GetTotalCount() - l = &ListRepositories{} - l.GetTotalCount() - l = nil - 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 - l := &ListRunnersOptions{Name: &zeroValue} - l.GetName() - l = &ListRunnersOptions{} - l.GetName() - l = nil - l.GetName() -} - -func TestListSCIMProvisionedIdentitiesOptions_GetCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - l := &ListSCIMProvisionedIdentitiesOptions{Count: &zeroValue} - l.GetCount() - l = &ListSCIMProvisionedIdentitiesOptions{} - l.GetCount() - l = nil - l.GetCount() -} - -func TestListSCIMProvisionedIdentitiesOptions_GetFilter(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &ListSCIMProvisionedIdentitiesOptions{Filter: &zeroValue} - l.GetFilter() - l = &ListSCIMProvisionedIdentitiesOptions{} - l.GetFilter() - l = nil - l.GetFilter() -} - -func TestListSCIMProvisionedIdentitiesOptions_GetStartIndex(tt *testing.T) { - tt.Parallel() - var zeroValue int - l := &ListSCIMProvisionedIdentitiesOptions{StartIndex: &zeroValue} - l.GetStartIndex() - l = &ListSCIMProvisionedIdentitiesOptions{} - l.GetStartIndex() - l = nil - 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 TestListVisualStudioSubscriptionsOptions_GetIsUnmatchedOnly(tt *testing.T) { - tt.Parallel() - l := &ListVisualStudioSubscriptionsOptions{} - l.GetIsUnmatchedOnly() - l = nil - l.GetIsUnmatchedOnly() -} - -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 - l := &Location{EndColumn: &zeroValue} - l.GetEndColumn() - l = &Location{} - l.GetEndColumn() - l = nil - l.GetEndColumn() -} - -func TestLocation_GetEndLine(tt *testing.T) { - tt.Parallel() - var zeroValue int - l := &Location{EndLine: &zeroValue} - l.GetEndLine() - l = &Location{} - l.GetEndLine() - l = nil - l.GetEndLine() -} - -func TestLocation_GetPath(tt *testing.T) { - tt.Parallel() - var zeroValue string - l := &Location{Path: &zeroValue} - l.GetPath() - l = &Location{} - l.GetPath() - l = nil - l.GetPath() -} - -func TestLocation_GetStartColumn(tt *testing.T) { - tt.Parallel() - var zeroValue int - l := &Location{StartColumn: &zeroValue} - l.GetStartColumn() - l = &Location{} - l.GetStartColumn() - l = nil - l.GetStartColumn() -} - -func TestLocation_GetStartLine(tt *testing.T) { - tt.Parallel() - var zeroValue int - l := &Location{StartLine: &zeroValue} - l.GetStartLine() - l = &Location{} - l.GetStartLine() - l = nil - l.GetStartLine() -} - -func TestLockBranch_GetEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - l := &LockBranch{Enabled: &zeroValue} - l.GetEnabled() - l = &LockBranch{} - l.GetEnabled() - l = nil - 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 - m := &MaintenanceOperationStatus{Hostname: &zeroValue} - m.GetHostname() - m = &MaintenanceOperationStatus{} - m.GetHostname() - m = nil - m.GetHostname() -} - -func TestMaintenanceOperationStatus_GetMessage(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MaintenanceOperationStatus{Message: &zeroValue} - m.GetMessage() - m = &MaintenanceOperationStatus{} - m.GetMessage() - m = nil - m.GetMessage() -} - -func TestMaintenanceOperationStatus_GetUUID(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MaintenanceOperationStatus{UUID: &zeroValue} - m.GetUUID() - m = &MaintenanceOperationStatus{} - m.GetUUID() - m = nil - 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 - m := &MaintenanceOptions{MaintenanceModeMessage: &zeroValue} - m.GetMaintenanceModeMessage() - m = &MaintenanceOptions{} - m.GetMaintenanceModeMessage() - m = nil - m.GetMaintenanceModeMessage() -} - -func TestMaintenanceOptions_GetUUID(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MaintenanceOptions{UUID: &zeroValue} - m.GetUUID() - m = &MaintenanceOptions{} - m.GetUUID() - m = nil - m.GetUUID() -} - -func TestMaintenanceOptions_GetWhen(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MaintenanceOptions{When: &zeroValue} - m.GetWhen() - m = &MaintenanceOptions{} - m.GetWhen() - m = nil - m.GetWhen() -} - -func TestMaintenanceStatus_GetCanUnsetMaintenance(tt *testing.T) { - tt.Parallel() - var zeroValue bool - m := &MaintenanceStatus{CanUnsetMaintenance: &zeroValue} - m.GetCanUnsetMaintenance() - m = &MaintenanceStatus{} - m.GetCanUnsetMaintenance() - m = nil - 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 - m := &MaintenanceStatus{Hostname: &zeroValue} - m.GetHostname() - m = &MaintenanceStatus{} - m.GetHostname() - m = nil - 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 - m := &MaintenanceStatus{MaintenanceModeMessage: &zeroValue} - m.GetMaintenanceModeMessage() - m = &MaintenanceStatus{} - m.GetMaintenanceModeMessage() - m = nil - m.GetMaintenanceModeMessage() -} - -func TestMaintenanceStatus_GetScheduledTime(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - m := &MaintenanceStatus{ScheduledTime: &zeroValue} - m.GetScheduledTime() - m = &MaintenanceStatus{} - m.GetScheduledTime() - m = nil - m.GetScheduledTime() -} - -func TestMaintenanceStatus_GetStatus(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MaintenanceStatus{Status: &zeroValue} - m.GetStatus() - m = &MaintenanceStatus{} - m.GetStatus() - m = nil - m.GetStatus() -} - -func TestMaintenanceStatus_GetUUID(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MaintenanceStatus{UUID: &zeroValue} - m.GetUUID() - m = &MaintenanceStatus{} - m.GetUUID() - m = nil - 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 - m := &MarketplacePendingChange{EffectiveDate: &zeroValue} - m.GetEffectiveDate() - m = &MarketplacePendingChange{} - m.GetEffectiveDate() - m = nil - m.GetEffectiveDate() -} - -func TestMarketplacePendingChange_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - m := &MarketplacePendingChange{ID: &zeroValue} - m.GetID() - m = &MarketplacePendingChange{} - m.GetID() - m = nil - m.GetID() -} - -func TestMarketplacePendingChange_GetPlan(tt *testing.T) { - tt.Parallel() - m := &MarketplacePendingChange{} - m.GetPlan() - m = nil - m.GetPlan() -} - -func TestMarketplacePendingChange_GetUnitCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - m := &MarketplacePendingChange{UnitCount: &zeroValue} - m.GetUnitCount() - m = &MarketplacePendingChange{} - m.GetUnitCount() - m = nil - m.GetUnitCount() -} - -func TestMarketplacePlan_GetAccountsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MarketplacePlan{AccountsURL: &zeroValue} - m.GetAccountsURL() - m = &MarketplacePlan{} - m.GetAccountsURL() - m = nil - m.GetAccountsURL() -} - -func TestMarketplacePlan_GetBullets(tt *testing.T) { - tt.Parallel() - var zeroValue []string - m := &MarketplacePlan{Bullets: &zeroValue} - m.GetBullets() - m = &MarketplacePlan{} - m.GetBullets() - m = nil - m.GetBullets() -} - -func TestMarketplacePlan_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MarketplacePlan{Description: &zeroValue} - m.GetDescription() - m = &MarketplacePlan{} - m.GetDescription() - m = nil - m.GetDescription() -} - -func TestMarketplacePlan_GetHasFreeTrial(tt *testing.T) { - tt.Parallel() - var zeroValue bool - m := &MarketplacePlan{HasFreeTrial: &zeroValue} - m.GetHasFreeTrial() - m = &MarketplacePlan{} - m.GetHasFreeTrial() - m = nil - m.GetHasFreeTrial() -} - -func TestMarketplacePlan_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - m := &MarketplacePlan{ID: &zeroValue} - m.GetID() - m = &MarketplacePlan{} - m.GetID() - m = nil - m.GetID() -} - -func TestMarketplacePlan_GetMonthlyPriceInCents(tt *testing.T) { - tt.Parallel() - var zeroValue int - m := &MarketplacePlan{MonthlyPriceInCents: &zeroValue} - m.GetMonthlyPriceInCents() - m = &MarketplacePlan{} - m.GetMonthlyPriceInCents() - m = nil - m.GetMonthlyPriceInCents() -} - -func TestMarketplacePlan_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MarketplacePlan{Name: &zeroValue} - m.GetName() - m = &MarketplacePlan{} - m.GetName() - m = nil - m.GetName() -} - -func TestMarketplacePlan_GetNumber(tt *testing.T) { - tt.Parallel() - var zeroValue int - m := &MarketplacePlan{Number: &zeroValue} - m.GetNumber() - m = &MarketplacePlan{} - m.GetNumber() - m = nil - m.GetNumber() -} - -func TestMarketplacePlan_GetPriceModel(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MarketplacePlan{PriceModel: &zeroValue} - m.GetPriceModel() - m = &MarketplacePlan{} - m.GetPriceModel() - m = nil - m.GetPriceModel() -} - -func TestMarketplacePlan_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MarketplacePlan{State: &zeroValue} - m.GetState() - m = &MarketplacePlan{} - m.GetState() - m = nil - m.GetState() -} - -func TestMarketplacePlan_GetUnitName(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MarketplacePlan{UnitName: &zeroValue} - m.GetUnitName() - m = &MarketplacePlan{} - m.GetUnitName() - m = nil - m.GetUnitName() -} - -func TestMarketplacePlan_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MarketplacePlan{URL: &zeroValue} - m.GetURL() - m = &MarketplacePlan{} - m.GetURL() - m = nil - m.GetURL() -} - -func TestMarketplacePlan_GetYearlyPriceInCents(tt *testing.T) { - tt.Parallel() - var zeroValue int - m := &MarketplacePlan{YearlyPriceInCents: &zeroValue} - m.GetYearlyPriceInCents() - m = &MarketplacePlan{} - m.GetYearlyPriceInCents() - m = nil - m.GetYearlyPriceInCents() -} - -func TestMarketplacePlanAccount_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - m := &MarketplacePlanAccount{ID: &zeroValue} - m.GetID() - m = &MarketplacePlanAccount{} - m.GetID() - m = nil - m.GetID() -} - -func TestMarketplacePlanAccount_GetLogin(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MarketplacePlanAccount{Login: &zeroValue} - m.GetLogin() - m = &MarketplacePlanAccount{} - m.GetLogin() - m = nil - m.GetLogin() -} - -func TestMarketplacePlanAccount_GetMarketplacePendingChange(tt *testing.T) { - tt.Parallel() - m := &MarketplacePlanAccount{} - m.GetMarketplacePendingChange() - m = nil - m.GetMarketplacePendingChange() -} - -func TestMarketplacePlanAccount_GetMarketplacePurchase(tt *testing.T) { - tt.Parallel() - m := &MarketplacePlanAccount{} - m.GetMarketplacePurchase() - m = nil - m.GetMarketplacePurchase() -} - -func TestMarketplacePlanAccount_GetOrganizationBillingEmail(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MarketplacePlanAccount{OrganizationBillingEmail: &zeroValue} - m.GetOrganizationBillingEmail() - m = &MarketplacePlanAccount{} - m.GetOrganizationBillingEmail() - m = nil - m.GetOrganizationBillingEmail() -} - -func TestMarketplacePlanAccount_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MarketplacePlanAccount{Type: &zeroValue} - m.GetType() - m = &MarketplacePlanAccount{} - m.GetType() - m = nil - m.GetType() -} - -func TestMarketplacePlanAccount_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MarketplacePlanAccount{URL: &zeroValue} - m.GetURL() - m = &MarketplacePlanAccount{} - m.GetURL() - m = nil - m.GetURL() -} - -func TestMarketplacePurchase_GetAccount(tt *testing.T) { - tt.Parallel() - m := &MarketplacePurchase{} - m.GetAccount() - m = nil - m.GetAccount() -} - -func TestMarketplacePurchase_GetBillingCycle(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MarketplacePurchase{BillingCycle: &zeroValue} - m.GetBillingCycle() - m = &MarketplacePurchase{} - m.GetBillingCycle() - m = nil - m.GetBillingCycle() -} - -func TestMarketplacePurchase_GetFreeTrialEndsOn(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - m := &MarketplacePurchase{FreeTrialEndsOn: &zeroValue} - m.GetFreeTrialEndsOn() - m = &MarketplacePurchase{} - m.GetFreeTrialEndsOn() - m = nil - m.GetFreeTrialEndsOn() -} - -func TestMarketplacePurchase_GetNextBillingDate(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - m := &MarketplacePurchase{NextBillingDate: &zeroValue} - m.GetNextBillingDate() - m = &MarketplacePurchase{} - m.GetNextBillingDate() - m = nil - m.GetNextBillingDate() -} - -func TestMarketplacePurchase_GetOnFreeTrial(tt *testing.T) { - tt.Parallel() - var zeroValue bool - m := &MarketplacePurchase{OnFreeTrial: &zeroValue} - m.GetOnFreeTrial() - m = &MarketplacePurchase{} - m.GetOnFreeTrial() - m = nil - m.GetOnFreeTrial() -} - -func TestMarketplacePurchase_GetPlan(tt *testing.T) { - tt.Parallel() - m := &MarketplacePurchase{} - m.GetPlan() - m = nil - m.GetPlan() -} - -func TestMarketplacePurchase_GetUnitCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - m := &MarketplacePurchase{UnitCount: &zeroValue} - m.GetUnitCount() - m = &MarketplacePurchase{} - m.GetUnitCount() - m = nil - m.GetUnitCount() -} - -func TestMarketplacePurchase_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - m := &MarketplacePurchase{UpdatedAt: &zeroValue} - m.GetUpdatedAt() - m = &MarketplacePurchase{} - m.GetUpdatedAt() - m = nil - m.GetUpdatedAt() -} - -func TestMarketplacePurchaseAccount_GetEmail(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MarketplacePurchaseAccount{Email: &zeroValue} - m.GetEmail() - m = &MarketplacePurchaseAccount{} - m.GetEmail() - m = nil - m.GetEmail() -} - -func TestMarketplacePurchaseAccount_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - m := &MarketplacePurchaseAccount{ID: &zeroValue} - m.GetID() - m = &MarketplacePurchaseAccount{} - m.GetID() - m = nil - m.GetID() -} - -func TestMarketplacePurchaseAccount_GetLogin(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MarketplacePurchaseAccount{Login: &zeroValue} - m.GetLogin() - m = &MarketplacePurchaseAccount{} - m.GetLogin() - m = nil - m.GetLogin() -} - -func TestMarketplacePurchaseAccount_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MarketplacePurchaseAccount{NodeID: &zeroValue} - m.GetNodeID() - m = &MarketplacePurchaseAccount{} - m.GetNodeID() - m = nil - m.GetNodeID() -} - -func TestMarketplacePurchaseAccount_GetOrganizationBillingEmail(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MarketplacePurchaseAccount{OrganizationBillingEmail: &zeroValue} - m.GetOrganizationBillingEmail() - m = &MarketplacePurchaseAccount{} - m.GetOrganizationBillingEmail() - m = nil - m.GetOrganizationBillingEmail() -} - -func TestMarketplacePurchaseAccount_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MarketplacePurchaseAccount{Type: &zeroValue} - m.GetType() - m = &MarketplacePurchaseAccount{} - m.GetType() - m = nil - m.GetType() -} - -func TestMarketplacePurchaseAccount_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MarketplacePurchaseAccount{URL: &zeroValue} - m.GetURL() - m = &MarketplacePurchaseAccount{} - m.GetURL() - m = nil - m.GetURL() -} - -func TestMarketplacePurchaseEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MarketplacePurchaseEvent{Action: &zeroValue} - m.GetAction() - m = &MarketplacePurchaseEvent{} - m.GetAction() - m = nil - m.GetAction() -} - -func TestMarketplacePurchaseEvent_GetEffectiveDate(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - m := &MarketplacePurchaseEvent{EffectiveDate: &zeroValue} - m.GetEffectiveDate() - m = &MarketplacePurchaseEvent{} - m.GetEffectiveDate() - m = nil - m.GetEffectiveDate() -} - -func TestMarketplacePurchaseEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - m := &MarketplacePurchaseEvent{} - m.GetInstallation() - m = nil - m.GetInstallation() -} - -func TestMarketplacePurchaseEvent_GetMarketplacePurchase(tt *testing.T) { - tt.Parallel() - m := &MarketplacePurchaseEvent{} - m.GetMarketplacePurchase() - m = nil - m.GetMarketplacePurchase() -} - -func TestMarketplacePurchaseEvent_GetOrg(tt *testing.T) { - tt.Parallel() - m := &MarketplacePurchaseEvent{} - m.GetOrg() - m = nil - m.GetOrg() -} - -func TestMarketplacePurchaseEvent_GetPreviousMarketplacePurchase(tt *testing.T) { - tt.Parallel() - m := &MarketplacePurchaseEvent{} - m.GetPreviousMarketplacePurchase() - m = nil - m.GetPreviousMarketplacePurchase() -} - -func TestMarketplacePurchaseEvent_GetSender(tt *testing.T) { - tt.Parallel() - m := &MarketplacePurchaseEvent{} - m.GetSender() - m = nil - 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 - m := &Match{Text: &zeroValue} - m.GetText() - m = &Match{} - m.GetText() - m = nil - 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{} - m.GetPermission() - m = nil - m.GetPermission() -} - -func TestMemberChanges_GetRoleName(tt *testing.T) { - tt.Parallel() - m := &MemberChanges{} - m.GetRoleName() - m = nil - m.GetRoleName() -} - -func TestMemberChangesPermission_GetFrom(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MemberChangesPermission{From: &zeroValue} - m.GetFrom() - m = &MemberChangesPermission{} - m.GetFrom() - m = nil - m.GetFrom() -} - -func TestMemberChangesPermission_GetTo(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MemberChangesPermission{To: &zeroValue} - m.GetTo() - m = &MemberChangesPermission{} - m.GetTo() - m = nil - m.GetTo() -} - -func TestMemberChangesRoleName_GetFrom(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MemberChangesRoleName{From: &zeroValue} - m.GetFrom() - m = &MemberChangesRoleName{} - m.GetFrom() - m = nil - m.GetFrom() -} - -func TestMemberChangesRoleName_GetTo(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MemberChangesRoleName{To: &zeroValue} - m.GetTo() - m = &MemberChangesRoleName{} - m.GetTo() - m = nil - m.GetTo() -} - -func TestMemberEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MemberEvent{Action: &zeroValue} - m.GetAction() - m = &MemberEvent{} - m.GetAction() - m = nil - m.GetAction() -} - -func TestMemberEvent_GetChanges(tt *testing.T) { - tt.Parallel() - m := &MemberEvent{} - m.GetChanges() - m = nil - m.GetChanges() -} - -func TestMemberEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - m := &MemberEvent{} - m.GetInstallation() - m = nil - m.GetInstallation() -} - -func TestMemberEvent_GetMember(tt *testing.T) { - tt.Parallel() - m := &MemberEvent{} - m.GetMember() - m = nil - m.GetMember() -} - -func TestMemberEvent_GetOrg(tt *testing.T) { - tt.Parallel() - m := &MemberEvent{} - m.GetOrg() - m = nil - m.GetOrg() -} - -func TestMemberEvent_GetRepo(tt *testing.T) { - tt.Parallel() - m := &MemberEvent{} - m.GetRepo() - m = nil - m.GetRepo() -} - -func TestMemberEvent_GetSender(tt *testing.T) { - tt.Parallel() - m := &MemberEvent{} - m.GetSender() - m = nil - m.GetSender() -} - -func TestMembership_GetOrganization(tt *testing.T) { - tt.Parallel() - m := &Membership{} - m.GetOrganization() - m = nil - m.GetOrganization() -} - -func TestMembership_GetOrganizationURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &Membership{OrganizationURL: &zeroValue} - m.GetOrganizationURL() - m = &Membership{} - m.GetOrganizationURL() - m = nil - m.GetOrganizationURL() -} - -func TestMembership_GetRole(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &Membership{Role: &zeroValue} - m.GetRole() - m = &Membership{} - m.GetRole() - m = nil - m.GetRole() -} - -func TestMembership_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &Membership{State: &zeroValue} - m.GetState() - m = &Membership{} - m.GetState() - m = nil - m.GetState() -} - -func TestMembership_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &Membership{URL: &zeroValue} - m.GetURL() - m = &Membership{} - m.GetURL() - m = nil - m.GetURL() -} - -func TestMembership_GetUser(tt *testing.T) { - tt.Parallel() - m := &Membership{} - m.GetUser() - m = nil - m.GetUser() -} - -func TestMembershipEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MembershipEvent{Action: &zeroValue} - m.GetAction() - m = &MembershipEvent{} - m.GetAction() - m = nil - m.GetAction() -} - -func TestMembershipEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - m := &MembershipEvent{} - m.GetInstallation() - m = nil - m.GetInstallation() -} - -func TestMembershipEvent_GetMember(tt *testing.T) { - tt.Parallel() - m := &MembershipEvent{} - m.GetMember() - m = nil - m.GetMember() -} - -func TestMembershipEvent_GetOrg(tt *testing.T) { - tt.Parallel() - m := &MembershipEvent{} - m.GetOrg() - m = nil - m.GetOrg() -} - -func TestMembershipEvent_GetScope(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MembershipEvent{Scope: &zeroValue} - m.GetScope() - m = &MembershipEvent{} - m.GetScope() - m = nil - m.GetScope() -} - -func TestMembershipEvent_GetSender(tt *testing.T) { - tt.Parallel() - m := &MembershipEvent{} - m.GetSender() - m = nil - m.GetSender() -} - -func TestMembershipEvent_GetTeam(tt *testing.T) { - tt.Parallel() - m := &MembershipEvent{} - m.GetTeam() - m = nil - m.GetTeam() -} - -func TestMergeGroup_GetBaseRef(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MergeGroup{BaseRef: &zeroValue} - m.GetBaseRef() - m = &MergeGroup{} - m.GetBaseRef() - m = nil - m.GetBaseRef() -} - -func TestMergeGroup_GetBaseSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MergeGroup{BaseSHA: &zeroValue} - m.GetBaseSHA() - m = &MergeGroup{} - m.GetBaseSHA() - m = nil - m.GetBaseSHA() -} - -func TestMergeGroup_GetHeadCommit(tt *testing.T) { - tt.Parallel() - m := &MergeGroup{} - m.GetHeadCommit() - m = nil - m.GetHeadCommit() -} - -func TestMergeGroup_GetHeadRef(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MergeGroup{HeadRef: &zeroValue} - m.GetHeadRef() - m = &MergeGroup{} - m.GetHeadRef() - m = nil - m.GetHeadRef() -} - -func TestMergeGroup_GetHeadSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MergeGroup{HeadSHA: &zeroValue} - m.GetHeadSHA() - m = &MergeGroup{} - m.GetHeadSHA() - m = nil - m.GetHeadSHA() -} - -func TestMergeGroupEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MergeGroupEvent{Action: &zeroValue} - m.GetAction() - m = &MergeGroupEvent{} - m.GetAction() - m = nil - m.GetAction() -} - -func TestMergeGroupEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - m := &MergeGroupEvent{} - m.GetInstallation() - m = nil - m.GetInstallation() -} - -func TestMergeGroupEvent_GetMergeGroup(tt *testing.T) { - tt.Parallel() - m := &MergeGroupEvent{} - m.GetMergeGroup() - m = nil - m.GetMergeGroup() -} - -func TestMergeGroupEvent_GetOrg(tt *testing.T) { - tt.Parallel() - m := &MergeGroupEvent{} - m.GetOrg() - m = nil - m.GetOrg() -} - -func TestMergeGroupEvent_GetReason(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MergeGroupEvent{Reason: &zeroValue} - m.GetReason() - m = &MergeGroupEvent{} - m.GetReason() - m = nil - m.GetReason() -} - -func TestMergeGroupEvent_GetRepo(tt *testing.T) { - tt.Parallel() - m := &MergeGroupEvent{} - m.GetRepo() - m = nil - m.GetRepo() -} - -func TestMergeGroupEvent_GetSender(tt *testing.T) { - tt.Parallel() - m := &MergeGroupEvent{} - m.GetSender() - m = nil - 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 - m := &Message{Text: &zeroValue} - m.GetText() - m = &Message{} - m.GetText() - m = nil - m.GetText() -} - -func TestMetaEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MetaEvent{Action: &zeroValue} - m.GetAction() - m = &MetaEvent{} - m.GetAction() - m = nil - m.GetAction() -} - -func TestMetaEvent_GetHook(tt *testing.T) { - tt.Parallel() - m := &MetaEvent{} - m.GetHook() - m = nil - m.GetHook() -} - -func TestMetaEvent_GetHookID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - m := &MetaEvent{HookID: &zeroValue} - m.GetHookID() - m = &MetaEvent{} - m.GetHookID() - m = nil - m.GetHookID() -} - -func TestMetaEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - m := &MetaEvent{} - m.GetInstallation() - m = nil - m.GetInstallation() -} - -func TestMetaEvent_GetOrg(tt *testing.T) { - tt.Parallel() - m := &MetaEvent{} - m.GetOrg() - m = nil - m.GetOrg() -} - -func TestMetaEvent_GetRepo(tt *testing.T) { - tt.Parallel() - m := &MetaEvent{} - m.GetRepo() - m = nil - m.GetRepo() -} - -func TestMetaEvent_GetSender(tt *testing.T) { - tt.Parallel() - m := &MetaEvent{} - m.GetSender() - m = nil - m.GetSender() -} - -func TestMetric_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &Metric{HTMLURL: &zeroValue} - m.GetHTMLURL() - m = &Metric{} - m.GetHTMLURL() - m = nil - m.GetHTMLURL() -} - -func TestMetric_GetKey(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &Metric{Key: &zeroValue} - m.GetKey() - m = &Metric{} - m.GetKey() - m = nil - m.GetKey() -} - -func TestMetric_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &Metric{Name: &zeroValue} - m.GetName() - m = &Metric{} - m.GetName() - m = nil - m.GetName() -} - -func TestMetric_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &Metric{NodeID: &zeroValue} - m.GetNodeID() - m = &Metric{} - m.GetNodeID() - m = nil - m.GetNodeID() -} - -func TestMetric_GetSPDXID(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &Metric{SPDXID: &zeroValue} - m.GetSPDXID() - m = &Metric{} - m.GetSPDXID() - m = nil - m.GetSPDXID() -} - -func TestMetric_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &Metric{URL: &zeroValue} - m.GetURL() - m = &Metric{} - m.GetURL() - m = nil - m.GetURL() -} - -func TestMigration_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &Migration{CreatedAt: &zeroValue} - m.GetCreatedAt() - m = &Migration{} - m.GetCreatedAt() - m = nil - m.GetCreatedAt() -} - -func TestMigration_GetExcludeAttachments(tt *testing.T) { - tt.Parallel() - var zeroValue bool - m := &Migration{ExcludeAttachments: &zeroValue} - m.GetExcludeAttachments() - m = &Migration{} - m.GetExcludeAttachments() - m = nil - m.GetExcludeAttachments() -} - -func TestMigration_GetGUID(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &Migration{GUID: &zeroValue} - m.GetGUID() - m = &Migration{} - m.GetGUID() - m = nil - m.GetGUID() -} - -func TestMigration_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - m := &Migration{ID: &zeroValue} - m.GetID() - m = &Migration{} - m.GetID() - m = nil - m.GetID() -} - -func TestMigration_GetLockRepositories(tt *testing.T) { - tt.Parallel() - var zeroValue bool - m := &Migration{LockRepositories: &zeroValue} - m.GetLockRepositories() - m = &Migration{} - m.GetLockRepositories() - m = nil - 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 - m := &Migration{State: &zeroValue} - m.GetState() - m = &Migration{} - m.GetState() - m = nil - m.GetState() -} - -func TestMigration_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &Migration{UpdatedAt: &zeroValue} - m.GetUpdatedAt() - m = &Migration{} - m.GetUpdatedAt() - m = nil - m.GetUpdatedAt() -} - -func TestMigration_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &Migration{URL: &zeroValue} - m.GetURL() - m = &Migration{} - m.GetURL() - m = nil - 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 - m := &Milestone{ClosedAt: &zeroValue} - m.GetClosedAt() - m = &Milestone{} - m.GetClosedAt() - m = nil - m.GetClosedAt() -} - -func TestMilestone_GetClosedIssues(tt *testing.T) { - tt.Parallel() - var zeroValue int - m := &Milestone{ClosedIssues: &zeroValue} - m.GetClosedIssues() - m = &Milestone{} - m.GetClosedIssues() - m = nil - m.GetClosedIssues() -} - -func TestMilestone_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - m := &Milestone{CreatedAt: &zeroValue} - m.GetCreatedAt() - m = &Milestone{} - m.GetCreatedAt() - m = nil - m.GetCreatedAt() -} - -func TestMilestone_GetCreator(tt *testing.T) { - tt.Parallel() - m := &Milestone{} - m.GetCreator() - m = nil - m.GetCreator() -} - -func TestMilestone_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &Milestone{Description: &zeroValue} - m.GetDescription() - m = &Milestone{} - m.GetDescription() - m = nil - m.GetDescription() -} - -func TestMilestone_GetDueOn(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - m := &Milestone{DueOn: &zeroValue} - m.GetDueOn() - m = &Milestone{} - m.GetDueOn() - m = nil - m.GetDueOn() -} - -func TestMilestone_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &Milestone{HTMLURL: &zeroValue} - m.GetHTMLURL() - m = &Milestone{} - m.GetHTMLURL() - m = nil - m.GetHTMLURL() -} - -func TestMilestone_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - m := &Milestone{ID: &zeroValue} - m.GetID() - m = &Milestone{} - m.GetID() - m = nil - m.GetID() -} - -func TestMilestone_GetLabelsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &Milestone{LabelsURL: &zeroValue} - m.GetLabelsURL() - m = &Milestone{} - m.GetLabelsURL() - m = nil - m.GetLabelsURL() -} - -func TestMilestone_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &Milestone{NodeID: &zeroValue} - m.GetNodeID() - m = &Milestone{} - m.GetNodeID() - m = nil - m.GetNodeID() -} - -func TestMilestone_GetNumber(tt *testing.T) { - tt.Parallel() - var zeroValue int - m := &Milestone{Number: &zeroValue} - m.GetNumber() - m = &Milestone{} - m.GetNumber() - m = nil - m.GetNumber() -} - -func TestMilestone_GetOpenIssues(tt *testing.T) { - tt.Parallel() - var zeroValue int - m := &Milestone{OpenIssues: &zeroValue} - m.GetOpenIssues() - m = &Milestone{} - m.GetOpenIssues() - m = nil - m.GetOpenIssues() -} - -func TestMilestone_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &Milestone{State: &zeroValue} - m.GetState() - m = &Milestone{} - m.GetState() - m = nil - m.GetState() -} - -func TestMilestone_GetTitle(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &Milestone{Title: &zeroValue} - m.GetTitle() - m = &Milestone{} - m.GetTitle() - m = nil - m.GetTitle() -} - -func TestMilestone_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - m := &Milestone{UpdatedAt: &zeroValue} - m.GetUpdatedAt() - m = &Milestone{} - m.GetUpdatedAt() - m = nil - m.GetUpdatedAt() -} - -func TestMilestone_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &Milestone{URL: &zeroValue} - m.GetURL() - m = &Milestone{} - m.GetURL() - m = nil - m.GetURL() -} - -func TestMilestoneEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MilestoneEvent{Action: &zeroValue} - m.GetAction() - m = &MilestoneEvent{} - m.GetAction() - m = nil - m.GetAction() -} - -func TestMilestoneEvent_GetChanges(tt *testing.T) { - tt.Parallel() - m := &MilestoneEvent{} - m.GetChanges() - m = nil - m.GetChanges() -} - -func TestMilestoneEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - m := &MilestoneEvent{} - m.GetInstallation() - m = nil - m.GetInstallation() -} - -func TestMilestoneEvent_GetMilestone(tt *testing.T) { - tt.Parallel() - m := &MilestoneEvent{} - m.GetMilestone() - m = nil - m.GetMilestone() -} - -func TestMilestoneEvent_GetOrg(tt *testing.T) { - tt.Parallel() - m := &MilestoneEvent{} - m.GetOrg() - m = nil - m.GetOrg() -} - -func TestMilestoneEvent_GetRepo(tt *testing.T) { - tt.Parallel() - m := &MilestoneEvent{} - m.GetRepo() - m = nil - m.GetRepo() -} - -func TestMilestoneEvent_GetSender(tt *testing.T) { - tt.Parallel() - m := &MilestoneEvent{} - m.GetSender() - m = nil - 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 - m := &MilestoneStats{ClosedMilestones: &zeroValue} - m.GetClosedMilestones() - m = &MilestoneStats{} - m.GetClosedMilestones() - m = nil - m.GetClosedMilestones() -} - -func TestMilestoneStats_GetOpenMilestones(tt *testing.T) { - tt.Parallel() - var zeroValue int - m := &MilestoneStats{OpenMilestones: &zeroValue} - m.GetOpenMilestones() - m = &MilestoneStats{} - m.GetOpenMilestones() - m = nil - m.GetOpenMilestones() -} - -func TestMilestoneStats_GetTotalMilestones(tt *testing.T) { - tt.Parallel() - var zeroValue int - m := &MilestoneStats{TotalMilestones: &zeroValue} - m.GetTotalMilestones() - m = &MilestoneStats{} - m.GetTotalMilestones() - m = nil - m.GetTotalMilestones() -} - -func TestMinimizedIssueComment_GetReason(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MinimizedIssueComment{Reason: &zeroValue} - m.GetReason() - m = &MinimizedIssueComment{} - m.GetReason() - m = nil - m.GetReason() -} - -func TestMostRecentInstance_GetAnalysisKey(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MostRecentInstance{AnalysisKey: &zeroValue} - m.GetAnalysisKey() - m = &MostRecentInstance{} - m.GetAnalysisKey() - m = nil - m.GetAnalysisKey() -} - -func TestMostRecentInstance_GetCategory(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MostRecentInstance{Category: &zeroValue} - m.GetCategory() - m = &MostRecentInstance{} - m.GetCategory() - m = nil - 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 - m := &MostRecentInstance{CommitSHA: &zeroValue} - m.GetCommitSHA() - m = &MostRecentInstance{} - m.GetCommitSHA() - m = nil - m.GetCommitSHA() -} - -func TestMostRecentInstance_GetEnvironment(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MostRecentInstance{Environment: &zeroValue} - m.GetEnvironment() - m = &MostRecentInstance{} - m.GetEnvironment() - m = nil - m.GetEnvironment() -} - -func TestMostRecentInstance_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MostRecentInstance{HTMLURL: &zeroValue} - m.GetHTMLURL() - m = &MostRecentInstance{} - m.GetHTMLURL() - m = nil - m.GetHTMLURL() -} - -func TestMostRecentInstance_GetLocation(tt *testing.T) { - tt.Parallel() - m := &MostRecentInstance{} - m.GetLocation() - m = nil - m.GetLocation() -} - -func TestMostRecentInstance_GetMessage(tt *testing.T) { - tt.Parallel() - m := &MostRecentInstance{} - m.GetMessage() - m = nil - m.GetMessage() -} - -func TestMostRecentInstance_GetRef(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MostRecentInstance{Ref: &zeroValue} - m.GetRef() - m = &MostRecentInstance{} - m.GetRef() - m = nil - m.GetRef() -} - -func TestMostRecentInstance_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - m := &MostRecentInstance{State: &zeroValue} - m.GetState() - m = &MostRecentInstance{} - m.GetState() - m = nil - m.GetState() -} - -func TestNetworkConfiguration_GetComputeService(tt *testing.T) { - tt.Parallel() - n := &NetworkConfiguration{} - n.GetComputeService() - n = nil - n.GetComputeService() -} - -func TestNetworkConfiguration_GetCreatedOn(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - n := &NetworkConfiguration{CreatedOn: &zeroValue} - n.GetCreatedOn() - n = &NetworkConfiguration{} - n.GetCreatedOn() - n = nil - n.GetCreatedOn() -} - -func TestNetworkConfiguration_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue string - n := &NetworkConfiguration{ID: &zeroValue} - n.GetID() - n = &NetworkConfiguration{} - n.GetID() - n = nil - n.GetID() -} - -func TestNetworkConfiguration_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - n := &NetworkConfiguration{Name: &zeroValue} - n.GetName() - n = &NetworkConfiguration{} - n.GetName() - n = nil - 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{} - n.GetComputeService() - n = nil - n.GetComputeService() -} - -func TestNetworkConfigurationRequest_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - n := &NetworkConfigurationRequest{Name: &zeroValue} - n.GetName() - n = &NetworkConfigurationRequest{} - n.GetName() - n = nil - 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 - n := &NetworkConfigurations{TotalCount: &zeroValue} - n.GetTotalCount() - n = &NetworkConfigurations{} - n.GetTotalCount() - n = nil - n.GetTotalCount() -} - -func TestNetworkSettingsResource_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue string - n := &NetworkSettingsResource{ID: &zeroValue} - n.GetID() - n = &NetworkSettingsResource{} - n.GetID() - n = nil - n.GetID() -} - -func TestNetworkSettingsResource_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - n := &NetworkSettingsResource{Name: &zeroValue} - n.GetName() - n = &NetworkSettingsResource{} - n.GetName() - n = nil - n.GetName() -} - -func TestNetworkSettingsResource_GetNetworkConfigurationID(tt *testing.T) { - tt.Parallel() - var zeroValue string - n := &NetworkSettingsResource{NetworkConfigurationID: &zeroValue} - n.GetNetworkConfigurationID() - n = &NetworkSettingsResource{} - n.GetNetworkConfigurationID() - n = nil - n.GetNetworkConfigurationID() -} - -func TestNetworkSettingsResource_GetRegion(tt *testing.T) { - tt.Parallel() - var zeroValue string - n := &NetworkSettingsResource{Region: &zeroValue} - n.GetRegion() - n = &NetworkSettingsResource{} - n.GetRegion() - n = nil - n.GetRegion() -} - -func TestNetworkSettingsResource_GetSubnetID(tt *testing.T) { - tt.Parallel() - var zeroValue string - n := &NetworkSettingsResource{SubnetID: &zeroValue} - n.GetSubnetID() - n = &NetworkSettingsResource{} - n.GetSubnetID() - n = nil - n.GetSubnetID() -} - -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 - n := &NodeDetails{Hostname: &zeroValue} - n.GetHostname() - n = &NodeDetails{} - n.GetHostname() - n = nil - n.GetHostname() -} - -func TestNodeDetails_GetUUID(tt *testing.T) { - tt.Parallel() - var zeroValue string - n := &NodeDetails{UUID: &zeroValue} - n.GetUUID() - n = &NodeDetails{} - n.GetUUID() - n = nil - 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 - n := &NodeMetadataStatus{Topology: &zeroValue} - n.GetTopology() - n = &NodeMetadataStatus{} - n.GetTopology() - n = nil - n.GetTopology() -} - -func TestNodeQueryOptions_GetClusterRoles(tt *testing.T) { - tt.Parallel() - var zeroValue string - n := &NodeQueryOptions{ClusterRoles: &zeroValue} - n.GetClusterRoles() - n = &NodeQueryOptions{} - n.GetClusterRoles() - n = nil - n.GetClusterRoles() -} - -func TestNodeQueryOptions_GetUUID(tt *testing.T) { - tt.Parallel() - var zeroValue string - n := &NodeQueryOptions{UUID: &zeroValue} - n.GetUUID() - n = &NodeQueryOptions{} - n.GetUUID() - n = nil - n.GetUUID() -} - -func TestNodeReleaseVersion_GetHostname(tt *testing.T) { - tt.Parallel() - var zeroValue string - n := &NodeReleaseVersion{Hostname: &zeroValue} - n.GetHostname() - n = &NodeReleaseVersion{} - n.GetHostname() - n = nil - n.GetHostname() -} - -func TestNodeReleaseVersion_GetVersion(tt *testing.T) { - tt.Parallel() - n := &NodeReleaseVersion{} - n.GetVersion() - n = nil - n.GetVersion() -} - -func TestNotification_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue string - n := &Notification{ID: &zeroValue} - n.GetID() - n = &Notification{} - n.GetID() - n = nil - n.GetID() -} - -func TestNotification_GetLastReadAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - n := &Notification{LastReadAt: &zeroValue} - n.GetLastReadAt() - n = &Notification{} - n.GetLastReadAt() - n = nil - n.GetLastReadAt() -} - -func TestNotification_GetReason(tt *testing.T) { - tt.Parallel() - var zeroValue string - n := &Notification{Reason: &zeroValue} - n.GetReason() - n = &Notification{} - n.GetReason() - n = nil - n.GetReason() -} - -func TestNotification_GetRepository(tt *testing.T) { - tt.Parallel() - n := &Notification{} - n.GetRepository() - n = nil - n.GetRepository() -} - -func TestNotification_GetSubject(tt *testing.T) { - tt.Parallel() - n := &Notification{} - n.GetSubject() - n = nil - n.GetSubject() -} - -func TestNotification_GetUnread(tt *testing.T) { - tt.Parallel() - var zeroValue bool - n := &Notification{Unread: &zeroValue} - n.GetUnread() - n = &Notification{} - n.GetUnread() - n = nil - n.GetUnread() -} - -func TestNotification_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - n := &Notification{UpdatedAt: &zeroValue} - n.GetUpdatedAt() - n = &Notification{} - n.GetUpdatedAt() - n = nil - n.GetUpdatedAt() -} - -func TestNotification_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - n := &Notification{URL: &zeroValue} - n.GetURL() - n = &Notification{} - n.GetURL() - n = nil - 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 - n := &NotificationSubject{LatestCommentURL: &zeroValue} - n.GetLatestCommentURL() - n = &NotificationSubject{} - n.GetLatestCommentURL() - n = nil - n.GetLatestCommentURL() -} - -func TestNotificationSubject_GetTitle(tt *testing.T) { - tt.Parallel() - var zeroValue string - n := &NotificationSubject{Title: &zeroValue} - n.GetTitle() - n = &NotificationSubject{} - n.GetTitle() - n = nil - n.GetTitle() -} - -func TestNotificationSubject_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - n := &NotificationSubject{Type: &zeroValue} - n.GetType() - n = &NotificationSubject{} - n.GetType() - n = nil - n.GetType() -} - -func TestNotificationSubject_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - n := &NotificationSubject{URL: &zeroValue} - n.GetURL() - n = &NotificationSubject{} - n.GetURL() - n = nil - n.GetURL() -} - -func TestOAuthAPP_GetClientID(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &OAuthAPP{ClientID: &zeroValue} - o.GetClientID() - o = &OAuthAPP{} - o.GetClientID() - o = nil - o.GetClientID() -} - -func TestOAuthAPP_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &OAuthAPP{Name: &zeroValue} - o.GetName() - o = &OAuthAPP{} - o.GetName() - o = nil - o.GetName() -} - -func TestOAuthAPP_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &OAuthAPP{URL: &zeroValue} - o.GetURL() - o = &OAuthAPP{} - o.GetURL() - o = nil - o.GetURL() -} - -func TestOIDCCustomPropertyClaim_GetCustomPropertyName(tt *testing.T) { - tt.Parallel() - o := &OIDCCustomPropertyClaim{} - o.GetCustomPropertyName() - o = nil - o.GetCustomPropertyName() -} - -func TestOIDCCustomPropertyClaimResponse_GetInclusionSource(tt *testing.T) { - tt.Parallel() - o := &OIDCCustomPropertyClaimResponse{} - o.GetInclusionSource() - o = nil - o.GetInclusionSource() -} - -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_GetSubClaimPrefix(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &OIDCSubjectClaimCustomTemplate{SubClaimPrefix: &zeroValue} - o.GetSubClaimPrefix() - o = &OIDCSubjectClaimCustomTemplate{} - o.GetSubClaimPrefix() - o = nil - o.GetSubClaimPrefix() -} - -func TestOIDCSubjectClaimCustomTemplate_GetUseDefault(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &OIDCSubjectClaimCustomTemplate{UseDefault: &zeroValue} - o.GetUseDefault() - o = &OIDCSubjectClaimCustomTemplate{} - o.GetUseDefault() - o = nil - o.GetUseDefault() -} - -func TestOIDCSubjectClaimCustomTemplate_GetUseImmutableSubject(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &OIDCSubjectClaimCustomTemplate{UseImmutableSubject: &zeroValue} - o.GetUseImmutableSubject() - o = &OIDCSubjectClaimCustomTemplate{} - o.GetUseImmutableSubject() - o = nil - o.GetUseImmutableSubject() -} - -func TestOrganization_GetAdvancedSecurityEnabledForNewRepos(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{AdvancedSecurityEnabledForNewRepos: &zeroValue} - o.GetAdvancedSecurityEnabledForNewRepos() - o = &Organization{} - o.GetAdvancedSecurityEnabledForNewRepos() - o = nil - o.GetAdvancedSecurityEnabledForNewRepos() -} - -func TestOrganization_GetArchivedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - o := &Organization{ArchivedAt: &zeroValue} - o.GetArchivedAt() - o = &Organization{} - o.GetArchivedAt() - o = nil - o.GetArchivedAt() -} - -func TestOrganization_GetAvatarURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &Organization{AvatarURL: &zeroValue} - o.GetAvatarURL() - o = &Organization{} - o.GetAvatarURL() - o = nil - o.GetAvatarURL() -} - -func TestOrganization_GetBillingEmail(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &Organization{BillingEmail: &zeroValue} - o.GetBillingEmail() - o = &Organization{} - o.GetBillingEmail() - o = nil - o.GetBillingEmail() -} - -func TestOrganization_GetBlog(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &Organization{Blog: &zeroValue} - o.GetBlog() - o = &Organization{} - o.GetBlog() - o = nil - o.GetBlog() -} - -func TestOrganization_GetCollaborators(tt *testing.T) { - tt.Parallel() - var zeroValue int - o := &Organization{Collaborators: &zeroValue} - o.GetCollaborators() - o = &Organization{} - o.GetCollaborators() - o = nil - o.GetCollaborators() -} - -func TestOrganization_GetCompany(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &Organization{Company: &zeroValue} - o.GetCompany() - o = &Organization{} - o.GetCompany() - o = nil - o.GetCompany() -} - -func TestOrganization_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - o := &Organization{CreatedAt: &zeroValue} - o.GetCreatedAt() - o = &Organization{} - o.GetCreatedAt() - o = nil - o.GetCreatedAt() -} - -func TestOrganization_GetDefaultRepoPermission(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &Organization{DefaultRepoPermission: &zeroValue} - o.GetDefaultRepoPermission() - o = &Organization{} - o.GetDefaultRepoPermission() - o = nil - o.GetDefaultRepoPermission() -} - -func TestOrganization_GetDefaultRepoSettings(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &Organization{DefaultRepoSettings: &zeroValue} - o.GetDefaultRepoSettings() - o = &Organization{} - o.GetDefaultRepoSettings() - o = nil - o.GetDefaultRepoSettings() -} - -func TestOrganization_GetDefaultRepositoryBranch(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &Organization{DefaultRepositoryBranch: &zeroValue} - o.GetDefaultRepositoryBranch() - o = &Organization{} - o.GetDefaultRepositoryBranch() - o = nil - o.GetDefaultRepositoryBranch() -} - -func TestOrganization_GetDependabotAlertsEnabledForNewRepos(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{DependabotAlertsEnabledForNewRepos: &zeroValue} - o.GetDependabotAlertsEnabledForNewRepos() - o = &Organization{} - o.GetDependabotAlertsEnabledForNewRepos() - o = nil - o.GetDependabotAlertsEnabledForNewRepos() -} - -func TestOrganization_GetDependabotSecurityUpdatesEnabledForNewRepos(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{DependabotSecurityUpdatesEnabledForNewRepos: &zeroValue} - o.GetDependabotSecurityUpdatesEnabledForNewRepos() - o = &Organization{} - o.GetDependabotSecurityUpdatesEnabledForNewRepos() - o = nil - o.GetDependabotSecurityUpdatesEnabledForNewRepos() -} - -func TestOrganization_GetDependencyGraphEnabledForNewRepos(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{DependencyGraphEnabledForNewRepos: &zeroValue} - o.GetDependencyGraphEnabledForNewRepos() - o = &Organization{} - o.GetDependencyGraphEnabledForNewRepos() - o = nil - o.GetDependencyGraphEnabledForNewRepos() -} - -func TestOrganization_GetDeployKeysEnabledForRepositories(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{DeployKeysEnabledForRepositories: &zeroValue} - o.GetDeployKeysEnabledForRepositories() - o = &Organization{} - o.GetDeployKeysEnabledForRepositories() - o = nil - o.GetDeployKeysEnabledForRepositories() -} - -func TestOrganization_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &Organization{Description: &zeroValue} - o.GetDescription() - o = &Organization{} - o.GetDescription() - o = nil - o.GetDescription() -} - -func TestOrganization_GetDiskUsage(tt *testing.T) { - tt.Parallel() - var zeroValue int - o := &Organization{DiskUsage: &zeroValue} - o.GetDiskUsage() - o = &Organization{} - o.GetDiskUsage() - o = nil - o.GetDiskUsage() -} - -func TestOrganization_GetDisplayCommenterFullNameSettingEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{DisplayCommenterFullNameSettingEnabled: &zeroValue} - o.GetDisplayCommenterFullNameSettingEnabled() - o = &Organization{} - o.GetDisplayCommenterFullNameSettingEnabled() - o = nil - o.GetDisplayCommenterFullNameSettingEnabled() -} - -func TestOrganization_GetEmail(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &Organization{Email: &zeroValue} - o.GetEmail() - o = &Organization{} - o.GetEmail() - o = nil - o.GetEmail() -} - -func TestOrganization_GetEventsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &Organization{EventsURL: &zeroValue} - o.GetEventsURL() - o = &Organization{} - o.GetEventsURL() - o = nil - o.GetEventsURL() -} - -func TestOrganization_GetFollowers(tt *testing.T) { - tt.Parallel() - var zeroValue int - o := &Organization{Followers: &zeroValue} - o.GetFollowers() - o = &Organization{} - o.GetFollowers() - o = nil - o.GetFollowers() -} - -func TestOrganization_GetFollowing(tt *testing.T) { - tt.Parallel() - var zeroValue int - o := &Organization{Following: &zeroValue} - o.GetFollowing() - o = &Organization{} - o.GetFollowing() - o = nil - o.GetFollowing() -} - -func TestOrganization_GetHasOrganizationProjects(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{HasOrganizationProjects: &zeroValue} - o.GetHasOrganizationProjects() - o = &Organization{} - o.GetHasOrganizationProjects() - o = nil - o.GetHasOrganizationProjects() -} - -func TestOrganization_GetHasRepositoryProjects(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{HasRepositoryProjects: &zeroValue} - o.GetHasRepositoryProjects() - o = &Organization{} - o.GetHasRepositoryProjects() - o = nil - o.GetHasRepositoryProjects() -} - -func TestOrganization_GetHooksURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &Organization{HooksURL: &zeroValue} - o.GetHooksURL() - o = &Organization{} - o.GetHooksURL() - o = nil - o.GetHooksURL() -} - -func TestOrganization_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &Organization{HTMLURL: &zeroValue} - o.GetHTMLURL() - o = &Organization{} - o.GetHTMLURL() - o = nil - o.GetHTMLURL() -} - -func TestOrganization_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - o := &Organization{ID: &zeroValue} - o.GetID() - o = &Organization{} - o.GetID() - o = nil - o.GetID() -} - -func TestOrganization_GetIssuesURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &Organization{IssuesURL: &zeroValue} - o.GetIssuesURL() - o = &Organization{} - o.GetIssuesURL() - o = nil - o.GetIssuesURL() -} - -func TestOrganization_GetIsVerified(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{IsVerified: &zeroValue} - o.GetIsVerified() - o = &Organization{} - o.GetIsVerified() - o = nil - o.GetIsVerified() -} - -func TestOrganization_GetLocation(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &Organization{Location: &zeroValue} - o.GetLocation() - o = &Organization{} - o.GetLocation() - o = nil - o.GetLocation() -} - -func TestOrganization_GetLogin(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &Organization{Login: &zeroValue} - o.GetLogin() - o = &Organization{} - o.GetLogin() - o = nil - o.GetLogin() -} - -func TestOrganization_GetMembersAllowedRepositoryCreationType(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &Organization{MembersAllowedRepositoryCreationType: &zeroValue} - o.GetMembersAllowedRepositoryCreationType() - o = &Organization{} - o.GetMembersAllowedRepositoryCreationType() - o = nil - o.GetMembersAllowedRepositoryCreationType() -} - -func TestOrganization_GetMembersCanChangeRepoVisibility(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{MembersCanChangeRepoVisibility: &zeroValue} - o.GetMembersCanChangeRepoVisibility() - o = &Organization{} - o.GetMembersCanChangeRepoVisibility() - o = nil - o.GetMembersCanChangeRepoVisibility() -} - -func TestOrganization_GetMembersCanCreateInternalRepos(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{MembersCanCreateInternalRepos: &zeroValue} - o.GetMembersCanCreateInternalRepos() - o = &Organization{} - o.GetMembersCanCreateInternalRepos() - o = nil - o.GetMembersCanCreateInternalRepos() -} - -func TestOrganization_GetMembersCanCreatePages(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{MembersCanCreatePages: &zeroValue} - o.GetMembersCanCreatePages() - o = &Organization{} - o.GetMembersCanCreatePages() - o = nil - o.GetMembersCanCreatePages() -} - -func TestOrganization_GetMembersCanCreatePrivatePages(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{MembersCanCreatePrivatePages: &zeroValue} - o.GetMembersCanCreatePrivatePages() - o = &Organization{} - o.GetMembersCanCreatePrivatePages() - o = nil - o.GetMembersCanCreatePrivatePages() -} - -func TestOrganization_GetMembersCanCreatePrivateRepos(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{MembersCanCreatePrivateRepos: &zeroValue} - o.GetMembersCanCreatePrivateRepos() - o = &Organization{} - o.GetMembersCanCreatePrivateRepos() - o = nil - o.GetMembersCanCreatePrivateRepos() -} - -func TestOrganization_GetMembersCanCreatePublicPages(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{MembersCanCreatePublicPages: &zeroValue} - o.GetMembersCanCreatePublicPages() - o = &Organization{} - o.GetMembersCanCreatePublicPages() - o = nil - o.GetMembersCanCreatePublicPages() -} - -func TestOrganization_GetMembersCanCreatePublicRepos(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{MembersCanCreatePublicRepos: &zeroValue} - o.GetMembersCanCreatePublicRepos() - o = &Organization{} - o.GetMembersCanCreatePublicRepos() - o = nil - o.GetMembersCanCreatePublicRepos() -} - -func TestOrganization_GetMembersCanCreateRepos(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{MembersCanCreateRepos: &zeroValue} - o.GetMembersCanCreateRepos() - o = &Organization{} - o.GetMembersCanCreateRepos() - o = nil - o.GetMembersCanCreateRepos() -} - -func TestOrganization_GetMembersCanCreateTeams(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{MembersCanCreateTeams: &zeroValue} - o.GetMembersCanCreateTeams() - o = &Organization{} - o.GetMembersCanCreateTeams() - o = nil - o.GetMembersCanCreateTeams() -} - -func TestOrganization_GetMembersCanDeleteIssues(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{MembersCanDeleteIssues: &zeroValue} - o.GetMembersCanDeleteIssues() - o = &Organization{} - o.GetMembersCanDeleteIssues() - o = nil - o.GetMembersCanDeleteIssues() -} - -func TestOrganization_GetMembersCanDeleteRepositories(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{MembersCanDeleteRepositories: &zeroValue} - o.GetMembersCanDeleteRepositories() - o = &Organization{} - o.GetMembersCanDeleteRepositories() - o = nil - o.GetMembersCanDeleteRepositories() -} - -func TestOrganization_GetMembersCanForkPrivateRepos(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{MembersCanForkPrivateRepos: &zeroValue} - o.GetMembersCanForkPrivateRepos() - o = &Organization{} - o.GetMembersCanForkPrivateRepos() - o = nil - o.GetMembersCanForkPrivateRepos() -} - -func TestOrganization_GetMembersCanInviteOutsideCollaborators(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{MembersCanInviteOutsideCollaborators: &zeroValue} - o.GetMembersCanInviteOutsideCollaborators() - o = &Organization{} - o.GetMembersCanInviteOutsideCollaborators() - o = nil - o.GetMembersCanInviteOutsideCollaborators() -} - -func TestOrganization_GetMembersCanViewDependencyInsights(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{MembersCanViewDependencyInsights: &zeroValue} - o.GetMembersCanViewDependencyInsights() - o = &Organization{} - o.GetMembersCanViewDependencyInsights() - o = nil - o.GetMembersCanViewDependencyInsights() -} - -func TestOrganization_GetMembersURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &Organization{MembersURL: &zeroValue} - o.GetMembersURL() - o = &Organization{} - o.GetMembersURL() - o = nil - o.GetMembersURL() -} - -func TestOrganization_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &Organization{Name: &zeroValue} - o.GetName() - o = &Organization{} - o.GetName() - o = nil - o.GetName() -} - -func TestOrganization_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &Organization{NodeID: &zeroValue} - o.GetNodeID() - o = &Organization{} - o.GetNodeID() - o = nil - o.GetNodeID() -} - -func TestOrganization_GetOwnedPrivateRepos(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - o := &Organization{OwnedPrivateRepos: &zeroValue} - o.GetOwnedPrivateRepos() - o = &Organization{} - o.GetOwnedPrivateRepos() - o = nil - o.GetOwnedPrivateRepos() -} - -func TestOrganization_GetPlan(tt *testing.T) { - tt.Parallel() - o := &Organization{} - o.GetPlan() - o = nil - o.GetPlan() -} - -func TestOrganization_GetPrivateGists(tt *testing.T) { - tt.Parallel() - var zeroValue int - o := &Organization{PrivateGists: &zeroValue} - o.GetPrivateGists() - o = &Organization{} - o.GetPrivateGists() - o = nil - o.GetPrivateGists() -} - -func TestOrganization_GetPublicGists(tt *testing.T) { - tt.Parallel() - var zeroValue int - o := &Organization{PublicGists: &zeroValue} - o.GetPublicGists() - o = &Organization{} - o.GetPublicGists() - o = nil - o.GetPublicGists() -} - -func TestOrganization_GetPublicMembersURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &Organization{PublicMembersURL: &zeroValue} - o.GetPublicMembersURL() - o = &Organization{} - o.GetPublicMembersURL() - o = nil - o.GetPublicMembersURL() -} - -func TestOrganization_GetPublicRepos(tt *testing.T) { - tt.Parallel() - var zeroValue int - o := &Organization{PublicRepos: &zeroValue} - o.GetPublicRepos() - o = &Organization{} - o.GetPublicRepos() - o = nil - o.GetPublicRepos() -} - -func TestOrganization_GetReadersCanCreateDiscussions(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{ReadersCanCreateDiscussions: &zeroValue} - o.GetReadersCanCreateDiscussions() - o = &Organization{} - o.GetReadersCanCreateDiscussions() - o = nil - o.GetReadersCanCreateDiscussions() -} - -func TestOrganization_GetReposURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &Organization{ReposURL: &zeroValue} - o.GetReposURL() - o = &Organization{} - o.GetReposURL() - o = nil - o.GetReposURL() -} - -func TestOrganization_GetSecretScanningEnabledForNewRepos(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{SecretScanningEnabledForNewRepos: &zeroValue} - o.GetSecretScanningEnabledForNewRepos() - o = &Organization{} - o.GetSecretScanningEnabledForNewRepos() - o = nil - o.GetSecretScanningEnabledForNewRepos() -} - -func TestOrganization_GetSecretScanningPushProtectionCustomLink(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &Organization{SecretScanningPushProtectionCustomLink: &zeroValue} - o.GetSecretScanningPushProtectionCustomLink() - o = &Organization{} - o.GetSecretScanningPushProtectionCustomLink() - o = nil - o.GetSecretScanningPushProtectionCustomLink() -} - -func TestOrganization_GetSecretScanningPushProtectionCustomLinkEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{SecretScanningPushProtectionCustomLinkEnabled: &zeroValue} - o.GetSecretScanningPushProtectionCustomLinkEnabled() - o = &Organization{} - o.GetSecretScanningPushProtectionCustomLinkEnabled() - o = nil - o.GetSecretScanningPushProtectionCustomLinkEnabled() -} - -func TestOrganization_GetSecretScanningPushProtectionEnabledForNewRepos(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{SecretScanningPushProtectionEnabledForNewRepos: &zeroValue} - o.GetSecretScanningPushProtectionEnabledForNewRepos() - o = &Organization{} - o.GetSecretScanningPushProtectionEnabledForNewRepos() - o = nil - o.GetSecretScanningPushProtectionEnabledForNewRepos() -} - -func TestOrganization_GetSecretScanningValidityChecksEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{SecretScanningValidityChecksEnabled: &zeroValue} - o.GetSecretScanningValidityChecksEnabled() - o = &Organization{} - o.GetSecretScanningValidityChecksEnabled() - o = nil - o.GetSecretScanningValidityChecksEnabled() -} - -func TestOrganization_GetTotalPrivateRepos(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - o := &Organization{TotalPrivateRepos: &zeroValue} - o.GetTotalPrivateRepos() - o = &Organization{} - o.GetTotalPrivateRepos() - o = nil - o.GetTotalPrivateRepos() -} - -func TestOrganization_GetTwitterUsername(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &Organization{TwitterUsername: &zeroValue} - o.GetTwitterUsername() - o = &Organization{} - o.GetTwitterUsername() - o = nil - o.GetTwitterUsername() -} - -func TestOrganization_GetTwoFactorRequirementEnabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{TwoFactorRequirementEnabled: &zeroValue} - o.GetTwoFactorRequirementEnabled() - o = &Organization{} - o.GetTwoFactorRequirementEnabled() - o = nil - o.GetTwoFactorRequirementEnabled() -} - -func TestOrganization_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &Organization{Type: &zeroValue} - o.GetType() - o = &Organization{} - o.GetType() - o = nil - o.GetType() -} - -func TestOrganization_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - o := &Organization{UpdatedAt: &zeroValue} - o.GetUpdatedAt() - o = &Organization{} - o.GetUpdatedAt() - o = nil - o.GetUpdatedAt() -} - -func TestOrganization_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &Organization{URL: &zeroValue} - o.GetURL() - o = &Organization{} - o.GetURL() - o = nil - o.GetURL() -} - -func TestOrganization_GetWebCommitSignoffRequired(tt *testing.T) { - tt.Parallel() - var zeroValue bool - o := &Organization{WebCommitSignoffRequired: &zeroValue} - o.GetWebCommitSignoffRequired() - o = &Organization{} - o.GetWebCommitSignoffRequired() - o = nil - 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 - o := &OrganizationCustomRepoRoles{TotalCount: &zeroValue} - o.GetTotalCount() - o = &OrganizationCustomRepoRoles{} - o.GetTotalCount() - o = nil - 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 - o := &OrganizationCustomRoles{TotalCount: &zeroValue} - o.GetTotalCount() - o = &OrganizationCustomRoles{} - o.GetTotalCount() - o = nil - o.GetTotalCount() -} - -func TestOrganizationEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - o := &OrganizationEvent{Action: &zeroValue} - o.GetAction() - o = &OrganizationEvent{} - o.GetAction() - o = nil - o.GetAction() -} - -func TestOrganizationEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - o := &OrganizationEvent{} - o.GetInstallation() - o = nil - o.GetInstallation() -} - -func TestOrganizationEvent_GetInvitation(tt *testing.T) { - tt.Parallel() - o := &OrganizationEvent{} - o.GetInvitation() - o = nil - o.GetInvitation() -} - -func TestOrganizationEvent_GetMembership(tt *testing.T) { - tt.Parallel() - o := &OrganizationEvent{} - o.GetMembership() - o = nil - o.GetMembership() -} - -func TestOrganizationEvent_GetOrganization(tt *testing.T) { - tt.Parallel() - o := &OrganizationEvent{} - o.GetOrganization() - o = nil - o.GetOrganization() -} - -func TestOrganizationEvent_GetSender(tt *testing.T) { - tt.Parallel() - o := &OrganizationEvent{} - o.GetSender() - o = nil - 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 - o := &OrganizationInstallations{TotalCount: &zeroValue} - o.GetTotalCount() - o = &OrganizationInstallations{} - o.GetTotalCount() - o = nil - 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 - o := &OrgBlockEvent{Action: &zeroValue} - o.GetAction() - o = &OrgBlockEvent{} - o.GetAction() - o = nil - o.GetAction() -} - -func TestOrgBlockEvent_GetBlockedUser(tt *testing.T) { - tt.Parallel() - o := &OrgBlockEvent{} - o.GetBlockedUser() - o = nil - o.GetBlockedUser() -} - -func TestOrgBlockEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - o := &OrgBlockEvent{} - o.GetInstallation() - o = nil - o.GetInstallation() -} - -func TestOrgBlockEvent_GetOrganization(tt *testing.T) { - tt.Parallel() - o := &OrgBlockEvent{} - o.GetOrganization() - o = nil - o.GetOrganization() -} - -func TestOrgBlockEvent_GetSender(tt *testing.T) { - tt.Parallel() - o := &OrgBlockEvent{} - o.GetSender() - o = nil - o.GetSender() -} - -func TestOrgStats_GetDisabledOrgs(tt *testing.T) { - tt.Parallel() - var zeroValue int - o := &OrgStats{DisabledOrgs: &zeroValue} - o.GetDisabledOrgs() - o = &OrgStats{} - o.GetDisabledOrgs() - o = nil - o.GetDisabledOrgs() -} - -func TestOrgStats_GetTotalOrgs(tt *testing.T) { - tt.Parallel() - var zeroValue int - o := &OrgStats{TotalOrgs: &zeroValue} - o.GetTotalOrgs() - o = &OrgStats{} - o.GetTotalOrgs() - o = nil - o.GetTotalOrgs() -} - -func TestOrgStats_GetTotalTeamMembers(tt *testing.T) { - tt.Parallel() - var zeroValue int - o := &OrgStats{TotalTeamMembers: &zeroValue} - o.GetTotalTeamMembers() - o = &OrgStats{} - o.GetTotalTeamMembers() - o = nil - o.GetTotalTeamMembers() -} - -func TestOrgStats_GetTotalTeams(tt *testing.T) { - tt.Parallel() - var zeroValue int - o := &OrgStats{TotalTeams: &zeroValue} - o.GetTotalTeams() - o = &OrgStats{} - o.GetTotalTeams() - o = nil - o.GetTotalTeams() -} - -func TestOwnerInfo_GetOrg(tt *testing.T) { - tt.Parallel() - o := &OwnerInfo{} - o.GetOrg() - o = nil - o.GetOrg() -} - -func TestOwnerInfo_GetUser(tt *testing.T) { - tt.Parallel() - o := &OwnerInfo{} - o.GetUser() - o = nil - o.GetUser() -} - -func TestPackage_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &Package{CreatedAt: &zeroValue} - p.GetCreatedAt() - p = &Package{} - p.GetCreatedAt() - p = nil - p.GetCreatedAt() -} - -func TestPackage_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &Package{Description: &zeroValue} - p.GetDescription() - p = &Package{} - p.GetDescription() - p = nil - p.GetDescription() -} - -func TestPackage_GetEcosystem(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &Package{Ecosystem: &zeroValue} - p.GetEcosystem() - p = &Package{} - p.GetEcosystem() - p = nil - p.GetEcosystem() -} - -func TestPackage_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &Package{HTMLURL: &zeroValue} - p.GetHTMLURL() - p = &Package{} - p.GetHTMLURL() - p = nil - p.GetHTMLURL() -} - -func TestPackage_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &Package{ID: &zeroValue} - p.GetID() - p = &Package{} - p.GetID() - p = nil - p.GetID() -} - -func TestPackage_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &Package{Name: &zeroValue} - p.GetName() - p = &Package{} - p.GetName() - p = nil - p.GetName() -} - -func TestPackage_GetNamespace(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &Package{Namespace: &zeroValue} - p.GetNamespace() - p = &Package{} - p.GetNamespace() - p = nil - p.GetNamespace() -} - -func TestPackage_GetOwner(tt *testing.T) { - tt.Parallel() - p := &Package{} - p.GetOwner() - p = nil - p.GetOwner() -} - -func TestPackage_GetPackageType(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &Package{PackageType: &zeroValue} - p.GetPackageType() - p = &Package{} - p.GetPackageType() - p = nil - p.GetPackageType() -} - -func TestPackage_GetPackageVersion(tt *testing.T) { - tt.Parallel() - p := &Package{} - p.GetPackageVersion() - p = nil - p.GetPackageVersion() -} - -func TestPackage_GetRegistry(tt *testing.T) { - tt.Parallel() - p := &Package{} - p.GetRegistry() - p = nil - p.GetRegistry() -} - -func TestPackage_GetRepository(tt *testing.T) { - tt.Parallel() - p := &Package{} - p.GetRepository() - p = nil - p.GetRepository() -} - -func TestPackage_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &Package{UpdatedAt: &zeroValue} - p.GetUpdatedAt() - p = &Package{} - p.GetUpdatedAt() - p = nil - p.GetUpdatedAt() -} - -func TestPackage_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &Package{URL: &zeroValue} - p.GetURL() - p = &Package{} - p.GetURL() - p = nil - p.GetURL() -} - -func TestPackage_GetVersionCount(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &Package{VersionCount: &zeroValue} - p.GetVersionCount() - p = &Package{} - p.GetVersionCount() - p = nil - p.GetVersionCount() -} - -func TestPackage_GetVisibility(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &Package{Visibility: &zeroValue} - p.GetVisibility() - p = &Package{} - p.GetVisibility() - p = nil - 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 - p := &PackageEvent{Action: &zeroValue} - p.GetAction() - p = &PackageEvent{} - p.GetAction() - p = nil - p.GetAction() -} - -func TestPackageEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - p := &PackageEvent{} - p.GetInstallation() - p = nil - p.GetInstallation() -} - -func TestPackageEvent_GetOrg(tt *testing.T) { - tt.Parallel() - p := &PackageEvent{} - p.GetOrg() - p = nil - p.GetOrg() -} - -func TestPackageEvent_GetPackage(tt *testing.T) { - tt.Parallel() - p := &PackageEvent{} - p.GetPackage() - p = nil - p.GetPackage() -} - -func TestPackageEvent_GetRepo(tt *testing.T) { - tt.Parallel() - p := &PackageEvent{} - p.GetRepo() - p = nil - p.GetRepo() -} - -func TestPackageEvent_GetSender(tt *testing.T) { - tt.Parallel() - p := &PackageEvent{} - p.GetSender() - p = nil - p.GetSender() -} - -func TestPackageEventContainerMetadata_GetLabels(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]any{} - p := &PackageEventContainerMetadata{Labels: zeroValue} - p.GetLabels() - p = &PackageEventContainerMetadata{} - p.GetLabels() - p = nil - p.GetLabels() -} - -func TestPackageEventContainerMetadata_GetManifest(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]any{} - p := &PackageEventContainerMetadata{Manifest: zeroValue} - p.GetManifest() - p = &PackageEventContainerMetadata{} - p.GetManifest() - p = nil - p.GetManifest() -} - -func TestPackageEventContainerMetadata_GetTag(tt *testing.T) { - tt.Parallel() - p := &PackageEventContainerMetadata{} - p.GetTag() - p = nil - p.GetTag() -} - -func TestPackageEventContainerMetadataTag_GetDigest(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageEventContainerMetadataTag{Digest: &zeroValue} - p.GetDigest() - p = &PackageEventContainerMetadataTag{} - p.GetDigest() - p = nil - p.GetDigest() -} - -func TestPackageEventContainerMetadataTag_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageEventContainerMetadataTag{Name: &zeroValue} - p.GetName() - p = &PackageEventContainerMetadataTag{} - p.GetName() - p = nil - 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{} - p.GetAuthor() - p = nil - p.GetAuthor() -} - -func TestPackageFile_GetContentType(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageFile{ContentType: &zeroValue} - p.GetContentType() - p = &PackageFile{} - p.GetContentType() - p = nil - p.GetContentType() -} - -func TestPackageFile_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PackageFile{CreatedAt: &zeroValue} - p.GetCreatedAt() - p = &PackageFile{} - p.GetCreatedAt() - p = nil - p.GetCreatedAt() -} - -func TestPackageFile_GetDownloadURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageFile{DownloadURL: &zeroValue} - p.GetDownloadURL() - p = &PackageFile{} - p.GetDownloadURL() - p = nil - p.GetDownloadURL() -} - -func TestPackageFile_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &PackageFile{ID: &zeroValue} - p.GetID() - p = &PackageFile{} - p.GetID() - p = nil - p.GetID() -} - -func TestPackageFile_GetMD5(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageFile{MD5: &zeroValue} - p.GetMD5() - p = &PackageFile{} - p.GetMD5() - p = nil - p.GetMD5() -} - -func TestPackageFile_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageFile{Name: &zeroValue} - p.GetName() - p = &PackageFile{} - p.GetName() - p = nil - p.GetName() -} - -func TestPackageFile_GetSHA1(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageFile{SHA1: &zeroValue} - p.GetSHA1() - p = &PackageFile{} - p.GetSHA1() - p = nil - p.GetSHA1() -} - -func TestPackageFile_GetSHA256(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageFile{SHA256: &zeroValue} - p.GetSHA256() - p = &PackageFile{} - p.GetSHA256() - p = nil - p.GetSHA256() -} - -func TestPackageFile_GetSize(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &PackageFile{Size: &zeroValue} - p.GetSize() - p = &PackageFile{} - p.GetSize() - p = nil - p.GetSize() -} - -func TestPackageFile_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageFile{State: &zeroValue} - p.GetState() - p = &PackageFile{} - p.GetState() - p = nil - p.GetState() -} - -func TestPackageFile_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PackageFile{UpdatedAt: &zeroValue} - p.GetUpdatedAt() - p = &PackageFile{} - p.GetUpdatedAt() - p = nil - p.GetUpdatedAt() -} - -func TestPackageListOptions_GetPackageType(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageListOptions{PackageType: &zeroValue} - p.GetPackageType() - p = &PackageListOptions{} - p.GetPackageType() - p = nil - p.GetPackageType() -} - -func TestPackageListOptions_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageListOptions{State: &zeroValue} - p.GetState() - p = &PackageListOptions{} - p.GetState() - p = nil - p.GetState() -} - -func TestPackageListOptions_GetVisibility(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageListOptions{Visibility: &zeroValue} - p.GetVisibility() - p = &PackageListOptions{} - p.GetVisibility() - p = nil - p.GetVisibility() -} - -func TestPackageMetadata_GetContainer(tt *testing.T) { - tt.Parallel() - p := &PackageMetadata{} - p.GetContainer() - p = nil - p.GetContainer() -} - -func TestPackageMetadata_GetPackageType(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageMetadata{PackageType: &zeroValue} - p.GetPackageType() - p = &PackageMetadata{} - p.GetPackageType() - p = nil - p.GetPackageType() -} - -func TestPackageNPMMetadata_GetAuthor(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]string{} - p := &PackageNPMMetadata{Author: zeroValue} - p.GetAuthor() - p = &PackageNPMMetadata{} - p.GetAuthor() - p = nil - p.GetAuthor() -} - -func TestPackageNPMMetadata_GetBin(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]any{} - p := &PackageNPMMetadata{Bin: zeroValue} - p.GetBin() - p = &PackageNPMMetadata{} - p.GetBin() - p = nil - p.GetBin() -} - -func TestPackageNPMMetadata_GetBugs(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]string{} - p := &PackageNPMMetadata{Bugs: zeroValue} - p.GetBugs() - p = &PackageNPMMetadata{} - p.GetBugs() - p = nil - p.GetBugs() -} - -func TestPackageNPMMetadata_GetCommitOID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageNPMMetadata{CommitOID: &zeroValue} - p.GetCommitOID() - p = &PackageNPMMetadata{} - p.GetCommitOID() - p = nil - 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 - p := &PackageNPMMetadata{DeletedByID: &zeroValue} - p.GetDeletedByID() - p = &PackageNPMMetadata{} - p.GetDeletedByID() - p = nil - p.GetDeletedByID() -} - -func TestPackageNPMMetadata_GetDependencies(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]string{} - p := &PackageNPMMetadata{Dependencies: zeroValue} - p.GetDependencies() - p = &PackageNPMMetadata{} - p.GetDependencies() - p = nil - p.GetDependencies() -} - -func TestPackageNPMMetadata_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageNPMMetadata{Description: &zeroValue} - p.GetDescription() - p = &PackageNPMMetadata{} - p.GetDescription() - p = nil - p.GetDescription() -} - -func TestPackageNPMMetadata_GetDevDependencies(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]string{} - p := &PackageNPMMetadata{DevDependencies: zeroValue} - p.GetDevDependencies() - p = &PackageNPMMetadata{} - p.GetDevDependencies() - p = nil - p.GetDevDependencies() -} - -func TestPackageNPMMetadata_GetDirectories(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]string{} - p := &PackageNPMMetadata{Directories: zeroValue} - p.GetDirectories() - p = &PackageNPMMetadata{} - p.GetDirectories() - p = nil - p.GetDirectories() -} - -func TestPackageNPMMetadata_GetDist(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]string{} - p := &PackageNPMMetadata{Dist: zeroValue} - p.GetDist() - p = &PackageNPMMetadata{} - p.GetDist() - p = nil - p.GetDist() -} - -func TestPackageNPMMetadata_GetEngines(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]string{} - p := &PackageNPMMetadata{Engines: zeroValue} - p.GetEngines() - p = &PackageNPMMetadata{} - p.GetEngines() - p = nil - 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 - p := &PackageNPMMetadata{GitHead: &zeroValue} - p.GetGitHead() - p = &PackageNPMMetadata{} - p.GetGitHead() - p = nil - p.GetGitHead() -} - -func TestPackageNPMMetadata_GetHasShrinkwrap(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PackageNPMMetadata{HasShrinkwrap: &zeroValue} - p.GetHasShrinkwrap() - p = &PackageNPMMetadata{} - p.GetHasShrinkwrap() - p = nil - p.GetHasShrinkwrap() -} - -func TestPackageNPMMetadata_GetHomepage(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageNPMMetadata{Homepage: &zeroValue} - p.GetHomepage() - p = &PackageNPMMetadata{} - p.GetHomepage() - p = nil - p.GetHomepage() -} - -func TestPackageNPMMetadata_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageNPMMetadata{ID: &zeroValue} - p.GetID() - p = &PackageNPMMetadata{} - p.GetID() - p = nil - p.GetID() -} - -func TestPackageNPMMetadata_GetInstallationCommand(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageNPMMetadata{InstallationCommand: &zeroValue} - p.GetInstallationCommand() - p = &PackageNPMMetadata{} - p.GetInstallationCommand() - p = nil - 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 - p := &PackageNPMMetadata{License: &zeroValue} - p.GetLicense() - p = &PackageNPMMetadata{} - p.GetLicense() - p = nil - p.GetLicense() -} - -func TestPackageNPMMetadata_GetMain(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageNPMMetadata{Main: &zeroValue} - p.GetMain() - p = &PackageNPMMetadata{} - p.GetMain() - p = nil - 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{} - p := &PackageNPMMetadata{Man: zeroValue} - p.GetMan() - p = &PackageNPMMetadata{} - p.GetMan() - p = nil - p.GetMan() -} - -func TestPackageNPMMetadata_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageNPMMetadata{Name: &zeroValue} - p.GetName() - p = &PackageNPMMetadata{} - p.GetName() - p = nil - p.GetName() -} - -func TestPackageNPMMetadata_GetNodeVersion(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageNPMMetadata{NodeVersion: &zeroValue} - p.GetNodeVersion() - p = &PackageNPMMetadata{} - p.GetNodeVersion() - p = nil - p.GetNodeVersion() -} - -func TestPackageNPMMetadata_GetNPMUser(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageNPMMetadata{NPMUser: &zeroValue} - p.GetNPMUser() - p = &PackageNPMMetadata{} - p.GetNPMUser() - p = nil - p.GetNPMUser() -} - -func TestPackageNPMMetadata_GetNPMVersion(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageNPMMetadata{NPMVersion: &zeroValue} - p.GetNPMVersion() - p = &PackageNPMMetadata{} - p.GetNPMVersion() - p = nil - p.GetNPMVersion() -} - -func TestPackageNPMMetadata_GetOptionalDependencies(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]string{} - p := &PackageNPMMetadata{OptionalDependencies: zeroValue} - p.GetOptionalDependencies() - p = &PackageNPMMetadata{} - p.GetOptionalDependencies() - p = nil - 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{} - p := &PackageNPMMetadata{PeerDependencies: zeroValue} - p.GetPeerDependencies() - p = &PackageNPMMetadata{} - p.GetPeerDependencies() - p = nil - p.GetPeerDependencies() -} - -func TestPackageNPMMetadata_GetPublishedViaActions(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PackageNPMMetadata{PublishedViaActions: &zeroValue} - p.GetPublishedViaActions() - p = &PackageNPMMetadata{} - p.GetPublishedViaActions() - p = nil - p.GetPublishedViaActions() -} - -func TestPackageNPMMetadata_GetReadme(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageNPMMetadata{Readme: &zeroValue} - p.GetReadme() - p = &PackageNPMMetadata{} - p.GetReadme() - p = nil - p.GetReadme() -} - -func TestPackageNPMMetadata_GetReleaseID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &PackageNPMMetadata{ReleaseID: &zeroValue} - p.GetReleaseID() - p = &PackageNPMMetadata{} - p.GetReleaseID() - p = nil - p.GetReleaseID() -} - -func TestPackageNPMMetadata_GetRepository(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]string{} - p := &PackageNPMMetadata{Repository: zeroValue} - p.GetRepository() - p = &PackageNPMMetadata{} - p.GetRepository() - p = nil - p.GetRepository() -} - -func TestPackageNPMMetadata_GetScripts(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]any{} - p := &PackageNPMMetadata{Scripts: zeroValue} - p.GetScripts() - p = &PackageNPMMetadata{} - p.GetScripts() - p = nil - p.GetScripts() -} - -func TestPackageNPMMetadata_GetVersion(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageNPMMetadata{Version: &zeroValue} - p.GetVersion() - p = &PackageNPMMetadata{} - p.GetVersion() - p = nil - 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 - p := &PackageNugetMetadata{Name: &zeroValue} - p.GetName() - p = &PackageNugetMetadata{} - p.GetName() - p = nil - 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 - p := &PackageRegistry{AboutURL: &zeroValue} - p.GetAboutURL() - p = &PackageRegistry{} - p.GetAboutURL() - p = nil - p.GetAboutURL() -} - -func TestPackageRegistry_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageRegistry{Name: &zeroValue} - p.GetName() - p = &PackageRegistry{} - p.GetName() - p = nil - p.GetName() -} - -func TestPackageRegistry_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageRegistry{Type: &zeroValue} - p.GetType() - p = &PackageRegistry{} - p.GetType() - p = nil - p.GetType() -} - -func TestPackageRegistry_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageRegistry{URL: &zeroValue} - p.GetURL() - p = &PackageRegistry{} - p.GetURL() - p = nil - p.GetURL() -} - -func TestPackageRegistry_GetVendor(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageRegistry{Vendor: &zeroValue} - p.GetVendor() - p = &PackageRegistry{} - p.GetVendor() - p = nil - p.GetVendor() -} - -func TestPackageRelease_GetAuthor(tt *testing.T) { - tt.Parallel() - p := &PackageRelease{} - p.GetAuthor() - p = nil - p.GetAuthor() -} - -func TestPackageRelease_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PackageRelease{CreatedAt: &zeroValue} - p.GetCreatedAt() - p = &PackageRelease{} - p.GetCreatedAt() - p = nil - p.GetCreatedAt() -} - -func TestPackageRelease_GetDraft(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PackageRelease{Draft: &zeroValue} - p.GetDraft() - p = &PackageRelease{} - p.GetDraft() - p = nil - p.GetDraft() -} - -func TestPackageRelease_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageRelease{HTMLURL: &zeroValue} - p.GetHTMLURL() - p = &PackageRelease{} - p.GetHTMLURL() - p = nil - p.GetHTMLURL() -} - -func TestPackageRelease_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &PackageRelease{ID: &zeroValue} - p.GetID() - p = &PackageRelease{} - p.GetID() - p = nil - p.GetID() -} - -func TestPackageRelease_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageRelease{Name: &zeroValue} - p.GetName() - p = &PackageRelease{} - p.GetName() - p = nil - p.GetName() -} - -func TestPackageRelease_GetPrerelease(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PackageRelease{Prerelease: &zeroValue} - p.GetPrerelease() - p = &PackageRelease{} - p.GetPrerelease() - p = nil - p.GetPrerelease() -} - -func TestPackageRelease_GetPublishedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PackageRelease{PublishedAt: &zeroValue} - p.GetPublishedAt() - p = &PackageRelease{} - p.GetPublishedAt() - p = nil - p.GetPublishedAt() -} - -func TestPackageRelease_GetTagName(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageRelease{TagName: &zeroValue} - p.GetTagName() - p = &PackageRelease{} - p.GetTagName() - p = nil - p.GetTagName() -} - -func TestPackageRelease_GetTargetCommitish(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageRelease{TargetCommitish: &zeroValue} - p.GetTargetCommitish() - p = &PackageRelease{} - p.GetTargetCommitish() - p = nil - p.GetTargetCommitish() -} - -func TestPackageRelease_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageRelease{URL: &zeroValue} - p.GetURL() - p = &PackageRelease{} - p.GetURL() - p = nil - 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{} - p.GetAuthor() - p = nil - p.GetAuthor() -} - -func TestPackageVersion_GetBodyHTML(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageVersion{BodyHTML: &zeroValue} - p.GetBodyHTML() - p = &PackageVersion{} - p.GetBodyHTML() - p = nil - p.GetBodyHTML() -} - -func TestPackageVersion_GetContainerMetadata(tt *testing.T) { - tt.Parallel() - p := &PackageVersion{} - p.GetContainerMetadata() - p = nil - p.GetContainerMetadata() -} - -func TestPackageVersion_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PackageVersion{CreatedAt: &zeroValue} - p.GetCreatedAt() - p = &PackageVersion{} - p.GetCreatedAt() - p = nil - p.GetCreatedAt() -} - -func TestPackageVersion_GetDeletedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PackageVersion{DeletedAt: &zeroValue} - p.GetDeletedAt() - p = &PackageVersion{} - p.GetDeletedAt() - p = nil - p.GetDeletedAt() -} - -func TestPackageVersion_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageVersion{Description: &zeroValue} - p.GetDescription() - p = &PackageVersion{} - p.GetDescription() - p = nil - 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 - p := &PackageVersion{Draft: &zeroValue} - p.GetDraft() - p = &PackageVersion{} - p.GetDraft() - p = nil - p.GetDraft() -} - -func TestPackageVersion_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageVersion{HTMLURL: &zeroValue} - p.GetHTMLURL() - p = &PackageVersion{} - p.GetHTMLURL() - p = nil - p.GetHTMLURL() -} - -func TestPackageVersion_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &PackageVersion{ID: &zeroValue} - p.GetID() - p = &PackageVersion{} - p.GetID() - p = nil - p.GetID() -} - -func TestPackageVersion_GetInstallationCommand(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageVersion{InstallationCommand: &zeroValue} - p.GetInstallationCommand() - p = &PackageVersion{} - p.GetInstallationCommand() - p = nil - p.GetInstallationCommand() -} - -func TestPackageVersion_GetLicense(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageVersion{License: &zeroValue} - p.GetLicense() - p = &PackageVersion{} - p.GetLicense() - p = nil - p.GetLicense() -} - -func TestPackageVersion_GetManifest(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageVersion{Manifest: &zeroValue} - p.GetManifest() - p = &PackageVersion{} - p.GetManifest() - p = nil - p.GetManifest() -} - -func TestPackageVersion_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageVersion{Name: &zeroValue} - p.GetName() - p = &PackageVersion{} - p.GetName() - p = nil - p.GetName() -} - -func TestPackageVersion_GetNPMMetadata(tt *testing.T) { - tt.Parallel() - p := &PackageVersion{} - p.GetNPMMetadata() - p = nil - 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 - p := &PackageVersion{PackageHTMLURL: &zeroValue} - p.GetPackageHTMLURL() - p = &PackageVersion{} - p.GetPackageHTMLURL() - p = nil - p.GetPackageHTMLURL() -} - -func TestPackageVersion_GetPackageURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageVersion{PackageURL: &zeroValue} - p.GetPackageURL() - p = &PackageVersion{} - p.GetPackageURL() - p = nil - p.GetPackageURL() -} - -func TestPackageVersion_GetPrerelease(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PackageVersion{Prerelease: &zeroValue} - p.GetPrerelease() - p = &PackageVersion{} - p.GetPrerelease() - p = nil - p.GetPrerelease() -} - -func TestPackageVersion_GetRelease(tt *testing.T) { - tt.Parallel() - p := &PackageVersion{} - p.GetRelease() - p = nil - p.GetRelease() -} - -func TestPackageVersion_GetRubyMetadata(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]any{} - p := &PackageVersion{RubyMetadata: zeroValue} - p.GetRubyMetadata() - p = &PackageVersion{} - p.GetRubyMetadata() - p = nil - p.GetRubyMetadata() -} - -func TestPackageVersion_GetSourceURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageVersion{SourceURL: &zeroValue} - p.GetSourceURL() - p = &PackageVersion{} - p.GetSourceURL() - p = nil - p.GetSourceURL() -} - -func TestPackageVersion_GetSummary(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageVersion{Summary: &zeroValue} - p.GetSummary() - p = &PackageVersion{} - p.GetSummary() - p = nil - p.GetSummary() -} - -func TestPackageVersion_GetTagName(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageVersion{TagName: &zeroValue} - p.GetTagName() - p = &PackageVersion{} - p.GetTagName() - p = nil - p.GetTagName() -} - -func TestPackageVersion_GetTargetCommitish(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageVersion{TargetCommitish: &zeroValue} - p.GetTargetCommitish() - p = &PackageVersion{} - p.GetTargetCommitish() - p = nil - p.GetTargetCommitish() -} - -func TestPackageVersion_GetTargetOID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageVersion{TargetOID: &zeroValue} - p.GetTargetOID() - p = &PackageVersion{} - p.GetTargetOID() - p = nil - p.GetTargetOID() -} - -func TestPackageVersion_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PackageVersion{UpdatedAt: &zeroValue} - p.GetUpdatedAt() - p = &PackageVersion{} - p.GetUpdatedAt() - p = nil - p.GetUpdatedAt() -} - -func TestPackageVersion_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageVersion{URL: &zeroValue} - p.GetURL() - p = &PackageVersion{} - p.GetURL() - p = nil - p.GetURL() -} - -func TestPackageVersion_GetVersion(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageVersion{Version: &zeroValue} - p.GetVersion() - p = &PackageVersion{} - p.GetVersion() - p = nil - p.GetVersion() -} - -func TestPackageVersionBody_GetInfo(tt *testing.T) { - tt.Parallel() - p := &PackageVersionBody{} - p.GetInfo() - p = nil - p.GetInfo() -} - -func TestPackageVersionBody_GetRepo(tt *testing.T) { - tt.Parallel() - p := &PackageVersionBody{} - p.GetRepo() - p = nil - p.GetRepo() -} - -func TestPackageVersionBodyInfo_GetCollection(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PackageVersionBodyInfo{Collection: &zeroValue} - p.GetCollection() - p = &PackageVersionBodyInfo{} - p.GetCollection() - p = nil - p.GetCollection() -} - -func TestPackageVersionBodyInfo_GetMode(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &PackageVersionBodyInfo{Mode: &zeroValue} - p.GetMode() - p = &PackageVersionBodyInfo{} - p.GetMode() - p = nil - p.GetMode() -} - -func TestPackageVersionBodyInfo_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageVersionBodyInfo{Name: &zeroValue} - p.GetName() - p = &PackageVersionBodyInfo{} - p.GetName() - p = nil - p.GetName() -} - -func TestPackageVersionBodyInfo_GetOID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageVersionBodyInfo{OID: &zeroValue} - p.GetOID() - p = &PackageVersionBodyInfo{} - p.GetOID() - p = nil - p.GetOID() -} - -func TestPackageVersionBodyInfo_GetPath(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageVersionBodyInfo{Path: &zeroValue} - p.GetPath() - p = &PackageVersionBodyInfo{} - p.GetPath() - p = nil - p.GetPath() -} - -func TestPackageVersionBodyInfo_GetSize(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &PackageVersionBodyInfo{Size: &zeroValue} - p.GetSize() - p = &PackageVersionBodyInfo{} - p.GetSize() - p = nil - p.GetSize() -} - -func TestPackageVersionBodyInfo_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PackageVersionBodyInfo{Type: &zeroValue} - p.GetType() - p = &PackageVersionBodyInfo{} - p.GetType() - p = nil - p.GetType() -} - -func TestPage_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &Page{Action: &zeroValue} - p.GetAction() - p = &Page{} - p.GetAction() - p = nil - p.GetAction() -} - -func TestPage_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &Page{HTMLURL: &zeroValue} - p.GetHTMLURL() - p = &Page{} - p.GetHTMLURL() - p = nil - p.GetHTMLURL() -} - -func TestPage_GetPageName(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &Page{PageName: &zeroValue} - p.GetPageName() - p = &Page{} - p.GetPageName() - p = nil - p.GetPageName() -} - -func TestPage_GetSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &Page{SHA: &zeroValue} - p.GetSHA() - p = &Page{} - p.GetSHA() - p = nil - p.GetSHA() -} - -func TestPage_GetSummary(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &Page{Summary: &zeroValue} - p.GetSummary() - p = &Page{} - p.GetSummary() - p = nil - p.GetSummary() -} - -func TestPage_GetTitle(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &Page{Title: &zeroValue} - p.GetTitle() - p = &Page{} - p.GetTitle() - p = nil - p.GetTitle() -} - -func TestPageBuildEvent_GetBuild(tt *testing.T) { - tt.Parallel() - p := &PageBuildEvent{} - p.GetBuild() - p = nil - p.GetBuild() -} - -func TestPageBuildEvent_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &PageBuildEvent{ID: &zeroValue} - p.GetID() - p = &PageBuildEvent{} - p.GetID() - p = nil - p.GetID() -} - -func TestPageBuildEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - p := &PageBuildEvent{} - p.GetInstallation() - p = nil - p.GetInstallation() -} - -func TestPageBuildEvent_GetOrg(tt *testing.T) { - tt.Parallel() - p := &PageBuildEvent{} - p.GetOrg() - p = nil - p.GetOrg() -} - -func TestPageBuildEvent_GetRepo(tt *testing.T) { - tt.Parallel() - p := &PageBuildEvent{} - p.GetRepo() - p = nil - p.GetRepo() -} - -func TestPageBuildEvent_GetSender(tt *testing.T) { - tt.Parallel() - p := &PageBuildEvent{} - p.GetSender() - p = nil - p.GetSender() -} - -func TestPages_GetBuildType(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &Pages{BuildType: &zeroValue} - p.GetBuildType() - p = &Pages{} - p.GetBuildType() - p = nil - p.GetBuildType() -} - -func TestPages_GetCNAME(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &Pages{CNAME: &zeroValue} - p.GetCNAME() - p = &Pages{} - p.GetCNAME() - p = nil - p.GetCNAME() -} - -func TestPages_GetCustom404(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &Pages{Custom404: &zeroValue} - p.GetCustom404() - p = &Pages{} - p.GetCustom404() - p = nil - p.GetCustom404() -} - -func TestPages_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &Pages{HTMLURL: &zeroValue} - p.GetHTMLURL() - p = &Pages{} - p.GetHTMLURL() - p = nil - p.GetHTMLURL() -} - -func TestPages_GetHTTPSCertificate(tt *testing.T) { - tt.Parallel() - p := &Pages{} - p.GetHTTPSCertificate() - p = nil - p.GetHTTPSCertificate() -} - -func TestPages_GetHTTPSEnforced(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &Pages{HTTPSEnforced: &zeroValue} - p.GetHTTPSEnforced() - p = &Pages{} - p.GetHTTPSEnforced() - p = nil - p.GetHTTPSEnforced() -} - -func TestPages_GetPublic(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &Pages{Public: &zeroValue} - p.GetPublic() - p = &Pages{} - p.GetPublic() - p = nil - p.GetPublic() -} - -func TestPages_GetSource(tt *testing.T) { - tt.Parallel() - p := &Pages{} - p.GetSource() - p = nil - p.GetSource() -} - -func TestPages_GetStatus(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &Pages{Status: &zeroValue} - p.GetStatus() - p = &Pages{} - p.GetStatus() - p = nil - p.GetStatus() -} - -func TestPages_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &Pages{URL: &zeroValue} - p.GetURL() - p = &Pages{} - p.GetURL() - p = nil - p.GetURL() -} - -func TestPagesBuild_GetCommit(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PagesBuild{Commit: &zeroValue} - p.GetCommit() - p = &PagesBuild{} - p.GetCommit() - p = nil - p.GetCommit() -} - -func TestPagesBuild_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PagesBuild{CreatedAt: &zeroValue} - p.GetCreatedAt() - p = &PagesBuild{} - p.GetCreatedAt() - p = nil - p.GetCreatedAt() -} - -func TestPagesBuild_GetDuration(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PagesBuild{Duration: &zeroValue} - p.GetDuration() - p = &PagesBuild{} - p.GetDuration() - p = nil - p.GetDuration() -} - -func TestPagesBuild_GetError(tt *testing.T) { - tt.Parallel() - p := &PagesBuild{} - p.GetError() - p = nil - p.GetError() -} - -func TestPagesBuild_GetPusher(tt *testing.T) { - tt.Parallel() - p := &PagesBuild{} - p.GetPusher() - p = nil - p.GetPusher() -} - -func TestPagesBuild_GetStatus(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PagesBuild{Status: &zeroValue} - p.GetStatus() - p = &PagesBuild{} - p.GetStatus() - p = nil - p.GetStatus() -} - -func TestPagesBuild_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PagesBuild{UpdatedAt: &zeroValue} - p.GetUpdatedAt() - p = &PagesBuild{} - p.GetUpdatedAt() - p = nil - p.GetUpdatedAt() -} - -func TestPagesBuild_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PagesBuild{URL: &zeroValue} - p.GetURL() - p = &PagesBuild{} - p.GetURL() - p = nil - p.GetURL() -} - -func TestPagesDomain_GetCAAError(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PagesDomain{CAAError: &zeroValue} - p.GetCAAError() - p = &PagesDomain{} - p.GetCAAError() - p = nil - p.GetCAAError() -} - -func TestPagesDomain_GetDNSResolves(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PagesDomain{DNSResolves: &zeroValue} - p.GetDNSResolves() - p = &PagesDomain{} - p.GetDNSResolves() - p = nil - p.GetDNSResolves() -} - -func TestPagesDomain_GetEnforcesHTTPS(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PagesDomain{EnforcesHTTPS: &zeroValue} - p.GetEnforcesHTTPS() - p = &PagesDomain{} - p.GetEnforcesHTTPS() - p = nil - p.GetEnforcesHTTPS() -} - -func TestPagesDomain_GetHasCNAMERecord(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PagesDomain{HasCNAMERecord: &zeroValue} - p.GetHasCNAMERecord() - p = &PagesDomain{} - p.GetHasCNAMERecord() - p = nil - p.GetHasCNAMERecord() -} - -func TestPagesDomain_GetHasMXRecordsPresent(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PagesDomain{HasMXRecordsPresent: &zeroValue} - p.GetHasMXRecordsPresent() - p = &PagesDomain{} - p.GetHasMXRecordsPresent() - p = nil - p.GetHasMXRecordsPresent() -} - -func TestPagesDomain_GetHost(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PagesDomain{Host: &zeroValue} - p.GetHost() - p = &PagesDomain{} - p.GetHost() - p = nil - p.GetHost() -} - -func TestPagesDomain_GetHTTPSError(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PagesDomain{HTTPSError: &zeroValue} - p.GetHTTPSError() - p = &PagesDomain{} - p.GetHTTPSError() - p = nil - p.GetHTTPSError() -} - -func TestPagesDomain_GetIsApexDomain(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsApexDomain: &zeroValue} - p.GetIsApexDomain() - p = &PagesDomain{} - p.GetIsApexDomain() - p = nil - p.GetIsApexDomain() -} - -func TestPagesDomain_GetIsARecord(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsARecord: &zeroValue} - p.GetIsARecord() - p = &PagesDomain{} - p.GetIsARecord() - p = nil - p.GetIsARecord() -} - -func TestPagesDomain_GetIsCloudflareIP(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsCloudflareIP: &zeroValue} - p.GetIsCloudflareIP() - p = &PagesDomain{} - p.GetIsCloudflareIP() - p = nil - p.GetIsCloudflareIP() -} - -func TestPagesDomain_GetIsCNAMEToFastly(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsCNAMEToFastly: &zeroValue} - p.GetIsCNAMEToFastly() - p = &PagesDomain{} - p.GetIsCNAMEToFastly() - p = nil - p.GetIsCNAMEToFastly() -} - -func TestPagesDomain_GetIsCNAMEToGithubUserDomain(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsCNAMEToGithubUserDomain: &zeroValue} - p.GetIsCNAMEToGithubUserDomain() - p = &PagesDomain{} - p.GetIsCNAMEToGithubUserDomain() - p = nil - p.GetIsCNAMEToGithubUserDomain() -} - -func TestPagesDomain_GetIsCNAMEToPagesDotGithubDotCom(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsCNAMEToPagesDotGithubDotCom: &zeroValue} - p.GetIsCNAMEToPagesDotGithubDotCom() - p = &PagesDomain{} - p.GetIsCNAMEToPagesDotGithubDotCom() - p = nil - p.GetIsCNAMEToPagesDotGithubDotCom() -} - -func TestPagesDomain_GetIsFastlyIP(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsFastlyIP: &zeroValue} - p.GetIsFastlyIP() - p = &PagesDomain{} - p.GetIsFastlyIP() - p = nil - p.GetIsFastlyIP() -} - -func TestPagesDomain_GetIsHTTPSEligible(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsHTTPSEligible: &zeroValue} - p.GetIsHTTPSEligible() - p = &PagesDomain{} - p.GetIsHTTPSEligible() - p = nil - p.GetIsHTTPSEligible() -} - -func TestPagesDomain_GetIsNonGithubPagesIPPresent(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsNonGithubPagesIPPresent: &zeroValue} - p.GetIsNonGithubPagesIPPresent() - p = &PagesDomain{} - p.GetIsNonGithubPagesIPPresent() - p = nil - p.GetIsNonGithubPagesIPPresent() -} - -func TestPagesDomain_GetIsOldIPAddress(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsOldIPAddress: &zeroValue} - p.GetIsOldIPAddress() - p = &PagesDomain{} - p.GetIsOldIPAddress() - p = nil - p.GetIsOldIPAddress() -} - -func TestPagesDomain_GetIsPagesDomain(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsPagesDomain: &zeroValue} - p.GetIsPagesDomain() - p = &PagesDomain{} - p.GetIsPagesDomain() - p = nil - p.GetIsPagesDomain() -} - -func TestPagesDomain_GetIsPointedToGithubPagesIP(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsPointedToGithubPagesIP: &zeroValue} - p.GetIsPointedToGithubPagesIP() - p = &PagesDomain{} - p.GetIsPointedToGithubPagesIP() - p = nil - p.GetIsPointedToGithubPagesIP() -} - -func TestPagesDomain_GetIsProxied(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsProxied: &zeroValue} - p.GetIsProxied() - p = &PagesDomain{} - p.GetIsProxied() - p = nil - p.GetIsProxied() -} - -func TestPagesDomain_GetIsServedByPages(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsServedByPages: &zeroValue} - p.GetIsServedByPages() - p = &PagesDomain{} - p.GetIsServedByPages() - p = nil - p.GetIsServedByPages() -} - -func TestPagesDomain_GetIsValid(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsValid: &zeroValue} - p.GetIsValid() - p = &PagesDomain{} - p.GetIsValid() - p = nil - p.GetIsValid() -} - -func TestPagesDomain_GetIsValidDomain(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsValidDomain: &zeroValue} - p.GetIsValidDomain() - p = &PagesDomain{} - p.GetIsValidDomain() - p = nil - p.GetIsValidDomain() -} - -func TestPagesDomain_GetNameservers(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PagesDomain{Nameservers: &zeroValue} - p.GetNameservers() - p = &PagesDomain{} - p.GetNameservers() - p = nil - p.GetNameservers() -} - -func TestPagesDomain_GetReason(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PagesDomain{Reason: &zeroValue} - p.GetReason() - p = &PagesDomain{} - p.GetReason() - p = nil - p.GetReason() -} - -func TestPagesDomain_GetRespondsToHTTPS(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PagesDomain{RespondsToHTTPS: &zeroValue} - p.GetRespondsToHTTPS() - p = &PagesDomain{} - p.GetRespondsToHTTPS() - p = nil - p.GetRespondsToHTTPS() -} - -func TestPagesDomain_GetShouldBeARecord(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PagesDomain{ShouldBeARecord: &zeroValue} - p.GetShouldBeARecord() - p = &PagesDomain{} - p.GetShouldBeARecord() - p = nil - p.GetShouldBeARecord() -} - -func TestPagesDomain_GetURI(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PagesDomain{URI: &zeroValue} - p.GetURI() - p = &PagesDomain{} - p.GetURI() - p = nil - p.GetURI() -} - -func TestPagesError_GetMessage(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PagesError{Message: &zeroValue} - p.GetMessage() - p = &PagesError{} - p.GetMessage() - p = nil - p.GetMessage() -} - -func TestPagesHealthCheckResponse_GetAltDomain(tt *testing.T) { - tt.Parallel() - p := &PagesHealthCheckResponse{} - p.GetAltDomain() - p = nil - p.GetAltDomain() -} - -func TestPagesHealthCheckResponse_GetDomain(tt *testing.T) { - tt.Parallel() - p := &PagesHealthCheckResponse{} - p.GetDomain() - p = nil - p.GetDomain() -} - -func TestPagesHTTPSCertificate_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PagesHTTPSCertificate{Description: &zeroValue} - p.GetDescription() - p = &PagesHTTPSCertificate{} - p.GetDescription() - p = nil - 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 - p := &PagesHTTPSCertificate{ExpiresAt: &zeroValue} - p.GetExpiresAt() - p = &PagesHTTPSCertificate{} - p.GetExpiresAt() - p = nil - p.GetExpiresAt() -} - -func TestPagesHTTPSCertificate_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PagesHTTPSCertificate{State: &zeroValue} - p.GetState() - p = &PagesHTTPSCertificate{} - p.GetState() - p = nil - p.GetState() -} - -func TestPagesSource_GetBranch(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PagesSource{Branch: &zeroValue} - p.GetBranch() - p = &PagesSource{} - p.GetBranch() - p = nil - p.GetBranch() -} - -func TestPagesSource_GetPath(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PagesSource{Path: &zeroValue} - p.GetPath() - p = &PagesSource{} - p.GetPath() - p = nil - p.GetPath() -} - -func TestPageStats_GetTotalPages(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PageStats{TotalPages: &zeroValue} - p.GetTotalPages() - p = &PageStats{} - p.GetTotalPages() - p = nil - p.GetTotalPages() -} - -func TestPagesUpdate_GetBuildType(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PagesUpdate{BuildType: &zeroValue} - p.GetBuildType() - p = &PagesUpdate{} - p.GetBuildType() - p = nil - p.GetBuildType() -} - -func TestPagesUpdate_GetCNAME(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PagesUpdate{CNAME: &zeroValue} - p.GetCNAME() - p = &PagesUpdate{} - p.GetCNAME() - p = nil - p.GetCNAME() -} - -func TestPagesUpdate_GetHTTPSEnforced(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PagesUpdate{HTTPSEnforced: &zeroValue} - p.GetHTTPSEnforced() - p = &PagesUpdate{} - p.GetHTTPSEnforced() - p = nil - p.GetHTTPSEnforced() -} - -func TestPagesUpdate_GetPublic(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PagesUpdate{Public: &zeroValue} - p.GetPublic() - p = &PagesUpdate{} - p.GetPublic() - p = nil - p.GetPublic() -} - -func TestPagesUpdate_GetSource(tt *testing.T) { - tt.Parallel() - p := &PagesUpdate{} - p.GetSource() - p = nil - p.GetSource() -} - -func TestPagesUpdateWithoutCNAME_GetBuildType(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PagesUpdateWithoutCNAME{BuildType: &zeroValue} - p.GetBuildType() - p = &PagesUpdateWithoutCNAME{} - p.GetBuildType() - p = nil - p.GetBuildType() -} - -func TestPagesUpdateWithoutCNAME_GetHTTPSEnforced(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PagesUpdateWithoutCNAME{HTTPSEnforced: &zeroValue} - p.GetHTTPSEnforced() - p = &PagesUpdateWithoutCNAME{} - p.GetHTTPSEnforced() - p = nil - p.GetHTTPSEnforced() -} - -func TestPagesUpdateWithoutCNAME_GetPublic(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PagesUpdateWithoutCNAME{Public: &zeroValue} - p.GetPublic() - p = &PagesUpdateWithoutCNAME{} - p.GetPublic() - p = nil - p.GetPublic() -} - -func TestPagesUpdateWithoutCNAME_GetSource(tt *testing.T) { - tt.Parallel() - p := &PagesUpdateWithoutCNAME{} - p.GetSource() - p = nil - 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 - p := &PatternRuleParameters{Name: &zeroValue} - p.GetName() - p = &PatternRuleParameters{} - p.GetName() - p = nil - p.GetName() -} - -func TestPatternRuleParameters_GetNegate(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PatternRuleParameters{Negate: &zeroValue} - p.GetNegate() - p = &PatternRuleParameters{} - p.GetNegate() - p = nil - 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 - p := &PendingDeployment{CurrentUserCanApprove: &zeroValue} - p.GetCurrentUserCanApprove() - p = &PendingDeployment{} - p.GetCurrentUserCanApprove() - p = nil - p.GetCurrentUserCanApprove() -} - -func TestPendingDeployment_GetEnvironment(tt *testing.T) { - tt.Parallel() - p := &PendingDeployment{} - p.GetEnvironment() - p = nil - 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 - p := &PendingDeployment{WaitTimer: &zeroValue} - p.GetWaitTimer() - p = &PendingDeployment{} - p.GetWaitTimer() - p = nil - p.GetWaitTimer() -} - -func TestPendingDeployment_GetWaitTimerStartedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PendingDeployment{WaitTimerStartedAt: &zeroValue} - p.GetWaitTimerStartedAt() - p = &PendingDeployment{} - p.GetWaitTimerStartedAt() - p = nil - p.GetWaitTimerStartedAt() -} - -func TestPendingDeploymentEnvironment_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PendingDeploymentEnvironment{HTMLURL: &zeroValue} - p.GetHTMLURL() - p = &PendingDeploymentEnvironment{} - p.GetHTMLURL() - p = nil - p.GetHTMLURL() -} - -func TestPendingDeploymentEnvironment_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &PendingDeploymentEnvironment{ID: &zeroValue} - p.GetID() - p = &PendingDeploymentEnvironment{} - p.GetID() - p = nil - p.GetID() -} - -func TestPendingDeploymentEnvironment_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PendingDeploymentEnvironment{Name: &zeroValue} - p.GetName() - p = &PendingDeploymentEnvironment{} - p.GetName() - p = nil - p.GetName() -} - -func TestPendingDeploymentEnvironment_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PendingDeploymentEnvironment{NodeID: &zeroValue} - p.GetNodeID() - p = &PendingDeploymentEnvironment{} - p.GetNodeID() - p = nil - p.GetNodeID() -} - -func TestPendingDeploymentEnvironment_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PendingDeploymentEnvironment{URL: &zeroValue} - p.GetURL() - p = &PendingDeploymentEnvironment{} - p.GetURL() - p = nil - 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 - p := &PersonalAccessToken{AccessGrantedAt: &zeroValue} - p.GetAccessGrantedAt() - p = &PersonalAccessToken{} - p.GetAccessGrantedAt() - p = nil - p.GetAccessGrantedAt() -} - -func TestPersonalAccessToken_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &PersonalAccessToken{ID: &zeroValue} - p.GetID() - p = &PersonalAccessToken{} - p.GetID() - p = nil - p.GetID() -} - -func TestPersonalAccessToken_GetOwner(tt *testing.T) { - tt.Parallel() - p := &PersonalAccessToken{} - p.GetOwner() - p = nil - p.GetOwner() -} - -func TestPersonalAccessToken_GetPermissions(tt *testing.T) { - tt.Parallel() - p := &PersonalAccessToken{} - p.GetPermissions() - p = nil - p.GetPermissions() -} - -func TestPersonalAccessToken_GetRepositoriesURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PersonalAccessToken{RepositoriesURL: &zeroValue} - p.GetRepositoriesURL() - p = &PersonalAccessToken{} - p.GetRepositoriesURL() - p = nil - p.GetRepositoriesURL() -} - -func TestPersonalAccessToken_GetRepositorySelection(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PersonalAccessToken{RepositorySelection: &zeroValue} - p.GetRepositorySelection() - p = &PersonalAccessToken{} - p.GetRepositorySelection() - p = nil - p.GetRepositorySelection() -} - -func TestPersonalAccessToken_GetTokenExpired(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PersonalAccessToken{TokenExpired: &zeroValue} - p.GetTokenExpired() - p = &PersonalAccessToken{} - p.GetTokenExpired() - p = nil - p.GetTokenExpired() -} - -func TestPersonalAccessToken_GetTokenExpiresAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PersonalAccessToken{TokenExpiresAt: &zeroValue} - p.GetTokenExpiresAt() - p = &PersonalAccessToken{} - p.GetTokenExpiresAt() - p = nil - p.GetTokenExpiresAt() -} - -func TestPersonalAccessToken_GetTokenID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &PersonalAccessToken{TokenID: &zeroValue} - p.GetTokenID() - p = &PersonalAccessToken{} - p.GetTokenID() - p = nil - p.GetTokenID() -} - -func TestPersonalAccessToken_GetTokenLastUsedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PersonalAccessToken{TokenLastUsedAt: &zeroValue} - p.GetTokenLastUsedAt() - p = &PersonalAccessToken{} - p.GetTokenLastUsedAt() - p = nil - p.GetTokenLastUsedAt() -} - -func TestPersonalAccessToken_GetTokenName(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PersonalAccessToken{TokenName: &zeroValue} - p.GetTokenName() - p = &PersonalAccessToken{} - p.GetTokenName() - p = nil - p.GetTokenName() -} - -func TestPersonalAccessTokenPermissions_GetOrg(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]string{} - p := &PersonalAccessTokenPermissions{Org: zeroValue} - p.GetOrg() - p = &PersonalAccessTokenPermissions{} - p.GetOrg() - p = nil - p.GetOrg() -} - -func TestPersonalAccessTokenPermissions_GetOther(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]string{} - p := &PersonalAccessTokenPermissions{Other: zeroValue} - p.GetOther() - p = &PersonalAccessTokenPermissions{} - p.GetOther() - p = nil - p.GetOther() -} - -func TestPersonalAccessTokenPermissions_GetRepo(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]string{} - p := &PersonalAccessTokenPermissions{Repo: zeroValue} - p.GetRepo() - p = &PersonalAccessTokenPermissions{} - p.GetRepo() - p = nil - p.GetRepo() -} - -func TestPersonalAccessTokenRequest_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PersonalAccessTokenRequest{CreatedAt: &zeroValue} - p.GetCreatedAt() - p = &PersonalAccessTokenRequest{} - p.GetCreatedAt() - p = nil - p.GetCreatedAt() -} - -func TestPersonalAccessTokenRequest_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &PersonalAccessTokenRequest{ID: &zeroValue} - p.GetID() - p = &PersonalAccessTokenRequest{} - p.GetID() - p = nil - p.GetID() -} - -func TestPersonalAccessTokenRequest_GetOrg(tt *testing.T) { - tt.Parallel() - p := &PersonalAccessTokenRequest{} - p.GetOrg() - p = nil - p.GetOrg() -} - -func TestPersonalAccessTokenRequest_GetOwner(tt *testing.T) { - tt.Parallel() - p := &PersonalAccessTokenRequest{} - p.GetOwner() - p = nil - p.GetOwner() -} - -func TestPersonalAccessTokenRequest_GetPermissionsAdded(tt *testing.T) { - tt.Parallel() - p := &PersonalAccessTokenRequest{} - p.GetPermissionsAdded() - p = nil - p.GetPermissionsAdded() -} - -func TestPersonalAccessTokenRequest_GetPermissionsResult(tt *testing.T) { - tt.Parallel() - p := &PersonalAccessTokenRequest{} - p.GetPermissionsResult() - p = nil - p.GetPermissionsResult() -} - -func TestPersonalAccessTokenRequest_GetPermissionsUpgraded(tt *testing.T) { - tt.Parallel() - p := &PersonalAccessTokenRequest{} - p.GetPermissionsUpgraded() - p = nil - 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 - p := &PersonalAccessTokenRequest{RepositoryCount: &zeroValue} - p.GetRepositoryCount() - p = &PersonalAccessTokenRequest{} - p.GetRepositoryCount() - p = nil - p.GetRepositoryCount() -} - -func TestPersonalAccessTokenRequest_GetRepositorySelection(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PersonalAccessTokenRequest{RepositorySelection: &zeroValue} - p.GetRepositorySelection() - p = &PersonalAccessTokenRequest{} - p.GetRepositorySelection() - p = nil - p.GetRepositorySelection() -} - -func TestPersonalAccessTokenRequest_GetTokenExpired(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PersonalAccessTokenRequest{TokenExpired: &zeroValue} - p.GetTokenExpired() - p = &PersonalAccessTokenRequest{} - p.GetTokenExpired() - p = nil - p.GetTokenExpired() -} - -func TestPersonalAccessTokenRequest_GetTokenExpiresAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PersonalAccessTokenRequest{TokenExpiresAt: &zeroValue} - p.GetTokenExpiresAt() - p = &PersonalAccessTokenRequest{} - p.GetTokenExpiresAt() - p = nil - p.GetTokenExpiresAt() -} - -func TestPersonalAccessTokenRequest_GetTokenLastUsedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PersonalAccessTokenRequest{TokenLastUsedAt: &zeroValue} - p.GetTokenLastUsedAt() - p = &PersonalAccessTokenRequest{} - p.GetTokenLastUsedAt() - p = nil - p.GetTokenLastUsedAt() -} - -func TestPersonalAccessTokenRequestEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PersonalAccessTokenRequestEvent{Action: &zeroValue} - p.GetAction() - p = &PersonalAccessTokenRequestEvent{} - p.GetAction() - p = nil - p.GetAction() -} - -func TestPersonalAccessTokenRequestEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - p := &PersonalAccessTokenRequestEvent{} - p.GetInstallation() - p = nil - p.GetInstallation() -} - -func TestPersonalAccessTokenRequestEvent_GetOrg(tt *testing.T) { - tt.Parallel() - p := &PersonalAccessTokenRequestEvent{} - p.GetOrg() - p = nil - p.GetOrg() -} - -func TestPersonalAccessTokenRequestEvent_GetPersonalAccessTokenRequest(tt *testing.T) { - tt.Parallel() - p := &PersonalAccessTokenRequestEvent{} - p.GetPersonalAccessTokenRequest() - p = nil - p.GetPersonalAccessTokenRequest() -} - -func TestPersonalAccessTokenRequestEvent_GetSender(tt *testing.T) { - tt.Parallel() - p := &PersonalAccessTokenRequestEvent{} - p.GetSender() - p = nil - p.GetSender() -} - -func TestPingEvent_GetHook(tt *testing.T) { - tt.Parallel() - p := &PingEvent{} - p.GetHook() - p = nil - p.GetHook() -} - -func TestPingEvent_GetHookID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &PingEvent{HookID: &zeroValue} - p.GetHookID() - p = &PingEvent{} - p.GetHookID() - p = nil - p.GetHookID() -} - -func TestPingEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - p := &PingEvent{} - p.GetInstallation() - p = nil - p.GetInstallation() -} - -func TestPingEvent_GetOrg(tt *testing.T) { - tt.Parallel() - p := &PingEvent{} - p.GetOrg() - p = nil - p.GetOrg() -} - -func TestPingEvent_GetRepo(tt *testing.T) { - tt.Parallel() - p := &PingEvent{} - p.GetRepo() - p = nil - p.GetRepo() -} - -func TestPingEvent_GetSender(tt *testing.T) { - tt.Parallel() - p := &PingEvent{} - p.GetSender() - p = nil - p.GetSender() -} - -func TestPingEvent_GetZen(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PingEvent{Zen: &zeroValue} - p.GetZen() - p = &PingEvent{} - p.GetZen() - p = nil - p.GetZen() -} - -func TestPinnedIssueComment_GetPinnedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PinnedIssueComment{PinnedAt: &zeroValue} - p.GetPinnedAt() - p = &PinnedIssueComment{} - p.GetPinnedAt() - p = nil - p.GetPinnedAt() -} - -func TestPinnedIssueComment_GetPinnedBy(tt *testing.T) { - tt.Parallel() - p := &PinnedIssueComment{} - p.GetPinnedBy() - p = nil - p.GetPinnedBy() -} - -func TestPlan_GetCollaborators(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &Plan{Collaborators: &zeroValue} - p.GetCollaborators() - p = &Plan{} - p.GetCollaborators() - p = nil - p.GetCollaborators() -} - -func TestPlan_GetFilledSeats(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &Plan{FilledSeats: &zeroValue} - p.GetFilledSeats() - p = &Plan{} - p.GetFilledSeats() - p = nil - p.GetFilledSeats() -} - -func TestPlan_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &Plan{Name: &zeroValue} - p.GetName() - p = &Plan{} - p.GetName() - p = nil - p.GetName() -} - -func TestPlan_GetPrivateRepos(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &Plan{PrivateRepos: &zeroValue} - p.GetPrivateRepos() - p = &Plan{} - p.GetPrivateRepos() - p = nil - p.GetPrivateRepos() -} - -func TestPlan_GetSeats(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &Plan{Seats: &zeroValue} - p.GetSeats() - p = &Plan{} - p.GetSeats() - p = nil - p.GetSeats() -} - -func TestPlan_GetSpace(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &Plan{Space: &zeroValue} - p.GetSpace() - p = &Plan{} - p.GetSpace() - p = nil - 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 - p := &PremiumRequestUsageReport{Model: &zeroValue} - p.GetModel() - p = &PremiumRequestUsageReport{} - p.GetModel() - p = nil - p.GetModel() -} - -func TestPremiumRequestUsageReport_GetOrganization(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PremiumRequestUsageReport{Organization: &zeroValue} - p.GetOrganization() - p = &PremiumRequestUsageReport{} - p.GetOrganization() - p = nil - p.GetOrganization() -} - -func TestPremiumRequestUsageReport_GetProduct(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PremiumRequestUsageReport{Product: &zeroValue} - p.GetProduct() - p = &PremiumRequestUsageReport{} - p.GetProduct() - p = nil - 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 - p := &PremiumRequestUsageReport{User: &zeroValue} - p.GetUser() - p = &PremiumRequestUsageReport{} - p.GetUser() - p = nil - p.GetUser() -} - -func TestPremiumRequestUsageReportOptions_GetDay(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PremiumRequestUsageReportOptions{Day: &zeroValue} - p.GetDay() - p = &PremiumRequestUsageReportOptions{} - p.GetDay() - p = nil - p.GetDay() -} - -func TestPremiumRequestUsageReportOptions_GetModel(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PremiumRequestUsageReportOptions{Model: &zeroValue} - p.GetModel() - p = &PremiumRequestUsageReportOptions{} - p.GetModel() - p = nil - p.GetModel() -} - -func TestPremiumRequestUsageReportOptions_GetMonth(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PremiumRequestUsageReportOptions{Month: &zeroValue} - p.GetMonth() - p = &PremiumRequestUsageReportOptions{} - p.GetMonth() - p = nil - p.GetMonth() -} - -func TestPremiumRequestUsageReportOptions_GetProduct(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PremiumRequestUsageReportOptions{Product: &zeroValue} - p.GetProduct() - p = &PremiumRequestUsageReportOptions{} - p.GetProduct() - p = nil - p.GetProduct() -} - -func TestPremiumRequestUsageReportOptions_GetUser(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PremiumRequestUsageReportOptions{User: &zeroValue} - p.GetUser() - p = &PremiumRequestUsageReportOptions{} - p.GetUser() - p = nil - p.GetUser() -} - -func TestPremiumRequestUsageReportOptions_GetYear(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PremiumRequestUsageReportOptions{Year: &zeroValue} - p.GetYear() - p = &PremiumRequestUsageReportOptions{} - p.GetYear() - p = nil - p.GetYear() -} - -func TestPremiumRequestUsageTimePeriod_GetDay(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PremiumRequestUsageTimePeriod{Day: &zeroValue} - p.GetDay() - p = &PremiumRequestUsageTimePeriod{} - p.GetDay() - p = nil - p.GetDay() -} - -func TestPremiumRequestUsageTimePeriod_GetMonth(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PremiumRequestUsageTimePeriod{Month: &zeroValue} - p.GetMonth() - p = &PremiumRequestUsageTimePeriod{} - p.GetMonth() - p = nil - 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 - p := &PreReceiveHook{ConfigURL: &zeroValue} - p.GetConfigURL() - p = &PreReceiveHook{} - p.GetConfigURL() - p = nil - p.GetConfigURL() -} - -func TestPreReceiveHook_GetEnforcement(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PreReceiveHook{Enforcement: &zeroValue} - p.GetEnforcement() - p = &PreReceiveHook{} - p.GetEnforcement() - p = nil - p.GetEnforcement() -} - -func TestPreReceiveHook_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &PreReceiveHook{ID: &zeroValue} - p.GetID() - p = &PreReceiveHook{} - p.GetID() - p = nil - p.GetID() -} - -func TestPreReceiveHook_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PreReceiveHook{Name: &zeroValue} - p.GetName() - p = &PreReceiveHook{} - p.GetName() - p = nil - 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 - p := &PrivateRegistries{TotalCount: &zeroValue} - p.GetTotalCount() - p = &PrivateRegistries{} - p.GetTotalCount() - p = nil - p.GetTotalCount() -} - -func TestPrivateRegistry_GetAccountID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PrivateRegistry{AccountID: &zeroValue} - p.GetAccountID() - p = &PrivateRegistry{} - p.GetAccountID() - p = nil - p.GetAccountID() -} - -func TestPrivateRegistry_GetAudience(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PrivateRegistry{Audience: &zeroValue} - p.GetAudience() - p = &PrivateRegistry{} - p.GetAudience() - p = nil - p.GetAudience() -} - -func TestPrivateRegistry_GetAuthType(tt *testing.T) { - tt.Parallel() - p := &PrivateRegistry{} - p.GetAuthType() - p = nil - p.GetAuthType() -} - -func TestPrivateRegistry_GetAWSRegion(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PrivateRegistry{AWSRegion: &zeroValue} - p.GetAWSRegion() - p = &PrivateRegistry{} - p.GetAWSRegion() - p = nil - p.GetAWSRegion() -} - -func TestPrivateRegistry_GetClientID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PrivateRegistry{ClientID: &zeroValue} - p.GetClientID() - p = &PrivateRegistry{} - p.GetClientID() - p = nil - p.GetClientID() -} - -func TestPrivateRegistry_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PrivateRegistry{CreatedAt: &zeroValue} - p.GetCreatedAt() - p = &PrivateRegistry{} - p.GetCreatedAt() - p = nil - p.GetCreatedAt() -} - -func TestPrivateRegistry_GetDomain(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PrivateRegistry{Domain: &zeroValue} - p.GetDomain() - p = &PrivateRegistry{} - p.GetDomain() - p = nil - p.GetDomain() -} - -func TestPrivateRegistry_GetDomainOwner(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PrivateRegistry{DomainOwner: &zeroValue} - p.GetDomainOwner() - p = &PrivateRegistry{} - p.GetDomainOwner() - p = nil - p.GetDomainOwner() -} - -func TestPrivateRegistry_GetIdentityMappingName(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PrivateRegistry{IdentityMappingName: &zeroValue} - p.GetIdentityMappingName() - p = &PrivateRegistry{} - p.GetIdentityMappingName() - p = nil - p.GetIdentityMappingName() -} - -func TestPrivateRegistry_GetJFrogOIDCProviderName(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PrivateRegistry{JFrogOIDCProviderName: &zeroValue} - p.GetJFrogOIDCProviderName() - p = &PrivateRegistry{} - p.GetJFrogOIDCProviderName() - p = nil - p.GetJFrogOIDCProviderName() -} - -func TestPrivateRegistry_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PrivateRegistry{Name: &zeroValue} - p.GetName() - p = &PrivateRegistry{} - p.GetName() - p = nil - p.GetName() -} - -func TestPrivateRegistry_GetRegistryType(tt *testing.T) { - tt.Parallel() - p := &PrivateRegistry{} - p.GetRegistryType() - p = nil - p.GetRegistryType() -} - -func TestPrivateRegistry_GetReplacesBase(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PrivateRegistry{ReplacesBase: &zeroValue} - p.GetReplacesBase() - p = &PrivateRegistry{} - p.GetReplacesBase() - p = nil - p.GetReplacesBase() -} - -func TestPrivateRegistry_GetRoleName(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PrivateRegistry{RoleName: &zeroValue} - p.GetRoleName() - p = &PrivateRegistry{} - p.GetRoleName() - p = nil - p.GetRoleName() -} - -func TestPrivateRegistry_GetSelectedRepositoryIDs(tt *testing.T) { - tt.Parallel() - zeroValue := []int64{} - p := &PrivateRegistry{SelectedRepositoryIDs: zeroValue} - p.GetSelectedRepositoryIDs() - p = &PrivateRegistry{} - p.GetSelectedRepositoryIDs() - p = nil - p.GetSelectedRepositoryIDs() -} - -func TestPrivateRegistry_GetTenantID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PrivateRegistry{TenantID: &zeroValue} - p.GetTenantID() - p = &PrivateRegistry{} - p.GetTenantID() - p = nil - p.GetTenantID() -} - -func TestPrivateRegistry_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PrivateRegistry{UpdatedAt: &zeroValue} - p.GetUpdatedAt() - p = &PrivateRegistry{} - p.GetUpdatedAt() - p = nil - p.GetUpdatedAt() -} - -func TestPrivateRegistry_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PrivateRegistry{URL: &zeroValue} - p.GetURL() - p = &PrivateRegistry{} - p.GetURL() - p = nil - p.GetURL() -} - -func TestPrivateRegistry_GetUsername(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PrivateRegistry{Username: &zeroValue} - p.GetUsername() - p = &PrivateRegistry{} - p.GetUsername() - p = nil - p.GetUsername() -} - -func TestPrivateRegistry_GetVisibility(tt *testing.T) { - tt.Parallel() - p := &PrivateRegistry{} - p.GetVisibility() - p = nil - p.GetVisibility() -} - -func TestPRLink_GetHRef(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PRLink{HRef: &zeroValue} - p.GetHRef() - p = &PRLink{} - p.GetHRef() - p = nil - p.GetHRef() -} - -func TestPRLinks_GetComments(tt *testing.T) { - tt.Parallel() - p := &PRLinks{} - p.GetComments() - p = nil - p.GetComments() -} - -func TestPRLinks_GetCommits(tt *testing.T) { - tt.Parallel() - p := &PRLinks{} - p.GetCommits() - p = nil - p.GetCommits() -} - -func TestPRLinks_GetHTML(tt *testing.T) { - tt.Parallel() - p := &PRLinks{} - p.GetHTML() - p = nil - p.GetHTML() -} - -func TestPRLinks_GetIssue(tt *testing.T) { - tt.Parallel() - p := &PRLinks{} - p.GetIssue() - p = nil - p.GetIssue() -} - -func TestPRLinks_GetReviewComment(tt *testing.T) { - tt.Parallel() - p := &PRLinks{} - p.GetReviewComment() - p = nil - p.GetReviewComment() -} - -func TestPRLinks_GetReviewComments(tt *testing.T) { - tt.Parallel() - p := &PRLinks{} - p.GetReviewComments() - p = nil - p.GetReviewComments() -} - -func TestPRLinks_GetSelf(tt *testing.T) { - tt.Parallel() - p := &PRLinks{} - p.GetSelf() - p = nil - p.GetSelf() -} - -func TestPRLinks_GetStatuses(tt *testing.T) { - tt.Parallel() - p := &PRLinks{} - p.GetStatuses() - p = nil - p.GetStatuses() -} - -func TestProjectBody_GetFrom(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectBody{From: &zeroValue} - p.GetFrom() - p = &ProjectBody{} - p.GetFrom() - p = nil - p.GetFrom() -} - -func TestProjectCardChange_GetNote(tt *testing.T) { - tt.Parallel() - p := &ProjectCardChange{} - p.GetNote() - p = nil - p.GetNote() -} - -func TestProjectCardNote_GetFrom(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectCardNote{From: &zeroValue} - p.GetFrom() - p = &ProjectCardNote{} - p.GetFrom() - p = nil - p.GetFrom() -} - -func TestProjectChange_GetBody(tt *testing.T) { - tt.Parallel() - p := &ProjectChange{} - p.GetBody() - p = nil - p.GetBody() -} - -func TestProjectChange_GetName(tt *testing.T) { - tt.Parallel() - p := &ProjectChange{} - p.GetName() - p = nil - p.GetName() -} - -func TestProjectColumnChange_GetName(tt *testing.T) { - tt.Parallel() - p := &ProjectColumnChange{} - p.GetName() - p = nil - p.GetName() -} - -func TestProjectColumnName_GetFrom(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectColumnName{From: &zeroValue} - p.GetFrom() - p = &ProjectColumnName{} - p.GetFrom() - p = nil - p.GetFrom() -} - -func TestProjectName_GetFrom(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectName{From: &zeroValue} - p.GetFrom() - p = &ProjectName{} - p.GetFrom() - p = nil - p.GetFrom() -} - -func TestProjectV2_GetBody(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2{Body: &zeroValue} - p.GetBody() - p = &ProjectV2{} - p.GetBody() - p = nil - p.GetBody() -} - -func TestProjectV2_GetClosedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &ProjectV2{ClosedAt: &zeroValue} - p.GetClosedAt() - p = &ProjectV2{} - p.GetClosedAt() - p = nil - p.GetClosedAt() -} - -func TestProjectV2_GetColumnsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2{ColumnsURL: &zeroValue} - p.GetColumnsURL() - p = &ProjectV2{} - p.GetColumnsURL() - p = nil - p.GetColumnsURL() -} - -func TestProjectV2_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &ProjectV2{CreatedAt: &zeroValue} - p.GetCreatedAt() - p = &ProjectV2{} - p.GetCreatedAt() - p = nil - p.GetCreatedAt() -} - -func TestProjectV2_GetCreator(tt *testing.T) { - tt.Parallel() - p := &ProjectV2{} - p.GetCreator() - p = nil - p.GetCreator() -} - -func TestProjectV2_GetDeletedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &ProjectV2{DeletedAt: &zeroValue} - p.GetDeletedAt() - p = &ProjectV2{} - p.GetDeletedAt() - p = nil - p.GetDeletedAt() -} - -func TestProjectV2_GetDeletedBy(tt *testing.T) { - tt.Parallel() - p := &ProjectV2{} - p.GetDeletedBy() - p = nil - p.GetDeletedBy() -} - -func TestProjectV2_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2{Description: &zeroValue} - p.GetDescription() - p = &ProjectV2{} - p.GetDescription() - p = nil - p.GetDescription() -} - -func TestProjectV2_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2{HTMLURL: &zeroValue} - p.GetHTMLURL() - p = &ProjectV2{} - p.GetHTMLURL() - p = nil - p.GetHTMLURL() -} - -func TestProjectV2_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &ProjectV2{ID: &zeroValue} - p.GetID() - p = &ProjectV2{} - p.GetID() - p = nil - p.GetID() -} - -func TestProjectV2_GetIsTemplate(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &ProjectV2{IsTemplate: &zeroValue} - p.GetIsTemplate() - p = &ProjectV2{} - p.GetIsTemplate() - p = nil - p.GetIsTemplate() -} - -func TestProjectV2_GetLatestStatusUpdate(tt *testing.T) { - tt.Parallel() - p := &ProjectV2{} - p.GetLatestStatusUpdate() - p = nil - p.GetLatestStatusUpdate() -} - -func TestProjectV2_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2{Name: &zeroValue} - p.GetName() - p = &ProjectV2{} - p.GetName() - p = nil - p.GetName() -} - -func TestProjectV2_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2{NodeID: &zeroValue} - p.GetNodeID() - p = &ProjectV2{} - p.GetNodeID() - p = nil - p.GetNodeID() -} - -func TestProjectV2_GetNumber(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &ProjectV2{Number: &zeroValue} - p.GetNumber() - p = &ProjectV2{} - p.GetNumber() - p = nil - p.GetNumber() -} - -func TestProjectV2_GetOrganizationPermission(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2{OrganizationPermission: &zeroValue} - p.GetOrganizationPermission() - p = &ProjectV2{} - p.GetOrganizationPermission() - p = nil - p.GetOrganizationPermission() -} - -func TestProjectV2_GetOwner(tt *testing.T) { - tt.Parallel() - p := &ProjectV2{} - p.GetOwner() - p = nil - p.GetOwner() -} - -func TestProjectV2_GetOwnerURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2{OwnerURL: &zeroValue} - p.GetOwnerURL() - p = &ProjectV2{} - p.GetOwnerURL() - p = nil - p.GetOwnerURL() -} - -func TestProjectV2_GetPrivate(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &ProjectV2{Private: &zeroValue} - p.GetPrivate() - p = &ProjectV2{} - p.GetPrivate() - p = nil - p.GetPrivate() -} - -func TestProjectV2_GetPublic(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &ProjectV2{Public: &zeroValue} - p.GetPublic() - p = &ProjectV2{} - p.GetPublic() - p = nil - p.GetPublic() -} - -func TestProjectV2_GetShortDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2{ShortDescription: &zeroValue} - p.GetShortDescription() - p = &ProjectV2{} - p.GetShortDescription() - p = nil - p.GetShortDescription() -} - -func TestProjectV2_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2{State: &zeroValue} - p.GetState() - p = &ProjectV2{} - p.GetState() - p = nil - p.GetState() -} - -func TestProjectV2_GetTitle(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2{Title: &zeroValue} - p.GetTitle() - p = &ProjectV2{} - p.GetTitle() - p = nil - p.GetTitle() -} - -func TestProjectV2_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &ProjectV2{UpdatedAt: &zeroValue} - p.GetUpdatedAt() - p = &ProjectV2{} - p.GetUpdatedAt() - p = nil - p.GetUpdatedAt() -} - -func TestProjectV2_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2{URL: &zeroValue} - p.GetURL() - p = &ProjectV2{} - p.GetURL() - p = nil - p.GetURL() -} - -func TestProjectV2DraftIssue_GetBody(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2DraftIssue{Body: &zeroValue} - p.GetBody() - p = &ProjectV2DraftIssue{} - p.GetBody() - p = nil - p.GetBody() -} - -func TestProjectV2DraftIssue_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &ProjectV2DraftIssue{CreatedAt: &zeroValue} - p.GetCreatedAt() - p = &ProjectV2DraftIssue{} - p.GetCreatedAt() - p = nil - p.GetCreatedAt() -} - -func TestProjectV2DraftIssue_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &ProjectV2DraftIssue{ID: &zeroValue} - p.GetID() - p = &ProjectV2DraftIssue{} - p.GetID() - p = nil - p.GetID() -} - -func TestProjectV2DraftIssue_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2DraftIssue{NodeID: &zeroValue} - p.GetNodeID() - p = &ProjectV2DraftIssue{} - p.GetNodeID() - p = nil - p.GetNodeID() -} - -func TestProjectV2DraftIssue_GetTitle(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2DraftIssue{Title: &zeroValue} - p.GetTitle() - p = &ProjectV2DraftIssue{} - p.GetTitle() - p = nil - p.GetTitle() -} - -func TestProjectV2DraftIssue_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &ProjectV2DraftIssue{UpdatedAt: &zeroValue} - p.GetUpdatedAt() - p = &ProjectV2DraftIssue{} - p.GetUpdatedAt() - p = nil - p.GetUpdatedAt() -} - -func TestProjectV2DraftIssue_GetUser(tt *testing.T) { - tt.Parallel() - p := &ProjectV2DraftIssue{} - p.GetUser() - p = nil - p.GetUser() -} - -func TestProjectV2Event_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2Event{Action: &zeroValue} - p.GetAction() - p = &ProjectV2Event{} - p.GetAction() - p = nil - p.GetAction() -} - -func TestProjectV2Event_GetInstallation(tt *testing.T) { - tt.Parallel() - p := &ProjectV2Event{} - p.GetInstallation() - p = nil - p.GetInstallation() -} - -func TestProjectV2Event_GetOrg(tt *testing.T) { - tt.Parallel() - p := &ProjectV2Event{} - p.GetOrg() - p = nil - p.GetOrg() -} - -func TestProjectV2Event_GetProjectsV2(tt *testing.T) { - tt.Parallel() - p := &ProjectV2Event{} - p.GetProjectsV2() - p = nil - p.GetProjectsV2() -} - -func TestProjectV2Event_GetSender(tt *testing.T) { - tt.Parallel() - p := &ProjectV2Event{} - p.GetSender() - p = nil - p.GetSender() -} - -func TestProjectV2Field_GetConfiguration(tt *testing.T) { - tt.Parallel() - p := &ProjectV2Field{} - p.GetConfiguration() - p = nil - p.GetConfiguration() -} - -func TestProjectV2Field_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &ProjectV2Field{CreatedAt: &zeroValue} - p.GetCreatedAt() - p = &ProjectV2Field{} - p.GetCreatedAt() - p = nil - p.GetCreatedAt() -} - -func TestProjectV2Field_GetDataType(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2Field{DataType: &zeroValue} - p.GetDataType() - p = &ProjectV2Field{} - p.GetDataType() - p = nil - p.GetDataType() -} - -func TestProjectV2Field_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &ProjectV2Field{ID: &zeroValue} - p.GetID() - p = &ProjectV2Field{} - p.GetID() - p = nil - p.GetID() -} - -func TestProjectV2Field_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2Field{Name: &zeroValue} - p.GetName() - p = &ProjectV2Field{} - p.GetName() - p = nil - p.GetName() -} - -func TestProjectV2Field_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2Field{NodeID: &zeroValue} - p.GetNodeID() - p = &ProjectV2Field{} - p.GetNodeID() - p = nil - 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 - p := &ProjectV2Field{ProjectURL: &zeroValue} - p.GetProjectURL() - p = &ProjectV2Field{} - p.GetProjectURL() - p = nil - p.GetProjectURL() -} - -func TestProjectV2Field_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &ProjectV2Field{UpdatedAt: &zeroValue} - p.GetUpdatedAt() - p = &ProjectV2Field{} - p.GetUpdatedAt() - p = nil - p.GetUpdatedAt() -} - -func TestProjectV2FieldConfiguration_GetDuration(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &ProjectV2FieldConfiguration{Duration: &zeroValue} - p.GetDuration() - p = &ProjectV2FieldConfiguration{} - p.GetDuration() - p = nil - 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 - p := &ProjectV2FieldConfiguration{StartDay: &zeroValue} - p.GetStartDay() - p = &ProjectV2FieldConfiguration{} - p.GetStartDay() - p = nil - p.GetStartDay() -} - -func TestProjectV2FieldIteration_GetDuration(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &ProjectV2FieldIteration{Duration: &zeroValue} - p.GetDuration() - p = &ProjectV2FieldIteration{} - p.GetDuration() - p = nil - p.GetDuration() -} - -func TestProjectV2FieldIteration_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2FieldIteration{ID: &zeroValue} - p.GetID() - p = &ProjectV2FieldIteration{} - p.GetID() - p = nil - p.GetID() -} - -func TestProjectV2FieldIteration_GetStartDate(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2FieldIteration{StartDate: &zeroValue} - p.GetStartDate() - p = &ProjectV2FieldIteration{} - p.GetStartDate() - p = nil - p.GetStartDate() -} - -func TestProjectV2FieldIteration_GetTitle(tt *testing.T) { - tt.Parallel() - p := &ProjectV2FieldIteration{} - p.GetTitle() - p = nil - p.GetTitle() -} - -func TestProjectV2FieldIterationConfiguration_GetDuration(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &ProjectV2FieldIterationConfiguration{Duration: &zeroValue} - p.GetDuration() - p = &ProjectV2FieldIterationConfiguration{} - p.GetDuration() - p = nil - p.GetDuration() -} - -func TestProjectV2FieldIterationConfiguration_GetIterations(tt *testing.T) { - tt.Parallel() - zeroValue := []*ProjectV2FieldIterationConfigurationIteration{} - p := &ProjectV2FieldIterationConfiguration{Iterations: zeroValue} - p.GetIterations() - p = &ProjectV2FieldIterationConfiguration{} - p.GetIterations() - p = nil - p.GetIterations() -} - -func TestProjectV2FieldIterationConfiguration_GetStartDate(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2FieldIterationConfiguration{StartDate: &zeroValue} - p.GetStartDate() - p = &ProjectV2FieldIterationConfiguration{} - p.GetStartDate() - p = nil - p.GetStartDate() -} - -func TestProjectV2FieldIterationConfigurationIteration_GetDuration(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &ProjectV2FieldIterationConfigurationIteration{Duration: &zeroValue} - p.GetDuration() - p = &ProjectV2FieldIterationConfigurationIteration{} - p.GetDuration() - p = nil - p.GetDuration() -} - -func TestProjectV2FieldIterationConfigurationIteration_GetStartDate(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2FieldIterationConfigurationIteration{StartDate: &zeroValue} - p.GetStartDate() - p = &ProjectV2FieldIterationConfigurationIteration{} - p.GetStartDate() - p = nil - p.GetStartDate() -} - -func TestProjectV2FieldIterationConfigurationIteration_GetTitle(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2FieldIterationConfigurationIteration{Title: &zeroValue} - p.GetTitle() - p = &ProjectV2FieldIterationConfigurationIteration{} - p.GetTitle() - p = nil - p.GetTitle() -} - -func TestProjectV2FieldOption_GetColor(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2FieldOption{Color: &zeroValue} - p.GetColor() - p = &ProjectV2FieldOption{} - p.GetColor() - p = nil - p.GetColor() -} - -func TestProjectV2FieldOption_GetDescription(tt *testing.T) { - tt.Parallel() - p := &ProjectV2FieldOption{} - p.GetDescription() - p = nil - p.GetDescription() -} - -func TestProjectV2FieldOption_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2FieldOption{ID: &zeroValue} - p.GetID() - p = &ProjectV2FieldOption{} - p.GetID() - p = nil - p.GetID() -} - -func TestProjectV2FieldOption_GetName(tt *testing.T) { - tt.Parallel() - p := &ProjectV2FieldOption{} - p.GetName() - p = nil - p.GetName() -} - -func TestProjectV2FieldSingleSelectOption_GetColor(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2FieldSingleSelectOption{Color: &zeroValue} - p.GetColor() - p = &ProjectV2FieldSingleSelectOption{} - p.GetColor() - p = nil - p.GetColor() -} - -func TestProjectV2FieldSingleSelectOption_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2FieldSingleSelectOption{Description: &zeroValue} - p.GetDescription() - p = &ProjectV2FieldSingleSelectOption{} - p.GetDescription() - p = nil - p.GetDescription() -} - -func TestProjectV2FieldSingleSelectOption_GetName(tt *testing.T) { - tt.Parallel() - p := &ProjectV2FieldSingleSelectOption{} - p.GetName() - p = nil - p.GetName() -} - -func TestProjectV2Item_GetArchivedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &ProjectV2Item{ArchivedAt: &zeroValue} - p.GetArchivedAt() - p = &ProjectV2Item{} - p.GetArchivedAt() - p = nil - p.GetArchivedAt() -} - -func TestProjectV2Item_GetContent(tt *testing.T) { - tt.Parallel() - p := &ProjectV2Item{} - p.GetContent() - p = nil - p.GetContent() -} - -func TestProjectV2Item_GetContentNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2Item{ContentNodeID: &zeroValue} - p.GetContentNodeID() - p = &ProjectV2Item{} - p.GetContentNodeID() - p = nil - p.GetContentNodeID() -} - -func TestProjectV2Item_GetContentType(tt *testing.T) { - tt.Parallel() - p := &ProjectV2Item{} - p.GetContentType() - p = nil - p.GetContentType() -} - -func TestProjectV2Item_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &ProjectV2Item{CreatedAt: &zeroValue} - p.GetCreatedAt() - p = &ProjectV2Item{} - p.GetCreatedAt() - p = nil - p.GetCreatedAt() -} - -func TestProjectV2Item_GetCreator(tt *testing.T) { - tt.Parallel() - p := &ProjectV2Item{} - p.GetCreator() - p = nil - 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 - p := &ProjectV2Item{ID: &zeroValue} - p.GetID() - p = &ProjectV2Item{} - p.GetID() - p = nil - p.GetID() -} - -func TestProjectV2Item_GetItemURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2Item{ItemURL: &zeroValue} - p.GetItemURL() - p = &ProjectV2Item{} - p.GetItemURL() - p = nil - p.GetItemURL() -} - -func TestProjectV2Item_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2Item{NodeID: &zeroValue} - p.GetNodeID() - p = &ProjectV2Item{} - p.GetNodeID() - p = nil - p.GetNodeID() -} - -func TestProjectV2Item_GetProjectNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2Item{ProjectNodeID: &zeroValue} - p.GetProjectNodeID() - p = &ProjectV2Item{} - p.GetProjectNodeID() - p = nil - p.GetProjectNodeID() -} - -func TestProjectV2Item_GetProjectURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2Item{ProjectURL: &zeroValue} - p.GetProjectURL() - p = &ProjectV2Item{} - p.GetProjectURL() - p = nil - p.GetProjectURL() -} - -func TestProjectV2Item_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &ProjectV2Item{UpdatedAt: &zeroValue} - p.GetUpdatedAt() - p = &ProjectV2Item{} - p.GetUpdatedAt() - p = nil - p.GetUpdatedAt() -} - -func TestProjectV2ItemChange_GetArchivedAt(tt *testing.T) { - tt.Parallel() - p := &ProjectV2ItemChange{} - p.GetArchivedAt() - p = nil - p.GetArchivedAt() -} - -func TestProjectV2ItemChange_GetFieldValue(tt *testing.T) { - tt.Parallel() - p := &ProjectV2ItemChange{} - p.GetFieldValue() - p = nil - p.GetFieldValue() -} - -func TestProjectV2ItemContent_GetDraftIssue(tt *testing.T) { - tt.Parallel() - p := &ProjectV2ItemContent{} - p.GetDraftIssue() - p = nil - p.GetDraftIssue() -} - -func TestProjectV2ItemContent_GetIssue(tt *testing.T) { - tt.Parallel() - p := &ProjectV2ItemContent{} - p.GetIssue() - p = nil - p.GetIssue() -} - -func TestProjectV2ItemContent_GetPullRequest(tt *testing.T) { - tt.Parallel() - p := &ProjectV2ItemContent{} - p.GetPullRequest() - p = nil - p.GetPullRequest() -} - -func TestProjectV2ItemEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2ItemEvent{Action: &zeroValue} - p.GetAction() - p = &ProjectV2ItemEvent{} - p.GetAction() - p = nil - p.GetAction() -} - -func TestProjectV2ItemEvent_GetChanges(tt *testing.T) { - tt.Parallel() - p := &ProjectV2ItemEvent{} - p.GetChanges() - p = nil - p.GetChanges() -} - -func TestProjectV2ItemEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - p := &ProjectV2ItemEvent{} - p.GetInstallation() - p = nil - p.GetInstallation() -} - -func TestProjectV2ItemEvent_GetOrg(tt *testing.T) { - tt.Parallel() - p := &ProjectV2ItemEvent{} - p.GetOrg() - p = nil - p.GetOrg() -} - -func TestProjectV2ItemEvent_GetProjectV2Item(tt *testing.T) { - tt.Parallel() - p := &ProjectV2ItemEvent{} - p.GetProjectV2Item() - p = nil - p.GetProjectV2Item() -} - -func TestProjectV2ItemEvent_GetSender(tt *testing.T) { - tt.Parallel() - p := &ProjectV2ItemEvent{} - p.GetSender() - p = nil - p.GetSender() -} - -func TestProjectV2ItemFieldValue_GetDataType(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2ItemFieldValue{DataType: &zeroValue} - p.GetDataType() - p = &ProjectV2ItemFieldValue{} - p.GetDataType() - p = nil - p.GetDataType() -} - -func TestProjectV2ItemFieldValue_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &ProjectV2ItemFieldValue{ID: &zeroValue} - p.GetID() - p = &ProjectV2ItemFieldValue{} - p.GetID() - p = nil - p.GetID() -} - -func TestProjectV2ItemFieldValue_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2ItemFieldValue{Name: &zeroValue} - p.GetName() - p = &ProjectV2ItemFieldValue{} - p.GetName() - p = nil - 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 - p := &ProjectV2StatusUpdate{Body: &zeroValue} - p.GetBody() - p = &ProjectV2StatusUpdate{} - p.GetBody() - p = nil - p.GetBody() -} - -func TestProjectV2StatusUpdate_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &ProjectV2StatusUpdate{CreatedAt: &zeroValue} - p.GetCreatedAt() - p = &ProjectV2StatusUpdate{} - p.GetCreatedAt() - p = nil - p.GetCreatedAt() -} - -func TestProjectV2StatusUpdate_GetCreator(tt *testing.T) { - tt.Parallel() - p := &ProjectV2StatusUpdate{} - p.GetCreator() - p = nil - p.GetCreator() -} - -func TestProjectV2StatusUpdate_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &ProjectV2StatusUpdate{ID: &zeroValue} - p.GetID() - p = &ProjectV2StatusUpdate{} - p.GetID() - p = nil - p.GetID() -} - -func TestProjectV2StatusUpdate_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2StatusUpdate{NodeID: &zeroValue} - p.GetNodeID() - p = &ProjectV2StatusUpdate{} - p.GetNodeID() - p = nil - p.GetNodeID() -} - -func TestProjectV2StatusUpdate_GetProjectNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2StatusUpdate{ProjectNodeID: &zeroValue} - p.GetProjectNodeID() - p = &ProjectV2StatusUpdate{} - p.GetProjectNodeID() - p = nil - p.GetProjectNodeID() -} - -func TestProjectV2StatusUpdate_GetStartDate(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2StatusUpdate{StartDate: &zeroValue} - p.GetStartDate() - p = &ProjectV2StatusUpdate{} - p.GetStartDate() - p = nil - p.GetStartDate() -} - -func TestProjectV2StatusUpdate_GetStatus(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2StatusUpdate{Status: &zeroValue} - p.GetStatus() - p = &ProjectV2StatusUpdate{} - p.GetStatus() - p = nil - p.GetStatus() -} - -func TestProjectV2StatusUpdate_GetTargetDate(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2StatusUpdate{TargetDate: &zeroValue} - p.GetTargetDate() - p = &ProjectV2StatusUpdate{} - p.GetTargetDate() - p = nil - p.GetTargetDate() -} - -func TestProjectV2StatusUpdate_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &ProjectV2StatusUpdate{UpdatedAt: &zeroValue} - p.GetUpdatedAt() - p = &ProjectV2StatusUpdate{} - p.GetUpdatedAt() - p = nil - p.GetUpdatedAt() -} - -func TestProjectV2TextContent_GetHTML(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2TextContent{HTML: &zeroValue} - p.GetHTML() - p = &ProjectV2TextContent{} - p.GetHTML() - p = nil - p.GetHTML() -} - -func TestProjectV2TextContent_GetRaw(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2TextContent{Raw: &zeroValue} - p.GetRaw() - p = &ProjectV2TextContent{} - p.GetRaw() - p = nil - p.GetRaw() -} - -func TestProjectV2View_GetCreatedAt(tt *testing.T) { - tt.Parallel() - p := &ProjectV2View{} - p.GetCreatedAt() - p = nil - p.GetCreatedAt() -} - -func TestProjectV2View_GetCreator(tt *testing.T) { - tt.Parallel() - p := &ProjectV2View{} - p.GetCreator() - p = nil - p.GetCreator() -} - -func TestProjectV2View_GetFilter(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2View{Filter: &zeroValue} - p.GetFilter() - p = &ProjectV2View{} - p.GetFilter() - p = nil - p.GetFilter() -} - -func TestProjectV2View_GetGroupBy(tt *testing.T) { - tt.Parallel() - zeroValue := []int64{} - p := &ProjectV2View{GroupBy: zeroValue} - p.GetGroupBy() - p = &ProjectV2View{} - p.GetGroupBy() - p = nil - p.GetGroupBy() -} - -func TestProjectV2View_GetHTMLURL(tt *testing.T) { - tt.Parallel() - p := &ProjectV2View{} - p.GetHTMLURL() - p = nil - p.GetHTMLURL() -} - -func TestProjectV2View_GetID(tt *testing.T) { - tt.Parallel() - p := &ProjectV2View{} - p.GetID() - p = nil - p.GetID() -} - -func TestProjectV2View_GetLayout(tt *testing.T) { - tt.Parallel() - p := &ProjectV2View{} - p.GetLayout() - p = nil - p.GetLayout() -} - -func TestProjectV2View_GetName(tt *testing.T) { - tt.Parallel() - p := &ProjectV2View{} - p.GetName() - p = nil - p.GetName() -} - -func TestProjectV2View_GetNodeID(tt *testing.T) { - tt.Parallel() - p := &ProjectV2View{} - p.GetNodeID() - p = nil - p.GetNodeID() -} - -func TestProjectV2View_GetNumber(tt *testing.T) { - tt.Parallel() - p := &ProjectV2View{} - p.GetNumber() - p = nil - p.GetNumber() -} - -func TestProjectV2View_GetProjectURL(tt *testing.T) { - tt.Parallel() - p := &ProjectV2View{} - p.GetProjectURL() - p = nil - p.GetProjectURL() -} - -func TestProjectV2View_GetSortBy(tt *testing.T) { - tt.Parallel() - zeroValue := []*ProjectV2ViewSortBy{} - p := &ProjectV2View{SortBy: zeroValue} - p.GetSortBy() - p = &ProjectV2View{} - p.GetSortBy() - p = nil - p.GetSortBy() -} - -func TestProjectV2View_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - p := &ProjectV2View{} - p.GetUpdatedAt() - p = nil - p.GetUpdatedAt() -} - -func TestProjectV2View_GetVerticalGroupBy(tt *testing.T) { - tt.Parallel() - zeroValue := []int64{} - p := &ProjectV2View{VerticalGroupBy: zeroValue} - p.GetVerticalGroupBy() - p = &ProjectV2View{} - p.GetVerticalGroupBy() - p = nil - p.GetVerticalGroupBy() -} - -func TestProjectV2View_GetVisibleFields(tt *testing.T) { - tt.Parallel() - zeroValue := []int64{} - p := &ProjectV2View{VisibleFields: zeroValue} - p.GetVisibleFields() - p = &ProjectV2View{} - p.GetVisibleFields() - p = nil - p.GetVisibleFields() -} - -func TestProjectV2ViewSortBy_GetDirection(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProjectV2ViewSortBy{Direction: &zeroValue} - p.GetDirection() - p = &ProjectV2ViewSortBy{} - p.GetDirection() - p = nil - p.GetDirection() -} - -func TestProjectV2ViewSortBy_GetFieldID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &ProjectV2ViewSortBy{FieldID: &zeroValue} - p.GetFieldID() - p = &ProjectV2ViewSortBy{} - p.GetFieldID() - p = nil - p.GetFieldID() -} - -func TestProtection_GetAllowDeletions(tt *testing.T) { - tt.Parallel() - p := &Protection{} - p.GetAllowDeletions() - p = nil - p.GetAllowDeletions() -} - -func TestProtection_GetAllowForcePushes(tt *testing.T) { - tt.Parallel() - p := &Protection{} - p.GetAllowForcePushes() - p = nil - p.GetAllowForcePushes() -} - -func TestProtection_GetAllowForkSyncing(tt *testing.T) { - tt.Parallel() - p := &Protection{} - p.GetAllowForkSyncing() - p = nil - p.GetAllowForkSyncing() -} - -func TestProtection_GetBlockCreations(tt *testing.T) { - tt.Parallel() - p := &Protection{} - p.GetBlockCreations() - p = nil - p.GetBlockCreations() -} - -func TestProtection_GetEnforceAdmins(tt *testing.T) { - tt.Parallel() - p := &Protection{} - p.GetEnforceAdmins() - p = nil - p.GetEnforceAdmins() -} - -func TestProtection_GetLockBranch(tt *testing.T) { - tt.Parallel() - p := &Protection{} - p.GetLockBranch() - p = nil - p.GetLockBranch() -} - -func TestProtection_GetRequiredConversationResolution(tt *testing.T) { - tt.Parallel() - p := &Protection{} - p.GetRequiredConversationResolution() - p = nil - p.GetRequiredConversationResolution() -} - -func TestProtection_GetRequiredPullRequestReviews(tt *testing.T) { - tt.Parallel() - p := &Protection{} - p.GetRequiredPullRequestReviews() - p = nil - p.GetRequiredPullRequestReviews() -} - -func TestProtection_GetRequiredSignatures(tt *testing.T) { - tt.Parallel() - p := &Protection{} - p.GetRequiredSignatures() - p = nil - p.GetRequiredSignatures() -} - -func TestProtection_GetRequiredStatusChecks(tt *testing.T) { - tt.Parallel() - p := &Protection{} - p.GetRequiredStatusChecks() - p = nil - p.GetRequiredStatusChecks() -} - -func TestProtection_GetRequireLinearHistory(tt *testing.T) { - tt.Parallel() - p := &Protection{} - p.GetRequireLinearHistory() - p = nil - p.GetRequireLinearHistory() -} - -func TestProtection_GetRestrictions(tt *testing.T) { - tt.Parallel() - p := &Protection{} - p.GetRestrictions() - p = nil - p.GetRestrictions() -} - -func TestProtection_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &Protection{URL: &zeroValue} - p.GetURL() - p = &Protection{} - p.GetURL() - p = nil - p.GetURL() -} - -func TestProtectionChanges_GetAdminEnforced(tt *testing.T) { - tt.Parallel() - p := &ProtectionChanges{} - p.GetAdminEnforced() - p = nil - p.GetAdminEnforced() -} - -func TestProtectionChanges_GetAllowDeletionsEnforcementLevel(tt *testing.T) { - tt.Parallel() - p := &ProtectionChanges{} - p.GetAllowDeletionsEnforcementLevel() - p = nil - p.GetAllowDeletionsEnforcementLevel() -} - -func TestProtectionChanges_GetAuthorizedActorNames(tt *testing.T) { - tt.Parallel() - p := &ProtectionChanges{} - p.GetAuthorizedActorNames() - p = nil - p.GetAuthorizedActorNames() -} - -func TestProtectionChanges_GetAuthorizedActorsOnly(tt *testing.T) { - tt.Parallel() - p := &ProtectionChanges{} - p.GetAuthorizedActorsOnly() - p = nil - p.GetAuthorizedActorsOnly() -} - -func TestProtectionChanges_GetAuthorizedDismissalActorsOnly(tt *testing.T) { - tt.Parallel() - p := &ProtectionChanges{} - p.GetAuthorizedDismissalActorsOnly() - p = nil - p.GetAuthorizedDismissalActorsOnly() -} - -func TestProtectionChanges_GetCreateProtected(tt *testing.T) { - tt.Parallel() - p := &ProtectionChanges{} - p.GetCreateProtected() - p = nil - p.GetCreateProtected() -} - -func TestProtectionChanges_GetDismissStaleReviewsOnPush(tt *testing.T) { - tt.Parallel() - p := &ProtectionChanges{} - p.GetDismissStaleReviewsOnPush() - p = nil - p.GetDismissStaleReviewsOnPush() -} - -func TestProtectionChanges_GetLinearHistoryRequirementEnforcementLevel(tt *testing.T) { - tt.Parallel() - p := &ProtectionChanges{} - p.GetLinearHistoryRequirementEnforcementLevel() - p = nil - p.GetLinearHistoryRequirementEnforcementLevel() -} - -func TestProtectionChanges_GetPullRequestReviewsEnforcementLevel(tt *testing.T) { - tt.Parallel() - p := &ProtectionChanges{} - p.GetPullRequestReviewsEnforcementLevel() - p = nil - p.GetPullRequestReviewsEnforcementLevel() -} - -func TestProtectionChanges_GetRequireCodeOwnerReview(tt *testing.T) { - tt.Parallel() - p := &ProtectionChanges{} - p.GetRequireCodeOwnerReview() - p = nil - p.GetRequireCodeOwnerReview() -} - -func TestProtectionChanges_GetRequiredConversationResolutionLevel(tt *testing.T) { - tt.Parallel() - p := &ProtectionChanges{} - p.GetRequiredConversationResolutionLevel() - p = nil - p.GetRequiredConversationResolutionLevel() -} - -func TestProtectionChanges_GetRequiredDeploymentsEnforcementLevel(tt *testing.T) { - tt.Parallel() - p := &ProtectionChanges{} - p.GetRequiredDeploymentsEnforcementLevel() - p = nil - p.GetRequiredDeploymentsEnforcementLevel() -} - -func TestProtectionChanges_GetRequiredStatusChecks(tt *testing.T) { - tt.Parallel() - p := &ProtectionChanges{} - p.GetRequiredStatusChecks() - p = nil - p.GetRequiredStatusChecks() -} - -func TestProtectionChanges_GetRequiredStatusChecksEnforcementLevel(tt *testing.T) { - tt.Parallel() - p := &ProtectionChanges{} - p.GetRequiredStatusChecksEnforcementLevel() - p = nil - p.GetRequiredStatusChecksEnforcementLevel() -} - -func TestProtectionChanges_GetRequireLastPushApproval(tt *testing.T) { - tt.Parallel() - p := &ProtectionChanges{} - p.GetRequireLastPushApproval() - p = nil - p.GetRequireLastPushApproval() -} - -func TestProtectionChanges_GetSignatureRequirementEnforcementLevel(tt *testing.T) { - tt.Parallel() - p := &ProtectionChanges{} - p.GetSignatureRequirementEnforcementLevel() - p = nil - p.GetSignatureRequirementEnforcementLevel() -} - -func TestProtectionRequest_GetAllowDeletions(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &ProtectionRequest{AllowDeletions: &zeroValue} - p.GetAllowDeletions() - p = &ProtectionRequest{} - p.GetAllowDeletions() - p = nil - p.GetAllowDeletions() -} - -func TestProtectionRequest_GetAllowForcePushes(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &ProtectionRequest{AllowForcePushes: &zeroValue} - p.GetAllowForcePushes() - p = &ProtectionRequest{} - p.GetAllowForcePushes() - p = nil - p.GetAllowForcePushes() -} - -func TestProtectionRequest_GetAllowForkSyncing(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &ProtectionRequest{AllowForkSyncing: &zeroValue} - p.GetAllowForkSyncing() - p = &ProtectionRequest{} - p.GetAllowForkSyncing() - p = nil - p.GetAllowForkSyncing() -} - -func TestProtectionRequest_GetBlockCreations(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &ProtectionRequest{BlockCreations: &zeroValue} - p.GetBlockCreations() - p = &ProtectionRequest{} - p.GetBlockCreations() - p = nil - 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 - p := &ProtectionRequest{LockBranch: &zeroValue} - p.GetLockBranch() - p = &ProtectionRequest{} - p.GetLockBranch() - p = nil - p.GetLockBranch() -} - -func TestProtectionRequest_GetRequiredConversationResolution(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &ProtectionRequest{RequiredConversationResolution: &zeroValue} - p.GetRequiredConversationResolution() - p = &ProtectionRequest{} - p.GetRequiredConversationResolution() - p = nil - p.GetRequiredConversationResolution() -} - -func TestProtectionRequest_GetRequiredPullRequestReviews(tt *testing.T) { - tt.Parallel() - p := &ProtectionRequest{} - p.GetRequiredPullRequestReviews() - p = nil - p.GetRequiredPullRequestReviews() -} - -func TestProtectionRequest_GetRequiredStatusChecks(tt *testing.T) { - tt.Parallel() - p := &ProtectionRequest{} - p.GetRequiredStatusChecks() - p = nil - p.GetRequiredStatusChecks() -} - -func TestProtectionRequest_GetRequireLinearHistory(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &ProtectionRequest{RequireLinearHistory: &zeroValue} - p.GetRequireLinearHistory() - p = &ProtectionRequest{} - p.GetRequireLinearHistory() - p = nil - p.GetRequireLinearHistory() -} - -func TestProtectionRequest_GetRestrictions(tt *testing.T) { - tt.Parallel() - p := &ProtectionRequest{} - p.GetRestrictions() - p = nil - p.GetRestrictions() -} - -func TestProtectionRule_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &ProtectionRule{ID: &zeroValue} - p.GetID() - p = &ProtectionRule{} - p.GetID() - p = nil - p.GetID() -} - -func TestProtectionRule_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &ProtectionRule{NodeID: &zeroValue} - p.GetNodeID() - p = &ProtectionRule{} - p.GetNodeID() - p = nil - p.GetNodeID() -} - -func TestProtectionRule_GetPreventSelfReview(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &ProtectionRule{PreventSelfReview: &zeroValue} - p.GetPreventSelfReview() - p = &ProtectionRule{} - p.GetPreventSelfReview() - p = nil - 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 - p := &ProtectionRule{Type: &zeroValue} - p.GetType() - p = &ProtectionRule{} - p.GetType() - p = nil - p.GetType() -} - -func TestProtectionRule_GetWaitTimer(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &ProtectionRule{WaitTimer: &zeroValue} - p.GetWaitTimer() - p = &ProtectionRule{} - p.GetWaitTimer() - p = nil - p.GetWaitTimer() -} - -func TestPublicEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - p := &PublicEvent{} - p.GetInstallation() - p = nil - p.GetInstallation() -} - -func TestPublicEvent_GetOrg(tt *testing.T) { - tt.Parallel() - p := &PublicEvent{} - p.GetOrg() - p = nil - p.GetOrg() -} - -func TestPublicEvent_GetRepo(tt *testing.T) { - tt.Parallel() - p := &PublicEvent{} - p.GetRepo() - p = nil - p.GetRepo() -} - -func TestPublicEvent_GetSender(tt *testing.T) { - tt.Parallel() - p := &PublicEvent{} - p.GetSender() - p = nil - 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 - p := &PublicKey{Key: &zeroValue} - p.GetKey() - p = &PublicKey{} - p.GetKey() - p = nil - p.GetKey() -} - -func TestPublicKey_GetKeyID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PublicKey{KeyID: &zeroValue} - p.GetKeyID() - p = &PublicKey{} - p.GetKeyID() - p = nil - p.GetKeyID() -} - -func TestPublishCodespaceOptions_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PublishCodespaceOptions{Name: &zeroValue} - p.GetName() - p = &PublishCodespaceOptions{} - p.GetName() - p = nil - p.GetName() -} - -func TestPublishCodespaceOptions_GetPrivate(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PublishCodespaceOptions{Private: &zeroValue} - p.GetPrivate() - p = &PublishCodespaceOptions{} - p.GetPrivate() - p = nil - p.GetPrivate() -} - -func TestPullRequest_GetActiveLockReason(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequest{ActiveLockReason: &zeroValue} - p.GetActiveLockReason() - p = &PullRequest{} - p.GetActiveLockReason() - p = nil - p.GetActiveLockReason() -} - -func TestPullRequest_GetAdditions(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PullRequest{Additions: &zeroValue} - p.GetAdditions() - p = &PullRequest{} - p.GetAdditions() - p = nil - p.GetAdditions() -} - -func TestPullRequest_GetAssignee(tt *testing.T) { - tt.Parallel() - p := &PullRequest{} - p.GetAssignee() - p = nil - 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 - p := &PullRequest{AuthorAssociation: &zeroValue} - p.GetAuthorAssociation() - p = &PullRequest{} - p.GetAuthorAssociation() - p = nil - p.GetAuthorAssociation() -} - -func TestPullRequest_GetAutoMerge(tt *testing.T) { - tt.Parallel() - p := &PullRequest{} - p.GetAutoMerge() - p = nil - p.GetAutoMerge() -} - -func TestPullRequest_GetBase(tt *testing.T) { - tt.Parallel() - p := &PullRequest{} - p.GetBase() - p = nil - p.GetBase() -} - -func TestPullRequest_GetBody(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequest{Body: &zeroValue} - p.GetBody() - p = &PullRequest{} - p.GetBody() - p = nil - p.GetBody() -} - -func TestPullRequest_GetChangedFiles(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PullRequest{ChangedFiles: &zeroValue} - p.GetChangedFiles() - p = &PullRequest{} - p.GetChangedFiles() - p = nil - p.GetChangedFiles() -} - -func TestPullRequest_GetClosedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PullRequest{ClosedAt: &zeroValue} - p.GetClosedAt() - p = &PullRequest{} - p.GetClosedAt() - p = nil - p.GetClosedAt() -} - -func TestPullRequest_GetComments(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PullRequest{Comments: &zeroValue} - p.GetComments() - p = &PullRequest{} - p.GetComments() - p = nil - p.GetComments() -} - -func TestPullRequest_GetCommentsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequest{CommentsURL: &zeroValue} - p.GetCommentsURL() - p = &PullRequest{} - p.GetCommentsURL() - p = nil - p.GetCommentsURL() -} - -func TestPullRequest_GetCommits(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PullRequest{Commits: &zeroValue} - p.GetCommits() - p = &PullRequest{} - p.GetCommits() - p = nil - p.GetCommits() -} - -func TestPullRequest_GetCommitsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequest{CommitsURL: &zeroValue} - p.GetCommitsURL() - p = &PullRequest{} - p.GetCommitsURL() - p = nil - p.GetCommitsURL() -} - -func TestPullRequest_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PullRequest{CreatedAt: &zeroValue} - p.GetCreatedAt() - p = &PullRequest{} - p.GetCreatedAt() - p = nil - p.GetCreatedAt() -} - -func TestPullRequest_GetDeletions(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PullRequest{Deletions: &zeroValue} - p.GetDeletions() - p = &PullRequest{} - p.GetDeletions() - p = nil - p.GetDeletions() -} - -func TestPullRequest_GetDiffURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequest{DiffURL: &zeroValue} - p.GetDiffURL() - p = &PullRequest{} - p.GetDiffURL() - p = nil - p.GetDiffURL() -} - -func TestPullRequest_GetDraft(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PullRequest{Draft: &zeroValue} - p.GetDraft() - p = &PullRequest{} - p.GetDraft() - p = nil - p.GetDraft() -} - -func TestPullRequest_GetHead(tt *testing.T) { - tt.Parallel() - p := &PullRequest{} - p.GetHead() - p = nil - p.GetHead() -} - -func TestPullRequest_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequest{HTMLURL: &zeroValue} - p.GetHTMLURL() - p = &PullRequest{} - p.GetHTMLURL() - p = nil - p.GetHTMLURL() -} - -func TestPullRequest_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &PullRequest{ID: &zeroValue} - p.GetID() - p = &PullRequest{} - p.GetID() - p = nil - p.GetID() -} - -func TestPullRequest_GetIssueURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequest{IssueURL: &zeroValue} - p.GetIssueURL() - p = &PullRequest{} - p.GetIssueURL() - p = nil - 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{} - p.GetLinks() - p = nil - p.GetLinks() -} - -func TestPullRequest_GetLocked(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PullRequest{Locked: &zeroValue} - p.GetLocked() - p = &PullRequest{} - p.GetLocked() - p = nil - p.GetLocked() -} - -func TestPullRequest_GetMaintainerCanModify(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PullRequest{MaintainerCanModify: &zeroValue} - p.GetMaintainerCanModify() - p = &PullRequest{} - p.GetMaintainerCanModify() - p = nil - p.GetMaintainerCanModify() -} - -func TestPullRequest_GetMergeable(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PullRequest{Mergeable: &zeroValue} - p.GetMergeable() - p = &PullRequest{} - p.GetMergeable() - p = nil - p.GetMergeable() -} - -func TestPullRequest_GetMergeableState(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequest{MergeableState: &zeroValue} - p.GetMergeableState() - p = &PullRequest{} - p.GetMergeableState() - p = nil - p.GetMergeableState() -} - -func TestPullRequest_GetMergeCommitSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequest{MergeCommitSHA: &zeroValue} - p.GetMergeCommitSHA() - p = &PullRequest{} - p.GetMergeCommitSHA() - p = nil - p.GetMergeCommitSHA() -} - -func TestPullRequest_GetMerged(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PullRequest{Merged: &zeroValue} - p.GetMerged() - p = &PullRequest{} - p.GetMerged() - p = nil - p.GetMerged() -} - -func TestPullRequest_GetMergedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PullRequest{MergedAt: &zeroValue} - p.GetMergedAt() - p = &PullRequest{} - p.GetMergedAt() - p = nil - p.GetMergedAt() -} - -func TestPullRequest_GetMergedBy(tt *testing.T) { - tt.Parallel() - p := &PullRequest{} - p.GetMergedBy() - p = nil - p.GetMergedBy() -} - -func TestPullRequest_GetMilestone(tt *testing.T) { - tt.Parallel() - p := &PullRequest{} - p.GetMilestone() - p = nil - p.GetMilestone() -} - -func TestPullRequest_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequest{NodeID: &zeroValue} - p.GetNodeID() - p = &PullRequest{} - p.GetNodeID() - p = nil - p.GetNodeID() -} - -func TestPullRequest_GetNumber(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PullRequest{Number: &zeroValue} - p.GetNumber() - p = &PullRequest{} - p.GetNumber() - p = nil - p.GetNumber() -} - -func TestPullRequest_GetPatchURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequest{PatchURL: &zeroValue} - p.GetPatchURL() - p = &PullRequest{} - p.GetPatchURL() - p = nil - p.GetPatchURL() -} - -func TestPullRequest_GetRebaseable(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PullRequest{Rebaseable: &zeroValue} - p.GetRebaseable() - p = &PullRequest{} - p.GetRebaseable() - p = nil - 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 - p := &PullRequest{ReviewComments: &zeroValue} - p.GetReviewComments() - p = &PullRequest{} - p.GetReviewComments() - p = nil - p.GetReviewComments() -} - -func TestPullRequest_GetReviewCommentsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequest{ReviewCommentsURL: &zeroValue} - p.GetReviewCommentsURL() - p = &PullRequest{} - p.GetReviewCommentsURL() - p = nil - p.GetReviewCommentsURL() -} - -func TestPullRequest_GetReviewCommentURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequest{ReviewCommentURL: &zeroValue} - p.GetReviewCommentURL() - p = &PullRequest{} - p.GetReviewCommentURL() - p = nil - p.GetReviewCommentURL() -} - -func TestPullRequest_GetStack(tt *testing.T) { - tt.Parallel() - p := &PullRequest{} - p.GetStack() - p = nil - p.GetStack() -} - -func TestPullRequest_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequest{State: &zeroValue} - p.GetState() - p = &PullRequest{} - p.GetState() - p = nil - p.GetState() -} - -func TestPullRequest_GetStatusesURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequest{StatusesURL: &zeroValue} - p.GetStatusesURL() - p = &PullRequest{} - p.GetStatusesURL() - p = nil - p.GetStatusesURL() -} - -func TestPullRequest_GetTitle(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequest{Title: &zeroValue} - p.GetTitle() - p = &PullRequest{} - p.GetTitle() - p = nil - p.GetTitle() -} - -func TestPullRequest_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PullRequest{UpdatedAt: &zeroValue} - p.GetUpdatedAt() - p = &PullRequest{} - p.GetUpdatedAt() - p = nil - p.GetUpdatedAt() -} - -func TestPullRequest_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequest{URL: &zeroValue} - p.GetURL() - p = &PullRequest{} - p.GetURL() - p = nil - p.GetURL() -} - -func TestPullRequest_GetUser(tt *testing.T) { - tt.Parallel() - p := &PullRequest{} - p.GetUser() - p = nil - p.GetUser() -} - -func TestPullRequestAutoMerge_GetCommitMessage(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestAutoMerge{CommitMessage: &zeroValue} - p.GetCommitMessage() - p = &PullRequestAutoMerge{} - p.GetCommitMessage() - p = nil - p.GetCommitMessage() -} - -func TestPullRequestAutoMerge_GetCommitTitle(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestAutoMerge{CommitTitle: &zeroValue} - p.GetCommitTitle() - p = &PullRequestAutoMerge{} - p.GetCommitTitle() - p = nil - p.GetCommitTitle() -} - -func TestPullRequestAutoMerge_GetEnabledBy(tt *testing.T) { - tt.Parallel() - p := &PullRequestAutoMerge{} - p.GetEnabledBy() - p = nil - p.GetEnabledBy() -} - -func TestPullRequestAutoMerge_GetMergeMethod(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestAutoMerge{MergeMethod: &zeroValue} - p.GetMergeMethod() - p = &PullRequestAutoMerge{} - p.GetMergeMethod() - p = nil - p.GetMergeMethod() -} - -func TestPullRequestBranch_GetLabel(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestBranch{Label: &zeroValue} - p.GetLabel() - p = &PullRequestBranch{} - p.GetLabel() - p = nil - p.GetLabel() -} - -func TestPullRequestBranch_GetRef(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestBranch{Ref: &zeroValue} - p.GetRef() - p = &PullRequestBranch{} - p.GetRef() - p = nil - p.GetRef() -} - -func TestPullRequestBranch_GetRepo(tt *testing.T) { - tt.Parallel() - p := &PullRequestBranch{} - p.GetRepo() - p = nil - p.GetRepo() -} - -func TestPullRequestBranch_GetSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestBranch{SHA: &zeroValue} - p.GetSHA() - p = &PullRequestBranch{} - p.GetSHA() - p = nil - p.GetSHA() -} - -func TestPullRequestBranch_GetUser(tt *testing.T) { - tt.Parallel() - p := &PullRequestBranch{} - p.GetUser() - p = nil - 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 - p := &PullRequestBranchUpdateOptions{ExpectedHeadSHA: &zeroValue} - p.GetExpectedHeadSHA() - p = &PullRequestBranchUpdateOptions{} - p.GetExpectedHeadSHA() - p = nil - p.GetExpectedHeadSHA() -} - -func TestPullRequestBranchUpdateResponse_GetMessage(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestBranchUpdateResponse{Message: &zeroValue} - p.GetMessage() - p = &PullRequestBranchUpdateResponse{} - p.GetMessage() - p = nil - p.GetMessage() -} - -func TestPullRequestBranchUpdateResponse_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestBranchUpdateResponse{URL: &zeroValue} - p.GetURL() - p = &PullRequestBranchUpdateResponse{} - p.GetURL() - p = nil - p.GetURL() -} - -func TestPullRequestComment_GetAuthorAssociation(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestComment{AuthorAssociation: &zeroValue} - p.GetAuthorAssociation() - p = &PullRequestComment{} - p.GetAuthorAssociation() - p = nil - p.GetAuthorAssociation() -} - -func TestPullRequestComment_GetBody(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestComment{Body: &zeroValue} - p.GetBody() - p = &PullRequestComment{} - p.GetBody() - p = nil - p.GetBody() -} - -func TestPullRequestComment_GetBodyHTML(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestComment{BodyHTML: &zeroValue} - p.GetBodyHTML() - p = &PullRequestComment{} - p.GetBodyHTML() - p = nil - p.GetBodyHTML() -} - -func TestPullRequestComment_GetBodyText(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestComment{BodyText: &zeroValue} - p.GetBodyText() - p = &PullRequestComment{} - p.GetBodyText() - p = nil - p.GetBodyText() -} - -func TestPullRequestComment_GetCommitID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestComment{CommitID: &zeroValue} - p.GetCommitID() - p = &PullRequestComment{} - p.GetCommitID() - p = nil - p.GetCommitID() -} - -func TestPullRequestComment_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PullRequestComment{CreatedAt: &zeroValue} - p.GetCreatedAt() - p = &PullRequestComment{} - p.GetCreatedAt() - p = nil - p.GetCreatedAt() -} - -func TestPullRequestComment_GetDiffHunk(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestComment{DiffHunk: &zeroValue} - p.GetDiffHunk() - p = &PullRequestComment{} - p.GetDiffHunk() - p = nil - p.GetDiffHunk() -} - -func TestPullRequestComment_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestComment{HTMLURL: &zeroValue} - p.GetHTMLURL() - p = &PullRequestComment{} - p.GetHTMLURL() - p = nil - p.GetHTMLURL() -} - -func TestPullRequestComment_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &PullRequestComment{ID: &zeroValue} - p.GetID() - p = &PullRequestComment{} - p.GetID() - p = nil - p.GetID() -} - -func TestPullRequestComment_GetInReplyTo(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &PullRequestComment{InReplyTo: &zeroValue} - p.GetInReplyTo() - p = &PullRequestComment{} - p.GetInReplyTo() - p = nil - p.GetInReplyTo() -} - -func TestPullRequestComment_GetLine(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PullRequestComment{Line: &zeroValue} - p.GetLine() - p = &PullRequestComment{} - p.GetLine() - p = nil - p.GetLine() -} - -func TestPullRequestComment_GetLinks(tt *testing.T) { - tt.Parallel() - p := &PullRequestComment{} - p.GetLinks() - p = nil - p.GetLinks() -} - -func TestPullRequestComment_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestComment{NodeID: &zeroValue} - p.GetNodeID() - p = &PullRequestComment{} - p.GetNodeID() - p = nil - p.GetNodeID() -} - -func TestPullRequestComment_GetOriginalCommitID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestComment{OriginalCommitID: &zeroValue} - p.GetOriginalCommitID() - p = &PullRequestComment{} - p.GetOriginalCommitID() - p = nil - p.GetOriginalCommitID() -} - -func TestPullRequestComment_GetOriginalLine(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PullRequestComment{OriginalLine: &zeroValue} - p.GetOriginalLine() - p = &PullRequestComment{} - p.GetOriginalLine() - p = nil - p.GetOriginalLine() -} - -func TestPullRequestComment_GetOriginalPosition(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PullRequestComment{OriginalPosition: &zeroValue} - p.GetOriginalPosition() - p = &PullRequestComment{} - p.GetOriginalPosition() - p = nil - p.GetOriginalPosition() -} - -func TestPullRequestComment_GetOriginalStartLine(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PullRequestComment{OriginalStartLine: &zeroValue} - p.GetOriginalStartLine() - p = &PullRequestComment{} - p.GetOriginalStartLine() - p = nil - p.GetOriginalStartLine() -} - -func TestPullRequestComment_GetPath(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestComment{Path: &zeroValue} - p.GetPath() - p = &PullRequestComment{} - p.GetPath() - p = nil - p.GetPath() -} - -func TestPullRequestComment_GetPosition(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PullRequestComment{Position: &zeroValue} - p.GetPosition() - p = &PullRequestComment{} - p.GetPosition() - p = nil - p.GetPosition() -} - -func TestPullRequestComment_GetPullRequestReviewID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &PullRequestComment{PullRequestReviewID: &zeroValue} - p.GetPullRequestReviewID() - p = &PullRequestComment{} - p.GetPullRequestReviewID() - p = nil - p.GetPullRequestReviewID() -} - -func TestPullRequestComment_GetPullRequestURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestComment{PullRequestURL: &zeroValue} - p.GetPullRequestURL() - p = &PullRequestComment{} - p.GetPullRequestURL() - p = nil - p.GetPullRequestURL() -} - -func TestPullRequestComment_GetReactions(tt *testing.T) { - tt.Parallel() - p := &PullRequestComment{} - p.GetReactions() - p = nil - p.GetReactions() -} - -func TestPullRequestComment_GetSide(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestComment{Side: &zeroValue} - p.GetSide() - p = &PullRequestComment{} - p.GetSide() - p = nil - p.GetSide() -} - -func TestPullRequestComment_GetStartLine(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PullRequestComment{StartLine: &zeroValue} - p.GetStartLine() - p = &PullRequestComment{} - p.GetStartLine() - p = nil - p.GetStartLine() -} - -func TestPullRequestComment_GetStartSide(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestComment{StartSide: &zeroValue} - p.GetStartSide() - p = &PullRequestComment{} - p.GetStartSide() - p = nil - p.GetStartSide() -} - -func TestPullRequestComment_GetSubjectType(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestComment{SubjectType: &zeroValue} - p.GetSubjectType() - p = &PullRequestComment{} - p.GetSubjectType() - p = nil - p.GetSubjectType() -} - -func TestPullRequestComment_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PullRequestComment{UpdatedAt: &zeroValue} - p.GetUpdatedAt() - p = &PullRequestComment{} - p.GetUpdatedAt() - p = nil - p.GetUpdatedAt() -} - -func TestPullRequestComment_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestComment{URL: &zeroValue} - p.GetURL() - p = &PullRequestComment{} - p.GetURL() - p = nil - p.GetURL() -} - -func TestPullRequestComment_GetUser(tt *testing.T) { - tt.Parallel() - p := &PullRequestComment{} - p.GetUser() - p = nil - p.GetUser() -} - -func TestPullRequestCommentLinks_GetHTML(tt *testing.T) { - tt.Parallel() - p := &PullRequestCommentLinks{} - p.GetHTML() - p = nil - p.GetHTML() -} - -func TestPullRequestCommentLinks_GetPullRequest(tt *testing.T) { - tt.Parallel() - p := &PullRequestCommentLinks{} - p.GetPullRequest() - p = nil - p.GetPullRequest() -} - -func TestPullRequestCommentLinks_GetSelf(tt *testing.T) { - tt.Parallel() - p := &PullRequestCommentLinks{} - p.GetSelf() - p = nil - p.GetSelf() -} - -func TestPullRequestDismissReviewRequest_GetEvent(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestDismissReviewRequest{Event: &zeroValue} - p.GetEvent() - p = &PullRequestDismissReviewRequest{} - p.GetEvent() - p = nil - p.GetEvent() -} - -func TestPullRequestDismissReviewRequest_GetMessage(tt *testing.T) { - tt.Parallel() - p := &PullRequestDismissReviewRequest{} - p.GetMessage() - p = nil - p.GetMessage() -} - -func TestPullRequestEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestEvent{Action: &zeroValue} - p.GetAction() - p = &PullRequestEvent{} - p.GetAction() - p = nil - p.GetAction() -} - -func TestPullRequestEvent_GetAfter(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestEvent{After: &zeroValue} - p.GetAfter() - p = &PullRequestEvent{} - p.GetAfter() - p = nil - p.GetAfter() -} - -func TestPullRequestEvent_GetAssignee(tt *testing.T) { - tt.Parallel() - p := &PullRequestEvent{} - p.GetAssignee() - p = nil - p.GetAssignee() -} - -func TestPullRequestEvent_GetBefore(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestEvent{Before: &zeroValue} - p.GetBefore() - p = &PullRequestEvent{} - p.GetBefore() - p = nil - p.GetBefore() -} - -func TestPullRequestEvent_GetChanges(tt *testing.T) { - tt.Parallel() - p := &PullRequestEvent{} - p.GetChanges() - p = nil - p.GetChanges() -} - -func TestPullRequestEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - p := &PullRequestEvent{} - p.GetInstallation() - p = nil - p.GetInstallation() -} - -func TestPullRequestEvent_GetLabel(tt *testing.T) { - tt.Parallel() - p := &PullRequestEvent{} - p.GetLabel() - p = nil - p.GetLabel() -} - -func TestPullRequestEvent_GetNumber(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PullRequestEvent{Number: &zeroValue} - p.GetNumber() - p = &PullRequestEvent{} - p.GetNumber() - p = nil - p.GetNumber() -} - -func TestPullRequestEvent_GetOrganization(tt *testing.T) { - tt.Parallel() - p := &PullRequestEvent{} - p.GetOrganization() - p = nil - p.GetOrganization() -} - -func TestPullRequestEvent_GetPerformedViaGithubApp(tt *testing.T) { - tt.Parallel() - p := &PullRequestEvent{} - p.GetPerformedViaGithubApp() - p = nil - p.GetPerformedViaGithubApp() -} - -func TestPullRequestEvent_GetPullRequest(tt *testing.T) { - tt.Parallel() - p := &PullRequestEvent{} - p.GetPullRequest() - p = nil - p.GetPullRequest() -} - -func TestPullRequestEvent_GetReason(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestEvent{Reason: &zeroValue} - p.GetReason() - p = &PullRequestEvent{} - p.GetReason() - p = nil - p.GetReason() -} - -func TestPullRequestEvent_GetRepo(tt *testing.T) { - tt.Parallel() - p := &PullRequestEvent{} - p.GetRepo() - p = nil - p.GetRepo() -} - -func TestPullRequestEvent_GetRequestedReviewer(tt *testing.T) { - tt.Parallel() - p := &PullRequestEvent{} - p.GetRequestedReviewer() - p = nil - p.GetRequestedReviewer() -} - -func TestPullRequestEvent_GetRequestedTeam(tt *testing.T) { - tt.Parallel() - p := &PullRequestEvent{} - p.GetRequestedTeam() - p = nil - p.GetRequestedTeam() -} - -func TestPullRequestEvent_GetSender(tt *testing.T) { - tt.Parallel() - p := &PullRequestEvent{} - p.GetSender() - p = nil - p.GetSender() -} - -func TestPullRequestLinks_GetDiffURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestLinks{DiffURL: &zeroValue} - p.GetDiffURL() - p = &PullRequestLinks{} - p.GetDiffURL() - p = nil - p.GetDiffURL() -} - -func TestPullRequestLinks_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestLinks{HTMLURL: &zeroValue} - p.GetHTMLURL() - p = &PullRequestLinks{} - p.GetHTMLURL() - p = nil - p.GetHTMLURL() -} - -func TestPullRequestLinks_GetMergedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PullRequestLinks{MergedAt: &zeroValue} - p.GetMergedAt() - p = &PullRequestLinks{} - p.GetMergedAt() - p = nil - p.GetMergedAt() -} - -func TestPullRequestLinks_GetPatchURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestLinks{PatchURL: &zeroValue} - p.GetPatchURL() - p = &PullRequestLinks{} - p.GetPatchURL() - p = nil - p.GetPatchURL() -} - -func TestPullRequestLinks_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestLinks{URL: &zeroValue} - p.GetURL() - p = &PullRequestLinks{} - p.GetURL() - p = nil - 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 TestPullRequestMergeAsyncDetails_GetExpectedHeadSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestMergeAsyncDetails{ExpectedHeadSHA: &zeroValue} - p.GetExpectedHeadSHA() - p = &PullRequestMergeAsyncDetails{} - p.GetExpectedHeadSHA() - p = nil - p.GetExpectedHeadSHA() -} - -func TestPullRequestMergeAsyncDetails_GetMergeAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestMergeAsyncDetails{MergeAction: &zeroValue} - p.GetMergeAction() - p = &PullRequestMergeAsyncDetails{} - p.GetMergeAction() - p = nil - p.GetMergeAction() -} - -func TestPullRequestMergeAsyncDetails_GetMergeMethod(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestMergeAsyncDetails{MergeMethod: &zeroValue} - p.GetMergeMethod() - p = &PullRequestMergeAsyncDetails{} - p.GetMergeMethod() - p = nil - p.GetMergeMethod() -} - -func TestPullRequestMergeAsyncDetails_GetMessage(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestMergeAsyncDetails{Message: &zeroValue} - p.GetMessage() - p = &PullRequestMergeAsyncDetails{} - p.GetMessage() - p = nil - p.GetMessage() -} - -func TestPullRequestMergeAsyncDetails_GetSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestMergeAsyncDetails{SHA: &zeroValue} - p.GetSHA() - p = &PullRequestMergeAsyncDetails{} - p.GetSHA() - p = nil - p.GetSHA() -} - -func TestPullRequestMergeAsyncDetails_GetUUID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestMergeAsyncDetails{UUID: &zeroValue} - p.GetUUID() - p = &PullRequestMergeAsyncDetails{} - p.GetUUID() - p = nil - p.GetUUID() -} - -func TestPullRequestMergeAsyncRequest_GetCommitMessage(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestMergeAsyncRequest{CommitMessage: &zeroValue} - p.GetCommitMessage() - p = &PullRequestMergeAsyncRequest{} - p.GetCommitMessage() - p = nil - p.GetCommitMessage() -} - -func TestPullRequestMergeAsyncRequest_GetCommitTitle(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestMergeAsyncRequest{CommitTitle: &zeroValue} - p.GetCommitTitle() - p = &PullRequestMergeAsyncRequest{} - p.GetCommitTitle() - p = nil - p.GetCommitTitle() -} - -func TestPullRequestMergeAsyncRequest_GetMergeAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestMergeAsyncRequest{MergeAction: &zeroValue} - p.GetMergeAction() - p = &PullRequestMergeAsyncRequest{} - p.GetMergeAction() - p = nil - p.GetMergeAction() -} - -func TestPullRequestMergeAsyncRequest_GetMergeMethod(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestMergeAsyncRequest{MergeMethod: &zeroValue} - p.GetMergeMethod() - p = &PullRequestMergeAsyncRequest{} - p.GetMergeMethod() - p = nil - p.GetMergeMethod() -} - -func TestPullRequestMergeAsyncRequest_GetSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestMergeAsyncRequest{SHA: &zeroValue} - p.GetSHA() - p = &PullRequestMergeAsyncRequest{} - p.GetSHA() - p = nil - p.GetSHA() -} - -func TestPullRequestMergeAsyncResult_GetDetails(tt *testing.T) { - tt.Parallel() - p := &PullRequestMergeAsyncResult{} - p.GetDetails() - p = nil - p.GetDetails() -} - -func TestPullRequestMergeAsyncResult_GetStatus(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestMergeAsyncResult{Status: &zeroValue} - p.GetStatus() - p = &PullRequestMergeAsyncResult{} - p.GetStatus() - p = nil - p.GetStatus() -} - -func TestPullRequestMergeResult_GetMerged(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PullRequestMergeResult{Merged: &zeroValue} - p.GetMerged() - p = &PullRequestMergeResult{} - p.GetMerged() - p = nil - p.GetMerged() -} - -func TestPullRequestMergeResult_GetMessage(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestMergeResult{Message: &zeroValue} - p.GetMessage() - p = &PullRequestMergeResult{} - p.GetMessage() - p = nil - p.GetMessage() -} - -func TestPullRequestMergeResult_GetSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestMergeResult{SHA: &zeroValue} - p.GetSHA() - p = &PullRequestMergeResult{} - p.GetSHA() - p = nil - 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 - p := &PullRequestReview{AuthorAssociation: &zeroValue} - p.GetAuthorAssociation() - p = &PullRequestReview{} - p.GetAuthorAssociation() - p = nil - p.GetAuthorAssociation() -} - -func TestPullRequestReview_GetBody(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestReview{Body: &zeroValue} - p.GetBody() - p = &PullRequestReview{} - p.GetBody() - p = nil - p.GetBody() -} - -func TestPullRequestReview_GetCommitID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestReview{CommitID: &zeroValue} - p.GetCommitID() - p = &PullRequestReview{} - p.GetCommitID() - p = nil - p.GetCommitID() -} - -func TestPullRequestReview_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestReview{HTMLURL: &zeroValue} - p.GetHTMLURL() - p = &PullRequestReview{} - p.GetHTMLURL() - p = nil - p.GetHTMLURL() -} - -func TestPullRequestReview_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &PullRequestReview{ID: &zeroValue} - p.GetID() - p = &PullRequestReview{} - p.GetID() - p = nil - p.GetID() -} - -func TestPullRequestReview_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestReview{NodeID: &zeroValue} - p.GetNodeID() - p = &PullRequestReview{} - p.GetNodeID() - p = nil - p.GetNodeID() -} - -func TestPullRequestReview_GetPullRequestURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestReview{PullRequestURL: &zeroValue} - p.GetPullRequestURL() - p = &PullRequestReview{} - p.GetPullRequestURL() - p = nil - p.GetPullRequestURL() -} - -func TestPullRequestReview_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestReview{State: &zeroValue} - p.GetState() - p = &PullRequestReview{} - p.GetState() - p = nil - p.GetState() -} - -func TestPullRequestReview_GetSubmittedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PullRequestReview{SubmittedAt: &zeroValue} - p.GetSubmittedAt() - p = &PullRequestReview{} - p.GetSubmittedAt() - p = nil - p.GetSubmittedAt() -} - -func TestPullRequestReview_GetUser(tt *testing.T) { - tt.Parallel() - p := &PullRequestReview{} - p.GetUser() - p = nil - p.GetUser() -} - -func TestPullRequestReviewCommentEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestReviewCommentEvent{Action: &zeroValue} - p.GetAction() - p = &PullRequestReviewCommentEvent{} - p.GetAction() - p = nil - p.GetAction() -} - -func TestPullRequestReviewCommentEvent_GetChanges(tt *testing.T) { - tt.Parallel() - p := &PullRequestReviewCommentEvent{} - p.GetChanges() - p = nil - p.GetChanges() -} - -func TestPullRequestReviewCommentEvent_GetComment(tt *testing.T) { - tt.Parallel() - p := &PullRequestReviewCommentEvent{} - p.GetComment() - p = nil - p.GetComment() -} - -func TestPullRequestReviewCommentEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - p := &PullRequestReviewCommentEvent{} - p.GetInstallation() - p = nil - p.GetInstallation() -} - -func TestPullRequestReviewCommentEvent_GetOrg(tt *testing.T) { - tt.Parallel() - p := &PullRequestReviewCommentEvent{} - p.GetOrg() - p = nil - p.GetOrg() -} - -func TestPullRequestReviewCommentEvent_GetPullRequest(tt *testing.T) { - tt.Parallel() - p := &PullRequestReviewCommentEvent{} - p.GetPullRequest() - p = nil - p.GetPullRequest() -} - -func TestPullRequestReviewCommentEvent_GetRepo(tt *testing.T) { - tt.Parallel() - p := &PullRequestReviewCommentEvent{} - p.GetRepo() - p = nil - p.GetRepo() -} - -func TestPullRequestReviewCommentEvent_GetSender(tt *testing.T) { - tt.Parallel() - p := &PullRequestReviewCommentEvent{} - p.GetSender() - p = nil - p.GetSender() -} - -func TestPullRequestReviewEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestReviewEvent{Action: &zeroValue} - p.GetAction() - p = &PullRequestReviewEvent{} - p.GetAction() - p = nil - p.GetAction() -} - -func TestPullRequestReviewEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - p := &PullRequestReviewEvent{} - p.GetInstallation() - p = nil - p.GetInstallation() -} - -func TestPullRequestReviewEvent_GetOrganization(tt *testing.T) { - tt.Parallel() - p := &PullRequestReviewEvent{} - p.GetOrganization() - p = nil - p.GetOrganization() -} - -func TestPullRequestReviewEvent_GetPullRequest(tt *testing.T) { - tt.Parallel() - p := &PullRequestReviewEvent{} - p.GetPullRequest() - p = nil - p.GetPullRequest() -} - -func TestPullRequestReviewEvent_GetRepo(tt *testing.T) { - tt.Parallel() - p := &PullRequestReviewEvent{} - p.GetRepo() - p = nil - p.GetRepo() -} - -func TestPullRequestReviewEvent_GetReview(tt *testing.T) { - tt.Parallel() - p := &PullRequestReviewEvent{} - p.GetReview() - p = nil - p.GetReview() -} - -func TestPullRequestReviewEvent_GetSender(tt *testing.T) { - tt.Parallel() - p := &PullRequestReviewEvent{} - p.GetSender() - p = nil - p.GetSender() -} - -func TestPullRequestReviewRequest_GetBody(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestReviewRequest{Body: &zeroValue} - p.GetBody() - p = &PullRequestReviewRequest{} - p.GetBody() - p = nil - 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 - p := &PullRequestReviewRequest{CommitID: &zeroValue} - p.GetCommitID() - p = &PullRequestReviewRequest{} - p.GetCommitID() - p = nil - p.GetCommitID() -} - -func TestPullRequestReviewRequest_GetEvent(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestReviewRequest{Event: &zeroValue} - p.GetEvent() - p = &PullRequestReviewRequest{} - p.GetEvent() - p = nil - p.GetEvent() -} - -func TestPullRequestReviewRequest_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestReviewRequest{NodeID: &zeroValue} - p.GetNodeID() - p = &PullRequestReviewRequest{} - p.GetNodeID() - p = nil - p.GetNodeID() -} - -func TestPullRequestReviewsEnforcement_GetBypassPullRequestAllowances(tt *testing.T) { - tt.Parallel() - p := &PullRequestReviewsEnforcement{} - p.GetBypassPullRequestAllowances() - p = nil - p.GetBypassPullRequestAllowances() -} - -func TestPullRequestReviewsEnforcement_GetDismissalRestrictions(tt *testing.T) { - tt.Parallel() - p := &PullRequestReviewsEnforcement{} - p.GetDismissalRestrictions() - p = nil - 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 - p := &PullRequestReviewsEnforcementLevelChanges{From: &zeroValue} - p.GetFrom() - p = &PullRequestReviewsEnforcementLevelChanges{} - p.GetFrom() - p = nil - p.GetFrom() -} - -func TestPullRequestReviewsEnforcementRequest_GetBypassPullRequestAllowancesRequest(tt *testing.T) { - tt.Parallel() - p := &PullRequestReviewsEnforcementRequest{} - p.GetBypassPullRequestAllowancesRequest() - p = nil - p.GetBypassPullRequestAllowancesRequest() -} - -func TestPullRequestReviewsEnforcementRequest_GetDismissalRestrictionsRequest(tt *testing.T) { - tt.Parallel() - p := &PullRequestReviewsEnforcementRequest{} - p.GetDismissalRestrictionsRequest() - p = nil - 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 - p := &PullRequestReviewsEnforcementRequest{RequireLastPushApproval: &zeroValue} - p.GetRequireLastPushApproval() - p = &PullRequestReviewsEnforcementRequest{} - p.GetRequireLastPushApproval() - p = nil - p.GetRequireLastPushApproval() -} - -func TestPullRequestReviewsEnforcementUpdate_GetBypassPullRequestAllowancesRequest(tt *testing.T) { - tt.Parallel() - p := &PullRequestReviewsEnforcementUpdate{} - p.GetBypassPullRequestAllowancesRequest() - p = nil - p.GetBypassPullRequestAllowancesRequest() -} - -func TestPullRequestReviewsEnforcementUpdate_GetDismissalRestrictionsRequest(tt *testing.T) { - tt.Parallel() - p := &PullRequestReviewsEnforcementUpdate{} - p.GetDismissalRestrictionsRequest() - p = nil - p.GetDismissalRestrictionsRequest() -} - -func TestPullRequestReviewsEnforcementUpdate_GetDismissStaleReviews(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PullRequestReviewsEnforcementUpdate{DismissStaleReviews: &zeroValue} - p.GetDismissStaleReviews() - p = &PullRequestReviewsEnforcementUpdate{} - p.GetDismissStaleReviews() - p = nil - p.GetDismissStaleReviews() -} - -func TestPullRequestReviewsEnforcementUpdate_GetRequireCodeOwnerReviews(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PullRequestReviewsEnforcementUpdate{RequireCodeOwnerReviews: &zeroValue} - p.GetRequireCodeOwnerReviews() - p = &PullRequestReviewsEnforcementUpdate{} - p.GetRequireCodeOwnerReviews() - p = nil - 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 - p := &PullRequestReviewsEnforcementUpdate{RequireLastPushApproval: &zeroValue} - p.GetRequireLastPushApproval() - p = &PullRequestReviewsEnforcementUpdate{} - p.GetRequireLastPushApproval() - p = nil - p.GetRequireLastPushApproval() -} - -func TestPullRequestReviewThreadEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestReviewThreadEvent{Action: &zeroValue} - p.GetAction() - p = &PullRequestReviewThreadEvent{} - p.GetAction() - p = nil - p.GetAction() -} - -func TestPullRequestReviewThreadEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - p := &PullRequestReviewThreadEvent{} - p.GetInstallation() - p = nil - p.GetInstallation() -} - -func TestPullRequestReviewThreadEvent_GetOrg(tt *testing.T) { - tt.Parallel() - p := &PullRequestReviewThreadEvent{} - p.GetOrg() - p = nil - p.GetOrg() -} - -func TestPullRequestReviewThreadEvent_GetPullRequest(tt *testing.T) { - tt.Parallel() - p := &PullRequestReviewThreadEvent{} - p.GetPullRequest() - p = nil - p.GetPullRequest() -} - -func TestPullRequestReviewThreadEvent_GetRepo(tt *testing.T) { - tt.Parallel() - p := &PullRequestReviewThreadEvent{} - p.GetRepo() - p = nil - p.GetRepo() -} - -func TestPullRequestReviewThreadEvent_GetSender(tt *testing.T) { - tt.Parallel() - p := &PullRequestReviewThreadEvent{} - p.GetSender() - p = nil - p.GetSender() -} - -func TestPullRequestReviewThreadEvent_GetThread(tt *testing.T) { - tt.Parallel() - p := &PullRequestReviewThreadEvent{} - p.GetThread() - p = nil - 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 TestPullRequestStack_GetBase(tt *testing.T) { - tt.Parallel() - p := &PullRequestStack{} - p.GetBase() - p = nil - p.GetBase() -} - -func TestPullRequestStack_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &PullRequestStack{ID: &zeroValue} - p.GetID() - p = &PullRequestStack{} - p.GetID() - p = nil - p.GetID() -} - -func TestPullRequestStack_GetNumber(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PullRequestStack{Number: &zeroValue} - p.GetNumber() - p = &PullRequestStack{} - p.GetNumber() - p = nil - p.GetNumber() -} - -func TestPullRequestStack_GetPosition(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PullRequestStack{Position: &zeroValue} - p.GetPosition() - p = &PullRequestStack{} - p.GetPosition() - p = nil - p.GetPosition() -} - -func TestPullRequestStack_GetSize(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PullRequestStack{Size: &zeroValue} - p.GetSize() - p = &PullRequestStack{} - p.GetSize() - p = nil - p.GetSize() -} - -func TestPullRequestStackBase_GetRef(tt *testing.T) { - tt.Parallel() - p := &PullRequestStackBase{} - p.GetRef() - p = nil - p.GetRef() -} - -func TestPullRequestStackBase_GetSHA(tt *testing.T) { - tt.Parallel() - p := &PullRequestStackBase{} - p.GetSHA() - p = nil - p.GetSHA() -} - -func TestPullRequestSubmitReviewRequest_GetBody(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestSubmitReviewRequest{Body: &zeroValue} - p.GetBody() - p = &PullRequestSubmitReviewRequest{} - p.GetBody() - p = nil - p.GetBody() -} - -func TestPullRequestSubmitReviewRequest_GetEvent(tt *testing.T) { - tt.Parallel() - p := &PullRequestSubmitReviewRequest{} - p.GetEvent() - p = nil - p.GetEvent() -} - -func TestPullRequestTargetEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestTargetEvent{Action: &zeroValue} - p.GetAction() - p = &PullRequestTargetEvent{} - p.GetAction() - p = nil - p.GetAction() -} - -func TestPullRequestTargetEvent_GetAfter(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestTargetEvent{After: &zeroValue} - p.GetAfter() - p = &PullRequestTargetEvent{} - p.GetAfter() - p = nil - p.GetAfter() -} - -func TestPullRequestTargetEvent_GetAssignee(tt *testing.T) { - tt.Parallel() - p := &PullRequestTargetEvent{} - p.GetAssignee() - p = nil - p.GetAssignee() -} - -func TestPullRequestTargetEvent_GetBefore(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestTargetEvent{Before: &zeroValue} - p.GetBefore() - p = &PullRequestTargetEvent{} - p.GetBefore() - p = nil - p.GetBefore() -} - -func TestPullRequestTargetEvent_GetChanges(tt *testing.T) { - tt.Parallel() - p := &PullRequestTargetEvent{} - p.GetChanges() - p = nil - p.GetChanges() -} - -func TestPullRequestTargetEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - p := &PullRequestTargetEvent{} - p.GetInstallation() - p = nil - p.GetInstallation() -} - -func TestPullRequestTargetEvent_GetLabel(tt *testing.T) { - tt.Parallel() - p := &PullRequestTargetEvent{} - p.GetLabel() - p = nil - p.GetLabel() -} - -func TestPullRequestTargetEvent_GetNumber(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PullRequestTargetEvent{Number: &zeroValue} - p.GetNumber() - p = &PullRequestTargetEvent{} - p.GetNumber() - p = nil - p.GetNumber() -} - -func TestPullRequestTargetEvent_GetOrganization(tt *testing.T) { - tt.Parallel() - p := &PullRequestTargetEvent{} - p.GetOrganization() - p = nil - p.GetOrganization() -} - -func TestPullRequestTargetEvent_GetPerformedViaGithubApp(tt *testing.T) { - tt.Parallel() - p := &PullRequestTargetEvent{} - p.GetPerformedViaGithubApp() - p = nil - p.GetPerformedViaGithubApp() -} - -func TestPullRequestTargetEvent_GetPullRequest(tt *testing.T) { - tt.Parallel() - p := &PullRequestTargetEvent{} - p.GetPullRequest() - p = nil - p.GetPullRequest() -} - -func TestPullRequestTargetEvent_GetRepo(tt *testing.T) { - tt.Parallel() - p := &PullRequestTargetEvent{} - p.GetRepo() - p = nil - p.GetRepo() -} - -func TestPullRequestTargetEvent_GetRequestedReviewer(tt *testing.T) { - tt.Parallel() - p := &PullRequestTargetEvent{} - p.GetRequestedReviewer() - p = nil - p.GetRequestedReviewer() -} - -func TestPullRequestTargetEvent_GetRequestedTeam(tt *testing.T) { - tt.Parallel() - p := &PullRequestTargetEvent{} - p.GetRequestedTeam() - p = nil - p.GetRequestedTeam() -} - -func TestPullRequestTargetEvent_GetSender(tt *testing.T) { - tt.Parallel() - p := &PullRequestTargetEvent{} - p.GetSender() - p = nil - 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 - p := &PullRequestThread{ID: &zeroValue} - p.GetID() - p = &PullRequestThread{} - p.GetID() - p = nil - p.GetID() -} - -func TestPullRequestThread_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PullRequestThread{NodeID: &zeroValue} - p.GetNodeID() - p = &PullRequestThread{} - p.GetNodeID() - p = nil - p.GetNodeID() -} - -func TestPullStats_GetMergeablePulls(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PullStats{MergeablePulls: &zeroValue} - p.GetMergeablePulls() - p = &PullStats{} - p.GetMergeablePulls() - p = nil - p.GetMergeablePulls() -} - -func TestPullStats_GetMergedPulls(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PullStats{MergedPulls: &zeroValue} - p.GetMergedPulls() - p = &PullStats{} - p.GetMergedPulls() - p = nil - p.GetMergedPulls() -} - -func TestPullStats_GetTotalPulls(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PullStats{TotalPulls: &zeroValue} - p.GetTotalPulls() - p = &PullStats{} - p.GetTotalPulls() - p = nil - p.GetTotalPulls() -} - -func TestPullStats_GetUnmergeablePulls(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PullStats{UnmergeablePulls: &zeroValue} - p.GetUnmergeablePulls() - p = &PullStats{} - p.GetUnmergeablePulls() - p = nil - p.GetUnmergeablePulls() -} - -func TestPunchCard_GetCommits(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PunchCard{Commits: &zeroValue} - p.GetCommits() - p = &PunchCard{} - p.GetCommits() - p = nil - p.GetCommits() -} - -func TestPunchCard_GetDay(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PunchCard{Day: &zeroValue} - p.GetDay() - p = &PunchCard{} - p.GetDay() - p = nil - p.GetDay() -} - -func TestPunchCard_GetHour(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PunchCard{Hour: &zeroValue} - p.GetHour() - p = &PunchCard{} - p.GetHour() - p = nil - p.GetHour() -} - -func TestPushEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEvent{Action: &zeroValue} - p.GetAction() - p = &PushEvent{} - p.GetAction() - p = nil - p.GetAction() -} - -func TestPushEvent_GetAfter(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEvent{After: &zeroValue} - p.GetAfter() - p = &PushEvent{} - p.GetAfter() - p = nil - p.GetAfter() -} - -func TestPushEvent_GetBaseRef(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEvent{BaseRef: &zeroValue} - p.GetBaseRef() - p = &PushEvent{} - p.GetBaseRef() - p = nil - p.GetBaseRef() -} - -func TestPushEvent_GetBefore(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEvent{Before: &zeroValue} - p.GetBefore() - p = &PushEvent{} - p.GetBefore() - p = nil - p.GetBefore() -} - -func TestPushEvent_GetCommits(tt *testing.T) { - tt.Parallel() - zeroValue := []*HeadCommit{} - p := &PushEvent{Commits: zeroValue} - p.GetCommits() - p = &PushEvent{} - p.GetCommits() - p = nil - p.GetCommits() -} - -func TestPushEvent_GetCompare(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEvent{Compare: &zeroValue} - p.GetCompare() - p = &PushEvent{} - p.GetCompare() - p = nil - p.GetCompare() -} - -func TestPushEvent_GetCreated(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PushEvent{Created: &zeroValue} - p.GetCreated() - p = &PushEvent{} - p.GetCreated() - p = nil - p.GetCreated() -} - -func TestPushEvent_GetDeleted(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PushEvent{Deleted: &zeroValue} - p.GetDeleted() - p = &PushEvent{} - p.GetDeleted() - p = nil - p.GetDeleted() -} - -func TestPushEvent_GetDistinctSize(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PushEvent{DistinctSize: &zeroValue} - p.GetDistinctSize() - p = &PushEvent{} - p.GetDistinctSize() - p = nil - p.GetDistinctSize() -} - -func TestPushEvent_GetForced(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PushEvent{Forced: &zeroValue} - p.GetForced() - p = &PushEvent{} - p.GetForced() - p = nil - p.GetForced() -} - -func TestPushEvent_GetHead(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEvent{Head: &zeroValue} - p.GetHead() - p = &PushEvent{} - p.GetHead() - p = nil - p.GetHead() -} - -func TestPushEvent_GetHeadCommit(tt *testing.T) { - tt.Parallel() - p := &PushEvent{} - p.GetHeadCommit() - p = nil - p.GetHeadCommit() -} - -func TestPushEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - p := &PushEvent{} - p.GetInstallation() - p = nil - p.GetInstallation() -} - -func TestPushEvent_GetOrganization(tt *testing.T) { - tt.Parallel() - p := &PushEvent{} - p.GetOrganization() - p = nil - p.GetOrganization() -} - -func TestPushEvent_GetPusher(tt *testing.T) { - tt.Parallel() - p := &PushEvent{} - p.GetPusher() - p = nil - p.GetPusher() -} - -func TestPushEvent_GetPushID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &PushEvent{PushID: &zeroValue} - p.GetPushID() - p = &PushEvent{} - p.GetPushID() - p = nil - p.GetPushID() -} - -func TestPushEvent_GetRef(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEvent{Ref: &zeroValue} - p.GetRef() - p = &PushEvent{} - p.GetRef() - p = nil - p.GetRef() -} - -func TestPushEvent_GetRepo(tt *testing.T) { - tt.Parallel() - p := &PushEvent{} - p.GetRepo() - p = nil - p.GetRepo() -} - -func TestPushEvent_GetSender(tt *testing.T) { - tt.Parallel() - p := &PushEvent{} - p.GetSender() - p = nil - p.GetSender() -} - -func TestPushEvent_GetSize(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PushEvent{Size: &zeroValue} - p.GetSize() - p = &PushEvent{} - p.GetSize() - p = nil - p.GetSize() -} - -func TestPushEventRepoOwner_GetEmail(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEventRepoOwner{Email: &zeroValue} - p.GetEmail() - p = &PushEventRepoOwner{} - p.GetEmail() - p = nil - p.GetEmail() -} - -func TestPushEventRepoOwner_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEventRepoOwner{Name: &zeroValue} - p.GetName() - p = &PushEventRepoOwner{} - p.GetName() - p = nil - p.GetName() -} - -func TestPushEventRepository_GetArchived(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PushEventRepository{Archived: &zeroValue} - p.GetArchived() - p = &PushEventRepository{} - p.GetArchived() - p = nil - p.GetArchived() -} - -func TestPushEventRepository_GetArchiveURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEventRepository{ArchiveURL: &zeroValue} - p.GetArchiveURL() - p = &PushEventRepository{} - p.GetArchiveURL() - p = nil - p.GetArchiveURL() -} - -func TestPushEventRepository_GetCloneURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEventRepository{CloneURL: &zeroValue} - p.GetCloneURL() - p = &PushEventRepository{} - p.GetCloneURL() - p = nil - p.GetCloneURL() -} - -func TestPushEventRepository_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PushEventRepository{CreatedAt: &zeroValue} - p.GetCreatedAt() - p = &PushEventRepository{} - p.GetCreatedAt() - p = nil - p.GetCreatedAt() -} - -func TestPushEventRepository_GetCustomProperties(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]any{} - p := &PushEventRepository{CustomProperties: zeroValue} - p.GetCustomProperties() - p = &PushEventRepository{} - p.GetCustomProperties() - p = nil - p.GetCustomProperties() -} - -func TestPushEventRepository_GetDefaultBranch(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEventRepository{DefaultBranch: &zeroValue} - p.GetDefaultBranch() - p = &PushEventRepository{} - p.GetDefaultBranch() - p = nil - p.GetDefaultBranch() -} - -func TestPushEventRepository_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEventRepository{Description: &zeroValue} - p.GetDescription() - p = &PushEventRepository{} - p.GetDescription() - p = nil - p.GetDescription() -} - -func TestPushEventRepository_GetDisabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PushEventRepository{Disabled: &zeroValue} - p.GetDisabled() - p = &PushEventRepository{} - p.GetDisabled() - p = nil - p.GetDisabled() -} - -func TestPushEventRepository_GetFork(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PushEventRepository{Fork: &zeroValue} - p.GetFork() - p = &PushEventRepository{} - p.GetFork() - p = nil - p.GetFork() -} - -func TestPushEventRepository_GetForksCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PushEventRepository{ForksCount: &zeroValue} - p.GetForksCount() - p = &PushEventRepository{} - p.GetForksCount() - p = nil - p.GetForksCount() -} - -func TestPushEventRepository_GetFullName(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEventRepository{FullName: &zeroValue} - p.GetFullName() - p = &PushEventRepository{} - p.GetFullName() - p = nil - p.GetFullName() -} - -func TestPushEventRepository_GetGitURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEventRepository{GitURL: &zeroValue} - p.GetGitURL() - p = &PushEventRepository{} - p.GetGitURL() - p = nil - p.GetGitURL() -} - -func TestPushEventRepository_GetHasDownloads(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PushEventRepository{HasDownloads: &zeroValue} - p.GetHasDownloads() - p = &PushEventRepository{} - p.GetHasDownloads() - p = nil - p.GetHasDownloads() -} - -func TestPushEventRepository_GetHasIssues(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PushEventRepository{HasIssues: &zeroValue} - p.GetHasIssues() - p = &PushEventRepository{} - p.GetHasIssues() - p = nil - p.GetHasIssues() -} - -func TestPushEventRepository_GetHasPages(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PushEventRepository{HasPages: &zeroValue} - p.GetHasPages() - p = &PushEventRepository{} - p.GetHasPages() - p = nil - p.GetHasPages() -} - -func TestPushEventRepository_GetHasWiki(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PushEventRepository{HasWiki: &zeroValue} - p.GetHasWiki() - p = &PushEventRepository{} - p.GetHasWiki() - p = nil - p.GetHasWiki() -} - -func TestPushEventRepository_GetHomepage(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEventRepository{Homepage: &zeroValue} - p.GetHomepage() - p = &PushEventRepository{} - p.GetHomepage() - p = nil - p.GetHomepage() -} - -func TestPushEventRepository_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEventRepository{HTMLURL: &zeroValue} - p.GetHTMLURL() - p = &PushEventRepository{} - p.GetHTMLURL() - p = nil - p.GetHTMLURL() -} - -func TestPushEventRepository_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - p := &PushEventRepository{ID: &zeroValue} - p.GetID() - p = &PushEventRepository{} - p.GetID() - p = nil - p.GetID() -} - -func TestPushEventRepository_GetLanguage(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEventRepository{Language: &zeroValue} - p.GetLanguage() - p = &PushEventRepository{} - p.GetLanguage() - p = nil - p.GetLanguage() -} - -func TestPushEventRepository_GetMasterBranch(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEventRepository{MasterBranch: &zeroValue} - p.GetMasterBranch() - p = &PushEventRepository{} - p.GetMasterBranch() - p = nil - p.GetMasterBranch() -} - -func TestPushEventRepository_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEventRepository{Name: &zeroValue} - p.GetName() - p = &PushEventRepository{} - p.GetName() - p = nil - p.GetName() -} - -func TestPushEventRepository_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEventRepository{NodeID: &zeroValue} - p.GetNodeID() - p = &PushEventRepository{} - p.GetNodeID() - p = nil - p.GetNodeID() -} - -func TestPushEventRepository_GetOpenIssuesCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PushEventRepository{OpenIssuesCount: &zeroValue} - p.GetOpenIssuesCount() - p = &PushEventRepository{} - p.GetOpenIssuesCount() - p = nil - p.GetOpenIssuesCount() -} - -func TestPushEventRepository_GetOrganization(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEventRepository{Organization: &zeroValue} - p.GetOrganization() - p = &PushEventRepository{} - p.GetOrganization() - p = nil - p.GetOrganization() -} - -func TestPushEventRepository_GetOwner(tt *testing.T) { - tt.Parallel() - p := &PushEventRepository{} - p.GetOwner() - p = nil - p.GetOwner() -} - -func TestPushEventRepository_GetPrivate(tt *testing.T) { - tt.Parallel() - var zeroValue bool - p := &PushEventRepository{Private: &zeroValue} - p.GetPrivate() - p = &PushEventRepository{} - p.GetPrivate() - p = nil - p.GetPrivate() -} - -func TestPushEventRepository_GetPullsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEventRepository{PullsURL: &zeroValue} - p.GetPullsURL() - p = &PushEventRepository{} - p.GetPullsURL() - p = nil - p.GetPullsURL() -} - -func TestPushEventRepository_GetPushedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PushEventRepository{PushedAt: &zeroValue} - p.GetPushedAt() - p = &PushEventRepository{} - p.GetPushedAt() - p = nil - p.GetPushedAt() -} - -func TestPushEventRepository_GetSize(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PushEventRepository{Size: &zeroValue} - p.GetSize() - p = &PushEventRepository{} - p.GetSize() - p = nil - p.GetSize() -} - -func TestPushEventRepository_GetSSHURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEventRepository{SSHURL: &zeroValue} - p.GetSSHURL() - p = &PushEventRepository{} - p.GetSSHURL() - p = nil - p.GetSSHURL() -} - -func TestPushEventRepository_GetStargazersCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PushEventRepository{StargazersCount: &zeroValue} - p.GetStargazersCount() - p = &PushEventRepository{} - p.GetStargazersCount() - p = nil - p.GetStargazersCount() -} - -func TestPushEventRepository_GetStatusesURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEventRepository{StatusesURL: &zeroValue} - p.GetStatusesURL() - p = &PushEventRepository{} - p.GetStatusesURL() - p = nil - p.GetStatusesURL() -} - -func TestPushEventRepository_GetSVNURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEventRepository{SVNURL: &zeroValue} - p.GetSVNURL() - p = &PushEventRepository{} - p.GetSVNURL() - p = nil - 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 - p := &PushEventRepository{UpdatedAt: &zeroValue} - p.GetUpdatedAt() - p = &PushEventRepository{} - p.GetUpdatedAt() - p = nil - p.GetUpdatedAt() -} - -func TestPushEventRepository_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PushEventRepository{URL: &zeroValue} - p.GetURL() - p = &PushEventRepository{} - p.GetURL() - p = nil - p.GetURL() -} - -func TestPushEventRepository_GetWatchersCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - p := &PushEventRepository{WatchersCount: &zeroValue} - p.GetWatchersCount() - p = &PushEventRepository{} - p.GetWatchersCount() - p = nil - p.GetWatchersCount() -} - -func TestPushProtectionBypass_GetExpireAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - p := &PushProtectionBypass{ExpireAt: &zeroValue} - p.GetExpireAt() - p = &PushProtectionBypass{} - p.GetExpireAt() - p = nil - 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{} - r.GetActionsRunnerRegistration() - r = nil - r.GetActionsRunnerRegistration() -} - -func TestRateLimits_GetAuditLog(tt *testing.T) { - tt.Parallel() - r := &RateLimits{} - r.GetAuditLog() - r = nil - r.GetAuditLog() -} - -func TestRateLimits_GetCodeScanningUpload(tt *testing.T) { - tt.Parallel() - r := &RateLimits{} - r.GetCodeScanningUpload() - r = nil - r.GetCodeScanningUpload() -} - -func TestRateLimits_GetCodeSearch(tt *testing.T) { - tt.Parallel() - r := &RateLimits{} - r.GetCodeSearch() - r = nil - r.GetCodeSearch() -} - -func TestRateLimits_GetCore(tt *testing.T) { - tt.Parallel() - r := &RateLimits{} - r.GetCore() - r = nil - r.GetCore() -} - -func TestRateLimits_GetDependencySBOM(tt *testing.T) { - tt.Parallel() - r := &RateLimits{} - r.GetDependencySBOM() - r = nil - r.GetDependencySBOM() -} - -func TestRateLimits_GetDependencySnapshots(tt *testing.T) { - tt.Parallel() - r := &RateLimits{} - r.GetDependencySnapshots() - r = nil - r.GetDependencySnapshots() -} - -func TestRateLimits_GetGraphQL(tt *testing.T) { - tt.Parallel() - r := &RateLimits{} - r.GetGraphQL() - r = nil - r.GetGraphQL() -} - -func TestRateLimits_GetIntegrationManifest(tt *testing.T) { - tt.Parallel() - r := &RateLimits{} - r.GetIntegrationManifest() - r = nil - r.GetIntegrationManifest() -} - -func TestRateLimits_GetSCIM(tt *testing.T) { - tt.Parallel() - r := &RateLimits{} - r.GetSCIM() - r = nil - r.GetSCIM() -} - -func TestRateLimits_GetSearch(tt *testing.T) { - tt.Parallel() - r := &RateLimits{} - r.GetSearch() - r = nil - r.GetSearch() -} - -func TestRateLimits_GetSourceImport(tt *testing.T) { - tt.Parallel() - r := &RateLimits{} - r.GetSourceImport() - r = nil - 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 - r := &Reaction{Content: &zeroValue} - r.GetContent() - r = &Reaction{} - r.GetContent() - r = nil - r.GetContent() -} - -func TestReaction_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - r := &Reaction{CreatedAt: &zeroValue} - r.GetCreatedAt() - r = &Reaction{} - r.GetCreatedAt() - r = nil - r.GetCreatedAt() -} - -func TestReaction_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - r := &Reaction{ID: &zeroValue} - r.GetID() - r = &Reaction{} - r.GetID() - r = nil - r.GetID() -} - -func TestReaction_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Reaction{NodeID: &zeroValue} - r.GetNodeID() - r = &Reaction{} - r.GetNodeID() - r = nil - r.GetNodeID() -} - -func TestReaction_GetUser(tt *testing.T) { - tt.Parallel() - r := &Reaction{} - r.GetUser() - r = nil - r.GetUser() -} - -func TestReactions_GetConfused(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &Reactions{Confused: &zeroValue} - r.GetConfused() - r = &Reactions{} - r.GetConfused() - r = nil - r.GetConfused() -} - -func TestReactions_GetEyes(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &Reactions{Eyes: &zeroValue} - r.GetEyes() - r = &Reactions{} - r.GetEyes() - r = nil - r.GetEyes() -} - -func TestReactions_GetHeart(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &Reactions{Heart: &zeroValue} - r.GetHeart() - r = &Reactions{} - r.GetHeart() - r = nil - r.GetHeart() -} - -func TestReactions_GetHooray(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &Reactions{Hooray: &zeroValue} - r.GetHooray() - r = &Reactions{} - r.GetHooray() - r = nil - r.GetHooray() -} - -func TestReactions_GetLaugh(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &Reactions{Laugh: &zeroValue} - r.GetLaugh() - r = &Reactions{} - r.GetLaugh() - r = nil - r.GetLaugh() -} - -func TestReactions_GetMinusOne(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &Reactions{MinusOne: &zeroValue} - r.GetMinusOne() - r = &Reactions{} - r.GetMinusOne() - r = nil - r.GetMinusOne() -} - -func TestReactions_GetPlusOne(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &Reactions{PlusOne: &zeroValue} - r.GetPlusOne() - r = &Reactions{} - r.GetPlusOne() - r = nil - r.GetPlusOne() -} - -func TestReactions_GetRocket(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &Reactions{Rocket: &zeroValue} - r.GetRocket() - r = &Reactions{} - r.GetRocket() - r = nil - r.GetRocket() -} - -func TestReactions_GetTotalCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &Reactions{TotalCount: &zeroValue} - r.GetTotalCount() - r = &Reactions{} - r.GetTotalCount() - r = nil - r.GetTotalCount() -} - -func TestReactions_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Reactions{URL: &zeroValue} - r.GetURL() - r = &Reactions{} - r.GetURL() - r = nil - r.GetURL() -} - -func TestReassignedResource_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &ReassignedResource{Name: &zeroValue} - r.GetName() - r = &ReassignedResource{} - r.GetName() - r = nil - r.GetName() -} - -func TestReassignedResource_GetPreviousCostCenter(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &ReassignedResource{PreviousCostCenter: &zeroValue} - r.GetPreviousCostCenter() - r = &ReassignedResource{} - r.GetPreviousCostCenter() - r = nil - r.GetPreviousCostCenter() -} - -func TestReassignedResource_GetResourceType(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &ReassignedResource{ResourceType: &zeroValue} - r.GetResourceType() - r = &ReassignedResource{} - r.GetResourceType() - r = nil - 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 - r := &Reference{NodeID: &zeroValue} - r.GetNodeID() - r = &Reference{} - r.GetNodeID() - r = nil - r.GetNodeID() -} - -func TestReference_GetObject(tt *testing.T) { - tt.Parallel() - r := &Reference{} - r.GetObject() - r = nil - r.GetObject() -} - -func TestReference_GetRef(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Reference{Ref: &zeroValue} - r.GetRef() - r = &Reference{} - r.GetRef() - r = nil - r.GetRef() -} - -func TestReference_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Reference{URL: &zeroValue} - r.GetURL() - r = &Reference{} - r.GetURL() - r = nil - r.GetURL() -} - -func TestReferencedWorkflow_GetPath(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &ReferencedWorkflow{Path: &zeroValue} - r.GetPath() - r = &ReferencedWorkflow{} - r.GetPath() - r = nil - r.GetPath() -} - -func TestReferencedWorkflow_GetRef(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &ReferencedWorkflow{Ref: &zeroValue} - r.GetRef() - r = &ReferencedWorkflow{} - r.GetRef() - r = nil - r.GetRef() -} - -func TestReferencedWorkflow_GetSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &ReferencedWorkflow{SHA: &zeroValue} - r.GetSHA() - r = &ReferencedWorkflow{} - r.GetSHA() - r = nil - r.GetSHA() -} - -func TestRegistrationToken_GetExpiresAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - r := &RegistrationToken{ExpiresAt: &zeroValue} - r.GetExpiresAt() - r = &RegistrationToken{} - r.GetExpiresAt() - r = nil - r.GetExpiresAt() -} - -func TestRegistrationToken_GetToken(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RegistrationToken{Token: &zeroValue} - r.GetToken() - r = &RegistrationToken{} - r.GetToken() - r = nil - r.GetToken() -} - -func TestRegistryPackageEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RegistryPackageEvent{Action: &zeroValue} - r.GetAction() - r = &RegistryPackageEvent{} - r.GetAction() - r = nil - r.GetAction() -} - -func TestRegistryPackageEvent_GetEnterprise(tt *testing.T) { - tt.Parallel() - r := &RegistryPackageEvent{} - r.GetEnterprise() - r = nil - r.GetEnterprise() -} - -func TestRegistryPackageEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - r := &RegistryPackageEvent{} - r.GetInstallation() - r = nil - r.GetInstallation() -} - -func TestRegistryPackageEvent_GetOrganization(tt *testing.T) { - tt.Parallel() - r := &RegistryPackageEvent{} - r.GetOrganization() - r = nil - r.GetOrganization() -} - -func TestRegistryPackageEvent_GetRegistryPackage(tt *testing.T) { - tt.Parallel() - r := &RegistryPackageEvent{} - r.GetRegistryPackage() - r = nil - r.GetRegistryPackage() -} - -func TestRegistryPackageEvent_GetRepository(tt *testing.T) { - tt.Parallel() - r := &RegistryPackageEvent{} - r.GetRepository() - r = nil - r.GetRepository() -} - -func TestRegistryPackageEvent_GetSender(tt *testing.T) { - tt.Parallel() - r := &RegistryPackageEvent{} - r.GetSender() - r = nil - r.GetSender() -} - -func TestReleaseAsset_GetBrowserDownloadURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &ReleaseAsset{BrowserDownloadURL: &zeroValue} - r.GetBrowserDownloadURL() - r = &ReleaseAsset{} - r.GetBrowserDownloadURL() - r = nil - r.GetBrowserDownloadURL() -} - -func TestReleaseAsset_GetContentType(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &ReleaseAsset{ContentType: &zeroValue} - r.GetContentType() - r = &ReleaseAsset{} - r.GetContentType() - r = nil - r.GetContentType() -} - -func TestReleaseAsset_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - r := &ReleaseAsset{CreatedAt: &zeroValue} - r.GetCreatedAt() - r = &ReleaseAsset{} - r.GetCreatedAt() - r = nil - r.GetCreatedAt() -} - -func TestReleaseAsset_GetDigest(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &ReleaseAsset{Digest: &zeroValue} - r.GetDigest() - r = &ReleaseAsset{} - r.GetDigest() - r = nil - r.GetDigest() -} - -func TestReleaseAsset_GetDownloadCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &ReleaseAsset{DownloadCount: &zeroValue} - r.GetDownloadCount() - r = &ReleaseAsset{} - r.GetDownloadCount() - r = nil - r.GetDownloadCount() -} - -func TestReleaseAsset_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - r := &ReleaseAsset{ID: &zeroValue} - r.GetID() - r = &ReleaseAsset{} - r.GetID() - r = nil - r.GetID() -} - -func TestReleaseAsset_GetLabel(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &ReleaseAsset{Label: &zeroValue} - r.GetLabel() - r = &ReleaseAsset{} - r.GetLabel() - r = nil - r.GetLabel() -} - -func TestReleaseAsset_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &ReleaseAsset{Name: &zeroValue} - r.GetName() - r = &ReleaseAsset{} - r.GetName() - r = nil - r.GetName() -} - -func TestReleaseAsset_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &ReleaseAsset{NodeID: &zeroValue} - r.GetNodeID() - r = &ReleaseAsset{} - r.GetNodeID() - r = nil - r.GetNodeID() -} - -func TestReleaseAsset_GetSize(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &ReleaseAsset{Size: &zeroValue} - r.GetSize() - r = &ReleaseAsset{} - r.GetSize() - r = nil - r.GetSize() -} - -func TestReleaseAsset_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &ReleaseAsset{State: &zeroValue} - r.GetState() - r = &ReleaseAsset{} - r.GetState() - r = nil - r.GetState() -} - -func TestReleaseAsset_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - r := &ReleaseAsset{UpdatedAt: &zeroValue} - r.GetUpdatedAt() - r = &ReleaseAsset{} - r.GetUpdatedAt() - r = nil - r.GetUpdatedAt() -} - -func TestReleaseAsset_GetUploader(tt *testing.T) { - tt.Parallel() - r := &ReleaseAsset{} - r.GetUploader() - r = nil - r.GetUploader() -} - -func TestReleaseAsset_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &ReleaseAsset{URL: &zeroValue} - r.GetURL() - r = &ReleaseAsset{} - r.GetURL() - r = nil - r.GetURL() -} - -func TestReleaseEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &ReleaseEvent{Action: &zeroValue} - r.GetAction() - r = &ReleaseEvent{} - r.GetAction() - r = nil - r.GetAction() -} - -func TestReleaseEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - r := &ReleaseEvent{} - r.GetInstallation() - r = nil - r.GetInstallation() -} - -func TestReleaseEvent_GetOrg(tt *testing.T) { - tt.Parallel() - r := &ReleaseEvent{} - r.GetOrg() - r = nil - r.GetOrg() -} - -func TestReleaseEvent_GetRelease(tt *testing.T) { - tt.Parallel() - r := &ReleaseEvent{} - r.GetRelease() - r = nil - r.GetRelease() -} - -func TestReleaseEvent_GetRepo(tt *testing.T) { - tt.Parallel() - r := &ReleaseEvent{} - r.GetRepo() - r = nil - r.GetRepo() -} - -func TestReleaseEvent_GetSender(tt *testing.T) { - tt.Parallel() - r := &ReleaseEvent{} - r.GetSender() - r = nil - r.GetSender() -} - -func TestReleaseVersion_GetBuildDate(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &ReleaseVersion{BuildDate: &zeroValue} - r.GetBuildDate() - r = &ReleaseVersion{} - r.GetBuildDate() - r = nil - r.GetBuildDate() -} - -func TestReleaseVersion_GetBuildID(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &ReleaseVersion{BuildID: &zeroValue} - r.GetBuildID() - r = &ReleaseVersion{} - r.GetBuildID() - r = nil - r.GetBuildID() -} - -func TestReleaseVersion_GetPlatform(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &ReleaseVersion{Platform: &zeroValue} - r.GetPlatform() - r = &ReleaseVersion{} - r.GetPlatform() - r = nil - r.GetPlatform() -} - -func TestReleaseVersion_GetVersion(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &ReleaseVersion{Version: &zeroValue} - r.GetVersion() - r = &ReleaseVersion{} - r.GetVersion() - r = nil - r.GetVersion() -} - -func TestRemoveResourcesFromCostCenterResponse_GetMessage(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RemoveResourcesFromCostCenterResponse{Message: &zeroValue} - r.GetMessage() - r = &RemoveResourcesFromCostCenterResponse{} - r.GetMessage() - r = nil - r.GetMessage() -} - -func TestRemoveToken_GetExpiresAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - r := &RemoveToken{ExpiresAt: &zeroValue} - r.GetExpiresAt() - r = &RemoveToken{} - r.GetExpiresAt() - r = nil - r.GetExpiresAt() -} - -func TestRemoveToken_GetToken(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RemoveToken{Token: &zeroValue} - r.GetToken() - r = &RemoveToken{} - r.GetToken() - r = nil - r.GetToken() -} - -func TestRename_GetFrom(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Rename{From: &zeroValue} - r.GetFrom() - r = &Rename{} - r.GetFrom() - r = nil - r.GetFrom() -} - -func TestRename_GetTo(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Rename{To: &zeroValue} - r.GetTo() - r = &Rename{} - r.GetTo() - r = nil - r.GetTo() -} - -func TestRenameOrgResponse_GetMessage(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RenameOrgResponse{Message: &zeroValue} - r.GetMessage() - r = &RenameOrgResponse{} - r.GetMessage() - r = nil - r.GetMessage() -} - -func TestRenameOrgResponse_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RenameOrgResponse{URL: &zeroValue} - r.GetURL() - r = &RenameOrgResponse{} - r.GetURL() - r = nil - r.GetURL() -} - -func TestRepoAdvisoryCredit_GetLogin(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepoAdvisoryCredit{Login: &zeroValue} - r.GetLogin() - r = &RepoAdvisoryCredit{} - r.GetLogin() - r = nil - r.GetLogin() -} - -func TestRepoAdvisoryCredit_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepoAdvisoryCredit{Type: &zeroValue} - r.GetType() - r = &RepoAdvisoryCredit{} - r.GetType() - r = nil - r.GetType() -} - -func TestRepoAdvisoryCreditDetailed_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepoAdvisoryCreditDetailed{State: &zeroValue} - r.GetState() - r = &RepoAdvisoryCreditDetailed{} - r.GetState() - r = nil - r.GetState() -} - -func TestRepoAdvisoryCreditDetailed_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepoAdvisoryCreditDetailed{Type: &zeroValue} - r.GetType() - r = &RepoAdvisoryCreditDetailed{} - r.GetType() - r = nil - r.GetType() -} - -func TestRepoAdvisoryCreditDetailed_GetUser(tt *testing.T) { - tt.Parallel() - r := &RepoAdvisoryCreditDetailed{} - r.GetUser() - r = nil - 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 - r := &RepoDependencies{DownloadLocation: &zeroValue} - r.GetDownloadLocation() - r = &RepoDependencies{} - r.GetDownloadLocation() - r = nil - 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 - r := &RepoDependencies{FilesAnalyzed: &zeroValue} - r.GetFilesAnalyzed() - r = &RepoDependencies{} - r.GetFilesAnalyzed() - r = nil - r.GetFilesAnalyzed() -} - -func TestRepoDependencies_GetLicenseConcluded(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepoDependencies{LicenseConcluded: &zeroValue} - r.GetLicenseConcluded() - r = &RepoDependencies{} - r.GetLicenseConcluded() - r = nil - r.GetLicenseConcluded() -} - -func TestRepoDependencies_GetLicenseDeclared(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepoDependencies{LicenseDeclared: &zeroValue} - r.GetLicenseDeclared() - r = &RepoDependencies{} - r.GetLicenseDeclared() - r = nil - r.GetLicenseDeclared() -} - -func TestRepoDependencies_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepoDependencies{Name: &zeroValue} - r.GetName() - r = &RepoDependencies{} - r.GetName() - r = nil - r.GetName() -} - -func TestRepoDependencies_GetSPDXID(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepoDependencies{SPDXID: &zeroValue} - r.GetSPDXID() - r = &RepoDependencies{} - r.GetSPDXID() - r = nil - r.GetSPDXID() -} - -func TestRepoDependencies_GetVersionInfo(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepoDependencies{VersionInfo: &zeroValue} - r.GetVersionInfo() - r = &RepoDependencies{} - r.GetVersionInfo() - r = nil - 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 - r := &RepoImmutableReleasesStatus{Enabled: &zeroValue} - r.GetEnabled() - r = &RepoImmutableReleasesStatus{} - r.GetEnabled() - r = nil - r.GetEnabled() -} - -func TestRepoImmutableReleasesStatus_GetEnforcedByOwner(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &RepoImmutableReleasesStatus{EnforcedByOwner: &zeroValue} - r.GetEnforcedByOwner() - r = &RepoImmutableReleasesStatus{} - r.GetEnforcedByOwner() - r = nil - r.GetEnforcedByOwner() -} - -func TestRepoMergeUpstreamRequest_GetBranch(tt *testing.T) { - tt.Parallel() - r := &RepoMergeUpstreamRequest{} - r.GetBranch() - r = nil - r.GetBranch() -} - -func TestRepoMergeUpstreamResult_GetBaseBranch(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepoMergeUpstreamResult{BaseBranch: &zeroValue} - r.GetBaseBranch() - r = &RepoMergeUpstreamResult{} - r.GetBaseBranch() - r = nil - r.GetBaseBranch() -} - -func TestRepoMergeUpstreamResult_GetMergeType(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepoMergeUpstreamResult{MergeType: &zeroValue} - r.GetMergeType() - r = &RepoMergeUpstreamResult{} - r.GetMergeType() - r = nil - r.GetMergeType() -} - -func TestRepoMergeUpstreamResult_GetMessage(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepoMergeUpstreamResult{Message: &zeroValue} - r.GetMessage() - r = &RepoMergeUpstreamResult{} - r.GetMessage() - r = nil - r.GetMessage() -} - -func TestRepoName_GetFrom(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepoName{From: &zeroValue} - r.GetFrom() - r = &RepoName{} - r.GetFrom() - r = nil - r.GetFrom() -} - -func TestRepositoriesSearchResult_GetIncompleteResults(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &RepositoriesSearchResult{IncompleteResults: &zeroValue} - r.GetIncompleteResults() - r = &RepositoriesSearchResult{} - r.GetIncompleteResults() - r = nil - 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 - r := &RepositoriesSearchResult{Total: &zeroValue} - r.GetTotal() - r = &RepositoriesSearchResult{} - r.GetTotal() - r = nil - r.GetTotal() -} - -func TestRepository_GetAllowAutoMerge(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &Repository{AllowAutoMerge: &zeroValue} - r.GetAllowAutoMerge() - r = &Repository{} - r.GetAllowAutoMerge() - r = nil - r.GetAllowAutoMerge() -} - -func TestRepository_GetAllowForking(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &Repository{AllowForking: &zeroValue} - r.GetAllowForking() - r = &Repository{} - r.GetAllowForking() - r = nil - r.GetAllowForking() -} - -func TestRepository_GetAllowMergeCommit(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &Repository{AllowMergeCommit: &zeroValue} - r.GetAllowMergeCommit() - r = &Repository{} - r.GetAllowMergeCommit() - r = nil - r.GetAllowMergeCommit() -} - -func TestRepository_GetAllowRebaseMerge(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &Repository{AllowRebaseMerge: &zeroValue} - r.GetAllowRebaseMerge() - r = &Repository{} - r.GetAllowRebaseMerge() - r = nil - r.GetAllowRebaseMerge() -} - -func TestRepository_GetAllowSquashMerge(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &Repository{AllowSquashMerge: &zeroValue} - r.GetAllowSquashMerge() - r = &Repository{} - r.GetAllowSquashMerge() - r = nil - r.GetAllowSquashMerge() -} - -func TestRepository_GetAllowUpdateBranch(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &Repository{AllowUpdateBranch: &zeroValue} - r.GetAllowUpdateBranch() - r = &Repository{} - r.GetAllowUpdateBranch() - r = nil - r.GetAllowUpdateBranch() -} - -func TestRepository_GetArchived(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &Repository{Archived: &zeroValue} - r.GetArchived() - r = &Repository{} - r.GetArchived() - r = nil - r.GetArchived() -} - -func TestRepository_GetArchiveURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{ArchiveURL: &zeroValue} - r.GetArchiveURL() - r = &Repository{} - r.GetArchiveURL() - r = nil - r.GetArchiveURL() -} - -func TestRepository_GetAssigneesURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{AssigneesURL: &zeroValue} - r.GetAssigneesURL() - r = &Repository{} - r.GetAssigneesURL() - r = nil - r.GetAssigneesURL() -} - -func TestRepository_GetAutoInit(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &Repository{AutoInit: &zeroValue} - r.GetAutoInit() - r = &Repository{} - r.GetAutoInit() - r = nil - r.GetAutoInit() -} - -func TestRepository_GetBlobsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{BlobsURL: &zeroValue} - r.GetBlobsURL() - r = &Repository{} - r.GetBlobsURL() - r = nil - r.GetBlobsURL() -} - -func TestRepository_GetBranchesURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{BranchesURL: &zeroValue} - r.GetBranchesURL() - r = &Repository{} - r.GetBranchesURL() - r = nil - r.GetBranchesURL() -} - -func TestRepository_GetCloneURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{CloneURL: &zeroValue} - r.GetCloneURL() - r = &Repository{} - r.GetCloneURL() - r = nil - r.GetCloneURL() -} - -func TestRepository_GetCodeOfConduct(tt *testing.T) { - tt.Parallel() - r := &Repository{} - r.GetCodeOfConduct() - r = nil - r.GetCodeOfConduct() -} - -func TestRepository_GetCollaboratorsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{CollaboratorsURL: &zeroValue} - r.GetCollaboratorsURL() - r = &Repository{} - r.GetCollaboratorsURL() - r = nil - r.GetCollaboratorsURL() -} - -func TestRepository_GetCommentsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{CommentsURL: &zeroValue} - r.GetCommentsURL() - r = &Repository{} - r.GetCommentsURL() - r = nil - r.GetCommentsURL() -} - -func TestRepository_GetCommitsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{CommitsURL: &zeroValue} - r.GetCommitsURL() - r = &Repository{} - r.GetCommitsURL() - r = nil - r.GetCommitsURL() -} - -func TestRepository_GetCompareURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{CompareURL: &zeroValue} - r.GetCompareURL() - r = &Repository{} - r.GetCompareURL() - r = nil - r.GetCompareURL() -} - -func TestRepository_GetContentsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{ContentsURL: &zeroValue} - r.GetContentsURL() - r = &Repository{} - r.GetContentsURL() - r = nil - r.GetContentsURL() -} - -func TestRepository_GetContributorsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{ContributorsURL: &zeroValue} - r.GetContributorsURL() - r = &Repository{} - r.GetContributorsURL() - r = nil - r.GetContributorsURL() -} - -func TestRepository_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - r := &Repository{CreatedAt: &zeroValue} - r.GetCreatedAt() - r = &Repository{} - r.GetCreatedAt() - r = nil - r.GetCreatedAt() -} - -func TestRepository_GetCustomProperties(tt *testing.T) { - tt.Parallel() - zeroValue := map[string]any{} - r := &Repository{CustomProperties: zeroValue} - r.GetCustomProperties() - r = &Repository{} - r.GetCustomProperties() - r = nil - r.GetCustomProperties() -} - -func TestRepository_GetDefaultBranch(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{DefaultBranch: &zeroValue} - r.GetDefaultBranch() - r = &Repository{} - r.GetDefaultBranch() - r = nil - r.GetDefaultBranch() -} - -func TestRepository_GetDeleteBranchOnMerge(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &Repository{DeleteBranchOnMerge: &zeroValue} - r.GetDeleteBranchOnMerge() - r = &Repository{} - r.GetDeleteBranchOnMerge() - r = nil - r.GetDeleteBranchOnMerge() -} - -func TestRepository_GetDeploymentsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{DeploymentsURL: &zeroValue} - r.GetDeploymentsURL() - r = &Repository{} - r.GetDeploymentsURL() - r = nil - r.GetDeploymentsURL() -} - -func TestRepository_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{Description: &zeroValue} - r.GetDescription() - r = &Repository{} - r.GetDescription() - r = nil - r.GetDescription() -} - -func TestRepository_GetDisabled(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &Repository{Disabled: &zeroValue} - r.GetDisabled() - r = &Repository{} - r.GetDisabled() - r = nil - r.GetDisabled() -} - -func TestRepository_GetDownloadsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{DownloadsURL: &zeroValue} - r.GetDownloadsURL() - r = &Repository{} - r.GetDownloadsURL() - r = nil - r.GetDownloadsURL() -} - -func TestRepository_GetEventsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{EventsURL: &zeroValue} - r.GetEventsURL() - r = &Repository{} - r.GetEventsURL() - r = nil - r.GetEventsURL() -} - -func TestRepository_GetFork(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &Repository{Fork: &zeroValue} - r.GetFork() - r = &Repository{} - r.GetFork() - r = nil - r.GetFork() -} - -func TestRepository_GetForksCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &Repository{ForksCount: &zeroValue} - r.GetForksCount() - r = &Repository{} - r.GetForksCount() - r = nil - r.GetForksCount() -} - -func TestRepository_GetForksURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{ForksURL: &zeroValue} - r.GetForksURL() - r = &Repository{} - r.GetForksURL() - r = nil - r.GetForksURL() -} - -func TestRepository_GetFullName(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{FullName: &zeroValue} - r.GetFullName() - r = &Repository{} - r.GetFullName() - r = nil - r.GetFullName() -} - -func TestRepository_GetGitCommitsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{GitCommitsURL: &zeroValue} - r.GetGitCommitsURL() - r = &Repository{} - r.GetGitCommitsURL() - r = nil - r.GetGitCommitsURL() -} - -func TestRepository_GetGitignoreTemplate(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{GitignoreTemplate: &zeroValue} - r.GetGitignoreTemplate() - r = &Repository{} - r.GetGitignoreTemplate() - r = nil - r.GetGitignoreTemplate() -} - -func TestRepository_GetGitRefsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{GitRefsURL: &zeroValue} - r.GetGitRefsURL() - r = &Repository{} - r.GetGitRefsURL() - r = nil - r.GetGitRefsURL() -} - -func TestRepository_GetGitTagsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{GitTagsURL: &zeroValue} - r.GetGitTagsURL() - r = &Repository{} - r.GetGitTagsURL() - r = nil - r.GetGitTagsURL() -} - -func TestRepository_GetGitURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{GitURL: &zeroValue} - r.GetGitURL() - r = &Repository{} - r.GetGitURL() - r = nil - r.GetGitURL() -} - -func TestRepository_GetHasDiscussions(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &Repository{HasDiscussions: &zeroValue} - r.GetHasDiscussions() - r = &Repository{} - r.GetHasDiscussions() - r = nil - r.GetHasDiscussions() -} - -func TestRepository_GetHasDownloads(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &Repository{HasDownloads: &zeroValue} - r.GetHasDownloads() - r = &Repository{} - r.GetHasDownloads() - r = nil - r.GetHasDownloads() -} - -func TestRepository_GetHasIssues(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &Repository{HasIssues: &zeroValue} - r.GetHasIssues() - r = &Repository{} - r.GetHasIssues() - r = nil - r.GetHasIssues() -} - -func TestRepository_GetHasPages(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &Repository{HasPages: &zeroValue} - r.GetHasPages() - r = &Repository{} - r.GetHasPages() - r = nil - r.GetHasPages() -} - -func TestRepository_GetHasProjects(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &Repository{HasProjects: &zeroValue} - r.GetHasProjects() - r = &Repository{} - r.GetHasProjects() - r = nil - r.GetHasProjects() -} - -func TestRepository_GetHasPullRequests(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &Repository{HasPullRequests: &zeroValue} - r.GetHasPullRequests() - r = &Repository{} - r.GetHasPullRequests() - r = nil - r.GetHasPullRequests() -} - -func TestRepository_GetHasWiki(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &Repository{HasWiki: &zeroValue} - r.GetHasWiki() - r = &Repository{} - r.GetHasWiki() - r = nil - r.GetHasWiki() -} - -func TestRepository_GetHomepage(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{Homepage: &zeroValue} - r.GetHomepage() - r = &Repository{} - r.GetHomepage() - r = nil - r.GetHomepage() -} - -func TestRepository_GetHooksURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{HooksURL: &zeroValue} - r.GetHooksURL() - r = &Repository{} - r.GetHooksURL() - r = nil - r.GetHooksURL() -} - -func TestRepository_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{HTMLURL: &zeroValue} - r.GetHTMLURL() - r = &Repository{} - r.GetHTMLURL() - r = nil - r.GetHTMLURL() -} - -func TestRepository_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - r := &Repository{ID: &zeroValue} - r.GetID() - r = &Repository{} - r.GetID() - r = nil - r.GetID() -} - -func TestRepository_GetIssueCommentURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{IssueCommentURL: &zeroValue} - r.GetIssueCommentURL() - r = &Repository{} - r.GetIssueCommentURL() - r = nil - r.GetIssueCommentURL() -} - -func TestRepository_GetIssueEventsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{IssueEventsURL: &zeroValue} - r.GetIssueEventsURL() - r = &Repository{} - r.GetIssueEventsURL() - r = nil - r.GetIssueEventsURL() -} - -func TestRepository_GetIssuesURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{IssuesURL: &zeroValue} - r.GetIssuesURL() - r = &Repository{} - r.GetIssuesURL() - r = nil - r.GetIssuesURL() -} - -func TestRepository_GetIsTemplate(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &Repository{IsTemplate: &zeroValue} - r.GetIsTemplate() - r = &Repository{} - r.GetIsTemplate() - r = nil - r.GetIsTemplate() -} - -func TestRepository_GetKeysURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{KeysURL: &zeroValue} - r.GetKeysURL() - r = &Repository{} - r.GetKeysURL() - r = nil - r.GetKeysURL() -} - -func TestRepository_GetLabelsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{LabelsURL: &zeroValue} - r.GetLabelsURL() - r = &Repository{} - r.GetLabelsURL() - r = nil - r.GetLabelsURL() -} - -func TestRepository_GetLanguage(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{Language: &zeroValue} - r.GetLanguage() - r = &Repository{} - r.GetLanguage() - r = nil - r.GetLanguage() -} - -func TestRepository_GetLanguagesURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{LanguagesURL: &zeroValue} - r.GetLanguagesURL() - r = &Repository{} - r.GetLanguagesURL() - r = nil - r.GetLanguagesURL() -} - -func TestRepository_GetLicense(tt *testing.T) { - tt.Parallel() - r := &Repository{} - r.GetLicense() - r = nil - r.GetLicense() -} - -func TestRepository_GetLicenseTemplate(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{LicenseTemplate: &zeroValue} - r.GetLicenseTemplate() - r = &Repository{} - r.GetLicenseTemplate() - r = nil - r.GetLicenseTemplate() -} - -func TestRepository_GetMasterBranch(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{MasterBranch: &zeroValue} - r.GetMasterBranch() - r = &Repository{} - r.GetMasterBranch() - r = nil - r.GetMasterBranch() -} - -func TestRepository_GetMergeCommitMessage(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{MergeCommitMessage: &zeroValue} - r.GetMergeCommitMessage() - r = &Repository{} - r.GetMergeCommitMessage() - r = nil - r.GetMergeCommitMessage() -} - -func TestRepository_GetMergeCommitTitle(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{MergeCommitTitle: &zeroValue} - r.GetMergeCommitTitle() - r = &Repository{} - r.GetMergeCommitTitle() - r = nil - r.GetMergeCommitTitle() -} - -func TestRepository_GetMergesURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{MergesURL: &zeroValue} - r.GetMergesURL() - r = &Repository{} - r.GetMergesURL() - r = nil - r.GetMergesURL() -} - -func TestRepository_GetMilestonesURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{MilestonesURL: &zeroValue} - r.GetMilestonesURL() - r = &Repository{} - r.GetMilestonesURL() - r = nil - r.GetMilestonesURL() -} - -func TestRepository_GetMirrorURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{MirrorURL: &zeroValue} - r.GetMirrorURL() - r = &Repository{} - r.GetMirrorURL() - r = nil - r.GetMirrorURL() -} - -func TestRepository_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{Name: &zeroValue} - r.GetName() - r = &Repository{} - r.GetName() - r = nil - r.GetName() -} - -func TestRepository_GetNetworkCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &Repository{NetworkCount: &zeroValue} - r.GetNetworkCount() - r = &Repository{} - r.GetNetworkCount() - r = nil - r.GetNetworkCount() -} - -func TestRepository_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{NodeID: &zeroValue} - r.GetNodeID() - r = &Repository{} - r.GetNodeID() - r = nil - r.GetNodeID() -} - -func TestRepository_GetNotificationsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{NotificationsURL: &zeroValue} - r.GetNotificationsURL() - r = &Repository{} - r.GetNotificationsURL() - r = nil - r.GetNotificationsURL() -} - -func TestRepository_GetOpenIssues(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &Repository{OpenIssues: &zeroValue} - r.GetOpenIssues() - r = &Repository{} - r.GetOpenIssues() - r = nil - r.GetOpenIssues() -} - -func TestRepository_GetOpenIssuesCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &Repository{OpenIssuesCount: &zeroValue} - r.GetOpenIssuesCount() - r = &Repository{} - r.GetOpenIssuesCount() - r = nil - r.GetOpenIssuesCount() -} - -func TestRepository_GetOrganization(tt *testing.T) { - tt.Parallel() - r := &Repository{} - r.GetOrganization() - r = nil - r.GetOrganization() -} - -func TestRepository_GetOwner(tt *testing.T) { - tt.Parallel() - r := &Repository{} - r.GetOwner() - r = nil - r.GetOwner() -} - -func TestRepository_GetParent(tt *testing.T) { - tt.Parallel() - r := &Repository{} - r.GetParent() - r = nil - r.GetParent() -} - -func TestRepository_GetPermissions(tt *testing.T) { - tt.Parallel() - r := &Repository{} - r.GetPermissions() - r = nil - r.GetPermissions() -} - -func TestRepository_GetPrivate(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &Repository{Private: &zeroValue} - r.GetPrivate() - r = &Repository{} - r.GetPrivate() - r = nil - r.GetPrivate() -} - -func TestRepository_GetPullRequestCreationPolicy(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{PullRequestCreationPolicy: &zeroValue} - r.GetPullRequestCreationPolicy() - r = &Repository{} - r.GetPullRequestCreationPolicy() - r = nil - r.GetPullRequestCreationPolicy() -} - -func TestRepository_GetPullsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{PullsURL: &zeroValue} - r.GetPullsURL() - r = &Repository{} - r.GetPullsURL() - r = nil - r.GetPullsURL() -} - -func TestRepository_GetPushedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - r := &Repository{PushedAt: &zeroValue} - r.GetPushedAt() - r = &Repository{} - r.GetPushedAt() - r = nil - r.GetPushedAt() -} - -func TestRepository_GetReleasesURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{ReleasesURL: &zeroValue} - r.GetReleasesURL() - r = &Repository{} - r.GetReleasesURL() - r = nil - r.GetReleasesURL() -} - -func TestRepository_GetRoleName(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{RoleName: &zeroValue} - r.GetRoleName() - r = &Repository{} - r.GetRoleName() - r = nil - r.GetRoleName() -} - -func TestRepository_GetSecurityAndAnalysis(tt *testing.T) { - tt.Parallel() - r := &Repository{} - r.GetSecurityAndAnalysis() - r = nil - r.GetSecurityAndAnalysis() -} - -func TestRepository_GetSize(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &Repository{Size: &zeroValue} - r.GetSize() - r = &Repository{} - r.GetSize() - r = nil - r.GetSize() -} - -func TestRepository_GetSource(tt *testing.T) { - tt.Parallel() - r := &Repository{} - r.GetSource() - r = nil - r.GetSource() -} - -func TestRepository_GetSquashMergeCommitMessage(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{SquashMergeCommitMessage: &zeroValue} - r.GetSquashMergeCommitMessage() - r = &Repository{} - r.GetSquashMergeCommitMessage() - r = nil - r.GetSquashMergeCommitMessage() -} - -func TestRepository_GetSquashMergeCommitTitle(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{SquashMergeCommitTitle: &zeroValue} - r.GetSquashMergeCommitTitle() - r = &Repository{} - r.GetSquashMergeCommitTitle() - r = nil - r.GetSquashMergeCommitTitle() -} - -func TestRepository_GetSSHURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{SSHURL: &zeroValue} - r.GetSSHURL() - r = &Repository{} - r.GetSSHURL() - r = nil - r.GetSSHURL() -} - -func TestRepository_GetStargazersCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &Repository{StargazersCount: &zeroValue} - r.GetStargazersCount() - r = &Repository{} - r.GetStargazersCount() - r = nil - r.GetStargazersCount() -} - -func TestRepository_GetStargazersURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{StargazersURL: &zeroValue} - r.GetStargazersURL() - r = &Repository{} - r.GetStargazersURL() - r = nil - r.GetStargazersURL() -} - -func TestRepository_GetStatusesURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{StatusesURL: &zeroValue} - r.GetStatusesURL() - r = &Repository{} - r.GetStatusesURL() - r = nil - r.GetStatusesURL() -} - -func TestRepository_GetSubscribersCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &Repository{SubscribersCount: &zeroValue} - r.GetSubscribersCount() - r = &Repository{} - r.GetSubscribersCount() - r = nil - r.GetSubscribersCount() -} - -func TestRepository_GetSubscribersURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{SubscribersURL: &zeroValue} - r.GetSubscribersURL() - r = &Repository{} - r.GetSubscribersURL() - r = nil - r.GetSubscribersURL() -} - -func TestRepository_GetSubscriptionURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{SubscriptionURL: &zeroValue} - r.GetSubscriptionURL() - r = &Repository{} - r.GetSubscriptionURL() - r = nil - r.GetSubscriptionURL() -} - -func TestRepository_GetSVNURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{SVNURL: &zeroValue} - r.GetSVNURL() - r = &Repository{} - r.GetSVNURL() - r = nil - r.GetSVNURL() -} - -func TestRepository_GetTagsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{TagsURL: &zeroValue} - r.GetTagsURL() - r = &Repository{} - r.GetTagsURL() - r = nil - r.GetTagsURL() -} - -func TestRepository_GetTeamID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - r := &Repository{TeamID: &zeroValue} - r.GetTeamID() - r = &Repository{} - r.GetTeamID() - r = nil - r.GetTeamID() -} - -func TestRepository_GetTeamsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{TeamsURL: &zeroValue} - r.GetTeamsURL() - r = &Repository{} - r.GetTeamsURL() - r = nil - r.GetTeamsURL() -} - -func TestRepository_GetTemplateRepository(tt *testing.T) { - tt.Parallel() - r := &Repository{} - r.GetTemplateRepository() - r = nil - 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 - r := &Repository{TreesURL: &zeroValue} - r.GetTreesURL() - r = &Repository{} - r.GetTreesURL() - r = nil - r.GetTreesURL() -} - -func TestRepository_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - r := &Repository{UpdatedAt: &zeroValue} - r.GetUpdatedAt() - r = &Repository{} - r.GetUpdatedAt() - r = nil - r.GetUpdatedAt() -} - -func TestRepository_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{URL: &zeroValue} - r.GetURL() - r = &Repository{} - r.GetURL() - r = nil - r.GetURL() -} - -func TestRepository_GetUseSquashPRTitleAsDefault(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &Repository{UseSquashPRTitleAsDefault: &zeroValue} - r.GetUseSquashPRTitleAsDefault() - r = &Repository{} - r.GetUseSquashPRTitleAsDefault() - r = nil - r.GetUseSquashPRTitleAsDefault() -} - -func TestRepository_GetVisibility(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Repository{Visibility: &zeroValue} - r.GetVisibility() - r = &Repository{} - r.GetVisibility() - r = nil - r.GetVisibility() -} - -func TestRepository_GetWatchers(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &Repository{Watchers: &zeroValue} - r.GetWatchers() - r = &Repository{} - r.GetWatchers() - r = nil - r.GetWatchers() -} - -func TestRepository_GetWatchersCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &Repository{WatchersCount: &zeroValue} - r.GetWatchersCount() - r = &Repository{} - r.GetWatchersCount() - r = nil - r.GetWatchersCount() -} - -func TestRepository_GetWebCommitSignoffRequired(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &Repository{WebCommitSignoffRequired: &zeroValue} - r.GetWebCommitSignoffRequired() - r = &Repository{} - r.GetWebCommitSignoffRequired() - r = nil - r.GetWebCommitSignoffRequired() -} - -func TestRepositoryActionsAccessLevel_GetAccessLevel(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryActionsAccessLevel{AccessLevel: &zeroValue} - r.GetAccessLevel() - r = &RepositoryActionsAccessLevel{} - r.GetAccessLevel() - r = nil - 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{} - r.GetActor() - r = nil - 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 - r := &RepositoryActivity{Timestamp: &zeroValue} - r.GetTimestamp() - r = &RepositoryActivity{} - r.GetTimestamp() - r = nil - r.GetTimestamp() -} - -func TestRepositoryActor_GetAvatarURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryActor{AvatarURL: &zeroValue} - r.GetAvatarURL() - r = &RepositoryActor{} - r.GetAvatarURL() - r = nil - r.GetAvatarURL() -} - -func TestRepositoryActor_GetEventsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryActor{EventsURL: &zeroValue} - r.GetEventsURL() - r = &RepositoryActor{} - r.GetEventsURL() - r = nil - r.GetEventsURL() -} - -func TestRepositoryActor_GetFollowersURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryActor{FollowersURL: &zeroValue} - r.GetFollowersURL() - r = &RepositoryActor{} - r.GetFollowersURL() - r = nil - r.GetFollowersURL() -} - -func TestRepositoryActor_GetFollowingURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryActor{FollowingURL: &zeroValue} - r.GetFollowingURL() - r = &RepositoryActor{} - r.GetFollowingURL() - r = nil - r.GetFollowingURL() -} - -func TestRepositoryActor_GetGistsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryActor{GistsURL: &zeroValue} - r.GetGistsURL() - r = &RepositoryActor{} - r.GetGistsURL() - r = nil - r.GetGistsURL() -} - -func TestRepositoryActor_GetGravatarID(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryActor{GravatarID: &zeroValue} - r.GetGravatarID() - r = &RepositoryActor{} - r.GetGravatarID() - r = nil - r.GetGravatarID() -} - -func TestRepositoryActor_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryActor{HTMLURL: &zeroValue} - r.GetHTMLURL() - r = &RepositoryActor{} - r.GetHTMLURL() - r = nil - r.GetHTMLURL() -} - -func TestRepositoryActor_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - r := &RepositoryActor{ID: &zeroValue} - r.GetID() - r = &RepositoryActor{} - r.GetID() - r = nil - r.GetID() -} - -func TestRepositoryActor_GetLogin(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryActor{Login: &zeroValue} - r.GetLogin() - r = &RepositoryActor{} - r.GetLogin() - r = nil - r.GetLogin() -} - -func TestRepositoryActor_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryActor{NodeID: &zeroValue} - r.GetNodeID() - r = &RepositoryActor{} - r.GetNodeID() - r = nil - r.GetNodeID() -} - -func TestRepositoryActor_GetOrganizationsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryActor{OrganizationsURL: &zeroValue} - r.GetOrganizationsURL() - r = &RepositoryActor{} - r.GetOrganizationsURL() - r = nil - r.GetOrganizationsURL() -} - -func TestRepositoryActor_GetReceivedEventsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryActor{ReceivedEventsURL: &zeroValue} - r.GetReceivedEventsURL() - r = &RepositoryActor{} - r.GetReceivedEventsURL() - r = nil - r.GetReceivedEventsURL() -} - -func TestRepositoryActor_GetReposURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryActor{ReposURL: &zeroValue} - r.GetReposURL() - r = &RepositoryActor{} - r.GetReposURL() - r = nil - r.GetReposURL() -} - -func TestRepositoryActor_GetSiteAdmin(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &RepositoryActor{SiteAdmin: &zeroValue} - r.GetSiteAdmin() - r = &RepositoryActor{} - r.GetSiteAdmin() - r = nil - r.GetSiteAdmin() -} - -func TestRepositoryActor_GetStarredURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryActor{StarredURL: &zeroValue} - r.GetStarredURL() - r = &RepositoryActor{} - r.GetStarredURL() - r = nil - r.GetStarredURL() -} - -func TestRepositoryActor_GetSubscriptionsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryActor{SubscriptionsURL: &zeroValue} - r.GetSubscriptionsURL() - r = &RepositoryActor{} - r.GetSubscriptionsURL() - r = nil - r.GetSubscriptionsURL() -} - -func TestRepositoryActor_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryActor{Type: &zeroValue} - r.GetType() - r = &RepositoryActor{} - r.GetType() - r = nil - r.GetType() -} - -func TestRepositoryActor_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryActor{URL: &zeroValue} - r.GetURL() - r = &RepositoryActor{} - r.GetURL() - r = nil - r.GetURL() -} - -func TestRepositoryActor_GetUserViewType(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryActor{UserViewType: &zeroValue} - r.GetUserViewType() - r = &RepositoryActor{} - r.GetUserViewType() - r = nil - 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{} - r.GetRepository() - r = nil - r.GetRepository() -} - -func TestRepositoryAttachment_GetStatus(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryAttachment{Status: &zeroValue} - r.GetStatus() - r = &RepositoryAttachment{} - r.GetStatus() - r = nil - r.GetStatus() -} - -func TestRepositoryCodeSecurityConfiguration_GetConfiguration(tt *testing.T) { - tt.Parallel() - r := &RepositoryCodeSecurityConfiguration{} - r.GetConfiguration() - r = nil - r.GetConfiguration() -} - -func TestRepositoryCodeSecurityConfiguration_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryCodeSecurityConfiguration{State: &zeroValue} - r.GetState() - r = &RepositoryCodeSecurityConfiguration{} - r.GetState() - r = nil - r.GetState() -} - -func TestRepositoryComment_GetAuthorAssociation(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryComment{AuthorAssociation: &zeroValue} - r.GetAuthorAssociation() - r = &RepositoryComment{} - r.GetAuthorAssociation() - r = nil - r.GetAuthorAssociation() -} - -func TestRepositoryComment_GetBody(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryComment{Body: &zeroValue} - r.GetBody() - r = &RepositoryComment{} - r.GetBody() - r = nil - r.GetBody() -} - -func TestRepositoryComment_GetCommitID(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryComment{CommitID: &zeroValue} - r.GetCommitID() - r = &RepositoryComment{} - r.GetCommitID() - r = nil - r.GetCommitID() -} - -func TestRepositoryComment_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - r := &RepositoryComment{CreatedAt: &zeroValue} - r.GetCreatedAt() - r = &RepositoryComment{} - r.GetCreatedAt() - r = nil - r.GetCreatedAt() -} - -func TestRepositoryComment_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryComment{HTMLURL: &zeroValue} - r.GetHTMLURL() - r = &RepositoryComment{} - r.GetHTMLURL() - r = nil - r.GetHTMLURL() -} - -func TestRepositoryComment_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - r := &RepositoryComment{ID: &zeroValue} - r.GetID() - r = &RepositoryComment{} - r.GetID() - r = nil - r.GetID() -} - -func TestRepositoryComment_GetLine(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &RepositoryComment{Line: &zeroValue} - r.GetLine() - r = &RepositoryComment{} - r.GetLine() - r = nil - r.GetLine() -} - -func TestRepositoryComment_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryComment{NodeID: &zeroValue} - r.GetNodeID() - r = &RepositoryComment{} - r.GetNodeID() - r = nil - r.GetNodeID() -} - -func TestRepositoryComment_GetPath(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryComment{Path: &zeroValue} - r.GetPath() - r = &RepositoryComment{} - r.GetPath() - r = nil - r.GetPath() -} - -func TestRepositoryComment_GetPosition(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &RepositoryComment{Position: &zeroValue} - r.GetPosition() - r = &RepositoryComment{} - r.GetPosition() - r = nil - r.GetPosition() -} - -func TestRepositoryComment_GetReactions(tt *testing.T) { - tt.Parallel() - r := &RepositoryComment{} - r.GetReactions() - r = nil - r.GetReactions() -} - -func TestRepositoryComment_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - r := &RepositoryComment{UpdatedAt: &zeroValue} - r.GetUpdatedAt() - r = &RepositoryComment{} - r.GetUpdatedAt() - r = nil - r.GetUpdatedAt() -} - -func TestRepositoryComment_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryComment{URL: &zeroValue} - r.GetURL() - r = &RepositoryComment{} - r.GetURL() - r = nil - r.GetURL() -} - -func TestRepositoryComment_GetUser(tt *testing.T) { - tt.Parallel() - r := &RepositoryComment{} - r.GetUser() - r = nil - r.GetUser() -} - -func TestRepositoryCommit_GetAuthor(tt *testing.T) { - tt.Parallel() - r := &RepositoryCommit{} - r.GetAuthor() - r = nil - r.GetAuthor() -} - -func TestRepositoryCommit_GetCommentsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryCommit{CommentsURL: &zeroValue} - r.GetCommentsURL() - r = &RepositoryCommit{} - r.GetCommentsURL() - r = nil - r.GetCommentsURL() -} - -func TestRepositoryCommit_GetCommit(tt *testing.T) { - tt.Parallel() - r := &RepositoryCommit{} - r.GetCommit() - r = nil - r.GetCommit() -} - -func TestRepositoryCommit_GetCommitter(tt *testing.T) { - tt.Parallel() - r := &RepositoryCommit{} - r.GetCommitter() - r = nil - 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 - r := &RepositoryCommit{HTMLURL: &zeroValue} - r.GetHTMLURL() - r = &RepositoryCommit{} - r.GetHTMLURL() - r = nil - r.GetHTMLURL() -} - -func TestRepositoryCommit_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryCommit{NodeID: &zeroValue} - r.GetNodeID() - r = &RepositoryCommit{} - r.GetNodeID() - r = nil - 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 - r := &RepositoryCommit{SHA: &zeroValue} - r.GetSHA() - r = &RepositoryCommit{} - r.GetSHA() - r = nil - r.GetSHA() -} - -func TestRepositoryCommit_GetStats(tt *testing.T) { - tt.Parallel() - r := &RepositoryCommit{} - r.GetStats() - r = nil - r.GetStats() -} - -func TestRepositoryCommit_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryCommit{URL: &zeroValue} - r.GetURL() - r = &RepositoryCommit{} - r.GetURL() - r = nil - r.GetURL() -} - -func TestRepositoryContent_GetDownloadURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryContent{DownloadURL: &zeroValue} - r.GetDownloadURL() - r = &RepositoryContent{} - r.GetDownloadURL() - r = nil - r.GetDownloadURL() -} - -func TestRepositoryContent_GetEncoding(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryContent{Encoding: &zeroValue} - r.GetEncoding() - r = &RepositoryContent{} - r.GetEncoding() - r = nil - r.GetEncoding() -} - -func TestRepositoryContent_GetGitURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryContent{GitURL: &zeroValue} - r.GetGitURL() - r = &RepositoryContent{} - r.GetGitURL() - r = nil - r.GetGitURL() -} - -func TestRepositoryContent_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryContent{HTMLURL: &zeroValue} - r.GetHTMLURL() - r = &RepositoryContent{} - r.GetHTMLURL() - r = nil - r.GetHTMLURL() -} - -func TestRepositoryContent_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryContent{Name: &zeroValue} - r.GetName() - r = &RepositoryContent{} - r.GetName() - r = nil - r.GetName() -} - -func TestRepositoryContent_GetPath(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryContent{Path: &zeroValue} - r.GetPath() - r = &RepositoryContent{} - r.GetPath() - r = nil - r.GetPath() -} - -func TestRepositoryContent_GetSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryContent{SHA: &zeroValue} - r.GetSHA() - r = &RepositoryContent{} - r.GetSHA() - r = nil - r.GetSHA() -} - -func TestRepositoryContent_GetSize(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &RepositoryContent{Size: &zeroValue} - r.GetSize() - r = &RepositoryContent{} - r.GetSize() - r = nil - r.GetSize() -} - -func TestRepositoryContent_GetSubmoduleGitURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryContent{SubmoduleGitURL: &zeroValue} - r.GetSubmoduleGitURL() - r = &RepositoryContent{} - r.GetSubmoduleGitURL() - r = nil - r.GetSubmoduleGitURL() -} - -func TestRepositoryContent_GetTarget(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryContent{Target: &zeroValue} - r.GetTarget() - r = &RepositoryContent{} - r.GetTarget() - r = nil - r.GetTarget() -} - -func TestRepositoryContent_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryContent{Type: &zeroValue} - r.GetType() - r = &RepositoryContent{} - r.GetType() - r = nil - r.GetType() -} - -func TestRepositoryContent_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryContent{URL: &zeroValue} - r.GetURL() - r = &RepositoryContent{} - r.GetURL() - r = nil - r.GetURL() -} - -func TestRepositoryContentFileOptions_GetAuthor(tt *testing.T) { - tt.Parallel() - r := &RepositoryContentFileOptions{} - r.GetAuthor() - r = nil - r.GetAuthor() -} - -func TestRepositoryContentFileOptions_GetBranch(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryContentFileOptions{Branch: &zeroValue} - r.GetBranch() - r = &RepositoryContentFileOptions{} - r.GetBranch() - r = nil - r.GetBranch() -} - -func TestRepositoryContentFileOptions_GetCommitter(tt *testing.T) { - tt.Parallel() - r := &RepositoryContentFileOptions{} - r.GetCommitter() - r = nil - 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 - r := &RepositoryContentFileOptions{Message: &zeroValue} - r.GetMessage() - r = &RepositoryContentFileOptions{} - r.GetMessage() - r = nil - r.GetMessage() -} - -func TestRepositoryContentFileOptions_GetSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryContentFileOptions{SHA: &zeroValue} - r.GetSHA() - r = &RepositoryContentFileOptions{} - r.GetSHA() - r = nil - 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{} - r.GetContent() - r = nil - 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 - r := &RepositoryDispatchEvent{Action: &zeroValue} - r.GetAction() - r = &RepositoryDispatchEvent{} - r.GetAction() - r = nil - r.GetAction() -} - -func TestRepositoryDispatchEvent_GetBranch(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryDispatchEvent{Branch: &zeroValue} - r.GetBranch() - r = &RepositoryDispatchEvent{} - r.GetBranch() - r = nil - 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{} - r.GetInstallation() - r = nil - r.GetInstallation() -} - -func TestRepositoryDispatchEvent_GetOrg(tt *testing.T) { - tt.Parallel() - r := &RepositoryDispatchEvent{} - r.GetOrg() - r = nil - r.GetOrg() -} - -func TestRepositoryDispatchEvent_GetRepo(tt *testing.T) { - tt.Parallel() - r := &RepositoryDispatchEvent{} - r.GetRepo() - r = nil - r.GetRepo() -} - -func TestRepositoryDispatchEvent_GetSender(tt *testing.T) { - tt.Parallel() - r := &RepositoryDispatchEvent{} - r.GetSender() - r = nil - r.GetSender() -} - -func TestRepositoryEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryEvent{Action: &zeroValue} - r.GetAction() - r = &RepositoryEvent{} - r.GetAction() - r = nil - r.GetAction() -} - -func TestRepositoryEvent_GetChanges(tt *testing.T) { - tt.Parallel() - r := &RepositoryEvent{} - r.GetChanges() - r = nil - r.GetChanges() -} - -func TestRepositoryEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - r := &RepositoryEvent{} - r.GetInstallation() - r = nil - r.GetInstallation() -} - -func TestRepositoryEvent_GetOrg(tt *testing.T) { - tt.Parallel() - r := &RepositoryEvent{} - r.GetOrg() - r = nil - r.GetOrg() -} - -func TestRepositoryEvent_GetRepo(tt *testing.T) { - tt.Parallel() - r := &RepositoryEvent{} - r.GetRepo() - r = nil - r.GetRepo() -} - -func TestRepositoryEvent_GetSender(tt *testing.T) { - tt.Parallel() - r := &RepositoryEvent{} - r.GetSender() - r = nil - r.GetSender() -} - -func TestRepositoryImportEvent_GetOrg(tt *testing.T) { - tt.Parallel() - r := &RepositoryImportEvent{} - r.GetOrg() - r = nil - r.GetOrg() -} - -func TestRepositoryImportEvent_GetRepo(tt *testing.T) { - tt.Parallel() - r := &RepositoryImportEvent{} - r.GetRepo() - r = nil - r.GetRepo() -} - -func TestRepositoryImportEvent_GetSender(tt *testing.T) { - tt.Parallel() - r := &RepositoryImportEvent{} - r.GetSender() - r = nil - r.GetSender() -} - -func TestRepositoryImportEvent_GetStatus(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryImportEvent{Status: &zeroValue} - r.GetStatus() - r = &RepositoryImportEvent{} - r.GetStatus() - r = nil - r.GetStatus() -} - -func TestRepositoryInvitation_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - r := &RepositoryInvitation{CreatedAt: &zeroValue} - r.GetCreatedAt() - r = &RepositoryInvitation{} - r.GetCreatedAt() - r = nil - r.GetCreatedAt() -} - -func TestRepositoryInvitation_GetExpired(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &RepositoryInvitation{Expired: &zeroValue} - r.GetExpired() - r = &RepositoryInvitation{} - r.GetExpired() - r = nil - r.GetExpired() -} - -func TestRepositoryInvitation_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryInvitation{HTMLURL: &zeroValue} - r.GetHTMLURL() - r = &RepositoryInvitation{} - r.GetHTMLURL() - r = nil - r.GetHTMLURL() -} - -func TestRepositoryInvitation_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - r := &RepositoryInvitation{ID: &zeroValue} - r.GetID() - r = &RepositoryInvitation{} - r.GetID() - r = nil - r.GetID() -} - -func TestRepositoryInvitation_GetInvitee(tt *testing.T) { - tt.Parallel() - r := &RepositoryInvitation{} - r.GetInvitee() - r = nil - r.GetInvitee() -} - -func TestRepositoryInvitation_GetInviter(tt *testing.T) { - tt.Parallel() - r := &RepositoryInvitation{} - r.GetInviter() - r = nil - r.GetInviter() -} - -func TestRepositoryInvitation_GetPermissions(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryInvitation{Permissions: &zeroValue} - r.GetPermissions() - r = &RepositoryInvitation{} - r.GetPermissions() - r = nil - r.GetPermissions() -} - -func TestRepositoryInvitation_GetRepo(tt *testing.T) { - tt.Parallel() - r := &RepositoryInvitation{} - r.GetRepo() - r = nil - r.GetRepo() -} - -func TestRepositoryInvitation_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryInvitation{URL: &zeroValue} - r.GetURL() - r = &RepositoryInvitation{} - r.GetURL() - r = nil - r.GetURL() -} - -func TestRepositoryLicense_GetContent(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryLicense{Content: &zeroValue} - r.GetContent() - r = &RepositoryLicense{} - r.GetContent() - r = nil - r.GetContent() -} - -func TestRepositoryLicense_GetDownloadURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryLicense{DownloadURL: &zeroValue} - r.GetDownloadURL() - r = &RepositoryLicense{} - r.GetDownloadURL() - r = nil - r.GetDownloadURL() -} - -func TestRepositoryLicense_GetEncoding(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryLicense{Encoding: &zeroValue} - r.GetEncoding() - r = &RepositoryLicense{} - r.GetEncoding() - r = nil - r.GetEncoding() -} - -func TestRepositoryLicense_GetGitURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryLicense{GitURL: &zeroValue} - r.GetGitURL() - r = &RepositoryLicense{} - r.GetGitURL() - r = nil - r.GetGitURL() -} - -func TestRepositoryLicense_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryLicense{HTMLURL: &zeroValue} - r.GetHTMLURL() - r = &RepositoryLicense{} - r.GetHTMLURL() - r = nil - r.GetHTMLURL() -} - -func TestRepositoryLicense_GetLicense(tt *testing.T) { - tt.Parallel() - r := &RepositoryLicense{} - r.GetLicense() - r = nil - r.GetLicense() -} - -func TestRepositoryLicense_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryLicense{Name: &zeroValue} - r.GetName() - r = &RepositoryLicense{} - r.GetName() - r = nil - r.GetName() -} - -func TestRepositoryLicense_GetPath(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryLicense{Path: &zeroValue} - r.GetPath() - r = &RepositoryLicense{} - r.GetPath() - r = nil - r.GetPath() -} - -func TestRepositoryLicense_GetSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryLicense{SHA: &zeroValue} - r.GetSHA() - r = &RepositoryLicense{} - r.GetSHA() - r = nil - r.GetSHA() -} - -func TestRepositoryLicense_GetSize(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &RepositoryLicense{Size: &zeroValue} - r.GetSize() - r = &RepositoryLicense{} - r.GetSize() - r = nil - r.GetSize() -} - -func TestRepositoryLicense_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryLicense{Type: &zeroValue} - r.GetType() - r = &RepositoryLicense{} - r.GetType() - r = nil - r.GetType() -} - -func TestRepositoryLicense_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryLicense{URL: &zeroValue} - r.GetURL() - r = &RepositoryLicense{} - r.GetURL() - r = nil - 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 - r := &RepositoryListRulesetsOptions{IncludesParents: &zeroValue} - r.GetIncludesParents() - r = &RepositoryListRulesetsOptions{} - r.GetIncludesParents() - r = nil - r.GetIncludesParents() -} - -func TestRepositoryMergeRequest_GetBase(tt *testing.T) { - tt.Parallel() - r := &RepositoryMergeRequest{} - r.GetBase() - r = nil - r.GetBase() -} - -func TestRepositoryMergeRequest_GetCommitMessage(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryMergeRequest{CommitMessage: &zeroValue} - r.GetCommitMessage() - r = &RepositoryMergeRequest{} - r.GetCommitMessage() - r = nil - r.GetCommitMessage() -} - -func TestRepositoryMergeRequest_GetHead(tt *testing.T) { - tt.Parallel() - r := &RepositoryMergeRequest{} - r.GetHead() - r = nil - 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 - r := &RepositoryPermissionLevel{Permission: &zeroValue} - r.GetPermission() - r = &RepositoryPermissionLevel{} - r.GetPermission() - r = nil - r.GetPermission() -} - -func TestRepositoryPermissionLevel_GetRoleName(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryPermissionLevel{RoleName: &zeroValue} - r.GetRoleName() - r = &RepositoryPermissionLevel{} - r.GetRoleName() - r = nil - r.GetRoleName() -} - -func TestRepositoryPermissionLevel_GetUser(tt *testing.T) { - tt.Parallel() - r := &RepositoryPermissionLevel{} - r.GetUser() - r = nil - r.GetUser() -} - -func TestRepositoryPermissions_GetAdmin(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &RepositoryPermissions{Admin: &zeroValue} - r.GetAdmin() - r = &RepositoryPermissions{} - r.GetAdmin() - r = nil - r.GetAdmin() -} - -func TestRepositoryPermissions_GetMaintain(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &RepositoryPermissions{Maintain: &zeroValue} - r.GetMaintain() - r = &RepositoryPermissions{} - r.GetMaintain() - r = nil - r.GetMaintain() -} - -func TestRepositoryPermissions_GetPull(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &RepositoryPermissions{Pull: &zeroValue} - r.GetPull() - r = &RepositoryPermissions{} - r.GetPull() - r = nil - r.GetPull() -} - -func TestRepositoryPermissions_GetPush(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &RepositoryPermissions{Push: &zeroValue} - r.GetPush() - r = &RepositoryPermissions{} - r.GetPush() - r = nil - r.GetPush() -} - -func TestRepositoryPermissions_GetTriage(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &RepositoryPermissions{Triage: &zeroValue} - r.GetTriage() - r = &RepositoryPermissions{} - r.GetTriage() - r = nil - 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() - r := &RepositoryRelease{} - r.GetAssetsURL() - r = nil - r.GetAssetsURL() -} - -func TestRepositoryRelease_GetAuthor(tt *testing.T) { - tt.Parallel() - r := &RepositoryRelease{} - r.GetAuthor() - r = nil - r.GetAuthor() -} - -func TestRepositoryRelease_GetBody(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryRelease{Body: &zeroValue} - r.GetBody() - r = &RepositoryRelease{} - r.GetBody() - r = nil - r.GetBody() -} - -func TestRepositoryRelease_GetBodyHTML(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryRelease{BodyHTML: &zeroValue} - r.GetBodyHTML() - r = &RepositoryRelease{} - r.GetBodyHTML() - r = nil - r.GetBodyHTML() -} - -func TestRepositoryRelease_GetBodyText(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryRelease{BodyText: &zeroValue} - r.GetBodyText() - r = &RepositoryRelease{} - r.GetBodyText() - r = nil - r.GetBodyText() -} - -func TestRepositoryRelease_GetCreatedAt(tt *testing.T) { - tt.Parallel() - r := &RepositoryRelease{} - r.GetCreatedAt() - r = nil - r.GetCreatedAt() -} - -func TestRepositoryRelease_GetDiscussionURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryRelease{DiscussionURL: &zeroValue} - r.GetDiscussionURL() - r = &RepositoryRelease{} - r.GetDiscussionURL() - r = nil - r.GetDiscussionURL() -} - -func TestRepositoryRelease_GetDraft(tt *testing.T) { - tt.Parallel() - r := &RepositoryRelease{} - r.GetDraft() - r = nil - r.GetDraft() -} - -func TestRepositoryRelease_GetHTMLURL(tt *testing.T) { - tt.Parallel() - r := &RepositoryRelease{} - r.GetHTMLURL() - r = nil - r.GetHTMLURL() -} - -func TestRepositoryRelease_GetID(tt *testing.T) { - tt.Parallel() - r := &RepositoryRelease{} - r.GetID() - r = nil - r.GetID() -} - -func TestRepositoryRelease_GetImmutable(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &RepositoryRelease{Immutable: &zeroValue} - r.GetImmutable() - r = &RepositoryRelease{} - r.GetImmutable() - r = nil - r.GetImmutable() -} - -func TestRepositoryRelease_GetMentionsCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &RepositoryRelease{MentionsCount: &zeroValue} - r.GetMentionsCount() - r = &RepositoryRelease{} - r.GetMentionsCount() - r = nil - r.GetMentionsCount() -} - -func TestRepositoryRelease_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryRelease{Name: &zeroValue} - r.GetName() - r = &RepositoryRelease{} - r.GetName() - r = nil - r.GetName() -} - -func TestRepositoryRelease_GetNodeID(tt *testing.T) { - tt.Parallel() - r := &RepositoryRelease{} - r.GetNodeID() - r = nil - r.GetNodeID() -} - -func TestRepositoryRelease_GetPrerelease(tt *testing.T) { - tt.Parallel() - r := &RepositoryRelease{} - r.GetPrerelease() - r = nil - r.GetPrerelease() -} - -func TestRepositoryRelease_GetPublishedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - r := &RepositoryRelease{PublishedAt: &zeroValue} - r.GetPublishedAt() - r = &RepositoryRelease{} - r.GetPublishedAt() - r = nil - r.GetPublishedAt() -} - -func TestRepositoryRelease_GetReactions(tt *testing.T) { - tt.Parallel() - r := &RepositoryRelease{} - r.GetReactions() - r = nil - r.GetReactions() -} - -func TestRepositoryRelease_GetTagName(tt *testing.T) { - tt.Parallel() - r := &RepositoryRelease{} - r.GetTagName() - r = nil - r.GetTagName() -} - -func TestRepositoryRelease_GetTarballURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryRelease{TarballURL: &zeroValue} - r.GetTarballURL() - r = &RepositoryRelease{} - r.GetTarballURL() - r = nil - r.GetTarballURL() -} - -func TestRepositoryRelease_GetTargetCommitish(tt *testing.T) { - tt.Parallel() - r := &RepositoryRelease{} - r.GetTargetCommitish() - r = nil - r.GetTargetCommitish() -} - -func TestRepositoryRelease_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - r := &RepositoryRelease{UpdatedAt: &zeroValue} - r.GetUpdatedAt() - r = &RepositoryRelease{} - r.GetUpdatedAt() - r = nil - r.GetUpdatedAt() -} - -func TestRepositoryRelease_GetUploadURL(tt *testing.T) { - tt.Parallel() - r := &RepositoryRelease{} - r.GetUploadURL() - r = nil - r.GetUploadURL() -} - -func TestRepositoryRelease_GetURL(tt *testing.T) { - tt.Parallel() - r := &RepositoryRelease{} - r.GetURL() - r = nil - r.GetURL() -} - -func TestRepositoryRelease_GetZipballURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryRelease{ZipballURL: &zeroValue} - r.GetZipballURL() - r = &RepositoryRelease{} - r.GetZipballURL() - r = nil - 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{} - r.GetConditions() - r = nil - r.GetConditions() -} - -func TestRepositoryRuleset_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - r := &RepositoryRuleset{CreatedAt: &zeroValue} - r.GetCreatedAt() - r = &RepositoryRuleset{} - r.GetCreatedAt() - r = nil - r.GetCreatedAt() -} - -func TestRepositoryRuleset_GetCurrentUserCanBypass(tt *testing.T) { - tt.Parallel() - r := &RepositoryRuleset{} - r.GetCurrentUserCanBypass() - r = nil - 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 - r := &RepositoryRuleset{ID: &zeroValue} - r.GetID() - r = &RepositoryRuleset{} - r.GetID() - r = nil - r.GetID() -} - -func TestRepositoryRuleset_GetLinks(tt *testing.T) { - tt.Parallel() - r := &RepositoryRuleset{} - r.GetLinks() - r = nil - 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 - r := &RepositoryRuleset{NodeID: &zeroValue} - r.GetNodeID() - r = &RepositoryRuleset{} - r.GetNodeID() - r = nil - r.GetNodeID() -} - -func TestRepositoryRuleset_GetRules(tt *testing.T) { - tt.Parallel() - r := &RepositoryRuleset{} - r.GetRules() - r = nil - 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{} - r.GetSourceType() - r = nil - r.GetSourceType() -} - -func TestRepositoryRuleset_GetTarget(tt *testing.T) { - tt.Parallel() - r := &RepositoryRuleset{} - r.GetTarget() - r = nil - r.GetTarget() -} - -func TestRepositoryRuleset_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - r := &RepositoryRuleset{UpdatedAt: &zeroValue} - r.GetUpdatedAt() - r = &RepositoryRuleset{} - r.GetUpdatedAt() - r = nil - 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{} - r.GetConfiguration() - r = nil - r.GetConfiguration() -} - -func TestRepositoryRulesetChangedRule_GetPattern(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetChangedRule{} - r.GetPattern() - r = nil - r.GetPattern() -} - -func TestRepositoryRulesetChangedRule_GetRuleType(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetChangedRule{} - r.GetRuleType() - r = nil - 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{} - r.GetConditions() - r = nil - r.GetConditions() -} - -func TestRepositoryRulesetChanges_GetEnforcement(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetChanges{} - r.GetEnforcement() - r = nil - r.GetEnforcement() -} - -func TestRepositoryRulesetChanges_GetName(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetChanges{} - r.GetName() - r = nil - r.GetName() -} - -func TestRepositoryRulesetChanges_GetRules(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetChanges{} - r.GetRules() - r = nil - r.GetRules() -} - -func TestRepositoryRulesetChangeSource_GetFrom(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryRulesetChangeSource{From: &zeroValue} - r.GetFrom() - r = &RepositoryRulesetChangeSource{} - r.GetFrom() - r = nil - 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{} - r.GetOrganizationID() - r = nil - r.GetOrganizationID() -} - -func TestRepositoryRulesetConditions_GetOrganizationName(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetConditions{} - r.GetOrganizationName() - r = nil - r.GetOrganizationName() -} - -func TestRepositoryRulesetConditions_GetOrganizationProperty(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetConditions{} - r.GetOrganizationProperty() - r = nil - r.GetOrganizationProperty() -} - -func TestRepositoryRulesetConditions_GetRefName(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetConditions{} - r.GetRefName() - r = nil - r.GetRefName() -} - -func TestRepositoryRulesetConditions_GetRepositoryID(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetConditions{} - r.GetRepositoryID() - r = nil - r.GetRepositoryID() -} - -func TestRepositoryRulesetConditions_GetRepositoryName(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetConditions{} - r.GetRepositoryName() - r = nil - r.GetRepositoryName() -} - -func TestRepositoryRulesetConditions_GetRepositoryProperty(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetConditions{} - r.GetRepositoryProperty() - r = nil - r.GetRepositoryProperty() -} - -func TestRepositoryRulesetEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryRulesetEvent{Action: &zeroValue} - r.GetAction() - r = &RepositoryRulesetEvent{} - r.GetAction() - r = nil - r.GetAction() -} - -func TestRepositoryRulesetEvent_GetChanges(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetEvent{} - r.GetChanges() - r = nil - r.GetChanges() -} - -func TestRepositoryRulesetEvent_GetEnterprise(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetEvent{} - r.GetEnterprise() - r = nil - r.GetEnterprise() -} - -func TestRepositoryRulesetEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetEvent{} - r.GetInstallation() - r = nil - r.GetInstallation() -} - -func TestRepositoryRulesetEvent_GetOrganization(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetEvent{} - r.GetOrganization() - r = nil - r.GetOrganization() -} - -func TestRepositoryRulesetEvent_GetRepository(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetEvent{} - r.GetRepository() - r = nil - r.GetRepository() -} - -func TestRepositoryRulesetEvent_GetRepositoryRuleset(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetEvent{} - r.GetRepositoryRuleset() - r = nil - r.GetRepositoryRuleset() -} - -func TestRepositoryRulesetEvent_GetSender(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetEvent{} - r.GetSender() - r = nil - r.GetSender() -} - -func TestRepositoryRulesetLink_GetHRef(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryRulesetLink{HRef: &zeroValue} - r.GetHRef() - r = &RepositoryRulesetLink{} - r.GetHRef() - r = nil - r.GetHRef() -} - -func TestRepositoryRulesetLinks_GetHTML(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetLinks{} - r.GetHTML() - r = nil - r.GetHTML() -} - -func TestRepositoryRulesetLinks_GetSelf(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetLinks{} - r.GetSelf() - r = nil - 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 - r := &RepositoryRulesetRepositoryNamesConditionParameters{Protected: &zeroValue} - r.GetProtected() - r = &RepositoryRulesetRepositoryNamesConditionParameters{} - r.GetProtected() - r = nil - 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 - r := &RepositoryRulesetRepositoryPropertyTargetParameters{Source: &zeroValue} - r.GetSource() - r = &RepositoryRulesetRepositoryPropertyTargetParameters{} - r.GetSource() - r = nil - r.GetSource() -} - -func TestRepositoryRulesetRules_GetBranchNamePattern(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetBranchNamePattern() - r = nil - r.GetBranchNamePattern() -} - -func TestRepositoryRulesetRules_GetCodeScanning(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetCodeScanning() - r = nil - r.GetCodeScanning() -} - -func TestRepositoryRulesetRules_GetCommitAuthorEmailPattern(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetCommitAuthorEmailPattern() - r = nil - r.GetCommitAuthorEmailPattern() -} - -func TestRepositoryRulesetRules_GetCommitMessagePattern(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetCommitMessagePattern() - r = nil - r.GetCommitMessagePattern() -} - -func TestRepositoryRulesetRules_GetCommitterEmailPattern(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetCommitterEmailPattern() - r = nil - r.GetCommitterEmailPattern() -} - -func TestRepositoryRulesetRules_GetCopilotCodeReview(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetCopilotCodeReview() - r = nil - r.GetCopilotCodeReview() -} - -func TestRepositoryRulesetRules_GetCreation(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetCreation() - r = nil - r.GetCreation() -} - -func TestRepositoryRulesetRules_GetDeletion(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetDeletion() - r = nil - r.GetDeletion() -} - -func TestRepositoryRulesetRules_GetFileExtensionRestriction(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetFileExtensionRestriction() - r = nil - r.GetFileExtensionRestriction() -} - -func TestRepositoryRulesetRules_GetFilePathRestriction(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetFilePathRestriction() - r = nil - r.GetFilePathRestriction() -} - -func TestRepositoryRulesetRules_GetMaxFilePathLength(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetMaxFilePathLength() - r = nil - r.GetMaxFilePathLength() -} - -func TestRepositoryRulesetRules_GetMaxFileSize(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetMaxFileSize() - r = nil - r.GetMaxFileSize() -} - -func TestRepositoryRulesetRules_GetMergeQueue(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetMergeQueue() - r = nil - r.GetMergeQueue() -} - -func TestRepositoryRulesetRules_GetNonFastForward(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetNonFastForward() - r = nil - r.GetNonFastForward() -} - -func TestRepositoryRulesetRules_GetPullRequest(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetPullRequest() - r = nil - r.GetPullRequest() -} - -func TestRepositoryRulesetRules_GetRepositoryCreate(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetRepositoryCreate() - r = nil - r.GetRepositoryCreate() -} - -func TestRepositoryRulesetRules_GetRepositoryDelete(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetRepositoryDelete() - r = nil - r.GetRepositoryDelete() -} - -func TestRepositoryRulesetRules_GetRepositoryName(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetRepositoryName() - r = nil - r.GetRepositoryName() -} - -func TestRepositoryRulesetRules_GetRepositoryTransfer(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetRepositoryTransfer() - r = nil - r.GetRepositoryTransfer() -} - -func TestRepositoryRulesetRules_GetRepositoryVisibility(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetRepositoryVisibility() - r = nil - r.GetRepositoryVisibility() -} - -func TestRepositoryRulesetRules_GetRequiredDeployments(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetRequiredDeployments() - r = nil - r.GetRequiredDeployments() -} - -func TestRepositoryRulesetRules_GetRequiredLinearHistory(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetRequiredLinearHistory() - r = nil - r.GetRequiredLinearHistory() -} - -func TestRepositoryRulesetRules_GetRequiredSignatures(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetRequiredSignatures() - r = nil - r.GetRequiredSignatures() -} - -func TestRepositoryRulesetRules_GetRequiredStatusChecks(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetRequiredStatusChecks() - r = nil - r.GetRequiredStatusChecks() -} - -func TestRepositoryRulesetRules_GetTagNamePattern(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetTagNamePattern() - r = nil - r.GetTagNamePattern() -} - -func TestRepositoryRulesetRules_GetUpdate(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetUpdate() - r = nil - r.GetUpdate() -} - -func TestRepositoryRulesetRules_GetWorkflows(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetRules{} - r.GetWorkflows() - r = nil - r.GetWorkflows() -} - -func TestRepositoryRulesetUpdatedCondition_GetConditionType(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetUpdatedCondition{} - r.GetConditionType() - r = nil - r.GetConditionType() -} - -func TestRepositoryRulesetUpdatedCondition_GetExclude(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetUpdatedCondition{} - r.GetExclude() - r = nil - r.GetExclude() -} - -func TestRepositoryRulesetUpdatedCondition_GetInclude(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetUpdatedCondition{} - r.GetInclude() - r = nil - r.GetInclude() -} - -func TestRepositoryRulesetUpdatedCondition_GetTarget(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetUpdatedCondition{} - r.GetTarget() - r = nil - r.GetTarget() -} - -func TestRepositoryRulesetUpdatedConditions_GetChanges(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetUpdatedConditions{} - r.GetChanges() - r = nil - r.GetChanges() -} - -func TestRepositoryRulesetUpdatedConditions_GetCondition(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetUpdatedConditions{} - r.GetCondition() - r = nil - r.GetCondition() -} - -func TestRepositoryRulesetUpdatedRules_GetChanges(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetUpdatedRules{} - r.GetChanges() - r = nil - r.GetChanges() -} - -func TestRepositoryRulesetUpdatedRules_GetRule(tt *testing.T) { - tt.Parallel() - r := &RepositoryRulesetUpdatedRules{} - r.GetRule() - r = nil - r.GetRule() -} - -func TestRepositoryTag_GetCommit(tt *testing.T) { - tt.Parallel() - r := &RepositoryTag{} - r.GetCommit() - r = nil - r.GetCommit() -} - -func TestRepositoryTag_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryTag{Name: &zeroValue} - r.GetName() - r = &RepositoryTag{} - r.GetName() - r = nil - r.GetName() -} - -func TestRepositoryTag_GetTarballURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryTag{TarballURL: &zeroValue} - r.GetTarballURL() - r = &RepositoryTag{} - r.GetTarballURL() - r = nil - r.GetTarballURL() -} - -func TestRepositoryTag_GetZipballURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryTag{ZipballURL: &zeroValue} - r.GetZipballURL() - r = &RepositoryTag{} - r.GetZipballURL() - r = nil - 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 TestRepositoryVisibilityRuleParameters_GetPublic(tt *testing.T) { - tt.Parallel() - r := &RepositoryVisibilityRuleParameters{} - r.GetPublic() - r = nil - r.GetPublic() -} - -func TestRepositoryVulnerabilityAlert_GetAffectedPackageName(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryVulnerabilityAlert{AffectedPackageName: &zeroValue} - r.GetAffectedPackageName() - r = &RepositoryVulnerabilityAlert{} - r.GetAffectedPackageName() - r = nil - r.GetAffectedPackageName() -} - -func TestRepositoryVulnerabilityAlert_GetAffectedRange(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryVulnerabilityAlert{AffectedRange: &zeroValue} - r.GetAffectedRange() - r = &RepositoryVulnerabilityAlert{} - r.GetAffectedRange() - r = nil - r.GetAffectedRange() -} - -func TestRepositoryVulnerabilityAlert_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - r := &RepositoryVulnerabilityAlert{CreatedAt: &zeroValue} - r.GetCreatedAt() - r = &RepositoryVulnerabilityAlert{} - r.GetCreatedAt() - r = nil - r.GetCreatedAt() -} - -func TestRepositoryVulnerabilityAlert_GetDismissedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - r := &RepositoryVulnerabilityAlert{DismissedAt: &zeroValue} - r.GetDismissedAt() - r = &RepositoryVulnerabilityAlert{} - r.GetDismissedAt() - r = nil - r.GetDismissedAt() -} - -func TestRepositoryVulnerabilityAlert_GetDismisser(tt *testing.T) { - tt.Parallel() - r := &RepositoryVulnerabilityAlert{} - r.GetDismisser() - r = nil - r.GetDismisser() -} - -func TestRepositoryVulnerabilityAlert_GetDismissReason(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryVulnerabilityAlert{DismissReason: &zeroValue} - r.GetDismissReason() - r = &RepositoryVulnerabilityAlert{} - r.GetDismissReason() - r = nil - r.GetDismissReason() -} - -func TestRepositoryVulnerabilityAlert_GetExternalIdentifier(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryVulnerabilityAlert{ExternalIdentifier: &zeroValue} - r.GetExternalIdentifier() - r = &RepositoryVulnerabilityAlert{} - r.GetExternalIdentifier() - r = nil - r.GetExternalIdentifier() -} - -func TestRepositoryVulnerabilityAlert_GetExternalReference(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryVulnerabilityAlert{ExternalReference: &zeroValue} - r.GetExternalReference() - r = &RepositoryVulnerabilityAlert{} - r.GetExternalReference() - r = nil - r.GetExternalReference() -} - -func TestRepositoryVulnerabilityAlert_GetFixedIn(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryVulnerabilityAlert{FixedIn: &zeroValue} - r.GetFixedIn() - r = &RepositoryVulnerabilityAlert{} - r.GetFixedIn() - r = nil - r.GetFixedIn() -} - -func TestRepositoryVulnerabilityAlert_GetGitHubSecurityAdvisoryID(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryVulnerabilityAlert{GitHubSecurityAdvisoryID: &zeroValue} - r.GetGitHubSecurityAdvisoryID() - r = &RepositoryVulnerabilityAlert{} - r.GetGitHubSecurityAdvisoryID() - r = nil - r.GetGitHubSecurityAdvisoryID() -} - -func TestRepositoryVulnerabilityAlert_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - r := &RepositoryVulnerabilityAlert{ID: &zeroValue} - r.GetID() - r = &RepositoryVulnerabilityAlert{} - r.GetID() - r = nil - r.GetID() -} - -func TestRepositoryVulnerabilityAlert_GetSeverity(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryVulnerabilityAlert{Severity: &zeroValue} - r.GetSeverity() - r = &RepositoryVulnerabilityAlert{} - r.GetSeverity() - r = nil - r.GetSeverity() -} - -func TestRepositoryVulnerabilityAlertEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepositoryVulnerabilityAlertEvent{Action: &zeroValue} - r.GetAction() - r = &RepositoryVulnerabilityAlertEvent{} - r.GetAction() - r = nil - r.GetAction() -} - -func TestRepositoryVulnerabilityAlertEvent_GetAlert(tt *testing.T) { - tt.Parallel() - r := &RepositoryVulnerabilityAlertEvent{} - r.GetAlert() - r = nil - r.GetAlert() -} - -func TestRepositoryVulnerabilityAlertEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - r := &RepositoryVulnerabilityAlertEvent{} - r.GetInstallation() - r = nil - r.GetInstallation() -} - -func TestRepositoryVulnerabilityAlertEvent_GetOrg(tt *testing.T) { - tt.Parallel() - r := &RepositoryVulnerabilityAlertEvent{} - r.GetOrg() - r = nil - r.GetOrg() -} - -func TestRepositoryVulnerabilityAlertEvent_GetRepository(tt *testing.T) { - tt.Parallel() - r := &RepositoryVulnerabilityAlertEvent{} - r.GetRepository() - r = nil - r.GetRepository() -} - -func TestRepositoryVulnerabilityAlertEvent_GetSender(tt *testing.T) { - tt.Parallel() - r := &RepositoryVulnerabilityAlertEvent{} - r.GetSender() - r = nil - r.GetSender() -} - -func TestRepoStats_GetForkRepos(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &RepoStats{ForkRepos: &zeroValue} - r.GetForkRepos() - r = &RepoStats{} - r.GetForkRepos() - r = nil - r.GetForkRepos() -} - -func TestRepoStats_GetOrgRepos(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &RepoStats{OrgRepos: &zeroValue} - r.GetOrgRepos() - r = &RepoStats{} - r.GetOrgRepos() - r = nil - r.GetOrgRepos() -} - -func TestRepoStats_GetRootRepos(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &RepoStats{RootRepos: &zeroValue} - r.GetRootRepos() - r = &RepoStats{} - r.GetRootRepos() - r = nil - r.GetRootRepos() -} - -func TestRepoStats_GetTotalPushes(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &RepoStats{TotalPushes: &zeroValue} - r.GetTotalPushes() - r = &RepoStats{} - r.GetTotalPushes() - r = nil - r.GetTotalPushes() -} - -func TestRepoStats_GetTotalRepos(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &RepoStats{TotalRepos: &zeroValue} - r.GetTotalRepos() - r = &RepoStats{} - r.GetTotalRepos() - r = nil - r.GetTotalRepos() -} - -func TestRepoStats_GetTotalWikis(tt *testing.T) { - tt.Parallel() - var zeroValue int - r := &RepoStats{TotalWikis: &zeroValue} - r.GetTotalWikis() - r = &RepoStats{} - r.GetTotalWikis() - r = nil - r.GetTotalWikis() -} - -func TestRepoStatus_GetAvatarURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepoStatus{AvatarURL: &zeroValue} - r.GetAvatarURL() - r = &RepoStatus{} - r.GetAvatarURL() - r = nil - r.GetAvatarURL() -} - -func TestRepoStatus_GetContext(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepoStatus{Context: &zeroValue} - r.GetContext() - r = &RepoStatus{} - r.GetContext() - r = nil - r.GetContext() -} - -func TestRepoStatus_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - r := &RepoStatus{CreatedAt: &zeroValue} - r.GetCreatedAt() - r = &RepoStatus{} - r.GetCreatedAt() - r = nil - r.GetCreatedAt() -} - -func TestRepoStatus_GetCreator(tt *testing.T) { - tt.Parallel() - r := &RepoStatus{} - r.GetCreator() - r = nil - r.GetCreator() -} - -func TestRepoStatus_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepoStatus{Description: &zeroValue} - r.GetDescription() - r = &RepoStatus{} - r.GetDescription() - r = nil - r.GetDescription() -} - -func TestRepoStatus_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - r := &RepoStatus{ID: &zeroValue} - r.GetID() - r = &RepoStatus{} - r.GetID() - r = nil - r.GetID() -} - -func TestRepoStatus_GetNodeID(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepoStatus{NodeID: &zeroValue} - r.GetNodeID() - r = &RepoStatus{} - r.GetNodeID() - r = nil - r.GetNodeID() -} - -func TestRepoStatus_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepoStatus{State: &zeroValue} - r.GetState() - r = &RepoStatus{} - r.GetState() - r = nil - r.GetState() -} - -func TestRepoStatus_GetTargetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepoStatus{TargetURL: &zeroValue} - r.GetTargetURL() - r = &RepoStatus{} - r.GetTargetURL() - r = nil - r.GetTargetURL() -} - -func TestRepoStatus_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - r := &RepoStatus{UpdatedAt: &zeroValue} - r.GetUpdatedAt() - r = &RepoStatus{} - r.GetUpdatedAt() - r = nil - r.GetUpdatedAt() -} - -func TestRepoStatus_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RepoStatus{URL: &zeroValue} - r.GetURL() - r = &RepoStatus{} - r.GetURL() - r = nil - 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 - r := &RequireCodeOwnerReviewChanges{From: &zeroValue} - r.GetFrom() - r = &RequireCodeOwnerReviewChanges{} - r.GetFrom() - r = nil - 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 - r := &RequiredConversationResolutionLevelChanges{From: &zeroValue} - r.GetFrom() - r = &RequiredConversationResolutionLevelChanges{} - r.GetFrom() - r = nil - 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 - r := &RequiredDeploymentsEnforcementLevelChanges{From: &zeroValue} - r.GetFrom() - r = &RequiredDeploymentsEnforcementLevelChanges{} - r.GetFrom() - r = nil - 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 - r := &RequiredReviewer{Type: &zeroValue} - r.GetType() - r = &RequiredReviewer{} - r.GetType() - r = nil - r.GetType() -} - -func TestRequiredStatusCheck_GetAppID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - r := &RequiredStatusCheck{AppID: &zeroValue} - r.GetAppID() - r = &RequiredStatusCheck{} - r.GetAppID() - r = nil - 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 - r := &RequiredStatusChecks{Checks: &zeroValue} - r.GetChecks() - r = &RequiredStatusChecks{} - r.GetChecks() - r = nil - r.GetChecks() -} - -func TestRequiredStatusChecks_GetContexts(tt *testing.T) { - tt.Parallel() - var zeroValue []string - r := &RequiredStatusChecks{Contexts: &zeroValue} - r.GetContexts() - r = &RequiredStatusChecks{} - r.GetContexts() - r = nil - r.GetContexts() -} - -func TestRequiredStatusChecks_GetContextsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RequiredStatusChecks{ContextsURL: &zeroValue} - r.GetContextsURL() - r = &RequiredStatusChecks{} - r.GetContextsURL() - r = nil - 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 - r := &RequiredStatusChecks{URL: &zeroValue} - r.GetURL() - r = &RequiredStatusChecks{} - r.GetURL() - r = nil - 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 - r := &RequiredStatusChecksEnforcementLevelChanges{From: &zeroValue} - r.GetFrom() - r = &RequiredStatusChecksEnforcementLevelChanges{} - r.GetFrom() - r = nil - 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 - r := &RequiredStatusChecksRequest{Strict: &zeroValue} - r.GetStrict() - r = &RequiredStatusChecksRequest{} - r.GetStrict() - r = nil - r.GetStrict() -} - -func TestRequiredStatusChecksRuleParameters_GetDoNotEnforceOnCreate(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &RequiredStatusChecksRuleParameters{DoNotEnforceOnCreate: &zeroValue} - r.GetDoNotEnforceOnCreate() - r = &RequiredStatusChecksRuleParameters{} - r.GetDoNotEnforceOnCreate() - r = nil - 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 - r := &RequireLastPushApprovalChanges{From: &zeroValue} - r.GetFrom() - r = &RequireLastPushApprovalChanges{} - r.GetFrom() - r = nil - 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 - r := &ReviewersRequest{NodeID: &zeroValue} - r.GetNodeID() - r = &ReviewersRequest{} - r.GetNodeID() - r = nil - 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 - r := &ReviewPersonalAccessTokenRequestOptions{Reason: &zeroValue} - r.GetReason() - r = &ReviewPersonalAccessTokenRequestOptions{} - r.GetReason() - r = nil - r.GetReason() -} - -func TestRule_GetDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Rule{Description: &zeroValue} - r.GetDescription() - r = &Rule{} - r.GetDescription() - r = nil - r.GetDescription() -} - -func TestRule_GetFullDescription(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Rule{FullDescription: &zeroValue} - r.GetFullDescription() - r = &Rule{} - r.GetFullDescription() - r = nil - r.GetFullDescription() -} - -func TestRule_GetHelp(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Rule{Help: &zeroValue} - r.GetHelp() - r = &Rule{} - r.GetHelp() - r = nil - r.GetHelp() -} - -func TestRule_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Rule{ID: &zeroValue} - r.GetID() - r = &Rule{} - r.GetID() - r = nil - r.GetID() -} - -func TestRule_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Rule{Name: &zeroValue} - r.GetName() - r = &Rule{} - r.GetName() - r = nil - r.GetName() -} - -func TestRule_GetSecuritySeverityLevel(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Rule{SecuritySeverityLevel: &zeroValue} - r.GetSecuritySeverityLevel() - r = &Rule{} - r.GetSecuritySeverityLevel() - r = nil - r.GetSecuritySeverityLevel() -} - -func TestRule_GetSeverity(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Rule{Severity: &zeroValue} - r.GetSeverity() - r = &Rule{} - r.GetSeverity() - r = nil - 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 - r := &RulesetRequiredReviewer{MinimumApprovals: &zeroValue} - r.GetMinimumApprovals() - r = &RulesetRequiredReviewer{} - r.GetMinimumApprovals() - r = nil - r.GetMinimumApprovals() -} - -func TestRulesetRequiredReviewer_GetReviewer(tt *testing.T) { - tt.Parallel() - r := &RulesetRequiredReviewer{} - r.GetReviewer() - r = nil - r.GetReviewer() -} - -func TestRulesetReviewer_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - r := &RulesetReviewer{ID: &zeroValue} - r.GetID() - r = &RulesetReviewer{} - r.GetID() - r = nil - r.GetID() -} - -func TestRulesetReviewer_GetType(tt *testing.T) { - tt.Parallel() - r := &RulesetReviewer{} - r.GetType() - r = nil - 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 - r := &RuleStatusCheck{IntegrationID: &zeroValue} - r.GetIntegrationID() - r = &RuleStatusCheck{} - r.GetIntegrationID() - r = nil - 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 - r := &RuleWorkflow{Ref: &zeroValue} - r.GetRef() - r = &RuleWorkflow{} - r.GetRef() - r = nil - r.GetRef() -} - -func TestRuleWorkflow_GetRepositoryID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - r := &RuleWorkflow{RepositoryID: &zeroValue} - r.GetRepositoryID() - r = &RuleWorkflow{} - r.GetRepositoryID() - r = nil - r.GetRepositoryID() -} - -func TestRuleWorkflow_GetSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RuleWorkflow{SHA: &zeroValue} - r.GetSHA() - r = &RuleWorkflow{} - r.GetSHA() - r = nil - r.GetSHA() -} - -func TestRunner_GetBusy(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &Runner{Busy: &zeroValue} - r.GetBusy() - r = &Runner{} - r.GetBusy() - r = nil - r.GetBusy() -} - -func TestRunner_GetEphemeral(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &Runner{Ephemeral: &zeroValue} - r.GetEphemeral() - r = &Runner{} - r.GetEphemeral() - r = nil - r.GetEphemeral() -} - -func TestRunner_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - r := &Runner{ID: &zeroValue} - r.GetID() - r = &Runner{} - r.GetID() - r = nil - 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 - r := &Runner{Name: &zeroValue} - r.GetName() - r = &Runner{} - r.GetName() - r = nil - r.GetName() -} - -func TestRunner_GetOS(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Runner{OS: &zeroValue} - r.GetOS() - r = &Runner{} - r.GetOS() - r = nil - r.GetOS() -} - -func TestRunner_GetRunnerGroupID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - r := &Runner{RunnerGroupID: &zeroValue} - r.GetRunnerGroupID() - r = &Runner{} - r.GetRunnerGroupID() - r = nil - r.GetRunnerGroupID() -} - -func TestRunner_GetStatus(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Runner{Status: &zeroValue} - r.GetStatus() - r = &Runner{} - r.GetStatus() - r = nil - r.GetStatus() -} - -func TestRunner_GetVersion(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &Runner{Version: &zeroValue} - r.GetVersion() - r = &Runner{} - r.GetVersion() - r = nil - r.GetVersion() -} - -func TestRunnerApplicationDownload_GetArchitecture(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RunnerApplicationDownload{Architecture: &zeroValue} - r.GetArchitecture() - r = &RunnerApplicationDownload{} - r.GetArchitecture() - r = nil - r.GetArchitecture() -} - -func TestRunnerApplicationDownload_GetDownloadURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RunnerApplicationDownload{DownloadURL: &zeroValue} - r.GetDownloadURL() - r = &RunnerApplicationDownload{} - r.GetDownloadURL() - r = nil - r.GetDownloadURL() -} - -func TestRunnerApplicationDownload_GetFilename(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RunnerApplicationDownload{Filename: &zeroValue} - r.GetFilename() - r = &RunnerApplicationDownload{} - r.GetFilename() - r = nil - r.GetFilename() -} - -func TestRunnerApplicationDownload_GetOS(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RunnerApplicationDownload{OS: &zeroValue} - r.GetOS() - r = &RunnerApplicationDownload{} - r.GetOS() - r = nil - r.GetOS() -} - -func TestRunnerApplicationDownload_GetSHA256Checksum(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RunnerApplicationDownload{SHA256Checksum: &zeroValue} - r.GetSHA256Checksum() - r = &RunnerApplicationDownload{} - r.GetSHA256Checksum() - r = nil - r.GetSHA256Checksum() -} - -func TestRunnerApplicationDownload_GetTempDownloadToken(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RunnerApplicationDownload{TempDownloadToken: &zeroValue} - r.GetTempDownloadToken() - r = &RunnerApplicationDownload{} - r.GetTempDownloadToken() - r = nil - r.GetTempDownloadToken() -} - -func TestRunnerGroup_GetAllowsPublicRepositories(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &RunnerGroup{AllowsPublicRepositories: &zeroValue} - r.GetAllowsPublicRepositories() - r = &RunnerGroup{} - r.GetAllowsPublicRepositories() - r = nil - r.GetAllowsPublicRepositories() -} - -func TestRunnerGroup_GetDefault(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &RunnerGroup{Default: &zeroValue} - r.GetDefault() - r = &RunnerGroup{} - r.GetDefault() - r = nil - r.GetDefault() -} - -func TestRunnerGroup_GetHostedRunnersURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RunnerGroup{HostedRunnersURL: &zeroValue} - r.GetHostedRunnersURL() - r = &RunnerGroup{} - r.GetHostedRunnersURL() - r = nil - r.GetHostedRunnersURL() -} - -func TestRunnerGroup_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - r := &RunnerGroup{ID: &zeroValue} - r.GetID() - r = &RunnerGroup{} - r.GetID() - r = nil - r.GetID() -} - -func TestRunnerGroup_GetInherited(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &RunnerGroup{Inherited: &zeroValue} - r.GetInherited() - r = &RunnerGroup{} - r.GetInherited() - r = nil - r.GetInherited() -} - -func TestRunnerGroup_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RunnerGroup{Name: &zeroValue} - r.GetName() - r = &RunnerGroup{} - r.GetName() - r = nil - r.GetName() -} - -func TestRunnerGroup_GetNetworkConfigurationID(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RunnerGroup{NetworkConfigurationID: &zeroValue} - r.GetNetworkConfigurationID() - r = &RunnerGroup{} - r.GetNetworkConfigurationID() - r = nil - r.GetNetworkConfigurationID() -} - -func TestRunnerGroup_GetRestrictedToWorkflows(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &RunnerGroup{RestrictedToWorkflows: &zeroValue} - r.GetRestrictedToWorkflows() - r = &RunnerGroup{} - r.GetRestrictedToWorkflows() - r = nil - r.GetRestrictedToWorkflows() -} - -func TestRunnerGroup_GetRunnersURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RunnerGroup{RunnersURL: &zeroValue} - r.GetRunnersURL() - r = &RunnerGroup{} - r.GetRunnersURL() - r = nil - r.GetRunnersURL() -} - -func TestRunnerGroup_GetSelectedRepositoriesURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RunnerGroup{SelectedRepositoriesURL: &zeroValue} - r.GetSelectedRepositoriesURL() - r = &RunnerGroup{} - r.GetSelectedRepositoriesURL() - r = nil - 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 - r := &RunnerGroup{Visibility: &zeroValue} - r.GetVisibility() - r = &RunnerGroup{} - r.GetVisibility() - r = nil - r.GetVisibility() -} - -func TestRunnerGroup_GetWorkflowRestrictionsReadOnly(tt *testing.T) { - tt.Parallel() - var zeroValue bool - r := &RunnerGroup{WorkflowRestrictionsReadOnly: &zeroValue} - r.GetWorkflowRestrictionsReadOnly() - r = &RunnerGroup{} - r.GetWorkflowRestrictionsReadOnly() - r = nil - 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 - r := &RunnerLabels{ID: &zeroValue} - r.GetID() - r = &RunnerLabels{} - r.GetID() - r = nil - r.GetID() -} - -func TestRunnerLabels_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RunnerLabels{Name: &zeroValue} - r.GetName() - r = &RunnerLabels{} - r.GetName() - r = nil - r.GetName() -} - -func TestRunnerLabels_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - r := &RunnerLabels{Type: &zeroValue} - r.GetType() - r = &RunnerLabels{} - r.GetType() - r = nil - 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 - s := &SarifAnalysis{CheckoutURI: &zeroValue} - s.GetCheckoutURI() - s = &SarifAnalysis{} - s.GetCheckoutURI() - s = nil - s.GetCheckoutURI() -} - -func TestSarifAnalysis_GetCommitSHA(tt *testing.T) { - tt.Parallel() - s := &SarifAnalysis{} - s.GetCommitSHA() - s = nil - s.GetCommitSHA() -} - -func TestSarifAnalysis_GetRef(tt *testing.T) { - tt.Parallel() - s := &SarifAnalysis{} - s.GetRef() - s = nil - s.GetRef() -} - -func TestSarifAnalysis_GetSarif(tt *testing.T) { - tt.Parallel() - s := &SarifAnalysis{} - s.GetSarif() - s = nil - s.GetSarif() -} - -func TestSarifAnalysis_GetStartedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - s := &SarifAnalysis{StartedAt: &zeroValue} - s.GetStartedAt() - s = &SarifAnalysis{} - s.GetStartedAt() - s = nil - s.GetStartedAt() -} - -func TestSarifAnalysis_GetToolName(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SarifAnalysis{ToolName: &zeroValue} - s.GetToolName() - s = &SarifAnalysis{} - s.GetToolName() - s = nil - s.GetToolName() -} - -func TestSarifAnalysis_GetValidate(tt *testing.T) { - tt.Parallel() - var zeroValue bool - s := &SarifAnalysis{Validate: &zeroValue} - s.GetValidate() - s = &SarifAnalysis{} - s.GetValidate() - s = nil - s.GetValidate() -} - -func TestSarifID_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SarifID{ID: &zeroValue} - s.GetID() - s = &SarifID{} - s.GetID() - s = nil - s.GetID() -} - -func TestSarifID_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SarifID{URL: &zeroValue} - s.GetURL() - s = &SarifID{} - s.GetURL() - s = nil - s.GetURL() -} - -func TestSARIFUpload_GetAnalysesURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SARIFUpload{AnalysesURL: &zeroValue} - s.GetAnalysesURL() - s = &SARIFUpload{} - s.GetAnalysesURL() - s = nil - s.GetAnalysesURL() -} - -func TestSARIFUpload_GetProcessingStatus(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SARIFUpload{ProcessingStatus: &zeroValue} - s.GetProcessingStatus() - s = &SARIFUpload{} - s.GetProcessingStatus() - s = nil - s.GetProcessingStatus() -} - -func TestSBOM_GetSBOM(tt *testing.T) { - tt.Parallel() - s := &SBOM{} - s.GetSBOM() - s = nil - s.GetSBOM() -} - -func TestSBOMInfo_GetCreationInfo(tt *testing.T) { - tt.Parallel() - s := &SBOMInfo{} - s.GetCreationInfo() - s = nil - s.GetCreationInfo() -} - -func TestSBOMInfo_GetDataLicense(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SBOMInfo{DataLicense: &zeroValue} - s.GetDataLicense() - s = &SBOMInfo{} - s.GetDataLicense() - s = nil - 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 - s := &SBOMInfo{DocumentNamespace: &zeroValue} - s.GetDocumentNamespace() - s = &SBOMInfo{} - s.GetDocumentNamespace() - s = nil - s.GetDocumentNamespace() -} - -func TestSBOMInfo_GetName(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SBOMInfo{Name: &zeroValue} - s.GetName() - s = &SBOMInfo{} - s.GetName() - s = nil - 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 - s := &SBOMInfo{SPDXID: &zeroValue} - s.GetSPDXID() - s = &SBOMInfo{} - s.GetSPDXID() - s = nil - s.GetSPDXID() -} - -func TestSBOMInfo_GetSPDXVersion(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SBOMInfo{SPDXVersion: &zeroValue} - s.GetSPDXVersion() - s = &SBOMInfo{} - s.GetSPDXVersion() - s = nil - 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 - s := &ScanningAnalysis{AnalysisKey: &zeroValue} - s.GetAnalysisKey() - s = &ScanningAnalysis{} - s.GetAnalysisKey() - s = nil - s.GetAnalysisKey() -} - -func TestScanningAnalysis_GetCategory(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &ScanningAnalysis{Category: &zeroValue} - s.GetCategory() - s = &ScanningAnalysis{} - s.GetCategory() - s = nil - s.GetCategory() -} - -func TestScanningAnalysis_GetCommitSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &ScanningAnalysis{CommitSHA: &zeroValue} - s.GetCommitSHA() - s = &ScanningAnalysis{} - s.GetCommitSHA() - s = nil - s.GetCommitSHA() -} - -func TestScanningAnalysis_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - s := &ScanningAnalysis{CreatedAt: &zeroValue} - s.GetCreatedAt() - s = &ScanningAnalysis{} - s.GetCreatedAt() - s = nil - s.GetCreatedAt() -} - -func TestScanningAnalysis_GetDeletable(tt *testing.T) { - tt.Parallel() - var zeroValue bool - s := &ScanningAnalysis{Deletable: &zeroValue} - s.GetDeletable() - s = &ScanningAnalysis{} - s.GetDeletable() - s = nil - s.GetDeletable() -} - -func TestScanningAnalysis_GetEnvironment(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &ScanningAnalysis{Environment: &zeroValue} - s.GetEnvironment() - s = &ScanningAnalysis{} - s.GetEnvironment() - s = nil - s.GetEnvironment() -} - -func TestScanningAnalysis_GetError(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &ScanningAnalysis{Error: &zeroValue} - s.GetError() - s = &ScanningAnalysis{} - s.GetError() - s = nil - s.GetError() -} - -func TestScanningAnalysis_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - s := &ScanningAnalysis{ID: &zeroValue} - s.GetID() - s = &ScanningAnalysis{} - s.GetID() - s = nil - s.GetID() -} - -func TestScanningAnalysis_GetRef(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &ScanningAnalysis{Ref: &zeroValue} - s.GetRef() - s = &ScanningAnalysis{} - s.GetRef() - s = nil - s.GetRef() -} - -func TestScanningAnalysis_GetResultsCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - s := &ScanningAnalysis{ResultsCount: &zeroValue} - s.GetResultsCount() - s = &ScanningAnalysis{} - s.GetResultsCount() - s = nil - s.GetResultsCount() -} - -func TestScanningAnalysis_GetRulesCount(tt *testing.T) { - tt.Parallel() - var zeroValue int - s := &ScanningAnalysis{RulesCount: &zeroValue} - s.GetRulesCount() - s = &ScanningAnalysis{} - s.GetRulesCount() - s = nil - s.GetRulesCount() -} - -func TestScanningAnalysis_GetSarifID(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &ScanningAnalysis{SarifID: &zeroValue} - s.GetSarifID() - s = &ScanningAnalysis{} - s.GetSarifID() - s = nil - s.GetSarifID() -} - -func TestScanningAnalysis_GetTool(tt *testing.T) { - tt.Parallel() - s := &ScanningAnalysis{} - s.GetTool() - s = nil - s.GetTool() -} - -func TestScanningAnalysis_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &ScanningAnalysis{URL: &zeroValue} - s.GetURL() - s = &ScanningAnalysis{} - s.GetURL() - s = nil - s.GetURL() -} - -func TestScanningAnalysis_GetWarning(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &ScanningAnalysis{Warning: &zeroValue} - s.GetWarning() - s = &ScanningAnalysis{} - s.GetWarning() - s = nil - 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 - s := &SCIMEnterpriseAttributeOperation{Path: &zeroValue} - s.GetPath() - s = &SCIMEnterpriseAttributeOperation{} - s.GetPath() - s = nil - 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 - s := &SCIMEnterpriseDisplayReference{Display: &zeroValue} - s.GetDisplay() - s = &SCIMEnterpriseDisplayReference{} - s.GetDisplay() - s = nil - s.GetDisplay() -} - -func TestSCIMEnterpriseDisplayReference_GetRef(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SCIMEnterpriseDisplayReference{Ref: &zeroValue} - s.GetRef() - s = &SCIMEnterpriseDisplayReference{} - s.GetRef() - s = nil - 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 - s := &SCIMEnterpriseGroupAttributes{DisplayName: &zeroValue} - s.GetDisplayName() - s = &SCIMEnterpriseGroupAttributes{} - s.GetDisplayName() - s = nil - s.GetDisplayName() -} - -func TestSCIMEnterpriseGroupAttributes_GetExternalID(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SCIMEnterpriseGroupAttributes{ExternalID: &zeroValue} - s.GetExternalID() - s = &SCIMEnterpriseGroupAttributes{} - s.GetExternalID() - s = nil - s.GetExternalID() -} - -func TestSCIMEnterpriseGroupAttributes_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SCIMEnterpriseGroupAttributes{ID: &zeroValue} - s.GetID() - s = &SCIMEnterpriseGroupAttributes{} - s.GetID() - s = nil - 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{} - s.GetMeta() - s = nil - 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 - s := &SCIMEnterpriseGroups{ItemsPerPage: &zeroValue} - s.GetItemsPerPage() - s = &SCIMEnterpriseGroups{} - s.GetItemsPerPage() - s = nil - 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 - s := &SCIMEnterpriseGroups{StartIndex: &zeroValue} - s.GetStartIndex() - s = &SCIMEnterpriseGroups{} - s.GetStartIndex() - s = nil - s.GetStartIndex() -} - -func TestSCIMEnterpriseGroups_GetTotalResults(tt *testing.T) { - tt.Parallel() - var zeroValue int - s := &SCIMEnterpriseGroups{TotalResults: &zeroValue} - s.GetTotalResults() - s = &SCIMEnterpriseGroups{} - s.GetTotalResults() - s = nil - s.GetTotalResults() -} - -func TestSCIMEnterpriseMeta_GetCreated(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - s := &SCIMEnterpriseMeta{Created: &zeroValue} - s.GetCreated() - s = &SCIMEnterpriseMeta{} - s.GetCreated() - s = nil - s.GetCreated() -} - -func TestSCIMEnterpriseMeta_GetLastModified(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - s := &SCIMEnterpriseMeta{LastModified: &zeroValue} - s.GetLastModified() - s = &SCIMEnterpriseMeta{} - s.GetLastModified() - s = nil - s.GetLastModified() -} - -func TestSCIMEnterpriseMeta_GetLocation(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SCIMEnterpriseMeta{Location: &zeroValue} - s.GetLocation() - s = &SCIMEnterpriseMeta{} - s.GetLocation() - s = nil - 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 - s := &SCIMEnterpriseUserAttributes{ID: &zeroValue} - s.GetID() - s = &SCIMEnterpriseUserAttributes{} - s.GetID() - s = nil - s.GetID() -} - -func TestSCIMEnterpriseUserAttributes_GetMeta(tt *testing.T) { - tt.Parallel() - s := &SCIMEnterpriseUserAttributes{} - s.GetMeta() - s = nil - s.GetMeta() -} - -func TestSCIMEnterpriseUserAttributes_GetName(tt *testing.T) { - tt.Parallel() - s := &SCIMEnterpriseUserAttributes{} - s.GetName() - s = nil - 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 - s := &SCIMEnterpriseUserName{Formatted: &zeroValue} - s.GetFormatted() - s = &SCIMEnterpriseUserName{} - s.GetFormatted() - s = nil - 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 - s := &SCIMEnterpriseUserName{MiddleName: &zeroValue} - s.GetMiddleName() - s = &SCIMEnterpriseUserName{} - s.GetMiddleName() - s = nil - s.GetMiddleName() -} - -func TestSCIMEnterpriseUserRole_GetDisplay(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SCIMEnterpriseUserRole{Display: &zeroValue} - s.GetDisplay() - s = &SCIMEnterpriseUserRole{} - s.GetDisplay() - s = nil - s.GetDisplay() -} - -func TestSCIMEnterpriseUserRole_GetPrimary(tt *testing.T) { - tt.Parallel() - var zeroValue bool - s := &SCIMEnterpriseUserRole{Primary: &zeroValue} - s.GetPrimary() - s = &SCIMEnterpriseUserRole{} - s.GetPrimary() - s = nil - s.GetPrimary() -} - -func TestSCIMEnterpriseUserRole_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SCIMEnterpriseUserRole{Type: &zeroValue} - s.GetType() - s = &SCIMEnterpriseUserRole{} - s.GetType() - s = nil - 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 - s := &SCIMEnterpriseUsers{ItemsPerPage: &zeroValue} - s.GetItemsPerPage() - s = &SCIMEnterpriseUsers{} - s.GetItemsPerPage() - s = nil - 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 - s := &SCIMEnterpriseUsers{StartIndex: &zeroValue} - s.GetStartIndex() - s = &SCIMEnterpriseUsers{} - s.GetStartIndex() - s = nil - s.GetStartIndex() -} - -func TestSCIMEnterpriseUsers_GetTotalResults(tt *testing.T) { - tt.Parallel() - var zeroValue int - s := &SCIMEnterpriseUsers{TotalResults: &zeroValue} - s.GetTotalResults() - s = &SCIMEnterpriseUsers{} - s.GetTotalResults() - s = nil - s.GetTotalResults() -} - -func TestSCIMMeta_GetCreated(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - s := &SCIMMeta{Created: &zeroValue} - s.GetCreated() - s = &SCIMMeta{} - s.GetCreated() - s = nil - s.GetCreated() -} - -func TestSCIMMeta_GetLastModified(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - s := &SCIMMeta{LastModified: &zeroValue} - s.GetLastModified() - s = &SCIMMeta{} - s.GetLastModified() - s = nil - s.GetLastModified() -} - -func TestSCIMMeta_GetLocation(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SCIMMeta{Location: &zeroValue} - s.GetLocation() - s = &SCIMMeta{} - s.GetLocation() - s = nil - s.GetLocation() -} - -func TestSCIMMeta_GetResourceType(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SCIMMeta{ResourceType: &zeroValue} - s.GetResourceType() - s = &SCIMMeta{} - s.GetResourceType() - s = nil - s.GetResourceType() -} - -func TestSCIMProvisionedIdentities_GetItemsPerPage(tt *testing.T) { - tt.Parallel() - var zeroValue int - s := &SCIMProvisionedIdentities{ItemsPerPage: &zeroValue} - s.GetItemsPerPage() - s = &SCIMProvisionedIdentities{} - s.GetItemsPerPage() - s = nil - 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 - s := &SCIMProvisionedIdentities{StartIndex: &zeroValue} - s.GetStartIndex() - s = &SCIMProvisionedIdentities{} - s.GetStartIndex() - s = nil - s.GetStartIndex() -} - -func TestSCIMProvisionedIdentities_GetTotalResults(tt *testing.T) { - tt.Parallel() - var zeroValue int - s := &SCIMProvisionedIdentities{TotalResults: &zeroValue} - s.GetTotalResults() - s = &SCIMProvisionedIdentities{} - s.GetTotalResults() - s = nil - s.GetTotalResults() -} - -func TestSCIMUserAttributes_GetActive(tt *testing.T) { - tt.Parallel() - var zeroValue bool - s := &SCIMUserAttributes{Active: &zeroValue} - s.GetActive() - s = &SCIMUserAttributes{} - s.GetActive() - s = nil - s.GetActive() -} - -func TestSCIMUserAttributes_GetDisplayName(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SCIMUserAttributes{DisplayName: &zeroValue} - s.GetDisplayName() - s = &SCIMUserAttributes{} - s.GetDisplayName() - s = nil - 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 - s := &SCIMUserAttributes{ExternalID: &zeroValue} - s.GetExternalID() - s = &SCIMUserAttributes{} - s.GetExternalID() - s = nil - 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 - s := &SCIMUserAttributes{ID: &zeroValue} - s.GetID() - s = &SCIMUserAttributes{} - s.GetID() - s = nil - s.GetID() -} - -func TestSCIMUserAttributes_GetMeta(tt *testing.T) { - tt.Parallel() - s := &SCIMUserAttributes{} - s.GetMeta() - s = nil - 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 - s := &SCIMUserEmail{Primary: &zeroValue} - s.GetPrimary() - s = &SCIMUserEmail{} - s.GetPrimary() - s = nil - s.GetPrimary() -} - -func TestSCIMUserEmail_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SCIMUserEmail{Type: &zeroValue} - s.GetType() - s = &SCIMUserEmail{} - s.GetType() - s = nil - 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 - s := &SCIMUserName{Formatted: &zeroValue} - s.GetFormatted() - s = &SCIMUserName{} - s.GetFormatted() - s = nil - 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 - s := &SCIMUserRole{Display: &zeroValue} - s.GetDisplay() - s = &SCIMUserRole{} - s.GetDisplay() - s = nil - s.GetDisplay() -} - -func TestSCIMUserRole_GetPrimary(tt *testing.T) { - tt.Parallel() - var zeroValue bool - s := &SCIMUserRole{Primary: &zeroValue} - s.GetPrimary() - s = &SCIMUserRole{} - s.GetPrimary() - s = nil - s.GetPrimary() -} - -func TestSCIMUserRole_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SCIMUserRole{Type: &zeroValue} - s.GetType() - s = &SCIMUserRole{} - s.GetType() - s = nil - 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 - s := &SearchOptions{AdvancedSearch: &zeroValue} - s.GetAdvancedSearch() - s = &SearchOptions{} - s.GetAdvancedSearch() - s = nil - s.GetAdvancedSearch() -} - -func TestSearchOptions_GetOrder(tt *testing.T) { - tt.Parallel() - s := &SearchOptions{} - s.GetOrder() - s = nil - s.GetOrder() -} - -func TestSearchOptions_GetSearchType(tt *testing.T) { - tt.Parallel() - s := &SearchOptions{} - s.GetSearchType() - s = nil - s.GetSearchType() -} - -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 TestSecretOrgRequest_GetEncryptedValue(tt *testing.T) { - tt.Parallel() - s := &SecretOrgRequest{} - s.GetEncryptedValue() - s = nil - s.GetEncryptedValue() -} - -func TestSecretOrgRequest_GetKeyID(tt *testing.T) { - tt.Parallel() - s := &SecretOrgRequest{} - s.GetKeyID() - s = nil - s.GetKeyID() -} - -func TestSecretOrgRequest_GetSelectedRepositoryIDs(tt *testing.T) { - tt.Parallel() - zeroValue := []int64{} - s := &SecretOrgRequest{SelectedRepositoryIDs: zeroValue} - s.GetSelectedRepositoryIDs() - s = &SecretOrgRequest{} - s.GetSelectedRepositoryIDs() - s = nil - s.GetSelectedRepositoryIDs() -} - -func TestSecretOrgRequest_GetVisibility(tt *testing.T) { - tt.Parallel() - s := &SecretOrgRequest{} - s.GetVisibility() - s = nil - s.GetVisibility() -} - -func TestSecretRequest_GetEncryptedValue(tt *testing.T) { - tt.Parallel() - s := &SecretRequest{} - s.GetEncryptedValue() - s = nil - s.GetEncryptedValue() -} - -func TestSecretRequest_GetKeyID(tt *testing.T) { - tt.Parallel() - s := &SecretRequest{} - s.GetKeyID() - s = nil - s.GetKeyID() -} - -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 - s := &SecretScanning{Status: &zeroValue} - s.GetStatus() - s = &SecretScanning{} - s.GetStatus() - s = nil - s.GetStatus() -} - -func TestSecretScanningAlert_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - s := &SecretScanningAlert{CreatedAt: &zeroValue} - s.GetCreatedAt() - s = &SecretScanningAlert{} - s.GetCreatedAt() - s = nil - s.GetCreatedAt() -} - -func TestSecretScanningAlert_GetFirstLocationDetected(tt *testing.T) { - tt.Parallel() - s := &SecretScanningAlert{} - s.GetFirstLocationDetected() - s = nil - s.GetFirstLocationDetected() -} - -func TestSecretScanningAlert_GetHasMoreLocations(tt *testing.T) { - tt.Parallel() - var zeroValue bool - s := &SecretScanningAlert{HasMoreLocations: &zeroValue} - s.GetHasMoreLocations() - s = &SecretScanningAlert{} - s.GetHasMoreLocations() - s = nil - s.GetHasMoreLocations() -} - -func TestSecretScanningAlert_GetHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningAlert{HTMLURL: &zeroValue} - s.GetHTMLURL() - s = &SecretScanningAlert{} - s.GetHTMLURL() - s = nil - s.GetHTMLURL() -} - -func TestSecretScanningAlert_GetIsBase64Encoded(tt *testing.T) { - tt.Parallel() - var zeroValue bool - s := &SecretScanningAlert{IsBase64Encoded: &zeroValue} - s.GetIsBase64Encoded() - s = &SecretScanningAlert{} - s.GetIsBase64Encoded() - s = nil - s.GetIsBase64Encoded() -} - -func TestSecretScanningAlert_GetLocationsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningAlert{LocationsURL: &zeroValue} - s.GetLocationsURL() - s = &SecretScanningAlert{} - s.GetLocationsURL() - s = nil - s.GetLocationsURL() -} - -func TestSecretScanningAlert_GetMultiRepo(tt *testing.T) { - tt.Parallel() - var zeroValue bool - s := &SecretScanningAlert{MultiRepo: &zeroValue} - s.GetMultiRepo() - s = &SecretScanningAlert{} - s.GetMultiRepo() - s = nil - s.GetMultiRepo() -} - -func TestSecretScanningAlert_GetNumber(tt *testing.T) { - tt.Parallel() - var zeroValue int - s := &SecretScanningAlert{Number: &zeroValue} - s.GetNumber() - s = &SecretScanningAlert{} - s.GetNumber() - s = nil - s.GetNumber() -} - -func TestSecretScanningAlert_GetPubliclyLeaked(tt *testing.T) { - tt.Parallel() - var zeroValue bool - s := &SecretScanningAlert{PubliclyLeaked: &zeroValue} - s.GetPubliclyLeaked() - s = &SecretScanningAlert{} - s.GetPubliclyLeaked() - s = nil - s.GetPubliclyLeaked() -} - -func TestSecretScanningAlert_GetPushProtectionBypassed(tt *testing.T) { - tt.Parallel() - var zeroValue bool - s := &SecretScanningAlert{PushProtectionBypassed: &zeroValue} - s.GetPushProtectionBypassed() - s = &SecretScanningAlert{} - s.GetPushProtectionBypassed() - s = nil - s.GetPushProtectionBypassed() -} - -func TestSecretScanningAlert_GetPushProtectionBypassedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - s := &SecretScanningAlert{PushProtectionBypassedAt: &zeroValue} - s.GetPushProtectionBypassedAt() - s = &SecretScanningAlert{} - s.GetPushProtectionBypassedAt() - s = nil - s.GetPushProtectionBypassedAt() -} - -func TestSecretScanningAlert_GetPushProtectionBypassedBy(tt *testing.T) { - tt.Parallel() - s := &SecretScanningAlert{} - s.GetPushProtectionBypassedBy() - s = nil - s.GetPushProtectionBypassedBy() -} - -func TestSecretScanningAlert_GetPushProtectionBypassRequestComment(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningAlert{PushProtectionBypassRequestComment: &zeroValue} - s.GetPushProtectionBypassRequestComment() - s = &SecretScanningAlert{} - s.GetPushProtectionBypassRequestComment() - s = nil - s.GetPushProtectionBypassRequestComment() -} - -func TestSecretScanningAlert_GetPushProtectionBypassRequestHTMLURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningAlert{PushProtectionBypassRequestHTMLURL: &zeroValue} - s.GetPushProtectionBypassRequestHTMLURL() - s = &SecretScanningAlert{} - s.GetPushProtectionBypassRequestHTMLURL() - s = nil - s.GetPushProtectionBypassRequestHTMLURL() -} - -func TestSecretScanningAlert_GetPushProtectionBypassRequestReviewer(tt *testing.T) { - tt.Parallel() - s := &SecretScanningAlert{} - s.GetPushProtectionBypassRequestReviewer() - s = nil - s.GetPushProtectionBypassRequestReviewer() -} - -func TestSecretScanningAlert_GetPushProtectionBypassRequestReviewerComment(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningAlert{PushProtectionBypassRequestReviewerComment: &zeroValue} - s.GetPushProtectionBypassRequestReviewerComment() - s = &SecretScanningAlert{} - s.GetPushProtectionBypassRequestReviewerComment() - s = nil - s.GetPushProtectionBypassRequestReviewerComment() -} - -func TestSecretScanningAlert_GetRepository(tt *testing.T) { - tt.Parallel() - s := &SecretScanningAlert{} - s.GetRepository() - s = nil - s.GetRepository() -} - -func TestSecretScanningAlert_GetResolution(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningAlert{Resolution: &zeroValue} - s.GetResolution() - s = &SecretScanningAlert{} - s.GetResolution() - s = nil - s.GetResolution() -} - -func TestSecretScanningAlert_GetResolutionComment(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningAlert{ResolutionComment: &zeroValue} - s.GetResolutionComment() - s = &SecretScanningAlert{} - s.GetResolutionComment() - s = nil - s.GetResolutionComment() -} - -func TestSecretScanningAlert_GetResolvedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - s := &SecretScanningAlert{ResolvedAt: &zeroValue} - s.GetResolvedAt() - s = &SecretScanningAlert{} - s.GetResolvedAt() - s = nil - s.GetResolvedAt() -} - -func TestSecretScanningAlert_GetResolvedBy(tt *testing.T) { - tt.Parallel() - s := &SecretScanningAlert{} - s.GetResolvedBy() - s = nil - s.GetResolvedBy() -} - -func TestSecretScanningAlert_GetSecret(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningAlert{Secret: &zeroValue} - s.GetSecret() - s = &SecretScanningAlert{} - s.GetSecret() - s = nil - s.GetSecret() -} - -func TestSecretScanningAlert_GetSecretType(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningAlert{SecretType: &zeroValue} - s.GetSecretType() - s = &SecretScanningAlert{} - s.GetSecretType() - s = nil - s.GetSecretType() -} - -func TestSecretScanningAlert_GetSecretTypeDisplayName(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningAlert{SecretTypeDisplayName: &zeroValue} - s.GetSecretTypeDisplayName() - s = &SecretScanningAlert{} - s.GetSecretTypeDisplayName() - s = nil - s.GetSecretTypeDisplayName() -} - -func TestSecretScanningAlert_GetState(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningAlert{State: &zeroValue} - s.GetState() - s = &SecretScanningAlert{} - s.GetState() - s = nil - s.GetState() -} - -func TestSecretScanningAlert_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - s := &SecretScanningAlert{UpdatedAt: &zeroValue} - s.GetUpdatedAt() - s = &SecretScanningAlert{} - s.GetUpdatedAt() - s = nil - s.GetUpdatedAt() -} - -func TestSecretScanningAlert_GetURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningAlert{URL: &zeroValue} - s.GetURL() - s = &SecretScanningAlert{} - s.GetURL() - s = nil - s.GetURL() -} - -func TestSecretScanningAlert_GetValidity(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningAlert{Validity: &zeroValue} - s.GetValidity() - s = &SecretScanningAlert{} - s.GetValidity() - s = nil - s.GetValidity() -} - -func TestSecretScanningAlertEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningAlertEvent{Action: &zeroValue} - s.GetAction() - s = &SecretScanningAlertEvent{} - s.GetAction() - s = nil - s.GetAction() -} - -func TestSecretScanningAlertEvent_GetAlert(tt *testing.T) { - tt.Parallel() - s := &SecretScanningAlertEvent{} - s.GetAlert() - s = nil - s.GetAlert() -} - -func TestSecretScanningAlertEvent_GetEnterprise(tt *testing.T) { - tt.Parallel() - s := &SecretScanningAlertEvent{} - s.GetEnterprise() - s = nil - s.GetEnterprise() -} - -func TestSecretScanningAlertEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - s := &SecretScanningAlertEvent{} - s.GetInstallation() - s = nil - s.GetInstallation() -} - -func TestSecretScanningAlertEvent_GetOrganization(tt *testing.T) { - tt.Parallel() - s := &SecretScanningAlertEvent{} - s.GetOrganization() - s = nil - s.GetOrganization() -} - -func TestSecretScanningAlertEvent_GetRepo(tt *testing.T) { - tt.Parallel() - s := &SecretScanningAlertEvent{} - s.GetRepo() - s = nil - s.GetRepo() -} - -func TestSecretScanningAlertEvent_GetSender(tt *testing.T) { - tt.Parallel() - s := &SecretScanningAlertEvent{} - s.GetSender() - s = nil - 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{} - s.GetDetails() - s = nil - s.GetDetails() -} - -func TestSecretScanningAlertLocation_GetType(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningAlertLocation{Type: &zeroValue} - s.GetType() - s = &SecretScanningAlertLocation{} - s.GetType() - s = nil - s.GetType() -} - -func TestSecretScanningAlertLocationDetails_GetBlobSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningAlertLocationDetails{BlobSHA: &zeroValue} - s.GetBlobSHA() - s = &SecretScanningAlertLocationDetails{} - s.GetBlobSHA() - s = nil - s.GetBlobSHA() -} - -func TestSecretScanningAlertLocationDetails_GetBlobURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningAlertLocationDetails{BlobURL: &zeroValue} - s.GetBlobURL() - s = &SecretScanningAlertLocationDetails{} - s.GetBlobURL() - s = nil - s.GetBlobURL() -} - -func TestSecretScanningAlertLocationDetails_GetCommitSHA(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningAlertLocationDetails{CommitSHA: &zeroValue} - s.GetCommitSHA() - s = &SecretScanningAlertLocationDetails{} - s.GetCommitSHA() - s = nil - s.GetCommitSHA() -} - -func TestSecretScanningAlertLocationDetails_GetCommitURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningAlertLocationDetails{CommitURL: &zeroValue} - s.GetCommitURL() - s = &SecretScanningAlertLocationDetails{} - s.GetCommitURL() - s = nil - s.GetCommitURL() -} - -func TestSecretScanningAlertLocationDetails_GetEndColumn(tt *testing.T) { - tt.Parallel() - var zeroValue int - s := &SecretScanningAlertLocationDetails{EndColumn: &zeroValue} - s.GetEndColumn() - s = &SecretScanningAlertLocationDetails{} - s.GetEndColumn() - s = nil - s.GetEndColumn() -} - -func TestSecretScanningAlertLocationDetails_GetEndLine(tt *testing.T) { - tt.Parallel() - var zeroValue int - s := &SecretScanningAlertLocationDetails{EndLine: &zeroValue} - s.GetEndLine() - s = &SecretScanningAlertLocationDetails{} - s.GetEndLine() - s = nil - s.GetEndLine() -} - -func TestSecretScanningAlertLocationDetails_GetPath(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningAlertLocationDetails{Path: &zeroValue} - s.GetPath() - s = &SecretScanningAlertLocationDetails{} - s.GetPath() - s = nil - s.GetPath() -} - -func TestSecretScanningAlertLocationDetails_GetPullRequestCommentURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningAlertLocationDetails{PullRequestCommentURL: &zeroValue} - s.GetPullRequestCommentURL() - s = &SecretScanningAlertLocationDetails{} - s.GetPullRequestCommentURL() - s = nil - s.GetPullRequestCommentURL() -} - -func TestSecretScanningAlertLocationDetails_GetStartColumn(tt *testing.T) { - tt.Parallel() - var zeroValue int - s := &SecretScanningAlertLocationDetails{StartColumn: &zeroValue} - s.GetStartColumn() - s = &SecretScanningAlertLocationDetails{} - s.GetStartColumn() - s = nil - s.GetStartColumn() -} - -func TestSecretScanningAlertLocationDetails_GetStartline(tt *testing.T) { - tt.Parallel() - var zeroValue int - s := &SecretScanningAlertLocationDetails{Startline: &zeroValue} - s.GetStartline() - s = &SecretScanningAlertLocationDetails{} - s.GetStartline() - s = nil - s.GetStartline() -} - -func TestSecretScanningAlertLocationEvent_GetAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningAlertLocationEvent{Action: &zeroValue} - s.GetAction() - s = &SecretScanningAlertLocationEvent{} - s.GetAction() - s = nil - s.GetAction() -} - -func TestSecretScanningAlertLocationEvent_GetAlert(tt *testing.T) { - tt.Parallel() - s := &SecretScanningAlertLocationEvent{} - s.GetAlert() - s = nil - s.GetAlert() -} - -func TestSecretScanningAlertLocationEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - s := &SecretScanningAlertLocationEvent{} - s.GetInstallation() - s = nil - s.GetInstallation() -} - -func TestSecretScanningAlertLocationEvent_GetLocation(tt *testing.T) { - tt.Parallel() - s := &SecretScanningAlertLocationEvent{} - s.GetLocation() - s = nil - s.GetLocation() -} - -func TestSecretScanningAlertLocationEvent_GetOrganization(tt *testing.T) { - tt.Parallel() - s := &SecretScanningAlertLocationEvent{} - s.GetOrganization() - s = nil - s.GetOrganization() -} - -func TestSecretScanningAlertLocationEvent_GetRepo(tt *testing.T) { - tt.Parallel() - s := &SecretScanningAlertLocationEvent{} - s.GetRepo() - s = nil - s.GetRepo() -} - -func TestSecretScanningAlertLocationEvent_GetSender(tt *testing.T) { - tt.Parallel() - s := &SecretScanningAlertLocationEvent{} - s.GetSender() - s = nil - s.GetSender() -} - -func TestSecretScanningAlertUpdateOptions_GetResolution(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningAlertUpdateOptions{Resolution: &zeroValue} - s.GetResolution() - s = &SecretScanningAlertUpdateOptions{} - s.GetResolution() - s = nil - s.GetResolution() -} - -func TestSecretScanningAlertUpdateOptions_GetResolutionComment(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningAlertUpdateOptions{ResolutionComment: &zeroValue} - s.GetResolutionComment() - s = &SecretScanningAlertUpdateOptions{} - s.GetResolutionComment() - s = nil - s.GetResolutionComment() -} - -func TestSecretScanningAlertUpdateOptions_GetState(tt *testing.T) { - tt.Parallel() - s := &SecretScanningAlertUpdateOptions{} - s.GetState() - s = nil - s.GetState() -} - -func TestSecretScanningCreateCustomPatternsRequest_GetPatterns(tt *testing.T) { - tt.Parallel() - zeroValue := []*SecretScanningCustomPatternRequest{} - s := &SecretScanningCreateCustomPatternsRequest{Patterns: zeroValue} - s.GetPatterns() - s = &SecretScanningCreateCustomPatternsRequest{} - s.GetPatterns() - s = nil - s.GetPatterns() -} - -func TestSecretScanningCreateCustomPatternsResponse_GetCreatedPatterns(tt *testing.T) { - tt.Parallel() - zeroValue := []*SecretScanningCustomPattern{} - s := &SecretScanningCreateCustomPatternsResponse{CreatedPatterns: zeroValue} - s.GetCreatedPatterns() - s = &SecretScanningCreateCustomPatternsResponse{} - s.GetCreatedPatterns() - s = nil - s.GetCreatedPatterns() -} - -func TestSecretScanningCustomPattern_GetCreatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - s := &SecretScanningCustomPattern{CreatedAt: &zeroValue} - s.GetCreatedAt() - s = &SecretScanningCustomPattern{} - s.GetCreatedAt() - s = nil - s.GetCreatedAt() -} - -func TestSecretScanningCustomPattern_GetCustomPatternVersion(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningCustomPattern{CustomPatternVersion: &zeroValue} - s.GetCustomPatternVersion() - s = &SecretScanningCustomPattern{} - s.GetCustomPatternVersion() - s = nil - s.GetCustomPatternVersion() -} - -func TestSecretScanningCustomPattern_GetEndDelimiter(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningCustomPattern{EndDelimiter: &zeroValue} - s.GetEndDelimiter() - s = &SecretScanningCustomPattern{} - s.GetEndDelimiter() - s = nil - s.GetEndDelimiter() -} - -func TestSecretScanningCustomPattern_GetID(tt *testing.T) { - tt.Parallel() - s := &SecretScanningCustomPattern{} - s.GetID() - s = nil - s.GetID() -} - -func TestSecretScanningCustomPattern_GetMustMatch(tt *testing.T) { - tt.Parallel() - zeroValue := []string{} - s := &SecretScanningCustomPattern{MustMatch: zeroValue} - s.GetMustMatch() - s = &SecretScanningCustomPattern{} - s.GetMustMatch() - s = nil - s.GetMustMatch() -} - -func TestSecretScanningCustomPattern_GetMustNotMatch(tt *testing.T) { - tt.Parallel() - zeroValue := []string{} - s := &SecretScanningCustomPattern{MustNotMatch: zeroValue} - s.GetMustNotMatch() - s = &SecretScanningCustomPattern{} - s.GetMustNotMatch() - s = nil - s.GetMustNotMatch() -} - -func TestSecretScanningCustomPattern_GetName(tt *testing.T) { - tt.Parallel() - s := &SecretScanningCustomPattern{} - s.GetName() - s = nil - s.GetName() -} - -func TestSecretScanningCustomPattern_GetPattern(tt *testing.T) { - tt.Parallel() - s := &SecretScanningCustomPattern{} - s.GetPattern() - s = nil - s.GetPattern() -} - -func TestSecretScanningCustomPattern_GetPushProtectionEnabled(tt *testing.T) { - tt.Parallel() - s := &SecretScanningCustomPattern{} - s.GetPushProtectionEnabled() - s = nil - s.GetPushProtectionEnabled() -} - -func TestSecretScanningCustomPattern_GetSlug(tt *testing.T) { - tt.Parallel() - s := &SecretScanningCustomPattern{} - s.GetSlug() - s = nil - s.GetSlug() -} - -func TestSecretScanningCustomPattern_GetStartDelimiter(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningCustomPattern{StartDelimiter: &zeroValue} - s.GetStartDelimiter() - s = &SecretScanningCustomPattern{} - s.GetStartDelimiter() - s = nil - s.GetStartDelimiter() -} - -func TestSecretScanningCustomPattern_GetState(tt *testing.T) { - tt.Parallel() - s := &SecretScanningCustomPattern{} - s.GetState() - s = nil - s.GetState() -} - -func TestSecretScanningCustomPattern_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - s := &SecretScanningCustomPattern{UpdatedAt: &zeroValue} - s.GetUpdatedAt() - s = &SecretScanningCustomPattern{} - s.GetUpdatedAt() - s = nil - s.GetUpdatedAt() -} - -func TestSecretScanningCustomPatternListOptions_GetDirection(tt *testing.T) { - tt.Parallel() - s := &SecretScanningCustomPatternListOptions{} - s.GetDirection() - s = nil - s.GetDirection() -} - -func TestSecretScanningCustomPatternListOptions_GetPushProtection(tt *testing.T) { - tt.Parallel() - s := &SecretScanningCustomPatternListOptions{} - s.GetPushProtection() - s = nil - s.GetPushProtection() -} - -func TestSecretScanningCustomPatternListOptions_GetSort(tt *testing.T) { - tt.Parallel() - s := &SecretScanningCustomPatternListOptions{} - s.GetSort() - s = nil - s.GetSort() -} - -func TestSecretScanningCustomPatternListOptions_GetState(tt *testing.T) { - tt.Parallel() - s := &SecretScanningCustomPatternListOptions{} - s.GetState() - s = nil - s.GetState() -} - -func TestSecretScanningCustomPatternRequest_GetEndDelimiter(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningCustomPatternRequest{EndDelimiter: &zeroValue} - s.GetEndDelimiter() - s = &SecretScanningCustomPatternRequest{} - s.GetEndDelimiter() - s = nil - s.GetEndDelimiter() -} - -func TestSecretScanningCustomPatternRequest_GetMustMatch(tt *testing.T) { - tt.Parallel() - zeroValue := []string{} - s := &SecretScanningCustomPatternRequest{MustMatch: zeroValue} - s.GetMustMatch() - s = &SecretScanningCustomPatternRequest{} - s.GetMustMatch() - s = nil - s.GetMustMatch() -} - -func TestSecretScanningCustomPatternRequest_GetMustNotMatch(tt *testing.T) { - tt.Parallel() - zeroValue := []string{} - s := &SecretScanningCustomPatternRequest{MustNotMatch: zeroValue} - s.GetMustNotMatch() - s = &SecretScanningCustomPatternRequest{} - s.GetMustNotMatch() - s = nil - s.GetMustNotMatch() -} - -func TestSecretScanningCustomPatternRequest_GetName(tt *testing.T) { - tt.Parallel() - s := &SecretScanningCustomPatternRequest{} - s.GetName() - s = nil - s.GetName() -} - -func TestSecretScanningCustomPatternRequest_GetPattern(tt *testing.T) { - tt.Parallel() - s := &SecretScanningCustomPatternRequest{} - s.GetPattern() - s = nil - s.GetPattern() -} - -func TestSecretScanningCustomPatternRequest_GetStartDelimiter(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningCustomPatternRequest{StartDelimiter: &zeroValue} - s.GetStartDelimiter() - s = &SecretScanningCustomPatternRequest{} - s.GetStartDelimiter() - s = nil - s.GetStartDelimiter() -} - -func TestSecretScanningCustomPatternSetting_GetCustomPatternVersion(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningCustomPatternSetting{CustomPatternVersion: &zeroValue} - s.GetCustomPatternVersion() - s = &SecretScanningCustomPatternSetting{} - s.GetCustomPatternVersion() - s = nil - 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 TestSecretScanningCustomPatternToDelete_GetCustomPatternVersion(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningCustomPatternToDelete{CustomPatternVersion: &zeroValue} - s.GetCustomPatternVersion() - s = &SecretScanningCustomPatternToDelete{} - s.GetCustomPatternVersion() - s = nil - s.GetCustomPatternVersion() -} - -func TestSecretScanningCustomPatternToDelete_GetPatternID(tt *testing.T) { - tt.Parallel() - s := &SecretScanningCustomPatternToDelete{} - s.GetPatternID() - s = nil - s.GetPatternID() -} - -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 TestSecretScanningDeleteCustomPatternsRequest_GetPatterns(tt *testing.T) { - tt.Parallel() - zeroValue := []*SecretScanningCustomPatternToDelete{} - s := &SecretScanningDeleteCustomPatternsRequest{Patterns: zeroValue} - s.GetPatterns() - s = &SecretScanningDeleteCustomPatternsRequest{} - s.GetPatterns() - s = nil - s.GetPatterns() -} - -func TestSecretScanningDeleteCustomPatternsRequest_GetPostDeleteAction(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningDeleteCustomPatternsRequest{PostDeleteAction: &zeroValue} - s.GetPostDeleteAction() - s = &SecretScanningDeleteCustomPatternsRequest{} - s.GetPostDeleteAction() - s = nil - s.GetPostDeleteAction() -} - -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 - s := &SecretScanningPatternConfigs{PatternConfigVersion: &zeroValue} - s.GetPatternConfigVersion() - s = &SecretScanningPatternConfigs{} - s.GetPatternConfigVersion() - s = nil - 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 - s := &SecretScanningPatternConfigsUpdate{PatternConfigVersion: &zeroValue} - s.GetPatternConfigVersion() - s = &SecretScanningPatternConfigsUpdate{} - s.GetPatternConfigVersion() - s = nil - 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 - s := &SecretScanningPatternConfigsUpdateOptions{PatternConfigVersion: &zeroValue} - s.GetPatternConfigVersion() - s = &SecretScanningPatternConfigsUpdateOptions{} - s.GetPatternConfigVersion() - s = nil - 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 - s := &SecretScanningPatternOverride{AlertTotal: &zeroValue} - s.GetAlertTotal() - s = &SecretScanningPatternOverride{} - s.GetAlertTotal() - s = nil - s.GetAlertTotal() -} - -func TestSecretScanningPatternOverride_GetAlertTotalPercentage(tt *testing.T) { - tt.Parallel() - var zeroValue int - s := &SecretScanningPatternOverride{AlertTotalPercentage: &zeroValue} - s.GetAlertTotalPercentage() - s = &SecretScanningPatternOverride{} - s.GetAlertTotalPercentage() - s = nil - s.GetAlertTotalPercentage() -} - -func TestSecretScanningPatternOverride_GetBypassrate(tt *testing.T) { - tt.Parallel() - var zeroValue int - s := &SecretScanningPatternOverride{Bypassrate: &zeroValue} - s.GetBypassrate() - s = &SecretScanningPatternOverride{} - s.GetBypassrate() - s = nil - s.GetBypassrate() -} - -func TestSecretScanningPatternOverride_GetCustomPatternVersion(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningPatternOverride{CustomPatternVersion: &zeroValue} - s.GetCustomPatternVersion() - s = &SecretScanningPatternOverride{} - s.GetCustomPatternVersion() - s = nil - s.GetCustomPatternVersion() -} - -func TestSecretScanningPatternOverride_GetDefaultSetting(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningPatternOverride{DefaultSetting: &zeroValue} - s.GetDefaultSetting() - s = &SecretScanningPatternOverride{} - s.GetDefaultSetting() - s = nil - s.GetDefaultSetting() -} - -func TestSecretScanningPatternOverride_GetDisplayName(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningPatternOverride{DisplayName: &zeroValue} - s.GetDisplayName() - s = &SecretScanningPatternOverride{} - s.GetDisplayName() - s = nil - s.GetDisplayName() -} - -func TestSecretScanningPatternOverride_GetEnterpriseSetting(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningPatternOverride{EnterpriseSetting: &zeroValue} - s.GetEnterpriseSetting() - s = &SecretScanningPatternOverride{} - s.GetEnterpriseSetting() - s = nil - s.GetEnterpriseSetting() -} - -func TestSecretScanningPatternOverride_GetFalsePositiveRate(tt *testing.T) { - tt.Parallel() - var zeroValue int - s := &SecretScanningPatternOverride{FalsePositiveRate: &zeroValue} - s.GetFalsePositiveRate() - s = &SecretScanningPatternOverride{} - s.GetFalsePositiveRate() - s = nil - s.GetFalsePositiveRate() -} - -func TestSecretScanningPatternOverride_GetFalsePositives(tt *testing.T) { - tt.Parallel() - var zeroValue int - s := &SecretScanningPatternOverride{FalsePositives: &zeroValue} - s.GetFalsePositives() - s = &SecretScanningPatternOverride{} - s.GetFalsePositives() - s = nil - s.GetFalsePositives() -} - -func TestSecretScanningPatternOverride_GetSetting(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningPatternOverride{Setting: &zeroValue} - s.GetSetting() - s = &SecretScanningPatternOverride{} - s.GetSetting() - s = nil - s.GetSetting() -} - -func TestSecretScanningPatternOverride_GetSlug(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningPatternOverride{Slug: &zeroValue} - s.GetSlug() - s = &SecretScanningPatternOverride{} - s.GetSlug() - s = nil - s.GetSlug() -} - -func TestSecretScanningPatternOverride_GetTokenType(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningPatternOverride{TokenType: &zeroValue} - s.GetTokenType() - s = &SecretScanningPatternOverride{} - s.GetTokenType() - s = nil - 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 - s := &SecretScanningPushProtection{Status: &zeroValue} - s.GetStatus() - s = &SecretScanningPushProtection{} - s.GetStatus() - s = nil - 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 TestSecretScanningUpdateCustomPatternRequest_GetCustomPatternVersion(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningUpdateCustomPatternRequest{CustomPatternVersion: &zeroValue} - s.GetCustomPatternVersion() - s = &SecretScanningUpdateCustomPatternRequest{} - s.GetCustomPatternVersion() - s = nil - s.GetCustomPatternVersion() -} - -func TestSecretScanningUpdateCustomPatternRequest_GetEndDelimiter(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningUpdateCustomPatternRequest{EndDelimiter: &zeroValue} - s.GetEndDelimiter() - s = &SecretScanningUpdateCustomPatternRequest{} - s.GetEndDelimiter() - s = nil - s.GetEndDelimiter() -} - -func TestSecretScanningUpdateCustomPatternRequest_GetMustMatch(tt *testing.T) { - tt.Parallel() - zeroValue := []string{} - s := &SecretScanningUpdateCustomPatternRequest{MustMatch: zeroValue} - s.GetMustMatch() - s = &SecretScanningUpdateCustomPatternRequest{} - s.GetMustMatch() - s = nil - s.GetMustMatch() -} - -func TestSecretScanningUpdateCustomPatternRequest_GetMustNotMatch(tt *testing.T) { - tt.Parallel() - zeroValue := []string{} - s := &SecretScanningUpdateCustomPatternRequest{MustNotMatch: zeroValue} - s.GetMustNotMatch() - s = &SecretScanningUpdateCustomPatternRequest{} - s.GetMustNotMatch() - s = nil - s.GetMustNotMatch() -} - -func TestSecretScanningUpdateCustomPatternRequest_GetPattern(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningUpdateCustomPatternRequest{Pattern: &zeroValue} - s.GetPattern() - s = &SecretScanningUpdateCustomPatternRequest{} - s.GetPattern() - s = nil - s.GetPattern() -} - -func TestSecretScanningUpdateCustomPatternRequest_GetStartDelimiter(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningUpdateCustomPatternRequest{StartDelimiter: &zeroValue} - s.GetStartDelimiter() - s = &SecretScanningUpdateCustomPatternRequest{} - s.GetStartDelimiter() - s = nil - s.GetStartDelimiter() -} - -func TestSecretScanningValidityChecks_GetStatus(tt *testing.T) { - tt.Parallel() - var zeroValue string - s := &SecretScanningValidityChecks{Status: &zeroValue} - s.GetStatus() - s = &SecretScanningValidityChecks{} - s.GetStatus() - s = nil - s.GetStatus() -} - -func TestSecretsScan_GetCompletedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - s := &SecretsScan{CompletedAt: &zeroValue} - s.GetCompletedAt() - s = &SecretsScan{} - s.GetCompletedAt() - s = nil - s.GetCompletedAt() -} - -func TestSecretsScan_GetStartedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - s := &SecretsScan{StartedAt: &zeroValue} - s.GetStartedAt() - s = &SecretsScan{} - s.GetStartedAt() - s = nil - 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{} - s.GetAuthor() - s = nil - s.GetAuthor() -} - -func TestSecurityAdvisory_GetClosedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - s := &SecurityAdvisory{ClosedAt: &zeroValue} - s.GetClosedAt() - s = &SecurityAdvisory{} - s.GetClosedAt() - s = nil - 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 - s := &SecurityAdvisory{CreatedAt: &zeroValue} - s.GetCreatedAt() - s = &SecurityAdvisory{} - s.GetCreatedAt() - s = nil - 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 - s := &SecurityAdvisory{CVEID: &zeroValue} - s.GetCVEID() - s = &SecurityAdvisory{} - s.GetCVEID() - s = nil - s.GetCVEID() -} - -func TestSecurityAdvisory_GetCVSS(tt *testing.T) { - tt.Parallel() - s := &SecurityAdvisory{} - s.GetCVSS() - s = nil - s.GetCVSS() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetAvgLOCAdded() + c = nil + c.GetAvgLOCAdded() } -func TestSecurityAdvisory_GetCVSSSeverities(tt *testing.T) { +func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgLOCDeleted(tt *testing.T) { tt.Parallel() - s := &SecurityAdvisory{} - s.GetCVSSSeverities() - s = nil - s.GetCVSSSeverities() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetAvgLOCDeleted() + c = nil + c.GetAvgLOCDeleted() } -func TestSecurityAdvisory_GetCWEIDs(tt *testing.T) { +func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgPullRequestsCreated(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - s := &SecurityAdvisory{CWEIDs: zeroValue} - s.GetCWEIDs() - s = &SecurityAdvisory{} - s.GetCWEIDs() - s = nil - s.GetCWEIDs() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetAvgPullRequestsCreated() + c = nil + c.GetAvgPullRequestsCreated() } -func TestSecurityAdvisory_GetCWEs(tt *testing.T) { +func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgPullRequestsMedianMinutesToMerge(tt *testing.T) { tt.Parallel() - zeroValue := []*AdvisoryCWEs{} - s := &SecurityAdvisory{CWEs: zeroValue} - s.GetCWEs() - s = &SecurityAdvisory{} - s.GetCWEs() - s = nil - s.GetCWEs() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetAvgPullRequestsMedianMinutesToMerge() + c = nil + c.GetAvgPullRequestsMedianMinutesToMerge() } -func TestSecurityAdvisory_GetDescription(tt *testing.T) { +func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgPullRequestsMerged(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SecurityAdvisory{Description: &zeroValue} - s.GetDescription() - s = &SecurityAdvisory{} - s.GetDescription() - s = nil - s.GetDescription() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetAvgPullRequestsMerged() + c = nil + c.GetAvgPullRequestsMerged() } -func TestSecurityAdvisory_GetGHSAID(tt *testing.T) { +func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgPullRequestsMinutesToReview(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SecurityAdvisory{GHSAID: &zeroValue} - s.GetGHSAID() - s = &SecurityAdvisory{} - s.GetGHSAID() - s = nil - s.GetGHSAID() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetAvgPullRequestsMinutesToReview() + c = nil + c.GetAvgPullRequestsMinutesToReview() } -func TestSecurityAdvisory_GetHTMLURL(tt *testing.T) { +func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgPullRequestsReviewCycles(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SecurityAdvisory{HTMLURL: &zeroValue} - s.GetHTMLURL() - s = &SecurityAdvisory{} - s.GetHTMLURL() - s = nil - s.GetHTMLURL() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetAvgPullRequestsReviewCycles() + c = nil + c.GetAvgPullRequestsReviewCycles() } -func TestSecurityAdvisory_GetIdentifiers(tt *testing.T) { +func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgPullRequestsReviewed(tt *testing.T) { tt.Parallel() - zeroValue := []*AdvisoryIdentifier{} - s := &SecurityAdvisory{Identifiers: zeroValue} - s.GetIdentifiers() - s = &SecurityAdvisory{} - s.GetIdentifiers() - s = nil - s.GetIdentifiers() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetAvgPullRequestsReviewed() + c = nil + c.GetAvgPullRequestsReviewed() } -func TestSecurityAdvisory_GetPrivateFork(tt *testing.T) { +func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgUserInitiatedInteractions(tt *testing.T) { tt.Parallel() - s := &SecurityAdvisory{} - s.GetPrivateFork() - s = nil - s.GetPrivateFork() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetAvgUserInitiatedInteractions() + c = nil + c.GetAvgUserInitiatedInteractions() } -func TestSecurityAdvisory_GetPublishedAt(tt *testing.T) { +func TestCopilotMetricsAIAdoptionPhaseTotals_GetPhase(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - s := &SecurityAdvisory{PublishedAt: &zeroValue} - s.GetPublishedAt() - s = &SecurityAdvisory{} - s.GetPublishedAt() - s = nil - s.GetPublishedAt() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetPhase() + c = nil + c.GetPhase() } -func TestSecurityAdvisory_GetPublisher(tt *testing.T) { +func TestCopilotMetricsAIAdoptionPhaseTotals_GetPhaseNumber(tt *testing.T) { tt.Parallel() - s := &SecurityAdvisory{} - s.GetPublisher() - s = nil - s.GetPublisher() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetPhaseNumber() + c = nil + c.GetPhaseNumber() } -func TestSecurityAdvisory_GetReferences(tt *testing.T) { +func TestCopilotMetricsAIAdoptionPhaseTotals_GetTotalEngagedUsers(tt *testing.T) { tt.Parallel() - zeroValue := []*AdvisoryReference{} - s := &SecurityAdvisory{References: zeroValue} - s.GetReferences() - s = &SecurityAdvisory{} - s.GetReferences() - s = nil - s.GetReferences() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() } -func TestSecurityAdvisory_GetSeverity(tt *testing.T) { +func TestCopilotMetricsAIAdoptionPhaseTotals_GetTotalPullRequestsMerged(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SecurityAdvisory{Severity: &zeroValue} - s.GetSeverity() - s = &SecurityAdvisory{} - s.GetSeverity() - s = nil - s.GetSeverity() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetTotalPullRequestsMerged() + c = nil + c.GetTotalPullRequestsMerged() } -func TestSecurityAdvisory_GetState(tt *testing.T) { +func TestCopilotMetricsChatPanel_GetChatPanelAgentMode(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SecurityAdvisory{State: &zeroValue} - s.GetState() - s = &SecurityAdvisory{} - s.GetState() - s = nil - s.GetState() + var zeroValue int + c := &CopilotMetricsChatPanel{ChatPanelAgentMode: &zeroValue} + c.GetChatPanelAgentMode() + c = &CopilotMetricsChatPanel{} + c.GetChatPanelAgentMode() + c = nil + c.GetChatPanelAgentMode() } -func TestSecurityAdvisory_GetSubmission(tt *testing.T) { +func TestCopilotMetricsChatPanel_GetChatPanelAskMode(tt *testing.T) { tt.Parallel() - s := &SecurityAdvisory{} - s.GetSubmission() - s = nil - s.GetSubmission() + var zeroValue int + c := &CopilotMetricsChatPanel{ChatPanelAskMode: &zeroValue} + c.GetChatPanelAskMode() + c = &CopilotMetricsChatPanel{} + c.GetChatPanelAskMode() + c = nil + c.GetChatPanelAskMode() } -func TestSecurityAdvisory_GetSummary(tt *testing.T) { +func TestCopilotMetricsChatPanel_GetChatPanelCustomMode(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SecurityAdvisory{Summary: &zeroValue} - s.GetSummary() - s = &SecurityAdvisory{} - s.GetSummary() - s = nil - s.GetSummary() + var zeroValue int + c := &CopilotMetricsChatPanel{ChatPanelCustomMode: &zeroValue} + c.GetChatPanelCustomMode() + c = &CopilotMetricsChatPanel{} + c.GetChatPanelCustomMode() + c = nil + c.GetChatPanelCustomMode() } -func TestSecurityAdvisory_GetUpdatedAt(tt *testing.T) { +func TestCopilotMetricsChatPanel_GetChatPanelEditMode(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - s := &SecurityAdvisory{UpdatedAt: &zeroValue} - s.GetUpdatedAt() - s = &SecurityAdvisory{} - s.GetUpdatedAt() - s = nil - s.GetUpdatedAt() + var zeroValue int + c := &CopilotMetricsChatPanel{ChatPanelEditMode: &zeroValue} + c.GetChatPanelEditMode() + c = &CopilotMetricsChatPanel{} + c.GetChatPanelEditMode() + c = nil + c.GetChatPanelEditMode() } -func TestSecurityAdvisory_GetURL(tt *testing.T) { +func TestCopilotMetricsChatPanel_GetChatPanelUnknownMode(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SecurityAdvisory{URL: &zeroValue} - s.GetURL() - s = &SecurityAdvisory{} - s.GetURL() - s = nil - s.GetURL() + var zeroValue int + c := &CopilotMetricsChatPanel{ChatPanelUnknownMode: &zeroValue} + c.GetChatPanelUnknownMode() + c = &CopilotMetricsChatPanel{} + c.GetChatPanelUnknownMode() + c = nil + c.GetChatPanelUnknownMode() } -func TestSecurityAdvisory_GetVulnerabilities(tt *testing.T) { +func TestCopilotMetricsCLI_GetLastKnownCLIVersion(tt *testing.T) { tt.Parallel() - zeroValue := []*AdvisoryVulnerability{} - s := &SecurityAdvisory{Vulnerabilities: zeroValue} - s.GetVulnerabilities() - s = &SecurityAdvisory{} - s.GetVulnerabilities() - s = nil - s.GetVulnerabilities() + c := &CopilotMetricsCLI{} + c.GetLastKnownCLIVersion() + c = nil + c.GetLastKnownCLIVersion() } -func TestSecurityAdvisory_GetWithdrawnAt(tt *testing.T) { +func TestCopilotMetricsCLI_GetPromptCount(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - s := &SecurityAdvisory{WithdrawnAt: &zeroValue} - s.GetWithdrawnAt() - s = &SecurityAdvisory{} - s.GetWithdrawnAt() - s = nil - s.GetWithdrawnAt() + var zeroValue int + c := &CopilotMetricsCLI{PromptCount: &zeroValue} + c.GetPromptCount() + c = &CopilotMetricsCLI{} + c.GetPromptCount() + c = nil + c.GetPromptCount() } -func TestSecurityAdvisoryEvent_GetAction(tt *testing.T) { +func TestCopilotMetricsCLI_GetRequestCount(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SecurityAdvisoryEvent{Action: &zeroValue} - s.GetAction() - s = &SecurityAdvisoryEvent{} - s.GetAction() - s = nil - s.GetAction() + var zeroValue int + c := &CopilotMetricsCLI{RequestCount: &zeroValue} + c.GetRequestCount() + c = &CopilotMetricsCLI{} + c.GetRequestCount() + c = nil + c.GetRequestCount() } -func TestSecurityAdvisoryEvent_GetEnterprise(tt *testing.T) { +func TestCopilotMetricsCLI_GetSessionCount(tt *testing.T) { tt.Parallel() - s := &SecurityAdvisoryEvent{} - s.GetEnterprise() - s = nil - s.GetEnterprise() + var zeroValue int + c := &CopilotMetricsCLI{SessionCount: &zeroValue} + c.GetSessionCount() + c = &CopilotMetricsCLI{} + c.GetSessionCount() + c = nil + c.GetSessionCount() } -func TestSecurityAdvisoryEvent_GetInstallation(tt *testing.T) { +func TestCopilotMetricsCLI_GetTokenUsage(tt *testing.T) { tt.Parallel() - s := &SecurityAdvisoryEvent{} - s.GetInstallation() - s = nil - s.GetInstallation() + c := &CopilotMetricsCLI{} + c.GetTokenUsage() + c = nil + c.GetTokenUsage() } -func TestSecurityAdvisoryEvent_GetOrganization(tt *testing.T) { +func TestCopilotMetricsCLITokenUsage_GetAvgTokensPerRequest(tt *testing.T) { tt.Parallel() - s := &SecurityAdvisoryEvent{} - s.GetOrganization() - s = nil - s.GetOrganization() + var zeroValue float64 + c := &CopilotMetricsCLITokenUsage{AvgTokensPerRequest: &zeroValue} + c.GetAvgTokensPerRequest() + c = &CopilotMetricsCLITokenUsage{} + c.GetAvgTokensPerRequest() + c = nil + c.GetAvgTokensPerRequest() } -func TestSecurityAdvisoryEvent_GetRepository(tt *testing.T) { +func TestCopilotMetricsCLITokenUsage_GetOutputTokensSum(tt *testing.T) { tt.Parallel() - s := &SecurityAdvisoryEvent{} - s.GetRepository() - s = nil - s.GetRepository() + var zeroValue int + c := &CopilotMetricsCLITokenUsage{OutputTokensSum: &zeroValue} + c.GetOutputTokensSum() + c = &CopilotMetricsCLITokenUsage{} + c.GetOutputTokensSum() + c = nil + c.GetOutputTokensSum() } -func TestSecurityAdvisoryEvent_GetSecurityAdvisory(tt *testing.T) { +func TestCopilotMetricsCLITokenUsage_GetPromptTokensSum(tt *testing.T) { tt.Parallel() - s := &SecurityAdvisoryEvent{} - s.GetSecurityAdvisory() - s = nil - s.GetSecurityAdvisory() + var zeroValue int + c := &CopilotMetricsCLITokenUsage{PromptTokensSum: &zeroValue} + c.GetPromptTokensSum() + c = &CopilotMetricsCLITokenUsage{} + c.GetPromptTokensSum() + c = nil + c.GetPromptTokensSum() } -func TestSecurityAdvisoryEvent_GetSender(tt *testing.T) { +func TestCopilotMetricsCLIVersion_GetCLIVersion(tt *testing.T) { tt.Parallel() - s := &SecurityAdvisoryEvent{} - s.GetSender() - s = nil - s.GetSender() + c := &CopilotMetricsCLIVersion{} + c.GetCLIVersion() + c = nil + c.GetCLIVersion() } -func TestSecurityAdvisorySubmission_GetAccepted(tt *testing.T) { +func TestCopilotMetricsCLIVersion_GetSampledAt(tt *testing.T) { tt.Parallel() - var zeroValue bool - s := &SecurityAdvisorySubmission{Accepted: &zeroValue} - s.GetAccepted() - s = &SecurityAdvisorySubmission{} - s.GetAccepted() - s = nil - s.GetAccepted() + var zeroValue Timestamp + c := &CopilotMetricsCLIVersion{SampledAt: &zeroValue} + c.GetSampledAt() + c = &CopilotMetricsCLIVersion{} + c.GetSampledAt() + c = nil + c.GetSampledAt() } -func TestSecurityAndAnalysis_GetAdvancedSecurity(tt *testing.T) { +func TestCopilotMetricsCodeActivity_GetCodeAcceptanceActivityCount(tt *testing.T) { tt.Parallel() - s := &SecurityAndAnalysis{} - s.GetAdvancedSecurity() - s = nil - s.GetAdvancedSecurity() + var zeroValue int + c := &CopilotMetricsCodeActivity{CodeAcceptanceActivityCount: &zeroValue} + c.GetCodeAcceptanceActivityCount() + c = &CopilotMetricsCodeActivity{} + c.GetCodeAcceptanceActivityCount() + c = nil + c.GetCodeAcceptanceActivityCount() } -func TestSecurityAndAnalysis_GetCodeSecurity(tt *testing.T) { +func TestCopilotMetricsCodeActivity_GetCodeGenerationActivityCount(tt *testing.T) { tt.Parallel() - s := &SecurityAndAnalysis{} - s.GetCodeSecurity() - s = nil - s.GetCodeSecurity() + var zeroValue int + c := &CopilotMetricsCodeActivity{CodeGenerationActivityCount: &zeroValue} + c.GetCodeGenerationActivityCount() + c = &CopilotMetricsCodeActivity{} + c.GetCodeGenerationActivityCount() + c = nil + c.GetCodeGenerationActivityCount() } -func TestSecurityAndAnalysis_GetDependabotSecurityUpdates(tt *testing.T) { +func TestCopilotMetricsCodeActivity_GetLOCAddedSum(tt *testing.T) { tt.Parallel() - s := &SecurityAndAnalysis{} - s.GetDependabotSecurityUpdates() - s = nil - s.GetDependabotSecurityUpdates() + var zeroValue int + c := &CopilotMetricsCodeActivity{LOCAddedSum: &zeroValue} + c.GetLOCAddedSum() + c = &CopilotMetricsCodeActivity{} + c.GetLOCAddedSum() + c = nil + c.GetLOCAddedSum() } -func TestSecurityAndAnalysis_GetSecretScanning(tt *testing.T) { +func TestCopilotMetricsCodeActivity_GetLOCDeletedSum(tt *testing.T) { tt.Parallel() - s := &SecurityAndAnalysis{} - s.GetSecretScanning() - s = nil - s.GetSecretScanning() + var zeroValue int + c := &CopilotMetricsCodeActivity{LOCDeletedSum: &zeroValue} + c.GetLOCDeletedSum() + c = &CopilotMetricsCodeActivity{} + c.GetLOCDeletedSum() + c = nil + c.GetLOCDeletedSum() } -func TestSecurityAndAnalysis_GetSecretScanningPushProtection(tt *testing.T) { +func TestCopilotMetricsCodeActivity_GetLOCSuggestedToAddSum(tt *testing.T) { tt.Parallel() - s := &SecurityAndAnalysis{} - s.GetSecretScanningPushProtection() - s = nil - s.GetSecretScanningPushProtection() + var zeroValue int + c := &CopilotMetricsCodeActivity{LOCSuggestedToAddSum: &zeroValue} + c.GetLOCSuggestedToAddSum() + c = &CopilotMetricsCodeActivity{} + c.GetLOCSuggestedToAddSum() + c = nil + c.GetLOCSuggestedToAddSum() } -func TestSecurityAndAnalysis_GetSecretScanningValidityChecks(tt *testing.T) { +func TestCopilotMetricsCodeActivity_GetLOCSuggestedToDeleteSum(tt *testing.T) { tt.Parallel() - s := &SecurityAndAnalysis{} - s.GetSecretScanningValidityChecks() - s = nil - s.GetSecretScanningValidityChecks() + var zeroValue int + c := &CopilotMetricsCodeActivity{LOCSuggestedToDeleteSum: &zeroValue} + c.GetLOCSuggestedToDeleteSum() + c = &CopilotMetricsCodeActivity{} + c.GetLOCSuggestedToDeleteSum() + c = nil + c.GetLOCSuggestedToDeleteSum() } -func TestSecurityAndAnalysisChange_GetFrom(tt *testing.T) { +func TestCopilotMetricsCopilotApp_GetPromptCount(tt *testing.T) { tt.Parallel() - s := &SecurityAndAnalysisChange{} - s.GetFrom() - s = nil - s.GetFrom() + var zeroValue int + c := &CopilotMetricsCopilotApp{PromptCount: &zeroValue} + c.GetPromptCount() + c = &CopilotMetricsCopilotApp{} + c.GetPromptCount() + c = nil + c.GetPromptCount() } -func TestSecurityAndAnalysisChangeFrom_GetSecurityAndAnalysis(tt *testing.T) { +func TestCopilotMetricsCopilotApp_GetRequestCount(tt *testing.T) { tt.Parallel() - s := &SecurityAndAnalysisChangeFrom{} - s.GetSecurityAndAnalysis() - s = nil - s.GetSecurityAndAnalysis() + var zeroValue int + c := &CopilotMetricsCopilotApp{RequestCount: &zeroValue} + c.GetRequestCount() + c = &CopilotMetricsCopilotApp{} + c.GetRequestCount() + c = nil + c.GetRequestCount() } -func TestSecurityAndAnalysisEvent_GetChanges(tt *testing.T) { +func TestCopilotMetricsCopilotApp_GetSessionCount(tt *testing.T) { tt.Parallel() - s := &SecurityAndAnalysisEvent{} - s.GetChanges() - s = nil - s.GetChanges() + var zeroValue int + c := &CopilotMetricsCopilotApp{SessionCount: &zeroValue} + c.GetSessionCount() + c = &CopilotMetricsCopilotApp{} + c.GetSessionCount() + c = nil + c.GetSessionCount() } -func TestSecurityAndAnalysisEvent_GetEnterprise(tt *testing.T) { +func TestCopilotMetricsCopilotApp_GetTokenUsage(tt *testing.T) { tt.Parallel() - s := &SecurityAndAnalysisEvent{} - s.GetEnterprise() - s = nil - s.GetEnterprise() + c := &CopilotMetricsCopilotApp{} + c.GetTokenUsage() + c = nil + c.GetTokenUsage() } -func TestSecurityAndAnalysisEvent_GetInstallation(tt *testing.T) { +func TestCopilotMetricsCopilotAppTokenUsage_GetAvgTokensPerRequest(tt *testing.T) { tt.Parallel() - s := &SecurityAndAnalysisEvent{} - s.GetInstallation() - s = nil - s.GetInstallation() + var zeroValue float64 + c := &CopilotMetricsCopilotAppTokenUsage{AvgTokensPerRequest: &zeroValue} + c.GetAvgTokensPerRequest() + c = &CopilotMetricsCopilotAppTokenUsage{} + c.GetAvgTokensPerRequest() + c = nil + c.GetAvgTokensPerRequest() } -func TestSecurityAndAnalysisEvent_GetOrganization(tt *testing.T) { +func TestCopilotMetricsCopilotAppTokenUsage_GetOutputTokensSum(tt *testing.T) { tt.Parallel() - s := &SecurityAndAnalysisEvent{} - s.GetOrganization() - s = nil - s.GetOrganization() + var zeroValue int + c := &CopilotMetricsCopilotAppTokenUsage{OutputTokensSum: &zeroValue} + c.GetOutputTokensSum() + c = &CopilotMetricsCopilotAppTokenUsage{} + c.GetOutputTokensSum() + c = nil + c.GetOutputTokensSum() } -func TestSecurityAndAnalysisEvent_GetRepository(tt *testing.T) { +func TestCopilotMetricsCopilotAppTokenUsage_GetPromptTokensSum(tt *testing.T) { tt.Parallel() - s := &SecurityAndAnalysisEvent{} - s.GetRepository() - s = nil - s.GetRepository() + var zeroValue int + c := &CopilotMetricsCopilotAppTokenUsage{PromptTokensSum: &zeroValue} + c.GetPromptTokensSum() + c = &CopilotMetricsCopilotAppTokenUsage{} + c.GetPromptTokensSum() + c = nil + c.GetPromptTokensSum() } -func TestSecurityAndAnalysisEvent_GetSender(tt *testing.T) { +func TestCopilotMetricsCopilotSuggestionByCommentType_GetCommentType(tt *testing.T) { tt.Parallel() - s := &SecurityAndAnalysisEvent{} - s.GetSender() - s = nil - s.GetSender() + c := &CopilotMetricsCopilotSuggestionByCommentType{} + c.GetCommentType() + c = nil + c.GetCommentType() } -func TestSelectedReposList_GetRepositories(tt *testing.T) { +func TestCopilotMetricsCopilotSuggestionByCommentType_GetTotalCopilotAppliedSuggestions(tt *testing.T) { tt.Parallel() - zeroValue := []*Repository{} - s := &SelectedReposList{Repositories: zeroValue} - s.GetRepositories() - s = &SelectedReposList{} - s.GetRepositories() - s = nil - s.GetRepositories() + var zeroValue int + c := &CopilotMetricsCopilotSuggestionByCommentType{TotalCopilotAppliedSuggestions: &zeroValue} + c.GetTotalCopilotAppliedSuggestions() + c = &CopilotMetricsCopilotSuggestionByCommentType{} + c.GetTotalCopilotAppliedSuggestions() + c = nil + c.GetTotalCopilotAppliedSuggestions() } -func TestSelectedReposList_GetTotalCount(tt *testing.T) { +func TestCopilotMetricsCopilotSuggestionByCommentType_GetTotalCopilotSuggestions(tt *testing.T) { tt.Parallel() var zeroValue int - s := &SelectedReposList{TotalCount: &zeroValue} - s.GetTotalCount() - s = &SelectedReposList{} - s.GetTotalCount() - s = nil - s.GetTotalCount() + c := &CopilotMetricsCopilotSuggestionByCommentType{TotalCopilotSuggestions: &zeroValue} + c.GetTotalCopilotSuggestions() + c = &CopilotMetricsCopilotSuggestionByCommentType{} + c.GetTotalCopilotSuggestions() + c = nil + c.GetTotalCopilotSuggestions() } -func TestSelfHostedRunnersAllowedRepos_GetRepositories(tt *testing.T) { +func TestCopilotMetricsFeature_GetFeature(tt *testing.T) { tt.Parallel() - zeroValue := []*Repository{} - s := &SelfHostedRunnersAllowedRepos{Repositories: zeroValue} - s.GetRepositories() - s = &SelfHostedRunnersAllowedRepos{} - s.GetRepositories() - s = nil - s.GetRepositories() + c := &CopilotMetricsFeature{} + c.GetFeature() + c = nil + c.GetFeature() } -func TestSelfHostedRunnersAllowedRepos_GetTotalCount(tt *testing.T) { +func TestCopilotMetricsFeature_GetUserInitiatedInteractionCount(tt *testing.T) { tt.Parallel() - s := &SelfHostedRunnersAllowedRepos{} - s.GetTotalCount() - s = nil - s.GetTotalCount() + var zeroValue int + c := &CopilotMetricsFeature{UserInitiatedInteractionCount: &zeroValue} + c.GetUserInitiatedInteractionCount() + c = &CopilotMetricsFeature{} + c.GetUserInitiatedInteractionCount() + c = nil + c.GetUserInitiatedInteractionCount() } -func TestSelfHostedRunnersSettingsOrganization_GetEnabledRepositories(tt *testing.T) { +func TestCopilotMetricsIDE_GetIDE(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SelfHostedRunnersSettingsOrganization{EnabledRepositories: &zeroValue} - s.GetEnabledRepositories() - s = &SelfHostedRunnersSettingsOrganization{} - s.GetEnabledRepositories() - s = nil - s.GetEnabledRepositories() + c := &CopilotMetricsIDE{} + c.GetIDE() + c = nil + c.GetIDE() } -func TestSelfHostedRunnersSettingsOrganization_GetSelectedRepositoriesURL(tt *testing.T) { +func TestCopilotMetricsIDE_GetUserInitiatedInteractionCount(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SelfHostedRunnersSettingsOrganization{SelectedRepositoriesURL: &zeroValue} - s.GetSelectedRepositoriesURL() - s = &SelfHostedRunnersSettingsOrganization{} - s.GetSelectedRepositoriesURL() - s = nil - s.GetSelectedRepositoriesURL() + var zeroValue int + c := &CopilotMetricsIDE{UserInitiatedInteractionCount: &zeroValue} + c.GetUserInitiatedInteractionCount() + c = &CopilotMetricsIDE{} + c.GetUserInitiatedInteractionCount() + c = nil + c.GetUserInitiatedInteractionCount() } -func TestSelfHostedRunnersSettingsOrganizationOpt_GetEnabledRepositories(tt *testing.T) { +func TestCopilotMetricsLanguageFeature_GetFeature(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SelfHostedRunnersSettingsOrganizationOpt{EnabledRepositories: &zeroValue} - s.GetEnabledRepositories() - s = &SelfHostedRunnersSettingsOrganizationOpt{} - s.GetEnabledRepositories() - s = nil - s.GetEnabledRepositories() + c := &CopilotMetricsLanguageFeature{} + c.GetFeature() + c = nil + c.GetFeature() } -func TestSelfHostRunnerPermissionsEnterprise_GetDisableSelfHostedRunnersForAllOrgs(tt *testing.T) { +func TestCopilotMetricsLanguageFeature_GetLanguage(tt *testing.T) { tt.Parallel() - var zeroValue bool - s := &SelfHostRunnerPermissionsEnterprise{DisableSelfHostedRunnersForAllOrgs: &zeroValue} - s.GetDisableSelfHostedRunnersForAllOrgs() - s = &SelfHostRunnerPermissionsEnterprise{} - s.GetDisableSelfHostedRunnersForAllOrgs() - s = nil - s.GetDisableSelfHostedRunnersForAllOrgs() + c := &CopilotMetricsLanguageFeature{} + c.GetLanguage() + c = nil + c.GetLanguage() } -func TestServerInstanceProperties_GetServerInstances(tt *testing.T) { +func TestCopilotMetricsLanguageModel_GetLanguage(tt *testing.T) { tt.Parallel() - s := &ServerInstanceProperties{} - s.GetServerInstances() - s = nil - s.GetServerInstances() + c := &CopilotMetricsLanguageModel{} + c.GetLanguage() + c = nil + c.GetLanguage() } -func TestServerInstances_GetItems(tt *testing.T) { +func TestCopilotMetricsLanguageModel_GetModel(tt *testing.T) { tt.Parallel() - s := &ServerInstances{} - s.GetItems() - s = nil - s.GetItems() + c := &CopilotMetricsLanguageModel{} + c.GetModel() + c = nil + c.GetModel() } -func TestServerInstances_GetType(tt *testing.T) { +func TestCopilotMetricsListOptions_GetSince(tt *testing.T) { tt.Parallel() - s := &ServerInstances{} - s.GetType() - s = nil - s.GetType() + var zeroValue time.Time + c := &CopilotMetricsListOptions{Since: &zeroValue} + c.GetSince() + c = &CopilotMetricsListOptions{} + c.GetSince() + c = nil + c.GetSince() } -func TestServerItemProperties_GetHostname(tt *testing.T) { +func TestCopilotMetricsListOptions_GetUntil(tt *testing.T) { tt.Parallel() - s := &ServerItemProperties{} - s.GetHostname() - s = nil - s.GetHostname() + var zeroValue time.Time + c := &CopilotMetricsListOptions{Until: &zeroValue} + c.GetUntil() + c = &CopilotMetricsListOptions{} + c.GetUntil() + c = nil + c.GetUntil() } -func TestServerItemProperties_GetLastSync(tt *testing.T) { +func TestCopilotMetricsModelFeature_GetFeature(tt *testing.T) { tt.Parallel() - s := &ServerItemProperties{} - s.GetLastSync() - s = nil - s.GetLastSync() + c := &CopilotMetricsModelFeature{} + c.GetFeature() + c = nil + c.GetFeature() } -func TestServerItemProperties_GetServerID(tt *testing.T) { +func TestCopilotMetricsModelFeature_GetModel(tt *testing.T) { tt.Parallel() - s := &ServerItemProperties{} - s.GetServerID() - s = nil - s.GetServerID() + c := &CopilotMetricsModelFeature{} + c.GetModel() + c = nil + c.GetModel() } -func TestServiceInstanceItems_GetProperties(tt *testing.T) { +func TestCopilotMetricsModelFeature_GetUserInitiatedInteractionCount(tt *testing.T) { tt.Parallel() - s := &ServiceInstanceItems{} - s.GetProperties() - s = nil - s.GetProperties() + var zeroValue int + c := &CopilotMetricsModelFeature{UserInitiatedInteractionCount: &zeroValue} + c.GetUserInitiatedInteractionCount() + c = &CopilotMetricsModelFeature{} + c.GetUserInitiatedInteractionCount() + c = nil + c.GetUserInitiatedInteractionCount() } -func TestServiceInstanceItems_GetType(tt *testing.T) { +func TestCopilotMetricsPullRequests_GetCopilotSuggestionsByCommentType(tt *testing.T) { tt.Parallel() - s := &ServiceInstanceItems{} - s.GetType() - s = nil - s.GetType() + zeroValue := []*CopilotMetricsCopilotSuggestionByCommentType{} + c := &CopilotMetricsPullRequests{CopilotSuggestionsByCommentType: zeroValue} + c.GetCopilotSuggestionsByCommentType() + c = &CopilotMetricsPullRequests{} + c.GetCopilotSuggestionsByCommentType() + c = nil + c.GetCopilotSuggestionsByCommentType() } -func TestSetOrgAccessRunnerGroupRequest_GetSelectedOrganizationIDs(tt *testing.T) { +func TestCopilotMetricsPullRequests_GetMedianMinutesToMerge(tt *testing.T) { tt.Parallel() - zeroValue := []int64{} - s := &SetOrgAccessRunnerGroupRequest{SelectedOrganizationIDs: zeroValue} - s.GetSelectedOrganizationIDs() - s = &SetOrgAccessRunnerGroupRequest{} - s.GetSelectedOrganizationIDs() - s = nil - s.GetSelectedOrganizationIDs() + var zeroValue float64 + c := &CopilotMetricsPullRequests{MedianMinutesToMerge: &zeroValue} + c.GetMedianMinutesToMerge() + c = &CopilotMetricsPullRequests{} + c.GetMedianMinutesToMerge() + c = nil + c.GetMedianMinutesToMerge() } -func TestSetRepoAccessRunnerGroupRequest_GetSelectedRepositoryIDs(tt *testing.T) { +func TestCopilotMetricsPullRequests_GetMedianMinutesToMergeCopilotAuthored(tt *testing.T) { tt.Parallel() - zeroValue := []int64{} - s := &SetRepoAccessRunnerGroupRequest{SelectedRepositoryIDs: zeroValue} - s.GetSelectedRepositoryIDs() - s = &SetRepoAccessRunnerGroupRequest{} - s.GetSelectedRepositoryIDs() - s = nil - s.GetSelectedRepositoryIDs() + var zeroValue float64 + c := &CopilotMetricsPullRequests{MedianMinutesToMergeCopilotAuthored: &zeroValue} + c.GetMedianMinutesToMergeCopilotAuthored() + c = &CopilotMetricsPullRequests{} + c.GetMedianMinutesToMergeCopilotAuthored() + c = nil + c.GetMedianMinutesToMergeCopilotAuthored() } -func TestSetRunnerGroupRunnersRequest_GetRunners(tt *testing.T) { +func TestCopilotMetricsPullRequests_GetMedianMinutesToMergeCopilotReviewed(tt *testing.T) { tt.Parallel() - zeroValue := []int64{} - s := &SetRunnerGroupRunnersRequest{Runners: zeroValue} - s.GetRunners() - s = &SetRunnerGroupRunnersRequest{} - s.GetRunners() - s = nil - s.GetRunners() + var zeroValue float64 + c := &CopilotMetricsPullRequests{MedianMinutesToMergeCopilotReviewed: &zeroValue} + c.GetMedianMinutesToMergeCopilotReviewed() + c = &CopilotMetricsPullRequests{} + c.GetMedianMinutesToMergeCopilotReviewed() + c = nil + c.GetMedianMinutesToMergeCopilotReviewed() } -func TestSignatureRequirementEnforcementLevelChanges_GetFrom(tt *testing.T) { +func TestCopilotMetricsPullRequests_GetTotalAppliedSuggestions(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SignatureRequirementEnforcementLevelChanges{From: &zeroValue} - s.GetFrom() - s = &SignatureRequirementEnforcementLevelChanges{} - s.GetFrom() - s = nil - s.GetFrom() + var zeroValue int + c := &CopilotMetricsPullRequests{TotalAppliedSuggestions: &zeroValue} + c.GetTotalAppliedSuggestions() + c = &CopilotMetricsPullRequests{} + c.GetTotalAppliedSuggestions() + c = nil + c.GetTotalAppliedSuggestions() } -func TestSignaturesProtectedBranch_GetEnabled(tt *testing.T) { +func TestCopilotMetricsPullRequests_GetTotalCopilotAppliedSuggestions(tt *testing.T) { tt.Parallel() - var zeroValue bool - s := &SignaturesProtectedBranch{Enabled: &zeroValue} - s.GetEnabled() - s = &SignaturesProtectedBranch{} - s.GetEnabled() - s = nil - s.GetEnabled() + var zeroValue int + c := &CopilotMetricsPullRequests{TotalCopilotAppliedSuggestions: &zeroValue} + c.GetTotalCopilotAppliedSuggestions() + c = &CopilotMetricsPullRequests{} + c.GetTotalCopilotAppliedSuggestions() + c = nil + c.GetTotalCopilotAppliedSuggestions() } -func TestSignaturesProtectedBranch_GetURL(tt *testing.T) { +func TestCopilotMetricsPullRequests_GetTotalCopilotSuggestions(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SignaturesProtectedBranch{URL: &zeroValue} - s.GetURL() - s = &SignaturesProtectedBranch{} - s.GetURL() - s = nil - s.GetURL() + var zeroValue int + c := &CopilotMetricsPullRequests{TotalCopilotSuggestions: &zeroValue} + c.GetTotalCopilotSuggestions() + c = &CopilotMetricsPullRequests{} + c.GetTotalCopilotSuggestions() + c = nil + c.GetTotalCopilotSuggestions() } -func TestSignatureVerification_GetPayload(tt *testing.T) { +func TestCopilotMetricsPullRequests_GetTotalCreated(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SignatureVerification{Payload: &zeroValue} - s.GetPayload() - s = &SignatureVerification{} - s.GetPayload() - s = nil - s.GetPayload() + var zeroValue int + c := &CopilotMetricsPullRequests{TotalCreated: &zeroValue} + c.GetTotalCreated() + c = &CopilotMetricsPullRequests{} + c.GetTotalCreated() + c = nil + c.GetTotalCreated() } -func TestSignatureVerification_GetReason(tt *testing.T) { +func TestCopilotMetricsPullRequests_GetTotalCreatedByCopilot(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SignatureVerification{Reason: &zeroValue} - s.GetReason() - s = &SignatureVerification{} - s.GetReason() - s = nil - s.GetReason() + var zeroValue int + c := &CopilotMetricsPullRequests{TotalCreatedByCopilot: &zeroValue} + c.GetTotalCreatedByCopilot() + c = &CopilotMetricsPullRequests{} + c.GetTotalCreatedByCopilot() + c = nil + c.GetTotalCreatedByCopilot() } -func TestSignatureVerification_GetSignature(tt *testing.T) { +func TestCopilotMetricsPullRequests_GetTotalMerged(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SignatureVerification{Signature: &zeroValue} - s.GetSignature() - s = &SignatureVerification{} - s.GetSignature() - s = nil - s.GetSignature() + var zeroValue int + c := &CopilotMetricsPullRequests{TotalMerged: &zeroValue} + c.GetTotalMerged() + c = &CopilotMetricsPullRequests{} + c.GetTotalMerged() + c = nil + c.GetTotalMerged() } -func TestSignatureVerification_GetVerified(tt *testing.T) { +func TestCopilotMetricsPullRequests_GetTotalMergedCreatedByCopilot(tt *testing.T) { tt.Parallel() - var zeroValue bool - s := &SignatureVerification{Verified: &zeroValue} - s.GetVerified() - s = &SignatureVerification{} - s.GetVerified() - s = nil - s.GetVerified() + var zeroValue int + c := &CopilotMetricsPullRequests{TotalMergedCreatedByCopilot: &zeroValue} + c.GetTotalMergedCreatedByCopilot() + c = &CopilotMetricsPullRequests{} + c.GetTotalMergedCreatedByCopilot() + c = nil + c.GetTotalMergedCreatedByCopilot() } -func TestSimplePatternRuleParameters_GetNegate(tt *testing.T) { +func TestCopilotMetricsPullRequests_GetTotalMergedReviewedByCopilot(tt *testing.T) { tt.Parallel() - s := &SimplePatternRuleParameters{} - s.GetNegate() - s = nil - s.GetNegate() + var zeroValue int + c := &CopilotMetricsPullRequests{TotalMergedReviewedByCopilot: &zeroValue} + c.GetTotalMergedReviewedByCopilot() + c = &CopilotMetricsPullRequests{} + c.GetTotalMergedReviewedByCopilot() + c = nil + c.GetTotalMergedReviewedByCopilot() } -func TestSimplePatternRuleParameters_GetPattern(tt *testing.T) { +func TestCopilotMetricsPullRequests_GetTotalReviewed(tt *testing.T) { tt.Parallel() - s := &SimplePatternRuleParameters{} - s.GetPattern() - s = nil - s.GetPattern() + var zeroValue int + c := &CopilotMetricsPullRequests{TotalReviewed: &zeroValue} + c.GetTotalReviewed() + c = &CopilotMetricsPullRequests{} + c.GetTotalReviewed() + c = nil + c.GetTotalReviewed() } -func TestSocialAccount_GetProvider(tt *testing.T) { +func TestCopilotMetricsPullRequests_GetTotalReviewedByCopilot(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SocialAccount{Provider: &zeroValue} - s.GetProvider() - s = &SocialAccount{} - s.GetProvider() - s = nil - s.GetProvider() + var zeroValue int + c := &CopilotMetricsPullRequests{TotalReviewedByCopilot: &zeroValue} + c.GetTotalReviewedByCopilot() + c = &CopilotMetricsPullRequests{} + c.GetTotalReviewedByCopilot() + c = nil + c.GetTotalReviewedByCopilot() } -func TestSocialAccount_GetURL(tt *testing.T) { +func TestCopilotMetricsPullRequests_GetTotalSuggestions(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SocialAccount{URL: &zeroValue} - s.GetURL() - s = &SocialAccount{} - s.GetURL() - s = nil - s.GetURL() + var zeroValue int + c := &CopilotMetricsPullRequests{TotalSuggestions: &zeroValue} + c.GetTotalSuggestions() + c = &CopilotMetricsPullRequests{} + c.GetTotalSuggestions() + c = nil + c.GetTotalSuggestions() } -func TestSource_GetActor(tt *testing.T) { +func TestCopilotMetricsReport_GetDownloadLinks(tt *testing.T) { tt.Parallel() - s := &Source{} - s.GetActor() - s = nil - s.GetActor() + zeroValue := []string{} + c := &CopilotMetricsReport{DownloadLinks: zeroValue} + c.GetDownloadLinks() + c = &CopilotMetricsReport{} + c.GetDownloadLinks() + c = nil + c.GetDownloadLinks() } -func TestSource_GetID(tt *testing.T) { +func TestCopilotMetricsReport_GetReportEndDay(tt *testing.T) { tt.Parallel() - var zeroValue int64 - s := &Source{ID: &zeroValue} - s.GetID() - s = &Source{} - s.GetID() - s = nil - s.GetID() + c := &CopilotMetricsReport{} + c.GetReportEndDay() + c = nil + c.GetReportEndDay() } -func TestSource_GetIssue(tt *testing.T) { +func TestCopilotMetricsReport_GetReportStartDay(tt *testing.T) { tt.Parallel() - s := &Source{} - s.GetIssue() - s = nil - s.GetIssue() + c := &CopilotMetricsReport{} + c.GetReportStartDay() + c = nil + c.GetReportStartDay() } -func TestSource_GetType(tt *testing.T) { +func TestCopilotMetricsReportOptions_GetDay(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &Source{Type: &zeroValue} - s.GetType() - s = &Source{} - s.GetType() - s = nil - s.GetType() + c := &CopilotMetricsReportOptions{} + c.GetDay() + c = nil + c.GetDay() } -func TestSource_GetURL(tt *testing.T) { +func TestCopilotMetricsThirdPartyAgent_GetAgentID(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &Source{URL: &zeroValue} - s.GetURL() - s = &Source{} - s.GetURL() - s = nil - s.GetURL() + c := &CopilotMetricsThirdPartyAgent{} + c.GetAgentID() + c = nil + c.GetAgentID() } -func TestSourceImportAuthor_GetEmail(tt *testing.T) { +func TestCopilotMetricsThirdPartyAgent_GetAgentName(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SourceImportAuthor{Email: &zeroValue} - s.GetEmail() - s = &SourceImportAuthor{} - s.GetEmail() - s = nil - s.GetEmail() + c := &CopilotMetricsThirdPartyAgent{} + c.GetAgentName() + c = nil + c.GetAgentName() } -func TestSourceImportAuthor_GetID(tt *testing.T) { +func TestCopilotMetricsThirdPartyAgent_GetSessionCount(tt *testing.T) { tt.Parallel() - var zeroValue int64 - s := &SourceImportAuthor{ID: &zeroValue} - s.GetID() - s = &SourceImportAuthor{} - s.GetID() - s = nil - s.GetID() + var zeroValue int + c := &CopilotMetricsThirdPartyAgent{SessionCount: &zeroValue} + c.GetSessionCount() + c = &CopilotMetricsThirdPartyAgent{} + c.GetSessionCount() + c = nil + c.GetSessionCount() } -func TestSourceImportAuthor_GetImportURL(tt *testing.T) { +func TestCopilotMetricsThirdPartyAgent_GetUserInitiatedInteractionCount(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SourceImportAuthor{ImportURL: &zeroValue} - s.GetImportURL() - s = &SourceImportAuthor{} - s.GetImportURL() - s = nil - s.GetImportURL() + var zeroValue int + c := &CopilotMetricsThirdPartyAgent{UserInitiatedInteractionCount: &zeroValue} + c.GetUserInitiatedInteractionCount() + c = &CopilotMetricsThirdPartyAgent{} + c.GetUserInitiatedInteractionCount() + c = nil + c.GetUserInitiatedInteractionCount() } -func TestSourceImportAuthor_GetName(tt *testing.T) { +func TestCopilotOrganizationDetails_GetCopilotChat(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SourceImportAuthor{Name: &zeroValue} - s.GetName() - s = &SourceImportAuthor{} - s.GetName() - s = nil - s.GetName() + c := &CopilotOrganizationDetails{} + c.GetCopilotChat() + c = nil + c.GetCopilotChat() } -func TestSourceImportAuthor_GetRemoteID(tt *testing.T) { +func TestCopilotOrganizationDetails_GetPublicCodeSuggestions(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SourceImportAuthor{RemoteID: &zeroValue} - s.GetRemoteID() - s = &SourceImportAuthor{} - s.GetRemoteID() - s = nil - s.GetRemoteID() + c := &CopilotOrganizationDetails{} + c.GetPublicCodeSuggestions() + c = nil + c.GetPublicCodeSuggestions() } -func TestSourceImportAuthor_GetRemoteName(tt *testing.T) { +func TestCopilotOrganizationDetails_GetSeatBreakdown(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SourceImportAuthor{RemoteName: &zeroValue} - s.GetRemoteName() - s = &SourceImportAuthor{} - s.GetRemoteName() - s = nil - s.GetRemoteName() + c := &CopilotOrganizationDetails{} + c.GetSeatBreakdown() + c = nil + c.GetSeatBreakdown() } -func TestSourceImportAuthor_GetURL(tt *testing.T) { +func TestCopilotOrganizationDetails_GetSeatManagementSetting(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SourceImportAuthor{URL: &zeroValue} - s.GetURL() - s = &SourceImportAuthor{} - s.GetURL() - s = nil - s.GetURL() + c := &CopilotOrganizationDetails{} + c.GetSeatManagementSetting() + c = nil + c.GetSeatManagementSetting() } -func TestSplunkConfig_GetDomain(tt *testing.T) { +func TestCopilotPeriodicMetrics_GetCreatedAt(tt *testing.T) { tt.Parallel() - s := &SplunkConfig{} - s.GetDomain() - s = nil - s.GetDomain() + var zeroValue Timestamp + c := &CopilotPeriodicMetrics{CreatedAt: &zeroValue} + c.GetCreatedAt() + c = &CopilotPeriodicMetrics{} + c.GetCreatedAt() + c = nil + c.GetCreatedAt() } -func TestSplunkConfig_GetEncryptedToken(tt *testing.T) { +func TestCopilotPeriodicMetrics_GetDayTotals(tt *testing.T) { tt.Parallel() - s := &SplunkConfig{} - s.GetEncryptedToken() - s = nil - s.GetEncryptedToken() + zeroValue := []*CopilotDailyMetrics{} + c := &CopilotPeriodicMetrics{DayTotals: zeroValue} + c.GetDayTotals() + c = &CopilotPeriodicMetrics{} + c.GetDayTotals() + c = nil + c.GetDayTotals() } -func TestSplunkConfig_GetKeyID(tt *testing.T) { +func TestCopilotPeriodicMetrics_GetEnterpriseID(tt *testing.T) { tt.Parallel() - s := &SplunkConfig{} - s.GetKeyID() - s = nil - s.GetKeyID() + var zeroValue string + c := &CopilotPeriodicMetrics{EnterpriseID: &zeroValue} + c.GetEnterpriseID() + c = &CopilotPeriodicMetrics{} + c.GetEnterpriseID() + c = nil + c.GetEnterpriseID() } -func TestSplunkConfig_GetPort(tt *testing.T) { +func TestCopilotPeriodicMetrics_GetOrganizationID(tt *testing.T) { tt.Parallel() - s := &SplunkConfig{} - s.GetPort() - s = nil - s.GetPort() + var zeroValue string + c := &CopilotPeriodicMetrics{OrganizationID: &zeroValue} + c.GetOrganizationID() + c = &CopilotPeriodicMetrics{} + c.GetOrganizationID() + c = nil + c.GetOrganizationID() } -func TestSplunkConfig_GetSSLVerify(tt *testing.T) { +func TestCopilotPeriodicMetrics_GetReportEndDay(tt *testing.T) { tt.Parallel() - s := &SplunkConfig{} - s.GetSSLVerify() - s = nil - s.GetSSLVerify() + c := &CopilotPeriodicMetrics{} + c.GetReportEndDay() + c = nil + c.GetReportEndDay() } -func TestSponsorshipChanges_GetPrivacyLevel(tt *testing.T) { +func TestCopilotPeriodicMetrics_GetReportStartDay(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SponsorshipChanges{PrivacyLevel: &zeroValue} - s.GetPrivacyLevel() - s = &SponsorshipChanges{} - s.GetPrivacyLevel() - s = nil - s.GetPrivacyLevel() + c := &CopilotPeriodicMetrics{} + c.GetReportStartDay() + c = nil + c.GetReportStartDay() } -func TestSponsorshipChanges_GetTier(tt *testing.T) { +func TestCopilotRepositoryDailyMetrics_GetDay(tt *testing.T) { tt.Parallel() - s := &SponsorshipChanges{} - s.GetTier() - s = nil - s.GetTier() + c := &CopilotRepositoryDailyMetrics{} + c.GetDay() + c = nil + c.GetDay() } -func TestSponsorshipEvent_GetAction(tt *testing.T) { +func TestCopilotRepositoryDailyMetrics_GetEnterpriseID(tt *testing.T) { tt.Parallel() var zeroValue string - s := &SponsorshipEvent{Action: &zeroValue} - s.GetAction() - s = &SponsorshipEvent{} - s.GetAction() - s = nil - s.GetAction() + c := &CopilotRepositoryDailyMetrics{EnterpriseID: &zeroValue} + c.GetEnterpriseID() + c = &CopilotRepositoryDailyMetrics{} + c.GetEnterpriseID() + c = nil + c.GetEnterpriseID() } -func TestSponsorshipEvent_GetChanges(tt *testing.T) { +func TestCopilotRepositoryDailyMetrics_GetOrganizationID(tt *testing.T) { tt.Parallel() - s := &SponsorshipEvent{} - s.GetChanges() - s = nil - s.GetChanges() + var zeroValue string + c := &CopilotRepositoryDailyMetrics{OrganizationID: &zeroValue} + c.GetOrganizationID() + c = &CopilotRepositoryDailyMetrics{} + c.GetOrganizationID() + c = nil + c.GetOrganizationID() } -func TestSponsorshipEvent_GetEffectiveDate(tt *testing.T) { +func TestCopilotRepositoryDailyMetrics_GetPullRequests(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SponsorshipEvent{EffectiveDate: &zeroValue} - s.GetEffectiveDate() - s = &SponsorshipEvent{} - s.GetEffectiveDate() - s = nil - s.GetEffectiveDate() + c := &CopilotRepositoryDailyMetrics{} + c.GetPullRequests() + c = nil + c.GetPullRequests() } -func TestSponsorshipEvent_GetInstallation(tt *testing.T) { +func TestCopilotRepositoryDailyMetrics_GetRepoID(tt *testing.T) { tt.Parallel() - s := &SponsorshipEvent{} - s.GetInstallation() - s = nil - s.GetInstallation() + c := &CopilotRepositoryDailyMetrics{} + c.GetRepoID() + c = nil + c.GetRepoID() } -func TestSponsorshipEvent_GetOrganization(tt *testing.T) { +func TestCopilotRepositoryDailyMetrics_GetRepoName(tt *testing.T) { tt.Parallel() - s := &SponsorshipEvent{} - s.GetOrganization() - s = nil - s.GetOrganization() + c := &CopilotRepositoryDailyMetrics{} + c.GetRepoName() + c = nil + c.GetRepoName() } -func TestSponsorshipEvent_GetRepository(tt *testing.T) { +func TestCopilotRepositoryDailyMetrics_GetRepoOwnerName(tt *testing.T) { tt.Parallel() - s := &SponsorshipEvent{} - s.GetRepository() - s = nil - s.GetRepository() + c := &CopilotRepositoryDailyMetrics{} + c.GetRepoOwnerName() + c = nil + c.GetRepoOwnerName() } -func TestSponsorshipEvent_GetSender(tt *testing.T) { +func TestCopilotRepositoryDailyMetrics_GetRepoVisibility(tt *testing.T) { tt.Parallel() - s := &SponsorshipEvent{} - s.GetSender() - s = nil - s.GetSender() + c := &CopilotRepositoryDailyMetrics{} + c.GetRepoVisibility() + c = nil + c.GetRepoVisibility() } -func TestSponsorshipTier_GetFrom(tt *testing.T) { +func TestCopilotSeatBreakdown_GetActiveThisCycle(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SponsorshipTier{From: &zeroValue} - s.GetFrom() - s = &SponsorshipTier{} - s.GetFrom() - s = nil - s.GetFrom() + c := &CopilotSeatBreakdown{} + c.GetActiveThisCycle() + c = nil + c.GetActiveThisCycle() } -func TestSSHKeyOptions_GetKey(tt *testing.T) { +func TestCopilotSeatBreakdown_GetAddedThisCycle(tt *testing.T) { tt.Parallel() - s := &SSHKeyOptions{} - s.GetKey() - s = nil - s.GetKey() + c := &CopilotSeatBreakdown{} + c.GetAddedThisCycle() + c = nil + c.GetAddedThisCycle() } -func TestSSHKeyStatus_GetHostname(tt *testing.T) { +func TestCopilotSeatBreakdown_GetInactiveThisCycle(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SSHKeyStatus{Hostname: &zeroValue} - s.GetHostname() - s = &SSHKeyStatus{} - s.GetHostname() - s = nil - s.GetHostname() + c := &CopilotSeatBreakdown{} + c.GetInactiveThisCycle() + c = nil + c.GetInactiveThisCycle() } -func TestSSHKeyStatus_GetMessage(tt *testing.T) { +func TestCopilotSeatBreakdown_GetPendingCancellation(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SSHKeyStatus{Message: &zeroValue} - s.GetMessage() - s = &SSHKeyStatus{} - s.GetMessage() - s = nil - s.GetMessage() + c := &CopilotSeatBreakdown{} + c.GetPendingCancellation() + c = nil + c.GetPendingCancellation() } -func TestSSHKeyStatus_GetModified(tt *testing.T) { +func TestCopilotSeatBreakdown_GetPendingInvitation(tt *testing.T) { tt.Parallel() - var zeroValue bool - s := &SSHKeyStatus{Modified: &zeroValue} - s.GetModified() - s = &SSHKeyStatus{} - s.GetModified() - s = nil - s.GetModified() + c := &CopilotSeatBreakdown{} + c.GetPendingInvitation() + c = nil + c.GetPendingInvitation() } -func TestSSHKeyStatus_GetUUID(tt *testing.T) { +func TestCopilotSeatBreakdown_GetTotal(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SSHKeyStatus{UUID: &zeroValue} - s.GetUUID() - s = &SSHKeyStatus{} - s.GetUUID() - s = nil - s.GetUUID() + c := &CopilotSeatBreakdown{} + c.GetTotal() + c = nil + c.GetTotal() } -func TestSSHSigningKey_GetCreatedAt(tt *testing.T) { +func TestCopilotSeatDetails_GetAssignee(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - s := &SSHSigningKey{CreatedAt: &zeroValue} - s.GetCreatedAt() - s = &SSHSigningKey{} - s.GetCreatedAt() - s = nil - s.GetCreatedAt() + c := &CopilotSeatDetails{} + c.GetAssignee() + c = nil + c.GetAssignee() } -func TestSSHSigningKey_GetID(tt *testing.T) { +func TestCopilotSeatDetails_GetAssigningTeam(tt *testing.T) { tt.Parallel() - var zeroValue int64 - s := &SSHSigningKey{ID: &zeroValue} - s.GetID() - s = &SSHSigningKey{} - s.GetID() - s = nil - s.GetID() + c := &CopilotSeatDetails{} + c.GetAssigningTeam() + c = nil + c.GetAssigningTeam() } -func TestSSHSigningKey_GetKey(tt *testing.T) { +func TestCopilotSeatDetails_GetCreatedAt(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SSHSigningKey{Key: &zeroValue} - s.GetKey() - s = &SSHSigningKey{} - s.GetKey() - s = nil - s.GetKey() + var zeroValue Timestamp + c := &CopilotSeatDetails{CreatedAt: &zeroValue} + c.GetCreatedAt() + c = &CopilotSeatDetails{} + c.GetCreatedAt() + c = nil + c.GetCreatedAt() } -func TestSSHSigningKey_GetTitle(tt *testing.T) { +func TestCopilotSeatDetails_GetLastActivityAt(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SSHSigningKey{Title: &zeroValue} - s.GetTitle() - s = &SSHSigningKey{} - s.GetTitle() - s = nil - s.GetTitle() + var zeroValue Timestamp + c := &CopilotSeatDetails{LastActivityAt: &zeroValue} + c.GetLastActivityAt() + c = &CopilotSeatDetails{} + c.GetLastActivityAt() + c = nil + c.GetLastActivityAt() } -func TestStarEvent_GetAction(tt *testing.T) { +func TestCopilotSeatDetails_GetLastActivityEditor(tt *testing.T) { tt.Parallel() var zeroValue string - s := &StarEvent{Action: &zeroValue} - s.GetAction() - s = &StarEvent{} - s.GetAction() - s = nil - s.GetAction() + c := &CopilotSeatDetails{LastActivityEditor: &zeroValue} + c.GetLastActivityEditor() + c = &CopilotSeatDetails{} + c.GetLastActivityEditor() + c = nil + c.GetLastActivityEditor() } -func TestStarEvent_GetInstallation(tt *testing.T) { +func TestCopilotSeatDetails_GetPendingCancellationDate(tt *testing.T) { tt.Parallel() - s := &StarEvent{} - s.GetInstallation() - s = nil - s.GetInstallation() + var zeroValue string + c := &CopilotSeatDetails{PendingCancellationDate: &zeroValue} + c.GetPendingCancellationDate() + c = &CopilotSeatDetails{} + c.GetPendingCancellationDate() + c = nil + c.GetPendingCancellationDate() } -func TestStarEvent_GetOrg(tt *testing.T) { +func TestCopilotSeatDetails_GetPlanType(tt *testing.T) { tt.Parallel() - s := &StarEvent{} - s.GetOrg() - s = nil - s.GetOrg() + var zeroValue string + c := &CopilotSeatDetails{PlanType: &zeroValue} + c.GetPlanType() + c = &CopilotSeatDetails{} + c.GetPlanType() + c = nil + c.GetPlanType() } -func TestStarEvent_GetRepo(tt *testing.T) { +func TestCopilotSeatDetails_GetUpdatedAt(tt *testing.T) { tt.Parallel() - s := &StarEvent{} - s.GetRepo() - s = nil - s.GetRepo() + var zeroValue Timestamp + c := &CopilotSeatDetails{UpdatedAt: &zeroValue} + c.GetUpdatedAt() + c = &CopilotSeatDetails{} + c.GetUpdatedAt() + c = nil + c.GetUpdatedAt() } -func TestStarEvent_GetSender(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetAIAdoptionPhase(tt *testing.T) { tt.Parallel() - s := &StarEvent{} - s.GetSender() - s = nil - s.GetSender() + c := &CopilotUserDailyMetrics{} + c.GetAIAdoptionPhase() + c = nil + c.GetAIAdoptionPhase() } -func TestStarEvent_GetStarredAt(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetAICreditsUsed(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - s := &StarEvent{StarredAt: &zeroValue} - s.GetStarredAt() - s = &StarEvent{} - s.GetStarredAt() - s = nil - s.GetStarredAt() + var zeroValue float64 + c := &CopilotUserDailyMetrics{AICreditsUsed: &zeroValue} + c.GetAICreditsUsed() + c = &CopilotUserDailyMetrics{} + c.GetAICreditsUsed() + c = nil + c.GetAICreditsUsed() } -func TestStargazer_GetStarredAt(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetCodeAcceptanceActivityCount(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - s := &Stargazer{StarredAt: &zeroValue} - s.GetStarredAt() - s = &Stargazer{} - s.GetStarredAt() - s = nil - s.GetStarredAt() + var zeroValue int + c := &CopilotUserDailyMetrics{CodeAcceptanceActivityCount: &zeroValue} + c.GetCodeAcceptanceActivityCount() + c = &CopilotUserDailyMetrics{} + c.GetCodeAcceptanceActivityCount() + c = nil + c.GetCodeAcceptanceActivityCount() } -func TestStargazer_GetUser(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetCodeGenerationActivityCount(tt *testing.T) { tt.Parallel() - s := &Stargazer{} - s.GetUser() - s = nil - s.GetUser() + var zeroValue int + c := &CopilotUserDailyMetrics{CodeGenerationActivityCount: &zeroValue} + c.GetCodeGenerationActivityCount() + c = &CopilotUserDailyMetrics{} + c.GetCodeGenerationActivityCount() + c = nil + c.GetCodeGenerationActivityCount() } -func TestStarredRepository_GetRepository(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetDay(tt *testing.T) { tt.Parallel() - s := &StarredRepository{} - s.GetRepository() - s = nil - s.GetRepository() + c := &CopilotUserDailyMetrics{} + c.GetDay() + c = nil + c.GetDay() } -func TestStarredRepository_GetStarredAt(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetEnterpriseID(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - s := &StarredRepository{StarredAt: &zeroValue} - s.GetStarredAt() - s = &StarredRepository{} - s.GetStarredAt() - s = nil - s.GetStarredAt() + var zeroValue string + c := &CopilotUserDailyMetrics{EnterpriseID: &zeroValue} + c.GetEnterpriseID() + c = &CopilotUserDailyMetrics{} + c.GetEnterpriseID() + c = nil + c.GetEnterpriseID() } -func TestStatusEvent_GetBranches(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetLOCAddedSum(tt *testing.T) { tt.Parallel() - zeroValue := []*Branch{} - s := &StatusEvent{Branches: zeroValue} - s.GetBranches() - s = &StatusEvent{} - s.GetBranches() - s = nil - s.GetBranches() + var zeroValue int + c := &CopilotUserDailyMetrics{LOCAddedSum: &zeroValue} + c.GetLOCAddedSum() + c = &CopilotUserDailyMetrics{} + c.GetLOCAddedSum() + c = nil + c.GetLOCAddedSum() } -func TestStatusEvent_GetCommit(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetLOCDeletedSum(tt *testing.T) { tt.Parallel() - s := &StatusEvent{} - s.GetCommit() - s = nil - s.GetCommit() + var zeroValue int + c := &CopilotUserDailyMetrics{LOCDeletedSum: &zeroValue} + c.GetLOCDeletedSum() + c = &CopilotUserDailyMetrics{} + c.GetLOCDeletedSum() + c = nil + c.GetLOCDeletedSum() } -func TestStatusEvent_GetContext(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetLOCSuggestedToAddSum(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &StatusEvent{Context: &zeroValue} - s.GetContext() - s = &StatusEvent{} - s.GetContext() - s = nil - s.GetContext() + var zeroValue int + c := &CopilotUserDailyMetrics{LOCSuggestedToAddSum: &zeroValue} + c.GetLOCSuggestedToAddSum() + c = &CopilotUserDailyMetrics{} + c.GetLOCSuggestedToAddSum() + c = nil + c.GetLOCSuggestedToAddSum() } -func TestStatusEvent_GetCreatedAt(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetLOCSuggestedToDeleteSum(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - s := &StatusEvent{CreatedAt: &zeroValue} - s.GetCreatedAt() - s = &StatusEvent{} - s.GetCreatedAt() - s = nil - s.GetCreatedAt() + var zeroValue int + c := &CopilotUserDailyMetrics{LOCSuggestedToDeleteSum: &zeroValue} + c.GetLOCSuggestedToDeleteSum() + c = &CopilotUserDailyMetrics{} + c.GetLOCSuggestedToDeleteSum() + c = nil + c.GetLOCSuggestedToDeleteSum() } -func TestStatusEvent_GetDescription(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetOrganizationID(tt *testing.T) { tt.Parallel() var zeroValue string - s := &StatusEvent{Description: &zeroValue} - s.GetDescription() - s = &StatusEvent{} - s.GetDescription() - s = nil - s.GetDescription() + c := &CopilotUserDailyMetrics{OrganizationID: &zeroValue} + c.GetOrganizationID() + c = &CopilotUserDailyMetrics{} + c.GetOrganizationID() + c = nil + c.GetOrganizationID() } -func TestStatusEvent_GetID(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetTotalsBy3rdPartyAgent(tt *testing.T) { tt.Parallel() - var zeroValue int64 - s := &StatusEvent{ID: &zeroValue} - s.GetID() - s = &StatusEvent{} - s.GetID() - s = nil - s.GetID() + zeroValue := []*CopilotMetricsThirdPartyAgent{} + c := &CopilotUserDailyMetrics{TotalsBy3rdPartyAgent: zeroValue} + c.GetTotalsBy3rdPartyAgent() + c = &CopilotUserDailyMetrics{} + c.GetTotalsBy3rdPartyAgent() + c = nil + c.GetTotalsBy3rdPartyAgent() } -func TestStatusEvent_GetInstallation(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetTotalsByCLI(tt *testing.T) { tt.Parallel() - s := &StatusEvent{} - s.GetInstallation() - s = nil - s.GetInstallation() + c := &CopilotUserDailyMetrics{} + c.GetTotalsByCLI() + c = nil + c.GetTotalsByCLI() } -func TestStatusEvent_GetName(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetTotalsByCopilotApp(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &StatusEvent{Name: &zeroValue} - s.GetName() - s = &StatusEvent{} - s.GetName() - s = nil - s.GetName() + c := &CopilotUserDailyMetrics{} + c.GetTotalsByCopilotApp() + c = nil + c.GetTotalsByCopilotApp() } -func TestStatusEvent_GetOrg(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetTotalsByFeature(tt *testing.T) { tt.Parallel() - s := &StatusEvent{} - s.GetOrg() - s = nil - s.GetOrg() + zeroValue := []*CopilotMetricsFeature{} + c := &CopilotUserDailyMetrics{TotalsByFeature: zeroValue} + c.GetTotalsByFeature() + c = &CopilotUserDailyMetrics{} + c.GetTotalsByFeature() + c = nil + c.GetTotalsByFeature() } -func TestStatusEvent_GetRepo(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetTotalsByIDE(tt *testing.T) { tt.Parallel() - s := &StatusEvent{} - s.GetRepo() - s = nil - s.GetRepo() + zeroValue := []*CopilotUserMetricsIDE{} + c := &CopilotUserDailyMetrics{TotalsByIDE: zeroValue} + c.GetTotalsByIDE() + c = &CopilotUserDailyMetrics{} + c.GetTotalsByIDE() + c = nil + c.GetTotalsByIDE() } -func TestStatusEvent_GetSender(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetTotalsByLanguageFeature(tt *testing.T) { tt.Parallel() - s := &StatusEvent{} - s.GetSender() - s = nil - s.GetSender() + zeroValue := []*CopilotMetricsLanguageFeature{} + c := &CopilotUserDailyMetrics{TotalsByLanguageFeature: zeroValue} + c.GetTotalsByLanguageFeature() + c = &CopilotUserDailyMetrics{} + c.GetTotalsByLanguageFeature() + c = nil + c.GetTotalsByLanguageFeature() } -func TestStatusEvent_GetSHA(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetTotalsByLanguageModel(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &StatusEvent{SHA: &zeroValue} - s.GetSHA() - s = &StatusEvent{} - s.GetSHA() - s = nil - s.GetSHA() + zeroValue := []*CopilotMetricsLanguageModel{} + c := &CopilotUserDailyMetrics{TotalsByLanguageModel: zeroValue} + c.GetTotalsByLanguageModel() + c = &CopilotUserDailyMetrics{} + c.GetTotalsByLanguageModel() + c = nil + c.GetTotalsByLanguageModel() } -func TestStatusEvent_GetState(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetTotalsByModelFeature(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &StatusEvent{State: &zeroValue} - s.GetState() - s = &StatusEvent{} - s.GetState() - s = nil - s.GetState() + zeroValue := []*CopilotMetricsModelFeature{} + c := &CopilotUserDailyMetrics{TotalsByModelFeature: zeroValue} + c.GetTotalsByModelFeature() + c = &CopilotUserDailyMetrics{} + c.GetTotalsByModelFeature() + c = nil + c.GetTotalsByModelFeature() } -func TestStatusEvent_GetTargetURL(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetUsedAgent(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &StatusEvent{TargetURL: &zeroValue} - s.GetTargetURL() - s = &StatusEvent{} - s.GetTargetURL() - s = nil - s.GetTargetURL() + var zeroValue bool + c := &CopilotUserDailyMetrics{UsedAgent: &zeroValue} + c.GetUsedAgent() + c = &CopilotUserDailyMetrics{} + c.GetUsedAgent() + c = nil + c.GetUsedAgent() } -func TestStatusEvent_GetUpdatedAt(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetUsedChat(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - s := &StatusEvent{UpdatedAt: &zeroValue} - s.GetUpdatedAt() - s = &StatusEvent{} - s.GetUpdatedAt() - s = nil - s.GetUpdatedAt() + var zeroValue bool + c := &CopilotUserDailyMetrics{UsedChat: &zeroValue} + c.GetUsedChat() + c = &CopilotUserDailyMetrics{} + c.GetUsedChat() + c = nil + c.GetUsedChat() } -func TestStorageBilling_GetDaysLeftInBillingCycle(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetUsedCLI(tt *testing.T) { tt.Parallel() - s := &StorageBilling{} - s.GetDaysLeftInBillingCycle() - s = nil - s.GetDaysLeftInBillingCycle() + var zeroValue bool + c := &CopilotUserDailyMetrics{UsedCLI: &zeroValue} + c.GetUsedCLI() + c = &CopilotUserDailyMetrics{} + c.GetUsedCLI() + c = nil + c.GetUsedCLI() } -func TestStorageBilling_GetEstimatedPaidStorageForMonth(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetUsedCopilotApp(tt *testing.T) { tt.Parallel() - s := &StorageBilling{} - s.GetEstimatedPaidStorageForMonth() - s = nil - s.GetEstimatedPaidStorageForMonth() + var zeroValue bool + c := &CopilotUserDailyMetrics{UsedCopilotApp: &zeroValue} + c.GetUsedCopilotApp() + c = &CopilotUserDailyMetrics{} + c.GetUsedCopilotApp() + c = nil + c.GetUsedCopilotApp() } -func TestStorageBilling_GetEstimatedStorageForMonth(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetUsedCopilotCloudAgent(tt *testing.T) { tt.Parallel() - s := &StorageBilling{} - s.GetEstimatedStorageForMonth() - s = nil - s.GetEstimatedStorageForMonth() + var zeroValue bool + c := &CopilotUserDailyMetrics{UsedCopilotCloudAgent: &zeroValue} + c.GetUsedCopilotCloudAgent() + c = &CopilotUserDailyMetrics{} + c.GetUsedCopilotCloudAgent() + c = nil + c.GetUsedCopilotCloudAgent() } -func TestSubIssueRequest_GetAfterID(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetUsedCopilotCodeReviewActive(tt *testing.T) { tt.Parallel() - var zeroValue int64 - s := &SubIssueRequest{AfterID: &zeroValue} - s.GetAfterID() - s = &SubIssueRequest{} - s.GetAfterID() - s = nil - s.GetAfterID() + var zeroValue bool + c := &CopilotUserDailyMetrics{UsedCopilotCodeReviewActive: &zeroValue} + c.GetUsedCopilotCodeReviewActive() + c = &CopilotUserDailyMetrics{} + c.GetUsedCopilotCodeReviewActive() + c = nil + c.GetUsedCopilotCodeReviewActive() } -func TestSubIssueRequest_GetBeforeID(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetUsedCopilotCodeReviewPassive(tt *testing.T) { tt.Parallel() - var zeroValue int64 - s := &SubIssueRequest{BeforeID: &zeroValue} - s.GetBeforeID() - s = &SubIssueRequest{} - s.GetBeforeID() - s = nil - s.GetBeforeID() + var zeroValue bool + c := &CopilotUserDailyMetrics{UsedCopilotCodeReviewPassive: &zeroValue} + c.GetUsedCopilotCodeReviewPassive() + c = &CopilotUserDailyMetrics{} + c.GetUsedCopilotCodeReviewPassive() + c = nil + c.GetUsedCopilotCodeReviewPassive() } -func TestSubIssueRequest_GetReplaceParent(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetUsedCopilotCodingAgent(tt *testing.T) { tt.Parallel() var zeroValue bool - s := &SubIssueRequest{ReplaceParent: &zeroValue} - s.GetReplaceParent() - s = &SubIssueRequest{} - s.GetReplaceParent() - s = nil - s.GetReplaceParent() + c := &CopilotUserDailyMetrics{UsedCopilotCodingAgent: &zeroValue} + c.GetUsedCopilotCodingAgent() + c = &CopilotUserDailyMetrics{} + c.GetUsedCopilotCodingAgent() + c = nil + c.GetUsedCopilotCodingAgent() } -func TestSubIssueRequest_GetSubIssueID(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetUserID(tt *testing.T) { tt.Parallel() - s := &SubIssueRequest{} - s.GetSubIssueID() - s = nil - s.GetSubIssueID() + c := &CopilotUserDailyMetrics{} + c.GetUserID() + c = nil + c.GetUserID() } -func TestSubIssuesSummary_GetCompleted(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetUserInitiatedInteractionCount(tt *testing.T) { tt.Parallel() var zeroValue int - s := &SubIssuesSummary{Completed: &zeroValue} - s.GetCompleted() - s = &SubIssuesSummary{} - s.GetCompleted() - s = nil - s.GetCompleted() + c := &CopilotUserDailyMetrics{UserInitiatedInteractionCount: &zeroValue} + c.GetUserInitiatedInteractionCount() + c = &CopilotUserDailyMetrics{} + c.GetUserInitiatedInteractionCount() + c = nil + c.GetUserInitiatedInteractionCount() } -func TestSubIssuesSummary_GetPercentCompleted(tt *testing.T) { +func TestCopilotUserDailyMetrics_GetUserLogin(tt *testing.T) { tt.Parallel() - var zeroValue int - s := &SubIssuesSummary{PercentCompleted: &zeroValue} - s.GetPercentCompleted() - s = &SubIssuesSummary{} - s.GetPercentCompleted() - s = nil - s.GetPercentCompleted() + c := &CopilotUserDailyMetrics{} + c.GetUserLogin() + c = nil + c.GetUserLogin() } -func TestSubIssuesSummary_GetTotal(tt *testing.T) { +func TestCopilotUserMetricsIDE_GetIDE(tt *testing.T) { tt.Parallel() - var zeroValue int - s := &SubIssuesSummary{Total: &zeroValue} - s.GetTotal() - s = &SubIssuesSummary{} - s.GetTotal() - s = nil - s.GetTotal() + c := &CopilotUserMetricsIDE{} + c.GetIDE() + c = nil + c.GetIDE() } -func TestSubscription_GetCreatedAt(tt *testing.T) { +func TestCopilotUserMetricsIDE_GetLastKnownIDEVersion(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - s := &Subscription{CreatedAt: &zeroValue} - s.GetCreatedAt() - s = &Subscription{} - s.GetCreatedAt() - s = nil - s.GetCreatedAt() + c := &CopilotUserMetricsIDE{} + c.GetLastKnownIDEVersion() + c = nil + c.GetLastKnownIDEVersion() } -func TestSubscription_GetIgnored(tt *testing.T) { +func TestCopilotUserMetricsIDE_GetLastKnownPluginVersion(tt *testing.T) { tt.Parallel() - var zeroValue bool - s := &Subscription{Ignored: &zeroValue} - s.GetIgnored() - s = &Subscription{} - s.GetIgnored() - s = nil - s.GetIgnored() + c := &CopilotUserMetricsIDE{} + c.GetLastKnownPluginVersion() + c = nil + c.GetLastKnownPluginVersion() } -func TestSubscription_GetReason(tt *testing.T) { +func TestCopilotUserMetricsIDE_GetUserInitiatedInteractionCount(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &Subscription{Reason: &zeroValue} - s.GetReason() - s = &Subscription{} - s.GetReason() - s = nil - s.GetReason() + var zeroValue int + c := &CopilotUserMetricsIDE{UserInitiatedInteractionCount: &zeroValue} + c.GetUserInitiatedInteractionCount() + c = &CopilotUserMetricsIDE{} + c.GetUserInitiatedInteractionCount() + c = nil + c.GetUserInitiatedInteractionCount() } -func TestSubscription_GetRepositoryURL(tt *testing.T) { +func TestCopilotUserMetricsIDEVersion_GetIDEVersion(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &Subscription{RepositoryURL: &zeroValue} - s.GetRepositoryURL() - s = &Subscription{} - s.GetRepositoryURL() - s = nil - s.GetRepositoryURL() + c := &CopilotUserMetricsIDEVersion{} + c.GetIDEVersion() + c = nil + c.GetIDEVersion() } -func TestSubscription_GetSubscribed(tt *testing.T) { +func TestCopilotUserMetricsIDEVersion_GetSampledAt(tt *testing.T) { tt.Parallel() - var zeroValue bool - s := &Subscription{Subscribed: &zeroValue} - s.GetSubscribed() - s = &Subscription{} - s.GetSubscribed() - s = nil - s.GetSubscribed() + var zeroValue Timestamp + c := &CopilotUserMetricsIDEVersion{SampledAt: &zeroValue} + c.GetSampledAt() + c = &CopilotUserMetricsIDEVersion{} + c.GetSampledAt() + c = nil + c.GetSampledAt() } -func TestSubscription_GetThreadURL(tt *testing.T) { +func TestCopilotUserMetricsPluginVersion_GetPlugin(tt *test +func TestGrant_GetCreatedAt(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &Subscription{ThreadURL: &zeroValue} - s.GetThreadURL() - s = &Subscription{} - s.GetThreadURL() - s = nil - s.GetThreadURL() + var zeroValue Timestamp + g := &Grant{CreatedAt: &zeroValue} + g.GetCreatedAt() + g = &Grant{} + g.GetCreatedAt() + g = nil + g.GetCreatedAt() } -func TestSubscription_GetURL(tt *testing.T) { +func TestGrant_GetID(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &Subscription{URL: &zeroValue} - s.GetURL() - s = &Subscription{} - s.GetURL() - s = nil - s.GetURL() + var zeroValue int64 + g := &Grant{ID: &zeroValue} + g.GetID() + g = &Grant{} + g.GetID() + g = nil + g.GetID() } -func TestSystemRequirements_GetNodes(tt *testing.T) { +func TestGrant_GetScopes(tt *testing.T) { tt.Parallel() - zeroValue := []*SystemRequirementsNode{} - s := &SystemRequirements{Nodes: zeroValue} - s.GetNodes() - s = &SystemRequirements{} - s.GetNodes() - s = nil - s.GetNodes() + zeroValue := []string{} + g := &Grant{Scopes: zeroValue} + g.GetScopes() + g = &Grant{} + g.GetScopes() + g = nil + g.GetScopes() } -func TestSystemRequirements_GetStatus(tt *testing.T) { +func TestGrant_GetUpdatedAt(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SystemRequirements{Status: &zeroValue} - s.GetStatus() - s = &SystemRequirements{} - s.GetStatus() - s = nil - s.GetStatus() + var zeroValue Timestamp + g := &Grant{UpdatedAt: &zeroValue} + g.GetUpdatedAt() + g = &Grant{} + g.GetUpdatedAt() + g = nil + g.GetUpdatedAt() } -func TestSystemRequirementsNode_GetHostname(tt *testing.T) { +func TestGrant_GetURL(tt *testing.T) { tt.Parallel() var zeroValue string - s := &SystemRequirementsNode{Hostname: &zeroValue} - s.GetHostname() - s = &SystemRequirementsNode{} - s.GetHostname() - s = nil - s.GetHostname() + g := &Grant{URL: &zeroValue} + g.GetURL() + g = &Grant{} + g.GetURL() + g = nil + g.GetURL() } -func TestSystemRequirementsNode_GetRolesStatus(tt *testing.T) { +func TestHeadCommit_GetAdded(tt *testing.T) { tt.Parallel() - zeroValue := []*SystemRequirementsNodeRoleStatus{} - s := &SystemRequirementsNode{RolesStatus: zeroValue} - s.GetRolesStatus() - s = &SystemRequirementsNode{} - s.GetRolesStatus() - s = nil - s.GetRolesStatus() + zeroValue := []string{} + h := &HeadCommit{Added: zeroValue} + h.GetAdded() + h = &HeadCommit{} + h.GetAdded() + h = nil + h.GetAdded() } -func TestSystemRequirementsNode_GetStatus(tt *testing.T) { +func TestHeadCommit_GetAuthor(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SystemRequirementsNode{Status: &zeroValue} - s.GetStatus() - s = &SystemRequirementsNode{} - s.GetStatus() - s = nil - s.GetStatus() + h := &HeadCommit{} + h.GetAuthor() + h = nil + h.GetAuthor() } -func TestSystemRequirementsNodeRoleStatus_GetRole(tt *testing.T) { +func TestHeadCommit_GetCommitter(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SystemRequirementsNodeRoleStatus{Role: &zeroValue} - s.GetRole() - s = &SystemRequirementsNodeRoleStatus{} - s.GetRole() - s = nil - s.GetRole() + h := &HeadCommit{} + h.GetCommitter() + h = nil + h.GetCommitter() } -func TestSystemRequirementsNodeRoleStatus_GetStatus(tt *testing.T) { +func TestHeadCommit_GetDistinct(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SystemRequirementsNodeRoleStatus{Status: &zeroValue} - s.GetStatus() - s = &SystemRequirementsNodeRoleStatus{} - s.GetStatus() - s = nil - s.GetStatus() + var zeroValue bool + h := &HeadCommit{Distinct: &zeroValue} + h.GetDistinct() + h = &HeadCommit{} + h.GetDistinct() + h = nil + h.GetDistinct() } -func TestTag_GetMessage(tt *testing.T) { +func TestHeadCommit_GetID(tt *testing.T) { tt.Parallel() var zeroValue string - t := &Tag{Message: &zeroValue} - t.GetMessage() - t = &Tag{} - t.GetMessage() - t = nil - t.GetMessage() + h := &HeadCommit{ID: &zeroValue} + h.GetID() + h = &HeadCommit{} + h.GetID() + h = nil + h.GetID() } -func TestTag_GetNodeID(tt *testing.T) { +func TestHeadCommit_GetMessage(tt *testing.T) { tt.Parallel() var zeroValue string - t := &Tag{NodeID: &zeroValue} - t.GetNodeID() - t = &Tag{} - t.GetNodeID() - t = nil - t.GetNodeID() + h := &HeadCommit{Message: &zeroValue} + h.GetMessage() + h = &HeadCommit{} + h.GetMessage() + h = nil + h.GetMessage() } -func TestTag_GetObject(tt *testing.T) { +func TestHeadCommit_GetModified(tt *testing.T) { tt.Parallel() - t := &Tag{} - t.GetObject() - t = nil - t.GetObject() + zeroValue := []string{} + h := &HeadCommit{Modified: zeroValue} + h.GetModified() + h = &HeadCommit{} + h.GetModified() + h = nil + h.GetModified() } -func TestTag_GetSHA(tt *testing.T) { +func TestHeadCommit_GetRemoved(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &Tag{SHA: &zeroValue} - t.GetSHA() - t = &Tag{} - t.GetSHA() - t = nil - t.GetSHA() + zeroValue := []string{} + h := &HeadCommit{Removed: zeroValue} + h.GetRemoved() + h = &HeadCommit{} + h.GetRemoved() + h = nil + h.GetRemoved() } -func TestTag_GetTag(tt *testing.T) { +func TestHeadCommit_GetSHA(tt *testing.T) { tt.Parallel() var zeroValue string - t := &Tag{Tag: &zeroValue} - t.GetTag() - t = &Tag{} - t.GetTag() - t = nil - t.GetTag() + h := &HeadCommit{SHA: &zeroValue} + h.GetSHA() + h = &HeadCommit{} + h.GetSHA() + h = nil + h.GetSHA() } -func TestTag_GetTagger(tt *testing.T) { +func TestHeadCommit_GetTimestamp(tt *testing.T) { tt.Parallel() - t := &Tag{} - t.GetTagger() - t = nil - t.GetTagger() + var zeroValue Timestamp + h := &HeadCommit{Timestamp: &zeroValue} + h.GetTimestamp() + h = &HeadCommit{} + h.GetTimestamp() + h = nil + h.GetTimestamp() } -func TestTag_GetURL(tt *testing.T) { +func TestHeadCommit_GetTreeID(tt *testing.T) { tt.Parallel() var zeroValue string - t := &Tag{URL: &zeroValue} - t.GetURL() - t = &Tag{} - t.GetURL() - t = nil - t.GetURL() -} - -func TestTag_GetVerification(tt *testing.T) { - tt.Parallel() - t := &Tag{} - t.GetVerification() - t = nil - t.GetVerification() -} - -func TestTagProtection_GetID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - t := &TagProtection{ID: &zeroValue} - t.GetID() - t = &TagProtection{} - t.GetID() - t = nil - t.GetID() + h := &HeadCommit{TreeID: &zeroValue} + h.GetTreeID() + h = &HeadCommit{} + h.GetTreeID() + h = nil + h.GetTreeID() } -func TestTagProtection_GetPattern(tt *testing.T) { +func TestHeadCommit_GetURL(tt *testing.T) { tt.Parallel() var zeroValue string - t := &TagProtection{Pattern: &zeroValue} - t.GetPattern() - t = &TagProtection{} - t.GetPattern() - t = nil - t.GetPattern() + h := &HeadCommit{URL: &zeroValue} + h.GetURL() + h = &HeadCommit{} + h.GetURL() + h = nil + h.GetURL() } -func TestTaskStep_GetCompletedAt(tt *testing.T) { +func TestHecConfig_GetDomain(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - t := &TaskStep{CompletedAt: &zeroValue} - t.GetCompletedAt() - t = &TaskStep{} - t.GetCompletedAt() - t = nil - t.GetCompletedAt() + h := &HecConfig{} + h.GetDomain() + h = nil + h.GetDomain() } -func TestTaskStep_GetConclusion(tt *testing.T) { +func TestHecConfig_GetEncryptedToken(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TaskStep{Conclusion: &zeroValue} - t.GetConclusion() - t = &TaskStep{} - t.GetConclusion() - t = nil - t.GetConclusion() + h := &HecConfig{} + h.GetEncryptedToken() + h = nil + h.GetEncryptedToken() } -func TestTaskStep_GetName(tt *testing.T) { +func TestHecConfig_GetKeyID(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TaskStep{Name: &zeroValue} - t.GetName() - t = &TaskStep{} - t.GetName() - t = nil - t.GetName() + h := &HecConfig{} + h.GetKeyID() + h = nil + h.GetKeyID() } -func TestTaskStep_GetNumber(tt *testing.T) { +func TestHecConfig_GetPath(tt *testing.T) { tt.Parallel() - var zeroValue int64 - t := &TaskStep{Number: &zeroValue} - t.GetNumber() - t = &TaskStep{} - t.GetNumber() - t = nil - t.GetNumber() + h := &HecConfig{} + h.GetPath() + h = nil + h.GetPath() } -func TestTaskStep_GetStartedAt(tt *testing.T) { +func TestHecConfig_GetPort(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - t := &TaskStep{StartedAt: &zeroValue} - t.GetStartedAt() - t = &TaskStep{} - t.GetStartedAt() - t = nil - t.GetStartedAt() + h := &HecConfig{} + h.GetPort() + h = nil + h.GetPort() } -func TestTaskStep_GetStatus(tt *testing.T) { +func TestHecConfig_GetSSLVerify(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TaskStep{Status: &zeroValue} - t.GetStatus() - t = &TaskStep{} - t.GetStatus() - t = nil - t.GetStatus() + h := &HecConfig{} + h.GetSSLVerify() + h = nil + h.GetSSLVerify() } -func TestTeam_GetAccessSource(tt *testing.T) { +func TestHook_GetActive(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &Team{AccessSource: &zeroValue} - t.GetAccessSource() - t = &Team{} - t.GetAccessSource() - t = nil - t.GetAccessSource() + var zeroValue bool + h := &Hook{Active: &zeroValue} + h.GetActive() + h = &Hook{} + h.GetActive() + h = nil + h.GetActive() } -func TestTeam_GetAssignment(tt *testing.T) { +func TestHook_GetConfig(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &Team{Assignment: &zeroValue} - t.GetAssignment() - t = &Team{} - t.GetAssignment() - t = nil - t.GetAssignment() + h := &Hook{} + h.GetConfig() + h = nil + h.GetConfig() } -func TestTeam_GetDescription(tt *testing.T) { +func TestHook_GetCreatedAt(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &Team{Description: &zeroValue} - t.GetDescription() - t = &Team{} - t.GetDescription() - t = nil - t.GetDescription() + var zeroValue Timestamp + h := &Hook{CreatedAt: &zeroValue} + h.GetCreatedAt() + h = &Hook{} + h.GetCreatedAt() + h = nil + h.GetCreatedAt() } -func TestTeam_GetHTMLURL(tt *testing.T) { +func TestHook_GetEvents(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &Team{HTMLURL: &zeroValue} - t.GetHTMLURL() - t = &Team{} - t.GetHTMLURL() - t = nil - t.GetHTMLURL() + zeroValue := []string{} + h := &Hook{Events: zeroValue} + h.GetEvents() + h = &Hook{} + h.GetEvents() + h = nil + h.GetEvents() } -func TestTeam_GetID(tt *testing.T) { +func TestHook_GetID(tt *testing.T) { tt.Parallel() var zeroValue int64 - t := &Team{ID: &zeroValue} - t.GetID() - t = &Team{} - t.GetID() - t = nil - t.GetID() -} - -func TestTeam_GetLDAPDN(tt *testing.T) { - tt.Parallel() - var zeroValue string - t := &Team{LDAPDN: &zeroValue} - t.GetLDAPDN() - t = &Team{} - t.GetLDAPDN() - t = nil - t.GetLDAPDN() + h := &Hook{ID: &zeroValue} + h.GetID() + h = &Hook{} + h.GetID() + h = nil + h.GetID() } -func TestTeam_GetMembersCount(tt *testing.T) { +func TestHook_GetLastResponse(tt *testing.T) { tt.Parallel() - var zeroValue int - t := &Team{MembersCount: &zeroValue} - t.GetMembersCount() - t = &Team{} - t.GetMembersCount() - t = nil - t.GetMembersCount() + zeroValue := map[string]any{} + h := &Hook{LastResponse: zeroValue} + h.GetLastResponse() + h = &Hook{} + h.GetLastResponse() + h = nil + h.GetLastResponse() } -func TestTeam_GetMembersURL(tt *testing.T) { +func TestHook_GetName(tt *testing.T) { tt.Parallel() var zeroValue string - t := &Team{MembersURL: &zeroValue} - t.GetMembersURL() - t = &Team{} - t.GetMembersURL() - t = nil - t.GetMembersURL() + h := &Hook{Name: &zeroValue} + h.GetName() + h = &Hook{} + h.GetName() + h = nil + h.GetName() } -func TestTeam_GetName(tt *testing.T) { +func TestHook_GetPingURL(tt *testing.T) { tt.Parallel() var zeroValue string - t := &Team{Name: &zeroValue} - t.GetName() - t = &Team{} - t.GetName() - t = nil - t.GetName() + h := &Hook{PingURL: &zeroValue} + h.GetPingURL() + h = &Hook{} + h.GetPingURL() + h = nil + h.GetPingURL() } -func TestTeam_GetNodeID(tt *testing.T) { +func TestHook_GetTestURL(tt *testing.T) { tt.Parallel() var zeroValue string - t := &Team{NodeID: &zeroValue} - t.GetNodeID() - t = &Team{} - t.GetNodeID() - t = nil - t.GetNodeID() + h := &Hook{TestURL: &zeroValue} + h.GetTestURL() + h = &Hook{} + h.GetTestURL() + h = nil + h.GetTestURL() } -func TestTeam_GetNotificationSetting(tt *testing.T) { +func TestHook_GetType(tt *testing.T) { tt.Parallel() var zeroValue string - t := &Team{NotificationSetting: &zeroValue} - t.GetNotificationSetting() - t = &Team{} - t.GetNotificationSetting() - t = nil - t.GetNotificationSetting() + h := &Hook{Type: &zeroValue} + h.GetType() + h = &Hook{} + h.GetType() + h = nil + h.GetType() } -func TestTeam_GetOrganization(tt *testing.T) { +func TestHook_GetUpdatedAt(tt *testing.T) { tt.Parallel() - t := &Team{} - t.GetOrganization() - t = nil - t.GetOrganization() + var zeroValue Timestamp + h := &Hook{UpdatedAt: &zeroValue} + h.GetUpdatedAt() + h = &Hook{} + h.GetUpdatedAt() + h = nil + h.GetUpdatedAt() } -func TestTeam_GetParent(tt *testing.T) { +func TestHook_GetURL(tt *testing.T) { tt.Parallel() - t := &Team{} - t.GetParent() - t = nil - t.GetParent() + var zeroValue string + h := &Hook{URL: &zeroValue} + h.GetURL() + h = &Hook{} + h.GetURL() + h = nil + h.GetURL() } -func TestTeam_GetPermission(tt *testing.T) { +func TestHookConfig_GetContentType(tt *testing.T) { tt.Parallel() var zeroValue string - t := &Team{Permission: &zeroValue} - t.GetPermission() - t = &Team{} - t.GetPermission() - t = nil - t.GetPermission() + h := &HookConfig{ContentType: &zeroValue} + h.GetContentType() + h = &HookConfig{} + h.GetContentType() + h = nil + h.GetContentType() } -func TestTeam_GetPermissions(tt *testing.T) { +func TestHookConfig_GetInsecureSSL(tt *testing.T) { tt.Parallel() - zeroValue := map[string]bool{} - t := &Team{Permissions: zeroValue} - t.GetPermissions() - t = &Team{} - t.GetPermissions() - t = nil - t.GetPermissions() + var zeroValue string + h := &HookConfig{InsecureSSL: &zeroValue} + h.GetInsecureSSL() + h = &HookConfig{} + h.GetInsecureSSL() + h = nil + h.GetInsecureSSL() } -func TestTeam_GetPrivacy(tt *testing.T) { +func TestHookConfig_GetSecret(tt *testing.T) { tt.Parallel() var zeroValue string - t := &Team{Privacy: &zeroValue} - t.GetPrivacy() - t = &Team{} - t.GetPrivacy() - t = nil - t.GetPrivacy() + h := &HookConfig{Secret: &zeroValue} + h.GetSecret() + h = &HookConfig{} + h.GetSecret() + h = nil + h.GetSecret() } -func TestTeam_GetReposCount(tt *testing.T) { +func TestHookConfig_GetURL(tt *testing.T) { tt.Parallel() - var zeroValue int - t := &Team{ReposCount: &zeroValue} - t.GetReposCount() - t = &Team{} - t.GetReposCount() - t = nil - t.GetReposCount() + var zeroValue string + h := &HookConfig{URL: &zeroValue} + h.GetURL() + h = &HookConfig{} + h.GetURL() + h = nil + h.GetURL() } -func TestTeam_GetRepositoriesURL(tt *testing.T) { +func TestHookDelivery_GetAction(tt *testing.T) { tt.Parallel() var zeroValue string - t := &Team{RepositoriesURL: &zeroValue} - t.GetRepositoriesURL() - t = &Team{} - t.GetRepositoriesURL() - t = nil - t.GetRepositoriesURL() + h := &HookDelivery{Action: &zeroValue} + h.GetAction() + h = &HookDelivery{} + h.GetAction() + h = nil + h.GetAction() } -func TestTeam_GetSlug(tt *testing.T) { +func TestHookDelivery_GetDeliveredAt(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &Team{Slug: &zeroValue} - t.GetSlug() - t = &Team{} - t.GetSlug() - t = nil - t.GetSlug() + var zeroValue Timestamp + h := &HookDelivery{DeliveredAt: &zeroValue} + h.GetDeliveredAt() + h = &HookDelivery{} + h.GetDeliveredAt() + h = nil + h.GetDeliveredAt() } -func TestTeam_GetType(tt *testing.T) { +func TestHookDelivery_GetDuration(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &Team{Type: &zeroValue} - t.GetType() - t = &Team{} - t.GetType() - t = nil - t.GetType() + var zeroValue float64 + h := &HookDelivery{Duration: &zeroValue} + h.GetDuration() + h = &HookDelivery{} + h.GetDuration() + h = nil + h.GetDuration() } -func TestTeam_GetURL(tt *testing.T) { +func TestHookDelivery_GetEvent(tt *testing.T) { tt.Parallel() var zeroValue string - t := &Team{URL: &zeroValue} - t.GetURL() - t = &Team{} - t.GetURL() - t = nil - t.GetURL() + h := &HookDelivery{Event: &zeroValue} + h.GetEvent() + h = &HookDelivery{} + h.GetEvent() + h = nil + h.GetEvent() } -func TestTeamAddEvent_GetInstallation(tt *testing.T) { +func TestHookDelivery_GetGUID(tt *testing.T) { tt.Parallel() - t := &TeamAddEvent{} - t.GetInstallation() - t = nil - t.GetInstallation() + var zeroValue string + h := &HookDelivery{GUID: &zeroValue} + h.GetGUID() + h = &HookDelivery{} + h.GetGUID() + h = nil + h.GetGUID() } -func TestTeamAddEvent_GetOrg(tt *testing.T) { +func TestHookDelivery_GetID(tt *testing.T) { tt.Parallel() - t := &TeamAddEvent{} - t.GetOrg() - t = nil - t.GetOrg() + var zeroValue int64 + h := &HookDelivery{ID: &zeroValue} + h.GetID() + h = &HookDelivery{} + h.GetID() + h = nil + h.GetID() } -func TestTeamAddEvent_GetRepo(tt *testing.T) { +func TestHookDelivery_GetInstallationID(tt *testing.T) { tt.Parallel() - t := &TeamAddEvent{} - t.GetRepo() - t = nil - t.GetRepo() + var zeroValue int64 + h := &HookDelivery{InstallationID: &zeroValue} + h.GetInstallationID() + h = &HookDelivery{} + h.GetInstallationID() + h = nil + h.GetInstallationID() } -func TestTeamAddEvent_GetSender(tt *testing.T) { +func TestHookDelivery_GetRedelivery(tt *testing.T) { tt.Parallel() - t := &TeamAddEvent{} - t.GetSender() - t = nil - t.GetSender() + var zeroValue bool + h := &HookDelivery{Redelivery: &zeroValue} + h.GetRedelivery() + h = &HookDelivery{} + h.GetRedelivery() + h = nil + h.GetRedelivery() } -func TestTeamAddEvent_GetTeam(tt *testing.T) { +func TestHookDelivery_GetRepositoryID(tt *testing.T) { tt.Parallel() - t := &TeamAddEvent{} - t.GetTeam() - t = nil - t.GetTeam() + var zeroValue int64 + h := &HookDelivery{RepositoryID: &zeroValue} + h.GetRepositoryID() + h = &HookDelivery{} + h.GetRepositoryID() + h = nil + h.GetRepositoryID() } -func TestTeamAddTeamMembershipOptions_GetRole(tt *testing.T) { +func TestHookDelivery_GetRequest(tt *testing.T) { tt.Parallel() - t := &TeamAddTeamMembershipOptions{} - t.GetRole() - t = nil - t.GetRole() + h := &HookDelivery{} + h.GetRequest() + h = nil + h.GetRequest() } -func TestTeamAddTeamRepoOptions_GetPermission(tt *testing.T) { +func TestHookDelivery_GetResponse(tt *testing.T) { tt.Parallel() - t := &TeamAddTeamRepoOptions{} - t.GetPermission() - t = nil - t.GetPermission() + h := &HookDelivery{} + h.GetResponse() + h = nil + h.GetResponse() } -func TestTeamChange_GetDescription(tt *testing.T) { +func TestHookDelivery_GetStatus(tt *testing.T) { tt.Parallel() - t := &TeamChange{} - t.GetDescription() - t = nil - t.GetDescription() + var zeroValue string + h := &HookDelivery{Status: &zeroValue} + h.GetStatus() + h = &HookDelivery{} + h.GetStatus() + h = nil + h.GetStatus() } -func TestTeamChange_GetName(tt *testing.T) { +func TestHookDelivery_GetStatusCode(tt *testing.T) { tt.Parallel() - t := &TeamChange{} - t.GetName() - t = nil - t.GetName() + var zeroValue int + h := &HookDelivery{StatusCode: &zeroValue} + h.GetStatusCode() + h = &HookDelivery{} + h.GetStatusCode() + h = nil + h.GetStatusCode() } -func TestTeamChange_GetPrivacy(tt *testing.T) { +func TestHookDelivery_GetThrottledAt(tt *testing.T) { tt.Parallel() - t := &TeamChange{} - t.GetPrivacy() - t = nil - t.GetPrivacy() + var zeroValue Timestamp + h := &HookDelivery{ThrottledAt: &zeroValue} + h.GetThrottledAt() + h = &HookDelivery{} + h.GetThrottledAt() + h = nil + h.GetThrottledAt() } -func TestTeamChange_GetRepository(tt *testing.T) { +func TestHookRequest_GetHeaders(tt *testing.T) { tt.Parallel() - t := &TeamChange{} - t.GetRepository() - t = nil - t.GetRepository() + zeroValue := map[string]string{} + h := &HookRequest{Headers: zeroValue} + h.GetHeaders() + h = &HookRequest{} + h.GetHeaders() + h = nil + h.GetHeaders() } -func TestTeamDescription_GetFrom(tt *testing.T) { +func TestHookRequest_GetRawPayload(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TeamDescription{From: &zeroValue} - t.GetFrom() - t = &TeamDescription{} - t.GetFrom() - t = nil - t.GetFrom() + var zeroValue json.RawMessage + h := &HookRequest{RawPayload: &zeroValue} + h.GetRawPayload() + h = &HookRequest{} + h.GetRawPayload() + h = nil + h.GetRawPayload() } -func TestTeamDiscussion_GetAuthor(tt *testing.T) { +func TestHookResponse_GetHeaders(tt *testing.T) { tt.Parallel() - t := &TeamDiscussion{} - t.GetAuthor() - t = nil - t.GetAuthor() + zeroValue := map[string]string{} + h := &HookResponse{Headers: zeroValue} + h.GetHeaders() + h = &HookResponse{} + h.GetHeaders() + h = nil + h.GetHeaders() } -func TestTeamDiscussion_GetBody(tt *testing.T) { +func TestHookResponse_GetRawPayload(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TeamDiscussion{Body: &zeroValue} - t.GetBody() - t = &TeamDiscussion{} - t.GetBody() - t = nil - t.GetBody() + var zeroValue json.RawMessage + h := &HookResponse{RawPayload: &zeroValue} + h.GetRawPayload() + h = &HookResponse{} + h.GetRawPayload() + h = nil + h.GetRawPayload() } -func TestTeamDiscussion_GetBodyHTML(tt *testing.T) { +func TestHookStats_GetActiveHooks(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TeamDiscussion{BodyHTML: &zeroValue} - t.GetBodyHTML() - t = &TeamDiscussion{} - t.GetBodyHTML() - t = nil - t.GetBodyHTML() + var zeroValue int + h := &HookStats{ActiveHooks: &zeroValue} + h.GetActiveHooks() + h = &HookStats{} + h.GetActiveHooks() + h = nil + h.GetActiveHooks() } -func TestTeamDiscussion_GetBodyVersion(tt *testing.T) { +func TestHookStats_GetInactiveHooks(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TeamDiscussion{BodyVersion: &zeroValue} - t.GetBodyVersion() - t = &TeamDiscussion{} - t.GetBodyVersion() - t = nil - t.GetBodyVersion() + var zeroValue int + h := &HookStats{InactiveHooks: &zeroValue} + h.GetInactiveHooks() + h = &HookStats{} + h.GetInactiveHooks() + h = nil + h.GetInactiveHooks() } -func TestTeamDiscussion_GetCommentsCount(tt *testing.T) { +func TestHookStats_GetTotalHooks(tt *testing.T) { tt.Parallel() var zeroValue int - t := &TeamDiscussion{CommentsCount: &zeroValue} - t.GetCommentsCount() - t = &TeamDiscussion{} - t.GetCommentsCount() - t = nil - t.GetCommentsCount() + h := &HookStats{TotalHooks: &zeroValue} + h.GetTotalHooks() + h = &HookStats{} + h.GetTotalHooks() + h = nil + h.GetTotalHooks() } -func TestTeamDiscussion_GetCommentsURL(tt *testing.T) { +func TestHostedRunner_GetID(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TeamDiscussion{CommentsURL: &zeroValue} - t.GetCommentsURL() - t = &TeamDiscussion{} - t.GetCommentsURL() - t = nil - t.GetCommentsURL() + var zeroValue int64 + h := &HostedRunner{ID: &zeroValue} + h.GetID() + h = &HostedRunner{} + h.GetID() + h = nil + h.GetID() } -func TestTeamDiscussion_GetCreatedAt(tt *testing.T) { +func TestHostedRunner_GetImageDetails(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - t := &TeamDiscussion{CreatedAt: &zeroValue} - t.GetCreatedAt() - t = &TeamDiscussion{} - t.GetCreatedAt() - t = nil - t.GetCreatedAt() + h := &HostedRunner{} + h.GetImageDetails() + h = nil + h.GetImageDetails() } -func TestTeamDiscussion_GetHTMLURL(tt *testing.T) { +func TestHostedRunner_GetLastActiveOn(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TeamDiscussion{HTMLURL: &zeroValue} - t.GetHTMLURL() - t = &TeamDiscussion{} - t.GetHTMLURL() - t = nil - t.GetHTMLURL() + var zeroValue Timestamp + h := &HostedRunner{LastActiveOn: &zeroValue} + h.GetLastActiveOn() + h = &HostedRunner{} + h.GetLastActiveOn() + h = nil + h.GetLastActiveOn() } -func TestTeamDiscussion_GetLastEditedAt(tt *testing.T) { +func TestHostedRunner_GetMachineSizeDetails(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - t := &TeamDiscussion{LastEditedAt: &zeroValue} - t.GetLastEditedAt() - t = &TeamDiscussion{} - t.GetLastEditedAt() - t = nil - t.GetLastEditedAt() + h := &HostedRunner{} + h.GetMachineSizeDetails() + h = nil + h.GetMachineSizeDetails() } -func TestTeamDiscussion_GetNodeID(tt *testing.T) { +func TestHostedRunner_GetMaximumRunners(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TeamDiscussion{NodeID: &zeroValue} - t.GetNodeID() - t = &TeamDiscussion{} - t.GetNodeID() - t = nil - t.GetNodeID() + var zeroValue int64 + h := &HostedRunner{MaximumRunners: &zeroValue} + h.GetMaximumRunners() + h = &HostedRunner{} + h.GetMaximumRunners() + h = nil + h.GetMaximumRunners() } -func TestTeamDiscussion_GetNumber(tt *testing.T) { +func TestHostedRunner_GetName(tt *testing.T) { tt.Parallel() - var zeroValue int - t := &TeamDiscussion{Number: &zeroValue} - t.GetNumber() - t = &TeamDiscussion{} - t.GetNumber() - t = nil - t.GetNumber() + var zeroValue string + h := &HostedRunner{Name: &zeroValue} + h.GetName() + h = &HostedRunner{} + h.GetName() + h = nil + h.GetName() } -func TestTeamDiscussion_GetPinned(tt *testing.T) { +func TestHostedRunner_GetPlatform(tt *testing.T) { tt.Parallel() - var zeroValue bool - t := &TeamDiscussion{Pinned: &zeroValue} - t.GetPinned() - t = &TeamDiscussion{} - t.GetPinned() - t = nil - t.GetPinned() + var zeroValue string + h := &HostedRunner{Platform: &zeroValue} + h.GetPlatform() + h = &HostedRunner{} + h.GetPlatform() + h = nil + h.GetPlatform() } -func TestTeamDiscussion_GetPrivate(tt *testing.T) { +func TestHostedRunner_GetPublicIPEnabled(tt *testing.T) { tt.Parallel() var zeroValue bool - t := &TeamDiscussion{Private: &zeroValue} - t.GetPrivate() - t = &TeamDiscussion{} - t.GetPrivate() - t = nil - t.GetPrivate() + h := &HostedRunner{PublicIPEnabled: &zeroValue} + h.GetPublicIPEnabled() + h = &HostedRunner{} + h.GetPublicIPEnabled() + h = nil + h.GetPublicIPEnabled() } -func TestTeamDiscussion_GetReactions(tt *testing.T) { +func TestHostedRunner_GetPublicIPs(tt *testing.T) { tt.Parallel() - t := &TeamDiscussion{} - t.GetReactions() - t = nil - t.GetReactions() + zeroValue := []*HostedRunnerPublicIP{} + h := &HostedRunner{PublicIPs: zeroValue} + h.GetPublicIPs() + h = &HostedRunner{} + h.GetPublicIPs() + h = nil + h.GetPublicIPs() } -func TestTeamDiscussion_GetTeamURL(tt *testing.T) { +func TestHostedRunner_GetRunnerGroupID(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TeamDiscussion{TeamURL: &zeroValue} - t.GetTeamURL() - t = &TeamDiscussion{} - t.GetTeamURL() - t = nil - t.GetTeamURL() + var zeroValue int64 + h := &HostedRunner{RunnerGroupID: &zeroValue} + h.GetRunnerGroupID() + h = &HostedRunner{} + h.GetRunnerGroupID() + h = nil + h.GetRunnerGroupID() } -func TestTeamDiscussion_GetTitle(tt *testing.T) { +func TestHostedRunner_GetStatus(tt *testing.T) { tt.Parallel() var zeroValue string - t := &TeamDiscussion{Title: &zeroValue} - t.GetTitle() - t = &TeamDiscussion{} - t.GetTitle() - t = nil - t.GetTitle() -} - -func TestTeamDiscussion_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - t := &TeamDiscussion{UpdatedAt: &zeroValue} - t.GetUpdatedAt() - t = &TeamDiscussion{} - t.GetUpdatedAt() - t = nil - t.GetUpdatedAt() + h := &HostedRunner{Status: &zeroValue} + h.GetStatus() + h = &HostedRunner{} + h.GetStatus() + h = nil + h.GetStatus() } -func TestTeamDiscussion_GetURL(tt *testing.T) { +func TestHostedRunnerCustomImage_GetID(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TeamDiscussion{URL: &zeroValue} - t.GetURL() - t = &TeamDiscussion{} - t.GetURL() - t = nil - t.GetURL() + h := &HostedRunnerCustomImage{} + h.GetID() + h = nil + h.GetID() } -func TestTeamEvent_GetAction(tt *testing.T) { +func TestHostedRunnerCustomImage_GetLatestVersion(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TeamEvent{Action: &zeroValue} - t.GetAction() - t = &TeamEvent{} - t.GetAction() - t = nil - t.GetAction() + h := &HostedRunnerCustomImage{} + h.GetLatestVersion() + h = nil + h.GetLatestVersion() } -func TestTeamEvent_GetChanges(tt *testing.T) { +func TestHostedRunnerCustomImage_GetName(tt *testing.T) { tt.Parallel() - t := &TeamEvent{} - t.GetChanges() - t = nil - t.GetChanges() + h := &HostedRunnerCustomImage{} + h.GetName() + h = nil + h.GetName() } -func TestTeamEvent_GetInstallation(tt *testing.T) { +func TestHostedRunnerCustomImage_GetPlatform(tt *testing.T) { tt.Parallel() - t := &TeamEvent{} - t.GetInstallation() - t = nil - t.GetInstallation() + h := &HostedRunnerCustomImage{} + h.GetPlatform() + h = nil + h.GetPlatform() } -func TestTeamEvent_GetOrg(tt *testing.T) { +func TestHostedRunnerCustomImage_GetSource(tt *testing.T) { tt.Parallel() - t := &TeamEvent{} - t.GetOrg() - t = nil - t.GetOrg() + h := &HostedRunnerCustomImage{} + h.GetSource() + h = nil + h.GetSource() } -func TestTeamEvent_GetRepo(tt *testing.T) { +func TestHostedRunnerCustomImage_GetState(tt *testing.T) { tt.Parallel() - t := &TeamEvent{} - t.GetRepo() - t = nil - t.GetRepo() + h := &HostedRunnerCustomImage{} + h.GetState() + h = nil + h.GetState() } -func TestTeamEvent_GetSender(tt *testing.T) { +func TestHostedRunnerCustomImage_GetTotalVersionsSize(tt *testing.T) { tt.Parallel() - t := &TeamEvent{} - t.GetSender() - t = nil - t.GetSender() + h := &HostedRunnerCustomImage{} + h.GetTotalVersionsSize() + h = nil + h.GetTotalVersionsSize() } -func TestTeamEvent_GetTeam(tt *testing.T) { +func TestHostedRunnerCustomImage_GetVersionsCount(tt *testing.T) { tt.Parallel() - t := &TeamEvent{} - t.GetTeam() - t = nil - t.GetTeam() + h := &HostedRunnerCustomImage{} + h.GetVersionsCount() + h = nil + h.GetVersionsCount() } -func TestTeamLDAPMapping_GetDescription(tt *testing.T) { +func TestHostedRunnerCustomImages_GetImages(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TeamLDAPMapping{Description: &zeroValue} - t.GetDescription() - t = &TeamLDAPMapping{} - t.GetDescription() - t = nil - t.GetDescription() + zeroValue := []*HostedRunnerCustomImage{} + h := &HostedRunnerCustomImages{Images: zeroValue} + h.GetImages() + h = &HostedRunnerCustomImages{} + h.GetImages() + h = nil + h.GetImages() } -func TestTeamLDAPMapping_GetID(tt *testing.T) { +func TestHostedRunnerCustomImages_GetTotalCount(tt *testing.T) { tt.Parallel() - var zeroValue int64 - t := &TeamLDAPMapping{ID: &zeroValue} - t.GetID() - t = &TeamLDAPMapping{} - t.GetID() - t = nil - t.GetID() + h := &HostedRunnerCustomImages{} + h.GetTotalCount() + h = nil + h.GetTotalCount() } -func TestTeamLDAPMapping_GetLDAPDN(tt *testing.T) { +func TestHostedRunnerCustomImageVersion_GetCreatedOn(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TeamLDAPMapping{LDAPDN: &zeroValue} - t.GetLDAPDN() - t = &TeamLDAPMapping{} - t.GetLDAPDN() - t = nil - t.GetLDAPDN() + h := &HostedRunnerCustomImageVersion{} + h.GetCreatedOn() + h = nil + h.GetCreatedOn() } -func TestTeamLDAPMapping_GetMembersURL(tt *testing.T) { +func TestHostedRunnerCustomImageVersion_GetSizeGB(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TeamLDAPMapping{MembersURL: &zeroValue} - t.GetMembersURL() - t = &TeamLDAPMapping{} - t.GetMembersURL() - t = nil - t.GetMembersURL() + h := &HostedRunnerCustomImageVersion{} + h.GetSizeGB() + h = nil + h.GetSizeGB() } -func TestTeamLDAPMapping_GetName(tt *testing.T) { +func TestHostedRunnerCustomImageVersion_GetState(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TeamLDAPMapping{Name: &zeroValue} - t.GetName() - t = &TeamLDAPMapping{} - t.GetName() - t = nil - t.GetName() + h := &HostedRunnerCustomImageVersion{} + h.GetState() + h = nil + h.GetState() } -func TestTeamLDAPMapping_GetPermission(tt *testing.T) { +func TestHostedRunnerCustomImageVersion_GetStateDetails(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TeamLDAPMapping{Permission: &zeroValue} - t.GetPermission() - t = &TeamLDAPMapping{} - t.GetPermission() - t = nil - t.GetPermission() + h := &HostedRunnerCustomImageVersion{} + h.GetStateDetails() + h = nil + h.GetStateDetails() } -func TestTeamLDAPMapping_GetPrivacy(tt *testing.T) { +func TestHostedRunnerCustomImageVersion_GetVersion(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TeamLDAPMapping{Privacy: &zeroValue} - t.GetPrivacy() - t = &TeamLDAPMapping{} - t.GetPrivacy() - t = nil - t.GetPrivacy() + h := &HostedRunnerCustomImageVersion{} + h.GetVersion() + h = nil + h.GetVersion() } -func TestTeamLDAPMapping_GetRepositoriesURL(tt *testing.T) { +func TestHostedRunnerCustomImageVersions_GetImageVersions(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TeamLDAPMapping{RepositoriesURL: &zeroValue} - t.GetRepositoriesURL() - t = &TeamLDAPMapping{} - t.GetRepositoriesURL() - t = nil - t.GetRepositoriesURL() + zeroValue := []*HostedRunnerCustomImageVersion{} + h := &HostedRunnerCustomImageVersions{ImageVersions: zeroValue} + h.GetImageVersions() + h = &HostedRunnerCustomImageVersions{} + h.GetImageVersions() + h = nil + h.GetImageVersions() } -func TestTeamLDAPMapping_GetSlug(tt *testing.T) { +func TestHostedRunnerCustomImageVersions_GetTotalCount(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TeamLDAPMapping{Slug: &zeroValue} - t.GetSlug() - t = &TeamLDAPMapping{} - t.GetSlug() - t = nil - t.GetSlug() + h := &HostedRunnerCustomImageVersions{} + h.GetTotalCount() + h = nil + h.GetTotalCount() } -func TestTeamLDAPMapping_GetURL(tt *testing.T) { +func TestHostedRunnerImage_GetID(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TeamLDAPMapping{URL: &zeroValue} - t.GetURL() - t = &TeamLDAPMapping{} - t.GetURL() - t = nil - t.GetURL() + h := &HostedRunnerImage{} + h.GetID() + h = nil + h.GetID() } -func TestTeamListTeamMembersOptions_GetRole(tt *testing.T) { +func TestHostedRunnerImage_GetSource(tt *testing.T) { tt.Parallel() - t := &TeamListTeamMembersOptions{} - t.GetRole() - t = nil - t.GetRole() + h := &HostedRunnerImage{} + h.GetSource() + h = nil + h.GetSource() } -func TestTeamName_GetFrom(tt *testing.T) { +func TestHostedRunnerImage_GetVersion(tt *testing.T) { tt.Parallel() var zeroValue string - t := &TeamName{From: &zeroValue} - t.GetFrom() - t = &TeamName{} - t.GetFrom() - t = nil - t.GetFrom() + h := &HostedRunnerImage{Version: &zeroValue} + h.GetVersion() + h = &HostedRunnerImage{} + h.GetVersion() + h = nil + h.GetVersion() } -func TestTeamPermissions_GetFrom(tt *testing.T) { +func TestHostedRunnerImageDetail_GetDisplayName(tt *testing.T) { tt.Parallel() - t := &TeamPermissions{} - t.GetFrom() - t = nil - t.GetFrom() + var zeroValue string + h := &HostedRunnerImageDetail{DisplayName: &zeroValue} + h.GetDisplayName() + h = &HostedRunnerImageDetail{} + h.GetDisplayName() + h = nil + h.GetDisplayName() } -func TestTeamPermissionsFrom_GetAdmin(tt *testing.T) { +func TestHostedRunnerImageDetail_GetID(tt *testing.T) { tt.Parallel() - var zeroValue bool - t := &TeamPermissionsFrom{Admin: &zeroValue} - t.GetAdmin() - t = &TeamPermissionsFrom{} - t.GetAdmin() - t = nil - t.GetAdmin() + var zeroValue string + h := &HostedRunnerImageDetail{ID: &zeroValue} + h.GetID() + h = &HostedRunnerImageDetail{} + h.GetID() + h = nil + h.GetID() } -func TestTeamPermissionsFrom_GetPull(tt *testing.T) { +func TestHostedRunnerImageDetail_GetSizeGB(tt *testing.T) { tt.Parallel() - var zeroValue bool - t := &TeamPermissionsFrom{Pull: &zeroValue} - t.GetPull() - t = &TeamPermissionsFrom{} - t.GetPull() - t = nil - t.GetPull() + var zeroValue int64 + h := &HostedRunnerImageDetail{SizeGB: &zeroValue} + h.GetSizeGB() + h = &HostedRunnerImageDetail{} + h.GetSizeGB() + h = nil + h.GetSizeGB() } -func TestTeamPermissionsFrom_GetPush(tt *testing.T) { +func TestHostedRunnerImageDetail_GetSource(tt *testing.T) { tt.Parallel() - var zeroValue bool - t := &TeamPermissionsFrom{Push: &zeroValue} - t.GetPush() - t = &TeamPermissionsFrom{} - t.GetPush() - t = nil - t.GetPush() + var zeroValue string + h := &HostedRunnerImageDetail{Source: &zeroValue} + h.GetSource() + h = &HostedRunnerImageDetail{} + h.GetSource() + h = nil + h.GetSource() } -func TestTeamPrivacy_GetFrom(tt *testing.T) { +func TestHostedRunnerImageDetail_GetVersion(tt *testing.T) { tt.Parallel() var zeroValue string - t := &TeamPrivacy{From: &zeroValue} - t.GetFrom() - t = &TeamPrivacy{} - t.GetFrom() - t = nil - t.GetFrom() + h := &HostedRunnerImageDetail{Version: &zeroValue} + h.GetVersion() + h = &HostedRunnerImageDetail{} + h.GetVersion() + h = nil + h.GetVersion() } -func TestTeamProjectOptions_GetPermission(tt *testing.T) { +func TestHostedRunnerImages_GetImages(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TeamProjectOptions{Permission: &zeroValue} - t.GetPermission() - t = &TeamProjectOptions{} - t.GetPermission() - t = nil - t.GetPermission() + zeroValue := []*HostedRunnerImageSpecs{} + h := &HostedRunnerImages{Images: zeroValue} + h.GetImages() + h = &HostedRunnerImages{} + h.GetImages() + h = nil + h.GetImages() } -func TestTeamRepository_GetPermissions(tt *testing.T) { +func TestHostedRunnerImages_GetTotalCount(tt *testing.T) { tt.Parallel() - t := &TeamRepository{} - t.GetPermissions() - t = nil - t.GetPermissions() + h := &HostedRunnerImages{} + h.GetTotalCount() + h = nil + h.GetTotalCount() } -func TestTemplateRepoRequest_GetDescription(tt *testing.T) { +func TestHostedRunnerImageSpecs_GetDisplayName(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TemplateRepoRequest{Description: &zeroValue} - t.GetDescription() - t = &TemplateRepoRequest{} - t.GetDescription() - t = nil - t.GetDescription() + h := &HostedRunnerImageSpecs{} + h.GetDisplayName() + h = nil + h.GetDisplayName() } -func TestTemplateRepoRequest_GetIncludeAllBranches(tt *testing.T) { +func TestHostedRunnerImageSpecs_GetID(tt *testing.T) { tt.Parallel() - var zeroValue bool - t := &TemplateRepoRequest{IncludeAllBranches: &zeroValue} - t.GetIncludeAllBranches() - t = &TemplateRepoRequest{} - t.GetIncludeAllBranches() - t = nil - t.GetIncludeAllBranches() + h := &HostedRunnerImageSpecs{} + h.GetID() + h = nil + h.GetID() } -func TestTemplateRepoRequest_GetName(tt *testing.T) { +func TestHostedRunnerImageSpecs_GetPlatform(tt *testing.T) { tt.Parallel() - t := &TemplateRepoRequest{} - t.GetName() - t = nil - t.GetName() + h := &HostedRunnerImageSpecs{} + h.GetPlatform() + h = nil + h.GetPlatform() } -func TestTemplateRepoRequest_GetOwner(tt *testing.T) { +func TestHostedRunnerImageSpecs_GetSizeGB(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TemplateRepoRequest{Owner: &zeroValue} - t.GetOwner() - t = &TemplateRepoRequest{} - t.GetOwner() - t = nil - t.GetOwner() + h := &HostedRunnerImageSpecs{} + h.GetSizeGB() + h = nil + h.GetSizeGB() } -func TestTemplateRepoRequest_GetPrivate(tt *testing.T) { +func TestHostedRunnerImageSpecs_GetSource(tt *testing.T) { tt.Parallel() - var zeroValue bool - t := &TemplateRepoRequest{Private: &zeroValue} - t.GetPrivate() - t = &TemplateRepoRequest{} - t.GetPrivate() - t = nil - t.GetPrivate() + h := &HostedRunnerImageSpecs{} + h.GetSource() + h = nil + h.GetSource() } -func TestTextMatch_GetFragment(tt *testing.T) { +func TestHostedRunnerMachineSpec_GetCPUCores(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TextMatch{Fragment: &zeroValue} - t.GetFragment() - t = &TextMatch{} - t.GetFragment() - t = nil - t.GetFragment() + h := &HostedRunnerMachineSpec{} + h.GetCPUCores() + h = nil + h.GetCPUCores() } -func TestTextMatch_GetMatches(tt *testing.T) { +func TestHostedRunnerMachineSpec_GetID(tt *testing.T) { tt.Parallel() - zeroValue := []*Match{} - t := &TextMatch{Matches: zeroValue} - t.GetMatches() - t = &TextMatch{} - t.GetMatches() - t = nil - t.GetMatches() + h := &HostedRunnerMachineSpec{} + h.GetID() + h = nil + h.GetID() } -func TestTextMatch_GetObjectType(tt *testing.T) { +func TestHostedRunnerMachineSpec_GetMemoryGB(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TextMatch{ObjectType: &zeroValue} - t.GetObjectType() - t = &TextMatch{} - t.GetObjectType() - t = nil - t.GetObjectType() + h := &HostedRunnerMachineSpec{} + h.GetMemoryGB() + h = nil + h.GetMemoryGB() } -func TestTextMatch_GetObjectURL(tt *testing.T) { +func TestHostedRunnerMachineSpec_GetStorageGB(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TextMatch{ObjectURL: &zeroValue} - t.GetObjectURL() - t = &TextMatch{} - t.GetObjectURL() - t = nil - t.GetObjectURL() + h := &HostedRunnerMachineSpec{} + h.GetStorageGB() + h = nil + h.GetStorageGB() } -func TestTextMatch_GetProperty(tt *testing.T) { +func TestHostedRunnerMachineSpecs_GetMachineSpecs(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TextMatch{Property: &zeroValue} - t.GetProperty() - t = &TextMatch{} - t.GetProperty() - t = nil - t.GetProperty() + zeroValue := []*HostedRunnerMachineSpec{} + h := &HostedRunnerMachineSpecs{MachineSpecs: zeroValue} + h.GetMachineSpecs() + h = &HostedRunnerMachineSpecs{} + h.GetMachineSpecs() + h = nil + h.GetMachineSpecs() } -func TestTimeline_GetActor(tt *testing.T) { +func TestHostedRunnerMachineSpecs_GetTotalCount(tt *testing.T) { tt.Parallel() - t := &Timeline{} - t.GetActor() - t = nil - t.GetActor() + h := &HostedRunnerMachineSpecs{} + h.GetTotalCount() + h = nil + h.GetTotalCount() } -func TestTimeline_GetAssignee(tt *testing.T) { +func TestHostedRunnerPlatforms_GetPlatforms(tt *testing.T) { tt.Parallel() - t := &Timeline{} - t.GetAssignee() - t = nil - t.GetAssignee() + zeroValue := []string{} + h := &HostedRunnerPlatforms{Platforms: zeroValue} + h.GetPlatforms() + h = &HostedRunnerPlatforms{} + h.GetPlatforms() + h = nil + h.GetPlatforms() } -func TestTimeline_GetAssigner(tt *testing.T) { +func TestHostedRunnerPlatforms_GetTotalCount(tt *testing.T) { tt.Parallel() - t := &Timeline{} - t.GetAssigner() - t = nil - t.GetAssigner() + h := &HostedRunnerPlatforms{} + h.GetTotalCount() + h = nil + h.GetTotalCount() } -func TestTimeline_GetAuthor(tt *testing.T) { +func TestHostedRunnerPublicIP_GetEnabled(tt *testing.T) { tt.Parallel() - t := &Timeline{} - t.GetAuthor() - t = nil - t.GetAuthor() + h := &HostedRunnerPublicIP{} + h.GetEnabled() + h = nil + h.GetEnabled() } -func TestTimeline_GetBody(tt *testing.T) { +func TestHostedRunnerPublicIP_GetLength(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &Timeline{Body: &zeroValue} - t.GetBody() - t = &Timeline{} - t.GetBody() - t = nil - t.GetBody() + h := &HostedRunnerPublicIP{} + h.GetLength() + h = nil + h.GetLength() } -func TestTimeline_GetCommitID(tt *testing.T) { +func TestHostedRunnerPublicIP_GetPrefix(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &Timeline{CommitID: &zeroValue} - t.GetCommitID() - t = &Timeline{} - t.GetCommitID() - t = nil - t.GetCommitID() + h := &HostedRunnerPublicIP{} + h.GetPrefix() + h = nil + h.GetPrefix() } -func TestTimeline_GetCommitter(tt *testing.T) { +func TestHostedRunnerPublicIPLimits_GetPublicIPs(tt *testing.T) { tt.Parallel() - t := &Timeline{} - t.GetCommitter() - t = nil - t.GetCommitter() + h := &HostedRunnerPublicIPLimits{} + h.GetPublicIPs() + h = nil + h.GetPublicIPs() } -func TestTimeline_GetCommitURL(tt *testing.T) { +func TestHostedRunners_GetRunners(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &Timeline{CommitURL: &zeroValue} - t.GetCommitURL() - t = &Timeline{} - t.GetCommitURL() - t = nil - t.GetCommitURL() + zeroValue := []*HostedRunner{} + h := &HostedRunners{Runners: zeroValue} + h.GetRunners() + h = &HostedRunners{} + h.GetRunners() + h = nil + h.GetRunners() } -func TestTimeline_GetCreatedAt(tt *testing.T) { +func TestHostedRunners_GetTotalCount(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - t := &Timeline{CreatedAt: &zeroValue} - t.GetCreatedAt() - t = &Timeline{} - t.GetCreatedAt() - t = nil - t.GetCreatedAt() + h := &HostedRunners{} + h.GetTotalCount() + h = nil + h.GetTotalCount() } -func TestTimeline_GetEvent(tt *testing.T) { +func TestHovercard_GetContexts(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &Timeline{Event: &zeroValue} - t.GetEvent() - t = &Timeline{} - t.GetEvent() - t = nil - t.GetEvent() + zeroValue := []*UserContext{} + h := &Hovercard{Contexts: zeroValue} + h.GetContexts() + h = &Hovercard{} + h.GetContexts() + h = nil + h.GetContexts() } -func TestTimeline_GetID(tt *testing.T) { +func TestHovercardOptions_GetSubjectID(tt *testing.T) { tt.Parallel() - var zeroValue int64 - t := &Timeline{ID: &zeroValue} - t.GetID() - t = &Timeline{} - t.GetID() - t = nil - t.GetID() + h := &HovercardOptions{} + h.GetSubjectID() + h = nil + h.GetSubjectID() } -func TestTimeline_GetLabel(tt *testing.T) { +func TestHovercardOptions_GetSubjectType(tt *testing.T) { tt.Parallel() - t := &Timeline{} - t.GetLabel() - t = nil - t.GetLabel() + h := &HovercardOptions{} + h.GetSubjectType() + h = nil + h.GetSubjectType() } -func TestTimeline_GetMessage(tt *testing.T) { +func TestIDPGroup_GetGroupDescription(tt *testing.T) { tt.Parallel() var zeroValue string - t := &Timeline{Message: &zeroValue} - t.GetMessage() - t = &Timeline{} - t.GetMessage() - t = nil - t.GetMessage() -} - -func TestTimeline_GetMilestone(tt *testing.T) { - tt.Parallel() - t := &Timeline{} - t.GetMilestone() - t = nil - t.GetMilestone() + i := &IDPGroup{GroupDescription: &zeroValue} + i.GetGroupDescription() + i = &IDPGroup{} + i.GetGroupDescription() + i = nil + i.GetGroupDescription() } -func TestTimeline_GetParents(tt *testing.T) { +func TestIDPGroup_GetGroupID(tt *testing.T) { tt.Parallel() - zeroValue := []*Commit{} - t := &Timeline{Parents: zeroValue} - t.GetParents() - t = &Timeline{} - t.GetParents() - t = nil - t.GetParents() + var zeroValue string + i := &IDPGroup{GroupID: &zeroValue} + i.GetGroupID() + i = &IDPGroup{} + i.GetGroupID() + i = nil + i.GetGroupID() } -func TestTimeline_GetPerformedViaGithubApp(tt *testing.T) { +func TestIDPGroup_GetGroupName(tt *testing.T) { tt.Parallel() - t := &Timeline{} - t.GetPerformedViaGithubApp() - t = nil - t.GetPerformedViaGithubApp() + var zeroValue string + i := &IDPGroup{GroupName: &zeroValue} + i.GetGroupName() + i = &IDPGroup{} + i.GetGroupName() + i = nil + i.GetGroupName() } -func TestTimeline_GetRename(tt *testing.T) { +func TestIDPGroupList_GetGroups(tt *testing.T) { tt.Parallel() - t := &Timeline{} - t.GetRename() - t = nil - t.GetRename() + zeroValue := []*IDPGroup{} + i := &IDPGroupList{Groups: zeroValue} + i.GetGroups() + i = &IDPGroupList{} + i.GetGroups() + i = nil + i.GetGroups() } -func TestTimeline_GetRequestedTeam(tt *testing.T) { +func TestImmutableReleasePolicy_GetEnforcedRepositories(tt *testing.T) { tt.Parallel() - t := &Timeline{} - t.GetRequestedTeam() - t = nil - t.GetRequestedTeam() + var zeroValue string + i := &ImmutableReleasePolicy{EnforcedRepositories: &zeroValue} + i.GetEnforcedRepositories() + i = &ImmutableReleasePolicy{} + i.GetEnforcedRepositories() + i = nil + i.GetEnforcedRepositories() } -func TestTimeline_GetRequester(tt *testing.T) { +func TestImmutableReleasePolicy_GetSelectedRepositoryIDs(tt *testing.T) { tt.Parallel() - t := &Timeline{} - t.GetRequester() - t = nil - t.GetRequester() + zeroValue := []int64{} + i := &ImmutableReleasePolicy{SelectedRepositoryIDs: zeroValue} + i.GetSelectedRepositoryIDs() + i = &ImmutableReleasePolicy{} + i.GetSelectedRepositoryIDs() + i = nil + i.GetSelectedRepositoryIDs() } -func TestTimeline_GetReviewer(tt *testing.T) { +func TestImmutableReleaseSettings_GetEnforcedRepositories(tt *testing.T) { tt.Parallel() - t := &Timeline{} - t.GetReviewer() - t = nil - t.GetReviewer() + var zeroValue string + i := &ImmutableReleaseSettings{EnforcedRepositories: &zeroValue} + i.GetEnforcedRepositories() + i = &ImmutableReleaseSettings{} + i.GetEnforcedRepositories() + i = nil + i.GetEnforcedRepositories() } -func TestTimeline_GetSHA(tt *testing.T) { +func TestImmutableReleaseSettings_GetSelectedRepositoriesURL(tt *testing.T) { tt.Parallel() var zeroValue string - t := &Timeline{SHA: &zeroValue} - t.GetSHA() - t = &Timeline{} - t.GetSHA() - t = nil - t.GetSHA() + i := &ImmutableReleaseSettings{SelectedRepositoriesURL: &zeroValue} + i.GetSelectedRepositoriesURL() + i = &ImmutableReleaseSettings{} + i.GetSelectedRepositoriesURL() + i = nil + i.GetSelectedRepositoriesURL() } -func TestTimeline_GetSource(tt *testing.T) { +func TestImport_GetAuthorsCount(tt *testing.T) { tt.Parallel() - t := &Timeline{} - t.GetSource() - t = nil - t.GetSource() + var zeroValue int + i := &Import{AuthorsCount: &zeroValue} + i.GetAuthorsCount() + i = &Import{} + i.GetAuthorsCount() + i = nil + i.GetAuthorsCount() } -func TestTimeline_GetState(tt *testing.T) { +func TestImport_GetAuthorsURL(tt *testing.T) { tt.Parallel() var zeroValue string - t := &Timeline{State: &zeroValue} - t.GetState() - t = &Timeline{} - t.GetState() - t = nil - t.GetState() + i := &Import{AuthorsURL: &zeroValue} + i.GetAuthorsURL() + i = &Import{} + i.GetAuthorsURL() + i = nil + i.GetAuthorsURL() } -func TestTimeline_GetSubmittedAt(tt *testing.T) { +func TestImport_GetCommitCount(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - t := &Timeline{SubmittedAt: &zeroValue} - t.GetSubmittedAt() - t = &Timeline{} - t.GetSubmittedAt() - t = nil - t.GetSubmittedAt() + var zeroValue int + i := &Import{CommitCount: &zeroValue} + i.GetCommitCount() + i = &Import{} + i.GetCommitCount() + i = nil + i.GetCommitCount() } -func TestTimeline_GetURL(tt *testing.T) { +func TestImport_GetFailedStep(tt *testing.T) { tt.Parallel() var zeroValue string - t := &Timeline{URL: &zeroValue} - t.GetURL() - t = &Timeline{} - t.GetURL() - t = nil - t.GetURL() + i := &Import{FailedStep: &zeroValue} + i.GetFailedStep() + i = &Import{} + i.GetFailedStep() + i = nil + i.GetFailedStep() } -func TestTimeline_GetUser(tt *testing.T) { +func TestImport_GetHasLargeFiles(tt *testing.T) { tt.Parallel() - t := &Timeline{} - t.GetUser() - t = nil - t.GetUser() + var zeroValue bool + i := &Import{HasLargeFiles: &zeroValue} + i.GetHasLargeFiles() + i = &Import{} + i.GetHasLargeFiles() + i = nil + i.GetHasLargeFiles() } -func TestTool_GetGUID(tt *testing.T) { +func TestImport_GetHTMLURL(tt *testing.T) { tt.Parallel() var zeroValue string - t := &Tool{GUID: &zeroValue} - t.GetGUID() - t = &Tool{} - t.GetGUID() - t = nil - t.GetGUID() + i := &Import{HTMLURL: &zeroValue} + i.GetHTMLURL() + i = &Import{} + i.GetHTMLURL() + i = nil + i.GetHTMLURL() } -func TestTool_GetName(tt *testing.T) { +func TestImport_GetHumanName(tt *testing.T) { tt.Parallel() var zeroValue string - t := &Tool{Name: &zeroValue} - t.GetName() - t = &Tool{} - t.GetName() - t = nil - t.GetName() + i := &Import{HumanName: &zeroValue} + i.GetHumanName() + i = &Import{} + i.GetHumanName() + i = nil + i.GetHumanName() } -func TestTool_GetVersion(tt *testing.T) { +func TestImport_GetLargeFilesCount(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &Tool{Version: &zeroValue} - t.GetVersion() - t = &Tool{} - t.GetVersion() - t = nil - t.GetVersion() + var zeroValue int + i := &Import{LargeFilesCount: &zeroValue} + i.GetLargeFilesCount() + i = &Import{} + i.GetLargeFilesCount() + i = nil + i.GetLargeFilesCount() } -func TestTopicResult_GetCreatedAt(tt *testing.T) { +func TestImport_GetLargeFilesSize(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - t := &TopicResult{CreatedAt: &zeroValue} - t.GetCreatedAt() - t = &TopicResult{} - t.GetCreatedAt() - t = nil - t.GetCreatedAt() + var zeroValue int + i := &Import{LargeFilesSize: &zeroValue} + i.GetLargeFilesSize() + i = &Import{} + i.GetLargeFilesSize() + i = nil + i.GetLargeFilesSize() } -func TestTopicResult_GetCreatedBy(tt *testing.T) { +func TestImport_GetMessage(tt *testing.T) { tt.Parallel() var zeroValue string - t := &TopicResult{CreatedBy: &zeroValue} - t.GetCreatedBy() - t = &TopicResult{} - t.GetCreatedBy() - t = nil - t.GetCreatedBy() -} - -func TestTopicResult_GetCurated(tt *testing.T) { - tt.Parallel() - var zeroValue bool - t := &TopicResult{Curated: &zeroValue} - t.GetCurated() - t = &TopicResult{} - t.GetCurated() - t = nil - t.GetCurated() + i := &Import{Message: &zeroValue} + i.GetMessage() + i = &Import{} + i.GetMessage() + i = nil + i.GetMessage() } -func TestTopicResult_GetDescription(tt *testing.T) { +func TestImport_GetPercent(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TopicResult{Description: &zeroValue} - t.GetDescription() - t = &TopicResult{} - t.GetDescription() - t = nil - t.GetDescription() + var zeroValue int + i := &Import{Percent: &zeroValue} + i.GetPercent() + i = &Import{} + i.GetPercent() + i = nil + i.GetPercent() } -func TestTopicResult_GetDisplayName(tt *testing.T) { +func TestImport_GetProjectChoices(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TopicResult{DisplayName: &zeroValue} - t.GetDisplayName() - t = &TopicResult{} - t.GetDisplayName() - t = nil - t.GetDisplayName() + zeroValue := []*Import{} + i := &Import{ProjectChoices: zeroValue} + i.GetProjectChoices() + i = &Import{} + i.GetProjectChoices() + i = nil + i.GetProjectChoices() } -func TestTopicResult_GetFeatured(tt *testing.T) { +func TestImport_GetPushPercent(tt *testing.T) { tt.Parallel() - var zeroValue bool - t := &TopicResult{Featured: &zeroValue} - t.GetFeatured() - t = &TopicResult{} - t.GetFeatured() - t = nil - t.GetFeatured() + var zeroValue int + i := &Import{PushPercent: &zeroValue} + i.GetPushPercent() + i = &Import{} + i.GetPushPercent() + i = nil + i.GetPushPercent() } -func TestTopicResult_GetName(tt *testing.T) { +func TestImport_GetRepositoryURL(tt *testing.T) { tt.Parallel() var zeroValue string - t := &TopicResult{Name: &zeroValue} - t.GetName() - t = &TopicResult{} - t.GetName() - t = nil - t.GetName() + i := &Import{RepositoryURL: &zeroValue} + i.GetRepositoryURL() + i = &Import{} + i.GetRepositoryURL() + i = nil + i.GetRepositoryURL() } -func TestTopicResult_GetScore(tt *testing.T) { +func TestImport_GetStatus(tt *testing.T) { tt.Parallel() - var zeroValue float64 - t := &TopicResult{Score: &zeroValue} - t.GetScore() - t = &TopicResult{} - t.GetScore() - t = nil - t.GetScore() + var zeroValue string + i := &Import{Status: &zeroValue} + i.GetStatus() + i = &Import{} + i.GetStatus() + i = nil + i.GetStatus() } -func TestTopicResult_GetShortDescription(tt *testing.T) { +func TestImport_GetStatusText(tt *testing.T) { tt.Parallel() var zeroValue string - t := &TopicResult{ShortDescription: &zeroValue} - t.GetShortDescription() - t = &TopicResult{} - t.GetShortDescription() - t = nil - t.GetShortDescription() + i := &Import{StatusText: &zeroValue} + i.GetStatusText() + i = &Import{} + i.GetStatusText() + i = nil + i.GetStatusText() } -func TestTopicResult_GetUpdatedAt(tt *testing.T) { +func TestImport_GetTFVCProject(tt *testing.T) { tt.Parallel() var zeroValue string - t := &TopicResult{UpdatedAt: &zeroValue} - t.GetUpdatedAt() - t = &TopicResult{} - t.GetUpdatedAt() - t = nil - t.GetUpdatedAt() + i := &Import{TFVCProject: &zeroValue} + i.GetTFVCProject() + i = &Import{} + i.GetTFVCProject() + i = nil + i.GetTFVCProject() } -func TestTopicsSearchResult_GetIncompleteResults(tt *testing.T) { +func TestImport_GetURL(tt *testing.T) { tt.Parallel() - var zeroValue bool - t := &TopicsSearchResult{IncompleteResults: &zeroValue} - t.GetIncompleteResults() - t = &TopicsSearchResult{} - t.GetIncompleteResults() - t = nil - t.GetIncompleteResults() + var zeroValue string + i := &Import{URL: &zeroValue} + i.GetURL() + i = &Import{} + i.GetURL() + i = nil + i.GetURL() } -func TestTopicsSearchResult_GetTopics(tt *testing.T) { +func TestImport_GetUseLFS(tt *testing.T) { tt.Parallel() - zeroValue := []*TopicResult{} - t := &TopicsSearchResult{Topics: zeroValue} - t.GetTopics() - t = &TopicsSearchResult{} - t.GetTopics() - t = nil - t.GetTopics() + var zeroValue string + i := &Import{UseLFS: &zeroValue} + i.GetUseLFS() + i = &Import{} + i.GetUseLFS() + i = nil + i.GetUseLFS() } -func TestTopicsSearchResult_GetTotal(tt *testing.T) { +func TestImport_GetVCS(tt *testing.T) { tt.Parallel() - var zeroValue int - t := &TopicsSearchResult{Total: &zeroValue} - t.GetTotal() - t = &TopicsSearchResult{} - t.GetTotal() - t = nil - t.GetTotal() + var zeroValue string + i := &Import{VCS: &zeroValue} + i.GetVCS() + i = &Import{} + i.GetVCS() + i = nil + i.GetVCS() } -func TestTotalCacheUsage_GetTotalActiveCachesCount(tt *testing.T) { +func TestImport_GetVCSPassword(tt *testing.T) { tt.Parallel() - t := &TotalCacheUsage{} - t.GetTotalActiveCachesCount() - t = nil - t.GetTotalActiveCachesCount() + var zeroValue string + i := &Import{VCSPassword: &zeroValue} + i.GetVCSPassword() + i = &Import{} + i.GetVCSPassword() + i = nil + i.GetVCSPassword() } -func TestTotalCacheUsage_GetTotalActiveCachesUsageSizeInBytes(tt *testing.T) { +func TestImport_GetVCSURL(tt *testing.T) { tt.Parallel() - t := &TotalCacheUsage{} - t.GetTotalActiveCachesUsageSizeInBytes() - t = nil - t.GetTotalActiveCachesUsageSizeInBytes() + var zeroValue string + i := &Import{VCSURL: &zeroValue} + i.GetVCSURL() + i = &Import{} + i.GetVCSURL() + i = nil + i.GetVCSURL() } -func TestTrafficBreakdownOptions_GetPer(tt *testing.T) { +func TestImport_GetVCSUsername(tt *testing.T) { tt.Parallel() - t := &TrafficBreakdownOptions{} - t.GetPer() - t = nil - t.GetPer() + var zeroValue string + i := &Import{VCSUsername: &zeroValue} + i.GetVCSUsername() + i = &Import{} + i.GetVCSUsername() + i = nil + i.GetVCSUsername() } -func TestTrafficClones_GetClones(tt *testing.T) { +func TestInitialConfigOptions_GetLicense(tt *testing.T) { tt.Parallel() - zeroValue := []*TrafficData{} - t := &TrafficClones{Clones: zeroValue} - t.GetClones() - t = &TrafficClones{} - t.GetClones() - t = nil - t.GetClones() + i := &InitialConfigOptions{} + i.GetLicense() + i = nil + i.GetLicense() } -func TestTrafficClones_GetCount(tt *testing.T) { +func TestInitialConfigOptions_GetPassword(tt *testing.T) { tt.Parallel() - var zeroValue int - t := &TrafficClones{Count: &zeroValue} - t.GetCount() - t = &TrafficClones{} - t.GetCount() - t = nil - t.GetCount() + i := &InitialConfigOptions{} + i.GetPassword() + i = nil + i.GetPassword() } -func TestTrafficClones_GetUniques(tt *testing.T) { +func TestInstallableOrganization_GetAccessibleRepositoriesURL(tt *testing.T) { tt.Parallel() - var zeroValue int - t := &TrafficClones{Uniques: &zeroValue} - t.GetUniques() - t = &TrafficClones{} - t.GetUniques() - t = nil - t.GetUniques() + var zeroValue string + i := &InstallableOrganization{AccessibleRepositoriesURL: &zeroValue} + i.GetAccessibleRepositoriesURL() + i = &InstallableOrganization{} + i.GetAccessibleRepositoriesURL() + i = nil + i.GetAccessibleRepositoriesURL() } -func TestTrafficData_GetCount(tt *testing.T) { +func TestInstallableOrganization_GetID(tt *testing.T) { tt.Parallel() - var zeroValue int - t := &TrafficData{Count: &zeroValue} - t.GetCount() - t = &TrafficData{} - t.GetCount() - t = nil - t.GetCount() + i := &InstallableOrganization{} + i.GetID() + i = nil + i.GetID() } -func TestTrafficData_GetTimestamp(tt *testing.T) { +func TestInstallableOrganization_GetLogin(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - t := &TrafficData{Timestamp: &zeroValue} - t.GetTimestamp() - t = &TrafficData{} - t.GetTimestamp() - t = nil - t.GetTimestamp() + i := &InstallableOrganization{} + i.GetLogin() + i = nil + i.GetLogin() } -func TestTrafficData_GetUniques(tt *testing.T) { +func TestInstallAppRequest_GetClientID(tt *testing.T) { tt.Parallel() - var zeroValue int - t := &TrafficData{Uniques: &zeroValue} - t.GetUniques() - t = &TrafficData{} - t.GetUniques() - t = nil - t.GetUniques() + i := &InstallAppRequest{} + i.GetClientID() + i = nil + i.GetClientID() } -func TestTrafficPath_GetCount(tt *testing.T) { +func TestInstallAppRequest_GetRepositories(tt *testing.T) { tt.Parallel() - var zeroValue int - t := &TrafficPath{Count: &zeroValue} - t.GetCount() - t = &TrafficPath{} - t.GetCount() - t = nil - t.GetCount() + zeroValue := []string{} + i := &InstallAppRequest{Repositories: zeroValue} + i.GetRepositories() + i = &InstallAppRequest{} + i.GetRepositories() + i = nil + i.GetRepositories() } -func TestTrafficPath_GetPath(tt *testing.T) { +func TestInstallAppRequest_GetRepositorySelection(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TrafficPath{Path: &zeroValue} - t.GetPath() - t = &TrafficPath{} - t.GetPath() - t = nil - t.GetPath() + i := &InstallAppRequest{} + i.GetRepositorySelection() + i = nil + i.GetRepositorySelection() } -func TestTrafficPath_GetTitle(tt *testing.T) { +func TestInstallation_GetAccessTokensURL(tt *testing.T) { tt.Parallel() var zeroValue string - t := &TrafficPath{Title: &zeroValue} - t.GetTitle() - t = &TrafficPath{} - t.GetTitle() - t = nil - t.GetTitle() + i := &Installation{AccessTokensURL: &zeroValue} + i.GetAccessTokensURL() + i = &Installation{} + i.GetAccessTokensURL() + i = nil + i.GetAccessTokensURL() } -func TestTrafficPath_GetUniques(tt *testing.T) { +func TestInstallation_GetAccount(tt *testing.T) { tt.Parallel() - var zeroValue int - t := &TrafficPath{Uniques: &zeroValue} - t.GetUniques() - t = &TrafficPath{} - t.GetUniques() - t = nil - t.GetUniques() + i := &Installation{} + i.GetAccount() + i = nil + i.GetAccount() } -func TestTrafficReferrer_GetCount(tt *testing.T) { +func TestInstallation_GetAppID(tt *testing.T) { tt.Parallel() - var zeroValue int - t := &TrafficReferrer{Count: &zeroValue} - t.GetCount() - t = &TrafficReferrer{} - t.GetCount() - t = nil - t.GetCount() + var zeroValue int64 + i := &Installation{AppID: &zeroValue} + i.GetAppID() + i = &Installation{} + i.GetAppID() + i = nil + i.GetAppID() } -func TestTrafficReferrer_GetReferrer(tt *testing.T) { +func TestInstallation_GetAppSlug(tt *testing.T) { tt.Parallel() var zeroValue string - t := &TrafficReferrer{Referrer: &zeroValue} - t.GetReferrer() - t = &TrafficReferrer{} - t.GetReferrer() - t = nil - t.GetReferrer() + i := &Installation{AppSlug: &zeroValue} + i.GetAppSlug() + i = &Installation{} + i.GetAppSlug() + i = nil + i.GetAppSlug() } -func TestTrafficReferrer_GetUniques(tt *testing.T) { +func TestInstallation_GetClientID(tt *testing.T) { tt.Parallel() - var zeroValue int - t := &TrafficReferrer{Uniques: &zeroValue} - t.GetUniques() - t = &TrafficReferrer{} - t.GetUniques() - t = nil - t.GetUniques() + var zeroValue string + i := &Installation{ClientID: &zeroValue} + i.GetClientID() + i = &Installation{} + i.GetClientID() + i = nil + i.GetClientID() } -func TestTrafficViews_GetCount(tt *testing.T) { +func TestInstallation_GetCreatedAt(tt *testing.T) { tt.Parallel() - var zeroValue int - t := &TrafficViews{Count: &zeroValue} - t.GetCount() - t = &TrafficViews{} - t.GetCount() - t = nil - t.GetCount() + var zeroValue Timestamp + i := &Installation{CreatedAt: &zeroValue} + i.GetCreatedAt() + i = &Installation{} + i.GetCreatedAt() + i = nil + i.GetCreatedAt() } -func TestTrafficViews_GetUniques(tt *testing.T) { +func TestInstallation_GetEvents(tt *testing.T) { tt.Parallel() - var zeroValue int - t := &TrafficViews{Uniques: &zeroValue} - t.GetUniques() - t = &TrafficViews{} - t.GetUniques() - t = nil - t.GetUniques() + zeroValue := []string{} + i := &Installation{Events: zeroValue} + i.GetEvents() + i = &Installation{} + i.GetEvents() + i = nil + i.GetEvents() } -func TestTrafficViews_GetViews(tt *testing.T) { +func TestInstallation_GetHasMultipleSingleFiles(tt *testing.T) { tt.Parallel() - zeroValue := []*TrafficData{} - t := &TrafficViews{Views: zeroValue} - t.GetViews() - t = &TrafficViews{} - t.GetViews() - t = nil - t.GetViews() + var zeroValue bool + i := &Installation{HasMultipleSingleFiles: &zeroValue} + i.GetHasMultipleSingleFiles() + i = &Installation{} + i.GetHasMultipleSingleFiles() + i = nil + i.GetHasMultipleSingleFiles() } -func TestTransferRequest_GetNewName(tt *testing.T) { +func TestInstallation_GetHTMLURL(tt *testing.T) { tt.Parallel() var zeroValue string - t := &TransferRequest{NewName: &zeroValue} - t.GetNewName() - t = &TransferRequest{} - t.GetNewName() - t = nil - t.GetNewName() + i := &Installation{HTMLURL: &zeroValue} + i.GetHTMLURL() + i = &Installation{} + i.GetHTMLURL() + i = nil + i.GetHTMLURL() } -func TestTransferRequest_GetNewOwner(tt *testing.T) { +func TestInstallation_GetID(tt *testing.T) { tt.Parallel() - t := &TransferRequest{} - t.GetNewOwner() - t = nil - t.GetNewOwner() + var zeroValue int64 + i := &Installation{ID: &zeroValue} + i.GetID() + i = &Installation{} + i.GetID() + i = nil + i.GetID() } -func TestTransferRequest_GetTeamID(tt *testing.T) { +func TestInstallation_GetNodeID(tt *testing.T) { tt.Parallel() - zeroValue := []int64{} - t := &TransferRequest{TeamID: zeroValue} - t.GetTeamID() - t = &TransferRequest{} - t.GetTeamID() - t = nil - t.GetTeamID() + var zeroValue string + i := &Installation{NodeID: &zeroValue} + i.GetNodeID() + i = &Installation{} + i.GetNodeID() + i = nil + i.GetNodeID() } -func TestTree_GetEntries(tt *testing.T) { +func TestInstallation_GetPermissions(tt *testing.T) { tt.Parallel() - zeroValue := []*TreeEntry{} - t := &Tree{Entries: zeroValue} - t.GetEntries() - t = &Tree{} - t.GetEntries() - t = nil - t.GetEntries() + i := &Installation{} + i.GetPermissions() + i = nil + i.GetPermissions() } -func TestTree_GetSHA(tt *testing.T) { +func TestInstallation_GetRepositoriesURL(tt *testing.T) { tt.Parallel() var zeroValue string - t := &Tree{SHA: &zeroValue} - t.GetSHA() - t = &Tree{} - t.GetSHA() - t = nil - t.GetSHA() + i := &Installation{RepositoriesURL: &zeroValue} + i.GetRepositoriesURL() + i = &Installation{} + i.GetRepositoriesURL() + i = nil + i.GetRepositoriesURL() } -func TestTree_GetTruncated(tt *testing.T) { +func TestInstallation_GetRepositorySelection(tt *testing.T) { tt.Parallel() - var zeroValue bool - t := &Tree{Truncated: &zeroValue} - t.GetTruncated() - t = &Tree{} - t.GetTruncated() - t = nil - t.GetTruncated() + var zeroValue string + i := &Installation{RepositorySelection: &zeroValue} + i.GetRepositorySelection() + i = &Installation{} + i.GetRepositorySelection() + i = nil + i.GetRepositorySelection() } -func TestTreeEntry_GetContent(tt *testing.T) { +func TestInstallation_GetSingleFileName(tt *testing.T) { tt.Parallel() var zeroValue string - t := &TreeEntry{Content: &zeroValue} - t.GetContent() - t = &TreeEntry{} - t.GetContent() - t = nil - t.GetContent() + i := &Installation{SingleFileName: &zeroValue} + i.GetSingleFileName() + i = &Installation{} + i.GetSingleFileName() + i = nil + i.GetSingleFileName() } -func TestTreeEntry_GetMode(tt *testing.T) { +func TestInstallation_GetSingleFilePaths(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TreeEntry{Mode: &zeroValue} - t.GetMode() - t = &TreeEntry{} - t.GetMode() - t = nil - t.GetMode() + zeroValue := []string{} + i := &Installation{SingleFilePaths: zeroValue} + i.GetSingleFilePaths() + i = &Installation{} + i.GetSingleFilePaths() + i = nil + i.GetSingleFilePaths() } -func TestTreeEntry_GetPath(tt *testing.T) { +func TestInstallation_GetSuspendedAt(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TreeEntry{Path: &zeroValue} - t.GetPath() - t = &TreeEntry{} - t.GetPath() - t = nil - t.GetPath() + var zeroValue Timestamp + i := &Installation{SuspendedAt: &zeroValue} + i.GetSuspendedAt() + i = &Installation{} + i.GetSuspendedAt() + i = nil + i.GetSuspendedAt() } -func TestTreeEntry_GetSHA(tt *testing.T) { +func TestInstallation_GetSuspendedBy(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TreeEntry{SHA: &zeroValue} - t.GetSHA() - t = &TreeEntry{} - t.GetSHA() - t = nil - t.GetSHA() + i := &Installation{} + i.GetSuspendedBy() + i = nil + i.GetSuspendedBy() } -func TestTreeEntry_GetSize(tt *testing.T) { +func TestInstallation_GetTargetID(tt *testing.T) { tt.Parallel() - var zeroValue int - t := &TreeEntry{Size: &zeroValue} - t.GetSize() - t = &TreeEntry{} - t.GetSize() - t = nil - t.GetSize() + var zeroValue int64 + i := &Installation{TargetID: &zeroValue} + i.GetTargetID() + i = &Installation{} + i.GetTargetID() + i = nil + i.GetTargetID() } -func TestTreeEntry_GetType(tt *testing.T) { +func TestInstallation_GetTargetType(tt *testing.T) { tt.Parallel() var zeroValue string - t := &TreeEntry{Type: &zeroValue} - t.GetType() - t = &TreeEntry{} - t.GetType() - t = nil - t.GetType() + i := &Installation{TargetType: &zeroValue} + i.GetTargetType() + i = &Installation{} + i.GetTargetType() + i = nil + i.GetTargetType() } -func TestTreeEntry_GetURL(tt *testing.T) { +func TestInstallation_GetUpdatedAt(tt *testing.T) { tt.Parallel() - var zeroValue string - t := &TreeEntry{URL: &zeroValue} - t.GetURL() - t = &TreeEntry{} - t.GetURL() - t = nil - t.GetURL() + var zeroValue Timestamp + i := &Installation{UpdatedAt: &zeroValue} + i.GetUpdatedAt() + i = &Installation{} + i.GetUpdatedAt() + i = nil + i.GetUpdatedAt() } -func TestUnauthenticatedRateLimitedTransport_GetClientID(tt *testing.T) { +func TestInstallationChanges_GetLogin(tt *testing.T) { tt.Parallel() - u := &UnauthenticatedRateLimitedTransport{} - u.GetClientID() - u = nil - u.GetClientID() + i := &InstallationChanges{} + i.GetLogin() + i = nil + i.GetLogin() } -func TestUnauthenticatedRateLimitedTransport_GetClientSecret(tt *testing.T) { +func TestInstallationChanges_GetSlug(tt *testing.T) { tt.Parallel() - u := &UnauthenticatedRateLimitedTransport{} - u.GetClientSecret() - u = nil - u.GetClientSecret() + i := &InstallationChanges{} + i.GetSlug() + i = nil + i.GetSlug() } -func TestUpdateAppInstallationRepositoriesRequest_GetRepositories(tt *testing.T) { +func TestInstallationEvent_GetAction(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - u := &UpdateAppInstallationRepositoriesRequest{Repositories: zeroValue} - u.GetRepositories() - u = &UpdateAppInstallationRepositoriesRequest{} - u.GetRepositories() - u = nil - u.GetRepositories() + var zeroValue string + i := &InstallationEvent{Action: &zeroValue} + i.GetAction() + i = &InstallationEvent{} + i.GetAction() + i = nil + i.GetAction() } -func TestUpdateAppInstallationRepositoriesRequest_GetRepositorySelection(tt *testing.T) { +func TestInstallationEvent_GetInstallation(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateAppInstallationRepositoriesRequest{RepositorySelection: &zeroValue} - u.GetRepositorySelection() - u = &UpdateAppInstallationRepositoriesRequest{} - u.GetRepositorySelection() - u = nil - u.GetRepositorySelection() + i := &InstallationEvent{} + i.GetInstallation() + i = nil + i.GetInstallation() } -func TestUpdateAttributeForSCIMUserOperations_GetOp(tt *testing.T) { +func TestInstallationEvent_GetOrg(tt *testing.T) { tt.Parallel() - u := &UpdateAttributeForSCIMUserOperations{} - u.GetOp() - u = nil - u.GetOp() + i := &InstallationEvent{} + i.GetOrg() + i = nil + i.GetOrg() } -func TestUpdateAttributeForSCIMUserOperations_GetPath(tt *testing.T) { +func TestInstallationEvent_GetRepositories(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateAttributeForSCIMUserOperations{Path: &zeroValue} - u.GetPath() - u = &UpdateAttributeForSCIMUserOperations{} - u.GetPath() - u = nil - u.GetPath() + zeroValue := []*Repository{} + i := &InstallationEvent{Repositories: zeroValue} + i.GetRepositories() + i = &InstallationEvent{} + i.GetRepositories() + i = nil + i.GetRepositories() } -func TestUpdateAttributeForSCIMUserOperations_GetValue(tt *testing.T) { +func TestInstallationEvent_GetRequester(tt *testing.T) { tt.Parallel() - u := &UpdateAttributeForSCIMUserOperations{} - u.GetValue() - u = nil - u.GetValue() + i := &InstallationEvent{} + i.GetRequester() + i = nil + i.GetRequester() } -func TestUpdateAttributeForSCIMUserRequest_GetOperations(tt *testing.T) { +func TestInstallationEvent_GetSender(tt *testing.T) { tt.Parallel() - zeroValue := []*UpdateAttributeForSCIMUserOperations{} - u := &UpdateAttributeForSCIMUserRequest{Operations: zeroValue} - u.GetOperations() - u = &UpdateAttributeForSCIMUserRequest{} - u.GetOperations() - u = nil - u.GetOperations() + i := &InstallationEvent{} + i.GetSender() + i = nil + i.GetSender() } -func TestUpdateAttributeForSCIMUserRequest_GetSchemas(tt *testing.T) { +func TestInstallationLoginChange_GetFrom(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - u := &UpdateAttributeForSCIMUserRequest{Schemas: zeroValue} - u.GetSchemas() - u = &UpdateAttributeForSCIMUserRequest{} - u.GetSchemas() - u = nil - u.GetSchemas() + var zeroValue string + i := &InstallationLoginChange{From: &zeroValue} + i.GetFrom() + i = &InstallationLoginChange{} + i.GetFrom() + i = nil + i.GetFrom() } -func TestUpdateBranchRule_GetParameters(tt *testing.T) { +func TestInstallationPermissions_GetActions(tt *testing.T) { tt.Parallel() - u := &UpdateBranchRule{} - u.GetParameters() - u = nil - u.GetParameters() + var zeroValue string + i := &InstallationPermissions{Actions: &zeroValue} + i.GetActions() + i = &InstallationPermissions{} + i.GetActions() + i = nil + i.GetActions() } -func TestUpdateCheckRunOptions_GetActions(tt *testing.T) { +func TestInstallationPermissions_GetActionsVariables(tt *testing.T) { tt.Parallel() - zeroValue := []*CheckRunAction{} - u := &UpdateCheckRunOptions{Actions: zeroValue} - u.GetActions() - u = &UpdateCheckRunOptions{} - u.GetActions() - u = nil - u.GetActions() + var zeroValue string + i := &InstallationPermissions{ActionsVariables: &zeroValue} + i.GetActionsVariables() + i = &InstallationPermissions{} + i.GetActionsVariables() + i = nil + i.GetActionsVariables() } -func TestUpdateCheckRunOptions_GetCompletedAt(tt *testing.T) { +func TestInstallationPermissions_GetAdministration(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - u := &UpdateCheckRunOptions{CompletedAt: &zeroValue} - u.GetCompletedAt() - u = &UpdateCheckRunOptions{} - u.GetCompletedAt() - u = nil - u.GetCompletedAt() + var zeroValue string + i := &InstallationPermissions{Administration: &zeroValue} + i.GetAdministration() + i = &InstallationPermissions{} + i.GetAdministration() + i = nil + i.GetAdministration() } -func TestUpdateCheckRunOptions_GetConclusion(tt *testing.T) { +func TestInstallationPermissions_GetAttestations(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateCheckRunOptions{Conclusion: &zeroValue} - u.GetConclusion() - u = &UpdateCheckRunOptions{} - u.GetConclusion() - u = nil - u.GetConclusion() + i := &InstallationPermissions{Attestations: &zeroValue} + i.GetAttestations() + i = &InstallationPermissions{} + i.GetAttestations() + i = nil + i.GetAttestations() } -func TestUpdateCheckRunOptions_GetDetailsURL(tt *testing.T) { +func TestInstallationPermissions_GetBlocking(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateCheckRunOptions{DetailsURL: &zeroValue} - u.GetDetailsURL() - u = &UpdateCheckRunOptions{} - u.GetDetailsURL() - u = nil - u.GetDetailsURL() + i := &InstallationPermissions{Blocking: &zeroValue} + i.GetBlocking() + i = &InstallationPermissions{} + i.GetBlocking() + i = nil + i.GetBlocking() } -func TestUpdateCheckRunOptions_GetExternalID(tt *testing.T) { +func TestInstallationPermissions_GetChecks(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateCheckRunOptions{ExternalID: &zeroValue} - u.GetExternalID() - u = &UpdateCheckRunOptions{} - u.GetExternalID() - u = nil - u.GetExternalID() + i := &InstallationPermissions{Checks: &zeroValue} + i.GetChecks() + i = &InstallationPermissions{} + i.GetChecks() + i = nil + i.GetChecks() } -func TestUpdateCheckRunOptions_GetName(tt *testing.T) { +func TestInstallationPermissions_GetCodespaces(tt *testing.T) { tt.Parallel() - u := &UpdateCheckRunOptions{} - u.GetName() - u = nil - u.GetName() + var zeroValue string + i := &InstallationPermissions{Codespaces: &zeroValue} + i.GetCodespaces() + i = &InstallationPermissions{} + i.GetCodespaces() + i = nil + i.GetCodespaces() } -func TestUpdateCheckRunOptions_GetOutput(tt *testing.T) { +func TestInstallationPermissions_GetCodespacesLifecycleAdmin(tt *testing.T) { tt.Parallel() - u := &UpdateCheckRunOptions{} - u.GetOutput() - u = nil - u.GetOutput() + var zeroValue string + i := &InstallationPermissions{CodespacesLifecycleAdmin: &zeroValue} + i.GetCodespacesLifecycleAdmin() + i = &InstallationPermissions{} + i.GetCodespacesLifecycleAdmin() + i = nil + i.GetCodespacesLifecycleAdmin() } -func TestUpdateCheckRunOptions_GetStatus(tt *testing.T) { +func TestInstallationPermissions_GetCodespacesMetadata(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateCheckRunOptions{Status: &zeroValue} - u.GetStatus() - u = &UpdateCheckRunOptions{} - u.GetStatus() - u = nil - u.GetStatus() + i := &InstallationPermissions{CodespacesMetadata: &zeroValue} + i.GetCodespacesMetadata() + i = &InstallationPermissions{} + i.GetCodespacesMetadata() + i = nil + i.GetCodespacesMetadata() } -func TestUpdateCodespaceOptions_GetMachine(tt *testing.T) { +func TestInstallationPermissions_GetCodespacesSecrets(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateCodespaceOptions{Machine: &zeroValue} - u.GetMachine() - u = &UpdateCodespaceOptions{} - u.GetMachine() - u = nil - u.GetMachine() + i := &InstallationPermissions{CodespacesSecrets: &zeroValue} + i.GetCodespacesSecrets() + i = &InstallationPermissions{} + i.GetCodespacesSecrets() + i = nil + i.GetCodespacesSecrets() } -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 TestInstallationPermissions_GetCodespacesUserSecrets(tt *testing.T) { + tt.Parallel() var zeroValue string + p := &PackageVersionBodyInfo{OID: &zeroValue} + p.GetOID() + p = &PackageVersionBodyInfo{} + p.GetOID() + p = nil + p.GetOID() } -func TestUpdateCommitCommentRequest_GetBody(tt *testing.T) { +func TestPackageVersionBodyInfo_GetPath(tt *testing.T) { tt.Parallel() - u := &UpdateCommitCommentRequest{} - u.GetBody() - u = nil - u.GetBody() + var zeroValue string + p := &PackageVersionBodyInfo{Path: &zeroValue} + p.GetPath() + p = &PackageVersionBodyInfo{} + p.GetPath() + p = nil + p.GetPath() } -func TestUpdateConnectedExternalGroupRequest_GetGroupID(tt *testing.T) { +func TestPackageVersionBodyInfo_GetSize(tt *testing.T) { tt.Parallel() - u := &UpdateConnectedExternalGroupRequest{} - u.GetGroupID() - u = nil - u.GetGroupID() + var zeroValue int64 + p := &PackageVersionBodyInfo{Size: &zeroValue} + p.GetSize() + p = &PackageVersionBodyInfo{} + p.GetSize() + p = nil + p.GetSize() } -func TestUpdateCustomOrgRoleRequest_GetBaseRole(tt *testing.T) { +func TestPackageVersionBodyInfo_GetType(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateCustomOrgRoleRequest{BaseRole: &zeroValue} - u.GetBaseRole() - u = &UpdateCustomOrgRoleRequest{} - u.GetBaseRole() - u = nil - u.GetBaseRole() + p := &PackageVersionBodyInfo{Type: &zeroValue} + p.GetType() + p = &PackageVersionBodyInfo{} + p.GetType() + p = nil + p.GetType() } -func TestUpdateCustomOrgRoleRequest_GetDescription(tt *testing.T) { +func TestPage_GetAction(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateCustomOrgRoleRequest{Description: &zeroValue} - u.GetDescription() - u = &UpdateCustomOrgRoleRequest{} - u.GetDescription() - u = nil - u.GetDescription() + p := &Page{Action: &zeroValue} + p.GetAction() + p = &Page{} + p.GetAction() + p = nil + p.GetAction() } -func TestUpdateCustomOrgRoleRequest_GetName(tt *testing.T) { +func TestPage_GetHTMLURL(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateCustomOrgRoleRequest{Name: &zeroValue} - u.GetName() - u = &UpdateCustomOrgRoleRequest{} - u.GetName() - u = nil - u.GetName() + p := &Page{HTMLURL: &zeroValue} + p.GetHTMLURL() + p = &Page{} + p.GetHTMLURL() + p = nil + p.GetHTMLURL() } -func TestUpdateCustomOrgRoleRequest_GetPermissions(tt *testing.T) { +func TestPage_GetPageName(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - u := &UpdateCustomOrgRoleRequest{Permissions: zeroValue} - u.GetPermissions() - u = &UpdateCustomOrgRoleRequest{} - u.GetPermissions() - u = nil - u.GetPermissions() + var zeroValue string + p := &Page{PageName: &zeroValue} + p.GetPageName() + p = &Page{} + p.GetPageName() + p = nil + p.GetPageName() } -func TestUpdateCustomRepoRoleRequest_GetBaseRole(tt *testing.T) { +func TestPage_GetSHA(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateCustomRepoRoleRequest{BaseRole: &zeroValue} - u.GetBaseRole() - u = &UpdateCustomRepoRoleRequest{} - u.GetBaseRole() - u = nil - u.GetBaseRole() + p := &Page{SHA: &zeroValue} + p.GetSHA() + p = &Page{} + p.GetSHA() + p = nil + p.GetSHA() } -func TestUpdateCustomRepoRoleRequest_GetDescription(tt *testing.T) { +func TestPage_GetSummary(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateCustomRepoRoleRequest{Description: &zeroValue} - u.GetDescription() - u = &UpdateCustomRepoRoleRequest{} - u.GetDescription() - u = nil - u.GetDescription() + p := &Page{Summary: &zeroValue} + p.GetSummary() + p = &Page{} + p.GetSummary() + p = nil + p.GetSummary() } -func TestUpdateCustomRepoRoleRequest_GetName(tt *testing.T) { +func TestPage_GetTitle(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateCustomRepoRoleRequest{Name: &zeroValue} - u.GetName() - u = &UpdateCustomRepoRoleRequest{} - u.GetName() - u = nil - u.GetName() + p := &Page{Title: &zeroValue} + p.GetTitle() + p = &Page{} + p.GetTitle() + p = nil + p.GetTitle() } -func TestUpdateCustomRepoRoleRequest_GetPermissions(tt *testing.T) { +func TestPageBuildEvent_GetBuild(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - u := &UpdateCustomRepoRoleRequest{Permissions: zeroValue} - u.GetPermissions() - u = &UpdateCustomRepoRoleRequest{} - u.GetPermissions() - u = nil - u.GetPermissions() + p := &PageBuildEvent{} + p.GetBuild() + p = nil + p.GetBuild() } -func TestUpdateDefaultSetupConfigurationOptions_GetLanguages(tt *testing.T) { +func TestPageBuildEvent_GetID(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - u := &UpdateDefaultSetupConfigurationOptions{Languages: zeroValue} - u.GetLanguages() - u = &UpdateDefaultSetupConfigurationOptions{} - u.GetLanguages() - u = nil - u.GetLanguages() + var zeroValue int64 + p := &PageBuildEvent{ID: &zeroValue} + p.GetID() + p = &PageBuildEvent{} + p.GetID() + p = nil + p.GetID() } -func TestUpdateDefaultSetupConfigurationOptions_GetQuerySuite(tt *testing.T) { +func TestPageBuildEvent_GetInstallation(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateDefaultSetupConfigurationOptions{QuerySuite: &zeroValue} - u.GetQuerySuite() - u = &UpdateDefaultSetupConfigurationOptions{} - u.GetQuerySuite() - u = nil - u.GetQuerySuite() + p := &PageBuildEvent{} + p.GetInstallation() + p = nil + p.GetInstallation() } -func TestUpdateDefaultSetupConfigurationOptions_GetState(tt *testing.T) { +func TestPageBuildEvent_GetOrg(tt *testing.T) { tt.Parallel() - u := &UpdateDefaultSetupConfigurationOptions{} - u.GetState() - u = nil - u.GetState() + p := &PageBuildEvent{} + p.GetOrg() + p = nil + p.GetOrg() } -func TestUpdateDefaultSetupConfigurationResponse_GetRunID(tt *testing.T) { +func TestPageBuildEvent_GetRepo(tt *testing.T) { tt.Parallel() - var zeroValue int64 - u := &UpdateDefaultSetupConfigurationResponse{RunID: &zeroValue} - u.GetRunID() - u = &UpdateDefaultSetupConfigurationResponse{} - u.GetRunID() - u = nil - u.GetRunID() + p := &PageBuildEvent{} + p.GetRepo() + p = nil + p.GetRepo() +} + +func TestPageBuildEvent_GetSender(tt *testing.T) { + tt.Parallel() + p := &PageBuildEvent{} + p.GetSender() + p = nil + p.GetSender() } -func TestUpdateDefaultSetupConfigurationResponse_GetRunURL(tt *testing.T) { +func TestPages_GetBuildType(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateDefaultSetupConfigurationResponse{RunURL: &zeroValue} - u.GetRunURL() - u = &UpdateDefaultSetupConfigurationResponse{} - u.GetRunURL() - u = nil - u.GetRunURL() + p := &Pages{BuildType: &zeroValue} + p.GetBuildType() + p = &Pages{} + p.GetBuildType() + p = nil + p.GetBuildType() } -func TestUpdateDeploymentBranchPolicyRequest_GetName(tt *testing.T) { +func TestPages_GetCNAME(tt *testing.T) { tt.Parallel() - u := &UpdateDeploymentBranchPolicyRequest{} - u.GetName() - u = nil - u.GetName() + var zeroValue string + p := &Pages{CNAME: &zeroValue} + p.GetCNAME() + p = &Pages{} + p.GetCNAME() + p = nil + p.GetCNAME() } -func TestUpdateEnterpriseRunnerGroupRequest_GetAllowsPublicRepositories(tt *testing.T) { +func TestPages_GetCustom404(tt *testing.T) { tt.Parallel() var zeroValue bool - u := &UpdateEnterpriseRunnerGroupRequest{AllowsPublicRepositories: &zeroValue} - u.GetAllowsPublicRepositories() - u = &UpdateEnterpriseRunnerGroupRequest{} - u.GetAllowsPublicRepositories() - u = nil - u.GetAllowsPublicRepositories() + p := &Pages{Custom404: &zeroValue} + p.GetCustom404() + p = &Pages{} + p.GetCustom404() + p = nil + p.GetCustom404() } -func TestUpdateEnterpriseRunnerGroupRequest_GetName(tt *testing.T) { +func TestPages_GetHTMLURL(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateEnterpriseRunnerGroupRequest{Name: &zeroValue} - u.GetName() - u = &UpdateEnterpriseRunnerGroupRequest{} - u.GetName() - u = nil - u.GetName() + p := &Pages{HTMLURL: &zeroValue} + p.GetHTMLURL() + p = &Pages{} + p.GetHTMLURL() + p = nil + p.GetHTMLURL() } -func TestUpdateEnterpriseRunnerGroupRequest_GetNetworkConfigurationID(tt *testing.T) { +func TestPages_GetHTTPSCertificate(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateEnterpriseRunnerGroupRequest{NetworkConfigurationID: &zeroValue} - u.GetNetworkConfigurationID() - u = &UpdateEnterpriseRunnerGroupRequest{} - u.GetNetworkConfigurationID() - u = nil - u.GetNetworkConfigurationID() + p := &Pages{} + p.GetHTTPSCertificate() + p = nil + p.GetHTTPSCertificate() +} + +func TestPages_GetHTTPSEnforced(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &Pages{HTTPSEnforced: &zeroValue} + p.GetHTTPSEnforced() + p = &Pages{} + p.GetHTTPSEnforced() + p = nil + p.GetHTTPSEnforced() } -func TestUpdateEnterpriseRunnerGroupRequest_GetRestrictedToWorkflows(tt *testing.T) { +func TestPages_GetPublic(tt *testing.T) { tt.Parallel() var zeroValue bool - u := &UpdateEnterpriseRunnerGroupRequest{RestrictedToWorkflows: &zeroValue} - u.GetRestrictedToWorkflows() - u = &UpdateEnterpriseRunnerGroupRequest{} - u.GetRestrictedToWorkflows() - u = nil - u.GetRestrictedToWorkflows() + p := &Pages{Public: &zeroValue} + p.GetPublic() + p = &Pages{} + p.GetPublic() + p = nil + p.GetPublic() } -func TestUpdateEnterpriseRunnerGroupRequest_GetSelectedWorkflows(tt *testing.T) { +func TestPages_GetSource(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - u := &UpdateEnterpriseRunnerGroupRequest{SelectedWorkflows: zeroValue} - u.GetSelectedWorkflows() - u = &UpdateEnterpriseRunnerGroupRequest{} - u.GetSelectedWorkflows() - u = nil - u.GetSelectedWorkflows() + p := &Pages{} + p.GetSource() + p = nil + p.GetSource() } -func TestUpdateEnterpriseRunnerGroupRequest_GetVisibility(tt *testing.T) { +func TestPages_GetStatus(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateEnterpriseRunnerGroupRequest{Visibility: &zeroValue} - u.GetVisibility() - u = &UpdateEnterpriseRunnerGroupRequest{} - u.GetVisibility() - u = nil - u.GetVisibility() + p := &Pages{Status: &zeroValue} + p.GetStatus() + p = &Pages{} + p.GetStatus() + p = nil + p.GetStatus() } -func TestUpdateGistCommentRequest_GetBody(tt *testing.T) { +func TestPages_GetURL(tt *testing.T) { tt.Parallel() - u := &UpdateGistCommentRequest{} - u.GetBody() - u = nil - u.GetBody() + var zeroValue string + p := &Pages{URL: &zeroValue} + p.GetURL() + p = &Pages{} + p.GetURL() + p = nil + p.GetURL() } -func TestUpdateGistFile_GetContent(tt *testing.T) { +func TestPagesBuild_GetCommit(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateGistFile{Content: &zeroValue} - u.GetContent() - u = &UpdateGistFile{} - u.GetContent() - u = nil - u.GetContent() + p := &PagesBuild{Commit: &zeroValue} + p.GetCommit() + p = &PagesBuild{} + p.GetCommit() + p = nil + p.GetCommit() } -func TestUpdateGistFile_GetFilename(tt *testing.T) { +func TestPagesBuild_GetCreatedAt(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateGistFile{Filename: &zeroValue} - u.GetFilename() - u = &UpdateGistFile{} - u.GetFilename() - u = nil - u.GetFilename() + var zeroValue Timestamp + p := &PagesBuild{CreatedAt: &zeroValue} + p.GetCreatedAt() + p = &PagesBuild{} + p.GetCreatedAt() + p = nil + p.GetCreatedAt() } -func TestUpdateGistRequest_GetDescription(tt *testing.T) { +func TestPagesBuild_GetDuration(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateGistRequest{Description: &zeroValue} - u.GetDescription() - u = &UpdateGistRequest{} - u.GetDescription() - u = nil - u.GetDescription() + var zeroValue int + p := &PagesBuild{Duration: &zeroValue} + p.GetDuration() + p = &PagesBuild{} + p.GetDuration() + p = nil + p.GetDuration() } -func TestUpdateHostedRunnerRequest_GetEnableStaticIP(tt *testing.T) { +func TestPagesBuild_GetError(tt *testing.T) { tt.Parallel() - var zeroValue bool - u := &UpdateHostedRunnerRequest{EnableStaticIP: &zeroValue} - u.GetEnableStaticIP() - u = &UpdateHostedRunnerRequest{} - u.GetEnableStaticIP() - u = nil - u.GetEnableStaticIP() + p := &PagesBuild{} + p.GetError() + p = nil + p.GetError() } -func TestUpdateHostedRunnerRequest_GetImageID(tt *testing.T) { +func TestPagesBuild_GetPusher(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateHostedRunnerRequest{ImageID: &zeroValue} - u.GetImageID() - u = &UpdateHostedRunnerRequest{} - u.GetImageID() - u = nil - u.GetImageID() + p := &PagesBuild{} + p.GetPusher() + p = nil + p.GetPusher() } -func TestUpdateHostedRunnerRequest_GetImageVersion(tt *testing.T) { +func TestPagesBuild_GetStatus(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateHostedRunnerRequest{ImageVersion: &zeroValue} - u.GetImageVersion() - u = &UpdateHostedRunnerRequest{} - u.GetImageVersion() - u = nil - u.GetImageVersion() + p := &PagesBuild{Status: &zeroValue} + p.GetStatus() + p = &PagesBuild{} + p.GetStatus() + p = nil + p.GetStatus() } -func TestUpdateHostedRunnerRequest_GetMaximumRunners(tt *testing.T) { +func TestPagesBuild_GetUpdatedAt(tt *testing.T) { tt.Parallel() - var zeroValue int64 - u := &UpdateHostedRunnerRequest{MaximumRunners: &zeroValue} - u.GetMaximumRunners() - u = &UpdateHostedRunnerRequest{} - u.GetMaximumRunners() - u = nil - u.GetMaximumRunners() + var zeroValue Timestamp + p := &PagesBuild{UpdatedAt: &zeroValue} + p.GetUpdatedAt() + p = &PagesBuild{} + p.GetUpdatedAt() + p = nil + p.GetUpdatedAt() } -func TestUpdateHostedRunnerRequest_GetName(tt *testing.T) { +func TestPagesBuild_GetURL(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateHostedRunnerRequest{Name: &zeroValue} - u.GetName() - u = &UpdateHostedRunnerRequest{} - u.GetName() - u = nil - u.GetName() + p := &PagesBuild{URL: &zeroValue} + p.GetURL() + p = &PagesBuild{} + p.GetURL() + p = nil + p.GetURL() } -func TestUpdateHostedRunnerRequest_GetRunnerGroupID(tt *testing.T) { +func TestPagesDomain_GetCAAError(tt *testing.T) { tt.Parallel() - var zeroValue int64 - u := &UpdateHostedRunnerRequest{RunnerGroupID: &zeroValue} - u.GetRunnerGroupID() - u = &UpdateHostedRunnerRequest{} - u.GetRunnerGroupID() - u = nil - u.GetRunnerGroupID() + var zeroValue string + p := &PagesDomain{CAAError: &zeroValue} + p.GetCAAError() + p = &PagesDomain{} + p.GetCAAError() + p = nil + p.GetCAAError() } -func TestUpdateHostedRunnerRequest_GetSize(tt *testing.T) { +func TestPagesDomain_GetDNSResolves(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateHostedRunnerRequest{Size: &zeroValue} - u.GetSize() - u = &UpdateHostedRunnerRequest{} - u.GetSize() - u = nil - u.GetSize() + var zeroValue bool + p := &PagesDomain{DNSResolves: &zeroValue} + p.GetDNSResolves() + p = &PagesDomain{} + p.GetDNSResolves() + p = nil + p.GetDNSResolves() } -func TestUpdateIssueLabelRequest_GetColor(tt *testing.T) { +func TestPagesDomain_GetEnforcesHTTPS(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateIssueLabelRequest{Color: &zeroValue} - u.GetColor() - u = &UpdateIssueLabelRequest{} - u.GetColor() - u = nil - u.GetColor() + var zeroValue bool + p := &PagesDomain{EnforcesHTTPS: &zeroValue} + p.GetEnforcesHTTPS() + p = &PagesDomain{} + p.GetEnforcesHTTPS() + p = nil + p.GetEnforcesHTTPS() } -func TestUpdateIssueLabelRequest_GetDescription(tt *testing.T) { +func TestPagesDomain_GetHasCNAMERecord(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateIssueLabelRequest{Description: &zeroValue} - u.GetDescription() - u = &UpdateIssueLabelRequest{} - u.GetDescription() - u = nil - u.GetDescription() + var zeroValue bool + p := &PagesDomain{HasCNAMERecord: &zeroValue} + p.GetHasCNAMERecord() + p = &PagesDomain{} + p.GetHasCNAMERecord() + p = nil + p.GetHasCNAMERecord() +} + +func TestPagesDomain_GetHasMXRecordsPresent(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesDomain{HasMXRecordsPresent: &zeroValue} + p.GetHasMXRecordsPresent() + p = &PagesDomain{} + p.GetHasMXRecordsPresent() + p = nil + p.GetHasMXRecordsPresent() } -func TestUpdateIssueLabelRequest_GetNewName(tt *testing.T) { +func TestPagesDomain_GetHost(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateIssueLabelRequest{NewName: &zeroValue} - u.GetNewName() - u = &UpdateIssueLabelRequest{} - u.GetNewName() - u = nil - u.GetNewName() + p := &PagesDomain{Host: &zeroValue} + p.GetHost() + p = &PagesDomain{} + p.GetHost() + p = nil + p.GetHost() } -func TestUpdateIssueRequest_GetAssignee(tt *testing.T) { +func TestPagesDomain_GetHTTPSError(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateIssueRequest{Assignee: &zeroValue} - u.GetAssignee() - u = &UpdateIssueRequest{} - u.GetAssignee() - u = nil - u.GetAssignee() + p := &PagesDomain{HTTPSError: &zeroValue} + p.GetHTTPSError() + p = &PagesDomain{} + p.GetHTTPSError() + p = nil + p.GetHTTPSError() } -func TestUpdateIssueRequest_GetAssignees(tt *testing.T) { +func TestPagesDomain_GetIsApexDomain(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - u := &UpdateIssueRequest{Assignees: zeroValue} - u.GetAssignees() - u = &UpdateIssueRequest{} - u.GetAssignees() - u = nil - u.GetAssignees() + var zeroValue bool + p := &PagesDomain{IsApexDomain: &zeroValue} + p.GetIsApexDomain() + p = &PagesDomain{} + p.GetIsApexDomain() + p = nil + p.GetIsApexDomain() } -func TestUpdateIssueRequest_GetBody(tt *testing.T) { +func TestPagesDomain_GetIsARecord(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateIssueRequest{Body: &zeroValue} - u.GetBody() - u = &UpdateIssueRequest{} - u.GetBody() - u = nil - u.GetBody() + var zeroValue bool + p := &PagesDomain{IsARecord: &zeroValue} + p.GetIsARecord() + p = &PagesDomain{} + p.GetIsARecord() + p = nil + p.GetIsARecord() } -func TestUpdateIssueRequest_GetDuplicateIssueID(tt *testing.T) { +func TestPagesDomain_GetIsCloudflareIP(tt *testing.T) { tt.Parallel() - var zeroValue int - u := &UpdateIssueRequest{DuplicateIssueID: &zeroValue} - u.GetDuplicateIssueID() - u = &UpdateIssueRequest{} - u.GetDuplicateIssueID() - u = nil - u.GetDuplicateIssueID() + var zeroValue bool + p := &PagesDomain{IsCloudflareIP: &zeroValue} + p.GetIsCloudflareIP() + p = &PagesDomain{} + p.GetIsCloudflareIP() + p = nil + p.GetIsCloudflareIP() } -func TestUpdateIssueRequest_GetIssueFieldValues(tt *testing.T) { +func TestPagesDomain_GetIsCNAMEToFastly(tt *testing.T) { tt.Parallel() - zeroValue := []*IssueRequestFieldValue{} - u := &UpdateIssueRequest{IssueFieldValues: zeroValue} - u.GetIssueFieldValues() - u = &UpdateIssueRequest{} - u.GetIssueFieldValues() - u = nil - u.GetIssueFieldValues() + var zeroValue bool + p := &PagesDomain{IsCNAMEToFastly: &zeroValue} + p.GetIsCNAMEToFastly() + p = &PagesDomain{} + p.GetIsCNAMEToFastly() + p = nil + p.GetIsCNAMEToFastly() } -func TestUpdateIssueRequest_GetLabels(tt *testing.T) { +func TestPagesDomain_GetIsCNAMEToGithubUserDomain(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - u := &UpdateIssueRequest{Labels: zeroValue} - u.GetLabels() - u = &UpdateIssueRequest{} - u.GetLabels() - u = nil - u.GetLabels() + var zeroValue bool + p := &PagesDomain{IsCNAMEToGithubUserDomain: &zeroValue} + p.GetIsCNAMEToGithubUserDomain() + p = &PagesDomain{} + p.GetIsCNAMEToGithubUserDomain() + p = nil + p.GetIsCNAMEToGithubUserDomain() } -func TestUpdateIssueRequest_GetMilestone(tt *testing.T) { +func TestPagesDomain_GetIsCNAMEToPagesDotGithubDotCom(tt *testing.T) { tt.Parallel() - var zeroValue int - u := &UpdateIssueRequest{Milestone: &zeroValue} - u.GetMilestone() - u = &UpdateIssueRequest{} - u.GetMilestone() - u = nil - u.GetMilestone() + var zeroValue bool + p := &PagesDomain{IsCNAMEToPagesDotGithubDotCom: &zeroValue} + p.GetIsCNAMEToPagesDotGithubDotCom() + p = &PagesDomain{} + p.GetIsCNAMEToPagesDotGithubDotCom() + p = nil + p.GetIsCNAMEToPagesDotGithubDotCom() } -func TestUpdateIssueRequest_GetState(tt *testing.T) { +func TestPagesDomain_GetIsFastlyIP(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateIssueRequest{State: &zeroValue} - u.GetState() - u = &UpdateIssueRequest{} - u.GetState() - u = nil - u.GetState() + var zeroValue bool + p := &PagesDomain{IsFastlyIP: &zeroValue} + p.GetIsFastlyIP() + p = &PagesDomain{} + p.GetIsFastlyIP() + p = nil + p.GetIsFastlyIP() } -func TestUpdateIssueRequest_GetStateReason(tt *testing.T) { +func TestPagesDomain_GetIsHTTPSEligible(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateIssueRequest{StateReason: &zeroValue} - u.GetStateReason() - u = &UpdateIssueRequest{} - u.GetStateReason() - u = nil - u.GetStateReason() + var zeroValue bool + p := &PagesDomain{IsHTTPSEligible: &zeroValue} + p.GetIsHTTPSEligible() + p = &PagesDomain{} + p.GetIsHTTPSEligible() + p = nil + p.GetIsHTTPSEligible() } -func TestUpdateIssueRequest_GetTitle(tt *testing.T) { +func TestPagesDomain_GetIsNonGithubPagesIPPresent(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateIssueRequest{Title: &zeroValue} - u.GetTitle() - u = &UpdateIssueRequest{} - u.GetTitle() - u = nil - u.GetTitle() + var zeroValue bool + p := &PagesDomain{IsNonGithubPagesIPPresent: &zeroValue} + p.GetIsNonGithubPagesIPPresent() + p = &PagesDomain{} + p.GetIsNonGithubPagesIPPresent() + p = nil + p.GetIsNonGithubPagesIPPresent() } -func TestUpdateIssueRequest_GetType(tt *testing.T) { +func TestPagesDomain_GetIsOldIPAddress(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateIssueRequest{Type: &zeroValue} - u.GetType() - u = &UpdateIssueRequest{} - u.GetType() - u = nil - u.GetType() + var zeroValue bool + p := &PagesDomain{IsOldIPAddress: &zeroValue} + p.GetIsOldIPAddress() + p = &PagesDomain{} + p.GetIsOldIPAddress() + p = nil + p.GetIsOldIPAddress() } -func TestUpdateMilestoneRequest_GetDescription(tt *testing.T) { +func TestPagesDomain_GetIsPagesDomain(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateMilestoneRequest{Description: &zeroValue} - u.GetDescription() - u = &UpdateMilestoneRequest{} - u.GetDescription() - u = nil - u.GetDescription() + var zeroValue bool + p := &PagesDomain{IsPagesDomain: &zeroValue} + p.GetIsPagesDomain() + p = &PagesDomain{} + p.GetIsPagesDomain() + p = nil + p.GetIsPagesDomain() } -func TestUpdateMilestoneRequest_GetDueOn(tt *testing.T) { +func TestPagesDomain_GetIsPointedToGithubPagesIP(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - u := &UpdateMilestoneRequest{DueOn: &zeroValue} - u.GetDueOn() - u = &UpdateMilestoneRequest{} - u.GetDueOn() - u = nil - u.GetDueOn() + var zeroValue bool + p := &PagesDomain{IsPointedToGithubPagesIP: &zeroValue} + p.GetIsPointedToGithubPagesIP() + p = &PagesDomain{} + p.GetIsPointedToGithubPagesIP() + p = nil + p.GetIsPointedToGithubPagesIP() } -func TestUpdateMilestoneRequest_GetState(tt *testing.T) { +func TestPagesDomain_GetIsProxied(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateMilestoneRequest{State: &zeroValue} - u.GetState() - u = &UpdateMilestoneRequest{} - u.GetState() - u = nil - u.GetState() + var zeroValue bool + p := &PagesDomain{IsProxied: &zeroValue} + p.GetIsProxied() + p = &PagesDomain{} + p.GetIsProxied() + p = nil + p.GetIsProxied() } -func TestUpdateMilestoneRequest_GetTitle(tt *testing.T) { +func TestPagesDomain_GetIsServedByPages(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateMilestoneRequest{Title: &zeroValue} - u.GetTitle() - u = &UpdateMilestoneRequest{} - u.GetTitle() - u = nil - u.GetTitle() + var zeroValue bool + p := &PagesDomain{IsServedByPages: &zeroValue} + p.GetIsServedByPages() + p = &PagesDomain{} + p.GetIsServedByPages() + p = nil + p.GetIsServedByPages() } -func TestUpdateOrganizationPrivateRegistry_GetAccountID(tt *testing.T) { +func TestPagesDomain_GetIsValid(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateOrganizationPrivateRegistry{AccountID: &zeroValue} - u.GetAccountID() - u = &UpdateOrganizationPrivateRegistry{} - u.GetAccountID() - u = nil - u.GetAccountID() + var zeroValue bool + p := &PagesDomain{IsValid: &zeroValue} + p.GetIsValid() + p = &PagesDomain{} + p.GetIsValid() + p = nil + p.GetIsValid() } -func TestUpdateOrganizationPrivateRegistry_GetAudience(tt *testing.T) { +func TestPagesDomain_GetIsValidDomain(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateOrganizationPrivateRegistry{Audience: &zeroValue} - u.GetAudience() - u = &UpdateOrganizationPrivateRegistry{} - u.GetAudience() - u = nil - u.GetAudience() + var zeroValue bool + p := &PagesDomain{IsValidDomain: &zeroValue} + p.GetIsValidDomain() + p = &PagesDomain{} + p.GetIsValidDomain() + p = nil + p.GetIsValidDomain() } -func TestUpdateOrganizationPrivateRegistry_GetAuthType(tt *testing.T) { +func TestPagesDomain_GetNameservers(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateOrganizationPrivateRegistry{AuthType: &zeroValue} - u.GetAuthType() - u = &UpdateOrganizationPrivateRegistry{} - u.GetAuthType() - u = nil - u.GetAuthType() + p := &PagesDomain{Nameservers: &zeroValue} + p.GetNameservers() + p = &PagesDomain{} + p.GetNameservers() + p = nil + p.GetNameservers() } -func TestUpdateOrganizationPrivateRegistry_GetAWSRegion(tt *testing.T) { +func TestPagesDomain_GetReason(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateOrganizationPrivateRegistry{AWSRegion: &zeroValue} - u.GetAWSRegion() - u = &UpdateOrganizationPrivateRegistry{} - u.GetAWSRegion() - u = nil - u.GetAWSRegion() + p := &PagesDomain{Reason: &zeroValue} + p.GetReason() + p = &PagesDomain{} + p.GetReason() + p = nil + p.GetReason() } -func TestUpdateOrganizationPrivateRegistry_GetClientID(tt *testing.T) { +func TestPagesDomain_GetRespondsToHTTPS(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateOrganizationPrivateRegistry{ClientID: &zeroValue} - u.GetClientID() - u = &UpdateOrganizationPrivateRegistry{} - u.GetClientID() - u = nil - u.GetClientID() + var zeroValue bool + p := &PagesDomain{RespondsToHTTPS: &zeroValue} + p.GetRespondsToHTTPS() + p = &PagesDomain{} + p.GetRespondsToHTTPS() + p = nil + p.GetRespondsToHTTPS() } -func TestUpdateOrganizationPrivateRegistry_GetDomain(tt *testing.T) { +func TestPagesDomain_GetShouldBeARecord(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateOrganizationPrivateRegistry{Domain: &zeroValue} - u.GetDomain() - u = &UpdateOrganizationPrivateRegistry{} - u.GetDomain() - u = nil - u.GetDomain() + var zeroValue bool + p := &PagesDomain{ShouldBeARecord: &zeroValue} + p.GetShouldBeARecord() + p = &PagesDomain{} + p.GetShouldBeARecord() + p = nil + p.GetShouldBeARecord() } -func TestUpdateOrganizationPrivateRegistry_GetDomainOwner(tt *testing.T) { +func TestPagesDomain_GetURI(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateOrganizationPrivateRegistry{DomainOwner: &zeroValue} - u.GetDomainOwner() - u = &UpdateOrganizationPrivateRegistry{} - u.GetDomainOwner() - u = nil - u.GetDomainOwner() + p := &PagesDomain{URI: &zeroValue} + p.GetURI() + p = &PagesDomain{} + p.GetURI() + p = nil + p.GetURI() } -func TestUpdateOrganizationPrivateRegistry_GetEncryptedValue(tt *testing.T) { +func TestPagesError_GetMessage(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateOrganizationPrivateRegistry{EncryptedValue: &zeroValue} - u.GetEncryptedValue() - u = &UpdateOrganizationPrivateRegistry{} - u.GetEncryptedValue() - u = nil - u.GetEncryptedValue() + p := &PagesError{Message: &zeroValue} + p.GetMessage() + p = &PagesError{} + p.GetMessage() + p = nil + p.GetMessage() } -func TestUpdateOrganizationPrivateRegistry_GetIdentityMappingName(tt *testing.T) { +func TestPagesHealthCheckResponse_GetAltDomain(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateOrganizationPrivateRegistry{IdentityMappingName: &zeroValue} - u.GetIdentityMappingName() - u = &UpdateOrganizationPrivateRegistry{} - u.GetIdentityMappingName() - u = nil - u.GetIdentityMappingName() + p := &PagesHealthCheckResponse{} + p.GetAltDomain() + p = nil + p.GetAltDomain() } -func TestUpdateOrganizationPrivateRegistry_GetJFrogOIDCProviderName(tt *testing.T) { +func TestPagesHealthCheckResponse_GetDomain(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateOrganizationPrivateRegistry{JFrogOIDCProviderName: &zeroValue} - u.GetJFrogOIDCProviderName() - u = &UpdateOrganizationPrivateRegistry{} - u.GetJFrogOIDCProviderName() - u = nil - u.GetJFrogOIDCProviderName() + p := &PagesHealthCheckResponse{} + p.GetDomain() + p = nil + p.GetDomain() } -func TestUpdateOrganizationPrivateRegistry_GetKeyID(tt *testing.T) { +func TestPagesHTTPSCertificate_GetDescription(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateOrganizationPrivateRegistry{KeyID: &zeroValue} - u.GetKeyID() - u = &UpdateOrganizationPrivateRegistry{} - u.GetKeyID() - u = nil - u.GetKeyID() + p := &PagesHTTPSCertificate{Description: &zeroValue} + p.GetDescription() + p = &PagesHTTPSCertificate{} + p.GetDescription() + p = nil + p.GetDescription() } -func TestUpdateOrganizationPrivateRegistry_GetRegistryType(tt *testing.T) { +func TestPagesHTTPSCertificate_GetDomains(tt *testing.T) { tt.Parallel() - u := &UpdateOrganizationPrivateRegistry{} - u.GetRegistryType() - u = nil - u.GetRegistryType() + zeroValue := []string{} + p := &PagesHTTPSCertificate{Domains: zeroValue} + p.GetDomains() + p = &PagesHTTPSCertificate{} + p.GetDomains() + p = nil + p.GetDomains() } -func TestUpdateOrganizationPrivateRegistry_GetReplacesBase(tt *testing.T) { +func TestPagesHTTPSCertificate_GetExpiresAt(tt *testing.T) { tt.Parallel() - var zeroValue bool - u := &UpdateOrganizationPrivateRegistry{ReplacesBase: &zeroValue} - u.GetReplacesBase() - u = &UpdateOrganizationPrivateRegistry{} - u.GetReplacesBase() - u = nil - u.GetReplacesBase() + var zeroValue string + p := &PagesHTTPSCertificate{ExpiresAt: &zeroValue} + p.GetExpiresAt() + p = &PagesHTTPSCertificate{} + p.GetExpiresAt() + p = nil + p.GetExpiresAt() } -func TestUpdateOrganizationPrivateRegistry_GetRoleName(tt *testing.T) { +func TestPagesHTTPSCertificate_GetState(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateOrganizationPrivateRegistry{RoleName: &zeroValue} - u.GetRoleName() - u = &UpdateOrganizationPrivateRegistry{} - u.GetRoleName() - u = nil - u.GetRoleName() + p := &PagesHTTPSCertificate{State: &zeroValue} + p.GetState() + p = &PagesHTTPSCertificate{} + p.GetState() + p = nil + p.GetState() } -func TestUpdateOrganizationPrivateRegistry_GetSelectedRepositoryIDs(tt *testing.T) { +func TestPagesSource_GetBranch(tt *testing.T) { tt.Parallel() - zeroValue := []int64{} - u := &UpdateOrganizationPrivateRegistry{SelectedRepositoryIDs: zeroValue} - u.GetSelectedRepositoryIDs() - u = &UpdateOrganizationPrivateRegistry{} - u.GetSelectedRepositoryIDs() - u = nil - u.GetSelectedRepositoryIDs() + var zeroValue string + p := &PagesSource{Branch: &zeroValue} + p.GetBranch() + p = &PagesSource{} + p.GetBranch() + p = nil + p.GetBranch() } -func TestUpdateOrganizationPrivateRegistry_GetTenantID(tt *testing.T) { +func TestPagesSource_GetPath(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateOrganizationPrivateRegistry{TenantID: &zeroValue} - u.GetTenantID() - u = &UpdateOrganizationPrivateRegistry{} - u.GetTenantID() - u = nil - u.GetTenantID() + p := &PagesSource{Path: &zeroValue} + p.GetPath() + p = &PagesSource{} + p.GetPath() + p = nil + p.GetPath() } -func TestUpdateOrganizationPrivateRegistry_GetURL(tt *testing.T) { +func TestPageStats_GetTotalPages(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateOrganizationPrivateRegistry{URL: &zeroValue} - u.GetURL() - u = &UpdateOrganizationPrivateRegistry{} - u.GetURL() - u = nil - u.GetURL() + var zeroValue int + p := &PageStats{TotalPages: &zeroValue} + p.GetTotalPages() + p = &PageStats{} + p.GetTotalPages() + p = nil + p.GetTotalPages() } -func TestUpdateOrganizationPrivateRegistry_GetUsername(tt *testing.T) { +func TestPagesUpdate_GetBuildType(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateOrganizationPrivateRegistry{Username: &zeroValue} - u.GetUsername() - u = &UpdateOrganizationPrivateRegistry{} - u.GetUsername() - u = nil - u.GetUsername() + p := &PagesUpdate{BuildType: &zeroValue} + p.GetBuildType() + p = &PagesUpdate{} + p.GetBuildType() + p = nil + p.GetBuildType() } -func TestUpdateOrganizationPrivateRegistry_GetVisibility(tt *testing.T) { +func TestPagesUpdate_GetCNAME(tt *testing.T) { tt.Parallel() - u := &UpdateOrganizationPrivateRegistry{} - u.GetVisibility() - u = nil - u.GetVisibility() + var zeroValue string + p := &PagesUpdate{CNAME: &zeroValue} + p.GetCNAME() + p = &PagesUpdate{} + p.GetCNAME() + p = nil + p.GetCNAME() } -func TestUpdatePreReceiveHookRequest_GetEnforcement(tt *testing.T) { +func TestPagesUpdate_GetHTTPSEnforced(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdatePreReceiveHookRequest{Enforcement: &zeroValue} - u.GetEnforcement() - u = &UpdatePreReceiveHookRequest{} - u.GetEnforcement() - u = nil - u.GetEnforcement() + var zeroValue bool + p := &PagesUpdate{HTTPSEnforced: &zeroValue} + p.GetHTTPSEnforced() + p = &PagesUpdate{} + p.GetHTTPSEnforced() + p = nil + p.GetHTTPSEnforced() } -func TestUpdateProjectItemOptions_GetArchived(tt *testing.T) { +func TestPagesUpdate_GetPublic(tt *testing.T) { tt.Parallel() var zeroValue bool - u := &UpdateProjectItemOptions{Archived: &zeroValue} - u.GetArchived() - u = &UpdateProjectItemOptions{} - u.GetArchived() - u = nil - u.GetArchived() + p := &PagesUpdate{Public: &zeroValue} + p.GetPublic() + p = &PagesUpdate{} + p.GetPublic() + p = nil + p.GetPublic() } -func TestUpdateProjectItemOptions_GetFields(tt *testing.T) { +func TestPagesUpdate_GetSource(tt *testing.T) { tt.Parallel() - zeroValue := []*UpdateProjectV2Field{} - u := &UpdateProjectItemOptions{Fields: zeroValue} - u.GetFields() - u = &UpdateProjectItemOptions{} - u.GetFields() - u = nil - u.GetFields() + p := &PagesUpdate{} + p.GetSource() + p = nil + p.GetSource() } -func TestUpdateProjectV2Field_GetID(tt *testing.T) { +func TestPagesUpdateWithoutCNAME_GetBuildType(tt *testing.T) { tt.Parallel() - u := &UpdateProjectV2Field{} - u.GetID() - u = nil - u.GetID() + var zeroValue string + p := &PagesUpdateWithoutCNAME{BuildType: &zeroValue} + p.GetBuildType() + p = &PagesUpdateWithoutCNAME{} + p.GetBuildType() + p = nil + p.GetBuildType() } -func TestUpdateProjectV2Field_GetValue(tt *testing.T) { +func TestPagesUpdateWithoutCNAME_GetHTTPSEnforced(tt *testing.T) { tt.Parallel() - u := &UpdateProjectV2Field{} - u.GetValue() - u = nil - u.GetValue() + var zeroValue bool + p := &PagesUpdateWithoutCNAME{HTTPSEnforced: &zeroValue} + p.GetHTTPSEnforced() + p = &PagesUpdateWithoutCNAME{} + p.GetHTTPSEnforced() + p = nil + p.GetHTTPSEnforced() } -func TestUpdateProvisionedOrgMembershipRequest_GetActive(tt *testing.T) { +func TestPagesUpdateWithoutCNAME_GetPublic(tt *testing.T) { tt.Parallel() var zeroValue bool - u := &UpdateProvisionedOrgMembershipRequest{Active: &zeroValue} - u.GetActive() - u = &UpdateProvisionedOrgMembershipRequest{} - u.GetActive() - u = nil - u.GetActive() + p := &PagesUpdateWithoutCNAME{Public: &zeroValue} + p.GetPublic() + p = &PagesUpdateWithoutCNAME{} + p.GetPublic() + p = nil + p.GetPublic() } -func TestUpdateProvisionedOrgMembershipRequest_GetDisplayName(tt *testing.T) { +func TestPagesUpdateWithoutCNAME_GetSource(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateProvisionedOrgMembershipRequest{DisplayName: &zeroValue} - u.GetDisplayName() - u = &UpdateProvisionedOrgMembershipRequest{} - u.GetDisplayName() - u = nil - u.GetDisplayName() + p := &PagesUpdateWithoutCNAME{} + p.GetSource() + p = nil + p.GetSource() } -func TestUpdateProvisionedOrgMembershipRequest_GetEmails(tt *testing.T) { +func TestPatternBranchRule_GetParameters(tt *testing.T) { tt.Parallel() - zeroValue := []*SCIMUserEmail{} - u := &UpdateProvisionedOrgMembershipRequest{Emails: zeroValue} - u.GetEmails() - u = &UpdateProvisionedOrgMembershipRequest{} - u.GetEmails() - u = nil - u.GetEmails() + p := &PatternBranchRule{} + p.GetParameters() + p = nil + p.GetParameters() } -func TestUpdateProvisionedOrgMembershipRequest_GetExternalID(tt *testing.T) { +func TestPatternRuleParameters_GetName(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateProvisionedOrgMembershipRequest{ExternalID: &zeroValue} - u.GetExternalID() - u = &UpdateProvisionedOrgMembershipRequest{} - u.GetExternalID() - u = nil - u.GetExternalID() + p := &PatternRuleParameters{Name: &zeroValue} + p.GetName() + p = &PatternRuleParameters{} + p.GetName() + p = nil + p.GetName() } -func TestUpdateProvisionedOrgMembershipRequest_GetGroups(tt *testing.T) { +func TestPatternRuleParameters_GetNegate(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - u := &UpdateProvisionedOrgMembershipRequest{Groups: zeroValue} - u.GetGroups() - u = &UpdateProvisionedOrgMembershipRequest{} - u.GetGroups() - u = nil - u.GetGroups() + var zeroValue bool + p := &PatternRuleParameters{Negate: &zeroValue} + p.GetNegate() + p = &PatternRuleParameters{} + p.GetNegate() + p = nil + p.GetNegate() } -func TestUpdateProvisionedOrgMembershipRequest_GetName(tt *testing.T) { +func TestPatternRuleParameters_GetOperator(tt *testing.T) { tt.Parallel() - u := &UpdateProvisionedOrgMembershipRequest{} - u.GetName() - u = nil - u.GetName() + p := &PatternRuleParameters{} + p.GetOperator() + p = nil + p.GetOperator() } -func TestUpdateProvisionedOrgMembershipRequest_GetSchemas(tt *testing.T) { +func TestPatternRuleParameters_GetPattern(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - u := &UpdateProvisionedOrgMembershipRequest{Schemas: zeroValue} - u.GetSchemas() - u = &UpdateProvisionedOrgMembershipRequest{} - u.GetSchemas() - u = nil - u.GetSchemas() + p := &PatternRuleParameters{} + p.GetPattern() + p = nil + p.GetPattern() } -func TestUpdateProvisionedOrgMembershipRequest_GetUserName(tt *testing.T) { +func TestPendingDeployment_GetCurrentUserCanApprove(tt *testing.T) { tt.Parallel() - u := &UpdateProvisionedOrgMembershipRequest{} - u.GetUserName() - u = nil - u.GetUserName() + var zeroValue bool + p := &PendingDeployment{CurrentUserCanApprove: &zeroValue} + p.GetCurrentUserCanApprove() + p = &PendingDeployment{} + p.GetCurrentUserCanApprove() + p = nil + p.GetCurrentUserCanApprove() } -func TestUpdatePullRequestCommentRequest_GetBody(tt *testing.T) { +func TestPendingDeployment_GetEnvironment(tt *testing.T) { tt.Parallel() - u := &UpdatePullRequestCommentRequest{} - u.GetBody() - u = nil - u.GetBody() + p := &PendingDeployment{} + p.GetEnvironment() + p = nil + p.GetEnvironment() } -func TestUpdateRef_GetForce(tt *testing.T) { +func TestPendingDeployment_GetReviewers(tt *testing.T) { tt.Parallel() - var zeroValue bool - u := &UpdateRef{Force: &zeroValue} - u.GetForce() - u = &UpdateRef{} - u.GetForce() - u = nil - u.GetForce() + zeroValue := []*RequiredReviewer{} + p := &PendingDeployment{Reviewers: zeroValue} + p.GetReviewers() + p = &PendingDeployment{} + p.GetReviewers() + p = nil + p.GetReviewers() } -func TestUpdateRef_GetSHA(tt *testing.T) { +func TestPendingDeployment_GetWaitTimer(tt *testing.T) { tt.Parallel() - u := &UpdateRef{} - u.GetSHA() - u = nil - u.GetSHA() + var zeroValue int64 + p := &PendingDeployment{WaitTimer: &zeroValue} + p.GetWaitTimer() + p = &PendingDeployment{} + p.GetWaitTimer() + p = nil + p.GetWaitTimer() } -func TestUpdateReleaseAssetRequest_GetLabel(tt *testing.T) { +func TestPendingDeployment_GetWaitTimerStartedAt(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateReleaseAssetRequest{Label: &zeroValue} - u.GetLabel() - u = &UpdateReleaseAssetRequest{} - u.GetLabel() - u = nil - u.GetLabel() + var zeroValue Timestamp + p := &PendingDeployment{WaitTimerStartedAt: &zeroValue} + p.GetWaitTimerStartedAt() + p = &PendingDeployment{} + p.GetWaitTimerStartedAt() + p = nil + p.GetWaitTimerStartedAt() } -func TestUpdateReleaseAssetRequest_GetName(tt *testing.T) { +func TestPendingDeploymentEnvironment_GetHTMLURL(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateReleaseAssetRequest{Name: &zeroValue} - u.GetName() - u = &UpdateReleaseAssetRequest{} - u.GetName() - u = nil - u.GetName() + p := &PendingDeploymentEnvironment{HTMLURL: &zeroValue} + p.GetHTMLURL() + p = &PendingDeploymentEnvironment{} + p.GetHTMLURL() + p = nil + p.GetHTMLURL() } -func TestUpdateReleaseAssetRequest_GetState(tt *testing.T) { +func TestPendingDeploymentEnvironment_GetID(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateReleaseAssetRequest{State: &zeroValue} - u.GetState() - u = &UpdateReleaseAssetRequest{} - u.GetState() - u = nil - u.GetState() + var zeroValue int64 + p := &PendingDeploymentEnvironment{ID: &zeroValue} + p.GetID() + p = &PendingDeploymentEnvironment{} + p.GetID() + p = nil + p.GetID() } -func TestUpdateReleaseRequest_GetBody(tt *testing.T) { +func TestPendingDeploymentEnvironment_GetName(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateReleaseRequest{Body: &zeroValue} - u.GetBody() - u = &UpdateReleaseRequest{} - u.GetBody() - u = nil - u.GetBody() + p := &PendingDeploymentEnvironment{Name: &zeroValue} + p.GetName() + p = &PendingDeploymentEnvironment{} + p.GetName() + p = nil + p.GetName() } -func TestUpdateReleaseRequest_GetDiscussionCategoryName(tt *testing.T) { +func TestPendingDeploymentEnvironment_GetNodeID(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateReleaseRequest{DiscussionCategoryName: &zeroValue} - u.GetDiscussionCategoryName() - u = &UpdateReleaseRequest{} - u.GetDiscussionCategoryName() - u = nil - u.GetDiscussionCategoryName() + p := &PendingDeploymentEnvironment{NodeID: &zeroValue} + p.GetNodeID() + p = &PendingDeploymentEnvironment{} + p.GetNodeID() + p = nil + p.GetNodeID() } -func TestUpdateReleaseRequest_GetDraft(tt *testing.T) { +func TestPendingDeploymentEnvironment_GetURL(tt *testing.T) { tt.Parallel() - var zeroValue bool - u := &UpdateReleaseRequest{Draft: &zeroValue} - u.GetDraft() - u = &UpdateReleaseRequest{} - u.GetDraft() - u = nil - u.GetDraft() + var zeroValue string + p := &PendingDeploymentEnvironment{URL: &zeroValue} + p.GetURL() + p = &PendingDeploymentEnvironment{} + p.GetURL() + p = nil + p.GetURL() } -func TestUpdateReleaseRequest_GetMakeLatest(tt *testing.T) { +func TestPendingDeploymentsRequest_GetComment(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateReleaseRequest{MakeLatest: &zeroValue} - u.GetMakeLatest() - u = &UpdateReleaseRequest{} - u.GetMakeLatest() - u = nil - u.GetMakeLatest() + p := &PendingDeploymentsRequest{} + p.GetComment() + p = nil + p.GetComment() } -func TestUpdateReleaseRequest_GetName(tt *testing.T) { +func TestPendingDeploymentsRequest_GetEnvironmentIDs(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateReleaseRequest{Name: &zeroValue} - u.GetName() - u = &UpdateReleaseRequest{} - u.GetName() - u = nil - u.GetName() + zeroValue := []int64{} + p := &PendingDeploymentsRequest{EnvironmentIDs: zeroValue} + p.GetEnvironmentIDs() + p = &PendingDeploymentsRequest{} + p.GetEnvironmentIDs() + p = nil + p.GetEnvironmentIDs() } -func TestUpdateReleaseRequest_GetPrerelease(tt *testing.T) { +func TestPendingDeploymentsRequest_GetState(tt *testing.T) { tt.Parallel() - var zeroValue bool - u := &UpdateReleaseRequest{Prerelease: &zeroValue} - u.GetPrerelease() - u = &UpdateReleaseRequest{} - u.GetPrerelease() - u = nil - u.GetPrerelease() + p := &PendingDeploymentsRequest{} + p.GetState() + p = nil + p.GetState() } -func TestUpdateReleaseRequest_GetTagName(tt *testing.T) { +func TestPersonalAccessToken_GetAccessGrantedAt(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateReleaseRequest{TagName: &zeroValue} - u.GetTagName() - u = &UpdateReleaseRequest{} - u.GetTagName() - u = nil - u.GetTagName() + var zeroValue Timestamp + p := &PersonalAccessToken{AccessGrantedAt: &zeroValue} + p.GetAccessGrantedAt() + p = &PersonalAccessToken{} + p.GetAccessGrantedAt() + p = nil + p.GetAccessGrantedAt() } -func TestUpdateReleaseRequest_GetTargetCommitish(tt *testing.T) { +func TestPersonalAccessToken_GetID(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateReleaseRequest{TargetCommitish: &zeroValue} - u.GetTargetCommitish() - u = &UpdateReleaseRequest{} - u.GetTargetCommitish() - u = nil - u.GetTargetCommitish() + var zeroValue int64 + p := &PersonalAccessToken{ID: &zeroValue} + p.GetID() + p = &PersonalAccessToken{} + p.GetID() + p = nil + p.GetID() } -func TestUpdateRuleParameters_GetUpdateAllowsFetchAndMerge(tt *testing.T) { +func TestPersonalAccessToken_GetOwner(tt *testing.T) { tt.Parallel() - u := &UpdateRuleParameters{} - u.GetUpdateAllowsFetchAndMerge() - u = nil - u.GetUpdateAllowsFetchAndMerge() + p := &PersonalAccessToken{} + p.GetOwner() + p = nil + p.GetOwner() } -func TestUpdateRunnerGroupRequest_GetAllowsPublicRepositories(tt *testing.T) { +func TestPersonalAccessToken_GetPermissions(tt *testing.T) { tt.Parallel() - var zeroValue bool - u := &UpdateRunnerGroupRequest{AllowsPublicRepositories: &zeroValue} - u.GetAllowsPublicRepositories() - u = &UpdateRunnerGroupRequest{} - u.GetAllowsPublicRepositories() - u = nil - u.GetAllowsPublicRepositories() + p := &PersonalAccessToken{} + p.GetPermissions() + p = nil + p.GetPermissions() } -func TestUpdateRunnerGroupRequest_GetName(tt *testing.T) { +func TestPersonalAccessToken_GetRepositoriesURL(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateRunnerGroupRequest{Name: &zeroValue} - u.GetName() - u = &UpdateRunnerGroupRequest{} - u.GetName() - u = nil - u.GetName() + p := &PersonalAccessToken{RepositoriesURL: &zeroValue} + p.GetRepositoriesURL() + p = &PersonalAccessToken{} + p.GetRepositoriesURL() + p = nil + p.GetRepositoriesURL() } -func TestUpdateRunnerGroupRequest_GetNetworkConfigurationID(tt *testing.T) { +func TestPersonalAccessToken_GetRepositorySelection(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateRunnerGroupRequest{NetworkConfigurationID: &zeroValue} - u.GetNetworkConfigurationID() - u = &UpdateRunnerGroupRequest{} - u.GetNetworkConfigurationID() - u = nil - u.GetNetworkConfigurationID() + p := &PersonalAccessToken{RepositorySelection: &zeroValue} + p.GetRepositorySelection() + p = &PersonalAccessToken{} + p.GetRepositorySelection() + p = nil + p.GetRepositorySelection() } -func TestUpdateRunnerGroupRequest_GetRestrictedToWorkflows(tt *testing.T) { +func TestPersonalAccessToken_GetTokenExpired(tt *testing.T) { tt.Parallel() var zeroValue bool - u := &UpdateRunnerGroupRequest{RestrictedToWorkflows: &zeroValue} - u.GetRestrictedToWorkflows() - u = &UpdateRunnerGroupRequest{} - u.GetRestrictedToWorkflows() - u = nil - 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() + p := &PersonalAccessToken{TokenExpired: &zeroValue} + p.GetTokenExpired() + p = &PersonalAccessToken{} + p.GetTokenExpired() + p = nil + p.GetTokenExpired() } -func TestUpdateRunnerGroupRequest_GetVisibility(tt *testing.T) { +func TestPersonalAccessToken_GetTokenExpiresAt(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateRunnerGroupRequest{Visibility: &zeroValue} - u.GetVisibility() - u = &UpdateRunnerGroupRequest{} - u.GetVisibility() - u = nil - u.GetVisibility() + var zeroValue Timestamp + p := &PersonalAccessToken{TokenExpiresAt: &zeroValue} + p.GetTokenExpiresAt() + p = &PersonalAccessToken{} + p.GetTokenExpiresAt() + p = nil + p.GetTokenExpiresAt() } -func TestUpdateTeamLDAPMappingRequest_GetLDAPDN(tt *testing.T) { +func TestPersonalAccessToken_GetTokenID(tt *testing.T) { tt.Parallel() - u := &UpdateTeamLDAPMappingRequest{} - u.GetLDAPDN() - u = nil - u.GetLDAPDN() + var zeroValue int64 + p := &PersonalAccessToken{TokenID: &zeroValue} + p.GetTokenID() + p = &PersonalAccessToken{} + p.GetTokenID() + p = nil + p.GetTokenID() } -func TestUpdateTeamRequest_GetDescription(tt *testing.T) { +func TestPersonalAccessToken_GetTokenLastUsedAt(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateTeamRequest{Description: &zeroValue} - u.GetDescription() - u = &UpdateTeamRequest{} - u.GetDescription() - u = nil - u.GetDescription() + var zeroValue Timestamp + p := &PersonalAccessToken{TokenLastUsedAt: &zeroValue} + p.GetTokenLastUsedAt() + p = &PersonalAccessToken{} + p.GetTokenLastUsedAt() + p = nil + p.GetTokenLastUsedAt() } -func TestUpdateTeamRequest_GetName(tt *testing.T) { +func TestPersonalAccessToken_GetTokenName(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UpdateTeamRequest{Name: &zeroValue} - u.GetName() - u = &UpdateTeamRequest{} - u.GetName() - u = nil - u.GetName() + p := &PersonalAccessToken{TokenName: &zeroValue} + p.GetTokenName() + p = &PersonalAccessToken{} + p.GetTokenName() + p = nil + p.GetTokenName() } -func TestUpdateTeamRequest_GetNotificationSetting(tt *testing.T) { +func TestPersonalAccessTokenPermissions_GetOrg(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateTeamRequest{NotificationSetting: &zeroValue} - u.GetNotificationSetting() - u = &UpdateTeamRequest{} - u.GetNotificationSetting() - u = nil - u.GetNotificationSetting() + zeroValue := map[string]string{} + p := &PersonalAccessTokenPermissions{Org: zeroValue} + p.GetOrg() + p = &PersonalAccessTokenPermissions{} + p.GetOrg() + p = nil + p.GetOrg() } -func TestUpdateTeamRequest_GetParentTeamID(tt *testing.T) { +func TestPersonalAccessTokenPermissions_GetOther(tt *testing.T) { tt.Parallel() - var zeroValue int64 - u := &UpdateTeamRequest{ParentTeamID: &zeroValue} - u.GetParentTeamID() - u = &UpdateTeamRequest{} - u.GetParentTeamID() - u = nil - u.GetParentTeamID() + zeroValue := map[string]string{} + p := &PersonalAccessTokenPermissions{Other: zeroValue} + p.GetOther() + p = &PersonalAccessTokenPermissions{} + p.GetOther() + p = nil + p.GetOther() } -func TestUpdateTeamRequest_GetParentTeamSlug(tt *testing.T) { +func TestPersonalAccessTokenPermissions_GetRepo(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateTeamRequest{ParentTeamSlug: &zeroValue} - u.GetParentTeamSlug() - u = &UpdateTeamRequest{} - u.GetParentTeamSlug() - u = nil - u.GetParentTeamSlug() + zeroValue := map[string]string{} + p := &PersonalAccessTokenPermissions{Repo: zeroValue} + p.GetRepo() + p = &PersonalAccessTokenPermissions{} + p.GetRepo() + p = nil + p.GetRepo() } -func TestUpdateTeamRequest_GetPermission(tt *testing.T) { +func TestPersonalAccessTokenRequest_GetCreatedAt(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateTeamRequest{Permission: &zeroValue} - u.GetPermission() - u = &UpdateTeamRequest{} - u.GetPermission() - u = nil - u.GetPermission() + var zeroValue Timestamp + p := &PersonalAccessTokenRequest{CreatedAt: &zeroValue} + p.GetCreatedAt() + p = &PersonalAccessTokenRequest{} + p.GetCreatedAt() + p = nil + p.GetCreatedAt() } -func TestUpdateTeamRequest_GetPrivacy(tt *testing.T) { +func TestPersonalAccessTokenRequest_GetID(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UpdateTeamRequest{Privacy: &zeroValue} - u.GetPrivacy() - u = &UpdateTeamRequest{} - u.GetPrivacy() - u = nil - u.GetPrivacy() + var zeroValue int64 + p := &PersonalAccessTokenRequest{ID: &zeroValue} + p.GetID() + p = &PersonalAccessTokenRequest{} + p.GetID() + p = nil + p.GetID() } -func TestUpdateTeamRequest_GetRemoveParentTeam(tt *testing.T) { +func TestPersonalAccessTokenRequest_GetOrg(tt *testing.T) { tt.Parallel() - u := &UpdateTeamRequest{} - u.GetRemoveParentTeam() - u = nil - u.GetRemoveParentTeam() + p := &PersonalAccessTokenRequest{} + p.GetOrg() + p = nil + p.GetOrg() } -func TestUpdateUserLDAPMappingRequest_GetLDAPDN(tt *testing.T) { +func TestPersonalAccessTokenRequest_GetOwner(tt *testing.T) { tt.Parallel() - u := &UpdateUserLDAPMappingRequest{} - u.GetLDAPDN() - u = nil - u.GetLDAPDN() + p := &PersonalAccessTokenRequest{} + p.GetOwner() + p = nil + p.GetOwner() } -func TestUploadLicenseOptions_GetLicense(tt *testing.T) { +func TestPersonalAccessTokenRequest_GetPermissionsAdded(tt *testing.T) { tt.Parallel() - u := &UploadLicenseOptions{} - u.GetLicense() - u = nil - u.GetLicense() + p := &PersonalAccessTokenRequest{} + p.GetPermissionsAdded() + p = nil + p.GetPermissionsAdded() } -func TestUploadOptions_GetLabel(tt *testing.T) { +func TestPersonalAccessTokenRequest_GetPermissionsResult(tt *testing.T) { tt.Parallel() - u := &UploadOptions{} - u.GetLabel() - u = nil - u.GetLabel() + p := &PersonalAccessTokenRequest{} + p.GetPermissionsResult() + p = nil + p.GetPermissionsResult() } -func TestUploadOptions_GetMediaType(tt *testing.T) { +func TestPersonalAccessTokenRequest_GetPermissionsUpgraded(tt *testing.T) { tt.Parallel() - u := &UploadOptions{} - u.GetMediaType() - u = nil - u.GetMediaType() + p := &PersonalAccessTokenRequest{} + p.GetPermissionsUpgraded() + p = nil + p.GetPermissionsUpgraded() } -func TestUploadOptions_GetName(tt *testing.T) { +func TestPersonalAccessTokenRequest_GetRepositories(tt *testing.T) { tt.Parallel() - u := &UploadOptions{} - u.GetName() - u = nil - u.GetName() + zeroValue := []*Repository{} + p := &PersonalAccessTokenRequest{Repositories: zeroValue} + p.GetRepositories() + p = &PersonalAccessTokenRequest{} + p.GetRepositories() + p = nil + p.GetRepositories() } -func TestUsageItem_GetDate(tt *testing.T) { +func TestPersonalAccessTokenRequest_GetRepositoryCount(tt *testing.T) { tt.Parallel() - u := &UsageItem{} - u.GetDate() - u = nil - u.GetDate() + var zeroValue int64 + p := &PersonalAccessTokenRequest{RepositoryCount: &zeroValue} + p.GetRepositoryCount() + p = &PersonalAccessTokenRequest{} + p.GetRepositoryCount() + p = nil + p.GetRepositoryCount() } -func TestUsageItem_GetDiscountAmount(tt *testing.T) { +func TestPersonalAccessTokenRequest_GetRepositorySelection(tt *testing.T) { tt.Parallel() - u := &UsageItem{} - u.GetDiscountAmount() - u = nil - u.GetDiscountAmount() + var zeroValue string + p := &PersonalAccessTokenRequest{RepositorySelection: &zeroValue} + p.GetRepositorySelection() + p = &PersonalAccessTokenRequest{} + p.GetRepositorySelection() + p = nil + p.GetRepositorySelection() } -func TestUsageItem_GetGrossAmount(tt *testing.T) { +func TestPersonalAccessTokenRequest_GetTokenExpired(tt *testing.T) { tt.Parallel() - u := &UsageItem{} - u.GetGrossAmount() - u = nil - u.GetGrossAmount() + var zeroValue bool + p := &PersonalAccessTokenRequest{TokenExpired: &zeroValue} + p.GetTokenExpired() + p = &PersonalAccessTokenRequest{} + p.GetTokenExpired() + p = nil + p.GetTokenExpired() } -func TestUsageItem_GetNetAmount(tt *testing.T) { +func TestPersonalAccessTokenRequest_GetTokenExpiresAt(tt *testing.T) { tt.Parallel() - u := &UsageItem{} - u.GetNetAmount() - u = nil - u.GetNetAmount() + var zeroValue Timestamp + p := &PersonalAccessTokenRequest{TokenExpiresAt: &zeroValue} + p.GetTokenExpiresAt() + p = &PersonalAccessTokenRequest{} + p.GetTokenExpiresAt() + p = nil + p.GetTokenExpiresAt() } -func TestUsageItem_GetOrganizationName(tt *testing.T) { +func TestPersonalAccessTokenRequest_GetTokenLastUsedAt(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UsageItem{OrganizationName: &zeroValue} - u.GetOrganizationName() - u = &UsageItem{} - u.GetOrganizationName() - u = nil - u.GetOrganizationName() + var zeroValue Timestamp + p := &PersonalAccessTokenRequest{TokenLastUsedAt: &zeroValue} + p.GetTokenLastUsedAt() + p = &PersonalAccessTokenRequest{} + p.GetTokenLastUsedAt() + p = nil + p.GetTokenLastUsedAt() } -func TestUsageItem_GetPricePerUnit(tt *testing.T) { +func TestPersonalAccessTokenRequestEvent_GetAction(tt *testing.T) { tt.Parallel() - u := &UsageItem{} - u.GetPricePerUnit() - u = nil - u.GetPricePerUnit() + var zeroValue string + p := &PersonalAccessTokenRequestEvent{Action: &zeroValue} + p.GetAction() + p = &PersonalAccessTokenRequestEvent{} + p.GetAction() + p = nil + p.GetAction() } -func TestUsageItem_GetProduct(tt *testing.T) { +func TestPersonalAccessTokenRequestEvent_GetInstallation(tt *testing.T) { tt.Parallel() - u := &UsageItem{} - u.GetProduct() - u = nil - u.GetProduct() + p := &PersonalAccessTokenRequestEvent{} + p.GetInstallation() + p = nil + p.GetInstallation() } -func TestUsageItem_GetQuantity(tt *testing.T) { +func TestPersonalAccessTokenRequestEvent_GetOrg(tt *testing.T) { tt.Parallel() - u := &UsageItem{} - u.GetQuantity() - u = nil - u.GetQuantity() + p := &PersonalAccessTokenRequestEvent{} + p.GetOrg() + p = nil + p.GetOrg() } -func TestUsageItem_GetRepositoryName(tt *testing.T) { +func TestPersonalAccessTokenRequestEvent_GetPersonalAccessTokenRequest(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UsageItem{RepositoryName: &zeroValue} - u.GetRepositoryName() - u = &UsageItem{} - u.GetRepositoryName() - u = nil - u.GetRepositoryName() + p := &PersonalAccessTokenRequestEvent{} + p.GetPersonalAccessTokenRequest() + p = nil + p.GetPersonalAccessTokenRequest() } -func TestUsageItem_GetSKU(tt *testing.T) { +func TestPersonalAccessTokenRequestEvent_GetSender(tt *testing.T) { tt.Parallel() - u := &UsageItem{} - u.GetSKU() - u = nil - u.GetSKU() + p := &PersonalAccessTokenRequestEvent{} + p.GetSender() + p = nil + p.GetSender() } -func TestUsageItem_GetUnitType(tt *testing.T) { +func TestPingEvent_GetHook(tt *testing.T) { tt.Parallel() - u := &UsageItem{} - u.GetUnitType() - u = nil - u.GetUnitType() + p := &PingEvent{} + p.GetHook() + p = nil + p.GetHook() } -func TestUsageReport_GetUsageItems(tt *testing.T) { +func TestPingEvent_GetHookID(tt *testing.T) { tt.Parallel() - zeroValue := []*UsageItem{} - u := &UsageReport{UsageItems: zeroValue} - u.GetUsageItems() - u = &UsageReport{} - u.GetUsageItems() - u = nil - u.GetUsageItems() + var zeroValue int64 + p := &PingEvent{HookID: &zeroValue} + p.GetHookID() + p = &PingEvent{} + p.GetHookID() + p = nil + p.GetHookID() } -func TestUsageReportOptions_GetDay(tt *testing.T) { +func TestPingEvent_GetInstallation(tt *testing.T) { tt.Parallel() - var zeroValue int - u := &UsageReportOptions{Day: &zeroValue} - u.GetDay() - u = &UsageReportOptions{} - u.GetDay() - u = nil - u.GetDay() + p := &PingEvent{} + p.GetInstallation() + p = nil + p.GetInstallation() } -func TestUsageReportOptions_GetHour(tt *testing.T) { +func TestPingEvent_GetOrg(tt *testing.T) { tt.Parallel() - var zeroValue int - u := &UsageReportOptions{Hour: &zeroValue} - u.GetHour() - u = &UsageReportOptions{} - u.GetHour() - u = nil - u.GetHour() + p := &PingEvent{} + p.GetOrg() + p = nil + p.GetOrg() } -func TestUsageReportOptions_GetMonth(tt *testing.T) { +func TestPingEvent_GetRepo(tt *testing.T) { tt.Parallel() - var zeroValue int - u := &UsageReportOptions{Month: &zeroValue} - u.GetMonth() - u = &UsageReportOptions{} - u.GetMonth() - u = nil - u.GetMonth() + p := &PingEvent{} + p.GetRepo() + p = nil + p.GetRepo() } -func TestUsageReportOptions_GetYear(tt *testing.T) { +func TestPingEvent_GetSender(tt *testing.T) { tt.Parallel() - var zeroValue int - u := &UsageReportOptions{Year: &zeroValue} - u.GetYear() - u = &UsageReportOptions{} - u.GetYear() - u = nil - u.GetYear() + p := &PingEvent{} + p.GetSender() + p = nil + p.GetSender() } -func TestUser_GetAssignment(tt *testing.T) { +func TestPingEvent_GetZen(tt *testing.T) { tt.Parallel() var zeroValue string - u := &User{Assignment: &zeroValue} - u.GetAssignment() - u = &User{} - u.GetAssignment() - u = nil - u.GetAssignment() + p := &PingEvent{Zen: &zeroValue} + p.GetZen() + p = &PingEvent{} + p.GetZen() + p = nil + p.GetZen() } -func TestUser_GetAvatarURL(tt *testing.T) { +func TestPinnedIssueComment_GetPinnedAt(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &User{AvatarURL: &zeroValue} - u.GetAvatarURL() - u = &User{} - u.GetAvatarURL() - u = nil - u.GetAvatarURL() + var zeroValue Timestamp + p := &PinnedIssueComment{PinnedAt: &zeroValue} + p.GetPinnedAt() + p = &PinnedIssueComment{} + p.GetPinnedAt() + p = nil + p.GetPinnedAt() } -func TestUser_GetBio(tt *testing.T) { +func TestPinnedIssueComment_GetPinnedBy(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &User{Bio: &zeroValue} - u.GetBio() - u = &User{} - u.GetBio() - u = nil - u.GetBio() + p := &PinnedIssueComment{} + p.GetPinnedBy() + p = nil + p.GetPinnedBy() } -func TestUser_GetBlog(tt *testing.T) { +func TestPlan_GetCollaborators(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &User{Blog: &zeroValue} - u.GetBlog() - u = &User{} - u.GetBlog() - u = nil - u.GetBlog() + var zeroValue int + p := &Plan{Collaborators: &zeroValue} + p.GetCollaborators() + p = &Plan{} + p.GetCollaborators() + p = nil + p.GetCollaborators() } -func TestUser_GetBusinessPlus(tt *testing.T) { +func TestPlan_GetFilledSeats(tt *testing.T) { tt.Parallel() - var zeroValue bool - u := &User{BusinessPlus: &zeroValue} - u.GetBusinessPlus() - u = &User{} - u.GetBusinessPlus() - u = nil - u.GetBusinessPlus() + var zeroValue int + p := &Plan{FilledSeats: &zeroValue} + p.GetFilledSeats() + p = &Plan{} + p.GetFilledSeats() + p = nil + p.GetFilledSeats() } -func TestUser_GetCollaborators(tt *testing.T) { +func TestPlan_GetName(tt *testing.T) { tt.Parallel() - var zeroValue int - u := &User{Collaborators: &zeroValue} - u.GetCollaborators() - u = &User{} - u.GetCollaborators() - u = nil - u.GetCollaborators() + var zeroValue string + p := &Plan{Name: &zeroValue} + p.GetName() + p = &Plan{} + p.GetName() + p = nil + p.GetName() } -func TestUser_GetCompany(tt *testing.T) { +func TestPlan_GetPrivateRepos(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &User{Company: &zeroValue} - u.GetCompany() - u = &User{} - u.GetCompany() - u = nil - u.GetCompany() + var zeroValue int64 + p := &Plan{PrivateRepos: &zeroValue} + p.GetPrivateRepos() + p = &Plan{} + p.GetPrivateRepos() + p = nil + p.GetPrivateRepos() } -func TestUser_GetCreatedAt(tt *testing.T) { +func TestPlan_GetSeats(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - u := &User{CreatedAt: &zeroValue} - u.GetCreatedAt() - u = &User{} - u.GetCreatedAt() - u = nil - u.GetCreatedAt() + var zeroValue int + p := &Plan{Seats: &zeroValue} + p.GetSeats() + p = &Plan{} + p.GetSeats() + p = nil + p.GetSeats() } -func TestUser_GetDiskUsage(tt *testing.T) { +func TestPlan_GetSpace(tt *testing.T) { tt.Parallel() var zeroValue int - u := &User{DiskUsage: &zeroValue} - u.GetDiskUsage() - u = &User{} - u.GetDiskUsage() - u = nil - u.GetDiskUsage() + p := &Plan{Space: &zeroValue} + p.GetSpace() + p = &Plan{} + p.GetSpace() + p = nil + p.GetSpace() } -func TestUser_GetEmail(tt *testing.T) { +func TestPreferenceList_GetAutoTriggerChecks(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &User{Email: &zeroValue} - u.GetEmail() - u = &User{} - u.GetEmail() - u = nil - u.GetEmail() + zeroValue := []*AutoTriggerCheck{} + p := &PreferenceList{AutoTriggerChecks: zeroValue} + p.GetAutoTriggerChecks() + p = &PreferenceList{} + p.GetAutoTriggerChecks() + p = nil + p.GetAutoTriggerChecks() } -func TestUser_GetEventsURL(tt *testing.T) { +func TestPremiumRequestUsageItem_GetDiscountAmount(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &User{EventsURL: &zeroValue} - u.GetEventsURL() - u = &User{} - u.GetEventsURL() - u = nil - u.GetEventsURL() + p := &PremiumRequestUsageItem{} + p.GetDiscountAmount() + p = nil + p.GetDiscountAmount() } -func TestUser_GetFollowers(tt *testing.T) { +func TestPremiumRequestUsageItem_GetDiscountQuantity(tt *testing.T) { tt.Parallel() - var zeroValue int - u := &User{Followers: &zeroValue} - u.GetFollowers() - u = &User{} - u.GetFollowers() - u = nil - u.GetFollowers() + p := &PremiumRequestUsageItem{} + p.GetDiscountQuantity() + p = nil + p.GetDiscountQuantity() } -func TestUser_GetFollowersURL(tt *testing.T) { +func TestPremiumRequestUsageItem_GetGrossAmount(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &User{FollowersURL: &zeroValue} - u.GetFollowersURL() - u = &User{} - u.GetFollowersURL() - u = nil - u.GetFollowersURL() + p := &PremiumRequestUsageItem{} + p.GetGrossAmount() + p = nil + p.GetGrossAmount() } -func TestUser_GetFollowing(tt *testing.T) { +func TestPremiumRequestUsageItem_GetGrossQuantity(tt *testing.T) { tt.Parallel() - var zeroValue int - u := &User{Following: &zeroValue} - u.GetFollowing() - u = &User{} - u.GetFollowing() - u = nil - u.GetFollowing() + p := &PremiumRequestUsageItem{} + p.GetGrossQuantity() + p = nil + p.GetGrossQuantity() } -func TestUser_GetFollowingURL(tt *testing.T) { +func TestPremiumRequestUsageItem_GetModel(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &User{FollowingURL: &zeroValue} - u.GetFollowingURL() - u = &User{} - u.GetFollowingURL() - u = nil - u.GetFollowingURL() + p := &PremiumRequestUsageItem{} + p.GetModel() + p = nil + p.GetModel() } -func TestUser_GetGistsURL(tt *testing.T) { +func TestPremiumRequestUsageItem_GetNetAmount(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &User{GistsURL: &zeroValue} - u.GetGistsURL() - u = &User{} - u.GetGistsURL() - u = nil - u.GetGistsURL() + p := &PremiumRequestUsageItem{} + p.GetNetAmount() + p = nil + p.GetNetAmount() } -func TestUser_GetGravatarID(tt *testing.T) { +func TestPremiumRequestUsageItem_GetNetQuantity(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &User{GravatarID: &zeroValue} - u.GetGravatarID() - u = &User{} - u.GetGravatarID() - u = nil - u.GetGravatarID() + p := &PremiumRequestUsageItem{} + p.GetNetQuantity() + p = nil + p.GetNetQuantity() } -func TestUser_GetHireable(tt *testing.T) { +func TestPremiumRequestUsageItem_GetPricePerUnit(tt *testing.T) { tt.Parallel() - var zeroValue bool - u := &User{Hireable: &zeroValue} - u.GetHireable() - u = &User{} - u.GetHireable() - u = nil - u.GetHireable() + p := &PremiumRequestUsageItem{} + p.GetPricePerUnit() + p = nil + p.GetPricePerUnit() } -func TestUser_GetHTMLURL(tt *testing.T) { +func TestPremiumRequestUsageItem_GetProduct(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &User{HTMLURL: &zeroValue} - u.GetHTMLURL() - u = &User{} - u.GetHTMLURL() - u = nil - u.GetHTMLURL() + p := &PremiumRequestUsageItem{} + p.GetProduct() + p = nil + p.GetProduct() } -func TestUser_GetID(tt *testing.T) { +func TestPremiumRequestUsageItem_GetSKU(tt *testing.T) { tt.Parallel() - var zeroValue int64 - u := &User{ID: &zeroValue} - u.GetID() - u = &User{} - u.GetID() - u = nil - u.GetID() + p := &PremiumRequestUsageItem{} + p.GetSKU() + p = nil + p.GetSKU() } -func TestUser_GetInherited(tt *testing.T) { +func TestPremiumRequestUsageItem_GetUnitType(tt *testing.T) { tt.Parallel() - var zeroValue bool - u := &User{Inherited: &zeroValue} - u.GetInherited() - u = &User{} - u.GetInherited() - u = nil - u.GetInherited() + p := &PremiumRequestUsageItem{} + p.GetUnitType() + p = nil + p.GetUnitType() } -func TestUser_GetInheritedFrom(tt *testing.T) { +func TestPremiumRequestUsageReport_GetModel(tt *testing.T) { tt.Parallel() - zeroValue := []*Team{} - u := &User{InheritedFrom: zeroValue} - u.GetInheritedFrom() - u = &User{} - u.GetInheritedFrom() - u = nil - u.GetInheritedFrom() + var zeroValue string + p := &PremiumRequestUsageReport{Model: &zeroValue} + p.GetModel() + p = &PremiumRequestUsageReport{} + p.GetModel() + p = nil + p.GetModel() } -func TestUser_GetLdapDn(tt *testing.T) { +func TestPremiumRequestUsageReport_GetOrganization(tt *testing.T) { tt.Parallel() var zeroValue string - u := &User{LdapDn: &zeroValue} - u.GetLdapDn() - u = &User{} - u.GetLdapDn() - u = nil - u.GetLdapDn() + p := &PremiumRequestUsageReport{Organization: &zeroValue} + p.GetOrganization() + p = &PremiumRequestUsageReport{} + p.GetOrganization() + p = nil + p.GetOrganization() } -func TestUser_GetLocation(tt *testing.T) { +func TestPremiumRequestUsageReport_GetProduct(tt *testing.T) { tt.Parallel() var zeroValue string - u := &User{Location: &zeroValue} - u.GetLocation() - u = &User{} - u.GetLocation() - u = nil - u.GetLocation() + p := &PremiumRequestUsageReport{Product: &zeroValue} + p.GetProduct() + p = &PremiumRequestUsageReport{} + p.GetProduct() + p = nil + p.GetProduct() } -func TestUser_GetLogin(tt *testing.T) { +func TestPremiumRequestUsageReport_GetTimePeriod(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &User{Login: &zeroValue} - u.GetLogin() - u = &User{} - u.GetLogin() - u = nil - u.GetLogin() + p := &PremiumRequestUsageReport{} + p.GetTimePeriod() + p = nil + p.GetTimePeriod() } -func TestUser_GetName(tt *testing.T) { +func TestPremiumRequestUsageReport_GetUsageItems(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &User{Name: &zeroValue} - u.GetName() - u = &User{} - u.GetName() - u = nil - u.GetName() + zeroValue := []*PremiumRequestUsageItem{} + p := &PremiumRequestUsageReport{UsageItems: zeroValue} + p.GetUsageItems() + p = &PremiumRequestUsageReport{} + p.GetUsageItems() + p = nil + p.GetUsageItems() } -func TestUser_GetNodeID(tt *testing.T) { +func TestPremiumRequestUsageReport_GetUser(tt *testing.T) { tt.Parallel() var zeroValue string - u := &User{NodeID: &zeroValue} - u.GetNodeID() - u = &User{} - u.GetNodeID() - u = nil - u.GetNodeID() + p := &PremiumRequestUsageReport{User: &zeroValue} + p.GetUser() + p = &PremiumRequestUsageReport{} + p.GetUser() + p = nil + p.GetUser() } -func TestUser_GetNotificationEmail(tt *testing.T) { +func TestPremiumRequestUsageReportOptions_GetDay(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &User{NotificationEmail: &zeroValue} - u.GetNotificationEmail() - u = &User{} - u.GetNotificationEmail() - u = nil - u.GetNotificationEmail() + var zeroValue int + p := &PremiumRequestUsageReportOptions{Day: &zeroValue} + p.GetDay() + p = &PremiumRequestUsageReportOptions{} + p.GetDay() + p = nil + p.GetDay() } -func TestUser_GetOrganizationsURL(tt *testing.T) { +func TestPremiumRequestUsageReportOptions_GetModel(tt *testing.T) { tt.Parallel() var zeroValue string - u := &User{OrganizationsURL: &zeroValue} - u.GetOrganizationsURL() - u = &User{} - u.GetOrganizationsURL() - u = nil - u.GetOrganizationsURL() + p := &PremiumRequestUsageReportOptions{Model: &zeroValue} + p.GetModel() + p = &PremiumRequestUsageReportOptions{} + p.GetModel() + p = nil + p.GetModel() } -func TestUser_GetOwnedPrivateRepos(tt *testing.T) { +func TestPremiumRequestUsageReportOptions_GetMonth(tt *testing.T) { tt.Parallel() - var zeroValue int64 - u := &User{OwnedPrivateRepos: &zeroValue} - u.GetOwnedPrivateRepos() - u = &User{} - u.GetOwnedPrivateRepos() - u = nil - u.GetOwnedPrivateRepos() + var zeroValue int + p := &PremiumRequestUsageReportOptions{Month: &zeroValue} + p.GetMonth() + p = &PremiumRequestUsageReportOptions{} + p.GetMonth() + p = nil + p.GetMonth() } -func TestUser_GetPermissions(tt *testing.T) { +func TestPremiumRequestUsageReportOptions_GetProduct(tt *testing.T) { tt.Parallel() - u := &User{} - u.GetPermissions() - u = nil - u.GetPermissions() + var zeroValue string + p := &PremiumRequestUsageReportOptions{Product: &zeroValue} + p.GetProduct() + p = &PremiumRequestUsageReportOptions{} + p.GetProduct() + p = nil + p.GetProduct() } -func TestUser_GetPlan(tt *testing.T) { +func TestPremiumRequestUsageReportOptions_GetUser(tt *testing.T) { tt.Parallel() - u := &User{} - u.GetPlan() - u = nil - u.GetPlan() + var zeroValue string + p := &PremiumRequestUsageReportOptions{User: &zeroValue} + p.GetUser() + p = &PremiumRequestUsageReportOptions{} + p.GetUser() + p = nil + p.GetUser() } -func TestUser_GetPrivateGists(tt *testing.T) { +func TestPremiumRequestUsageReportOptions_GetYear(tt *testing.T) { tt.Parallel() var zeroValue int - u := &User{PrivateGists: &zeroValue} - u.GetPrivateGists() - u = &User{} - u.GetPrivateGists() - u = nil - u.GetPrivateGists() + p := &PremiumRequestUsageReportOptions{Year: &zeroValue} + p.GetYear() + p = &PremiumRequestUsageReportOptions{} + p.GetYear() + p = nil + p.GetYear() } -func TestUser_GetPublicGists(tt *testing.T) { +func TestPremiumRequestUsageTimePeriod_GetDay(tt *testing.T) { tt.Parallel() var zeroValue int - u := &User{PublicGists: &zeroValue} - u.GetPublicGists() - u = &User{} - u.GetPublicGists() - u = nil - u.GetPublicGists() + p := &PremiumRequestUsageTimePeriod{Day: &zeroValue} + p.GetDay() + p = &PremiumRequestUsageTimePeriod{} + p.GetDay() + p = nil + p.GetDay() } -func TestUser_GetPublicRepos(tt *testing.T) { +func TestPremiumRequestUsageTimePeriod_GetMonth(tt *testing.T) { tt.Parallel() var zeroValue int - u := &User{PublicRepos: &zeroValue} - u.GetPublicRepos() - u = &User{} - u.GetPublicRepos() - u = nil - u.GetPublicRepos() -} - -func TestUser_GetReceivedEventsURL(tt *testing.T) { - tt.Parallel() - var zeroValue string - u := &User{ReceivedEventsURL: &zeroValue} - u.GetReceivedEventsURL() - u = &User{} - u.GetReceivedEventsURL() - u = nil - u.GetReceivedEventsURL() + p := &PremiumRequestUsageTimePeriod{Month: &zeroValue} + p.GetMonth() + p = &PremiumRequestUsageTimePeriod{} + p.GetMonth() + p = nil + p.GetMonth() } -func TestUser_GetReposURL(tt *testing.T) { +func TestPremiumRequestUsageTimePeriod_GetYear(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &User{ReposURL: &zeroValue} - u.GetReposURL() - u = &User{} - u.GetReposURL() - u = nil - u.GetReposURL() + p := &PremiumRequestUsageTimePeriod{} + p.GetYear() + p = nil + p.GetYear() } -func TestUser_GetRole(tt *testing.T) { +func TestPreReceiveHook_GetConfigURL(tt *testing.T) { tt.Parallel() var zeroValue string - u := &User{Role: &zeroValue} - u.GetRole() - u = &User{} - u.GetRole() - u = nil - u.GetRole() + p := &PreReceiveHook{ConfigURL: &zeroValue} + p.GetConfigURL() + p = &PreReceiveHook{} + p.GetConfigURL() + p = nil + p.GetConfigURL() } -func TestUser_GetRoleName(tt *testing.T) { +func TestPreReceiveHook_GetEnforcement(tt *testing.T) { tt.Parallel() var zeroValue string - u := &User{RoleName: &zeroValue} - u.GetRoleName() - u = &User{} - u.GetRoleName() - u = nil - u.GetRoleName() + p := &PreReceiveHook{Enforcement: &zeroValue} + p.GetEnforcement() + p = &PreReceiveHook{} + p.GetEnforcement() + p = nil + p.GetEnforcement() } -func TestUser_GetSiteAdmin(tt *testing.T) { +func TestPreReceiveHook_GetID(tt *testing.T) { tt.Parallel() - var zeroValue bool - u := &User{SiteAdmin: &zeroValue} - u.GetSiteAdmin() - u = &User{} - u.GetSiteAdmin() - u = nil - u.GetSiteAdmin() + var zeroValue int64 + p := &PreReceiveHook{ID: &zeroValue} + p.GetID() + p = &PreReceiveHook{} + p.GetID() + p = nil + p.GetID() } -func TestUser_GetStarredURL(tt *testing.T) { +func TestPreReceiveHook_GetName(tt *testing.T) { tt.Parallel() var zeroValue string - u := &User{StarredURL: &zeroValue} - u.GetStarredURL() - u = &User{} - u.GetStarredURL() - u = nil - u.GetStarredURL() + p := &PreReceiveHook{Name: &zeroValue} + p.GetName() + p = &PreReceiveHook{} + p.GetName() + p = nil + p.GetName() } -func TestUser_GetSubscriptionsURL(tt *testing.T) { +func TestPrivateRegistries_GetConfigurations(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &User{SubscriptionsURL: &zeroValue} - u.GetSubscriptionsURL() - u = &User{} - u.GetSubscriptionsURL() - u = nil - u.GetSubscriptionsURL() + zeroValue := []*PrivateRegistry{} + p := &PrivateRegistries{Configurations: zeroValue} + p.GetConfigurations() + p = &PrivateRegistries{} + p.GetConfigurations() + p = nil + p.GetConfigurations() } -func TestUser_GetSuspendedAt(tt *testing.T) { +func TestPrivateRegistries_GetTotalCount(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - u := &User{SuspendedAt: &zeroValue} - u.GetSuspendedAt() - u = &User{} - u.GetSuspendedAt() - u = nil - u.GetSuspendedAt() + var zeroValue int + p := &PrivateRegistries{TotalCount: &zeroValue} + p.GetTotalCount() + p = &PrivateRegistries{} + p.GetTotalCount() + p = nil + p.GetTotalCount() } -func TestUser_GetTextMatches(tt *testing.T) { +func TestPrivateRegistry_GetAccountID(tt *testing.T) { tt.Parallel() - zeroValue := []*TextMatch{} - u := &User{TextMatches: zeroValue} - u.GetTextMatches() - u = &User{} - u.GetTextMatches() - u = nil - u.GetTextMatches() + var zeroValue string + p := &PrivateRegistry{AccountID: &zeroValue} + p.GetAccountID() + p = &PrivateRegistry{} + p.GetAccountID() + p = nil + p.GetAccountID() } -func TestUser_GetTotalPrivateRepos(tt *testing.T) { +func TestPrivateRegistry_GetAudience(tt *testing.T) { tt.Parallel() - var zeroValue int64 - u := &User{TotalPrivateRepos: &zeroValue} - u.GetTotalPrivateRepos() - u = &User{} - u.GetTotalPrivateRepos() - u = nil - u.GetTotalPrivateRepos() + var zeroValue string + p := &PrivateRegistry{Audience: &zeroValue} + p.GetAudience() + p = &PrivateRegistry{} + p.GetAudience() + p = nil + p.GetAudience() } -func TestUser_GetTwitterUsername(tt *testing.T) { +func TestPrivateRegistry_GetAuthType(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &User{TwitterUsername: &zeroValue} - u.GetTwitterUsername() - u = &User{} - u.GetTwitterUsername() - u = nil - u.GetTwitterUsername() + p := &PrivateRegistry{} + p.GetAuthType() + p = nil + p.GetAuthType() } -func TestUser_GetTwoFactorAuthentication(tt *testing.T) { +func TestPrivateRegistry_GetAWSRegion(tt *testing.T) { tt.Parallel() - var zeroValue bool - u := &User{TwoFactorAuthentication: &zeroValue} - u.GetTwoFactorAuthentication() - u = &User{} - u.GetTwoFactorAuthentication() - u = nil - u.GetTwoFactorAuthentication() + var zeroValue string + p := &PrivateRegistry{AWSRegion: &zeroValue} + p.GetAWSRegion() + p = &PrivateRegistry{} + p.GetAWSRegion() + p = nil + p.GetAWSRegion() } -func TestUser_GetType(tt *testing.T) { +func TestPrivateRegistry_GetClientID(tt *testing.T) { tt.Parallel() var zeroValue string - u := &User{Type: &zeroValue} - u.GetType() - u = &User{} - u.GetType() - u = nil - u.GetType() + p := &PrivateRegistry{ClientID: &zeroValue} + p.GetClientID() + p = &PrivateRegistry{} + p.GetClientID() + p = nil + p.GetClientID() } -func TestUser_GetUpdatedAt(tt *testing.T) { +func TestPrivateRegistry_GetCreatedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp - u := &User{UpdatedAt: &zeroValue} - u.GetUpdatedAt() - u = &User{} - u.GetUpdatedAt() - u = nil - u.GetUpdatedAt() + p := &PrivateRegistry{CreatedAt: &zeroValue} + p.GetCreatedAt() + p = &PrivateRegistry{} + p.GetCreatedAt() + p = nil + p.GetCreatedAt() } -func TestUser_GetURL(tt *testing.T) { +func TestPrivateRegistry_GetDomain(tt *testing.T) { tt.Parallel() var zeroValue string - u := &User{URL: &zeroValue} - u.GetURL() - u = &User{} - u.GetURL() - u = nil - u.GetURL() + p := &PrivateRegistry{Domain: &zeroValue} + p.GetDomain() + p = &PrivateRegistry{} + p.GetDomain() + p = nil + p.GetDomain() } -func TestUser_GetUserViewType(tt *testing.T) { +func TestPrivateRegistry_GetDomainOwner(tt *testing.T) { tt.Parallel() var zeroValue string - u := &User{UserViewType: &zeroValue} - u.GetUserViewType() - u = &User{} - u.GetUserViewType() - u = nil - u.GetUserViewType() + p := &PrivateRegistry{DomainOwner: &zeroValue} + p.GetDomainOwner() + p = &PrivateRegistry{} + p.GetDomainOwner() + p = nil + p.GetDomainOwner() } -func TestUserAuthorization_GetApp(tt *testing.T) { +func TestPrivateRegistry_GetIdentityMappingName(tt *testing.T) { tt.Parallel() - u := &UserAuthorization{} - u.GetApp() - u = nil - u.GetApp() + var zeroValue string + p := &PrivateRegistry{IdentityMappingName: &zeroValue} + p.GetIdentityMappingName() + p = &PrivateRegistry{} + p.GetIdentityMappingName() + p = nil + p.GetIdentityMappingName() } -func TestUserAuthorization_GetCreatedAt(tt *testing.T) { +func TestPrivateRegistry_GetJFrogOIDCProviderName(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - u := &UserAuthorization{CreatedAt: &zeroValue} - u.GetCreatedAt() - u = &UserAuthorization{} - u.GetCreatedAt() - u = nil - u.GetCreatedAt() + var zeroValue string + p := &PrivateRegistry{JFrogOIDCProviderName: &zeroValue} + p.GetJFrogOIDCProviderName() + p = &PrivateRegistry{} + p.GetJFrogOIDCProviderName() + p = nil + p.GetJFrogOIDCProviderName() } -func TestUserAuthorization_GetFingerprint(tt *testing.T) { +func TestPrivateRegistry_GetName(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UserAuthorization{Fingerprint: &zeroValue} - u.GetFingerprint() - u = &UserAuthorization{} - u.GetFingerprint() - u = nil - u.GetFingerprint() + p := &PrivateRegistry{Name: &zeroValue} + p.GetName() + p = &PrivateRegistry{} + p.GetName() + p = nil + p.GetName() +} + +func TestPrivateRegistry_GetRegistryType(tt *testing.T) { + tt.Parallel() + p := &PrivateRegistry{} + p.GetRegistryType() + p = nil + p.GetRegistryType() } -func TestUserAuthorization_GetHashedToken(tt *testing.T) { +func TestPrivateRegistry_GetReplacesBase(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UserAuthorization{HashedToken: &zeroValue} - u.GetHashedToken() - u = &UserAuthorization{} - u.GetHashedToken() - u = nil - u.GetHashedToken() + var zeroValue bool + p := &PrivateRegistry{ReplacesBase: &zeroValue} + p.GetReplacesBase() + p = &PrivateRegistry{} + p.GetReplacesBase() + p = nil + p.GetReplacesBase() } -func TestUserAuthorization_GetID(tt *testing.T) { +func TestPrivateRegistry_GetRoleName(tt *testing.T) { tt.Parallel() - var zeroValue int64 - u := &UserAuthorization{ID: &zeroValue} - u.GetID() - u = &UserAuthorization{} - u.GetID() - u = nil - u.GetID() + var zeroValue string + p := &PrivateRegistry{RoleName: &zeroValue} + p.GetRoleName() + p = &PrivateRegistry{} + p.GetRoleName() + p = nil + p.GetRoleName() } -func TestUserAuthorization_GetNote(tt *testing.T) { +func TestPrivateRegistry_GetSelectedRepositoryIDs(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UserAuthorization{Note: &zeroValue} - u.GetNote() - u = &UserAuthorization{} - u.GetNote() - u = nil - u.GetNote() + zeroValue := []int64{} + p := &PrivateRegistry{SelectedRepositoryIDs: zeroValue} + p.GetSelectedRepositoryIDs() + p = &PrivateRegistry{} + p.GetSelectedRepositoryIDs() + p = nil + p.GetSelectedRepositoryIDs() } -func TestUserAuthorization_GetNoteURL(tt *testing.T) { +func TestPrivateRegistry_GetTenantID(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UserAuthorization{NoteURL: &zeroValue} - u.GetNoteURL() - u = &UserAuthorization{} - u.GetNoteURL() - u = nil - u.GetNoteURL() + p := &PrivateRegistry{TenantID: &zeroValue} + p.GetTenantID() + p = &PrivateRegistry{} + p.GetTenantID() + p = nil + p.GetTenantID() } -func TestUserAuthorization_GetScopes(tt *testing.T) { +func TestPrivateRegistry_GetUpdatedAt(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - u := &UserAuthorization{Scopes: zeroValue} - u.GetScopes() - u = &UserAuthorization{} - u.GetScopes() - u = nil - u.GetScopes() + var zeroValue Timestamp + p := &PrivateRegistry{UpdatedAt: &zeroValue} + p.GetUpdatedAt() + p = &PrivateRegistry{} + p.GetUpdatedAt() + p = nil + p.GetUpdatedAt() +} r = nil + r.GetAffectedRange() } -func TestUserAuthorization_GetToken(tt *testing.T) { +func TestRepositoryVulnerabilityAlert_GetCreatedAt(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UserAuthorization{Token: &zeroValue} - u.GetToken() - u = &UserAuthorization{} - u.GetToken() - u = nil - u.GetToken() + var zeroValue Timestamp + r := &RepositoryVulnerabilityAlert{CreatedAt: &zeroValue} + r.GetCreatedAt() + r = &RepositoryVulnerabilityAlert{} + r.GetCreatedAt() + r = nil + r.GetCreatedAt() } -func TestUserAuthorization_GetTokenLastEight(tt *testing.T) { +func TestRepositoryVulnerabilityAlert_GetDismissedAt(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UserAuthorization{TokenLastEight: &zeroValue} - u.GetTokenLastEight() - u = &UserAuthorization{} - u.GetTokenLastEight() - u = nil - u.GetTokenLastEight() + var zeroValue Timestamp + r := &RepositoryVulnerabilityAlert{DismissedAt: &zeroValue} + r.GetDismissedAt() + r = &RepositoryVulnerabilityAlert{} + r.GetDismissedAt() + r = nil + r.GetDismissedAt() } -func TestUserAuthorization_GetUpdatedAt(tt *testing.T) { +func TestRepositoryVulnerabilityAlert_GetDismisser(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - u := &UserAuthorization{UpdatedAt: &zeroValue} - u.GetUpdatedAt() - u = &UserAuthorization{} - u.GetUpdatedAt() - u = nil - u.GetUpdatedAt() + r := &RepositoryVulnerabilityAlert{} + r.GetDismisser() + r = nil + r.GetDismisser() } -func TestUserAuthorization_GetURL(tt *testing.T) { +func TestRepositoryVulnerabilityAlert_GetDismissReason(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UserAuthorization{URL: &zeroValue} - u.GetURL() - u = &UserAuthorization{} - u.GetURL() - u = nil - u.GetURL() + r := &RepositoryVulnerabilityAlert{DismissReason: &zeroValue} + r.GetDismissReason() + r = &RepositoryVulnerabilityAlert{} + r.GetDismissReason() + r = nil + r.GetDismissReason() } -func TestUserContext_GetMessage(tt *testing.T) { +func TestRepositoryVulnerabilityAlert_GetExternalIdentifier(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UserContext{Message: &zeroValue} - u.GetMessage() - u = &UserContext{} - u.GetMessage() - u = nil - u.GetMessage() + r := &RepositoryVulnerabilityAlert{ExternalIdentifier: &zeroValue} + r.GetExternalIdentifier() + r = &RepositoryVulnerabilityAlert{} + r.GetExternalIdentifier() + r = nil + r.GetExternalIdentifier() } -func TestUserContext_GetOcticon(tt *testing.T) { +func TestRepositoryVulnerabilityAlert_GetExternalReference(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UserContext{Octicon: &zeroValue} - u.GetOcticon() - u = &UserContext{} - u.GetOcticon() - u = nil - u.GetOcticon() + r := &RepositoryVulnerabilityAlert{ExternalReference: &zeroValue} + r.GetExternalReference() + r = &RepositoryVulnerabilityAlert{} + r.GetExternalReference() + r = nil + r.GetExternalReference() } -func TestUserEmail_GetEmail(tt *testing.T) { +func TestRepositoryVulnerabilityAlert_GetFixedIn(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UserEmail{Email: &zeroValue} - u.GetEmail() - u = &UserEmail{} - u.GetEmail() - u = nil - u.GetEmail() + r := &RepositoryVulnerabilityAlert{FixedIn: &zeroValue} + r.GetFixedIn() + r = &RepositoryVulnerabilityAlert{} + r.GetFixedIn() + r = nil + r.GetFixedIn() } -func TestUserEmail_GetPrimary(tt *testing.T) { +func TestRepositoryVulnerabilityAlert_GetGitHubSecurityAdvisoryID(tt *testing.T) { tt.Parallel() - var zeroValue bool - u := &UserEmail{Primary: &zeroValue} - u.GetPrimary() - u = &UserEmail{} - u.GetPrimary() - u = nil - u.GetPrimary() + var zeroValue string + r := &RepositoryVulnerabilityAlert{GitHubSecurityAdvisoryID: &zeroValue} + r.GetGitHubSecurityAdvisoryID() + r = &RepositoryVulnerabilityAlert{} + r.GetGitHubSecurityAdvisoryID() + r = nil + r.GetGitHubSecurityAdvisoryID() } -func TestUserEmail_GetVerified(tt *testing.T) { +func TestRepositoryVulnerabilityAlert_GetID(tt *testing.T) { tt.Parallel() - var zeroValue bool - u := &UserEmail{Verified: &zeroValue} - u.GetVerified() - u = &UserEmail{} - u.GetVerified() - u = nil - u.GetVerified() + var zeroValue int64 + r := &RepositoryVulnerabilityAlert{ID: &zeroValue} + r.GetID() + r = &RepositoryVulnerabilityAlert{} + r.GetID() + r = nil + r.GetID() } -func TestUserEmail_GetVisibility(tt *testing.T) { +func TestRepositoryVulnerabilityAlert_GetSeverity(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UserEmail{Visibility: &zeroValue} - u.GetVisibility() - u = &UserEmail{} - u.GetVisibility() - u = nil - u.GetVisibility() + r := &RepositoryVulnerabilityAlert{Severity: &zeroValue} + r.GetSeverity() + r = &RepositoryVulnerabilityAlert{} + r.GetSeverity() + r = nil + r.GetSeverity() } -func TestUserEvent_GetAction(tt *testing.T) { +func TestRepositoryVulnerabilityAlertEvent_GetAction(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UserEvent{Action: &zeroValue} - u.GetAction() - u = &UserEvent{} - u.GetAction() - u = nil - u.GetAction() + r := &RepositoryVulnerabilityAlertEvent{Action: &zeroValue} + r.GetAction() + r = &RepositoryVulnerabilityAlertEvent{} + r.GetAction() + r = nil + r.GetAction() } -func TestUserEvent_GetEnterprise(tt *testing.T) { +func TestRepositoryVulnerabilityAlertEvent_GetAlert(tt *testing.T) { tt.Parallel() - u := &UserEvent{} - u.GetEnterprise() - u = nil - u.GetEnterprise() + r := &RepositoryVulnerabilityAlertEvent{} + r.GetAlert() + r = nil + r.GetAlert() } -func TestUserEvent_GetInstallation(tt *testing.T) { +func TestRepositoryVulnerabilityAlertEvent_GetInstallation(tt *testing.T) { tt.Parallel() - u := &UserEvent{} - u.GetInstallation() - u = nil - u.GetInstallation() + r := &RepositoryVulnerabilityAlertEvent{} + r.GetInstallation() + r = nil + r.GetInstallation() } -func TestUserEvent_GetSender(tt *testing.T) { +func TestRepositoryVulnerabilityAlertEvent_GetOrg(tt *testing.T) { tt.Parallel() - u := &UserEvent{} - u.GetSender() - u = nil - u.GetSender() + r := &RepositoryVulnerabilityAlertEvent{} + r.GetOrg() + r = nil + r.GetOrg() } -func TestUserEvent_GetUser(tt *testing.T) { +func TestRepositoryVulnerabilityAlertEvent_GetRepository(tt *testing.T) { tt.Parallel() - u := &UserEvent{} - u.GetUser() - u = nil - u.GetUser() + r := &RepositoryVulnerabilityAlertEvent{} + r.GetRepository() + r = nil + r.GetRepository() } -func TestUserLDAPMapping_GetAvatarURL(tt *testing.T) { +func TestRepositoryVulnerabilityAlertEvent_GetSender(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UserLDAPMapping{AvatarURL: &zeroValue} - u.GetAvatarURL() - u = &UserLDAPMapping{} - u.GetAvatarURL() - u = nil - u.GetAvatarURL() + r := &RepositoryVulnerabilityAlertEvent{} + r.GetSender() + r = nil + r.GetSender() } -func TestUserLDAPMapping_GetEventsURL(tt *testing.T) { +func TestRepoStats_GetForkRepos(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UserLDAPMapping{EventsURL: &zeroValue} - u.GetEventsURL() - u = &UserLDAPMapping{} - u.GetEventsURL() - u = nil - u.GetEventsURL() + var zeroValue int + r := &RepoStats{ForkRepos: &zeroValue} + r.GetForkRepos() + r = &RepoStats{} + r.GetForkRepos() + r = nil + r.GetForkRepos() } -func TestUserLDAPMapping_GetFollowersURL(tt *testing.T) { +func TestRepoStats_GetOrgRepos(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UserLDAPMapping{FollowersURL: &zeroValue} - u.GetFollowersURL() - u = &UserLDAPMapping{} - u.GetFollowersURL() - u = nil - u.GetFollowersURL() + var zeroValue int + r := &RepoStats{OrgRepos: &zeroValue} + r.GetOrgRepos() + r = &RepoStats{} + r.GetOrgRepos() + r = nil + r.GetOrgRepos() } -func TestUserLDAPMapping_GetFollowingURL(tt *testing.T) { +func TestRepoStats_GetRootRepos(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UserLDAPMapping{FollowingURL: &zeroValue} - u.GetFollowingURL() - u = &UserLDAPMapping{} - u.GetFollowingURL() - u = nil - u.GetFollowingURL() + var zeroValue int + r := &RepoStats{RootRepos: &zeroValue} + r.GetRootRepos() + r = &RepoStats{} + r.GetRootRepos() + r = nil + r.GetRootRepos() } -func TestUserLDAPMapping_GetGistsURL(tt *testing.T) { +func TestRepoStats_GetTotalPushes(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UserLDAPMapping{GistsURL: &zeroValue} - u.GetGistsURL() - u = &UserLDAPMapping{} - u.GetGistsURL() - u = nil - u.GetGistsURL() + var zeroValue int + r := &RepoStats{TotalPushes: &zeroValue} + r.GetTotalPushes() + r = &RepoStats{} + r.GetTotalPushes() + r = nil + r.GetTotalPushes() } -func TestUserLDAPMapping_GetGravatarID(tt *testing.T) { +func TestRepoStats_GetTotalRepos(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UserLDAPMapping{GravatarID: &zeroValue} - u.GetGravatarID() - u = &UserLDAPMapping{} - u.GetGravatarID() - u = nil - u.GetGravatarID() + var zeroValue int + r := &RepoStats{TotalRepos: &zeroValue} + r.GetTotalRepos() + r = &RepoStats{} + r.GetTotalRepos() + r = nil + r.GetTotalRepos() } -func TestUserLDAPMapping_GetID(tt *testing.T) { +func TestRepoStats_GetTotalWikis(tt *testing.T) { tt.Parallel() - var zeroValue int64 - u := &UserLDAPMapping{ID: &zeroValue} - u.GetID() - u = &UserLDAPMapping{} - u.GetID() - u = nil - u.GetID() + var zeroValue int + r := &RepoStats{TotalWikis: &zeroValue} + r.GetTotalWikis() + r = &RepoStats{} + r.GetTotalWikis() + r = nil + r.GetTotalWikis() } -func TestUserLDAPMapping_GetLDAPDN(tt *testing.T) { +func TestRepoStatus_GetAvatarURL(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UserLDAPMapping{LDAPDN: &zeroValue} - u.GetLDAPDN() - u = &UserLDAPMapping{} - u.GetLDAPDN() - u = nil - u.GetLDAPDN() + r := &RepoStatus{AvatarURL: &zeroValue} + r.GetAvatarURL() + r = &RepoStatus{} + r.GetAvatarURL() + r = nil + r.GetAvatarURL() } -func TestUserLDAPMapping_GetLogin(tt *testing.T) { +func TestRepoStatus_GetContext(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UserLDAPMapping{Login: &zeroValue} - u.GetLogin() - u = &UserLDAPMapping{} - u.GetLogin() - u = nil - u.GetLogin() + r := &RepoStatus{Context: &zeroValue} + r.GetContext() + r = &RepoStatus{} + r.GetContext() + r = nil + r.GetContext() } -func TestUserLDAPMapping_GetOrganizationsURL(tt *testing.T) { +func TestRepoStatus_GetCreatedAt(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UserLDAPMapping{OrganizationsURL: &zeroValue} - u.GetOrganizationsURL() - u = &UserLDAPMapping{} - u.GetOrganizationsURL() - u = nil - u.GetOrganizationsURL() + var zeroValue Timestamp + r := &RepoStatus{CreatedAt: &zeroValue} + r.GetCreatedAt() + r = &RepoStatus{} + r.GetCreatedAt() + r = nil + r.GetCreatedAt() } -func TestUserLDAPMapping_GetReceivedEventsURL(tt *testing.T) { +func TestRepoStatus_GetCreator(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UserLDAPMapping{ReceivedEventsURL: &zeroValue} - u.GetReceivedEventsURL() - u = &UserLDAPMapping{} - u.GetReceivedEventsURL() - u = nil - u.GetReceivedEventsURL() + r := &RepoStatus{} + r.GetCreator() + r = nil + r.GetCreator() } -func TestUserLDAPMapping_GetReposURL(tt *testing.T) { +func TestRepoStatus_GetDescription(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UserLDAPMapping{ReposURL: &zeroValue} - u.GetReposURL() - u = &UserLDAPMapping{} - u.GetReposURL() - u = nil - u.GetReposURL() -} - -func TestUserLDAPMapping_GetSiteAdmin(tt *testing.T) { - tt.Parallel() - var zeroValue bool - u := &UserLDAPMapping{SiteAdmin: &zeroValue} - u.GetSiteAdmin() - u = &UserLDAPMapping{} - u.GetSiteAdmin() - u = nil - u.GetSiteAdmin() + r := &RepoStatus{Description: &zeroValue} + r.GetDescription() + r = &RepoStatus{} + r.GetDescription() + r = nil + r.GetDescription() } -func TestUserLDAPMapping_GetStarredURL(tt *testing.T) { +func TestRepoStatus_GetID(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UserLDAPMapping{StarredURL: &zeroValue} - u.GetStarredURL() - u = &UserLDAPMapping{} - u.GetStarredURL() - u = nil - u.GetStarredURL() + var zeroValue int64 + r := &RepoStatus{ID: &zeroValue} + r.GetID() + r = &RepoStatus{} + r.GetID() + r = nil + r.GetID() } -func TestUserLDAPMapping_GetSubscriptionsURL(tt *testing.T) { +func TestRepoStatus_GetNodeID(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UserLDAPMapping{SubscriptionsURL: &zeroValue} - u.GetSubscriptionsURL() - u = &UserLDAPMapping{} - u.GetSubscriptionsURL() - u = nil - u.GetSubscriptionsURL() + r := &RepoStatus{NodeID: &zeroValue} + r.GetNodeID() + r = &RepoStatus{} + r.GetNodeID() + r = nil + r.GetNodeID() } -func TestUserLDAPMapping_GetType(tt *testing.T) { +func TestRepoStatus_GetState(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UserLDAPMapping{Type: &zeroValue} - u.GetType() - u = &UserLDAPMapping{} - u.GetType() - u = nil - u.GetType() + r := &RepoStatus{State: &zeroValue} + r.GetState() + r = &RepoStatus{} + r.GetState() + r = nil + r.GetState() } -func TestUserLDAPMapping_GetURL(tt *testing.T) { +func TestRepoStatus_GetTargetURL(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UserLDAPMapping{URL: &zeroValue} - u.GetURL() - u = &UserLDAPMapping{} - u.GetURL() - u = nil - u.GetURL() + r := &RepoStatus{TargetURL: &zeroValue} + r.GetTargetURL() + r = &RepoStatus{} + r.GetTargetURL() + r = nil + r.GetTargetURL() } -func TestUserListOptions_GetPerPage(tt *testing.T) { +func TestRepoStatus_GetUpdatedAt(tt *testing.T) { tt.Parallel() - u := &UserListOptions{} - u.GetPerPage() - u = nil - u.GetPerPage() + var zeroValue Timestamp + r := &RepoStatus{UpdatedAt: &zeroValue} + r.GetUpdatedAt() + r = &RepoStatus{} + r.GetUpdatedAt() + r = nil + r.GetUpdatedAt() } -func TestUserListOptions_GetSince(tt *testing.T) { +func TestRepoStatus_GetURL(tt *testing.T) { tt.Parallel() - u := &UserListOptions{} - u.GetSince() - u = nil - u.GetSince() + var zeroValue string + r := &RepoStatus{URL: &zeroValue} + r.GetURL() + r = &RepoStatus{} + r.GetURL() + r = nil + r.GetURL() } -func TestUserMigration_GetCreatedAt(tt *testing.T) { +func TestRequestedAction_GetIdentifier(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UserMigration{CreatedAt: &zeroValue} - u.GetCreatedAt() - u = &UserMigration{} - u.GetCreatedAt() - u = nil - u.GetCreatedAt() + r := &RequestedAction{} + r.GetIdentifier() + r = nil + r.GetIdentifier() } -func TestUserMigration_GetExcludeAttachments(tt *testing.T) { +func TestRequireCodeOwnerReviewChanges_GetFrom(tt *testing.T) { tt.Parallel() var zeroValue bool - u := &UserMigration{ExcludeAttachments: &zeroValue} - u.GetExcludeAttachments() - u = &UserMigration{} - u.GetExcludeAttachments() - u = nil - u.GetExcludeAttachments() + r := &RequireCodeOwnerReviewChanges{From: &zeroValue} + r.GetFrom() + r = &RequireCodeOwnerReviewChanges{} + r.GetFrom() + r = nil + r.GetFrom() } -func TestUserMigration_GetGUID(tt *testing.T) { +func TestRequiredConversationResolution_GetEnabled(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UserMigration{GUID: &zeroValue} - u.GetGUID() - u = &UserMigration{} - u.GetGUID() - u = nil - u.GetGUID() + r := &RequiredConversationResolution{} + r.GetEnabled() + r = nil + r.GetEnabled() } -func TestUserMigration_GetID(tt *testing.T) { +func TestRequiredConversationResolutionLevelChanges_GetFrom(tt *testing.T) { tt.Parallel() - var zeroValue int64 - u := &UserMigration{ID: &zeroValue} - u.GetID() - u = &UserMigration{} - u.GetID() - u = nil - u.GetID() + var zeroValue string + r := &RequiredConversationResolutionLevelChanges{From: &zeroValue} + r.GetFrom() + r = &RequiredConversationResolutionLevelChanges{} + r.GetFrom() + r = nil + r.GetFrom() } -func TestUserMigration_GetLockRepositories(tt *testing.T) { +func TestRequiredDeploymentsBranchRule_GetParameters(tt *testing.T) { tt.Parallel() - var zeroValue bool - u := &UserMigration{LockRepositories: &zeroValue} - u.GetLockRepositories() - u = &UserMigration{} - u.GetLockRepositories() - u = nil - u.GetLockRepositories() + r := &RequiredDeploymentsBranchRule{} + r.GetParameters() + r = nil + r.GetParameters() } -func TestUserMigration_GetRepositories(tt *testing.T) { +func TestRequiredDeploymentsEnforcementLevelChanges_GetFrom(tt *testing.T) { tt.Parallel() - zeroValue := []*Repository{} - u := &UserMigration{Repositories: zeroValue} - u.GetRepositories() - u = &UserMigration{} - u.GetRepositories() - u = nil - u.GetRepositories() + var zeroValue string + r := &RequiredDeploymentsEnforcementLevelChanges{From: &zeroValue} + r.GetFrom() + r = &RequiredDeploymentsEnforcementLevelChanges{} + r.GetFrom() + r = nil + r.GetFrom() } -func TestUserMigration_GetState(tt *testing.T) { +func TestRequiredDeploymentsRuleParameters_GetRequiredDeploymentEnvironments(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UserMigration{State: &zeroValue} - u.GetState() - u = &UserMigration{} - u.GetState() - u = nil - u.GetState() + zeroValue := []string{} + r := &RequiredDeploymentsRuleParameters{RequiredDeploymentEnvironments: zeroValue} + r.GetRequiredDeploymentEnvironments() + r = &RequiredDeploymentsRuleParameters{} + r.GetRequiredDeploymentEnvironments() + r = nil + r.GetRequiredDeploymentEnvironments() } -func TestUserMigration_GetUpdatedAt(tt *testing.T) { +func TestRequiredReviewer_GetReviewer(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UserMigration{UpdatedAt: &zeroValue} - u.GetUpdatedAt() - u = &UserMigration{} - u.GetUpdatedAt() - u = nil - u.GetUpdatedAt() + r := &RequiredReviewer{} + r.GetReviewer() + r = nil + r.GetReviewer() } -func TestUserMigration_GetURL(tt *testing.T) { +func TestRequiredReviewer_GetType(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UserMigration{URL: &zeroValue} - u.GetURL() - u = &UserMigration{} - u.GetURL() - u = nil - u.GetURL() + r := &RequiredReviewer{Type: &zeroValue} + r.GetType() + r = &RequiredReviewer{} + r.GetType() + r = nil + r.GetType() } -func TestUserMigrationOptions_GetExcludeAttachments(tt *testing.T) { +func TestRequiredStatusCheck_GetAppID(tt *testing.T) { tt.Parallel() - u := &UserMigrationOptions{} - u.GetExcludeAttachments() - u = nil - u.GetExcludeAttachments() + var zeroValue int64 + r := &RequiredStatusCheck{AppID: &zeroValue} + r.GetAppID() + r = &RequiredStatusCheck{} + r.GetAppID() + r = nil + r.GetAppID() } -func TestUserMigrationOptions_GetLockRepositories(tt *testing.T) { +func TestRequiredStatusCheck_GetContext(tt *testing.T) { tt.Parallel() - u := &UserMigrationOptions{} - u.GetLockRepositories() - u = nil - u.GetLockRepositories() + r := &RequiredStatusCheck{} + r.GetContext() + r = nil + r.GetContext() } -func TestUsersSearchResult_GetIncompleteResults(tt *testing.T) { +func TestRequiredStatusChecks_GetChecks(tt *testing.T) { tt.Parallel() - var zeroValue bool - u := &UsersSearchResult{IncompleteResults: &zeroValue} - u.GetIncompleteResults() - u = &UsersSearchResult{} - u.GetIncompleteResults() - u = nil - u.GetIncompleteResults() + var zeroValue []*RequiredStatusCheck + r := &RequiredStatusChecks{Checks: &zeroValue} + r.GetChecks() + r = &RequiredStatusChecks{} + r.GetChecks() + r = nil + r.GetChecks() } -func TestUsersSearchResult_GetTotal(tt *testing.T) { +func TestRequiredStatusChecks_GetContexts(tt *testing.T) { tt.Parallel() - var zeroValue int - u := &UsersSearchResult{Total: &zeroValue} - u.GetTotal() - u = &UsersSearchResult{} - u.GetTotal() - u = nil - u.GetTotal() + var zeroValue []string + r := &RequiredStatusChecks{Contexts: &zeroValue} + r.GetContexts() + r = &RequiredStatusChecks{} + r.GetContexts() + r = nil + r.GetContexts() } -func TestUsersSearchResult_GetUsers(tt *testing.T) { +func TestRequiredStatusChecks_GetContextsURL(tt *testing.T) { tt.Parallel() - zeroValue := []*User{} - u := &UsersSearchResult{Users: zeroValue} - u.GetUsers() - u = &UsersSearchResult{} - u.GetUsers() - u = nil - u.GetUsers() + var zeroValue string + r := &RequiredStatusChecks{ContextsURL: &zeroValue} + r.GetContextsURL() + r = &RequiredStatusChecks{} + r.GetContextsURL() + r = nil + r.GetContextsURL() } -func TestUserStats_GetAdminUsers(tt *testing.T) { +func TestRequiredStatusChecks_GetStrict(tt *testing.T) { tt.Parallel() - var zeroValue int - u := &UserStats{AdminUsers: &zeroValue} - u.GetAdminUsers() - u = &UserStats{} - u.GetAdminUsers() - u = nil - u.GetAdminUsers() + r := &RequiredStatusChecks{} + r.GetStrict() + r = nil + r.GetStrict() } -func TestUserStats_GetSuspendedUsers(tt *testing.T) { +func TestRequiredStatusChecks_GetURL(tt *testing.T) { tt.Parallel() - var zeroValue int - u := &UserStats{SuspendedUsers: &zeroValue} - u.GetSuspendedUsers() - u = &UserStats{} - u.GetSuspendedUsers() - u = nil - u.GetSuspendedUsers() + var zeroValue string + r := &RequiredStatusChecks{URL: &zeroValue} + r.GetURL() + r = &RequiredStatusChecks{} + r.GetURL() + r = nil + r.GetURL() } -func TestUserStats_GetTotalUsers(tt *testing.T) { +func TestRequiredStatusChecksBranchRule_GetParameters(tt *testing.T) { tt.Parallel() - var zeroValue int - u := &UserStats{TotalUsers: &zeroValue} - u.GetTotalUsers() - u = &UserStats{} - u.GetTotalUsers() - u = nil - u.GetTotalUsers() + r := &RequiredStatusChecksBranchRule{} + r.GetParameters() + r = nil + r.GetParameters() } -func TestUserSuspendOptions_GetReason(tt *testing.T) { +func TestRequiredStatusChecksChanges_GetFrom(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UserSuspendOptions{Reason: &zeroValue} - u.GetReason() - u = &UserSuspendOptions{} - u.GetReason() - u = nil - u.GetReason() + zeroValue := []string{} + r := &RequiredStatusChecksChanges{From: zeroValue} + r.GetFrom() + r = &RequiredStatusChecksChanges{} + r.GetFrom() + r = nil + r.GetFrom() } -func TestUserUpdateRequest_GetBio(tt *testing.T) { +func TestRequiredStatusChecksEnforcementLevelChanges_GetFrom(tt *testing.T) { tt.Parallel() var zeroValue string - u := &UserUpdateRequest{Bio: &zeroValue} - u.GetBio() - u = &UserUpdateRequest{} - u.GetBio() - u = nil - u.GetBio() + r := &RequiredStatusChecksEnforcementLevelChanges{From: &zeroValue} + r.GetFrom() + r = &RequiredStatusChecksEnforcementLevelChanges{} + r.GetFrom() + r = nil + r.GetFrom() } -func TestUserUpdateRequest_GetBlog(tt *testing.T) { +func TestRequiredStatusChecksRequest_GetChecks(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UserUpdateRequest{Blog: &zeroValue} - u.GetBlog() - u = &UserUpdateRequest{} - u.GetBlog() - u = nil - u.GetBlog() + zeroValue := []*RequiredStatusCheck{} + r := &RequiredStatusChecksRequest{Checks: zeroValue} + r.GetChecks() + r = &RequiredStatusChecksRequest{} + r.GetChecks() + r = nil + r.GetChecks() } -func TestUserUpdateRequest_GetCompany(tt *testing.T) { +func TestRequiredStatusChecksRequest_GetContexts(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UserUpdateRequest{Company: &zeroValue} - u.GetCompany() - u = &UserUpdateRequest{} - u.GetCompany() - u = nil - u.GetCompany() + zeroValue := []string{} + r := &RequiredStatusChecksRequest{Contexts: zeroValue} + r.GetContexts() + r = &RequiredStatusChecksRequest{} + r.GetContexts() + r = nil + r.GetContexts() } -func TestUserUpdateRequest_GetEmail(tt *testing.T) { +func TestRequiredStatusChecksRequest_GetStrict(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UserUpdateRequest{Email: &zeroValue} - u.GetEmail() - u = &UserUpdateRequest{} - u.GetEmail() - u = nil - u.GetEmail() + var zeroValue bool + r := &RequiredStatusChecksRequest{Strict: &zeroValue} + r.GetStrict() + r = &RequiredStatusChecksRequest{} + r.GetStrict() + r = nil + r.GetStrict() } -func TestUserUpdateRequest_GetHireable(tt *testing.T) { +func TestRequiredStatusChecksRuleParameters_GetDoNotEnforceOnCreate(tt *testing.T) { tt.Parallel() var zeroValue bool - u := &UserUpdateRequest{Hireable: &zeroValue} - u.GetHireable() - u = &UserUpdateRequest{} - u.GetHireable() - u = nil - u.GetHireable() + r := &RequiredStatusChecksRuleParameters{DoNotEnforceOnCreate: &zeroValue} + r.GetDoNotEnforceOnCreate() + r = &RequiredStatusChecksRuleParameters{} + r.GetDoNotEnforceOnCreate() + r = nil + r.GetDoNotEnforceOnCreate() } -func TestUserUpdateRequest_GetLocation(tt *testing.T) { +func TestRequiredStatusChecksRuleParameters_GetRequiredStatusChecks(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UserUpdateRequest{Location: &zeroValue} - u.GetLocation() - u = &UserUpdateRequest{} - u.GetLocation() - u = nil - u.GetLocation() + zeroValue := []*RuleStatusCheck{} + r := &RequiredStatusChecksRuleParameters{RequiredStatusChecks: zeroValue} + r.GetRequiredStatusChecks() + r = &RequiredStatusChecksRuleParameters{} + r.GetRequiredStatusChecks() + r = nil + r.GetRequiredStatusChecks() } -func TestUserUpdateRequest_GetName(tt *testing.T) { +func TestRequiredStatusChecksRuleParameters_GetStrictRequiredStatusChecksPolicy(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UserUpdateRequest{Name: &zeroValue} - u.GetName() - u = &UserUpdateRequest{} - u.GetName() - u = nil - u.GetName() + r := &RequiredStatusChecksRuleParameters{} + r.GetStrictRequiredStatusChecksPolicy() + r = nil + r.GetStrictRequiredStatusChecksPolicy() } -func TestUserUpdateRequest_GetTwitterUsername(tt *testing.T) { +func TestRequireLastPushApprovalChanges_GetFrom(tt *testing.T) { tt.Parallel() - var zeroValue string - u := &UserUpdateRequest{TwitterUsername: &zeroValue} - u.GetTwitterUsername() - u = &UserUpdateRequest{} - u.GetTwitterUsername() - u = nil - u.GetTwitterUsername() + var zeroValue bool + r := &RequireLastPushApprovalChanges{From: &zeroValue} + r.GetFrom() + r = &RequireLastPushApprovalChanges{} + r.GetFrom() + r = nil + r.GetFrom() } -func TestVisualStudioSubscriptionAssignment_GetManualMatch(tt *testing.T) { +func TestRequireLinearHistory_GetEnabled(tt *testing.T) { tt.Parallel() - var zeroValue bool - v := &VisualStudioSubscriptionAssignment{ManualMatch: &zeroValue} - v.GetManualMatch() - v = &VisualStudioSubscriptionAssignment{} - v.GetManualMatch() - v = nil - v.GetManualMatch() + r := &RequireLinearHistory{} + r.GetEnabled() + r = nil + r.GetEnabled() } -func TestVisualStudioSubscriptionAssignment_GetSubscriptionID(tt *testing.T) { +func TestResponse_GetAfter(tt *testing.T) { tt.Parallel() - var zeroValue string - v := &VisualStudioSubscriptionAssignment{SubscriptionID: &zeroValue} - v.GetSubscriptionID() - v = &VisualStudioSubscriptionAssignment{} - v.GetSubscriptionID() - v = nil - v.GetSubscriptionID() + r := &Response{} + r.GetAfter() + r = nil + r.GetAfter() } -func TestVisualStudioSubscriptionAssignment_GetUsername(tt *testing.T) { +func TestResponse_GetBefore(tt *testing.T) { tt.Parallel() - var zeroValue string - v := &VisualStudioSubscriptionAssignment{Username: &zeroValue} - v.GetUsername() - v = &VisualStudioSubscriptionAssignment{} - v.GetUsername() - v = nil - v.GetUsername() + r := &Response{} + r.GetBefore() + r = nil + r.GetBefore() } -func TestVisualStudioSubscriptionAssignment_GetVisualStudioSubscriptionEmail(tt *testing.T) { +func TestResponse_GetCursor(tt *testing.T) { tt.Parallel() - var zeroValue string - v := &VisualStudioSubscriptionAssignment{VisualStudioSubscriptionEmail: &zeroValue} - v.GetVisualStudioSubscriptionEmail() - v = &VisualStudioSubscriptionAssignment{} - v.GetVisualStudioSubscriptionEmail() - v = nil - v.GetVisualStudioSubscriptionEmail() + r := &Response{} + r.GetCursor() + r = nil + r.GetCursor() } -func TestVisualStudioSubscriptionAssignmentRequest_GetUserIdentifier(tt *testing.T) { +func TestResponse_GetFirstPage(tt *testing.T) { tt.Parallel() - var zeroValue string - v := &VisualStudioSubscriptionAssignmentRequest{UserIdentifier: &zeroValue} - v.GetUserIdentifier() - v = &VisualStudioSubscriptionAssignmentRequest{} - v.GetUserIdentifier() - v = nil - v.GetUserIdentifier() + r := &Response{} + r.GetFirstPage() + r = nil + r.GetFirstPage() } -func TestVisualStudioSubscriptions_GetTotalCount(tt *testing.T) { +func TestResponse_GetLastPage(tt *testing.T) { tt.Parallel() - var zeroValue int - v := &VisualStudioSubscriptions{TotalCount: &zeroValue} - v.GetTotalCount() - v = &VisualStudioSubscriptions{} - v.GetTotalCount() - v = nil - v.GetTotalCount() + r := &Response{} + r.GetLastPage() + r = nil + r.GetLastPage() } -func TestVisualStudioSubscriptions_GetVisualStudioSubscriptions(tt *testing.T) { +func TestResponse_GetNextPage(tt *testing.T) { tt.Parallel() - zeroValue := []*VisualStudioSubscriptionAssignment{} - v := &VisualStudioSubscriptions{VisualStudioSubscriptions: zeroValue} - v.GetVisualStudioSubscriptions() - v = &VisualStudioSubscriptions{} - v.GetVisualStudioSubscriptions() - v = nil - v.GetVisualStudioSubscriptions() + r := &Response{} + r.GetNextPage() + r = nil + r.GetNextPage() } -func TestVulnerabilityPackage_GetEcosystem(tt *testing.T) { +func TestResponse_GetNextPageToken(tt *testing.T) { tt.Parallel() - var zeroValue string - v := &VulnerabilityPackage{Ecosystem: &zeroValue} - v.GetEcosystem() - v = &VulnerabilityPackage{} - v.GetEcosystem() - v = nil - v.GetEcosystem() + r := &Response{} + r.GetNextPageToken() + r = nil + r.GetNextPageToken() } -func TestVulnerabilityPackage_GetName(tt *testing.T) { +func TestResponse_GetPrevPage(tt *testing.T) { tt.Parallel() - var zeroValue string - v := &VulnerabilityPackage{Name: &zeroValue} - v.GetName() - v = &VulnerabilityPackage{} - v.GetName() - v = nil - v.GetName() + r := &Response{} + r.GetPrevPage() + r = nil + r.GetPrevPage() } -func TestWatchEvent_GetAction(tt *testing.T) { +func TestResponse_GetRate(tt *testing.T) { tt.Parallel() - var zeroValue string - w := &WatchEvent{Action: &zeroValue} - w.GetAction() - w = &WatchEvent{} - w.GetAction() - w = nil - w.GetAction() + r := &Response{} + r.GetRate() + r = nil + r.GetRate() } -func TestWatchEvent_GetInstallation(tt *testing.T) { +func TestResponse_GetTokenExpiration(tt *testing.T) { tt.Parallel() - w := &WatchEvent{} - w.GetInstallation() - w = nil - w.GetInstallation() + r := &Response{} + r.GetTokenExpiration() + r = nil + r.GetTokenExpiration() } -func TestWatchEvent_GetOrg(tt *testing.T) { +func TestReviewCustomDeploymentProtectionRuleRequest_GetComment(tt *testing.T) { tt.Parallel() - w := &WatchEvent{} - w.GetOrg() - w = nil - w.GetOrg() + r := &ReviewCustomDeploymentProtectionRuleRequest{} + r.GetComment() + r = nil + r.GetComment() } -func TestWatchEvent_GetRepo(tt *testing.T) { +func TestReviewCustomDeploymentProtectionRuleRequest_GetEnvironmentName(tt *testing.T) { tt.Parallel() - w := &WatchEvent{} - w.GetRepo() - w = nil - w.GetRepo() + r := &ReviewCustomDeploymentProtectionRuleRequest{} + r.GetEnvironmentName() + r = nil + r.GetEnvironmentName() } -func TestWatchEvent_GetSender(tt *testing.T) { +func TestReviewCustomDeploymentProtectionRuleRequest_GetState(tt *testing.T) { tt.Parallel() - w := &WatchEvent{} - w.GetSender() - w = nil - w.GetSender() + r := &ReviewCustomDeploymentProtectionRuleRequest{} + r.GetState() + r = nil + r.GetState() } -func TestWeeklyCommitActivity_GetDays(tt *testing.T) { +func TestReviewers_GetTeams(tt *testing.T) { tt.Parallel() - zeroValue := []int{} - w := &WeeklyCommitActivity{Days: zeroValue} - w.GetDays() - w = &WeeklyCommitActivity{} - w.GetDays() - w = nil - w.GetDays() + zeroValue := []*Team{} + r := &Reviewers{Teams: zeroValue} + r.GetTeams() + r = &Reviewers{} + r.GetTeams() + r = nil + r.GetTeams() } -func TestWeeklyCommitActivity_GetTotal(tt *testing.T) { +func TestReviewers_GetUsers(tt *testing.T) { tt.Parallel() - var zeroValue int - w := &WeeklyCommitActivity{Total: &zeroValue} - w.GetTotal() - w = &WeeklyCommitActivity{} - w.GetTotal() - w = nil - w.GetTotal() + zeroValue := []*User{} + r := &Reviewers{Users: zeroValue} + r.GetUsers() + r = &Reviewers{} + r.GetUsers() + r = nil + r.GetUsers() } -func TestWeeklyCommitActivity_GetWeek(tt *testing.T) { +func TestReviewersRequest_GetNodeID(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - w := &WeeklyCommitActivity{Week: &zeroValue} - w.GetWeek() - w = &WeeklyCommitActivity{} - w.GetWeek() - w = nil - w.GetWeek() + var zeroValue string + r := &ReviewersRequest{NodeID: &zeroValue} + r.GetNodeID() + r = &ReviewersRequest{} + r.GetNodeID() + r = nil + r.GetNodeID() } -func TestWeeklyStats_GetAdditions(tt *testing.T) { +func TestReviewersRequest_GetReviewers(tt *testing.T) { tt.Parallel() - var zeroValue int - w := &WeeklyStats{Additions: &zeroValue} - w.GetAdditions() - w = &WeeklyStats{} - w.GetAdditions() - w = nil - w.GetAdditions() + zeroValue := []string{} + r := &ReviewersRequest{Reviewers: zeroValue} + r.GetReviewers() + r = &ReviewersRequest{} + r.GetReviewers() + r = nil + r.GetReviewers() } -func TestWeeklyStats_GetCommits(tt *testing.T) { +func TestReviewersRequest_GetTeamReviewers(tt *testing.T) { tt.Parallel() - var zeroValue int - w := &WeeklyStats{Commits: &zeroValue} - w.GetCommits() - w = &WeeklyStats{} - w.GetCommits() - w = nil - w.GetCommits() + zeroValue := []string{} + r := &ReviewersRequest{TeamReviewers: zeroValue} + r.GetTeamReviewers() + r = &ReviewersRequest{} + r.GetTeamReviewers() + r = nil + r.GetTeamReviewers() } -func TestWeeklyStats_GetDeletions(tt *testing.T) { +func TestReviewPersonalAccessTokenRequestOptions_GetAction(tt *testing.T) { tt.Parallel() - var zeroValue int - w := &WeeklyStats{Deletions: &zeroValue} - w.GetDeletions() - w = &WeeklyStats{} - w.GetDeletions() - w = nil - w.GetDeletions() + r := &ReviewPersonalAccessTokenRequestOptions{} + r.GetAction() + r = nil + r.GetAction() } -func TestWeeklyStats_GetWeek(tt *testing.T) { +func TestReviewPersonalAccessTokenRequestOptions_GetReason(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - w := &WeeklyStats{Week: &zeroValue} - w.GetWeek() - w = &WeeklyStats{} - w.GetWeek() - w = nil - w.GetWeek() + var zeroValue string + r := &ReviewPersonalAccessTokenRequestOptions{Reason: &zeroValue} + r.GetReason() + r = &ReviewPersonalAccessTokenRequestOptions{} + r.GetReason() + r = nil + r.GetReason() } -func TestWorkflow_GetBadgeURL(tt *testing.T) { +func TestRule_GetDescription(tt *testing.T) { tt.Parallel() var zeroValue string - w := &Workflow{BadgeURL: &zeroValue} - w.GetBadgeURL() - w = &Workflow{} - w.GetBadgeURL() - w = nil - w.GetBadgeURL() + r := &Rule{Description: &zeroValue} + r.GetDescription() + r = &Rule{} + r.GetDescription() + r = nil + r.GetDescription() } -func TestWorkflow_GetCreatedAt(tt *testing.T) { +func TestRule_GetFullDescription(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - w := &Workflow{CreatedAt: &zeroValue} - w.GetCreatedAt() - w = &Workflow{} - w.GetCreatedAt() - w = nil - w.GetCreatedAt() + var zeroValue string + r := &Rule{FullDescription: &zeroValue} + r.GetFullDescription() + r = &Rule{} + r.GetFullDescription() + r = nil + r.GetFullDescription() } -func TestWorkflow_GetHTMLURL(tt *testing.T) { +func TestRule_GetHelp(tt *testing.T) { tt.Parallel() var zeroValue string - w := &Workflow{HTMLURL: &zeroValue} - w.GetHTMLURL() - w = &Workflow{} - w.GetHTMLURL() - w = nil - w.GetHTMLURL() + r := &Rule{Help: &zeroValue} + r.GetHelp() + r = &Rule{} + r.GetHelp() + r = nil + r.GetHelp() } -func TestWorkflow_GetID(tt *testing.T) { +func TestRule_GetID(tt *testing.T) { tt.Parallel() - var zeroValue int64 - w := &Workflow{ID: &zeroValue} - w.GetID() - w = &Workflow{} - w.GetID() - w = nil - w.GetID() + var zeroValue string + r := &Rule{ID: &zeroValue} + r.GetID() + r = &Rule{} + r.GetID() + r = nil + r.GetID() } -func TestWorkflow_GetName(tt *testing.T) { +func TestRule_GetName(tt *testing.T) { tt.Parallel() var zeroValue string - w := &Workflow{Name: &zeroValue} - w.GetName() - w = &Workflow{} - w.GetName() - w = nil - w.GetName() + r := &Rule{Name: &zeroValue} + r.GetName() + r = &Rule{} + r.GetName() + r = nil + r.GetName() } -func TestWorkflow_GetNodeID(tt *testing.T) { +func TestRule_GetSecuritySeverityLevel(tt *testing.T) { tt.Parallel() var zeroValue string - w := &Workflow{NodeID: &zeroValue} - w.GetNodeID() - w = &Workflow{} - w.GetNodeID() - w = nil - w.GetNodeID() + r := &Rule{SecuritySeverityLevel: &zeroValue} + r.GetSecuritySeverityLevel() + r = &Rule{} + r.GetSecuritySeverityLevel() + r = nil + r.GetSecuritySeverityLevel() } -func TestWorkflow_GetPath(tt *testing.T) { +func TestRule_GetSeverity(tt *testing.T) { tt.Parallel() var zeroValue string - w := &Workflow{Path: &zeroValue} - w.GetPath() - w = &Workflow{} - w.GetPath() - w = nil - w.GetPath() + r := &Rule{Severity: &zeroValue} + r.GetSeverity() + r = &Rule{} + r.GetSeverity() + r = nil + r.GetSeverity() } -func TestWorkflow_GetState(tt *testing.T) { +func TestRule_GetTags(tt *testing.T) { tt.Parallel() - var zeroValue string - w := &Workflow{State: &zeroValue} - w.GetState() - w = &Workflow{} - w.GetState() - w = nil - w.GetState() + zeroValue := []string{} + r := &Rule{Tags: zeroValue} + r.GetTags() + r = &Rule{} + r.GetTags() + r = nil + r.GetTags() } -func TestWorkflow_GetUpdatedAt(tt *testing.T) { +func TestRuleCodeScanningTool_GetAlertsThreshold(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - w := &Workflow{UpdatedAt: &zeroValue} - w.GetUpdatedAt() - w = &Workflow{} - w.GetUpdatedAt() - w = nil - w.GetUpdatedAt() + r := &RuleCodeScanningTool{} + r.GetAlertsThreshold() + r = nil + r.GetAlertsThreshold() } -func TestWorkflow_GetURL(tt *testing.T) { +func TestRuleCodeScanningTool_GetSecurityAlertsThreshold(tt *testing.T) { tt.Parallel() - var zeroValue string - w := &Workflow{URL: &zeroValue} - w.GetURL() - w = &Workflow{} - w.GetURL() - w = nil - w.GetURL() + r := &RuleCodeScanningTool{} + r.GetSecurityAlertsThreshold() + r = nil + r.GetSecurityAlertsThreshold() } -func TestWorkflowBill_GetTotalMS(tt *testing.T) { +func TestRuleCodeScanningTool_GetTool(tt *testing.T) { tt.Parallel() - var zeroValue int64 - w := &WorkflowBill{TotalMS: &zeroValue} - w.GetTotalMS() - w = &WorkflowBill{} - w.GetTotalMS() - w = nil - w.GetTotalMS() + r := &RuleCodeScanningTool{} + r.GetTool() + r = nil + r.GetTool() } -func TestWorkflowDispatchEvent_GetInputs(tt *testing.T) { +func TestRulesetRequiredReviewer_GetFilePatterns(tt *testing.T) { tt.Parallel() - w := &WorkflowDispatchEvent{} - w.GetInputs() - w = nil - w.GetInputs() + zeroValue := []string{} + r := &RulesetRequiredReviewer{FilePatterns: zeroValue} + r.GetFilePatterns() + r = &RulesetRequiredReviewer{} + r.GetFilePatterns() + r = nil + r.GetFilePatterns() } -func TestWorkflowDispatchEvent_GetInstallation(tt *testing.T) { +func TestRulesetRequiredReviewer_GetMinimumApprovals(tt *testing.T) { tt.Parallel() - w := &WorkflowDispatchEvent{} - w.GetInstallation() - w = nil - w.GetInstallation() + var zeroValue int + r := &RulesetRequiredReviewer{MinimumApprovals: &zeroValue} + r.GetMinimumApprovals() + r = &RulesetRequiredReviewer{} + r.GetMinimumApprovals() + r = nil + r.GetMinimumApprovals() } -func TestWorkflowDispatchEvent_GetOrg(tt *testing.T) { +func TestRulesetRequiredReviewer_GetReviewer(tt *testing.T) { tt.Parallel() - w := &WorkflowDispatchEvent{} - w.GetOrg() - w = nil - w.GetOrg() + r := &RulesetRequiredReviewer{} + r.GetReviewer() + r = nil + r.GetReviewer() } -func TestWorkflowDispatchEvent_GetRef(tt *testing.T) { +func TestRulesetReviewer_GetID(tt *testing.T) { tt.Parallel() - var zeroValue string - w := &WorkflowDispatchEvent{Ref: &zeroValue} - w.GetRef() - w = &WorkflowDispatchEvent{} - w.GetRef() - w = nil - w.GetRef() + var zeroValue int64 + r := &RulesetReviewer{ID: &zeroValue} + r.GetID() + r = &RulesetReviewer{} + r.GetID() + r = nil + r.GetID() } -func TestWorkflowDispatchEvent_GetRepo(tt *testing.T) { +func TestRulesetReviewer_GetType(tt *testing.T) { tt.Parallel() - w := &WorkflowDispatchEvent{} - w.GetRepo() - w = nil - w.GetRepo() + r := &RulesetReviewer{} + r.GetType() + r = nil + r.GetType() } -func TestWorkflowDispatchEvent_GetSender(tt *testing.T) { +func TestRuleStatusCheck_GetContext(tt *testing.T) { tt.Parallel() - w := &WorkflowDispatchEvent{} - w.GetSender() - w = nil - w.GetSender() + r := &RuleStatusCheck{} + r.GetContext() + r = nil + r.GetContext() } -func TestWorkflowDispatchEvent_GetWorkflow(tt *testing.T) { +func TestRuleStatusCheck_GetIntegrationID(tt *testing.T) { tt.Parallel() - var zeroValue string - w := &WorkflowDispatchEvent{Workflow: &zeroValue} - w.GetWorkflow() - w = &WorkflowDispatchEvent{} - w.GetWorkflow() - w = nil - w.GetWorkflow() + var zeroValue int64 + r := &RuleStatusCheck{IntegrationID: &zeroValue} + r.GetIntegrationID() + r = &RuleStatusCheck{} + r.GetIntegrationID() + r = nil + r.GetIntegrationID() } -func TestWorkflowDispatchRunDetails_GetHTMLURL(tt *testing.T) { +func TestRuleWorkflow_GetPath(tt *testing.T) { tt.Parallel() - var zeroValue string - w := &WorkflowDispatchRunDetails{HTMLURL: &zeroValue} - w.GetHTMLURL() - w = &WorkflowDispatchRunDetails{} - w.GetHTMLURL() - w = nil - w.GetHTMLURL() + r := &RuleWorkflow{} + r.GetPath() + r = nil + r.GetPath() } -func TestWorkflowDispatchRunDetails_GetRunURL(tt *testing.T) { +func TestRuleWorkflow_GetRef(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowDispatchRunDetails{RunURL: &zeroValue} - w.GetRunURL() - w = &WorkflowDispatchRunDetails{} - w.GetRunURL() - w = nil - w.GetRunURL() + r := &RuleWorkflow{Ref: &zeroValue} + r.GetRef() + r = &RuleWorkflow{} + r.GetRef() + r = nil + r.GetRef() } -func TestWorkflowDispatchRunDetails_GetWorkflowRunID(tt *testing.T) { +func TestRuleWorkflow_GetRepositoryID(tt *testing.T) { tt.Parallel() var zeroValue int64 - w := &WorkflowDispatchRunDetails{WorkflowRunID: &zeroValue} - w.GetWorkflowRunID() - w = &WorkflowDispatchRunDetails{} - w.GetWorkflowRunID() - w = nil - w.GetWorkflowRunID() + r := &RuleWorkflow{RepositoryID: &zeroValue} + r.GetRepositoryID() + r = &RuleWorkflow{} + r.GetRepositoryID() + r = nil + r.GetRepositoryID() } -func TestWorkflowJob_GetCheckRunURL(tt *testing.T) { +func TestRuleWorkflow_GetSHA(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowJob{CheckRunURL: &zeroValue} - w.GetCheckRunURL() - w = &WorkflowJob{} - w.GetCheckRunURL() - w = nil - w.GetCheckRunURL() + r := &RuleWorkflow{SHA: &zeroValue} + r.GetSHA() + r = &RuleWorkflow{} + r.GetSHA() + r = nil + r.GetSHA() } -func TestWorkflowJob_GetCompletedAt(tt *testing.T) { +func TestRunner_GetBusy(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - w := &WorkflowJob{CompletedAt: &zeroValue} - w.GetCompletedAt() - w = &WorkflowJob{} - w.GetCompletedAt() - w = nil - w.GetCompletedAt() + var zeroValue bool + r := &Runner{Busy: &zeroValue} + r.GetBusy() + r = &Runner{} + r.GetBusy() + r = nil + r.GetBusy() } -func TestWorkflowJob_GetConclusion(tt *testing.T) { +func TestRunner_GetEphemeral(tt *testing.T) { tt.Parallel() - var zeroValue string - w := &WorkflowJob{Conclusion: &zeroValue} - w.GetConclusion() - w = &WorkflowJob{} - w.GetConclusion() - w = nil - w.GetConclusion() + var zeroValue bool + r := &Runner{Ephemeral: &zeroValue} + r.GetEphemeral() + r = &Runner{} + r.GetEphemeral() + r = nil + r.GetEphemeral() } -func TestWorkflowJob_GetCreatedAt(tt *testing.T) { +func TestRunner_GetID(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - w := &WorkflowJob{CreatedAt: &zeroValue} - w.GetCreatedAt() - w = &WorkflowJob{} - w.GetCreatedAt() - w = nil - w.GetCreatedAt() + var zeroValue int64 + r := &Runner{ID: &zeroValue} + r.GetID() + r = &Runner{} + r.GetID() + r = nil + r.GetID() } -func TestWorkflowJob_GetHeadBranch(tt *testing.T) { +func TestRunner_GetLabels(tt *testing.T) { tt.Parallel() - var zeroValue string - w := &WorkflowJob{HeadBranch: &zeroValue} - w.GetHeadBranch() - w = &WorkflowJob{} - w.GetHeadBranch() - w = nil - w.GetHeadBranch() + zeroValue := []*RunnerLabels{} + r := &Runner{Labels: zeroValue} + r.GetLabels() + r = &Runner{} + r.GetLabels() + r = nil + r.GetLabels() } -func TestWorkflowJob_GetHeadSHA(tt *testing.T) { +func TestRunner_GetName(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowJob{HeadSHA: &zeroValue} - w.GetHeadSHA() - w = &WorkflowJob{} - w.GetHeadSHA() - w = nil - w.GetHeadSHA() + r := &Runner{Name: &zeroValue} + r.GetName() + r = &Runner{} + r.GetName() + r = nil + r.GetName() } -func TestWorkflowJob_GetHTMLURL(tt *testing.T) { +func TestRunner_GetOS(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowJob{HTMLURL: &zeroValue} - w.GetHTMLURL() - w = &WorkflowJob{} - w.GetHTMLURL() - w = nil - w.GetHTMLURL() + r := &Runner{OS: &zeroValue} + r.GetOS() + r = &Runner{} + r.GetOS() + r = nil + r.GetOS() } -func TestWorkflowJob_GetID(tt *testing.T) { +func TestRunner_GetRunnerGroupID(tt *testing.T) { tt.Parallel() var zeroValue int64 - w := &WorkflowJob{ID: &zeroValue} - w.GetID() - w = &WorkflowJob{} - w.GetID() - w = nil - 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() + r := &Runner{RunnerGroupID: &zeroValue} + r.GetRunnerGroupID() + r = &Runner{} + r.GetRunnerGroupID() + r = nil + r.GetRunnerGroupID() } -func TestWorkflowJob_GetName(tt *testing.T) { +func TestRunner_GetStatus(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowJob{Name: &zeroValue} - w.GetName() - w = &WorkflowJob{} - w.GetName() - w = nil - w.GetName() + r := &Runner{Status: &zeroValue} + r.GetStatus() + r = &Runner{} + r.GetStatus() + r = nil + r.GetStatus() } -func TestWorkflowJob_GetNodeID(tt *testing.T) { +func TestRunner_GetVersion(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowJob{NodeID: &zeroValue} - w.GetNodeID() - w = &WorkflowJob{} - w.GetNodeID() - w = nil - w.GetNodeID() + r := &Runner{Version: &zeroValue} + r.GetVersion() + r = &Runner{} + r.GetVersion() + r = nil + r.GetVersion() } -func TestWorkflowJob_GetRunAttempt(tt *testing.T) { +func TestRunnerApplicationDownload_GetArchitecture(tt *testing.T) { tt.Parallel() - var zeroValue int64 - w := &WorkflowJob{RunAttempt: &zeroValue} - w.GetRunAttempt() - w = &WorkflowJob{} - w.GetRunAttempt() - w = nil - w.GetRunAttempt() + var zeroValue string + r := &RunnerApplicationDownload{Architecture: &zeroValue} + r.GetArchitecture() + r = &RunnerApplicationDownload{} + r.GetArchitecture() + r = nil + r.GetArchitecture() } -func TestWorkflowJob_GetRunID(tt *testing.T) { +func TestRunnerApplicationDownload_GetDownloadURL(tt *testing.T) { tt.Parallel() - var zeroValue int64 - w := &WorkflowJob{RunID: &zeroValue} - w.GetRunID() - w = &WorkflowJob{} - w.GetRunID() - w = nil - w.GetRunID() + var zeroValue string + r := &RunnerApplicationDownload{DownloadURL: &zeroValue} + r.GetDownloadURL() + r = &RunnerApplicationDownload{} + r.GetDownloadURL() + r = nil + r.GetDownloadURL() } -func TestWorkflowJob_GetRunnerGroupID(tt *testing.T) { +func TestRunnerApplicationDownload_GetFilename(tt *testing.T) { tt.Parallel() - var zeroValue int64 - w := &WorkflowJob{RunnerGroupID: &zeroValue} - w.GetRunnerGroupID() - w = &WorkflowJob{} - w.GetRunnerGroupID() - w = nil - w.GetRunnerGroupID() + var zeroValue string + r := &RunnerApplicationDownload{Filename: &zeroValue} + r.GetFilename() + r = &RunnerApplicationDownload{} + r.GetFilename() + r = nil + r.GetFilename() } -func TestWorkflowJob_GetRunnerGroupName(tt *testing.T) { +func TestRunnerApplicationDownload_GetOS(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowJob{RunnerGroupName: &zeroValue} - w.GetRunnerGroupName() - w = &WorkflowJob{} - w.GetRunnerGroupName() - w = nil - w.GetRunnerGroupName() + r := &RunnerApplicationDownload{OS: &zeroValue} + r.GetOS() + r = &RunnerApplicationDownload{} + r.GetOS() + r = nil + r.GetOS() } -func TestWorkflowJob_GetRunnerID(tt *testing.T) { +func TestRunnerApplicationDownload_GetSHA256Checksum(tt *testing.T) { tt.Parallel() - var zeroValue int64 - w := &WorkflowJob{RunnerID: &zeroValue} - w.GetRunnerID() - w = &WorkflowJob{} - w.GetRunnerID() - w = nil - w.GetRunnerID() + var zeroValue string + r := &RunnerApplicationDownload{SHA256Checksum: &zeroValue} + r.GetSHA256Checksum() + r = &RunnerApplicationDownload{} + r.GetSHA256Checksum() + r = nil + r.GetSHA256Checksum() } -func TestWorkflowJob_GetRunnerName(tt *testing.T) { +func TestRunnerApplicationDownload_GetTempDownloadToken(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowJob{RunnerName: &zeroValue} - w.GetRunnerName() - w = &WorkflowJob{} - w.GetRunnerName() - w = nil - w.GetRunnerName() + r := &RunnerApplicationDownload{TempDownloadToken: &zeroValue} + r.GetTempDownloadToken() + r = &RunnerApplicationDownload{} + r.GetTempDownloadToken() + r = nil + r.GetTempDownloadToken() } -func TestWorkflowJob_GetRunURL(tt *testing.T) { +func TestRunnerGroup_GetAllowsPublicRepositories(tt *testing.T) { tt.Parallel() - var zeroValue string - w := &WorkflowJob{RunURL: &zeroValue} - w.GetRunURL() - w = &WorkflowJob{} - w.GetRunURL() - w = nil - w.GetRunURL() + var zeroValue bool + r := &RunnerGroup{AllowsPublicRepositories: &zeroValue} + r.GetAllowsPublicRepositories() + r = &RunnerGroup{} + r.GetAllowsPublicRepositories() + r = nil + r.GetAllowsPublicRepositories() } -func TestWorkflowJob_GetStartedAt(tt *testing.T) { +func TestRunnerGroup_GetDefault(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - w := &WorkflowJob{StartedAt: &zeroValue} - w.GetStartedAt() - w = &WorkflowJob{} - w.GetStartedAt() - w = nil - w.GetStartedAt() + var zeroValue bool + r := &RunnerGroup{Default: &zeroValue} + r.GetDefault() + r = &RunnerGroup{} + r.GetDefault() + r = nil + r.GetDefault() } -func TestWorkflowJob_GetStatus(tt *testing.T) { +func TestRunnerGroup_GetHostedRunnersURL(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowJob{Status: &zeroValue} - w.GetStatus() - w = &WorkflowJob{} - w.GetStatus() - w = nil - w.GetStatus() + r := &RunnerGroup{HostedRunnersURL: &zeroValue} + r.GetHostedRunnersURL() + r = &RunnerGroup{} + r.GetHostedRunnersURL() + r = nil + r.GetHostedRunnersURL() } -func TestWorkflowJob_GetSteps(tt *testing.T) { +func TestRunnerGroup_GetID(tt *testing.T) { tt.Parallel() - zeroValue := []*TaskStep{} - w := &WorkflowJob{Steps: zeroValue} - w.GetSteps() - w = &WorkflowJob{} - w.GetSteps() - w = nil - w.GetSteps() + var zeroValue int64 + r := &RunnerGroup{ID: &zeroValue} + r.GetID() + r = &RunnerGroup{} + r.GetID() + r = nil + r.GetID() } -func TestWorkflowJob_GetURL(tt *testing.T) { +func TestRunnerGroup_GetInherited(tt *testing.T) { tt.Parallel() - var zeroValue string - w := &WorkflowJob{URL: &zeroValue} - w.GetURL() - w = &WorkflowJob{} - w.GetURL() - w = nil - w.GetURL() + var zeroValue bool + r := &RunnerGroup{Inherited: &zeroValue} + r.GetInherited() + r = &RunnerGroup{} + r.GetInherited() + r = nil + r.GetInherited() } -func TestWorkflowJob_GetWorkflowName(tt *testing.T) { +func TestRunnerGroup_GetName(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowJob{WorkflowName: &zeroValue} - w.GetWorkflowName() - w = &WorkflowJob{} - w.GetWorkflowName() - w = nil - w.GetWorkflowName() + r := &RunnerGroup{Name: &zeroValue} + r.GetName() + r = &RunnerGroup{} + r.GetName() + r = nil + r.GetName() } -func TestWorkflowJobEvent_GetAction(tt *testing.T) { +func TestRunnerGroup_GetNetworkConfigurationID(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowJobEvent{Action: &zeroValue} - w.GetAction() - w = &WorkflowJobEvent{} - w.GetAction() - w = nil - w.GetAction() -} - -func TestWorkflowJobEvent_GetDeployment(tt *testing.T) { - tt.Parallel() - w := &WorkflowJobEvent{} - w.GetDeployment() - w = nil - w.GetDeployment() -} - -func TestWorkflowJobEvent_GetInstallation(tt *testing.T) { - tt.Parallel() - w := &WorkflowJobEvent{} - w.GetInstallation() - w = nil - w.GetInstallation() + r := &RunnerGroup{NetworkConfigurationID: &zeroValue} + r.GetNetworkConfigurationID() + r = &RunnerGroup{} + r.GetNetworkConfigurationID() + r = nil + r.GetNetworkConfigurationID() } -func TestWorkflowJobEvent_GetOrg(tt *testing.T) { +func TestRunnerGroup_GetRestrictedToWorkflows(tt *testing.T) { tt.Parallel() - w := &WorkflowJobEvent{} - w.GetOrg() - w = nil - w.GetOrg() + var zeroValue bool + r := &RunnerGroup{RestrictedToWorkflows: &zeroValue} + r.GetRestrictedToWorkflows() + r = &RunnerGroup{} + r.GetRestrictedToWorkflows() + r = nil + r.GetRestrictedToWorkflows() } -func TestWorkflowJobEvent_GetRepo(tt *testing.T) { +func TestRunnerGroup_GetRunnersURL(tt *testing.T) { tt.Parallel() - w := &WorkflowJobEvent{} - w.GetRepo() - w = nil - w.GetRepo() + var zeroValue string + r := &RunnerGroup{RunnersURL: &zeroValue} + r.GetRunnersURL() + r = &RunnerGroup{} + r.GetRunnersURL() + r = nil + r.GetRunnersURL() } -func TestWorkflowJobEvent_GetSender(tt *testing.T) { +func TestRunnerGroup_GetSelectedRepositoriesURL(tt *testing.T) { tt.Parallel() - w := &WorkflowJobEvent{} - w.GetSender() - w = nil - w.GetSender() + var zeroValue string + r := &RunnerGroup{SelectedRepositoriesURL: &zeroValue} + r.GetSelectedRepositoriesURL() + r = &RunnerGroup{} + r.GetSelectedRepositoriesURL() + r = nil + r.GetSelectedRepositoriesURL() } -func TestWorkflowJobEvent_GetWorkflowJob(tt *testing.T) { +func TestRunnerGroup_GetSelectedWorkflows(tt *testing.T) { tt.Parallel() - w := &WorkflowJobEvent{} - w.GetWorkflowJob() - w = nil - w.GetWorkflowJob() + zeroValue := []string{} + r := &RunnerGroup{SelectedWorkflows: zeroValue} + r.GetSelectedWorkflows() + r = &RunnerGroup{} + r.GetSelectedWorkflows() + r = nil + r.GetSelectedWorkflows() } -func TestWorkflowJobRun_GetConclusion(tt *testing.T) { +func TestRunnerGroup_GetVisibility(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowJobRun{Conclusion: &zeroValue} - w.GetConclusion() - w = &WorkflowJobRun{} - w.GetConclusion() - w = nil - w.GetConclusion() + r := &RunnerGroup{Visibility: &zeroValue} + r.GetVisibility() + r = &RunnerGroup{} + r.GetVisibility() + r = nil + r.GetVisibility() } -func TestWorkflowJobRun_GetCreatedAt(tt *testing.T) { +func TestRunnerGroup_GetWorkflowRestrictionsReadOnly(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - w := &WorkflowJobRun{CreatedAt: &zeroValue} - w.GetCreatedAt() - w = &WorkflowJobRun{} - w.GetCreatedAt() - w = nil - w.GetCreatedAt() + var zeroValue bool + r := &RunnerGroup{WorkflowRestrictionsReadOnly: &zeroValue} + r.GetWorkflowRestrictionsReadOnly() + r = &RunnerGroup{} + r.GetWorkflowRestrictionsReadOnly() + r = nil + r.GetWorkflowRestrictionsReadOnly() } -func TestWorkflowJobRun_GetEnvironment(tt *testing.T) { +func TestRunnerGroups_GetRunnerGroups(tt *testing.T) { tt.Parallel() - var zeroValue string - w := &WorkflowJobRun{Environment: &zeroValue} - w.GetEnvironment() - w = &WorkflowJobRun{} - w.GetEnvironment() - w = nil - w.GetEnvironment() + zeroValue := []*RunnerGroup{} + r := &RunnerGroups{RunnerGroups: zeroValue} + r.GetRunnerGroups() + r = &RunnerGroups{} + r.GetRunnerGroups() + r = nil + r.GetRunnerGroups() } -func TestWorkflowJobRun_GetHTMLURL(tt *testing.T) { +func TestRunnerGroups_GetTotalCount(tt *testing.T) { tt.Parallel() - var zeroValue string - w := &WorkflowJobRun{HTMLURL: &zeroValue} - w.GetHTMLURL() - w = &WorkflowJobRun{} - w.GetHTMLURL() - w = nil - w.GetHTMLURL() + r := &RunnerGroups{} + r.GetTotalCount() + r = nil + r.GetTotalCount() } -func TestWorkflowJobRun_GetID(tt *testing.T) { +func TestRunnerLabels_GetID(tt *testing.T) { tt.Parallel() var zeroValue int64 - w := &WorkflowJobRun{ID: &zeroValue} - w.GetID() - w = &WorkflowJobRun{} - w.GetID() - w = nil - w.GetID() + r := &RunnerLabels{ID: &zeroValue} + r.GetID() + r = &RunnerLabels{} + r.GetID() + r = nil + r.GetID() } -func TestWorkflowJobRun_GetName(tt *testing.T) { +func TestRunnerLabels_GetName(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowJobRun{Name: &zeroValue} - w.GetName() - w = &WorkflowJobRun{} - w.GetName() - w = nil - w.GetName() + r := &RunnerLabels{Name: &zeroValue} + r.GetName() + r = &RunnerLabels{} + r.GetName() + r = nil + r.GetName() } -func TestWorkflowJobRun_GetStatus(tt *testing.T) { +func TestRunnerLabels_GetType(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowJobRun{Status: &zeroValue} - w.GetStatus() - w = &WorkflowJobRun{} - w.GetStatus() - w = nil - w.GetStatus() + r := &RunnerLabels{Type: &zeroValue} + r.GetType() + r = &RunnerLabels{} + r.GetType() + r = nil + r.GetType() } -func TestWorkflowJobRun_GetUpdatedAt(tt *testing.T) { +func TestRunners_GetRunners(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - w := &WorkflowJobRun{UpdatedAt: &zeroValue} - w.GetUpdatedAt() - w = &WorkflowJobRun{} - w.GetUpdatedAt() - w = nil - w.GetUpdatedAt() + zeroValue := []*Runner{} + r := &Runners{Runners: zeroValue} + r.GetRunners() + r = &Runners{} + r.GetRunners() + r = nil + r.GetRunners() } -func TestWorkflowRun_GetActor(tt *testing.T) { +func TestRunners_GetTotalCount(tt *testing.T) { tt.Parallel() - w := &WorkflowRun{} - w.GetActor() - w = nil - w.GetActor() + r := &Runners{} + r.GetTotalCount() + r = nil + r.GetTotalCount() } -func TestWorkflowRun_GetArtifactsURL(tt *testing.T) { +func TestSarifAnalysis_GetCheckoutURI(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowRun{ArtifactsURL: &zeroValue} - w.GetArtifactsURL() - w = &WorkflowRun{} - w.GetArtifactsURL() - w = nil - w.GetArtifactsURL() + s := &SarifAnalysis{CheckoutURI: &zeroValue} + s.GetCheckoutURI() + s = &SarifAnalysis{} + s.GetCheckoutURI() + s = nil + s.GetCheckoutURI() } -func TestWorkflowRun_GetCancelURL(tt *testing.T) { +func TestSarifAnalysis_GetCommitSHA(tt *testing.T) { tt.Parallel() - var zeroValue string - w := &WorkflowRun{CancelURL: &zeroValue} - w.GetCancelURL() - w = &WorkflowRun{} - w.GetCancelURL() - w = nil - w.GetCancelURL() + s := &SarifAnalysis{} + s.GetCommitSHA() + s = nil + s.GetCommitSHA() } -func TestWorkflowRun_GetCheckSuiteID(tt *testing.T) { +func TestSarifAnalysis_GetRef(tt *testing.T) { tt.Parallel() - var zeroValue int64 - w := &WorkflowRun{CheckSuiteID: &zeroValue} - w.GetCheckSuiteID() - w = &WorkflowRun{} - w.GetCheckSuiteID() - w = nil - w.GetCheckSuiteID() + s := &SarifAnalysis{} + s.GetRef() + s = nil + s.GetRef() } -func TestWorkflowRun_GetCheckSuiteNodeID(tt *testing.T) { +func TestSarifAnalysis_GetSarif(tt *testing.T) { tt.Parallel() - var zeroValue string - w := &WorkflowRun{CheckSuiteNodeID: &zeroValue} - w.GetCheckSuiteNodeID() - w = &WorkflowRun{} - w.GetCheckSuiteNodeID() - w = nil - w.GetCheckSuiteNodeID() + s := &SarifAnalysis{} + s.GetSarif() + s = nil + s.GetSarif() } -func TestWorkflowRun_GetCheckSuiteURL(tt *testing.T) { +func TestSarifAnalysis_GetStartedAt(tt *testing.T) { tt.Parallel() - var zeroValue string - w := &WorkflowRun{CheckSuiteURL: &zeroValue} - w.GetCheckSuiteURL() - w = &WorkflowRun{} - w.GetCheckSuiteURL() - w = nil - w.GetCheckSuiteURL() + var zeroValue Timestamp + s := &SarifAnalysis{StartedAt: &zeroValue} + s.GetStartedAt() + s = &SarifAnalysis{} + s.GetStartedAt() + s = nil + s.GetStartedAt() } -func TestWorkflowRun_GetConclusion(tt *testing.T) { +func TestSarifAnalysis_GetToolName(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowRun{Conclusion: &zeroValue} - w.GetConclusion() - w = &WorkflowRun{} - w.GetConclusion() - w = nil - w.GetConclusion() + s := &SarifAnalysis{ToolName: &zeroValue} + s.GetToolName() + s = &SarifAnalysis{} + s.GetToolName() + s = nil + s.GetToolName() } -func TestWorkflowRun_GetCreatedAt(tt *testing.T) { +func TestSarifAnalysis_GetValidate(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - w := &WorkflowRun{CreatedAt: &zeroValue} - w.GetCreatedAt() - w = &WorkflowRun{} - w.GetCreatedAt() - w = nil - w.GetCreatedAt() + var zeroValue bool + s := &SarifAnalysis{Validate: &zeroValue} + s.GetValidate() + s = &SarifAnalysis{} + s.GetValidate() + s = nil + s.GetValidate() } -func TestWorkflowRun_GetDisplayTitle(tt *testing.T) { +func TestSarifID_GetID(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowRun{DisplayTitle: &zeroValue} - w.GetDisplayTitle() - w = &WorkflowRun{} - w.GetDisplayTitle() - w = nil - w.GetDisplayTitle() + s := &SarifID{ID: &zeroValue} + s.GetID() + s = &SarifID{} + s.GetID() + s = nil + s.GetID() } -func TestWorkflowRun_GetEvent(tt *testing.T) { +func TestSarifID_GetURL(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowRun{Event: &zeroValue} - w.GetEvent() - w = &WorkflowRun{} - w.GetEvent() - w = nil - w.GetEvent() + s := &SarifID{URL: &zeroValue} + s.GetURL() + s = &SarifID{} + s.GetURL() + s = nil + s.GetURL() } -func TestWorkflowRun_GetHeadBranch(tt *testing.T) { +func TestSARIFUpload_GetAnalysesURL(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowRun{HeadBranch: &zeroValue} - w.GetHeadBranch() - w = &WorkflowRun{} - w.GetHeadBranch() - w = nil - w.GetHeadBranch() + s := &SARIFUpload{AnalysesURL: &zeroValue} + s.GetAnalysesURL() + s = &SARIFUpload{} + s.GetAnalysesURL() + s = nil + s.GetAnalysesURL() } -func TestWorkflowRun_GetHeadCommit(tt *testing.T) { +func TestSARIFUpload_GetProcessingStatus(tt *testing.T) { tt.Parallel() - w := &WorkflowRun{} - w.GetHeadCommit() - w = nil - w.GetHeadCommit() + var zeroValue string + s := &SARIFUpload{ProcessingStatus: &zeroValue} + s.GetProcessingStatus() + s = &SARIFUpload{} + s.GetProcessingStatus() + s = nil + s.GetProcessingStatus() } -func TestWorkflowRun_GetHeadRepository(tt *testing.T) { +func TestSBOM_GetSBOM(tt *testing.T) { tt.Parallel() - w := &WorkflowRun{} - w.GetHeadRepository() - w = nil - w.GetHeadRepository() + s := &SBOM{} + s.GetSBOM() + s = nil + s.GetSBOM() } -func TestWorkflowRun_GetHeadSHA(tt *testing.T) { +func TestSBOMInfo_GetCreationInfo(tt *testing.T) { tt.Parallel() - var zeroValue string - w := &WorkflowRun{HeadSHA: &zeroValue} - w.GetHeadSHA() - w = &WorkflowRun{} - w.GetHeadSHA() - w = nil - w.GetHeadSHA() + s := &SBOMInfo{} + s.GetCreationInfo() + s = nil + s.GetCreationInfo() } -func TestWorkflowRun_GetHTMLURL(tt *testing.T) { +func TestSBOMInfo_GetDataLicense(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowRun{HTMLURL: &zeroValue} - w.GetHTMLURL() - w = &WorkflowRun{} - w.GetHTMLURL() - w = nil - w.GetHTMLURL() + s := &SBOMInfo{DataLicense: &zeroValue} + s.GetDataLicense() + s = &SBOMInfo{} + s.GetDataLicense() + s = nil + s.GetDataLicense() } -func TestWorkflowRun_GetID(tt *testing.T) { +func TestSBOMInfo_GetDocumentDescribes(tt *testing.T) { tt.Parallel() - var zeroValue int64 - w := &WorkflowRun{ID: &zeroValue} - w.GetID() - w = &WorkflowRun{} - w.GetID() - w = nil - w.GetID() + zeroValue := []string{} + s := &SBOMInfo{DocumentDescribes: zeroValue} + s.GetDocumentDescribes() + s = &SBOMInfo{} + s.GetDocumentDescribes() + s = nil + s.GetDocumentDescribes() } -func TestWorkflowRun_GetJobsURL(tt *testing.T) { +func TestSBOMInfo_GetDocumentNamespace(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowRun{JobsURL: &zeroValue} - w.GetJobsURL() - w = &WorkflowRun{} - w.GetJobsURL() - w = nil - w.GetJobsURL() + s := &SBOMInfo{DocumentNamespace: &zeroValue} + s.GetDocumentNamespace() + s = &SBOMInfo{} + s.GetDocumentNamespace() + s = nil + s.GetDocumentNamespace() } -func TestWorkflowRun_GetLogsURL(tt *testing.T) { +func TestSBOMInfo_GetName(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowRun{LogsURL: &zeroValue} - w.GetLogsURL() - w = &WorkflowRun{} - w.GetLogsURL() - w = nil - w.GetLogsURL() + s := &SBOMInfo{Name: &zeroValue} + s.GetName() + s = &SBOMInfo{} + s.GetName() + s = nil + s.GetName() } -func TestWorkflowRun_GetName(tt *testing.T) { +func TestSBOMInfo_GetPackages(tt *testing.T) { tt.Parallel() - var zeroValue string - w := &WorkflowRun{Name: &zeroValue} - w.GetName() - w = &WorkflowRun{} - w.GetName() - w = nil - w.GetName() + zeroValue := []*RepoDependencies{} + s := &SBOMInfo{Packages: zeroValue} + s.GetPackages() + s = &SBOMInfo{} + s.GetPackages() + s = nil + s.GetPackages() } -func TestWorkflowRun_GetNodeID(tt *testing.T) { +func TestSBOMInfo_GetRelationships(tt *testing.T) { tt.Parallel() - var zeroValue string - w := &WorkflowRun{NodeID: &zeroValue} - w.GetNodeID() - w = &WorkflowRun{} - w.GetNodeID() - w = nil - w.GetNodeID() + zeroValue := []*SBOMRelationship{} + s := &SBOMInfo{Relationships: zeroValue} + s.GetRelationships() + s = &SBOMInfo{} + s.GetRelationships() + s = nil + s.GetRelationships() } -func TestWorkflowRun_GetPath(tt *testing.T) { +func TestSBOMInfo_GetSPDXID(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowRun{Path: &zeroValue} - w.GetPath() - w = &WorkflowRun{} - w.GetPath() - w = nil - w.GetPath() + s := &SBOMInfo{SPDXID: &zeroValue} + s.GetSPDXID() + s = &SBOMInfo{} + s.GetSPDXID() + s = nil + s.GetSPDXID() } -func TestWorkflowRun_GetPreviousAttemptURL(tt *testing.T) { +func TestSBOMInfo_GetSPDXVersion(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowRun{PreviousAttemptURL: &zeroValue} - w.GetPreviousAttemptURL() - w = &WorkflowRun{} - w.GetPreviousAttemptURL() - w = nil - w.GetPreviousAttemptURL() + s := &SBOMInfo{SPDXVersion: &zeroValue} + s.GetSPDXVersion() + s = &SBOMInfo{} + s.GetSPDXVersion() + s = nil + s.GetSPDXVersion() } -func TestWorkflowRun_GetPullRequests(tt *testing.T) { +func TestSBOMRelationship_GetRelatedSPDXElement(tt *testing.T) { tt.Parallel() - zeroValue := []*PullRequest{} - w := &WorkflowRun{PullRequests: zeroValue} - w.GetPullRequests() - w = &WorkflowRun{} - w.GetPullRequests() - w = nil - w.GetPullRequests() + s := &SBOMRelationship{} + s.GetRelatedSPDXElement() + s = nil + s.GetRelatedSPDXElement() } -func TestWorkflowRun_GetReferencedWorkflows(tt *testing.T) { +func TestSBOMRelationship_GetRelationshipType(tt *testing.T) { tt.Parallel() - zeroValue := []*ReferencedWorkflow{} - w := &WorkflowRun{ReferencedWorkflows: zeroValue} - w.GetReferencedWorkflows() - w = &WorkflowRun{} - w.GetReferencedWorkflows() - w = nil - w.GetReferencedWorkflows() + s := &SBOMRelationship{} + s.GetRelationshipType() + s = nil + s.GetRelationshipType() } -func TestWorkflowRun_GetRepository(tt *testing.T) { +func TestSBOMRelationship_GetSPDXElementID(tt *testing.T) { tt.Parallel() - w := &WorkflowRun{} - w.GetRepository() - w = nil - w.GetRepository() + s := &SBOMRelationship{} + s.GetSPDXElementID() + s = nil + s.GetSPDXElementID() } -func TestWorkflowRun_GetRerunURL(tt *testing.T) { +func TestScanningAnalysis_GetAnalysisKey(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowRun{RerunURL: &zeroValue} - w.GetRerunURL() - w = &WorkflowRun{} - w.GetRerunURL() - w = nil - w.GetRerunURL() -} - -func TestWorkflowRun_GetRunAttempt(tt *testing.T) { - tt.Parallel() - var zeroValue int - w := &WorkflowRun{RunAttempt: &zeroValue} - w.GetRunAttempt() - w = &WorkflowRun{} - w.GetRunAttempt() - w = nil - w.GetRunAttempt() -} - -func TestWorkflowRun_GetRunNumber(tt *testing.T) { - tt.Parallel() - var zeroValue int - w := &WorkflowRun{RunNumber: &zeroValue} - w.GetRunNumber() - w = &WorkflowRun{} - w.GetRunNumber() - w = nil - w.GetRunNumber() -} - -func TestWorkflowRun_GetRunStartedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - w := &WorkflowRun{RunStartedAt: &zeroValue} - w.GetRunStartedAt() - w = &WorkflowRun{} - w.GetRunStartedAt() - w = nil - w.GetRunStartedAt() + s := &ScanningAnalysis{AnalysisKey: &zeroValue} + s.GetAnalysisKey() + s = &ScanningAnalysis{} + s.GetAnalysisKey() + s = nil + s.GetAnalysisKey() } -func TestWorkflowRun_GetStatus(tt *testing.T) { +func TestScanningAnalysis_GetCategory(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowRun{Status: &zeroValue} - w.GetStatus() - w = &WorkflowRun{} - w.GetStatus() - w = nil - w.GetStatus() -} - -func TestWorkflowRun_GetTriggeringActor(tt *testing.T) { - tt.Parallel() - w := &WorkflowRun{} - w.GetTriggeringActor() - w = nil - w.GetTriggeringActor() -} - -func TestWorkflowRun_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - w := &WorkflowRun{UpdatedAt: &zeroValue} - w.GetUpdatedAt() - w = &WorkflowRun{} - w.GetUpdatedAt() - w = nil - w.GetUpdatedAt() + s := &ScanningAnalysis{Category: &zeroValue} + s.GetCategory() + s = &ScanningAnalysis{} + s.GetCategory() + s = nil + s.GetCategory() } -func TestWorkflowRun_GetURL(tt *testing.T) { +func TestScanningAnalysis_GetCommitSHA(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowRun{URL: &zeroValue} - w.GetURL() - w = &WorkflowRun{} - w.GetURL() - w = nil - w.GetURL() -} - -func TestWorkflowRun_GetWorkflowID(tt *testing.T) { - tt.Parallel() - var zeroValue int64 - w := &WorkflowRun{WorkflowID: &zeroValue} - w.GetWorkflowID() - w = &WorkflowRun{} - w.GetWorkflowID() - w = nil - w.GetWorkflowID() + s := &ScanningAnalysis{CommitSHA: &zeroValue} + s.GetCommitSHA() + s = &ScanningAnalysis{} + s.GetCommitSHA() + s = nil + s.GetCommitSHA() } -func TestWorkflowRun_GetWorkflowURL(tt *testing.T) { +func TestScanningAnalysis_GetCreatedAt(tt *testing.T) { tt.Parallel() - var zeroValue string - w := &WorkflowRun{WorkflowURL: &zeroValue} - w.GetWorkflowURL() - w = &WorkflowRun{} - w.GetWorkflowURL() - w = nil - w.GetWorkflowURL() + var zeroValue Timestamp + s := &ScanningAnalysis{CreatedAt: &zeroValue} + s.GetCreatedAt() + s = &ScanningAnalysis{} + s.GetCreatedAt() + s = nil + s.GetCreatedAt() } -func TestWorkflowRunAttemptOptions_GetExcludePullRequests(tt *testing.T) { +func TestScanningAnalysis_GetDeletable(tt *testing.T) { tt.Parallel() var zeroValue bool - w := &WorkflowRunAttemptOptions{ExcludePullRequests: &zeroValue} - w.GetExcludePullRequests() - w = &WorkflowRunAttemptOptions{} - w.GetExcludePullRequests() - w = nil - w.GetExcludePullRequests() + s := &ScanningAnalysis{Deletable: &zeroValue} + s.GetDeletable() + s = &ScanningAnalysis{} + s.GetDeletable() + s = nil + s.GetDeletable() } -func TestWorkflowRunBill_GetJobRuns(tt *testing.T) { +func TestScanningAnalysis_GetEnvironment(tt *testing.T) { tt.Parallel() - zeroValue := []*WorkflowRunJobRun{} - w := &WorkflowRunBill{JobRuns: zeroValue} - w.GetJobRuns() - w = &WorkflowRunBill{} - w.GetJobRuns() - w = nil - w.GetJobRuns() + var zeroValue string + s := &ScanningAnalysis{Environment: &zeroValue} + s.GetEnvironment() + s = &ScanningAnalysis{} + s.GetEnvironment() + s = nil + s.GetEnvironment() } -func TestWorkflowRunBill_GetJobs(tt *testing.T) { +func TestScanningAnalysis_GetError(tt *testing.T) { tt.Parallel() - var zeroValue int - w := &WorkflowRunBill{Jobs: &zeroValue} - w.GetJobs() - w = &WorkflowRunBill{} - w.GetJobs() - w = nil - w.GetJobs() + var zeroValue string + s := &ScanningAnalysis{Error: &zeroValue} + s.GetError() + s = &ScanningAnalysis{} + s.GetError() + s = nil + s.GetError() } -func TestWorkflowRunBill_GetTotalMS(tt *testing.T) { +func TestScanningAnalysis_GetID(tt *testing.T) { tt.Parallel() var zeroValue int64 - w := &WorkflowRunBill{TotalMS: &zeroValue} - w.GetTotalMS() - w = &WorkflowRunBill{} - w.GetTotalMS() - w = nil - w.GetTotalMS() + s := &ScanningAnalysis{ID: &zeroValue} + s.GetID() + s = &ScanningAnalysis{} + s.GetID() + s = nil + s.GetID() } -func TestWorkflowRunEvent_GetAction(tt *testing.T) { +func TestScanningAnalysis_GetRef(tt *testing.T) { tt.Parallel() var zeroValue string - w := &WorkflowRunEvent{Action: &zeroValue} - w.GetAction() - w = &WorkflowRunEvent{} - w.GetAction() - w = nil - w.GetAction() + s := &ScanningAnalysis{Ref: &zeroValue} + s.GetRef() + s = &ScanningAnalysis{} + s.GetRef() + s = nil + s.GetRef() } -func TestWorkflowRunEvent_GetInstallation(tt *testing.T) { +func TestScanningAnalysis_GetResultsCount(tt *testing.T) { tt.Parallel() - w := &WorkflowRunEvent{} - w.GetInstallation() - w = nil - w.GetInstallation() + var zeroValue int + s := &ScanningAnalysis{ResultsCount: &zeroValue} + s.GetResultsCount() + s = &ScanningAnalysis{} + s.GetResultsCount() + s = nil + s.GetResultsCount() } -func TestWorkflowRunEvent_GetOrg(tt *testing.T) { +func TestScanningAnalysis_GetRulesCount(tt *testing.T) { tt.Parallel() - w := &WorkflowRunEvent{} - w.GetOrg() - w = nil - w.GetOrg() + var zeroValue int + s := &ScanningAnalysis{RulesCount: &zeroValue} + s.GetRulesCount() + s = &ScanningAnalysis{} + s.GetRulesCount() + s = nil + s.GetRulesCount() } -func TestWorkflowRunEvent_GetRepo(tt *testing.T) { +func TestScanningAnalysis_GetSarifID(tt *testing.T) { tt.Parallel() - w := &WorkflowRunEvent{} - w.GetRepo() - w = nil - w.GetRepo() + var zeroValue string + s := &ScanningAnalysis{SarifID: &zeroValue} + s.GetSarifID() + s = &ScanningAnalysis{} + s.GetSarifID() + s = nil + s.GetSarifID() } -func TestWorkflowRunEvent_GetSender(tt *testing.T) { +func TestScanningAnalysis_GetTool(tt *testing.T) { tt.Parallel() - w := &WorkflowRunEvent{} - w.GetSender() - w = nil - w.GetSender() + s := &ScanningAnalysis{} + s.GetTool() + s = nil + s.GetTool() } -func TestWorkflowRunEvent_GetWorkflow(tt *testing.T) { +func TestScanningAnalysis_GetURL(tt *testing.T) { tt.Parallel() - w := &WorkflowRunEvent{} - w.GetWorkflow() - w = nil - w.GetWorkflow() + var zeroValue string + s := &ScanningAnalysis{URL: &zeroValue} + s.GetURL() + s = &ScanningAnalysis{} + s.GetURL() + s = nil + s.GetURL() } -func TestWorkflowRunEvent_GetWorkflowRun(tt *testing.T) { +func TestScanningAnalysis_GetWarning(tt *testing.T) { tt.Parallel() - w := &WorkflowRunEvent{} - w.GetWorkflowRun() - w = nil - w.GetWorkflowRun() + var zeroValue string + s := &ScanningAnalysis{Warning: &zeroValue} + s.GetWarning() + s = &ScanningAnalysis{} + s.GetWarning() + s = nil + s.GetWarning() } -func TestWorkflowRunJobRun_GetDurationMS(tt *testing.T) { +func TestSCIMEnterpriseAttribute_GetOperations(tt *testing.T) { tt.Parallel() - var zeroValue int64 - w := &WorkflowRunJobRun{DurationMS: &zeroValue} - w.GetDurationMS() - w = &WorkflowRunJobRun{} - w.GetDurationMS() - w = nil - w.GetDurationMS() + zeroValue := []*SCIMEnterpriseAttributeOperation{} + s := &SCIMEnterpriseAttribute{Operations: zeroValue} + s.GetOperations() + s = &SCIMEnterpriseAttribute{} + s.GetOperations() + s = nil + s.GetOperations() } -func TestWorkflowRunJobRun_GetJobID(tt *testing.T) { +func TestSCIMEnterpriseAttribute_GetSchemas(tt *testing.T) { tt.Parallel() - var zeroValue int - w := &WorkflowRunJobRun{JobID: &zeroValue} - w.GetJobID() - w = &WorkflowRunJobRun{} - w.GetJobID() - w = nil - w.GetJobID() + zeroValue := []string{} + s := &SCIMEnterpriseAttribute{Schemas: zeroValue} + s.GetSchemas() + s = &SCIMEnterpriseAttribute{} + s.GetSchemas() + s = nil + s.GetSchemas() } -func TestWorkflowRuns_GetTotalCount(tt *testing.T) { +func TestSCIMEnterpriseAttributeOperation_GetOp(tt *testing.T) { tt.Parallel() - var zeroValue int - w := &WorkflowRuns{TotalCount: &zeroValue} - w.GetTotalCount() - w = &WorkflowRuns{} - w.GetTotalCount() - w = nil - w.GetTotalCount() + s := &SCIMEnterpriseAttributeOperation{} + s.GetOp() + s = nil + s.GetOp() } -func TestWorkflowRuns_GetWorkflowRuns(tt *testing.T) { +func TestSCIMEnterpriseAttributeOperation_GetPath(tt *testing.T) { tt.Parallel() - zeroValue := []*WorkflowRun{} - w := &WorkflowRuns{WorkflowRuns: zeroValue} - w.GetWorkflowRuns() - w = &WorkflowRuns{} - w.GetWorkflowRuns() - w = nil - w.GetWorkflowRuns() + var zeroValue string + s := &SCIMEnterpriseAttributeOperation{Path: &zeroValue} + s.GetPath() + s = &SCIMEnterpriseAttributeOperation{} + s.GetPath() + s = nil + s.GetPath() } -func TestWorkflowRunUsage_GetBillable(tt *testing.T) { +func TestSCIMEnterpriseAttributeOperation_GetValue(tt *testing.T) { tt.Parallel() - w := &WorkflowRunUsage{} - w.GetBillable() - w = nil - w.GetBillable() + s := &SCIMEnterpriseAttributeOperation{} + s.GetValue() + s = nil + s.GetValue() } -func TestWorkflowRunUsage_GetRunDurationMS(tt *testing.T) { +func TestSCIMEnterpriseDisplayReference_GetDisplay(tt *testing.T) { tt.Parallel() - var zeroValue int64 - w := &WorkflowRunUsage{RunDurationMS: &zeroValue} - w.GetRunDurationMS() - w = &WorkflowRunUsage{} - w.GetRunDurationMS() - w = nil - w.GetRunDurationMS() + var zeroValue string + s := &SCIMEnterpriseDisplayReference{Display: &zeroValue} + s.GetDisplay() + s = &SCIMEnterpriseDisplayReference{} + s.GetDisplay() + s = nil + s.GetDisplay() } -func TestWorkflows_GetTotalCount(tt *testing.T) { +func TestSCIMEnterpriseDisplayReference_GetRef(tt *testing.T) { tt.Parallel() - var zeroValue int - w := &Workflows{TotalCount: &zeroValue} - w.GetTotalCount() - w = &Workflows{} - w.GetTotalCount() - w = nil - w.GetTotalCount() + var zeroValue string + s := &SCIMEnterpriseDisplayReference{Ref: &zeroValue} + s.GetRef() + s = &SCIMEnterpriseDisplayReference{} + s.GetRef() + s = nil + s.GetRef() } -func TestWorkflows_GetWorkflows(tt *testing.T) { +func TestSCIMEnterpriseDisplayReference_GetValue(tt *testing.T) { tt.Parallel() - zeroValue := []*Workflow{} - w := &Workflows{Workflows: zeroValue} - w.GetWorkflows() - w = &Workflows{} - w.GetWorkflows() - w = nil - w.GetWorkflows() + s := &SCIMEnterpriseDisplayReference{} + s.GetValue() + s = nil + s.GetValue() } -func TestWorkflowsBranchRule_GetParameters(tt *testing.T) { +func TestSCIMEnterpriseGroupAttributes_GetDisplayName(tt *testing.T) { tt.Parallel() - w := &WorkflowsBranchRule{} - w.GetParameters() - w = nil - w.GetParameters() + var zeroValue string + s := &SCIMEnterpriseGroupAttributes{DisplayName: &zeroValue} + s.GetDisplayName() + s = &SCIMEnterpriseGroupAttributes{} + s.GetDisplayName() + s = nil + s.GetDisplayName() } -func TestWorkflowsPermissions_GetRequireApprovalForForkPRWorkflows(tt *testing.T) { +func TestSCIMEnterpriseGroupAttributes_GetExternalID(tt *testing.T) { tt.Parallel() - var zeroValue bool - w := &WorkflowsPermissions{RequireApprovalForForkPRWorkflows: &zeroValue} - w.GetRequireApprovalForForkPRWorkflows() - w = &WorkflowsPermissions{} - w.GetRequireApprovalForForkPRWorkflows() - w = nil - w.GetRequireApprovalForForkPRWorkflows() + var zeroValue string + s := &SCIMEnterpriseGroupAttributes{ExternalID: &zeroValue} + s.GetExternalID() + s = &SCIMEnterpriseGroupAttributes{} + s.GetExternalID() + s = nil + s.GetExternalID() } -func TestWorkflowsPermissions_GetRunWorkflowsFromForkPullRequests(tt *testing.T) { +func TestSCIMEnterpriseGroupAttributes_GetID(tt *testing.T) { tt.Parallel() - var zeroValue bool - w := &WorkflowsPermissions{RunWorkflowsFromForkPullRequests: &zeroValue} - w.GetRunWorkflowsFromForkPullRequests() - w = &WorkflowsPermissions{} - w.GetRunWorkflowsFromForkPullRequests() - w = nil - w.GetRunWorkflowsFromForkPullRequests() + var zeroValue string + s := &SCIMEnterpriseGroupAttributes{ID: &zeroValue} + s.GetID() + s = &SCIMEnterpriseGroupAttributes{} + s.GetID() + s = nil + s.GetID() } -func TestWorkflowsPermissions_GetSendSecretsAndVariables(tt *testing.T) { +func TestSCIMEnterpriseGroupAttributes_GetMembers(tt *testing.T) { tt.Parallel() - var zeroValue bool - w := &WorkflowsPermissions{SendSecretsAndVariables: &zeroValue} - w.GetSendSecretsAndVariables() - w = &WorkflowsPermissions{} - w.GetSendSecretsAndVariables() - w = nil - w.GetSendSecretsAndVariables() + zeroValue := []*SCIMEnterpriseDisplayReference{} + s := &SCIMEnterpriseGroupAttributes{Members: zeroValue} + s.GetMembers() + s = &SCIMEnterpriseGroupAttributes{} + s.GetMembers() + s = nil + s.GetMembers() } -func TestWorkflowsPermissions_GetSendWriteTokensToWorkflows(tt *testing.T) { +func TestSCIMEnterpriseGroupAttributes_GetMeta(tt *testing.T) { tt.Parallel() - var zeroValue bool - w := &WorkflowsPermissions{SendWriteTokensToWorkflows: &zeroValue} - w.GetSendWriteTokensToWorkflows() - w = &WorkflowsPermissions{} - w.GetSendWriteTokensToWorkflows() - w = nil - w.GetSendWriteTokensToWorkflows() + s := &SCIMEnterpriseGroupAttributes{} + s.GetMeta() + s = nil + s.GetMeta() } -func TestWorkflowsPermissionsOpt_GetRequireApprovalForForkPRWorkflows(tt *testing.T) { +func TestSCIMEnterpriseGroupAttributes_GetSchemas(tt *testing.T) { tt.Parallel() - var zeroValue bool - w := &WorkflowsPermissionsOpt{RequireApprovalForForkPRWorkflows: &zeroValue} - w.GetRequireApprovalForForkPRWorkflows() - w = &WorkflowsPermissionsOpt{} - w.GetRequireApprovalForForkPRWorkflows() - w = nil - w.GetRequireApprovalForForkPRWorkflows() + zeroValue := []string{} + s := &SCIMEnterpriseGroupAttributes{Schemas: zeroValue} + s.GetSchemas() + s = &SCIMEnterpriseGroupAttributes{} + s.GetSchemas() + s = nil + s.GetSchemas() } -func TestWorkflowsPermissionsOpt_GetRunWorkflowsFromForkPullRequests(tt *testing.T) { +func TestSCIMEnterpriseGroups_GetItemsPerPage(tt *testing.T) { tt.Parallel() - w := &WorkflowsPermissionsOpt{} - w.GetRunWorkflowsFromForkPullRequests() - w = nil - w.GetRunWorkflowsFromForkPullRequests() + var zeroValue int + s := &SCIMEnterpriseGroups{ItemsPerPage: &zeroValue} + s.GetItemsPerPage() + s = &SCIMEnterpriseGroups{} + s.GetItemsPerPage() + s = nil + s.GetItemsPerPage() } -func TestWorkflowsPermissionsOpt_GetSendSecretsAndVariables(tt *testing.T) { +func TestSCIMEnterpriseGroups_GetResources(tt *testing.T) { tt.Parallel() - var zeroValue bool - w := &WorkflowsPermissionsOpt{SendSecretsAndVariables: &zeroValue} - w.GetSendSecretsAndVariables() - w = &WorkflowsPermissionsOpt{} - w.GetSendSecretsAndVariables() - w = nil - w.GetSendSecretsAndVariables() + zeroValue := []*SCIMEnterpriseGroupAttributes{} + s := &SCIMEnterpriseGroups{Resources: zeroValue} + s.GetResources() + s = &SCIMEnterpriseGroups{} + s.GetResources() + s = nil + s.GetResources() } -func TestWorkflowsPermissionsOpt_GetSendWriteTokensToWorkflows(tt *testing.T) { +func TestSCIMEnterpriseGroups_GetSchemas(tt *testing.T) { tt.Parallel() - var zeroValue bool - w := &WorkflowsPermissionsOpt{SendWriteTokensToWorkflows: &zeroValue} - w.GetSendWriteTokensToWorkflows() - w = &WorkflowsPermissionsOpt{} - w.GetSendWriteTokensToWorkflows() - w = nil - w.GetSendWriteTokensToWorkflows() + zeroValue := []string{} + s := &SCIMEnterpriseGroups{Schemas: zeroValue} + s.GetSchemas() + s = &SCIMEnterpriseGroups{} + s.GetSchemas() + s = nil + s.GetSchemas() } -func TestWorkflowsRuleParameters_GetDoNotEnforceOnCreate(tt *testing.T) { +func TestSCIMEnterpriseGroups_GetStartIndex(tt *testing.T) { tt.Parallel() - var zeroValue bool - w := &WorkflowsRuleParameters{DoNotEnforceOnCreate: &zeroValue} - w.GetDoNotEnforceOnCreate() - w = &WorkflowsRuleParameters{} - w.GetDoNotEnforceOnCreate() - w = nil - w.GetDoNotEnforceOnCreate() + var zeroValue int + s := &SCIMEnterpriseGroups{StartIndex: &zeroValue} + s.GetStartIndex() + s = &SCIMEnterpriseGroups{} + s.GetStartIndex() + s = nil + s.GetStartIndex() } -func TestWorkflowsRuleParameters_GetWorkflows(tt *testing.T) { +func TestSCIMEnterpriseGroups_GetTotalResults(tt *testing.T) { tt.Parallel() - zeroValue := []*RuleWorkflow{} - w := &WorkflowsRuleParameters{Workflows: zeroValue} - w.GetWorkflows() - w = &WorkflowsRuleParameters{} - w.GetWorkflows() - w = nil - w.GetWorkflows() + var zeroValue int + s := &SCIMEnterpriseGroups{TotalResults: &zeroValue} + s.GetTotalResults() + s = &SCIMEnterpriseGroups{} + s.GetTotalResults() + s = nil + s.GetTotalResults() } -func TestWorkflowUsage_GetBillable(tt *testing.T) { +func TestSCIMEnterpriseMeta_GetCreated(tt *testing.T) { tt.Parallel() - w := &WorkflowUsage{} - w.GetBillable() - w = nil - w.GetBillable() -} + var zeroValue Timestamp + s := &SCIMEnterpriseMeta{Created: &zeroValue} + s.GetCreated() + s = &SCIMEnterpriseMeta{} + s.GetCreated() \ No newline at end of file From dc1ffbf0afd6c686d8c6900a6f910d09761d71b0 Mon Sep 17 00:00:00 2001 From: KeelTrace <218190424+keeltrace@users.noreply.github.com> Date: Mon, 21 Sep 2026 21:49:01 -0700 Subject: [PATCH 3/3] Fix generated attestation files --- example/verifyartifact/main.go | 2 +- github/github-accessors.go | 46598 +++++++++++++++++++++-- github/github-accessors_test.go | 60786 +++++++++++++++++++++++++++--- 3 files changed, 98576 insertions(+), 8810 deletions(-) diff --git a/example/verifyartifact/main.go b/example/verifyartifact/main.go index e72dc5d6159..0629f94d114 100644 --- a/example/verifyartifact/main.go +++ b/example/verifyartifact/main.go @@ -226,4 +226,4 @@ func runVerification(sev *verify.Verifier, pb *verify.PolicyBuilder, b *bundle.B fmt.Println(string(marshaled)) return nil -} \ No newline at end of file +} diff --git a/github/github-accessors.go b/github/github-accessors.go index 3b35bb00148..08a8fe32728 100644 --- a/github/github-accessors.go +++ b/github/github-accessors.go @@ -1997,5969 +1997,45787 @@ func (a *APIMetaDomains) GetWebsite() []string { } 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 { + return "" + } + return *a.ClientID +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (a *App) GetCreatedAt() Timestamp { + if a == nil || a.CreatedAt == nil { + return Timestamp{} + } + return *a.CreatedAt +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (a *App) GetDescription() string { + if a == nil || a.Description == nil { + return "" + } + 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 { + return "" + } + return *a.ExternalURL +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (a *App) GetHTMLURL() string { + if a == nil || a.HTMLURL == nil { + return "" + } + return *a.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (a *App) GetID() int64 { + if a == nil || a.ID == nil { + return 0 + } + return *a.ID +} + +// GetInstallationsCount returns the InstallationsCount field if it's non-nil, zero value otherwise. +func (a *App) GetInstallationsCount() int { + if a == nil || a.InstallationsCount == nil { + return 0 + } + return *a.InstallationsCount +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (a *App) GetName() string { + if a == nil || a.Name == nil { + return "" + } + return *a.Name +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (a *App) GetNodeID() string { + if a == nil || a.NodeID == nil { + return "" + } + return *a.NodeID +} + +// GetOwner returns the Owner field. +func (a *App) GetOwner() *User { + if a == nil { + return nil + } + return a.Owner +} + +// GetPermissions returns the Permissions field. +func (a *App) GetPermissions() *InstallationPermissions { + if a == nil { + return nil + } + return a.Permissions +} + +// GetSlug returns the Slug field if it's non-nil, zero value otherwise. +func (a *App) GetSlug() string { + if a == nil || a.Slug == nil { + return "" + } + return *a.Slug +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (a *App) GetUpdatedAt() Timestamp { + if a == nil || a.UpdatedAt == nil { + return Timestamp{} + } + return *a.UpdatedAt +} + +// GetClientID returns the ClientID field if it's non-nil, zero value otherwise. +func (a *AppConfig) GetClientID() string { + if a == nil || a.ClientID == nil { + return "" + } + return *a.ClientID +} + +// GetClientSecret returns the ClientSecret field if it's non-nil, zero value otherwise. +func (a *AppConfig) GetClientSecret() string { + if a == nil || a.ClientSecret == nil { + return "" + } + return *a.ClientSecret +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (a *AppConfig) GetCreatedAt() Timestamp { + if a == nil || a.CreatedAt == nil { + return Timestamp{} + } + return *a.CreatedAt +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (a *AppConfig) GetDescription() string { + if a == nil || a.Description == nil { + return "" + } + return *a.Description +} + +// GetExternalURL returns the ExternalURL field if it's non-nil, zero value otherwise. +func (a *AppConfig) GetExternalURL() string { + if a == nil || a.ExternalURL == nil { + return "" + } + return *a.ExternalURL +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (a *AppConfig) GetHTMLURL() string { + if a == nil || a.HTMLURL == nil { + return "" + } + return *a.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (a *AppConfig) GetID() int64 { + if a == nil || a.ID == nil { + return 0 + } + return *a.ID +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (a *AppConfig) GetName() string { + if a == nil || a.Name == nil { + return "" + } + return *a.Name +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (a *AppConfig) GetNodeID() string { + if a == nil || a.NodeID == nil { + return "" + } + return *a.NodeID +} + +// GetOwner returns the Owner field. +func (a *AppConfig) GetOwner() *User { + if a == nil { + return nil + } + return a.Owner +} + +// GetPEM returns the PEM field if it's non-nil, zero value otherwise. +func (a *AppConfig) GetPEM() string { + if a == nil || a.PEM == nil { + return "" + } + return *a.PEM +} + +// GetSlug returns the Slug field if it's non-nil, zero value otherwise. +func (a *AppConfig) GetSlug() string { + if a == nil || a.Slug == nil { + return "" + } + return *a.Slug +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (a *AppConfig) GetUpdatedAt() Timestamp { + if a == nil || a.UpdatedAt == nil { + return Timestamp{} + } + return *a.UpdatedAt +} + +// GetWebhookSecret returns the WebhookSecret field if it's non-nil, zero value otherwise. +func (a *AppConfig) GetWebhookSecret() string { + if a == nil || a.WebhookSecret == nil { + return "" + } + return *a.WebhookSecret +} + +// GetRepositories returns the Repositories slice if it's non-nil, nil otherwise. +func (a *AppInstallationRepositoriesRequest) GetRepositories() []string { + if a == nil || a.Repositories == nil { + return nil + } + return a.Repositories +} + +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (a *ArchivedAt) GetFrom() Timestamp { + if a == nil || a.From == nil { + return Timestamp{} + } + return *a.From +} + +// GetTo returns the To field if it's non-nil, zero value otherwise. +func (a *ArchivedAt) GetTo() Timestamp { + if a == nil || a.To == nil { + return Timestamp{} + } + return *a.To +} + +// GetArchiveDownloadURL returns the ArchiveDownloadURL field if it's non-nil, zero value otherwise. +func (a *Artifact) GetArchiveDownloadURL() string { + if a == nil || a.ArchiveDownloadURL == nil { + return "" + } + return *a.ArchiveDownloadURL +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (a *Artifact) GetCreatedAt() Timestamp { + if a == nil || a.CreatedAt == nil { + return Timestamp{} + } + return *a.CreatedAt +} + +// GetDigest returns the Digest field if it's non-nil, zero value otherwise. +func (a *Artifact) GetDigest() string { + if a == nil || a.Digest == nil { + return "" + } + return *a.Digest +} + +// GetExpired returns the Expired field if it's non-nil, zero value otherwise. +func (a *Artifact) GetExpired() bool { + if a == nil || a.Expired == nil { + return false + } + return *a.Expired +} + +// GetExpiresAt returns the ExpiresAt field if it's non-nil, zero value otherwise. +func (a *Artifact) GetExpiresAt() Timestamp { + if a == nil || a.ExpiresAt == nil { + return Timestamp{} + } + return *a.ExpiresAt +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (a *Artifact) GetID() int64 { + if a == nil || a.ID == nil { + return 0 + } + return *a.ID +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (a *Artifact) GetName() string { + if a == nil || a.Name == nil { + return "" + } + return *a.Name +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (a *Artifact) GetNodeID() string { + if a == nil || a.NodeID == nil { + return "" + } + return *a.NodeID +} + +// GetSizeInBytes returns the SizeInBytes field if it's non-nil, zero value otherwise. +func (a *Artifact) GetSizeInBytes() int64 { + if a == nil || a.SizeInBytes == nil { + return 0 + } + return *a.SizeInBytes +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (a *Artifact) GetUpdatedAt() Timestamp { + if a == nil || a.UpdatedAt == nil { + return Timestamp{} + } + return *a.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (a *Artifact) GetURL() string { + if a == nil || a.URL == nil { + return "" + } + return *a.URL +} + +// GetWorkflowRun returns the WorkflowRun field. +func (a *Artifact) GetWorkflowRun() *ArtifactWorkflowRun { + if a == nil { + return nil + } + return a.WorkflowRun +} + +// GetAttestationID returns the AttestationID field if it's non-nil, zero value otherwise. +func (a *ArtifactDeploymentRecord) GetAttestationID() int64 { + if a == nil || a.AttestationID == nil { + return 0 + } + return *a.AttestationID +} + +// GetCluster returns the Cluster field if it's non-nil, zero value otherwise. +func (a *ArtifactDeploymentRecord) GetCluster() string { + if a == nil || a.Cluster == nil { + return "" + } + return *a.Cluster +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (a *ArtifactDeploymentRecord) GetCreatedAt() Timestamp { + if a == nil || a.CreatedAt == nil { + return Timestamp{} + } + return *a.CreatedAt +} + +// GetDeploymentName returns the DeploymentName field if it's non-nil, zero value otherwise. +func (a *ArtifactDeploymentRecord) GetDeploymentName() string { + if a == nil || a.DeploymentName == nil { + return "" + } + return *a.DeploymentName +} + +// GetDigest returns the Digest field if it's non-nil, zero value otherwise. +func (a *ArtifactDeploymentRecord) GetDigest() string { + if a == nil || a.Digest == nil { + return "" + } + return *a.Digest +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (a *ArtifactDeploymentRecord) GetID() int64 { + if a == nil || a.ID == nil { + return 0 + } + return *a.ID +} + +// GetLogicalEnvironment returns the LogicalEnvironment field if it's non-nil, zero value otherwise. +func (a *ArtifactDeploymentRecord) GetLogicalEnvironment() string { + if a == nil || a.LogicalEnvironment == nil { + return "" + } + return *a.LogicalEnvironment +} + +// GetPhysicalEnvironment returns the PhysicalEnvironment field if it's non-nil, zero value otherwise. +func (a *ArtifactDeploymentRecord) GetPhysicalEnvironment() string { + if a == nil || a.PhysicalEnvironment == nil { + return "" + } + 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 { + return map[string]string{} + } + return a.Tags +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (a *ArtifactDeploymentRecord) GetUpdatedAt() Timestamp { + if a == nil || a.UpdatedAt == nil { + return 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 { + return 0 + } + 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 { + return 0 + } + return *a.TotalCount +} + +// GetDays returns the Days field if it's non-nil, zero value otherwise. +func (a *ArtifactPeriod) GetDays() int { + if a == nil || a.Days == nil { + return 0 + } + return *a.Days +} + +// GetMaximumAllowedDays returns the MaximumAllowedDays field if it's non-nil, zero value otherwise. +func (a *ArtifactPeriod) GetMaximumAllowedDays() int { + if a == nil || a.MaximumAllowedDays == nil { + return 0 + } + return *a.MaximumAllowedDays +} + +// GetDays returns the Days field if it's non-nil, zero value otherwise. +func (a *ArtifactPeriodOpt) GetDays() int { + if a == nil || a.Days == nil { + return 0 + } + return *a.Days +} + +// GetArtifactURL returns the ArtifactURL field if it's non-nil, zero value otherwise. +func (a *ArtifactStorageRecord) GetArtifactURL() string { + if a == nil || a.ArtifactURL == nil { + return "" + } + return *a.ArtifactURL +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (a *ArtifactStorageRecord) GetCreatedAt() Timestamp { + if a == nil || a.CreatedAt == nil { + return Timestamp{} + } + return *a.CreatedAt +} + +// GetDigest returns the Digest field if it's non-nil, zero value otherwise. +func (a *ArtifactStorageRecord) GetDigest() string { + if a == nil || a.Digest == nil { + return "" + } + return *a.Digest +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (a *ArtifactStorageRecord) GetID() int64 { + if a == nil || a.ID == nil { + return 0 + } + return *a.ID +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (a *ArtifactStorageRecord) GetName() string { + if a == nil || a.Name == nil { + return "" + } + return *a.Name +} + +// GetRegistryURL returns the RegistryURL field if it's non-nil, zero value otherwise. +func (a *ArtifactStorageRecord) GetRegistryURL() string { + if a == nil || a.RegistryURL == nil { + return "" + } + return *a.RegistryURL +} + +// GetRepository returns the Repository field if it's non-nil, zero value otherwise. +func (a *ArtifactStorageRecord) GetRepository() string { + if a == nil || a.Repository == nil { + return "" + } + return *a.Repository +} + +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (a *ArtifactStorageRecord) GetStatus() string { + if a == nil || a.Status == nil { + return "" + } + return *a.Status +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (a *ArtifactStorageRecord) GetUpdatedAt() Timestamp { + if a == nil || a.UpdatedAt == nil { + return 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 { + return 0 + } + return *a.TotalCount +} + +// GetHeadBranch returns the HeadBranch field if it's non-nil, zero value otherwise. +func (a *ArtifactWorkflowRun) GetHeadBranch() string { + if a == nil || a.HeadBranch == nil { + return "" + } + return *a.HeadBranch +} + +// GetHeadRepositoryID returns the HeadRepositoryID field if it's non-nil, zero value otherwise. +func (a *ArtifactWorkflowRun) GetHeadRepositoryID() int64 { + if a == nil || a.HeadRepositoryID == nil { + return 0 + } + return *a.HeadRepositoryID +} + +// GetHeadSHA returns the HeadSHA field if it's non-nil, zero value otherwise. +func (a *ArtifactWorkflowRun) GetHeadSHA() string { + if a == nil || a.HeadSHA == nil { + return "" + } + return *a.HeadSHA +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (a *ArtifactWorkflowRun) GetID() int64 { + if a == nil || a.ID == nil { + return 0 + } + return *a.ID +} + +// GetRepositoryID returns the RepositoryID field if it's non-nil, zero value otherwise. +func (a *ArtifactWorkflowRun) GetRepositoryID() int64 { + if a == nil || a.RepositoryID == nil { + return 0 + } + return *a.RepositoryID +} + +// GetAssignmentName returns the AssignmentName field if it's non-nil, zero value otherwise. +func (a *AssignmentGrade) GetAssignmentName() string { + if a == nil || a.AssignmentName == nil { + return "" + } + return *a.AssignmentName +} + +// GetAssignmentURL returns the AssignmentURL field if it's non-nil, zero value otherwise. +func (a *AssignmentGrade) GetAssignmentURL() string { + if a == nil || a.AssignmentURL == nil { + return "" + } + return *a.AssignmentURL +} + +// GetGithubUsername returns the GithubUsername field if it's non-nil, zero value otherwise. +func (a *AssignmentGrade) GetGithubUsername() string { + if a == nil || a.GithubUsername == nil { + return "" + } + return *a.GithubUsername +} + +// GetGroupName returns the GroupName field if it's non-nil, zero value otherwise. +func (a *AssignmentGrade) GetGroupName() string { + if a == nil || a.GroupName == nil { + return "" + } + return *a.GroupName +} + +// GetPointsAvailable returns the PointsAvailable field if it's non-nil, zero value otherwise. +func (a *AssignmentGrade) GetPointsAvailable() int { + if a == nil || a.PointsAvailable == nil { + return 0 + } + return *a.PointsAvailable +} + +// GetPointsAwarded returns the PointsAwarded field if it's non-nil, zero value otherwise. +func (a *AssignmentGrade) GetPointsAwarded() int { + if a == nil || a.PointsAwarded == nil { + return 0 + } + return *a.PointsAwarded +} + +// GetRosterIdentifier returns the RosterIdentifier field if it's non-nil, zero value otherwise. +func (a *AssignmentGrade) GetRosterIdentifier() string { + if a == nil || a.RosterIdentifier == nil { + return "" + } + return *a.RosterIdentifier +} + +// GetStarterCodeURL returns the StarterCodeURL field if it's non-nil, zero value otherwise. +func (a *AssignmentGrade) GetStarterCodeURL() string { + if a == nil || a.StarterCodeURL == nil { + return "" + } + return *a.StarterCodeURL +} + +// GetStudentRepositoryName returns the StudentRepositoryName field if it's non-nil, zero value otherwise. +func (a *AssignmentGrade) GetStudentRepositoryName() string { + if a == nil || a.StudentRepositoryName == nil { + return "" + } + return *a.StudentRepositoryName +} + +// GetStudentRepositoryURL returns the StudentRepositoryURL field if it's non-nil, zero value otherwise. +func (a *AssignmentGrade) GetStudentRepositoryURL() string { + if a == nil || a.StudentRepositoryURL == nil { + return "" + } + return *a.StudentRepositoryURL +} + +// GetSubmissionTimestamp returns the SubmissionTimestamp field if it's non-nil, zero value otherwise. +func (a *AssignmentGrade) GetSubmissionTimestamp() Timestamp { + if a == nil || a.SubmissionTimestamp == nil { + return Timestamp{} + } + return *a.SubmissionTimestamp +} + +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (a *Attachment) GetBody() string { + if a == nil || a.Body == nil { + return "" + } + return *a.Body +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (a *Attachment) GetID() int64 { + if a == nil || a.ID == nil { + return 0 + } + return *a.ID +} + +// GetTitle returns the Title field if it's non-nil, zero value otherwise. +func (a *Attachment) GetTitle() string { + if a == nil || a.Title == nil { + return "" + } + return *a.Title +} + +// GetBundle returns the Bundle field. +func (a *Attestation) GetBundle() json.RawMessage { + if a == nil { + return json.RawMessage{} + } + return a.Bundle +} + +// GetBundleURL returns the BundleURL field if it's non-nil, zero value otherwise. +func (a *Attestation) GetBundleURL() string { + if a == nil || a.BundleURL == nil { + return "" + } + return *a.BundleURL +} + +// 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 { + return "" + } + return *a.Action +} + +// GetActor returns the Actor field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetActor() string { + if a == nil || a.Actor == nil { + return "" + } + return *a.Actor +} + +// GetActorID returns the ActorID field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetActorID() int64 { + if a == nil || a.ActorID == nil { + return 0 + } + return *a.ActorID +} + +// GetActorLocation returns the ActorLocation field. +func (a *AuditEntry) GetActorLocation() *ActorLocation { + if a == nil { + return nil + } + return a.ActorLocation +} + +// GetAdditionalFields returns the AdditionalFields map if it's non-nil, an empty map otherwise. +func (a *AuditEntry) GetAdditionalFields() map[string]any { + if a == nil || a.AdditionalFields == nil { + return map[string]any{} + } + return a.AdditionalFields +} + +// GetBusiness returns the Business field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetBusiness() string { + if a == nil || a.Business == nil { + return "" + } + return *a.Business +} + +// GetBusinessID returns the BusinessID field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetBusinessID() int64 { + if a == nil || a.BusinessID == nil { + return 0 + } + return *a.BusinessID +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetCreatedAt() Timestamp { + if a == nil || a.CreatedAt == nil { + return Timestamp{} + } + return *a.CreatedAt +} + +// GetData returns the Data map if it's non-nil, an empty map otherwise. +func (a *AuditEntry) GetData() map[string]any { + if a == nil || a.Data == nil { + return map[string]any{} + } + return a.Data +} + +// GetDocumentID returns the DocumentID field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetDocumentID() string { + if a == nil || a.DocumentID == nil { + return "" + } + return *a.DocumentID +} + +// GetExternalIdentityNameID returns the ExternalIdentityNameID field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetExternalIdentityNameID() string { + if a == nil || a.ExternalIdentityNameID == nil { + return "" + } + return *a.ExternalIdentityNameID +} + +// GetExternalIdentityUsername returns the ExternalIdentityUsername field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetExternalIdentityUsername() string { + if a == nil || a.ExternalIdentityUsername == nil { + return "" + } + return *a.ExternalIdentityUsername +} + +// GetHashedToken returns the HashedToken field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetHashedToken() string { + if a == nil || a.HashedToken == nil { + return "" + } + return *a.HashedToken +} + +// GetOrg returns the Org field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetOrg() string { + if a == nil || a.Org == nil { + return "" + } + return *a.Org +} + +// GetOrgID returns the OrgID field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetOrgID() int64 { + if a == nil || a.OrgID == nil { + return 0 + } + return *a.OrgID +} + +// GetTimestamp returns the Timestamp field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetTimestamp() Timestamp { + if a == nil || a.Timestamp == nil { + return Timestamp{} + } + return *a.Timestamp +} + +// GetTokenID returns the TokenID field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetTokenID() int64 { + if a == nil || a.TokenID == nil { + return 0 + } + return *a.TokenID +} + +// GetTokenScopes returns the TokenScopes field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetTokenScopes() string { + if a == nil || a.TokenScopes == nil { + return "" + } + return *a.TokenScopes +} + +// GetUser returns the User field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetUser() string { + if a == nil || a.User == nil { + return "" + } + return *a.User +} + +// GetUserID returns the UserID field if it's non-nil, zero value otherwise. +func (a *AuditEntry) GetUserID() int64 { + if a == nil || a.UserID == nil { + return 0 + } + 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 { + return 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 { + return nil + } + return a.App +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (a *Authorization) GetCreatedAt() Timestamp { + if a == nil || a.CreatedAt == nil { + return Timestamp{} + } + return *a.CreatedAt +} + +// GetFingerprint returns the Fingerprint field if it's non-nil, zero value otherwise. +func (a *Authorization) GetFingerprint() string { + if a == nil || a.Fingerprint == nil { + return "" + } + return *a.Fingerprint +} + +// GetHashedToken returns the HashedToken field if it's non-nil, zero value otherwise. +func (a *Authorization) GetHashedToken() string { + if a == nil || a.HashedToken == nil { + return "" + } + return *a.HashedToken +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (a *Authorization) GetID() int64 { + if a == nil || a.ID == nil { + return 0 + } + return *a.ID +} + +// GetNote returns the Note field if it's non-nil, zero value otherwise. +func (a *Authorization) GetNote() string { + if a == nil || a.Note == nil { + return "" + } + return *a.Note +} + +// GetNoteURL returns the NoteURL field if it's non-nil, zero value otherwise. +func (a *Authorization) GetNoteURL() string { + if a == nil || a.NoteURL == nil { + return "" + } + 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 { + return "" + } + return *a.Token +} + +// GetTokenLastEight returns the TokenLastEight field if it's non-nil, zero value otherwise. +func (a *Authorization) GetTokenLastEight() string { + if a == nil || a.TokenLastEight == nil { + return "" + } + return *a.TokenLastEight +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (a *Authorization) GetUpdatedAt() Timestamp { + if a == nil || a.UpdatedAt == nil { + return Timestamp{} + } + return *a.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (a *Authorization) GetURL() string { + if a == nil || a.URL == nil { + return "" + } + return *a.URL +} + +// GetUser returns the User field. +func (a *Authorization) GetUser() *User { + if a == nil { + return nil + } + return a.User +} + +// GetClientID returns the ClientID field if it's non-nil, zero value otherwise. +func (a *AuthorizationApp) GetClientID() string { + if a == nil || a.ClientID == nil { + return "" + } + return *a.ClientID +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (a *AuthorizationApp) GetName() string { + if a == nil || a.Name == nil { + return "" + } + return *a.Name +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (a *AuthorizationApp) GetURL() string { + if a == nil || a.URL == nil { + return "" + } + return *a.URL +} + +// GetClientID returns the ClientID field if it's non-nil, zero value otherwise. +func (a *AuthorizationRequest) GetClientID() string { + if a == nil || a.ClientID == nil { + return "" + } + return *a.ClientID +} + +// GetClientSecret returns the ClientSecret field if it's non-nil, zero value otherwise. +func (a *AuthorizationRequest) GetClientSecret() string { + if a == nil || a.ClientSecret == nil { + return "" + } + return *a.ClientSecret +} + +// GetFingerprint returns the Fingerprint field if it's non-nil, zero value otherwise. +func (a *AuthorizationRequest) GetFingerprint() string { + if a == nil || a.Fingerprint == nil { + return "" + } + return *a.Fingerprint +} + +// GetNote returns the Note field if it's non-nil, zero value otherwise. +func (a *AuthorizationRequest) GetNote() string { + if a == nil || a.Note == nil { + return "" + } + return *a.Note +} + +// GetNoteURL returns the NoteURL field if it's non-nil, zero value otherwise. +func (a *AuthorizationRequest) GetNoteURL() string { + if a == nil || a.NoteURL == nil { + return "" + } + 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 { + return "" + } + return *a.Fingerprint +} + +// GetNote returns the Note field if it's non-nil, zero value otherwise. +func (a *AuthorizationUpdateRequest) GetNote() string { + if a == nil || a.Note == nil { + return "" + } + return *a.Note +} + +// GetNoteURL returns the NoteURL field if it's non-nil, zero value otherwise. +func (a *AuthorizationUpdateRequest) GetNoteURL() string { + if a == nil || a.NoteURL == nil { + return "" + } + 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 { + return false + } + return *a.From +} + +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (a *AuthorizedDismissalActorsOnlyChanges) GetFrom() bool { + if a == nil || a.From == nil { + return false + } + return *a.From +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (a *Autolink) GetID() int64 { + if a == nil || a.ID == nil { + return 0 + } + return *a.ID +} + +// GetIsAlphanumeric returns the IsAlphanumeric field if it's non-nil, zero value otherwise. +func (a *Autolink) GetIsAlphanumeric() bool { + if a == nil || a.IsAlphanumeric == nil { + return false + } + return *a.IsAlphanumeric +} + +// GetKeyPrefix returns the KeyPrefix field if it's non-nil, zero value otherwise. +func (a *Autolink) GetKeyPrefix() string { + if a == nil || a.KeyPrefix == nil { + return "" + } + return *a.KeyPrefix +} + +// GetURLTemplate returns the URLTemplate field if it's non-nil, zero value otherwise. +func (a *Autolink) GetURLTemplate() string { + if a == nil || a.URLTemplate == nil { + return "" + } + return *a.URLTemplate +} + +// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. +func (a *AutomatedSecurityFixes) GetEnabled() bool { + if a == nil || a.Enabled == nil { + return false + } + return *a.Enabled +} + +// GetPaused returns the Paused field if it's non-nil, zero value otherwise. +func (a *AutomatedSecurityFixes) GetPaused() bool { + if a == nil || a.Paused == nil { + return false + } + return *a.Paused +} + +// GetAppID returns the AppID field if it's non-nil, zero value otherwise. +func (a *AutoTriggerCheck) GetAppID() int64 { + if a == nil || a.AppID == nil { + return 0 + } + return *a.AppID +} + +// GetSetting returns the Setting field if it's non-nil, zero value otherwise. +func (a *AutoTriggerCheck) GetSetting() bool { + if a == nil || a.Setting == nil { + return false + } + 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 +} + +// GetID returns the ID field. +func (b *BillingCostCenter) GetID() string { + if b == nil { + return "" + } + return b.ID +} + +// GetName returns the Name field. +func (b *BillingCostCenter) GetName() string { + if b == nil { + return "" + } + return b.Name +} + +// GetContent returns the Content field if it's non-nil, zero value otherwise. +func (b *Blob) GetContent() string { + if b == nil || b.Content == nil { + return "" + } + return *b.Content +} + +// GetEncoding returns the Encoding field if it's non-nil, zero value otherwise. +func (b *Blob) GetEncoding() string { + if b == nil || b.Encoding == nil { + return "" + } + return *b.Encoding +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (b *Blob) GetNodeID() string { + if b == nil || b.NodeID == nil { + return "" + } + return *b.NodeID +} + +// GetSHA returns the SHA field if it's non-nil, zero value otherwise. +func (b *Blob) GetSHA() string { + if b == nil || b.SHA == nil { + return "" + } + return *b.SHA +} + +// GetSize returns the Size field if it's non-nil, zero value otherwise. +func (b *Blob) GetSize() int { + if b == nil || b.Size == nil { + return 0 + } + return *b.Size +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (b *Blob) GetURL() string { + if b == nil || b.URL == nil { + return "" + } + return *b.URL +} + +// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. +func (b *BlockCreations) GetEnabled() bool { + if b == nil || b.Enabled == nil { + return false + } + return *b.Enabled +} + +// GetCommit returns the Commit field. +func (b *Branch) GetCommit() *RepositoryCommit { + if b == nil { + return nil + } + return b.Commit +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (b *Branch) GetName() string { + if b == nil || b.Name == nil { + return "" + } + return *b.Name +} + +// GetProtected returns the Protected field if it's non-nil, zero value otherwise. +func (b *Branch) GetProtected() bool { + if b == nil || b.Protected == nil { + return false + } + return *b.Protected +} + +// GetProtection returns the Protection field. +func (b *Branch) GetProtection() *Protection { + if b == nil { + return nil + } + return b.Protection +} + +// GetProtectionURL returns the ProtectionURL field if it's non-nil, zero value otherwise. +func (b *Branch) GetProtectionURL() string { + if b == nil || b.ProtectionURL == nil { + return "" + } + return *b.ProtectionURL +} + +// GetCommit returns the Commit field. +func (b *BranchCommit) GetCommit() *Commit { + if b == nil { + return nil + } + return b.Commit +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (b *BranchCommit) GetName() string { + if b == nil || b.Name == nil { + return "" + } + return *b.Name +} + +// GetProtected returns the Protected field if it's non-nil, zero value otherwise. +func (b *BranchCommit) GetProtected() bool { + if b == nil || b.Protected == nil { + return false + } + return *b.Protected +} + +// GetProtected returns the Protected field if it's non-nil, zero value otherwise. +func (b *BranchListOptions) GetProtected() bool { + if b == nil || b.Protected == nil { + return false + } + return *b.Protected +} + +// GetCustomBranchPolicies returns the CustomBranchPolicies field if it's non-nil, zero value otherwise. +func (b *BranchPolicy) GetCustomBranchPolicies() bool { + if b == nil || b.CustomBranchPolicies == nil { + return false + } + return *b.CustomBranchPolicies +} + +// GetProtectedBranches returns the ProtectedBranches field if it's non-nil, zero value otherwise. +func (b *BranchPolicy) GetProtectedBranches() bool { + if b == nil || b.ProtectedBranches == nil { + return false + } + return *b.ProtectedBranches +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (b *BranchProtectionConfigurationEvent) GetAction() string { + if b == nil || b.Action == nil { + return "" + } + return *b.Action +} + +// GetEnterprise returns the Enterprise field. +func (b *BranchProtectionConfigurationEvent) GetEnterprise() *Enterprise { + if b == nil { + return nil + } + return b.Enterprise +} + +// GetInstallation returns the Installation field. +func (b *BranchProtectionConfigurationEvent) GetInstallation() *Installation { + if b == nil { + return nil + } + return b.Installation +} + +// GetOrg returns the Org field. +func (b *BranchProtectionConfigurationEvent) GetOrg() *Organization { + if b == nil { + return nil + } + return b.Org +} + +// GetRepo returns the Repo field. +func (b *BranchProtectionConfigurationEvent) GetRepo() *Repository { + if b == nil { + return nil + } + return b.Repo +} + +// GetSender returns the Sender field. +func (b *BranchProtectionConfigurationEvent) GetSender() *User { + if b == nil { + return nil + } + return b.Sender +} + +// GetAdminEnforced returns the AdminEnforced field if it's non-nil, zero value otherwise. +func (b *BranchProtectionRule) GetAdminEnforced() bool { + if b == nil || b.AdminEnforced == nil { + return false + } + return *b.AdminEnforced +} + +// GetAllowDeletionsEnforcementLevel returns the AllowDeletionsEnforcementLevel field if it's non-nil, zero value otherwise. +func (b *BranchProtectionRule) GetAllowDeletionsEnforcementLevel() string { + if b == nil || b.AllowDeletionsEnforcementLevel == nil { + return "" + } + return *b.AllowDeletionsEnforcementLevel +} + +// GetAllowForcePushesEnforcementLevel returns the AllowForcePushesEnforcementLevel field if it's non-nil, zero value otherwise. +func (b *BranchProtectionRule) GetAllowForcePushesEnforcementLevel() string { + if b == nil || b.AllowForcePushesEnforcementLevel == nil { + return "" + } + 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 { + return false + } + return *b.AuthorizedActorsOnly +} + +// GetAuthorizedDismissalActorsOnly returns the AuthorizedDismissalActorsOnly field if it's non-nil, zero value otherwise. +func (b *BranchProtectionRule) GetAuthorizedDismissalActorsOnly() bool { + if b == nil || b.AuthorizedDismissalActorsOnly == nil { + return false + } + return *b.AuthorizedDismissalActorsOnly +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (b *BranchProtectionRule) GetCreatedAt() Timestamp { + if b == nil || b.CreatedAt == nil { + return Timestamp{} + } + return *b.CreatedAt +} + +// GetDismissStaleReviewsOnPush returns the DismissStaleReviewsOnPush field if it's non-nil, zero value otherwise. +func (b *BranchProtectionRule) GetDismissStaleReviewsOnPush() bool { + if b == nil || b.DismissStaleReviewsOnPush == nil { + return false + } + return *b.DismissStaleReviewsOnPush +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (b *BranchProtectionRule) GetID() int64 { + if b == nil || b.ID == nil { + return 0 + } + return *b.ID +} + +// GetIgnoreApprovalsFromContributors returns the IgnoreApprovalsFromContributors field if it's non-nil, zero value otherwise. +func (b *BranchProtectionRule) GetIgnoreApprovalsFromContributors() bool { + if b == nil || b.IgnoreApprovalsFromContributors == nil { + return false + } + return *b.IgnoreApprovalsFromContributors +} + +// GetLinearHistoryRequirementEnforcementLevel returns the LinearHistoryRequirementEnforcementLevel field if it's non-nil, zero value otherwise. +func (b *BranchProtectionRule) GetLinearHistoryRequirementEnforcementLevel() string { + if b == nil || b.LinearHistoryRequirementEnforcementLevel == nil { + return "" + } + return *b.LinearHistoryRequirementEnforcementLevel +} + +// GetMergeQueueEnforcementLevel returns the MergeQueueEnforcementLevel field if it's non-nil, zero value otherwise. +func (b *BranchProtectionRule) GetMergeQueueEnforcementLevel() string { + if b == nil || b.MergeQueueEnforcementLevel == nil { + return "" + } + return *b.MergeQueueEnforcementLevel +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (b *BranchProtectionRule) GetName() string { + if b == nil || b.Name == nil { + return "" + } + return *b.Name +} + +// GetPullRequestReviewsEnforcementLevel returns the PullRequestReviewsEnforcementLevel field if it's non-nil, zero value otherwise. +func (b *BranchProtectionRule) GetPullRequestReviewsEnforcementLevel() string { + if b == nil || b.PullRequestReviewsEnforcementLevel == nil { + return "" + } + return *b.PullRequestReviewsEnforcementLevel +} + +// GetRepositoryID returns the RepositoryID field if it's non-nil, zero value otherwise. +func (b *BranchProtectionRule) GetRepositoryID() int64 { + if b == nil || b.RepositoryID == nil { + return 0 + } + return *b.RepositoryID +} + +// GetRequireCodeOwnerReview returns the RequireCodeOwnerReview field if it's non-nil, zero value otherwise. +func (b *BranchProtectionRule) GetRequireCodeOwnerReview() bool { + if b == nil || b.RequireCodeOwnerReview == nil { + return false + } + return *b.RequireCodeOwnerReview +} + +// GetRequiredApprovingReviewCount returns the RequiredApprovingReviewCount field if it's non-nil, zero value otherwise. +func (b *BranchProtectionRule) GetRequiredApprovingReviewCount() int { + if b == nil || b.RequiredApprovingReviewCount == nil { + return 0 + } + return *b.RequiredApprovingReviewCount +} + +// GetRequiredConversationResolutionLevel returns the RequiredConversationResolutionLevel field if it's non-nil, zero value otherwise. +func (b *BranchProtectionRule) GetRequiredConversationResolutionLevel() string { + if b == nil || b.RequiredConversationResolutionLevel == nil { + return "" + } + return *b.RequiredConversationResolutionLevel +} + +// GetRequiredDeploymentsEnforcementLevel returns the RequiredDeploymentsEnforcementLevel field if it's non-nil, zero value otherwise. +func (b *BranchProtectionRule) GetRequiredDeploymentsEnforcementLevel() string { + if b == nil || b.RequiredDeploymentsEnforcementLevel == nil { + return "" + } + 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 { + return "" + } + return *b.RequiredStatusChecksEnforcementLevel +} + +// GetRequireLastPushApproval returns the RequireLastPushApproval field if it's non-nil, zero value otherwise. +func (b *BranchProtectionRule) GetRequireLastPushApproval() bool { + if b == nil || b.RequireLastPushApproval == nil { + return false + } + return *b.RequireLastPushApproval +} + +// GetSignatureRequirementEnforcementLevel returns the SignatureRequirementEnforcementLevel field if it's non-nil, zero value otherwise. +func (b *BranchProtectionRule) GetSignatureRequirementEnforcementLevel() string { + if b == nil || b.SignatureRequirementEnforcementLevel == nil { + return "" + } + return *b.SignatureRequirementEnforcementLevel +} + +// GetStrictRequiredStatusChecksPolicy returns the StrictRequiredStatusChecksPolicy field if it's non-nil, zero value otherwise. +func (b *BranchProtectionRule) GetStrictRequiredStatusChecksPolicy() bool { + if b == nil || b.StrictRequiredStatusChecksPolicy == nil { + return false + } + return *b.StrictRequiredStatusChecksPolicy +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (b *BranchProtectionRule) GetUpdatedAt() Timestamp { + if b == nil || b.UpdatedAt == nil { + return Timestamp{} + } + return *b.UpdatedAt +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (b *BranchProtectionRuleEvent) GetAction() string { + if b == nil || b.Action == nil { + return "" + } + return *b.Action +} + +// GetChanges returns the Changes field. +func (b *BranchProtectionRuleEvent) GetChanges() *ProtectionChanges { + if b == nil { + return nil + } + return b.Changes +} + +// GetInstallation returns the Installation field. +func (b *BranchProtectionRuleEvent) GetInstallation() *Installation { + if b == nil { + return nil + } + return b.Installation +} + +// GetOrg returns the Org field. +func (b *BranchProtectionRuleEvent) GetOrg() *Organization { + if b == nil { + return nil + } + return b.Org +} + +// GetRepo returns the Repo field. +func (b *BranchProtectionRuleEvent) GetRepo() *Repository { + if b == nil { + return nil + } + return b.Repo +} + +// GetRule returns the Rule field. +func (b *BranchProtectionRuleEvent) GetRule() *BranchProtectionRule { + if b == nil { + return nil + } + return b.Rule +} + +// GetSender returns the Sender field. +func (b *BranchProtectionRuleEvent) GetSender() *User { + if b == nil { + return nil + } + 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 { + return 0 + } + return *b.ActorID +} + +// GetActorType returns the ActorType field. +func (b *BypassActor) GetActorType() *BypassActorType { + if b == nil { + return nil + } + return b.ActorType +} + +// GetBypassMode returns the BypassMode field. +func (b *BypassActor) GetBypassMode() *BypassMode { + if b == nil { + return nil + } + 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 { + return 0 + } + return *b.SecurityConfigurationID +} + +// GetApp returns the App field. +func (c *CheckRun) GetApp() *App { + if c == nil { + return nil + } + return c.App +} + +// GetCheckSuite returns the CheckSuite field. +func (c *CheckRun) GetCheckSuite() *CheckSuite { + if c == nil { + return nil + } + return c.CheckSuite +} + +// GetCompletedAt returns the CompletedAt field if it's non-nil, zero value otherwise. +func (c *CheckRun) GetCompletedAt() Timestamp { + if c == nil || c.CompletedAt == nil { + return Timestamp{} + } + return *c.CompletedAt +} + +// GetConclusion returns the Conclusion field if it's non-nil, zero value otherwise. +func (c *CheckRun) GetConclusion() string { + if c == nil || c.Conclusion == nil { + return "" + } + return *c.Conclusion +} + +// GetDetailsURL returns the DetailsURL field if it's non-nil, zero value otherwise. +func (c *CheckRun) GetDetailsURL() string { + if c == nil || c.DetailsURL == nil { + return "" + } + return *c.DetailsURL +} + +// GetExternalID returns the ExternalID field if it's non-nil, zero value otherwise. +func (c *CheckRun) GetExternalID() string { + if c == nil || c.ExternalID == nil { + return "" + } + return *c.ExternalID +} + +// GetHeadSHA returns the HeadSHA field if it's non-nil, zero value otherwise. +func (c *CheckRun) GetHeadSHA() string { + if c == nil || c.HeadSHA == nil { + return "" + } + return *c.HeadSHA +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (c *CheckRun) GetHTMLURL() string { + if c == nil || c.HTMLURL == nil { + return "" + } + return *c.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (c *CheckRun) GetID() int64 { + if c == nil || c.ID == nil { + return 0 + } + return *c.ID +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (c *CheckRun) GetName() string { + if c == nil || c.Name == nil { + return "" + } + return *c.Name +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (c *CheckRun) GetNodeID() string { + if c == nil || c.NodeID == nil { + return "" + } + return *c.NodeID +} + +// GetOutput returns the Output field. +func (c *CheckRun) GetOutput() *CheckRunOutput { + if c == nil { + return nil + } + 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 { + return Timestamp{} + } + return *c.StartedAt +} + +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (c *CheckRun) GetStatus() string { + if c == nil || c.Status == nil { + return "" + } + return *c.Status +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (c *CheckRun) GetURL() string { + if c == nil || c.URL == nil { + return "" + } + 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 { + return "" + } + return *c.AnnotationLevel +} + +// GetEndColumn returns the EndColumn field if it's non-nil, zero value otherwise. +func (c *CheckRunAnnotation) GetEndColumn() int { + if c == nil || c.EndColumn == nil { + return 0 + } + return *c.EndColumn +} + +// GetEndLine returns the EndLine field if it's non-nil, zero value otherwise. +func (c *CheckRunAnnotation) GetEndLine() int { + if c == nil || c.EndLine == nil { + return 0 + } + return *c.EndLine +} + +// GetMessage returns the Message field if it's non-nil, zero value otherwise. +func (c *CheckRunAnnotation) GetMessage() string { + if c == nil || c.Message == nil { + return "" + } + return *c.Message +} + +// GetPath returns the Path field if it's non-nil, zero value otherwise. +func (c *CheckRunAnnotation) GetPath() string { + if c == nil || c.Path == nil { + return "" + } + return *c.Path +} + +// GetRawDetails returns the RawDetails field if it's non-nil, zero value otherwise. +func (c *CheckRunAnnotation) GetRawDetails() string { + if c == nil || c.RawDetails == nil { + return "" + } + return *c.RawDetails +} + +// GetStartColumn returns the StartColumn field if it's non-nil, zero value otherwise. +func (c *CheckRunAnnotation) GetStartColumn() int { + if c == nil || c.StartColumn == nil { + return 0 + } + return *c.StartColumn +} + +// GetStartLine returns the StartLine field if it's non-nil, zero value otherwise. +func (c *CheckRunAnnotation) GetStartLine() int { + if c == nil || c.StartLine == nil { + return 0 + } + return *c.StartLine +} + +// GetTitle returns the Title field if it's non-nil, zero value otherwise. +func (c *CheckRunAnnotation) GetTitle() string { + if c == nil || c.Title == nil { + return "" + } + return *c.Title +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (c *CheckRunEvent) GetAction() string { + if c == nil || c.Action == nil { + return "" + } + return *c.Action +} + +// GetCheckRun returns the CheckRun field. +func (c *CheckRunEvent) GetCheckRun() *CheckRun { + if c == nil { + return nil + } + return c.CheckRun +} + +// GetInstallation returns the Installation field. +func (c *CheckRunEvent) GetInstallation() *Installation { + if c == nil { + return nil + } + return c.Installation +} + +// GetOrg returns the Org field. +func (c *CheckRunEvent) GetOrg() *Organization { + if c == nil { + return nil + } + return c.Org +} + +// GetRepo returns the Repo field. +func (c *CheckRunEvent) GetRepo() *Repository { + if c == nil { + return nil + } + return c.Repo +} + +// GetRequestedAction returns the RequestedAction field. +func (c *CheckRunEvent) GetRequestedAction() *RequestedAction { + if c == nil { + return nil + } + return c.RequestedAction +} + +// GetSender returns the Sender field. +func (c *CheckRunEvent) GetSender() *User { + if c == nil { + return nil + } + return c.Sender +} + +// GetAlt returns the Alt field if it's non-nil, zero value otherwise. +func (c *CheckRunImage) GetAlt() string { + if c == nil || c.Alt == nil { + return "" + } + return *c.Alt +} + +// GetCaption returns the Caption field if it's non-nil, zero value otherwise. +func (c *CheckRunImage) GetCaption() string { + if c == nil || c.Caption == nil { + return "" + } + return *c.Caption +} + +// GetImageURL returns the ImageURL field if it's non-nil, zero value otherwise. +func (c *CheckRunImage) GetImageURL() string { + if c == nil || c.ImageURL == nil { + return "" + } + 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 { + return 0 + } + return *c.AnnotationsCount +} + +// GetAnnotationsURL returns the AnnotationsURL field if it's non-nil, zero value otherwise. +func (c *CheckRunOutput) GetAnnotationsURL() string { + if c == nil || c.AnnotationsURL == nil { + return "" + } + 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 { + return "" + } + return *c.Summary +} + +// GetText returns the Text field if it's non-nil, zero value otherwise. +func (c *CheckRunOutput) GetText() string { + if c == nil || c.Text == nil { + return "" + } + return *c.Text +} + +// GetTitle returns the Title field if it's non-nil, zero value otherwise. +func (c *CheckRunOutput) GetTitle() string { + if c == nil || c.Title == nil { + return "" + } + return *c.Title +} + +// GetAfterSHA returns the AfterSHA field if it's non-nil, zero value otherwise. +func (c *CheckSuite) GetAfterSHA() string { + if c == nil || c.AfterSHA == nil { + return "" + } + return *c.AfterSHA +} + +// GetApp returns the App field. +func (c *CheckSuite) GetApp() *App { + if c == nil { + return nil + } + return c.App +} + +// GetBeforeSHA returns the BeforeSHA field if it's non-nil, zero value otherwise. +func (c *CheckSuite) GetBeforeSHA() string { + if c == nil || c.BeforeSHA == nil { + return "" + } + return *c.BeforeSHA +} + +// GetConclusion returns the Conclusion field if it's non-nil, zero value otherwise. +func (c *CheckSuite) GetConclusion() string { + if c == nil || c.Conclusion == nil { + return "" + } + return *c.Conclusion +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (c *CheckSuite) GetCreatedAt() Timestamp { + if c == nil || c.CreatedAt == nil { + return Timestamp{} + } + return *c.CreatedAt +} + +// GetHeadBranch returns the HeadBranch field if it's non-nil, zero value otherwise. +func (c *CheckSuite) GetHeadBranch() string { + if c == nil || c.HeadBranch == nil { + return "" + } + return *c.HeadBranch +} + +// GetHeadCommit returns the HeadCommit field. +func (c *CheckSuite) GetHeadCommit() *Commit { + if c == nil { + return nil + } + return c.HeadCommit +} + +// GetHeadSHA returns the HeadSHA field if it's non-nil, zero value otherwise. +func (c *CheckSuite) GetHeadSHA() string { + if c == nil || c.HeadSHA == nil { + return "" + } + return *c.HeadSHA +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (c *CheckSuite) GetID() int64 { + if c == nil || c.ID == nil { + return 0 + } + return *c.ID +} + +// GetLatestCheckRunsCount returns the LatestCheckRunsCount field if it's non-nil, zero value otherwise. +func (c *CheckSuite) GetLatestCheckRunsCount() int64 { + if c == nil || c.LatestCheckRunsCount == nil { + return 0 + } + return *c.LatestCheckRunsCount +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (c *CheckSuite) GetNodeID() string { + if c == nil || c.NodeID == nil { + return "" + } + 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 { + return nil + } + return c.Repository +} + +// GetRerequestable returns the Rerequestable field if it's non-nil, zero value otherwise. +func (c *CheckSuite) GetRerequestable() bool { + if c == nil || c.Rerequestable == nil { + return false + } + return *c.Rerequestable +} + +// GetRunsRerequestable returns the RunsRerequestable field if it's non-nil, zero value otherwise. +func (c *CheckSuite) GetRunsRerequestable() bool { + if c == nil || c.RunsRerequestable == nil { + return false + } + return *c.RunsRerequestable +} + +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (c *CheckSuite) GetStatus() string { + if c == nil || c.Status == nil { + return "" + } + return *c.Status +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (c *CheckSuite) GetUpdatedAt() Timestamp { + if c == nil || c.UpdatedAt == nil { + return Timestamp{} + } + return *c.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (c *CheckSuite) GetURL() string { + if c == nil || c.URL == nil { + return "" + } + return *c.URL +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (c *CheckSuiteEvent) GetAction() string { + if c == nil || c.Action == nil { + return "" + } + return *c.Action +} + +// GetCheckSuite returns the CheckSuite field. +func (c *CheckSuiteEvent) GetCheckSuite() *CheckSuite { + if c == nil { + return nil + } + return c.CheckSuite +} + +// GetInstallation returns the Installation field. +func (c *CheckSuiteEvent) GetInstallation() *Installation { + if c == nil { + return nil + } + return c.Installation +} + +// GetOrg returns the Org field. +func (c *CheckSuiteEvent) GetOrg() *Organization { + if c == nil { + return nil + } + return c.Org +} + +// GetRepo returns the Repo field. +func (c *CheckSuiteEvent) GetRepo() *Repository { + if c == nil { + return nil + } + return c.Repo +} + +// GetSender returns the Sender field. +func (c *CheckSuiteEvent) GetSender() *User { + if c == nil { + return nil + } + 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 { + return nil + } + return c.Preferences +} + +// GetRepository returns the Repository field. +func (c *CheckSuitePreferenceResults) GetRepository() *Repository { + if c == nil { + return nil + } + return c.Repository +} + +// GetArchived returns the Archived field if it's non-nil, zero value otherwise. +func (c *Classroom) GetArchived() bool { + if c == nil || c.Archived == nil { + return false + } + return *c.Archived +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (c *Classroom) GetID() int64 { + if c == nil || c.ID == nil { + return 0 + } + return *c.ID +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (c *Classroom) GetName() string { + if c == nil || c.Name == nil { + return "" + } + return *c.Name +} + +// GetOrganization returns the Organization field. +func (c *Classroom) GetOrganization() *Organization { + if c == nil { + return nil + } + return c.Organization +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (c *Classroom) GetURL() string { + if c == nil || c.URL == nil { + return "" + } + return *c.URL +} + +// GetAccepted returns the Accepted field if it's non-nil, zero value otherwise. +func (c *ClassroomAssignment) GetAccepted() int { + if c == nil || c.Accepted == nil { + return 0 + } + return *c.Accepted +} + +// GetClassroom returns the Classroom field. +func (c *ClassroomAssignment) GetClassroom() *Classroom { + if c == nil { + return nil + } + return c.Classroom +} + +// GetDeadline returns the Deadline field if it's non-nil, zero value otherwise. +func (c *ClassroomAssignment) GetDeadline() Timestamp { + if c == nil || c.Deadline == nil { + return Timestamp{} + } + return *c.Deadline +} + +// GetEditor returns the Editor field if it's non-nil, zero value otherwise. +func (c *ClassroomAssignment) GetEditor() string { + if c == nil || c.Editor == nil { + return "" + } + return *c.Editor +} + +// GetFeedbackPullRequestsEnabled returns the FeedbackPullRequestsEnabled field if it's non-nil, zero value otherwise. +func (c *ClassroomAssignment) GetFeedbackPullRequestsEnabled() bool { + if c == nil || c.FeedbackPullRequestsEnabled == nil { + return false + } + return *c.FeedbackPullRequestsEnabled +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (c *ClassroomAssignment) GetID() int64 { + if c == nil || c.ID == nil { + return 0 + } + return *c.ID +} + +// GetInvitationsEnabled returns the InvitationsEnabled field if it's non-nil, zero value otherwise. +func (c *ClassroomAssignment) GetInvitationsEnabled() bool { + if c == nil || c.InvitationsEnabled == nil { + return false + } + return *c.InvitationsEnabled +} + +// GetInviteLink returns the InviteLink field if it's non-nil, zero value otherwise. +func (c *ClassroomAssignment) GetInviteLink() string { + if c == nil || c.InviteLink == nil { + return "" + } + return *c.InviteLink +} + +// GetLanguage returns the Language field if it's non-nil, zero value otherwise. +func (c *ClassroomAssignment) GetLanguage() string { + if c == nil || c.Language == nil { + return "" + } + return *c.Language +} + +// GetMaxMembers returns the MaxMembers field if it's non-nil, zero value otherwise. +func (c *ClassroomAssignment) GetMaxMembers() int { + if c == nil || c.MaxMembers == nil { + return 0 + } + return *c.MaxMembers +} + +// GetMaxTeams returns the MaxTeams field if it's non-nil, zero value otherwise. +func (c *ClassroomAssignment) GetMaxTeams() int { + if c == nil || c.MaxTeams == nil { + return 0 + } + return *c.MaxTeams +} + +// GetPassing returns the Passing field if it's non-nil, zero value otherwise. +func (c *ClassroomAssignment) GetPassing() int { + if c == nil || c.Passing == nil { + return 0 + } + return *c.Passing +} + +// GetPublicRepo returns the PublicRepo field if it's non-nil, zero value otherwise. +func (c *ClassroomAssignment) GetPublicRepo() bool { + if c == nil || c.PublicRepo == nil { + return false + } + return *c.PublicRepo +} + +// GetSlug returns the Slug field if it's non-nil, zero value otherwise. +func (c *ClassroomAssignment) GetSlug() string { + if c == nil || c.Slug == nil { + return "" + } + return *c.Slug +} + +// GetStarterCodeRepository returns the StarterCodeRepository field. +func (c *ClassroomAssignment) GetStarterCodeRepository() *Repository { + if c == nil { + return nil + } + return c.StarterCodeRepository +} + +// GetStudentsAreRepoAdmins returns the StudentsAreRepoAdmins field if it's non-nil, zero value otherwise. +func (c *ClassroomAssignment) GetStudentsAreRepoAdmins() bool { + if c == nil || c.StudentsAreRepoAdmins == nil { + return false + } + return *c.StudentsAreRepoAdmins +} + +// GetSubmitted returns the Submitted field if it's non-nil, zero value otherwise. +func (c *ClassroomAssignment) GetSubmitted() int { + if c == nil || c.Submitted == nil { + return 0 + } + return *c.Submitted +} + +// GetTitle returns the Title field if it's non-nil, zero value otherwise. +func (c *ClassroomAssignment) GetTitle() string { + if c == nil || c.Title == nil { + return "" + } + return *c.Title +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (c *ClassroomAssignment) GetType() string { + if c == nil || c.Type == nil { + return "" + } + return *c.Type +} + +// GetAvatarURL returns the AvatarURL field if it's non-nil, zero value otherwise. +func (c *ClassroomUser) GetAvatarURL() string { + if c == nil || c.AvatarURL == nil { + return "" + } + return *c.AvatarURL +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (c *ClassroomUser) GetHTMLURL() string { + if c == nil || c.HTMLURL == nil { + return "" + } + return *c.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (c *ClassroomUser) GetID() int64 { + if c == nil || c.ID == nil { + return 0 + } + return *c.ID +} + +// GetLogin returns the Login field if it's non-nil, zero value otherwise. +func (c *ClassroomUser) GetLogin() string { + if c == nil || c.Login == nil { + return "" + } + 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 { + return "" + } + 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 { + return map[string]string{} + } + return c.Tags +} + +// GetVersion returns the Version field if it's non-nil, zero value otherwise. +func (c *ClusterArtifactDeployment) GetVersion() string { + if c == nil || c.Version == nil { + return "" + } + 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 { + return "" + } + return *c.PhysicalEnvironment +} + +// GetFingerprint returns the Fingerprint field if it's non-nil, zero value otherwise. +func (c *ClusterSSHKey) GetFingerprint() string { + if c == nil || c.Fingerprint == nil { + return "" + } + return *c.Fingerprint +} + +// GetKey returns the Key field if it's non-nil, zero value otherwise. +func (c *ClusterSSHKey) GetKey() string { + if c == nil || c.Key == nil { + return "" + } + 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 { + return "" + } + return *c.Status +} + +// GetHostname returns the Hostname field if it's non-nil, zero value otherwise. +func (c *ClusterStatusNode) GetHostname() string { + if c == nil || c.Hostname == nil { + return "" + } + 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 { + return "" + } + return *c.Status +} + +// GetDetails returns the Details field if it's non-nil, zero value otherwise. +func (c *ClusterStatusNodeServiceItem) GetDetails() string { + if c == nil || c.Details == nil { + return "" + } + return *c.Details +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (c *ClusterStatusNodeServiceItem) GetName() string { + if c == nil || c.Name == nil { + return "" + } + return *c.Name +} + +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (c *ClusterStatusNodeServiceItem) GetStatus() string { + if c == nil || c.Status == nil { + return "" + } + return *c.Status +} + +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (c *CodeOfConduct) GetBody() string { + if c == nil || c.Body == nil { + return "" + } + return *c.Body +} + +// GetKey returns the Key field if it's non-nil, zero value otherwise. +func (c *CodeOfConduct) GetKey() string { + if c == nil || c.Key == nil { + return "" + } + return *c.Key +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (c *CodeOfConduct) GetName() string { + if c == nil || c.Name == nil { + return "" + } + return *c.Name +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (c *CodeOfConduct) GetURL() string { + if c == nil || c.URL == nil { + return "" + } + 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 { + return "" + } + 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 { + return "" + } + return *c.ContentType +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (c *CodeQLDatabase) GetCreatedAt() Timestamp { + if c == nil || c.CreatedAt == nil { + return Timestamp{} + } + return *c.CreatedAt +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (c *CodeQLDatabase) GetID() int64 { + if c == nil || c.ID == nil { + return 0 + } + return *c.ID +} + +// GetLanguage returns the Language field if it's non-nil, zero value otherwise. +func (c *CodeQLDatabase) GetLanguage() string { + if c == nil || c.Language == nil { + return "" + } + return *c.Language +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (c *CodeQLDatabase) GetName() string { + if c == nil || c.Name == nil { + return "" + } + return *c.Name +} + +// GetSize returns the Size field if it's non-nil, zero value otherwise. +func (c *CodeQLDatabase) GetSize() int64 { + if c == nil || c.Size == nil { + return 0 + } + return *c.Size +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (c *CodeQLDatabase) GetUpdatedAt() Timestamp { + if c == nil || c.UpdatedAt == nil { + return Timestamp{} + } + return *c.UpdatedAt +} + +// GetUploader returns the Uploader field. +func (c *CodeQLDatabase) GetUploader() *User { + if c == nil { + return nil + } + return c.Uploader +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (c *CodeQLDatabase) GetURL() string { + if c == nil || c.URL == nil { + return "" + } + return *c.URL +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (c *CodeQualityFinding) GetCreatedAt() Timestamp { + if c == nil || c.CreatedAt == nil { + return Timestamp{} + } + return *c.CreatedAt +} + +// GetLocation returns the Location field. +func (c *CodeQualityFinding) GetLocation() CodeQualityFindingLocation { + if c == nil { + return CodeQualityFindingLocation{} + } + return c.Location +} + +// GetMessage returns the Message field. +func (c *CodeQualityFinding) GetMessage() CodeQualityFindingMessage { + if c == nil { + return CodeQualityFindingMessage{} + } + return c.Message +} + +// GetNumber returns the Number field. +func (c *CodeQualityFinding) GetNumber() int { + if c == nil { + return 0 + } + return c.Number +} + +// GetRule returns the Rule field. +func (c *CodeQualityFinding) GetRule() CodeQualityFindingRule { + if c == nil { + return CodeQualityFindingRule{} + } + return c.Rule +} + +// GetState returns the State field. +func (c *CodeQualityFinding) GetState() string { + if c == nil { + return "" + } + return c.State +} + +// GetURL returns the URL field. +func (c *CodeQualityFinding) GetURL() string { + if c == nil { + return "" + } + return c.URL +} + +// GetEndColumn returns the EndColumn field if it's non-nil, zero value otherwise. +func (c *CodeQualityFindingLocation) GetEndColumn() int { + if c == nil || c.EndColumn == nil { + return 0 + } + return *c.EndColumn +} + +// GetEndLine returns the EndLine field if it's non-nil, zero value otherwise. +func (c *CodeQualityFindingLocation) GetEndLine() int { + if c == nil || c.EndLine == nil { + return 0 + } + return *c.EndLine +} + +// GetPath returns the Path field. +func (c *CodeQualityFindingLocation) GetPath() string { + if c == nil { + return "" + } + return c.Path +} + +// GetStartColumn returns the StartColumn field if it's non-nil, zero value otherwise. +func (c *CodeQualityFindingLocation) GetStartColumn() int { + if c == nil || c.StartColumn == nil { + return 0 + } + return *c.StartColumn +} + +// GetStartLine returns the StartLine field if it's non-nil, zero value otherwise. +func (c *CodeQualityFindingLocation) GetStartLine() int { + if c == nil || c.StartLine == nil { + return 0 + } + return *c.StartLine +} + +// GetMarkdown returns the Markdown field. +func (c *CodeQualityFindingMessage) GetMarkdown() string { + if c == nil { + return "" + } + return c.Markdown +} + +// GetText returns the Text field. +func (c *CodeQualityFindingMessage) GetText() string { + if c == nil { + return "" + } + return c.Text +} + +// GetCategory returns the Category field. +func (c *CodeQualityFindingRule) GetCategory() string { + if c == nil { + return "" + } + return c.Category +} + +// GetDescription returns the Description field. +func (c *CodeQualityFindingRule) GetDescription() string { + if c == nil { + return "" + } + return c.Description +} + +// GetHelp returns the Help field if it's non-nil, zero value otherwise. +func (c *CodeQualityFindingRule) GetHelp() string { + if c == nil || c.Help == nil { + return "" + } + return *c.Help +} + +// GetID returns the ID field. +func (c *CodeQualityFindingRule) GetID() string { + if c == nil { + return "" + } + return c.ID +} + +// GetSeverity returns the Severity field. +func (c *CodeQualityFindingRule) GetSeverity() string { + if c == nil { + return "" + } + return c.Severity +} + +// GetTitle returns the Title field. +func (c *CodeQualityFindingRule) GetTitle() string { + if c == nil { + return "" + } + return c.Title +} + +// GetLanguages returns the Languages slice if it's non-nil, nil otherwise. +func (c *CodeQualitySetupConfiguration) GetLanguages() []string { + if c == nil || c.Languages == nil { + return nil + } + return c.Languages +} + +// GetRunnerLabel returns the RunnerLabel field if it's non-nil, zero value otherwise. +func (c *CodeQualitySetupConfiguration) GetRunnerLabel() string { + if c == nil || c.RunnerLabel == nil { + return "" + } + return *c.RunnerLabel +} + +// GetRunnerType returns the RunnerType field if it's non-nil, zero value otherwise. +func (c *CodeQualitySetupConfiguration) GetRunnerType() string { + if c == nil || c.RunnerType == nil { + return "" + } + return *c.RunnerType +} + +// GetSchedule returns the Schedule field if it's non-nil, zero value otherwise. +func (c *CodeQualitySetupConfiguration) GetSchedule() string { + if c == nil || c.Schedule == nil { + return "" + } + return *c.Schedule +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (c *CodeQualitySetupConfiguration) GetState() string { + if c == nil || c.State == nil { + return "" + } + return *c.State +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (c *CodeQualitySetupConfiguration) GetUpdatedAt() Timestamp { + if c == nil || c.UpdatedAt == nil { + return Timestamp{} + } + return *c.UpdatedAt +} + +// GetLanguages returns the Languages slice if it's non-nil, nil otherwise. +func (c *CodeQualityUpdateSetupRequest) GetLanguages() []string { + if c == nil || c.Languages == nil { + return nil + } + return c.Languages +} + +// GetRunnerLabel returns the RunnerLabel field if it's non-nil, zero value otherwise. +func (c *CodeQualityUpdateSetupRequest) GetRunnerLabel() string { + if c == nil || c.RunnerLabel == nil { + return "" + } + return *c.RunnerLabel +} + +// GetRunnerType returns the RunnerType field if it's non-nil, zero value otherwise. +func (c *CodeQualityUpdateSetupRequest) GetRunnerType() string { + if c == nil || c.RunnerType == nil { + return "" + } + return *c.RunnerType +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (c *CodeQualityUpdateSetupRequest) GetState() string { + if c == nil || c.State == nil { + return "" + } + return *c.State +} + +// GetRunID returns the RunID field if it's non-nil, zero value otherwise. +func (c *CodeQualityUpdateSetupResponse) GetRunID() int64 { + if c == nil || c.RunID == nil { + return 0 + } + return *c.RunID +} + +// GetRunURL returns the RunURL field if it's non-nil, zero value otherwise. +func (c *CodeQualityUpdateSetupResponse) GetRunURL() string { + if c == nil || c.RunURL == nil { + return "" + } + return *c.RunURL +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (c *CodeResult) GetHTMLURL() string { + if c == nil || c.HTMLURL == nil { + return "" + } + return *c.HTMLURL +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (c *CodeResult) GetName() string { + if c == nil || c.Name == nil { + return "" + } + return *c.Name +} + +// GetPath returns the Path field if it's non-nil, zero value otherwise. +func (c *CodeResult) GetPath() string { + if c == nil || c.Path == nil { + return "" + } + return *c.Path +} + +// GetRepository returns the Repository field. +func (c *CodeResult) GetRepository() *Repository { + if c == nil { + return nil + } + return c.Repository +} + +// GetSHA returns the SHA field if it's non-nil, zero value otherwise. +func (c *CodeResult) GetSHA() string { + if c == nil || c.SHA == nil { + return "" + } + 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 { + return "" + } + return *c.Action +} + +// GetAlert returns the Alert field. +func (c *CodeScanningAlertEvent) GetAlert() *Alert { + if c == nil { + return nil + } + return c.Alert +} + +// GetCommitOID returns the CommitOID field if it's non-nil, zero value otherwise. +func (c *CodeScanningAlertEvent) GetCommitOID() string { + if c == nil || c.CommitOID == nil { + return "" + } + return *c.CommitOID +} + +// GetInstallation returns the Installation field. +func (c *CodeScanningAlertEvent) GetInstallation() *Installation { + if c == nil { + return nil + } + return c.Installation +} + +// GetOrg returns the Org field. +func (c *CodeScanningAlertEvent) GetOrg() *Organization { + if c == nil { + return nil + } + return c.Org +} + +// GetRef returns the Ref field if it's non-nil, zero value otherwise. +func (c *CodeScanningAlertEvent) GetRef() string { + if c == nil || c.Ref == nil { + return "" + } + return *c.Ref +} + +// GetRepo returns the Repo field. +func (c *CodeScanningAlertEvent) GetRepo() *Repository { + if c == nil { + return nil + } + return c.Repo +} + +// GetSender returns the Sender field. +func (c *CodeScanningAlertEvent) GetSender() *User { + if c == nil { + return nil + } + return c.Sender +} + +// GetDismissedComment returns the DismissedComment field if it's non-nil, zero value otherwise. +func (c *CodeScanningAlertState) GetDismissedComment() string { + if c == nil || c.DismissedComment == nil { + return "" + } + return *c.DismissedComment +} + +// GetDismissedReason returns the DismissedReason field if it's non-nil, zero value otherwise. +func (c *CodeScanningAlertState) GetDismissedReason() string { + if c == nil || c.DismissedReason == nil { + return "" + } + 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 { + return "" + } + 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 { + return false + } + 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 { + return false + } + return *c.IncompleteResults +} + +// GetTotal returns the Total field if it's non-nil, zero value otherwise. +func (c *CodeSearchResult) GetTotal() int { + if c == nil || c.Total == nil { + return 0 + } + return *c.Total +} + +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (c *CodeSecurity) GetStatus() string { + if c == nil || c.Status == nil { + return "" + } + return *c.Status +} + +// GetAdvancedSecurity returns the AdvancedSecurity field if it's non-nil, zero value otherwise. +func (c *CodeSecurityConfiguration) GetAdvancedSecurity() string { + if c == nil || c.AdvancedSecurity == nil { + return "" + } + return *c.AdvancedSecurity +} + +// GetCodeScanningDefaultSetup returns the CodeScanningDefaultSetup field if it's non-nil, zero value otherwise. +func (c *CodeSecurityConfiguration) GetCodeScanningDefaultSetup() string { + if c == nil || c.CodeScanningDefaultSetup == nil { + return "" + } + return *c.CodeScanningDefaultSetup +} + +// GetCodeScanningDefaultSetupOptions returns the CodeScanningDefaultSetupOptions field. +func (c *CodeSecurityConfiguration) GetCodeScanningDefaultSetupOptions() *CodeScanningDefaultSetupOptions { + if c == nil { + return nil + } + return c.CodeScanningDefaultSetupOptions +} + +// GetCodeScanningDelegatedAlertDismissal returns the CodeScanningDelegatedAlertDismissal field if it's non-nil, zero value otherwise. +func (c *CodeSecurityConfiguration) GetCodeScanningDelegatedAlertDismissal() string { + if c == nil || c.CodeScanningDelegatedAlertDismissal == nil { + return "" + } + return *c.CodeScanningDelegatedAlertDismissal +} + +// GetCodeScanningOptions returns the CodeScanningOptions field. +func (c *CodeSecurityConfiguration) GetCodeScanningOptions() *CodeScanningOptions { + if c == nil { + return nil + } + return c.CodeScanningOptions +} + +// GetCodeSecurity returns the CodeSecurity field if it's non-nil, zero value otherwise. +func (c *CodeSecurityConfiguration) GetCodeSecurity() string { + if c == nil || c.CodeSecurity == nil { + return "" + } + return *c.CodeSecurity +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (c *CodeSecurityConfiguration) GetCreatedAt() Timestamp { + if c == nil || c.CreatedAt == nil { + return Timestamp{} + } + return *c.CreatedAt +} + +// GetDependabotAlerts returns the DependabotAlerts field if it's non-nil, zero value otherwise. +func (c *CodeSecurityConfiguration) GetDependabotAlerts() string { + if c == nil || c.DependabotAlerts == nil { + return "" + } + return *c.DependabotAlerts +} + +// GetDependabotDelegatedAlertDismissal returns the DependabotDelegatedAlertDismissal field if it's non-nil, zero value otherwise. +func (c *CodeSecurityConfiguration) GetDependabotDelegatedAlertDismissal() string { + if c == nil || c.DependabotDelegatedAlertDismissal == nil { + return "" + } + return *c.DependabotDelegatedAlertDismissal +} + +// GetDependabotSecurityUpdates returns the DependabotSecurityUpdates field if it's non-nil, zero value otherwise. +func (c *CodeSecurityConfiguration) GetDependabotSecurityUpdates() string { + if c == nil || c.DependabotSecurityUpdates == nil { + return "" + } + return *c.DependabotSecurityUpdates +} + +// GetDependencyGraph returns the DependencyGraph field if it's non-nil, zero value otherwise. +func (c *CodeSecurityConfiguration) GetDependencyGraph() string { + if c == nil || c.DependencyGraph == nil { + return "" + } + return *c.DependencyGraph +} + +// GetDependencyGraphAutosubmitAction returns the DependencyGraphAutosubmitAction field if it's non-nil, zero value otherwise. +func (c *CodeSecurityConfiguration) GetDependencyGraphAutosubmitAction() string { + if c == nil || c.DependencyGraphAutosubmitAction == nil { + return "" + } + return *c.DependencyGraphAutosubmitAction +} + +// GetDependencyGraphAutosubmitActionOptions returns the DependencyGraphAutosubmitActionOptions field. +func (c *CodeSecurityConfiguration) GetDependencyGraphAutosubmitActionOptions() *DependencyGraphAutosubmitActionOptions { + if c == nil { + return nil + } + 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 { + return "" + } + return *c.Enforcement +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (c *CodeSecurityConfiguration) GetHTMLURL() string { + if c == nil || c.HTMLURL == nil { + return "" + } + return *c.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (c *CodeSecurityConfiguration) GetID() int64 { + if c == nil || c.ID == nil { + return 0 + } + 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 { + return "" + } + return *c.PrivateVulnerabilityReporting +} + +// GetSecretProtection returns the SecretProtection field if it's non-nil, zero value otherwise. +func (c *CodeSecurityConfiguration) GetSecretProtection() string { + if c == nil || c.SecretProtection == nil { + return "" + } + return *c.SecretProtection +} + +// GetSecretScanning returns the SecretScanning field if it's non-nil, zero value otherwise. +func (c *CodeSecurityConfiguration) GetSecretScanning() string { + if c == nil || c.SecretScanning == nil { + return "" + } + return *c.SecretScanning +} + +// GetSecretScanningDelegatedAlertDismissal returns the SecretScanningDelegatedAlertDismissal field if it's non-nil, zero value otherwise. +func (c *CodeSecurityConfiguration) GetSecretScanningDelegatedAlertDismissal() string { + if c == nil || c.SecretScanningDelegatedAlertDismissal == nil { + return "" + } + return *c.SecretScanningDelegatedAlertDismissal +} + +// GetSecretScanningDelegatedBypass returns the SecretScanningDelegatedBypass field if it's non-nil, zero value otherwise. +func (c *CodeSecurityConfiguration) GetSecretScanningDelegatedBypass() string { + if c == nil || c.SecretScanningDelegatedBypass == nil { + return "" + } + return *c.SecretScanningDelegatedBypass +} + +// GetSecretScanningDelegatedBypassOptions returns the SecretScanningDelegatedBypassOptions field. +func (c *CodeSecurityConfiguration) GetSecretScanningDelegatedBypassOptions() *SecretScanningDelegatedBypassOptions { + if c == nil { + return nil + } + return c.SecretScanningDelegatedBypassOptions +} + +// GetSecretScanningExtendedMetadata returns the SecretScanningExtendedMetadata field if it's non-nil, zero value otherwise. +func (c *CodeSecurityConfiguration) GetSecretScanningExtendedMetadata() string { + if c == nil || c.SecretScanningExtendedMetadata == nil { + return "" + } + return *c.SecretScanningExtendedMetadata +} + +// GetSecretScanningGenericSecrets returns the SecretScanningGenericSecrets field if it's non-nil, zero value otherwise. +func (c *CodeSecurityConfiguration) GetSecretScanningGenericSecrets() string { + if c == nil || c.SecretScanningGenericSecrets == nil { + return "" + } + return *c.SecretScanningGenericSecrets +} + +// GetSecretScanningNonProviderPatterns returns the SecretScanningNonProviderPatterns field if it's non-nil, zero value otherwise. +func (c *CodeSecurityConfiguration) GetSecretScanningNonProviderPatterns() string { + if c == nil || c.SecretScanningNonProviderPatterns == nil { + return "" + } + return *c.SecretScanningNonProviderPatterns +} + +// GetSecretScanningPushProtection returns the SecretScanningPushProtection field if it's non-nil, zero value otherwise. +func (c *CodeSecurityConfiguration) GetSecretScanningPushProtection() string { + if c == nil || c.SecretScanningPushProtection == nil { + return "" + } + return *c.SecretScanningPushProtection +} + +// GetSecretScanningValidityChecks returns the SecretScanningValidityChecks field if it's non-nil, zero value otherwise. +func (c *CodeSecurityConfiguration) GetSecretScanningValidityChecks() string { + if c == nil || c.SecretScanningValidityChecks == nil { + return "" + } + return *c.SecretScanningValidityChecks +} + +// GetTargetType returns the TargetType field if it's non-nil, zero value otherwise. +func (c *CodeSecurityConfiguration) GetTargetType() string { + if c == nil || c.TargetType == nil { + return "" + } + return *c.TargetType +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (c *CodeSecurityConfiguration) GetUpdatedAt() Timestamp { + if c == nil || c.UpdatedAt == nil { + return Timestamp{} + } + return *c.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (c *CodeSecurityConfiguration) GetURL() string { + if c == nil || c.URL == nil { + return "" + } + return *c.URL +} + +// GetConfiguration returns the Configuration field. +func (c *CodeSecurityConfigurationWithDefaultForNewRepos) GetConfiguration() *CodeSecurityConfiguration { + if c == nil { + return nil + } + return c.Configuration +} + +// GetDefaultForNewRepos returns the DefaultForNewRepos field if it's non-nil, zero value otherwise. +func (c *CodeSecurityConfigurationWithDefaultForNewRepos) GetDefaultForNewRepos() string { + if c == nil || c.DefaultForNewRepos == nil { + return "" + } + return *c.DefaultForNewRepos +} + +// GetBillableOwner returns the BillableOwner field. +func (c *Codespace) GetBillableOwner() *User { + if c == nil { + return nil + } + return c.BillableOwner +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (c *Codespace) GetCreatedAt() Timestamp { + if c == nil || c.CreatedAt == nil { + return Timestamp{} + } + return *c.CreatedAt +} + +// GetDevcontainerPath returns the DevcontainerPath field if it's non-nil, zero value otherwise. +func (c *Codespace) GetDevcontainerPath() string { + if c == nil || c.DevcontainerPath == nil { + return "" + } + return *c.DevcontainerPath +} + +// GetDisplayName returns the DisplayName field if it's non-nil, zero value otherwise. +func (c *Codespace) GetDisplayName() string { + if c == nil || c.DisplayName == nil { + return "" + } + return *c.DisplayName +} + +// GetEnvironmentID returns the EnvironmentID field if it's non-nil, zero value otherwise. +func (c *Codespace) GetEnvironmentID() string { + if c == nil || c.EnvironmentID == nil { + return "" + } + return *c.EnvironmentID +} + +// GetGitStatus returns the GitStatus field. +func (c *Codespace) GetGitStatus() *CodespacesGitStatus { + if c == nil { + return nil + } + return c.GitStatus +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (c *Codespace) GetID() int64 { + if c == nil || c.ID == nil { + return 0 + } + return *c.ID +} + +// GetIdleTimeoutMinutes returns the IdleTimeoutMinutes field if it's non-nil, zero value otherwise. +func (c *Codespace) GetIdleTimeoutMinutes() int { + if c == nil || c.IdleTimeoutMinutes == nil { + return 0 + } + return *c.IdleTimeoutMinutes +} + +// GetIdleTimeoutNotice returns the IdleTimeoutNotice field if it's non-nil, zero value otherwise. +func (c *Codespace) GetIdleTimeoutNotice() string { + if c == nil || c.IdleTimeoutNotice == nil { + return "" + } + return *c.IdleTimeoutNotice +} + +// GetLastKnownStopNotice returns the LastKnownStopNotice field if it's non-nil, zero value otherwise. +func (c *Codespace) GetLastKnownStopNotice() string { + if c == nil || c.LastKnownStopNotice == nil { + return "" + } + return *c.LastKnownStopNotice +} + +// GetLastUsedAt returns the LastUsedAt field if it's non-nil, zero value otherwise. +func (c *Codespace) GetLastUsedAt() Timestamp { + if c == nil || c.LastUsedAt == nil { + return Timestamp{} + } + return *c.LastUsedAt +} + +// GetLocation returns the Location field if it's non-nil, zero value otherwise. +func (c *Codespace) GetLocation() string { + if c == nil || c.Location == nil { + return "" + } + return *c.Location +} + +// GetMachine returns the Machine field. +func (c *Codespace) GetMachine() *CodespacesMachine { + if c == nil { + return nil + } + return c.Machine +} + +// GetMachinesURL returns the MachinesURL field if it's non-nil, zero value otherwise. +func (c *Codespace) GetMachinesURL() string { + if c == nil || c.MachinesURL == nil { + return "" + } + return *c.MachinesURL +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (c *Codespace) GetName() string { + if c == nil || c.Name == nil { + return "" + } + return *c.Name +} + +// GetOwner returns the Owner field. +func (c *Codespace) GetOwner() *User { + if c == nil { + return nil + } + return c.Owner +} + +// GetPendingOperation returns the PendingOperation field if it's non-nil, zero value otherwise. +func (c *Codespace) GetPendingOperation() bool { + if c == nil || c.PendingOperation == nil { + return false + } + return *c.PendingOperation +} + +// GetPendingOperationDisabledReason returns the PendingOperationDisabledReason field if it's non-nil, zero value otherwise. +func (c *Codespace) GetPendingOperationDisabledReason() string { + if c == nil || c.PendingOperationDisabledReason == nil { + return "" + } + return *c.PendingOperationDisabledReason +} + +// GetPrebuild returns the Prebuild field if it's non-nil, zero value otherwise. +func (c *Codespace) GetPrebuild() bool { + if c == nil || c.Prebuild == nil { + return false + } + return *c.Prebuild +} + +// GetPullsURL returns the PullsURL field if it's non-nil, zero value otherwise. +func (c *Codespace) GetPullsURL() string { + if c == nil || c.PullsURL == nil { + return "" + } + 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 { + return nil + } + return c.Repository +} + +// GetRetentionExpiresAt returns the RetentionExpiresAt field if it's non-nil, zero value otherwise. +func (c *Codespace) GetRetentionExpiresAt() Timestamp { + if c == nil || c.RetentionExpiresAt == nil { + return Timestamp{} + } + return *c.RetentionExpiresAt +} + +// GetRetentionPeriodMinutes returns the RetentionPeriodMinutes field if it's non-nil, zero value otherwise. +func (c *Codespace) GetRetentionPeriodMinutes() int { + if c == nil || c.RetentionPeriodMinutes == nil { + return 0 + } + return *c.RetentionPeriodMinutes +} + +// GetRuntimeConstraints returns the RuntimeConstraints field. +func (c *Codespace) GetRuntimeConstraints() *CodespacesRuntimeConstraints { + if c == nil { + return nil + } + return c.RuntimeConstraints +} + +// GetStartURL returns the StartURL field if it's non-nil, zero value otherwise. +func (c *Codespace) GetStartURL() string { + if c == nil || c.StartURL == nil { + return "" + } + return *c.StartURL +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (c *Codespace) GetState() string { + if c == nil || c.State == nil { + return "" + } + return *c.State +} + +// GetStopURL returns the StopURL field if it's non-nil, zero value otherwise. +func (c *Codespace) GetStopURL() string { + if c == nil || c.StopURL == nil { + return "" + } + return *c.StopURL +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (c *Codespace) GetUpdatedAt() Timestamp { + if c == nil || c.UpdatedAt == nil { + return Timestamp{} + } + return *c.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (c *Codespace) GetURL() string { + if c == nil || c.URL == nil { + return "" + } + return *c.URL +} + +// GetWebURL returns the WebURL field if it's non-nil, zero value otherwise. +func (c *Codespace) GetWebURL() string { + if c == nil || c.WebURL == nil { + return "" + } + return *c.WebURL +} + +// GetClientIP returns the ClientIP field if it's non-nil, zero value otherwise. +func (c *CodespaceCreateForUserOptions) GetClientIP() string { + if c == nil || c.ClientIP == nil { + return "" + } + return *c.ClientIP +} + +// GetDevcontainerPath returns the DevcontainerPath field if it's non-nil, zero value otherwise. +func (c *CodespaceCreateForUserOptions) GetDevcontainerPath() string { + if c == nil || c.DevcontainerPath == nil { + return "" + } + return *c.DevcontainerPath +} + +// GetDisplayName returns the DisplayName field if it's non-nil, zero value otherwise. +func (c *CodespaceCreateForUserOptions) GetDisplayName() string { + if c == nil || c.DisplayName == nil { + return "" + } + return *c.DisplayName +} + +// GetGeo returns the Geo field if it's non-nil, zero value otherwise. +func (c *CodespaceCreateForUserOptions) GetGeo() string { + if c == nil || c.Geo == nil { + return "" + } + return *c.Geo +} + +// GetIdleTimeoutMinutes returns the IdleTimeoutMinutes field if it's non-nil, zero value otherwise. +func (c *CodespaceCreateForUserOptions) GetIdleTimeoutMinutes() int { + if c == nil || c.IdleTimeoutMinutes == nil { + return 0 + } + return *c.IdleTimeoutMinutes +} + +// GetLocation returns the Location field if it's non-nil, zero value otherwise. +func (c *CodespaceCreateForUserOptions) GetLocation() string { + if c == nil || c.Location == nil { + return "" + } + return *c.Location +} + +// GetMachine returns the Machine field if it's non-nil, zero value otherwise. +func (c *CodespaceCreateForUserOptions) GetMachine() string { + if c == nil || c.Machine == nil { + return "" + } + return *c.Machine +} + +// GetMultiRepoPermissionsOptOut returns the MultiRepoPermissionsOptOut field if it's non-nil, zero value otherwise. +func (c *CodespaceCreateForUserOptions) GetMultiRepoPermissionsOptOut() bool { + if c == nil || c.MultiRepoPermissionsOptOut == nil { + return false + } + return *c.MultiRepoPermissionsOptOut +} + +// GetPullRequest returns the PullRequest field. +func (c *CodespaceCreateForUserOptions) GetPullRequest() *CodespacePullRequestOptions { + if c == nil { + return nil + } + return c.PullRequest +} + +// GetRef returns the Ref field if it's non-nil, zero value otherwise. +func (c *CodespaceCreateForUserOptions) GetRef() string { + if c == nil || c.Ref == nil { + return "" + } + 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 { + return 0 + } + return *c.RetentionPeriodMinutes +} + +// GetWorkingDirectory returns the WorkingDirectory field if it's non-nil, zero value otherwise. +func (c *CodespaceCreateForUserOptions) GetWorkingDirectory() string { + if c == nil || c.WorkingDirectory == nil { + return "" + } + return *c.WorkingDirectory +} + +// GetBillableOwner returns the BillableOwner field. +func (c *CodespaceDefaultAttributes) GetBillableOwner() *User { + if c == nil { + return nil + } + return c.BillableOwner +} + +// GetDefaults returns the Defaults field. +func (c *CodespaceDefaultAttributes) GetDefaults() *CodespaceDefaults { + if c == nil { + return nil + } + return c.Defaults +} + +// GetDevcontainerPath returns the DevcontainerPath field if it's non-nil, zero value otherwise. +func (c *CodespaceDefaults) GetDevcontainerPath() string { + if c == nil || c.DevcontainerPath == nil { + return "" + } + 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 { + return "" + } + return *c.Branch +} + +// GetCompletedAt returns the CompletedAt field if it's non-nil, zero value otherwise. +func (c *CodespaceExport) GetCompletedAt() Timestamp { + if c == nil || c.CompletedAt == nil { + return Timestamp{} + } + return *c.CompletedAt +} + +// GetExportURL returns the ExportURL field if it's non-nil, zero value otherwise. +func (c *CodespaceExport) GetExportURL() string { + if c == nil || c.ExportURL == nil { + return "" + } + return *c.ExportURL +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (c *CodespaceExport) GetHTMLURL() string { + if c == nil || c.HTMLURL == nil { + return "" + } + return *c.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (c *CodespaceExport) GetID() string { + if c == nil || c.ID == nil { + return "" + } + return *c.ID +} + +// GetSHA returns the SHA field if it's non-nil, zero value otherwise. +func (c *CodespaceExport) GetSHA() string { + if c == nil || c.SHA == nil { + return "" + } + return *c.SHA +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (c *CodespaceExport) GetState() string { + if c == nil || c.State == nil { + return "" + } + return *c.State +} + +// GetClientIP returns the ClientIP field if it's non-nil, zero value otherwise. +func (c *CodespaceGetDefaultAttributesOptions) GetClientIP() string { + if c == nil || c.ClientIP == nil { + return "" + } + return *c.ClientIP +} + +// GetRef returns the Ref field if it's non-nil, zero value otherwise. +func (c *CodespaceGetDefaultAttributesOptions) GetRef() string { + if c == nil || c.Ref == nil { + return "" + } + 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 { + return 0 + } + return *c.Ahead +} + +// GetBehind returns the Behind field if it's non-nil, zero value otherwise. +func (c *CodespacesGitStatus) GetBehind() int { + if c == nil || c.Behind == nil { + return 0 + } + return *c.Behind +} + +// GetHasUncommittedChanges returns the HasUncommittedChanges field if it's non-nil, zero value otherwise. +func (c *CodespacesGitStatus) GetHasUncommittedChanges() bool { + if c == nil || c.HasUncommittedChanges == nil { + return false + } + return *c.HasUncommittedChanges +} + +// GetHasUnpushedChanges returns the HasUnpushedChanges field if it's non-nil, zero value otherwise. +func (c *CodespacesGitStatus) GetHasUnpushedChanges() bool { + if c == nil || c.HasUnpushedChanges == nil { + return false + } + return *c.HasUnpushedChanges +} + +// GetRef returns the Ref field if it's non-nil, zero value otherwise. +func (c *CodespacesGitStatus) GetRef() string { + if c == nil || c.Ref == nil { + return "" + } + return *c.Ref +} + +// GetCPUs returns the CPUs field if it's non-nil, zero value otherwise. +func (c *CodespacesMachine) GetCPUs() int { + if c == nil || c.CPUs == nil { + return 0 + } + return *c.CPUs +} + +// GetDisplayName returns the DisplayName field if it's non-nil, zero value otherwise. +func (c *CodespacesMachine) GetDisplayName() string { + if c == nil || c.DisplayName == nil { + return "" + } + return *c.DisplayName +} + +// GetMemoryInBytes returns the MemoryInBytes field if it's non-nil, zero value otherwise. +func (c *CodespacesMachine) GetMemoryInBytes() int64 { + if c == nil || c.MemoryInBytes == nil { + return 0 + } + return *c.MemoryInBytes +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (c *CodespacesMachine) GetName() string { + if c == nil || c.Name == nil { + return "" + } + return *c.Name +} + +// GetOperatingSystem returns the OperatingSystem field if it's non-nil, zero value otherwise. +func (c *CodespacesMachine) GetOperatingSystem() string { + if c == nil || c.OperatingSystem == nil { + return "" + } + return *c.OperatingSystem +} + +// GetPrebuildAvailability returns the PrebuildAvailability field if it's non-nil, zero value otherwise. +func (c *CodespacesMachine) GetPrebuildAvailability() string { + if c == nil || c.PrebuildAvailability == nil { + return "" + } + return *c.PrebuildAvailability +} + +// GetStorageInBytes returns the StorageInBytes field if it's non-nil, zero value otherwise. +func (c *CodespacesMachine) GetStorageInBytes() int64 { + if c == nil || c.StorageInBytes == nil { + return 0 + } + 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 { + return Timestamp{} + } + return *c.CreatedAt +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (c *CollaboratorInvitation) GetHTMLURL() string { + if c == nil || c.HTMLURL == nil { + return "" + } + return *c.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (c *CollaboratorInvitation) GetID() int64 { + if c == nil || c.ID == nil { + return 0 + } + return *c.ID +} + +// GetInvitee returns the Invitee field. +func (c *CollaboratorInvitation) GetInvitee() *User { + if c == nil { + return nil + } + return c.Invitee +} + +// GetInviter returns the Inviter field. +func (c *CollaboratorInvitation) GetInviter() *User { + if c == nil { + return nil + } + return c.Inviter +} + +// GetPermissions returns the Permissions field if it's non-nil, zero value otherwise. +func (c *CollaboratorInvitation) GetPermissions() string { + if c == nil || c.Permissions == nil { + return "" + } + return *c.Permissions +} + +// GetRepo returns the Repo field. +func (c *CollaboratorInvitation) GetRepo() *Repository { + if c == nil { + return nil + } + return c.Repo +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (c *CollaboratorInvitation) GetURL() string { + if c == nil || c.URL == nil { + return "" + } + return *c.URL +} + +// GetCommitURL returns the CommitURL field if it's non-nil, zero value otherwise. +func (c *CombinedStatus) GetCommitURL() string { + if c == nil || c.CommitURL == nil { + return "" + } + return *c.CommitURL +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (c *CombinedStatus) GetName() string { + if c == nil || c.Name == nil { + return "" + } + return *c.Name +} + +// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise. +func (c *CombinedStatus) GetRepositoryURL() string { + if c == nil || c.RepositoryURL == nil { + return "" + } + return *c.RepositoryURL +} + +// GetSHA returns the SHA field if it's non-nil, zero value otherwise. +func (c *CombinedStatus) GetSHA() string { + if c == nil || c.SHA == nil { + return "" + } + return *c.SHA +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (c *CombinedStatus) GetState() string { + if c == nil || c.State == nil { + return "" + } + 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 { + return 0 + } + 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 { + return Timestamp{} + } + return *c.CreatedAt +} + +// GetAuthorAssociation returns the AuthorAssociation field if it's non-nil, zero value otherwise. +func (c *CommentDiscussion) GetAuthorAssociation() string { + if c == nil || c.AuthorAssociation == nil { + return "" + } + return *c.AuthorAssociation +} + +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (c *CommentDiscussion) GetBody() string { + if c == nil || c.Body == nil { + return "" + } + return *c.Body +} + +// GetChildCommentCount returns the ChildCommentCount field if it's non-nil, zero value otherwise. +func (c *CommentDiscussion) GetChildCommentCount() int { + if c == nil || c.ChildCommentCount == nil { + return 0 + } + return *c.ChildCommentCount +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (c *CommentDiscussion) GetCreatedAt() Timestamp { + if c == nil || c.CreatedAt == nil { + return Timestamp{} + } + return *c.CreatedAt +} + +// GetDiscussionID returns the DiscussionID field if it's non-nil, zero value otherwise. +func (c *CommentDiscussion) GetDiscussionID() int64 { + if c == nil || c.DiscussionID == nil { + return 0 + } + return *c.DiscussionID +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (c *CommentDiscussion) GetHTMLURL() string { + if c == nil || c.HTMLURL == nil { + return "" + } + return *c.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (c *CommentDiscussion) GetID() int64 { + if c == nil || c.ID == nil { + return 0 + } + return *c.ID +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (c *CommentDiscussion) GetNodeID() string { + if c == nil || c.NodeID == nil { + return "" + } + return *c.NodeID +} + +// GetParentID returns the ParentID field if it's non-nil, zero value otherwise. +func (c *CommentDiscussion) GetParentID() int64 { + if c == nil || c.ParentID == nil { + return 0 + } + return *c.ParentID +} + +// GetReactions returns the Reactions field. +func (c *CommentDiscussion) GetReactions() *Reactions { + if c == nil { + return nil + } + return c.Reactions +} + +// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise. +func (c *CommentDiscussion) GetRepositoryURL() string { + if c == nil || c.RepositoryURL == nil { + return "" + } + return *c.RepositoryURL +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (c *CommentDiscussion) GetUpdatedAt() Timestamp { + if c == nil || c.UpdatedAt == nil { + return Timestamp{} + } + return *c.UpdatedAt +} + +// GetUser returns the User field. +func (c *CommentDiscussion) GetUser() *User { + if c == nil { + return nil + } + return c.User +} + +// GetTotalCommitComments returns the TotalCommitComments field if it's non-nil, zero value otherwise. +func (c *CommentStats) GetTotalCommitComments() int { + if c == nil || c.TotalCommitComments == nil { + return 0 + } + return *c.TotalCommitComments +} + +// GetTotalGistComments returns the TotalGistComments field if it's non-nil, zero value otherwise. +func (c *CommentStats) GetTotalGistComments() int { + if c == nil || c.TotalGistComments == nil { + return 0 + } + return *c.TotalGistComments +} + +// GetTotalIssueComments returns the TotalIssueComments field if it's non-nil, zero value otherwise. +func (c *CommentStats) GetTotalIssueComments() int { + if c == nil || c.TotalIssueComments == nil { + return 0 + } + return *c.TotalIssueComments +} + +// GetTotalPullRequestComments returns the TotalPullRequestComments field if it's non-nil, zero value otherwise. +func (c *CommentStats) GetTotalPullRequestComments() int { + if c == nil || c.TotalPullRequestComments == nil { + return 0 + } + return *c.TotalPullRequestComments +} + +// GetAuthor returns the Author field. +func (c *Commit) GetAuthor() *CommitAuthor { + if c == nil { + return nil + } + return c.Author +} + +// GetCommentCount returns the CommentCount field if it's non-nil, zero value otherwise. +func (c *Commit) GetCommentCount() int { + if c == nil || c.CommentCount == nil { + return 0 + } + return *c.CommentCount +} + +// GetCommitter returns the Committer field. +func (c *Commit) GetCommitter() *CommitAuthor { + if c == nil { + return nil + } + return c.Committer +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (c *Commit) GetHTMLURL() string { + if c == nil || c.HTMLURL == nil { + return "" + } + return *c.HTMLURL +} + +// GetMessage returns the Message field if it's non-nil, zero value otherwise. +func (c *Commit) GetMessage() string { + if c == nil || c.Message == nil { + return "" + } + return *c.Message +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (c *Commit) GetNodeID() string { + if c == nil || c.NodeID == nil { + return "" + } + 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 { + return "" + } + return *c.SHA +} + +// GetTree returns the Tree field. +func (c *Commit) GetTree() *Tree { + if c == nil { + return nil + } + return c.Tree +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (c *Commit) GetURL() string { + if c == nil || c.URL == nil { + return "" + } + return *c.URL +} + +// GetVerification returns the Verification field. +func (c *Commit) GetVerification() *SignatureVerification { + if c == nil { + return nil + } + return c.Verification +} + +// GetDate returns the Date field if it's non-nil, zero value otherwise. +func (c *CommitAuthor) GetDate() Timestamp { + if c == nil || c.Date == nil { + return Timestamp{} + } + return *c.Date +} + +// GetEmail returns the Email field if it's non-nil, zero value otherwise. +func (c *CommitAuthor) GetEmail() string { + if c == nil || c.Email == nil { + return "" + } + return *c.Email +} + +// GetLogin returns the Login field if it's non-nil, zero value otherwise. +func (c *CommitAuthor) GetLogin() string { + if c == nil || c.Login == nil { + return "" + } + return *c.Login +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (c *CommitAuthor) GetName() string { + if c == nil || c.Name == nil { + return "" + } + return *c.Name +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (c *CommitCommentEvent) GetAction() string { + if c == nil || c.Action == nil { + return "" + } + return *c.Action +} + +// GetComment returns the Comment field. +func (c *CommitCommentEvent) GetComment() *RepositoryComment { + if c == nil { + return nil + } + return c.Comment +} + +// GetInstallation returns the Installation field. +func (c *CommitCommentEvent) GetInstallation() *Installation { + if c == nil { + return nil + } + return c.Installation +} + +// GetOrg returns the Org field. +func (c *CommitCommentEvent) GetOrg() *Organization { + if c == nil { + return nil + } + return c.Org +} + +// GetRepo returns the Repo field. +func (c *CommitCommentEvent) GetRepo() *Repository { + if c == nil { + return nil + } + return c.Repo +} + +// GetSender returns the Sender field. +func (c *CommitCommentEvent) GetSender() *User { + if c == nil { + return nil + } + return c.Sender +} + +// GetAdditions returns the Additions field if it's non-nil, zero value otherwise. +func (c *CommitFile) GetAdditions() int { + if c == nil || c.Additions == nil { + return 0 + } + return *c.Additions +} + +// GetBlobURL returns the BlobURL field if it's non-nil, zero value otherwise. +func (c *CommitFile) GetBlobURL() string { + if c == nil || c.BlobURL == nil { + return "" + } + return *c.BlobURL +} + +// GetChanges returns the Changes field if it's non-nil, zero value otherwise. +func (c *CommitFile) GetChanges() int { + if c == nil || c.Changes == nil { + return 0 + } + return *c.Changes +} + +// GetContentsURL returns the ContentsURL field if it's non-nil, zero value otherwise. +func (c *CommitFile) GetContentsURL() string { + if c == nil || c.ContentsURL == nil { + return "" + } + return *c.ContentsURL +} + +// GetDeletions returns the Deletions field if it's non-nil, zero value otherwise. +func (c *CommitFile) GetDeletions() int { + if c == nil || c.Deletions == nil { + return 0 + } + return *c.Deletions +} + +// GetFilename returns the Filename field if it's non-nil, zero value otherwise. +func (c *CommitFile) GetFilename() string { + if c == nil || c.Filename == nil { + return "" + } + return *c.Filename +} + +// GetPatch returns the Patch field if it's non-nil, zero value otherwise. +func (c *CommitFile) GetPatch() string { + if c == nil || c.Patch == nil { + return "" + } + return *c.Patch +} + +// GetPreviousFilename returns the PreviousFilename field if it's non-nil, zero value otherwise. +func (c *CommitFile) GetPreviousFilename() string { + if c == nil || c.PreviousFilename == nil { + return "" + } + return *c.PreviousFilename +} + +// GetRawURL returns the RawURL field if it's non-nil, zero value otherwise. +func (c *CommitFile) GetRawURL() string { + if c == nil || c.RawURL == nil { + return "" + } + return *c.RawURL +} + +// GetSHA returns the SHA field if it's non-nil, zero value otherwise. +func (c *CommitFile) GetSHA() string { + if c == nil || c.SHA == nil { + return "" + } + return *c.SHA +} + +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (c *CommitFile) GetStatus() string { + if c == nil || c.Status == nil { + return "" + } + return *c.Status +} + +// GetAuthor returns the Author field. +func (c *CommitResult) GetAuthor() *User { + if c == nil { + return nil + } + return c.Author +} + +// GetCommentsURL returns the CommentsURL field if it's non-nil, zero value otherwise. +func (c *CommitResult) GetCommentsURL() string { + if c == nil || c.CommentsURL == nil { + return "" + } + return *c.CommentsURL +} + +// GetCommit returns the Commit field. +func (c *CommitResult) GetCommit() *Commit { + if c == nil { + return nil + } + return c.Commit +} + +// GetCommitter returns the Committer field. +func (c *CommitResult) GetCommitter() *User { + if c == nil { + return nil + } + return c.Committer +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (c *CommitResult) GetHTMLURL() string { + if c == nil || c.HTMLURL == nil { + return "" + } + 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 { + return nil + } + return c.Repository +} + +// 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 +} + +// GetSHA returns the SHA field if it's non-nil, zero value otherwise. +func (c *CommitResult) GetSHA() string { + if c == nil || c.SHA == nil { + return "" + } + return *c.SHA +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (c *CommitResult) GetURL() string { + if c == nil || c.URL == nil { + return "" + } + return *c.URL +} + +// GetAheadBy returns the AheadBy field if it's non-nil, zero value otherwise. +func (c *CommitsComparison) GetAheadBy() int { + if c == nil || c.AheadBy == nil { + return 0 + } + return *c.AheadBy +} + +// GetBaseCommit returns the BaseCommit field. +func (c *CommitsComparison) GetBaseCommit() *RepositoryCommit { + if c == nil { + return nil + } + return c.BaseCommit +} + +// GetBehindBy returns the BehindBy field if it's non-nil, zero value otherwise. +func (c *CommitsComparison) GetBehindBy() int { + if c == nil || c.BehindBy == nil { + return 0 + } + 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 { + return "" + } + 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 { + return "" + } + return *c.HTMLURL +} + +// GetMergeBaseCommit returns the MergeBaseCommit field. +func (c *CommitsComparison) GetMergeBaseCommit() *RepositoryCommit { + if c == nil { + return nil + } + return c.MergeBaseCommit +} + +// GetPatchURL returns the PatchURL field if it's non-nil, zero value otherwise. +func (c *CommitsComparison) GetPatchURL() string { + if c == nil || c.PatchURL == nil { + return "" + } + return *c.PatchURL +} + +// GetPermalinkURL returns the PermalinkURL field if it's non-nil, zero value otherwise. +func (c *CommitsComparison) GetPermalinkURL() string { + if c == nil || c.PermalinkURL == nil { + return "" + } + return *c.PermalinkURL +} + +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (c *CommitsComparison) GetStatus() string { + if c == nil || c.Status == nil { + return "" + } + return *c.Status +} + +// GetTotalCommits returns the TotalCommits field if it's non-nil, zero value otherwise. +func (c *CommitsComparison) GetTotalCommits() int { + if c == nil || c.TotalCommits == nil { + return 0 + } + return *c.TotalCommits +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (c *CommitsComparison) GetURL() string { + if c == nil || c.URL == nil { + return "" + } + 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 { + return false + } + return *c.IncompleteResults +} + +// GetTotal returns the Total field if it's non-nil, zero value otherwise. +func (c *CommitsSearchResult) GetTotal() int { + if c == nil || c.Total == nil { + return 0 + } + return *c.Total +} + +// GetAdditions returns the Additions field if it's non-nil, zero value otherwise. +func (c *CommitStats) GetAdditions() int { + if c == nil || c.Additions == nil { + return 0 + } + return *c.Additions +} + +// GetDeletions returns the Deletions field if it's non-nil, zero value otherwise. +func (c *CommitStats) GetDeletions() int { + if c == nil || c.Deletions == nil { + return 0 + } + return *c.Deletions +} + +// GetTotal returns the Total field if it's non-nil, zero value otherwise. +func (c *CommitStats) GetTotal() int { + if c == nil || c.Total == nil { + return 0 + } + return *c.Total +} + +// GetCodeOfConduct returns the CodeOfConduct field. +func (c *CommunityHealthFiles) GetCodeOfConduct() *Metric { + if c == nil { + return nil + } + return c.CodeOfConduct +} + +// GetCodeOfConductFile returns the CodeOfConductFile field. +func (c *CommunityHealthFiles) GetCodeOfConductFile() *Metric { + if c == nil { + return nil + } + return c.CodeOfConductFile +} + +// GetContributing returns the Contributing field. +func (c *CommunityHealthFiles) GetContributing() *Metric { + if c == nil { + return nil + } + return c.Contributing +} + +// GetIssueTemplate returns the IssueTemplate field. +func (c *CommunityHealthFiles) GetIssueTemplate() *Metric { + if c == nil { + return nil + } + return c.IssueTemplate +} + +// GetLicense returns the License field. +func (c *CommunityHealthFiles) GetLicense() *Metric { + if c == nil { + return nil + } + return c.License +} + +// GetPullRequestTemplate returns the PullRequestTemplate field. +func (c *CommunityHealthFiles) GetPullRequestTemplate() *Metric { + if c == nil { + return nil + } + return c.PullRequestTemplate +} + +// GetReadme returns the Readme field. +func (c *CommunityHealthFiles) GetReadme() *Metric { + if c == nil { + return nil + } + return c.Readme +} + +// GetContentReportsEnabled returns the ContentReportsEnabled field if it's non-nil, zero value otherwise. +func (c *CommunityHealthMetrics) GetContentReportsEnabled() bool { + if c == nil || c.ContentReportsEnabled == nil { + return false + } + return *c.ContentReportsEnabled +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (c *CommunityHealthMetrics) GetDescription() string { + if c == nil || c.Description == nil { + return "" + } + return *c.Description +} + +// GetDocumentation returns the Documentation field if it's non-nil, zero value otherwise. +func (c *CommunityHealthMetrics) GetDocumentation() string { + if c == nil || c.Documentation == nil { + return "" + } + return *c.Documentation +} + +// GetFiles returns the Files field. +func (c *CommunityHealthMetrics) GetFiles() *CommunityHealthFiles { + if c == nil { + return nil + } + return c.Files +} + +// GetHealthPercentage returns the HealthPercentage field if it's non-nil, zero value otherwise. +func (c *CommunityHealthMetrics) GetHealthPercentage() int { + if c == nil || c.HealthPercentage == nil { + return 0 + } + return *c.HealthPercentage +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (c *CommunityHealthMetrics) GetUpdatedAt() Timestamp { + if c == nil || c.UpdatedAt == nil { + return 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 { + return "" + } + return *c.LastRequestID +} + +// GetNode returns the Node field if it's non-nil, zero value otherwise. +func (c *ConfigApplyEventsNode) GetNode() string { + if c == nil || c.Node == nil { + return "" + } + return *c.Node +} + +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (c *ConfigApplyEventsNodeEvent) GetBody() string { + if c == nil || c.Body == nil { + return "" + } + return *c.Body +} + +// GetConfigRunID returns the ConfigRunID field if it's non-nil, zero value otherwise. +func (c *ConfigApplyEventsNodeEvent) GetConfigRunID() string { + if c == nil || c.ConfigRunID == nil { + return "" + } + return *c.ConfigRunID +} + +// GetEventName returns the EventName field if it's non-nil, zero value otherwise. +func (c *ConfigApplyEventsNodeEvent) GetEventName() string { + if c == nil || c.EventName == nil { + return "" + } + return *c.EventName +} + +// GetHostname returns the Hostname field if it's non-nil, zero value otherwise. +func (c *ConfigApplyEventsNodeEvent) GetHostname() string { + if c == nil || c.Hostname == nil { + return "" + } + return *c.Hostname +} + +// GetSeverityText returns the SeverityText field if it's non-nil, zero value otherwise. +func (c *ConfigApplyEventsNodeEvent) GetSeverityText() string { + if c == nil || c.SeverityText == nil { + return "" + } + return *c.SeverityText +} + +// GetSpanDepth returns the SpanDepth field if it's non-nil, zero value otherwise. +func (c *ConfigApplyEventsNodeEvent) GetSpanDepth() int { + if c == nil || c.SpanDepth == nil { + return 0 + } + return *c.SpanDepth +} + +// GetSpanID returns the SpanID field if it's non-nil, zero value otherwise. +func (c *ConfigApplyEventsNodeEvent) GetSpanID() string { + if c == nil || c.SpanID == nil { + return "" + } + return *c.SpanID +} + +// GetSpanParentID returns the SpanParentID field if it's non-nil, zero value otherwise. +func (c *ConfigApplyEventsNodeEvent) GetSpanParentID() int64 { + if c == nil || c.SpanParentID == nil { + return 0 + } + return *c.SpanParentID +} + +// GetTimestamp returns the Timestamp field if it's non-nil, zero value otherwise. +func (c *ConfigApplyEventsNodeEvent) GetTimestamp() Timestamp { + if c == nil || c.Timestamp == nil { + return Timestamp{} + } + return *c.Timestamp +} + +// GetTopology returns the Topology field if it's non-nil, zero value otherwise. +func (c *ConfigApplyEventsNodeEvent) GetTopology() string { + if c == nil || c.Topology == nil { + return "" + } + return *c.Topology +} + +// GetTraceID returns the TraceID field if it's non-nil, zero value otherwise. +func (c *ConfigApplyEventsNodeEvent) GetTraceID() string { + if c == nil || c.TraceID == nil { + return "" + } + return *c.TraceID +} + +// GetLastRequestID returns the LastRequestID field if it's non-nil, zero value otherwise. +func (c *ConfigApplyEventsOptions) GetLastRequestID() string { + if c == nil || c.LastRequestID == nil { + return "" + } + return *c.LastRequestID +} + +// GetRunID returns the RunID field if it's non-nil, zero value otherwise. +func (c *ConfigApplyOptions) GetRunID() string { + if c == nil || c.RunID == nil { + return "" + } + 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 { + return false + } + return *c.Running +} + +// GetSuccessful returns the Successful field if it's non-nil, zero value otherwise. +func (c *ConfigApplyStatus) GetSuccessful() bool { + if c == nil || c.Successful == nil { + return false + } + return *c.Successful +} + +// GetHostname returns the Hostname field if it's non-nil, zero value otherwise. +func (c *ConfigApplyStatusNode) GetHostname() string { + if c == nil || c.Hostname == nil { + return "" + } + return *c.Hostname +} + +// GetRunID returns the RunID field if it's non-nil, zero value otherwise. +func (c *ConfigApplyStatusNode) GetRunID() string { + if c == nil || c.RunID == nil { + return "" + } + return *c.RunID +} + +// GetRunning returns the Running field if it's non-nil, zero value otherwise. +func (c *ConfigApplyStatusNode) GetRunning() bool { + if c == nil || c.Running == nil { + return false + } + return *c.Running +} + +// GetSuccessful returns the Successful field if it's non-nil, zero value otherwise. +func (c *ConfigApplyStatusNode) GetSuccessful() bool { + if c == nil || c.Successful == nil { + return false + } + return *c.Successful +} + +// GetAdminPassword returns the AdminPassword field if it's non-nil, zero value otherwise. +func (c *ConfigSettings) GetAdminPassword() string { + if c == nil || c.AdminPassword == nil { + return "" + } + return *c.AdminPassword +} + +// GetAssets returns the Assets field if it's non-nil, zero value otherwise. +func (c *ConfigSettings) GetAssets() string { + if c == nil || c.Assets == nil { + return "" + } + return *c.Assets +} + +// GetAuthMode returns the AuthMode field if it's non-nil, zero value otherwise. +func (c *ConfigSettings) GetAuthMode() string { + if c == nil || c.AuthMode == nil { + return "" + } + return *c.AuthMode +} + +// GetAvatar returns the Avatar field. +func (c *ConfigSettings) GetAvatar() *ConfigSettingsAvatar { + if c == nil { + return nil + } + return c.Avatar +} + +// GetCAS returns the CAS field. +func (c *ConfigSettings) GetCAS() *ConfigSettingsCAS { + if c == nil { + return nil + } + return c.CAS +} + +// GetCollectd returns the Collectd field. +func (c *ConfigSettings) GetCollectd() *ConfigSettingsCollectd { + if c == nil { + return nil + } + return c.Collectd +} + +// GetConfigurationID returns the ConfigurationID field if it's non-nil, zero value otherwise. +func (c *ConfigSettings) GetConfigurationID() int64 { + if c == nil || c.ConfigurationID == nil { + return 0 + } + return *c.ConfigurationID +} + +// GetConfigurationRunCount returns the ConfigurationRunCount field if it's non-nil, zero value otherwise. +func (c *ConfigSettings) GetConfigurationRunCount() int { + if c == nil || c.ConfigurationRunCount == nil { + return 0 + } + return *c.ConfigurationRunCount +} + +// GetCustomer returns the Customer field. +func (c *ConfigSettings) GetCustomer() *ConfigSettingsCustomer { + if c == nil { + return nil + } + return c.Customer +} + +// GetExpireSessions returns the ExpireSessions field if it's non-nil, zero value otherwise. +func (c *ConfigSettings) GetExpireSessions() bool { + if c == nil || c.ExpireSessions == nil { + return false + } + return *c.ExpireSessions +} + +// GetGithubHostname returns the GithubHostname field if it's non-nil, zero value otherwise. +func (c *ConfigSettings) GetGithubHostname() string { + if c == nil || c.GithubHostname == nil { + return "" + } + return *c.GithubHostname +} + +// GetGithubOAuth returns the GithubOAuth field. +func (c *ConfigSettings) GetGithubOAuth() *ConfigSettingsGithubOAuth { + if c == nil { + return nil + } + return c.GithubOAuth +} + +// GetGithubSSL returns the GithubSSL field. +func (c *ConfigSettings) GetGithubSSL() *ConfigSettingsGithubSSL { + if c == nil { + return nil + } + return c.GithubSSL +} + +// GetHTTPProxy returns the HTTPProxy field if it's non-nil, zero value otherwise. +func (c *ConfigSettings) GetHTTPProxy() string { + if c == nil || c.HTTPProxy == nil { + return "" + } + return *c.HTTPProxy +} + +// GetIdenticonsHost returns the IdenticonsHost field if it's non-nil, zero value otherwise. +func (c *ConfigSettings) GetIdenticonsHost() string { + if c == nil || c.IdenticonsHost == nil { + return "" + } + return *c.IdenticonsHost +} + +// GetLDAP returns the LDAP field. +func (c *ConfigSettings) GetLDAP() *ConfigSettingsLDAP { + if c == nil { + return nil + } + return c.LDAP +} + +// GetLicense returns the License field. +func (c *ConfigSettings) GetLicense() *ConfigSettingsLicenseSettings { + if c == nil { + return nil + } + return c.License +} + +// GetLoadBalancer returns the LoadBalancer field if it's non-nil, zero value otherwise. +func (c *ConfigSettings) GetLoadBalancer() string { + if c == nil || c.LoadBalancer == nil { + return "" + } + return *c.LoadBalancer +} + +// GetMapping returns the Mapping field. +func (c *ConfigSettings) GetMapping() *ConfigSettingsMapping { + if c == nil { + return nil + } + return c.Mapping +} + +// GetNTP returns the NTP field. +func (c *ConfigSettings) GetNTP() *ConfigSettingsNTP { + if c == nil { + return nil + } + return c.NTP +} + +// GetPages returns the Pages field. +func (c *ConfigSettings) GetPages() *ConfigSettingsPagesSettings { + if c == nil { + return nil + } + return c.Pages +} + +// GetPrivateMode returns the PrivateMode field if it's non-nil, zero value otherwise. +func (c *ConfigSettings) GetPrivateMode() bool { + if c == nil || c.PrivateMode == nil { + return false + } + return *c.PrivateMode +} + +// GetPublicPages returns the PublicPages field if it's non-nil, zero value otherwise. +func (c *ConfigSettings) GetPublicPages() bool { + if c == nil || c.PublicPages == nil { + return false + } + return *c.PublicPages +} + +// GetSAML returns the SAML field. +func (c *ConfigSettings) GetSAML() *ConfigSettingsSAML { + if c == nil { + return nil + } + return c.SAML +} + +// GetSignupEnabled returns the SignupEnabled field if it's non-nil, zero value otherwise. +func (c *ConfigSettings) GetSignupEnabled() bool { + if c == nil || c.SignupEnabled == nil { + return false + } + return *c.SignupEnabled +} + +// GetSMTP returns the SMTP field. +func (c *ConfigSettings) GetSMTP() *ConfigSettingsSMTP { + if c == nil { + return nil + } + return c.SMTP +} + +// GetSNMP returns the SNMP field. +func (c *ConfigSettings) GetSNMP() *ConfigSettingsSNMP { + if c == nil { + return nil + } + return c.SNMP +} + +// GetSubdomainIsolation returns the SubdomainIsolation field if it's non-nil, zero value otherwise. +func (c *ConfigSettings) GetSubdomainIsolation() bool { + if c == nil || c.SubdomainIsolation == nil { + return false + } + return *c.SubdomainIsolation +} + +// GetSyslog returns the Syslog field. +func (c *ConfigSettings) GetSyslog() *ConfigSettingsSyslog { + if c == nil { + return nil + } + return c.Syslog +} + +// GetTimezone returns the Timezone field if it's non-nil, zero value otherwise. +func (c *ConfigSettings) GetTimezone() string { + if c == nil || c.Timezone == nil { + return "" + } + return *c.Timezone +} + +// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsAvatar) GetEnabled() bool { + if c == nil || c.Enabled == nil { + return false + } + return *c.Enabled +} + +// GetURI returns the URI field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsAvatar) GetURI() string { + if c == nil || c.URI == nil { + return "" + } + return *c.URI +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsCAS) GetURL() string { + if c == nil || c.URL == nil { + return "" + } + return *c.URL +} + +// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsCollectd) GetEnabled() bool { + if c == nil || c.Enabled == nil { + return false + } + return *c.Enabled +} + +// GetEncryption returns the Encryption field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsCollectd) GetEncryption() string { + if c == nil || c.Encryption == nil { + return "" + } + return *c.Encryption +} + +// GetPassword returns the Password field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsCollectd) GetPassword() string { + if c == nil || c.Password == nil { + return "" + } + return *c.Password +} + +// GetPort returns the Port field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsCollectd) GetPort() int { + if c == nil || c.Port == nil { + return 0 + } + return *c.Port +} + +// GetServer returns the Server field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsCollectd) GetServer() string { + if c == nil || c.Server == nil { + return "" + } + return *c.Server +} + +// GetUsername returns the Username field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsCollectd) GetUsername() string { + if c == nil || c.Username == nil { + return "" + } + return *c.Username +} + +// GetEmail returns the Email field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsCustomer) GetEmail() string { + if c == nil || c.Email == nil { + return "" + } + return *c.Email +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsCustomer) GetName() string { + if c == nil || c.Name == nil { + return "" + } + return *c.Name +} + +// GetPublicKeyData returns the PublicKeyData field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsCustomer) GetPublicKeyData() string { + if c == nil || c.PublicKeyData == nil { + return "" + } + return *c.PublicKeyData +} + +// GetSecret returns the Secret field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsCustomer) GetSecret() string { + if c == nil || c.Secret == nil { + return "" + } + return *c.Secret +} + +// GetUUID returns the UUID field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsCustomer) GetUUID() string { + if c == nil || c.UUID == nil { + return "" + } + return *c.UUID +} + +// GetClientID returns the ClientID field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsGithubOAuth) GetClientID() string { + if c == nil || c.ClientID == nil { + return "" + } + return *c.ClientID +} + +// GetClientSecret returns the ClientSecret field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsGithubOAuth) GetClientSecret() string { + if c == nil || c.ClientSecret == nil { + return "" + } + return *c.ClientSecret +} + +// GetOrganizationName returns the OrganizationName field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsGithubOAuth) GetOrganizationName() string { + if c == nil || c.OrganizationName == nil { + return "" + } + return *c.OrganizationName +} + +// GetOrganizationTeam returns the OrganizationTeam field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsGithubOAuth) GetOrganizationTeam() string { + if c == nil || c.OrganizationTeam == nil { + return "" + } + return *c.OrganizationTeam +} + +// GetCert returns the Cert field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsGithubSSL) GetCert() string { + if c == nil || c.Cert == nil { + return "" + } + return *c.Cert +} + +// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsGithubSSL) GetEnabled() bool { + if c == nil || c.Enabled == nil { + return false + } + return *c.Enabled +} + +// GetKey returns the Key field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsGithubSSL) GetKey() string { + if c == nil || c.Key == nil { + return "" + } + return *c.Key +} + +// GetAdminGroup returns the AdminGroup field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLDAP) GetAdminGroup() string { + if c == nil || c.AdminGroup == nil { + return "" + } + 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 { + return "" + } + return *c.BindDN +} + +// GetHost returns the Host field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLDAP) GetHost() string { + if c == nil || c.Host == nil { + return "" + } + return *c.Host +} + +// GetMethod returns the Method field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLDAP) GetMethod() string { + if c == nil || c.Method == nil { + return "" + } + return *c.Method +} + +// GetPassword returns the Password field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLDAP) GetPassword() string { + if c == nil || c.Password == nil { + return "" + } + return *c.Password +} + +// GetPort returns the Port field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLDAP) GetPort() int { + if c == nil || c.Port == nil { + return 0 + } + return *c.Port +} + +// GetPosixSupport returns the PosixSupport field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLDAP) GetPosixSupport() bool { + if c == nil || c.PosixSupport == nil { + return false + } + return *c.PosixSupport +} + +// GetProfile returns the Profile field. +func (c *ConfigSettingsLDAP) GetProfile() *ConfigSettingsLDAPProfile { + if c == nil { + return nil + } + return c.Profile +} + +// GetReconciliation returns the Reconciliation field. +func (c *ConfigSettingsLDAP) GetReconciliation() *ConfigSettingsLDAPReconciliation { + if c == nil { + return nil + } + return c.Reconciliation +} + +// GetRecursiveGroupSearch returns the RecursiveGroupSearch field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLDAP) GetRecursiveGroupSearch() bool { + if c == nil || c.RecursiveGroupSearch == nil { + return false + } + return *c.RecursiveGroupSearch +} + +// GetSearchStrategy returns the SearchStrategy field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLDAP) GetSearchStrategy() string { + if c == nil || c.SearchStrategy == nil { + return "" + } + return *c.SearchStrategy +} + +// GetSyncEnabled returns the SyncEnabled field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLDAP) GetSyncEnabled() bool { + if c == nil || c.SyncEnabled == nil { + return false + } + return *c.SyncEnabled +} + +// GetTeamSyncInterval returns the TeamSyncInterval field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLDAP) GetTeamSyncInterval() int { + if c == nil || c.TeamSyncInterval == nil { + return 0 + } + return *c.TeamSyncInterval +} + +// GetUID returns the UID field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLDAP) GetUID() string { + if c == nil || c.UID == nil { + return "" + } + 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 { + return false + } + return *c.UserSyncEmails +} + +// GetUserSyncInterval returns the UserSyncInterval field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLDAP) GetUserSyncInterval() int { + if c == nil || c.UserSyncInterval == nil { + return 0 + } + return *c.UserSyncInterval +} + +// GetUserSyncKeys returns the UserSyncKeys field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLDAP) GetUserSyncKeys() bool { + if c == nil || c.UserSyncKeys == nil { + return false + } + return *c.UserSyncKeys +} + +// GetVirtualAttributeEnabled returns the VirtualAttributeEnabled field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLDAP) GetVirtualAttributeEnabled() bool { + if c == nil || c.VirtualAttributeEnabled == nil { + return false + } + return *c.VirtualAttributeEnabled +} + +// GetKey returns the Key field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLDAPProfile) GetKey() string { + if c == nil || c.Key == nil { + return "" + } + return *c.Key +} + +// GetMail returns the Mail field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLDAPProfile) GetMail() string { + if c == nil || c.Mail == nil { + return "" + } + return *c.Mail +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLDAPProfile) GetName() string { + if c == nil || c.Name == nil { + return "" + } + return *c.Name +} + +// GetUID returns the UID field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLDAPProfile) GetUID() string { + if c == nil || c.UID == nil { + return "" + } + return *c.UID +} + +// GetOrg returns the Org field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLDAPReconciliation) GetOrg() string { + if c == nil || c.Org == nil { + return "" + } + return *c.Org +} + +// GetUser returns the User field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLDAPReconciliation) GetUser() string { + if c == nil || c.User == nil { + return "" + } + return *c.User +} + +// GetClusterSupport returns the ClusterSupport field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLicenseSettings) GetClusterSupport() bool { + if c == nil || c.ClusterSupport == nil { + return false + } + return *c.ClusterSupport +} + +// GetEvaluation returns the Evaluation field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLicenseSettings) GetEvaluation() bool { + if c == nil || c.Evaluation == nil { + return false + } + return *c.Evaluation +} + +// GetExpireAt returns the ExpireAt field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLicenseSettings) GetExpireAt() Timestamp { + if c == nil || c.ExpireAt == nil { + return Timestamp{} + } + return *c.ExpireAt +} + +// GetPerpetual returns the Perpetual field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLicenseSettings) GetPerpetual() bool { + if c == nil || c.Perpetual == nil { + return false + } + return *c.Perpetual +} + +// GetSeats returns the Seats field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLicenseSettings) GetSeats() int { + if c == nil || c.Seats == nil { + return 0 + } + return *c.Seats +} + +// GetSSHAllowed returns the SSHAllowed field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLicenseSettings) GetSSHAllowed() bool { + if c == nil || c.SSHAllowed == nil { + return false + } + return *c.SSHAllowed +} + +// GetSupportKey returns the SupportKey field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLicenseSettings) GetSupportKey() string { + if c == nil || c.SupportKey == nil { + return "" + } + return *c.SupportKey +} + +// GetUnlimitedSeating returns the UnlimitedSeating field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsLicenseSettings) GetUnlimitedSeating() bool { + if c == nil || c.UnlimitedSeating == nil { + return false + } + return *c.UnlimitedSeating +} + +// GetBasemap returns the Basemap field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsMapping) GetBasemap() string { + if c == nil || c.Basemap == nil { + return "" + } + return *c.Basemap +} + +// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsMapping) GetEnabled() bool { + if c == nil || c.Enabled == nil { + return false + } + return *c.Enabled +} + +// GetTileserver returns the Tileserver field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsMapping) GetTileserver() string { + if c == nil || c.Tileserver == nil { + return "" + } + return *c.Tileserver +} + +// GetToken returns the Token field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsMapping) GetToken() string { + if c == nil || c.Token == nil { + return "" + } + return *c.Token +} + +// GetPrimaryServer returns the PrimaryServer field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsNTP) GetPrimaryServer() string { + if c == nil || c.PrimaryServer == nil { + return "" + } + return *c.PrimaryServer +} + +// GetSecondaryServer returns the SecondaryServer field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsNTP) GetSecondaryServer() string { + if c == nil || c.SecondaryServer == nil { + return "" + } + return *c.SecondaryServer +} + +// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsPagesSettings) GetEnabled() bool { + if c == nil || c.Enabled == nil { + return false + } + return *c.Enabled +} + +// GetCertificate returns the Certificate field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsSAML) GetCertificate() string { + if c == nil || c.Certificate == nil { + return "" + } + return *c.Certificate +} + +// GetCertificatePath returns the CertificatePath field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsSAML) GetCertificatePath() string { + if c == nil || c.CertificatePath == nil { + return "" + } + return *c.CertificatePath +} + +// GetDisableAdminDemote returns the DisableAdminDemote field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsSAML) GetDisableAdminDemote() bool { + if c == nil || c.DisableAdminDemote == nil { + return false + } + return *c.DisableAdminDemote +} + +// GetIDPInitiatedSSO returns the IDPInitiatedSSO field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsSAML) GetIDPInitiatedSSO() bool { + if c == nil || c.IDPInitiatedSSO == nil { + return false + } + return *c.IDPInitiatedSSO +} + +// GetIssuer returns the Issuer field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsSAML) GetIssuer() string { + if c == nil || c.Issuer == nil { + return "" + } + return *c.Issuer +} + +// GetSSOURL returns the SSOURL field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsSAML) GetSSOURL() string { + if c == nil || c.SSOURL == nil { + return "" + } + return *c.SSOURL +} + +// GetAddress returns the Address field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsSMTP) GetAddress() string { + if c == nil || c.Address == nil { + return "" + } + return *c.Address +} + +// GetAuthentication returns the Authentication field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsSMTP) GetAuthentication() string { + if c == nil || c.Authentication == nil { + return "" + } + return *c.Authentication +} + +// GetDiscardToNoreplyAddress returns the DiscardToNoreplyAddress field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsSMTP) GetDiscardToNoreplyAddress() bool { + if c == nil || c.DiscardToNoreplyAddress == nil { + return false + } + return *c.DiscardToNoreplyAddress +} + +// GetDomain returns the Domain field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsSMTP) GetDomain() string { + if c == nil || c.Domain == nil { + return "" + } + return *c.Domain +} + +// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsSMTP) GetEnabled() bool { + if c == nil || c.Enabled == nil { + return false + } + return *c.Enabled +} + +// GetEnableStarttlsAuto returns the EnableStarttlsAuto field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsSMTP) GetEnableStarttlsAuto() bool { + if c == nil || c.EnableStarttlsAuto == nil { + return false + } + return *c.EnableStarttlsAuto +} + +// GetNoreplyAddress returns the NoreplyAddress field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsSMTP) GetNoreplyAddress() string { + if c == nil || c.NoreplyAddress == nil { + return "" + } + return *c.NoreplyAddress +} + +// GetPassword returns the Password field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsSMTP) GetPassword() string { + if c == nil || c.Password == nil { + return "" + } + return *c.Password +} + +// GetPort returns the Port field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsSMTP) GetPort() string { + if c == nil || c.Port == nil { + return "" + } + return *c.Port +} + +// GetSupportAddress returns the SupportAddress field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsSMTP) GetSupportAddress() string { + if c == nil || c.SupportAddress == nil { + return "" + } + return *c.SupportAddress +} + +// GetSupportAddressType returns the SupportAddressType field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsSMTP) GetSupportAddressType() string { + if c == nil || c.SupportAddressType == nil { + return "" + } + return *c.SupportAddressType +} + +// GetUsername returns the Username field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsSMTP) GetUsername() string { + if c == nil || c.Username == nil { + return "" + } + return *c.Username +} + +// GetUserName returns the UserName field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsSMTP) GetUserName() string { + if c == nil || c.UserName == nil { + return "" + } + return *c.UserName +} + +// GetCommunity returns the Community field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsSNMP) GetCommunity() string { + if c == nil || c.Community == nil { + return "" + } + return *c.Community +} + +// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsSNMP) GetEnabled() bool { + if c == nil || c.Enabled == nil { + return false + } + return *c.Enabled +} + +// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsSyslog) GetEnabled() bool { + if c == nil || c.Enabled == nil { + return false + } + return *c.Enabled +} + +// GetProtocolName returns the ProtocolName field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsSyslog) GetProtocolName() string { + if c == nil || c.ProtocolName == nil { + return "" + } + return *c.ProtocolName +} + +// GetServer returns the Server field if it's non-nil, zero value otherwise. +func (c *ConfigSettingsSyslog) GetServer() string { + if c == nil || c.Server == nil { + return "" + } + return *c.Server +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (c *ConnectionServiceItem) GetName() string { + if c == nil || c.Name == nil { + return "" + } + return *c.Name +} + +// GetNumber returns the Number field if it's non-nil, zero value otherwise. +func (c *ConnectionServiceItem) GetNumber() int { + if c == nil || c.Number == nil { + return 0 + } + return *c.Number +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (c *ContentReference) GetID() int64 { + if c == nil || c.ID == nil { + return 0 + } + return *c.ID +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (c *ContentReference) GetNodeID() string { + if c == nil || c.NodeID == nil { + return "" + } + return *c.NodeID +} + +// GetReference returns the Reference field if it's non-nil, zero value otherwise. +func (c *ContentReference) GetReference() string { + if c == nil || c.Reference == nil { + return "" + } + return *c.Reference +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (c *ContentReferenceEvent) GetAction() string { + if c == nil || c.Action == nil { + return "" + } + return *c.Action +} + +// GetContentReference returns the ContentReference field. +func (c *ContentReferenceEvent) GetContentReference() *ContentReference { + if c == nil { + return nil + } + return c.ContentReference +} + +// GetInstallation returns the Installation field. +func (c *ContentReferenceEvent) GetInstallation() *Installation { + if c == nil { + return nil + } + return c.Installation +} + +// GetRepo returns the Repo field. +func (c *ContentReferenceEvent) GetRepo() *Repository { + if c == nil { + return nil + } + return c.Repo +} + +// GetSender returns the Sender field. +func (c *ContentReferenceEvent) GetSender() *User { + if c == nil { + return nil + } + return c.Sender +} + +// GetAvatarURL returns the AvatarURL field if it's non-nil, zero value otherwise. +func (c *Contributor) GetAvatarURL() string { + if c == nil || c.AvatarURL == nil { + return "" + } + return *c.AvatarURL +} + +// GetContributions returns the Contributions field if it's non-nil, zero value otherwise. +func (c *Contributor) GetContributions() int { + if c == nil || c.Contributions == nil { + return 0 + } + return *c.Contributions +} + +// GetEmail returns the Email field if it's non-nil, zero value otherwise. +func (c *Contributor) GetEmail() string { + if c == nil || c.Email == nil { + return "" + } + return *c.Email +} + +// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise. +func (c *Contributor) GetEventsURL() string { + if c == nil || c.EventsURL == nil { + return "" + } + return *c.EventsURL +} + +// GetFollowersURL returns the FollowersURL field if it's non-nil, zero value otherwise. +func (c *Contributor) GetFollowersURL() string { + if c == nil || c.FollowersURL == nil { + return "" + } + return *c.FollowersURL +} + +// GetFollowingURL returns the FollowingURL field if it's non-nil, zero value otherwise. +func (c *Contributor) GetFollowingURL() string { + if c == nil || c.FollowingURL == nil { + return "" + } + return *c.FollowingURL +} + +// GetGistsURL returns the GistsURL field if it's non-nil, zero value otherwise. +func (c *Contributor) GetGistsURL() string { + if c == nil || c.GistsURL == nil { + return "" + } + return *c.GistsURL +} + +// GetGravatarID returns the GravatarID field if it's non-nil, zero value otherwise. +func (c *Contributor) GetGravatarID() string { + if c == nil || c.GravatarID == nil { + return "" + } + return *c.GravatarID +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (c *Contributor) GetHTMLURL() string { + if c == nil || c.HTMLURL == nil { + return "" + } + return *c.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (c *Contributor) GetID() int64 { + if c == nil || c.ID == nil { + return 0 + } + return *c.ID +} + +// GetLogin returns the Login field if it's non-nil, zero value otherwise. +func (c *Contributor) GetLogin() string { + if c == nil || c.Login == nil { + return "" + } + return *c.Login +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (c *Contributor) GetName() string { + if c == nil || c.Name == nil { + return "" + } + return *c.Name +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (c *Contributor) GetNodeID() string { + if c == nil || c.NodeID == nil { + return "" + } + return *c.NodeID +} + +// GetOrganizationsURL returns the OrganizationsURL field if it's non-nil, zero value otherwise. +func (c *Contributor) GetOrganizationsURL() string { + if c == nil || c.OrganizationsURL == nil { + return "" + } + return *c.OrganizationsURL +} + +// GetReceivedEventsURL returns the ReceivedEventsURL field if it's non-nil, zero value otherwise. +func (c *Contributor) GetReceivedEventsURL() string { + if c == nil || c.ReceivedEventsURL == nil { + return "" + } + return *c.ReceivedEventsURL +} + +// GetReposURL returns the ReposURL field if it's non-nil, zero value otherwise. +func (c *Contributor) GetReposURL() string { + if c == nil || c.ReposURL == nil { + return "" + } + return *c.ReposURL +} + +// GetSiteAdmin returns the SiteAdmin field if it's non-nil, zero value otherwise. +func (c *Contributor) GetSiteAdmin() bool { + if c == nil || c.SiteAdmin == nil { + return false + } + return *c.SiteAdmin +} + +// GetStarredURL returns the StarredURL field if it's non-nil, zero value otherwise. +func (c *Contributor) GetStarredURL() string { + if c == nil || c.StarredURL == nil { + return "" + } + return *c.StarredURL +} + +// GetSubscriptionsURL returns the SubscriptionsURL field if it's non-nil, zero value otherwise. +func (c *Contributor) GetSubscriptionsURL() string { + if c == nil || c.SubscriptionsURL == nil { + return "" + } + return *c.SubscriptionsURL +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (c *Contributor) GetType() string { + if c == nil || c.Type == nil { + return "" + } + return *c.Type +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (c *Contributor) GetURL() string { + if c == nil || c.URL == nil { + return "" + } + 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 { + return nil + } + return c.Author +} + +// GetTotal returns the Total field if it's non-nil, zero value otherwise. +func (c *ContributorStats) GetTotal() int { + if c == nil || c.Total == nil { + return 0 + } + 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 +} + +// GetCustomAllowlist returns the CustomAllowlist slice if it's non-nil, nil otherwise. +func (c *CopilotCloudAgentConfiguration) GetCustomAllowlist() []string { + if c == nil || c.CustomAllowlist == nil { + return nil + } + return c.CustomAllowlist +} + +// GetEnabledTools returns the EnabledTools field. +func (c *CopilotCloudAgentConfiguration) GetEnabledTools() *CopilotCloudAgentEnabledTools { + if c == nil { + return nil + } + return c.EnabledTools +} + +// GetIsFirewallEnabled returns the IsFirewallEnabled field. +func (c *CopilotCloudAgentConfiguration) GetIsFirewallEnabled() bool { + if c == nil { + return false + } + return c.IsFirewallEnabled +} + +// GetIsFirewallRecommendedAllowlistEnabled returns the IsFirewallRecommendedAllowlistEnabled field. +func (c *CopilotCloudAgentConfiguration) GetIsFirewallRecommendedAllowlistEnabled() bool { + if c == nil { + return false + } + return c.IsFirewallRecommendedAllowlistEnabled +} + +// GetMCPConfiguration returns the MCPConfiguration field. +func (c *CopilotCloudAgentConfiguration) GetMCPConfiguration() any { + if c == nil { + return nil + } + return c.MCPConfiguration +} + +// GetRequireActionsWorkflowApproval returns the RequireActionsWorkflowApproval field. +func (c *CopilotCloudAgentConfiguration) GetRequireActionsWorkflowApproval() bool { + if c == nil { + return false + } + return c.RequireActionsWorkflowApproval +} + +// GetCodeql returns the Codeql field. +func (c *CopilotCloudAgentEnabledTools) GetCodeql() bool { + if c == nil { + return false + } + return c.Codeql +} + +// GetCopilotCodeReview returns the CopilotCodeReview field. +func (c *CopilotCloudAgentEnabledTools) GetCopilotCodeReview() bool { + if c == nil { + return false + } + return c.CopilotCodeReview +} + +// GetDependencyVulnerabilityChecks returns the DependencyVulnerabilityChecks field. +func (c *CopilotCloudAgentEnabledTools) GetDependencyVulnerabilityChecks() bool { + if c == nil { + return false + } + return c.DependencyVulnerabilityChecks +} + +// GetSecretScanning returns the SecretScanning field. +func (c *CopilotCloudAgentEnabledTools) GetSecretScanning() bool { + if c == nil { + return false + } + return c.SecretScanning +} + +// 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 +} + +// GetCodeAcceptanceActivityCount returns the CodeAcceptanceActivityCount field if it's non-nil, zero value otherwise. +func (c *CopilotDailyMetrics) GetCodeAcceptanceActivityCount() int { + if c == nil || c.CodeAcceptanceActivityCount == nil { + return 0 + } + return *c.CodeAcceptanceActivityCount +} + +// GetCodeGenerationActivityCount returns the CodeGenerationActivityCount field if it's non-nil, zero value otherwise. +func (c *CopilotDailyMetrics) GetCodeGenerationActivityCount() int { + if c == nil || c.CodeGenerationActivityCount == nil { + return 0 + } + return *c.CodeGenerationActivityCount +} + +// GetDailyActiveCLIUsers returns the DailyActiveCLIUsers field if it's non-nil, zero value otherwise. +func (c *CopilotDailyMetrics) GetDailyActiveCLIUsers() int { + if c == nil || c.DailyActiveCLIUsers == nil { + return 0 + } + return *c.DailyActiveCLIUsers +} + +// GetDailyActiveCopilotAppUsers returns the DailyActiveCopilotAppUsers field if it's non-nil, zero value otherwise. +func (c *CopilotDailyMetrics) GetDailyActiveCopilotAppUsers() int { + if c == nil || c.DailyActiveCopilotAppUsers == nil { + return 0 + } + return *c.DailyActiveCopilotAppUsers +} + +// GetDailyActiveCopilotCloudAgentUsers returns the DailyActiveCopilotCloudAgentUsers field if it's non-nil, zero value otherwise. +func (c *CopilotDailyMetrics) GetDailyActiveCopilotCloudAgentUsers() int { + if c == nil || c.DailyActiveCopilotCloudAgentUsers == nil { + return 0 + } + return *c.DailyActiveCopilotCloudAgentUsers +} + +// GetDailyActiveCopilotCodeReviewUsers returns the DailyActiveCopilotCodeReviewUsers field if it's non-nil, zero value otherwise. +func (c *CopilotDailyMetrics) GetDailyActiveCopilotCodeReviewUsers() int { + if c == nil || c.DailyActiveCopilotCodeReviewUsers == nil { + return 0 + } + return *c.DailyActiveCopilotCodeReviewUsers +} + +// GetDailyActiveUsers returns the DailyActiveUsers field if it's non-nil, zero value otherwise. +func (c *CopilotDailyMetrics) GetDailyActiveUsers() int { + if c == nil || c.DailyActiveUsers == nil { + return 0 + } + return *c.DailyActiveUsers +} + +// GetDailyPassiveCopilotCodeReviewUsers returns the DailyPassiveCopilotCodeReviewUsers field if it's non-nil, zero value otherwise. +func (c *CopilotDailyMetrics) GetDailyPassiveCopilotCodeReviewUsers() int { + if c == nil || c.DailyPassiveCopilotCodeReviewUsers == nil { + return 0 + } + return *c.DailyPassiveCopilotCodeReviewUsers +} + +// GetDay returns the Day field. +func (c *CopilotDailyMetrics) GetDay() string { + if c == nil { + return "" + } + return c.Day +} + +// GetEnterpriseID returns the EnterpriseID field if it's non-nil, zero value otherwise. +func (c *CopilotDailyMetrics) GetEnterpriseID() string { + if c == nil || c.EnterpriseID == nil { + return "" + } + return *c.EnterpriseID +} + +// GetLOCAddedSum returns the LOCAddedSum field if it's non-nil, zero value otherwise. +func (c *CopilotDailyMetrics) GetLOCAddedSum() int { + if c == nil || c.LOCAddedSum == nil { + return 0 + } + return *c.LOCAddedSum +} + +// GetLOCDeletedSum returns the LOCDeletedSum field if it's non-nil, zero value otherwise. +func (c *CopilotDailyMetrics) GetLOCDeletedSum() int { + if c == nil || c.LOCDeletedSum == nil { + return 0 + } + return *c.LOCDeletedSum +} + +// GetLOCSuggestedToAddSum returns the LOCSuggestedToAddSum field if it's non-nil, zero value otherwise. +func (c *CopilotDailyMetrics) GetLOCSuggestedToAddSum() int { + if c == nil || c.LOCSuggestedToAddSum == nil { + return 0 + } + return *c.LOCSuggestedToAddSum +} + +// GetLOCSuggestedToDeleteSum returns the LOCSuggestedToDeleteSum field if it's non-nil, zero value otherwise. +func (c *CopilotDailyMetrics) GetLOCSuggestedToDeleteSum() int { + if c == nil || c.LOCSuggestedToDeleteSum == nil { + return 0 + } + return *c.LOCSuggestedToDeleteSum +} + +// GetMonthlyActiveAgentUsers returns the MonthlyActiveAgentUsers field if it's non-nil, zero value otherwise. +func (c *CopilotDailyMetrics) GetMonthlyActiveAgentUsers() int { + if c == nil || c.MonthlyActiveAgentUsers == nil { + return 0 + } + return *c.MonthlyActiveAgentUsers +} + +// GetMonthlyActiveChatUsers returns the MonthlyActiveChatUsers field if it's non-nil, zero value otherwise. +func (c *CopilotDailyMetrics) GetMonthlyActiveChatUsers() int { + if c == nil || c.MonthlyActiveChatUsers == nil { + return 0 + } + return *c.MonthlyActiveChatUsers +} + +// GetMonthlyActiveCopilotCloudAgentUsers returns the MonthlyActiveCopilotCloudAgentUsers field if it's non-nil, zero value otherwise. +func (c *CopilotDailyMetrics) GetMonthlyActiveCopilotCloudAgentUsers() int { + if c == nil || c.MonthlyActiveCopilotCloudAgentUsers == nil { + return 0 + } + return *c.MonthlyActiveCopilotCloudAgentUsers +} + +// GetMonthlyActiveCopilotCodeReviewUsers returns the MonthlyActiveCopilotCodeReviewUsers field if it's non-nil, zero value otherwise. +func (c *CopilotDailyMetrics) GetMonthlyActiveCopilotCodeReviewUsers() int { + if c == nil || c.MonthlyActiveCopilotCodeReviewUsers == nil { + return 0 + } + return *c.MonthlyActiveCopilotCodeReviewUsers +} + +// GetMonthlyActiveUsers returns the MonthlyActiveUsers field if it's non-nil, zero value otherwise. +func (c *CopilotDailyMetrics) GetMonthlyActiveUsers() int { + if c == nil || c.MonthlyActiveUsers == nil { + return 0 + } + return *c.MonthlyActiveUsers +} + +// GetMonthlyPassiveCopilotCodeReviewUsers returns the MonthlyPassiveCopilotCodeReviewUsers field if it's non-nil, zero value otherwise. +func (c *CopilotDailyMetrics) GetMonthlyPassiveCopilotCodeReviewUsers() int { + if c == nil || c.MonthlyPassiveCopilotCodeReviewUsers == nil { + return 0 + } + return *c.MonthlyPassiveCopilotCodeReviewUsers +} + +// GetOrganizationID returns the OrganizationID field if it's non-nil, zero value otherwise. +func (c *CopilotDailyMetrics) GetOrganizationID() string { + if c == nil || c.OrganizationID == nil { + return "" + } + return *c.OrganizationID +} + +// GetPullRequests returns the PullRequests field. +func (c *CopilotDailyMetrics) GetPullRequests() *CopilotMetricsPullRequests { + if c == nil { + return nil + } + return c.PullRequests +} + +// GetTotalsBy3rdPartyAgent returns the TotalsBy3rdPartyAgent slice if it's non-nil, nil otherwise. +func (c *CopilotDailyMetrics) GetTotalsBy3rdPartyAgent() []*CopilotMetricsThirdPartyAgent { + if c == nil || c.TotalsBy3rdPartyAgent == nil { + return nil + } + return c.TotalsBy3rdPartyAgent +} + +// GetTotalsByAIAdoptionPhase returns the TotalsByAIAdoptionPhase slice if it's non-nil, nil otherwise. +func (c *CopilotDailyMetrics) GetTotalsByAIAdoptionPhase() []*CopilotMetricsAIAdoptionPhaseTotals { + if c == nil || c.TotalsByAIAdoptionPhase == nil { + return nil + } + return c.TotalsByAIAdoptionPhase +} + +// GetTotalsByCLI returns the TotalsByCLI field. +func (c *CopilotDailyMetrics) GetTotalsByCLI() *CopilotMetricsCLI { + if c == nil { + return nil + } + return c.TotalsByCLI +} + +// GetTotalsByCopilotApp returns the TotalsByCopilotApp field. +func (c *CopilotDailyMetrics) GetTotalsByCopilotApp() *CopilotMetricsCopilotApp { + if c == nil { + return nil + } + return c.TotalsByCopilotApp +} + +// GetTotalsByFeature returns the TotalsByFeature slice if it's non-nil, nil otherwise. +func (c *CopilotDailyMetrics) GetTotalsByFeature() []*CopilotMetricsFeature { + if c == nil || c.TotalsByFeature == nil { + return nil + } + return c.TotalsByFeature +} + +// GetTotalsByIDE returns the TotalsByIDE slice if it's non-nil, nil otherwise. +func (c *CopilotDailyMetrics) GetTotalsByIDE() []*CopilotMetricsIDE { + if c == nil || c.TotalsByIDE == nil { + return nil + } + return c.TotalsByIDE +} + +// GetTotalsByLanguageFeature returns the TotalsByLanguageFeature slice if it's non-nil, nil otherwise. +func (c *CopilotDailyMetrics) GetTotalsByLanguageFeature() []*CopilotMetricsLanguageFeature { + if c == nil || c.TotalsByLanguageFeature == nil { + return nil + } + return c.TotalsByLanguageFeature +} + +// GetTotalsByLanguageModel returns the TotalsByLanguageModel slice if it's non-nil, nil otherwise. +func (c *CopilotDailyMetrics) GetTotalsByLanguageModel() []*CopilotMetricsLanguageModel { + if c == nil || c.TotalsByLanguageModel == nil { + return nil + } + return c.TotalsByLanguageModel +} + +// GetTotalsByModelFeature returns the TotalsByModelFeature slice if it's non-nil, nil otherwise. +func (c *CopilotDailyMetrics) GetTotalsByModelFeature() []*CopilotMetricsModelFeature { + if c == nil || c.TotalsByModelFeature == nil { + return nil + } + return c.TotalsByModelFeature +} + +// GetUserInitiatedInteractionCount returns the UserInitiatedInteractionCount field if it's non-nil, zero value otherwise. +func (c *CopilotDailyMetrics) GetUserInitiatedInteractionCount() int { + if c == nil || c.UserInitiatedInteractionCount == nil { + return 0 + } + return *c.UserInitiatedInteractionCount +} + +// GetWeeklyActiveCopilotCloudAgentUsers returns the WeeklyActiveCopilotCloudAgentUsers field if it's non-nil, zero value otherwise. +func (c *CopilotDailyMetrics) GetWeeklyActiveCopilotCloudAgentUsers() int { + if c == nil || c.WeeklyActiveCopilotCloudAgentUsers == nil { + return 0 + } + return *c.WeeklyActiveCopilotCloudAgentUsers +} + +// GetWeeklyActiveCopilotCodeReviewUsers returns the WeeklyActiveCopilotCodeReviewUsers field if it's non-nil, zero value otherwise. +func (c *CopilotDailyMetrics) GetWeeklyActiveCopilotCodeReviewUsers() int { + if c == nil || c.WeeklyActiveCopilotCodeReviewUsers == nil { + return 0 + } + return *c.WeeklyActiveCopilotCodeReviewUsers +} + +// GetWeeklyActiveUsers returns the WeeklyActiveUsers field if it's non-nil, zero value otherwise. +func (c *CopilotDailyMetrics) GetWeeklyActiveUsers() int { + if c == nil || c.WeeklyActiveUsers == nil { + return 0 + } + return *c.WeeklyActiveUsers +} + +// GetWeeklyPassiveCopilotCodeReviewUsers returns the WeeklyPassiveCopilotCodeReviewUsers field if it's non-nil, zero value otherwise. +func (c *CopilotDailyMetrics) GetWeeklyPassiveCopilotCodeReviewUsers() int { + if c == nil || c.WeeklyPassiveCopilotCodeReviewUsers == nil { + return 0 + } + return *c.WeeklyPassiveCopilotCodeReviewUsers +} + +// 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 { + return "" + } + 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 { + return "" + } + 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 { + return "" + } + 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 { + return "" + } + 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 { + return nil + } + return c.CopilotDotcomChat +} + +// GetCopilotDotcomPullRequests returns the CopilotDotcomPullRequests field. +func (c *CopilotMetrics) GetCopilotDotcomPullRequests() *CopilotDotcomPullRequests { + if c == nil { + return nil + } + return c.CopilotDotcomPullRequests +} + +// GetCopilotIDEChat returns the CopilotIDEChat field. +func (c *CopilotMetrics) GetCopilotIDEChat() *CopilotIDEChat { + if c == nil { + return nil + } + return c.CopilotIDEChat +} + +// GetCopilotIDECodeCompletions returns the CopilotIDECodeCompletions field. +func (c *CopilotMetrics) GetCopilotIDECodeCompletions() *CopilotIDECodeCompletions { + if c == nil { + return nil + } + 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 { + return 0 + } + return *c.TotalActiveUsers +} + +// GetTotalEngagedUsers returns the TotalEngagedUsers field if it's non-nil, zero value otherwise. +func (c *CopilotMetrics) GetTotalEngagedUsers() int { + if c == nil || c.TotalEngagedUsers == nil { + return 0 + } + return *c.TotalEngagedUsers +} + +// GetPhase returns the Phase field. +func (c *CopilotMetricsAIAdoptionPhase) GetPhase() string { + if c == nil { + return "" + } + return c.Phase +} + +// GetPhaseNumber returns the PhaseNumber field. +func (c *CopilotMetricsAIAdoptionPhase) GetPhaseNumber() int { + if c == nil { + return 0 + } + return c.PhaseNumber +} + +// GetVersion returns the Version field. +func (c *CopilotMetricsAIAdoptionPhase) GetVersion() string { + if c == nil { + return "" + } + return c.Version +} + +// GetAvgCodeAcceptanceActivities returns the AvgCodeAcceptanceActivities field. +func (c *CopilotMetricsAIAdoptionPhaseTotals) GetAvgCodeAcceptanceActivities() float64 { + if c == nil { + return 0 + } + return c.AvgCodeAcceptanceActivities +} + +// GetAvgCodeGenerationActivities returns the AvgCodeGenerationActivities field. +func (c *CopilotMetricsAIAdoptionPhaseTotals) GetAvgCodeGenerationActivities() float64 { + if c == nil { + return 0 + } + return c.AvgCodeGenerationActivities +} + +// GetAvgLOCAdded returns the AvgLOCAdded field. +func (c *CopilotMetricsAIAdoptionPhaseTotals) GetAvgLOCAdded() float64 { + if c == nil { + return 0 + } + return c.AvgLOCAdded +} + +// GetAvgLOCDeleted returns the AvgLOCDeleted field. +func (c *CopilotMetricsAIAdoptionPhaseTotals) GetAvgLOCDeleted() float64 { + if c == nil { + return 0 + } + return c.AvgLOCDeleted +} + +// GetAvgPullRequestsCreated returns the AvgPullRequestsCreated field. +func (c *CopilotMetricsAIAdoptionPhaseTotals) GetAvgPullRequestsCreated() float64 { + if c == nil { + return 0 + } + return c.AvgPullRequestsCreated +} + +// GetAvgPullRequestsMedianMinutesToMerge returns the AvgPullRequestsMedianMinutesToMerge field. +func (c *CopilotMetricsAIAdoptionPhaseTotals) GetAvgPullRequestsMedianMinutesToMerge() float64 { + if c == nil { + return 0 + } + return c.AvgPullRequestsMedianMinutesToMerge +} + +// GetAvgPullRequestsMerged returns the AvgPullRequestsMerged field. +func (c *CopilotMetricsAIAdoptionPhaseTotals) GetAvgPullRequestsMerged() float64 { + if c == nil { + return 0 + } + return c.AvgPullRequestsMerged +} + +// GetAvgPullRequestsMinutesToReview returns the AvgPullRequestsMinutesToReview field. +func (c *CopilotMetricsAIAdoptionPhaseTotals) GetAvgPullRequestsMinutesToReview() float64 { + if c == nil { + return 0 + } + return c.AvgPullRequestsMinutesToReview +} + +// GetAvgPullRequestsReviewCycles returns the AvgPullRequestsReviewCycles field. +func (c *CopilotMetricsAIAdoptionPhaseTotals) GetAvgPullRequestsReviewCycles() float64 { + if c == nil { + return 0 + } + return c.AvgPullRequestsReviewCycles +} + +// GetAvgPullRequestsReviewed returns the AvgPullRequestsReviewed field. +func (c *CopilotMetricsAIAdoptionPhaseTotals) GetAvgPullRequestsReviewed() float64 { + if c == nil { + return 0 + } + return c.AvgPullRequestsReviewed +} + +// GetAvgUserInitiatedInteractions returns the AvgUserInitiatedInteractions field. +func (c *CopilotMetricsAIAdoptionPhaseTotals) GetAvgUserInitiatedInteractions() float64 { + if c == nil { + return 0 + } + return c.AvgUserInitiatedInteractions +} + +// GetPhase returns the Phase field. +func (c *CopilotMetricsAIAdoptionPhaseTotals) GetPhase() string { + if c == nil { + return "" + } + return c.Phase +} + +// GetPhaseNumber returns the PhaseNumber field. +func (c *CopilotMetricsAIAdoptionPhaseTotals) GetPhaseNumber() int { + if c == nil { + return 0 + } + return c.PhaseNumber +} + +// GetTotalEngagedUsers returns the TotalEngagedUsers field. +func (c *CopilotMetricsAIAdoptionPhaseTotals) GetTotalEngagedUsers() int { + if c == nil { + return 0 + } + return c.TotalEngagedUsers +} + +// GetTotalPullRequestsMerged returns the TotalPullRequestsMerged field. +func (c *CopilotMetricsAIAdoptionPhaseTotals) GetTotalPullRequestsMerged() int { + if c == nil { + return 0 + } + return c.TotalPullRequestsMerged +} + +// GetChatPanelAgentMode returns the ChatPanelAgentMode field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsChatPanel) GetChatPanelAgentMode() int { + if c == nil || c.ChatPanelAgentMode == nil { + return 0 + } + return *c.ChatPanelAgentMode +} + +// GetChatPanelAskMode returns the ChatPanelAskMode field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsChatPanel) GetChatPanelAskMode() int { + if c == nil || c.ChatPanelAskMode == nil { + return 0 + } + return *c.ChatPanelAskMode +} + +// GetChatPanelCustomMode returns the ChatPanelCustomMode field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsChatPanel) GetChatPanelCustomMode() int { + if c == nil || c.ChatPanelCustomMode == nil { + return 0 + } + return *c.ChatPanelCustomMode +} + +// GetChatPanelEditMode returns the ChatPanelEditMode field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsChatPanel) GetChatPanelEditMode() int { + if c == nil || c.ChatPanelEditMode == nil { + return 0 + } + return *c.ChatPanelEditMode +} + +// GetChatPanelUnknownMode returns the ChatPanelUnknownMode field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsChatPanel) GetChatPanelUnknownMode() int { + if c == nil || c.ChatPanelUnknownMode == nil { + return 0 + } + return *c.ChatPanelUnknownMode +} + +// GetLastKnownCLIVersion returns the LastKnownCLIVersion field. +func (c *CopilotMetricsCLI) GetLastKnownCLIVersion() *CopilotMetricsCLIVersion { + if c == nil { + return nil + } + return c.LastKnownCLIVersion +} + +// GetPromptCount returns the PromptCount field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsCLI) GetPromptCount() int { + if c == nil || c.PromptCount == nil { + return 0 + } + return *c.PromptCount +} + +// GetRequestCount returns the RequestCount field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsCLI) GetRequestCount() int { + if c == nil || c.RequestCount == nil { + return 0 + } + return *c.RequestCount +} + +// GetSessionCount returns the SessionCount field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsCLI) GetSessionCount() int { + if c == nil || c.SessionCount == nil { + return 0 + } + return *c.SessionCount +} + +// GetTokenUsage returns the TokenUsage field. +func (c *CopilotMetricsCLI) GetTokenUsage() *CopilotMetricsCLITokenUsage { + if c == nil { + return nil + } + return c.TokenUsage +} + +// GetAvgTokensPerRequest returns the AvgTokensPerRequest field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsCLITokenUsage) GetAvgTokensPerRequest() float64 { + if c == nil || c.AvgTokensPerRequest == nil { + return 0 + } + return *c.AvgTokensPerRequest +} + +// GetOutputTokensSum returns the OutputTokensSum field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsCLITokenUsage) GetOutputTokensSum() int { + if c == nil || c.OutputTokensSum == nil { + return 0 + } + return *c.OutputTokensSum +} + +// GetPromptTokensSum returns the PromptTokensSum field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsCLITokenUsage) GetPromptTokensSum() int { + if c == nil || c.PromptTokensSum == nil { + return 0 + } + return *c.PromptTokensSum +} + +// GetCLIVersion returns the CLIVersion field. +func (c *CopilotMetricsCLIVersion) GetCLIVersion() string { + if c == nil { + return "" + } + return c.CLIVersion +} + +// GetSampledAt returns the SampledAt field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsCLIVersion) GetSampledAt() Timestamp { + if c == nil || c.SampledAt == nil { + return Timestamp{} + } + return *c.SampledAt +} + +// GetCodeAcceptanceActivityCount returns the CodeAcceptanceActivityCount field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsCodeActivity) GetCodeAcceptanceActivityCount() int { + if c == nil || c.CodeAcceptanceActivityCount == nil { + return 0 + } + return *c.CodeAcceptanceActivityCount +} + +// GetCodeGenerationActivityCount returns the CodeGenerationActivityCount field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsCodeActivity) GetCodeGenerationActivityCount() int { + if c == nil || c.CodeGenerationActivityCount == nil { + return 0 + } + return *c.CodeGenerationActivityCount +} + +// GetLOCAddedSum returns the LOCAddedSum field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsCodeActivity) GetLOCAddedSum() int { + if c == nil || c.LOCAddedSum == nil { + return 0 + } + return *c.LOCAddedSum +} + +// GetLOCDeletedSum returns the LOCDeletedSum field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsCodeActivity) GetLOCDeletedSum() int { + if c == nil || c.LOCDeletedSum == nil { + return 0 + } + return *c.LOCDeletedSum +} + +// GetLOCSuggestedToAddSum returns the LOCSuggestedToAddSum field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsCodeActivity) GetLOCSuggestedToAddSum() int { + if c == nil || c.LOCSuggestedToAddSum == nil { + return 0 + } + return *c.LOCSuggestedToAddSum +} + +// GetLOCSuggestedToDeleteSum returns the LOCSuggestedToDeleteSum field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsCodeActivity) GetLOCSuggestedToDeleteSum() int { + if c == nil || c.LOCSuggestedToDeleteSum == nil { + return 0 + } + return *c.LOCSuggestedToDeleteSum +} + +// GetPromptCount returns the PromptCount field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsCopilotApp) GetPromptCount() int { + if c == nil || c.PromptCount == nil { + return 0 + } + return *c.PromptCount +} + +// GetRequestCount returns the RequestCount field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsCopilotApp) GetRequestCount() int { + if c == nil || c.RequestCount == nil { + return 0 + } + return *c.RequestCount +} + +// GetSessionCount returns the SessionCount field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsCopilotApp) GetSessionCount() int { + if c == nil || c.SessionCount == nil { + return 0 + } + return *c.SessionCount +} + +// GetTokenUsage returns the TokenUsage field. +func (c *CopilotMetricsCopilotApp) GetTokenUsage() *CopilotMetricsCopilotAppTokenUsage { + if c == nil { + return nil + } + return c.TokenUsage +} + +// GetAvgTokensPerRequest returns the AvgTokensPerRequest field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsCopilotAppTokenUsage) GetAvgTokensPerRequest() float64 { + if c == nil || c.AvgTokensPerRequest == nil { + return 0 + } + return *c.AvgTokensPerRequest +} + +// GetOutputTokensSum returns the OutputTokensSum field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsCopilotAppTokenUsage) GetOutputTokensSum() int { + if c == nil || c.OutputTokensSum == nil { + return 0 + } + return *c.OutputTokensSum +} + +// GetPromptTokensSum returns the PromptTokensSum field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsCopilotAppTokenUsage) GetPromptTokensSum() int { + if c == nil || c.PromptTokensSum == nil { + return 0 + } + return *c.PromptTokensSum +} + +// GetCommentType returns the CommentType field. +func (c *CopilotMetricsCopilotSuggestionByCommentType) GetCommentType() string { + if c == nil { + return "" + } + return c.CommentType +} + +// GetTotalCopilotAppliedSuggestions returns the TotalCopilotAppliedSuggestions field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsCopilotSuggestionByCommentType) GetTotalCopilotAppliedSuggestions() int { + if c == nil || c.TotalCopilotAppliedSuggestions == nil { + return 0 + } + return *c.TotalCopilotAppliedSuggestions +} + +// GetTotalCopilotSuggestions returns the TotalCopilotSuggestions field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsCopilotSuggestionByCommentType) GetTotalCopilotSuggestions() int { + if c == nil || c.TotalCopilotSuggestions == nil { + return 0 + } + return *c.TotalCopilotSuggestions +} + +// GetFeature returns the Feature field. +func (c *CopilotMetricsFeature) GetFeature() string { + if c == nil { + return "" + } + return c.Feature +} + +// GetUserInitiatedInteractionCount returns the UserInitiatedInteractionCount field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsFeature) GetUserInitiatedInteractionCount() int { + if c == nil || c.UserInitiatedInteractionCount == nil { + return 0 + } + return *c.UserInitiatedInteractionCount +} + +// GetIDE returns the IDE field. +func (c *CopilotMetricsIDE) GetIDE() string { + if c == nil { + return "" + } + return c.IDE +} + +// GetUserInitiatedInteractionCount returns the UserInitiatedInteractionCount field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsIDE) GetUserInitiatedInteractionCount() int { + if c == nil || c.UserInitiatedInteractionCount == nil { + return 0 + } + return *c.UserInitiatedInteractionCount +} + +// GetFeature returns the Feature field. +func (c *CopilotMetricsLanguageFeature) GetFeature() string { + if c == nil { + return "" + } + return c.Feature +} + +// GetLanguage returns the Language field. +func (c *CopilotMetricsLanguageFeature) GetLanguage() string { + if c == nil { + return "" + } + return c.Language +} + +// GetLanguage returns the Language field. +func (c *CopilotMetricsLanguageModel) GetLanguage() string { + if c == nil { + return "" + } + return c.Language +} + +// GetModel returns the Model field. +func (c *CopilotMetricsLanguageModel) GetModel() string { + if c == nil { + return "" + } + return c.Model +} + +// GetSince returns the Since field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsListOptions) GetSince() time.Time { + if c == nil || c.Since == nil { + return time.Time{} + } + return *c.Since +} + +// GetUntil returns the Until field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsListOptions) GetUntil() time.Time { + if c == nil || c.Until == nil { + return time.Time{} + } + return *c.Until +} + +// GetFeature returns the Feature field. +func (c *CopilotMetricsModelFeature) GetFeature() string { + if c == nil { + return "" + } + return c.Feature +} + +// GetModel returns the Model field. +func (c *CopilotMetricsModelFeature) GetModel() string { + if c == nil { + return "" + } + return c.Model +} + +// GetUserInitiatedInteractionCount returns the UserInitiatedInteractionCount field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsModelFeature) GetUserInitiatedInteractionCount() int { + if c == nil || c.UserInitiatedInteractionCount == nil { + return 0 + } + return *c.UserInitiatedInteractionCount +} + +// GetCopilotSuggestionsByCommentType returns the CopilotSuggestionsByCommentType slice if it's non-nil, nil otherwise. +func (c *CopilotMetricsPullRequests) GetCopilotSuggestionsByCommentType() []*CopilotMetricsCopilotSuggestionByCommentType { + if c == nil || c.CopilotSuggestionsByCommentType == nil { + return nil + } + return c.CopilotSuggestionsByCommentType +} + +// GetMedianMinutesToMerge returns the MedianMinutesToMerge field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsPullRequests) GetMedianMinutesToMerge() float64 { + if c == nil || c.MedianMinutesToMerge == nil { + return 0 + } + return *c.MedianMinutesToMerge +} + +// GetMedianMinutesToMergeCopilotAuthored returns the MedianMinutesToMergeCopilotAuthored field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsPullRequests) GetMedianMinutesToMergeCopilotAuthored() float64 { + if c == nil || c.MedianMinutesToMergeCopilotAuthored == nil { + return 0 + } + return *c.MedianMinutesToMergeCopilotAuthored +} + +// GetMedianMinutesToMergeCopilotReviewed returns the MedianMinutesToMergeCopilotReviewed field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsPullRequests) GetMedianMinutesToMergeCopilotReviewed() float64 { + if c == nil || c.MedianMinutesToMergeCopilotReviewed == nil { + return 0 + } + return *c.MedianMinutesToMergeCopilotReviewed +} + +// GetTotalAppliedSuggestions returns the TotalAppliedSuggestions field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsPullRequests) GetTotalAppliedSuggestions() int { + if c == nil || c.TotalAppliedSuggestions == nil { + return 0 + } + return *c.TotalAppliedSuggestions +} + +// GetTotalCopilotAppliedSuggestions returns the TotalCopilotAppliedSuggestions field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsPullRequests) GetTotalCopilotAppliedSuggestions() int { + if c == nil || c.TotalCopilotAppliedSuggestions == nil { + return 0 + } + return *c.TotalCopilotAppliedSuggestions +} + +// GetTotalCopilotSuggestions returns the TotalCopilotSuggestions field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsPullRequests) GetTotalCopilotSuggestions() int { + if c == nil || c.TotalCopilotSuggestions == nil { + return 0 + } + return *c.TotalCopilotSuggestions +} + +// GetTotalCreated returns the TotalCreated field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsPullRequests) GetTotalCreated() int { + if c == nil || c.TotalCreated == nil { + return 0 + } + return *c.TotalCreated +} + +// GetTotalCreatedByCopilot returns the TotalCreatedByCopilot field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsPullRequests) GetTotalCreatedByCopilot() int { + if c == nil || c.TotalCreatedByCopilot == nil { + return 0 + } + return *c.TotalCreatedByCopilot +} + +// GetTotalMerged returns the TotalMerged field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsPullRequests) GetTotalMerged() int { + if c == nil || c.TotalMerged == nil { + return 0 + } + return *c.TotalMerged +} + +// GetTotalMergedCreatedByCopilot returns the TotalMergedCreatedByCopilot field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsPullRequests) GetTotalMergedCreatedByCopilot() int { + if c == nil || c.TotalMergedCreatedByCopilot == nil { + return 0 + } + return *c.TotalMergedCreatedByCopilot +} + +// GetTotalMergedReviewedByCopilot returns the TotalMergedReviewedByCopilot field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsPullRequests) GetTotalMergedReviewedByCopilot() int { + if c == nil || c.TotalMergedReviewedByCopilot == nil { + return 0 + } + return *c.TotalMergedReviewedByCopilot +} + +// GetTotalReviewed returns the TotalReviewed field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsPullRequests) GetTotalReviewed() int { + if c == nil || c.TotalReviewed == nil { + return 0 + } + return *c.TotalReviewed +} + +// GetTotalReviewedByCopilot returns the TotalReviewedByCopilot field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsPullRequests) GetTotalReviewedByCopilot() int { + if c == nil || c.TotalReviewedByCopilot == nil { + return 0 + } + return *c.TotalReviewedByCopilot +} + +// GetTotalSuggestions returns the TotalSuggestions field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsPullRequests) GetTotalSuggestions() int { + if c == nil || c.TotalSuggestions == nil { + return 0 + } + return *c.TotalSuggestions +} + +// 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 +} + +// GetAgentID returns the AgentID field. +func (c *CopilotMetricsThirdPartyAgent) GetAgentID() string { + if c == nil { + return "" + } + return c.AgentID +} + +// GetAgentName returns the AgentName field. +func (c *CopilotMetricsThirdPartyAgent) GetAgentName() string { + if c == nil { + return "" + } + return c.AgentName +} + +// GetSessionCount returns the SessionCount field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsThirdPartyAgent) GetSessionCount() int { + if c == nil || c.SessionCount == nil { + return 0 + } + return *c.SessionCount +} + +// GetUserInitiatedInteractionCount returns the UserInitiatedInteractionCount field if it's non-nil, zero value otherwise. +func (c *CopilotMetricsThirdPartyAgent) GetUserInitiatedInteractionCount() int { + if c == nil || c.UserInitiatedInteractionCount == nil { + return 0 + } + return *c.UserInitiatedInteractionCount +} + +// 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 { + return nil + } + return c.SeatBreakdown +} + +// GetSeatManagementSetting returns the SeatManagementSetting field. +func (c *CopilotOrganizationDetails) GetSeatManagementSetting() string { + if c == nil { + return "" + } + return c.SeatManagementSetting +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (c *CopilotPeriodicMetrics) GetCreatedAt() Timestamp { + if c == nil || c.CreatedAt == nil { + return Timestamp{} + } + return *c.CreatedAt +} + +// GetDayTotals returns the DayTotals slice if it's non-nil, nil otherwise. +func (c *CopilotPeriodicMetrics) GetDayTotals() []*CopilotDailyMetrics { + if c == nil || c.DayTotals == nil { + return nil + } + return c.DayTotals +} + +// GetEnterpriseID returns the EnterpriseID field if it's non-nil, zero value otherwise. +func (c *CopilotPeriodicMetrics) GetEnterpriseID() string { + if c == nil || c.EnterpriseID == nil { + return "" + } + return *c.EnterpriseID +} + +// GetOrganizationID returns the OrganizationID field if it's non-nil, zero value otherwise. +func (c *CopilotPeriodicMetrics) GetOrganizationID() string { + if c == nil || c.OrganizationID == nil { + return "" + } + return *c.OrganizationID +} + +// GetReportEndDay returns the ReportEndDay field. +func (c *CopilotPeriodicMetrics) GetReportEndDay() string { + if c == nil { + return "" + } + return c.ReportEndDay +} + +// GetReportStartDay returns the ReportStartDay field. +func (c *CopilotPeriodicMetrics) GetReportStartDay() string { + if c == nil { + return "" + } + return c.ReportStartDay +} + +// GetDay returns the Day field. +func (c *CopilotRepositoryDailyMetrics) GetDay() string { + if c == nil { + return "" + } + return c.Day +} + +// GetEnterpriseID returns the EnterpriseID field if it's non-nil, zero value otherwise. +func (c *CopilotRepositoryDailyMetrics) GetEnterpriseID() string { + if c == nil || c.EnterpriseID == nil { + return "" + } + return *c.EnterpriseID +} + +// GetOrganizationID returns the OrganizationID field if it's non-nil, zero value otherwise. +func (c *CopilotRepositoryDailyMetrics) GetOrganizationID() string { + if c == nil || c.OrganizationID == nil { + return "" + } + return *c.OrganizationID +} + +// GetPullRequests returns the PullRequests field. +func (c *CopilotRepositoryDailyMetrics) GetPullRequests() *CopilotMetricsPullRequests { + if c == nil { + return nil + } + return c.PullRequests +} + +// GetRepoID returns the RepoID field. +func (c *CopilotRepositoryDailyMetrics) GetRepoID() int64 { + if c == nil { + return 0 + } + return c.RepoID +} + +// GetRepoName returns the RepoName field. +func (c *CopilotRepositoryDailyMetrics) GetRepoName() string { + if c == nil { + return "" + } + return c.RepoName +} + +// GetRepoOwnerName returns the RepoOwnerName field. +func (c *CopilotRepositoryDailyMetrics) GetRepoOwnerName() string { + if c == nil { + return "" + } + return c.RepoOwnerName +} + +// GetRepoVisibility returns the RepoVisibility field. +func (c *CopilotRepositoryDailyMetrics) GetRepoVisibility() string { + if c == nil { + return "" + } + return c.RepoVisibility +} + +// 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 { + return nil + } + return c.AssigningTeam +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (c *CopilotSeatDetails) GetCreatedAt() Timestamp { + if c == nil || c.CreatedAt == nil { + return Timestamp{} + } + return *c.CreatedAt +} + +// GetLastActivityAt returns the LastActivityAt field if it's non-nil, zero value otherwise. +func (c *CopilotSeatDetails) GetLastActivityAt() Timestamp { + if c == nil || c.LastActivityAt == nil { + return Timestamp{} + } + return *c.LastActivityAt +} + +// GetLastActivityEditor returns the LastActivityEditor field if it's non-nil, zero value otherwise. +func (c *CopilotSeatDetails) GetLastActivityEditor() string { + if c == nil || c.LastActivityEditor == nil { + return "" + } + return *c.LastActivityEditor +} + +// GetPendingCancellationDate returns the PendingCancellationDate field if it's non-nil, zero value otherwise. +func (c *CopilotSeatDetails) GetPendingCancellationDate() string { + if c == nil || c.PendingCancellationDate == nil { + return "" + } + return *c.PendingCancellationDate +} + +// GetPlanType returns the PlanType field if it's non-nil, zero value otherwise. +func (c *CopilotSeatDetails) GetPlanType() string { + if c == nil || c.PlanType == nil { + return "" + } + return *c.PlanType +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (c *CopilotSeatDetails) GetUpdatedAt() Timestamp { + if c == nil || c.UpdatedAt == nil { + return Timestamp{} + } + return *c.UpdatedAt +} + +// GetAIAdoptionPhase returns the AIAdoptionPhase field. +func (c *CopilotUserDailyMetrics) GetAIAdoptionPhase() *CopilotMetricsAIAdoptionPhase { + if c == nil { + return nil + } + return c.AIAdoptionPhase +} + +// GetAICreditsUsed returns the AICreditsUsed field if it's non-nil, zero value otherwise. +func (c *CopilotUserDailyMetrics) GetAICreditsUsed() float64 { + if c == nil || c.AICreditsUsed == nil { + return 0 + } + return *c.AICreditsUsed +} + +// GetCodeAcceptanceActivityCount returns the CodeAcceptanceActivityCount field if it's non-nil, zero value otherwise. +func (c *CopilotUserDailyMetrics) GetCodeAcceptanceActivityCount() int { + if c == nil || c.CodeAcceptanceActivityCount == nil { + return 0 + } + return *c.CodeAcceptanceActivityCount +} + +// GetCodeGenerationActivityCount returns the CodeGenerationActivityCount field if it's non-nil, zero value otherwise. +func (c *CopilotUserDailyMetrics) GetCodeGenerationActivityCount() int { + if c == nil || c.CodeGenerationActivityCount == nil { + return 0 + } + return *c.CodeGenerationActivityCount +} + +// GetDay returns the Day field. +func (c *CopilotUserDailyMetrics) GetDay() string { + if c == nil { + return "" + } + return c.Day +} + +// GetEnterpriseID returns the EnterpriseID field if it's non-nil, zero value otherwise. +func (c *CopilotUserDailyMetrics) GetEnterpriseID() string { + if c == nil || c.EnterpriseID == nil { + return "" + } + return *c.EnterpriseID +} + +// GetLOCAddedSum returns the LOCAddedSum field if it's non-nil, zero value otherwise. +func (c *CopilotUserDailyMetrics) GetLOCAddedSum() int { + if c == nil || c.LOCAddedSum == nil { + return 0 + } + return *c.LOCAddedSum +} + +// GetLOCDeletedSum returns the LOCDeletedSum field if it's non-nil, zero value otherwise. +func (c *CopilotUserDailyMetrics) GetLOCDeletedSum() int { + if c == nil || c.LOCDeletedSum == nil { + return 0 + } + return *c.LOCDeletedSum +} + +// GetLOCSuggestedToAddSum returns the LOCSuggestedToAddSum field if it's non-nil, zero value otherwise. +func (c *CopilotUserDailyMetrics) GetLOCSuggestedToAddSum() int { + if c == nil || c.LOCSuggestedToAddSum == nil { + return 0 + } + return *c.LOCSuggestedToAddSum +} + +// GetLOCSuggestedToDeleteSum returns the LOCSuggestedToDeleteSum field if it's non-nil, zero value otherwise. +func (c *CopilotUserDailyMetrics) GetLOCSuggestedToDeleteSum() int { + if c == nil || c.LOCSuggestedToDeleteSum == nil { + return 0 + } + return *c.LOCSuggestedToDeleteSum +} + +// GetOrganizationID returns the OrganizationID field if it's non-nil, zero value otherwise. +func (c *CopilotUserDailyMetrics) GetOrganizationID() string { + if c == nil || c.OrganizationID == nil { + return "" + } + return *c.OrganizationID +} + +// GetTotalsBy3rdPartyAgent returns the TotalsBy3rdPartyAgent slice if it's non-nil, nil otherwise. +func (c *CopilotUserDailyMetrics) GetTotalsBy3rdPartyAgent() []*CopilotMetricsThirdPartyAgent { + if c == nil || c.TotalsBy3rdPartyAgent == nil { + return nil + } + return c.TotalsBy3rdPartyAgent +} + +// GetTotalsByCLI returns the TotalsByCLI field. +func (c *CopilotUserDailyMetrics) GetTotalsByCLI() *CopilotMetricsCLI { + if c == nil { + return nil + } + return c.TotalsByCLI +} + +// GetTotalsByCopilotApp returns the TotalsByCopilotApp field. +func (c *CopilotUserDailyMetrics) GetTotalsByCopilotApp() *CopilotMetricsCopilotApp { + if c == nil { + return nil + } + return c.TotalsByCopilotApp +} + +// GetTotalsByFeature returns the TotalsByFeature slice if it's non-nil, nil otherwise. +func (c *CopilotUserDailyMetrics) GetTotalsByFeature() []*CopilotMetricsFeature { + if c == nil || c.TotalsByFeature == nil { + return nil + } + return c.TotalsByFeature +} + +// GetTotalsByIDE returns the TotalsByIDE slice if it's non-nil, nil otherwise. +func (c *CopilotUserDailyMetrics) GetTotalsByIDE() []*CopilotUserMetricsIDE { + if c == nil || c.TotalsByIDE == nil { + return nil + } + return c.TotalsByIDE +} + +// GetTotalsByLanguageFeature returns the TotalsByLanguageFeature slice if it's non-nil, nil otherwise. +func (c *CopilotUserDailyMetrics) GetTotalsByLanguageFeature() []*CopilotMetricsLanguageFeature { + if c == nil || c.TotalsByLanguageFeature == nil { + return nil + } + return c.TotalsByLanguageFeature +} + +// GetTotalsByLanguageModel returns the TotalsByLanguageModel slice if it's non-nil, nil otherwise. +func (c *CopilotUserDailyMetrics) GetTotalsByLanguageModel() []*CopilotMetricsLanguageModel { + if c == nil || c.TotalsByLanguageModel == nil { + return nil + } + return c.TotalsByLanguageModel +} + +// GetTotalsByModelFeature returns the TotalsByModelFeature slice if it's non-nil, nil otherwise. +func (c *CopilotUserDailyMetrics) GetTotalsByModelFeature() []*CopilotMetricsModelFeature { + if c == nil || c.TotalsByModelFeature == nil { + return nil + } + return c.TotalsByModelFeature +} + +// GetUsedAgent returns the UsedAgent field if it's non-nil, zero value otherwise. +func (c *CopilotUserDailyMetrics) GetUsedAgent() bool { + if c == nil || c.UsedAgent == nil { + return false + } + return *c.UsedAgent +} + +// GetUsedChat returns the UsedChat field if it's non-nil, zero value otherwise. +func (c *CopilotUserDailyMetrics) GetUsedChat() bool { + if c == nil || c.UsedChat == nil { + return false + } + return *c.UsedChat +} + +// GetUsedCLI returns the UsedCLI field if it's non-nil, zero value otherwise. +func (c *CopilotUserDailyMetrics) GetUsedCLI() bool { + if c == nil || c.UsedCLI == nil { + return false + } + return *c.UsedCLI +} + +// GetUsedCopilotApp returns the UsedCopilotApp field if it's non-nil, zero value otherwise. +func (c *CopilotUserDailyMetrics) GetUsedCopilotApp() bool { + if c == nil || c.UsedCopilotApp == nil { + return false + } + return *c.UsedCopilotApp +} + +// GetUsedCopilotCloudAgent returns the UsedCopilotCloudAgent field if it's non-nil, zero value otherwise. +func (c *CopilotUserDailyMetrics) GetUsedCopilotCloudAgent() bool { + if c == nil || c.UsedCopilotCloudAgent == nil { + return false + } + return *c.UsedCopilotCloudAgent +} + +// GetUsedCopilotCodeReviewActive returns the UsedCopilotCodeReviewActive field if it's non-nil, zero value otherwise. +func (c *CopilotUserDailyMetrics) GetUsedCopilotCodeReviewActive() bool { + if c == nil || c.UsedCopilotCodeReviewActive == nil { + return false + } + return *c.UsedCopilotCodeReviewActive +} + +// GetUsedCopilotCodeReviewPassive returns the UsedCopilotCodeReviewPassive field if it's non-nil, zero value otherwise. +func (c *CopilotUserDailyMetrics) GetUsedCopilotCodeReviewPassive() bool { + if c == nil || c.UsedCopilotCodeReviewPassive == nil { + return false + } + return *c.UsedCopilotCodeReviewPassive +} + +// GetUsedCopilotCodingAgent returns the UsedCopilotCodingAgent field if it's non-nil, zero value otherwise. +func (c *CopilotUserDailyMetrics) GetUsedCopilotCodingAgent() bool { + if c == nil || c.UsedCopilotCodingAgent == nil { + return false + } + return *c.UsedCopilotCodingAgent +} + +// GetUserID returns the UserID field. +func (c *CopilotUserDailyMetrics) GetUserID() int { + if c == nil { + return 0 + } + return c.UserID +} + +// GetUserInitiatedInteractionCount returns the UserInitiatedInteractionCount field if it's non-nil, zero value otherwise. +func (c *CopilotUserDailyMetrics) GetUserInitiatedInteractionCount() int { + if c == nil || c.UserInitiatedInteractionCount == nil { + return 0 + } + return *c.UserInitiatedInteractionCount +} + +// GetUserLogin returns the UserLogin field. +func (c *CopilotUserDailyMetrics) GetUserLogin() string { + if c == nil { + return "" + } + return c.UserLogin +} + +// GetIDE returns the IDE field. +func (c *CopilotUserMetricsIDE) GetIDE() string { + if c == nil { + return "" + } + return c.IDE +} + +// GetLastKnownIDEVersion returns the LastKnownIDEVersion field. +func (c *CopilotUserMetricsIDE) GetLastKnownIDEVersion() *CopilotUserMetricsIDEVersion { + if c == nil { + return nil + } + return c.LastKnownIDEVersion +} + +// GetLastKnownPluginVersion returns the LastKnownPluginVersion field. +func (c *CopilotUserMetricsIDE) GetLastKnownPluginVersion() *CopilotUserMetricsPluginVersion { + if c == nil { + return nil + } + return c.LastKnownPluginVersion +} + +// GetUserInitiatedInteractionCount returns the UserInitiatedInteractionCount field if it's non-nil, zero value otherwise. +func (c *CopilotUserMetricsIDE) GetUserInitiatedInteractionCount() int { + if c == nil || c.UserInitiatedInteractionCount == nil { + return 0 + } + return *c.UserInitiatedInteractionCount +} + +// GetIDEVersion returns the IDEVersion field. +func (c *CopilotUserMetricsIDEVersion) GetIDEVersion() string { + if c == nil { + return "" + } + return c.IDEVersion +} + +// GetSampledAt returns the SampledAt field if it's non-nil, zero value otherwise. +func (c *CopilotUserMetricsIDEVersion) GetSampledAt() Timestamp { + if c == nil || c.SampledAt == nil { + return Timestamp{} + } + return *c.SampledAt +} + +// GetPlugin returns the Plugin field. +func (c *CopilotUserMetricsPluginVersion) GetPlugin() string { + if c == nil { + return "" + } + return c.Plugin +} + +// GetPluginVersion returns the PluginVersion field. +func (c *CopilotUserMetricsPluginVersion) GetPluginVersion() string { + if c == nil { + return "" + } + return c.PluginVersion +} + +// GetSampledAt returns the SampledAt field if it's non-nil, zero value otherwise. +func (c *CopilotUserMetricsPluginVersion) GetSampledAt() Timestamp { + if c == nil || c.SampledAt == nil { + return Timestamp{} + } + return *c.SampledAt +} + +// GetAIAdoptionPhase returns the AIAdoptionPhase field. +func (c *CopilotUserPeriodicMetrics) GetAIAdoptionPhase() *CopilotMetricsAIAdoptionPhase { + if c == nil { + return nil + } + return c.AIAdoptionPhase +} + +// GetAICreditsUsed returns the AICreditsUsed field if it's non-nil, zero value otherwise. +func (c *CopilotUserPeriodicMetrics) GetAICreditsUsed() float64 { + if c == nil || c.AICreditsUsed == nil { + return 0 + } + return *c.AICreditsUsed +} + +// GetCodeAcceptanceActivityCount returns the CodeAcceptanceActivityCount field if it's non-nil, zero value otherwise. +func (c *CopilotUserPeriodicMetrics) GetCodeAcceptanceActivityCount() int { + if c == nil || c.CodeAcceptanceActivityCount == nil { + return 0 + } + return *c.CodeAcceptanceActivityCount +} + +// GetCodeGenerationActivityCount returns the CodeGenerationActivityCount field if it's non-nil, zero value otherwise. +func (c *CopilotUserPeriodicMetrics) GetCodeGenerationActivityCount() int { + if c == nil || c.CodeGenerationActivityCount == nil { + return 0 + } + return *c.CodeGenerationActivityCount +} + +// GetDay returns the Day field. +func (c *CopilotUserPeriodicMetrics) GetDay() string { + if c == nil { + return "" + } + return c.Day +} + +// GetEnterpriseID returns the EnterpriseID field if it's non-nil, zero value otherwise. +func (c *CopilotUserPeriodicMetrics) GetEnterpriseID() string { + if c == nil || c.EnterpriseID == nil { + return "" + } + return *c.EnterpriseID +} + +// GetLOCAddedSum returns the LOCAddedSum field if it's non-nil, zero value otherwise. +func (c *CopilotUserPeriodicMetrics) GetLOCAddedSum() int { + if c == nil || c.LOCAddedSum == nil { + return 0 + } + return *c.LOCAddedSum +} + +// GetLOCDeletedSum returns the LOCDeletedSum field if it's non-nil, zero value otherwise. +func (c *CopilotUserPeriodicMetrics) GetLOCDeletedSum() int { + if c == nil || c.LOCDeletedSum == nil { + return 0 + } + return *c.LOCDeletedSum +} + +// GetLOCSuggestedToAddSum returns the LOCSuggestedToAddSum field if it's non-nil, zero value otherwise. +func (c *CopilotUserPeriodicMetrics) GetLOCSuggestedToAddSum() int { + if c == nil || c.LOCSuggestedToAddSum == nil { + return 0 + } + return *c.LOCSuggestedToAddSum +} + +// GetLOCSuggestedToDeleteSum returns the LOCSuggestedToDeleteSum field if it's non-nil, zero value otherwise. +func (c *CopilotUserPeriodicMetrics) GetLOCSuggestedToDeleteSum() int { + if c == nil || c.LOCSuggestedToDeleteSum == nil { + return 0 + } + return *c.LOCSuggestedToDeleteSum +} + +// GetOrganizationID returns the OrganizationID field if it's non-nil, zero value otherwise. +func (c *CopilotUserPeriodicMetrics) GetOrganizationID() string { + if c == nil || c.OrganizationID == nil { + return "" + } + return *c.OrganizationID +} + +// GetReportEndDay returns the ReportEndDay field. +func (c *CopilotUserPeriodicMetrics) GetReportEndDay() string { + if c == nil { + return "" + } + return c.ReportEndDay +} + +// GetReportStartDay returns the ReportStartDay field. +func (c *CopilotUserPeriodicMetrics) GetReportStartDay() string { + if c == nil { + return "" + } + return c.ReportStartDay +} + +// GetTotalsBy3rdPartyAgent returns the TotalsBy3rdPartyAgent slice if it's non-nil, nil otherwise. +func (c *CopilotUserPeriodicMetrics) GetTotalsBy3rdPartyAgent() []*CopilotMetricsThirdPartyAgent { + if c == nil || c.TotalsBy3rdPartyAgent == nil { + return nil + } + return c.TotalsBy3rdPartyAgent +} + +// GetTotalsByCLI returns the TotalsByCLI field. +func (c *CopilotUserPeriodicMetrics) GetTotalsByCLI() *CopilotMetricsCLI { + if c == nil { + return nil + } + return c.TotalsByCLI +} + +// GetTotalsByCopilotApp returns the TotalsByCopilotApp field. +func (c *CopilotUserPeriodicMetrics) GetTotalsByCopilotApp() *CopilotMetricsCopilotApp { + if c == nil { + return nil + } + return c.TotalsByCopilotApp +} + +// GetTotalsByFeature returns the TotalsByFeature slice if it's non-nil, nil otherwise. +func (c *CopilotUserPeriodicMetrics) GetTotalsByFeature() []*CopilotMetricsFeature { + if c == nil || c.TotalsByFeature == nil { + return nil + } + return c.TotalsByFeature +} + +// GetTotalsByIDE returns the TotalsByIDE slice if it's non-nil, nil otherwise. +func (c *CopilotUserPeriodicMetrics) GetTotalsByIDE() []*CopilotUserMetricsIDE { + if c == nil || c.TotalsByIDE == nil { + return nil + } + return c.TotalsByIDE +} + +// GetTotalsByLanguageFeature returns the TotalsByLanguageFeature slice if it's non-nil, nil otherwise. +func (c *CopilotUserPeriodicMetrics) GetTotalsByLanguageFeature() []*CopilotMetricsLanguageFeature { + if c == nil || c.TotalsByLanguageFeature == nil { + return nil + } + return c.TotalsByLanguageFeature +} + +// GetTotalsByLanguageModel returns the TotalsByLanguageModel slice if it's non-nil, nil otherwise. +func (c *CopilotUserPeriodicMetrics) GetTotalsByLanguageModel() []*CopilotMetricsLanguageModel { + if c == nil || c.TotalsByLanguageModel == nil { + return nil + } + return c.TotalsByLanguageModel +} + +// GetTotalsByModelFeature returns the TotalsByModelFeature slice if it's non-nil, nil otherwise. +func (c *CopilotUserPeriodicMetrics) GetTotalsByModelFeature() []*CopilotMetricsModelFeature { + if c == nil || c.TotalsByModelFeature == nil { + return nil + } + return c.TotalsByModelFeature +} + +// GetUsedAgent returns the UsedAgent field if it's non-nil, zero value otherwise. +func (c *CopilotUserPeriodicMetrics) GetUsedAgent() bool { + if c == nil || c.UsedAgent == nil { + return false + } + return *c.UsedAgent +} + +// GetUsedChat returns the UsedChat field if it's non-nil, zero value otherwise. +func (c *CopilotUserPeriodicMetrics) GetUsedChat() bool { + if c == nil || c.UsedChat == nil { + return false + } + return *c.UsedChat +} + +// GetUsedCLI returns the UsedCLI field if it's non-nil, zero value otherwise. +func (c *CopilotUserPeriodicMetrics) GetUsedCLI() bool { + if c == nil || c.UsedCLI == nil { + return false + } + return *c.UsedCLI +} + +// GetUsedCopilotApp returns the UsedCopilotApp field if it's non-nil, zero value otherwise. +func (c *CopilotUserPeriodicMetrics) GetUsedCopilotApp() bool { + if c == nil || c.UsedCopilotApp == nil { + return false + } + return *c.UsedCopilotApp +} + +// GetUsedCopilotCloudAgent returns the UsedCopilotCloudAgent field if it's non-nil, zero value otherwise. +func (c *CopilotUserPeriodicMetrics) GetUsedCopilotCloudAgent() bool { + if c == nil || c.UsedCopilotCloudAgent == nil { + return false + } + return *c.UsedCopilotCloudAgent +} + +// GetUsedCopilotCodeReviewActive returns the UsedCopilotCodeReviewActive field if it's non-nil, zero value otherwise. +func (c *CopilotUserPeriodicMetrics) GetUsedCopilotCodeReviewActive() bool { + if c == nil || c.UsedCopilotCodeReviewActive == nil { + return false + } + return *c.UsedCopilotCodeReviewActive +} + +// GetUsedCopilotCodeReviewPassive returns the UsedCopilotCodeReviewPassive field if it's non-nil, zero value otherwise. +func (c *CopilotUserPeriodicMetrics) GetUsedCopilotCodeReviewPassive() bool { + if c == nil || c.UsedCopilotCodeReviewPassive == nil { + return false + } + return *c.UsedCopilotCodeReviewPassive +} + +// GetUsedCopilotCodingAgent returns the UsedCopilotCodingAgent field if it's non-nil, zero value otherwise. +func (c *CopilotUserPeriodicMetrics) GetUsedCopilotCodingAgent() bool { + if c == nil || c.UsedCopilotCodingAgent == nil { + return false + } + return *c.UsedCopilotCodingAgent +} + +// GetUserID returns the UserID field. +func (c *CopilotUserPeriodicMetrics) GetUserID() int { + if c == nil { + return 0 + } + return c.UserID +} + +// GetUserInitiatedInteractionCount returns the UserInitiatedInteractionCount field if it's non-nil, zero value otherwise. +func (c *CopilotUserPeriodicMetrics) GetUserInitiatedInteractionCount() int { + if c == nil || c.UserInitiatedInteractionCount == nil { + return 0 + } + return *c.UserInitiatedInteractionCount +} + +// GetUserLogin returns the UserLogin field. +func (c *CopilotUserPeriodicMetrics) GetUserLogin() string { + if c == nil { + return "" + } + return c.UserLogin +} + +// GetAzureSubscription returns the AzureSubscription field if it's non-nil, zero value otherwise. +func (c *CostCenter) GetAzureSubscription() string { + if c == nil || c.AzureSubscription == nil { + return "" + } + 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 { + return "" + } + 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 +} + +// GetBaseRef returns the BaseRef field if it's non-nil, zero value otherwise. +func (c *CreateAgentTaskRequest) GetBaseRef() string { + if c == nil || c.BaseRef == nil { + return "" + } + return *c.BaseRef +} + +// GetCreatePullRequest returns the CreatePullRequest field if it's non-nil, zero value otherwise. +func (c *CreateAgentTaskRequest) GetCreatePullRequest() bool { + if c == nil || c.CreatePullRequest == nil { + return false + } + return *c.CreatePullRequest +} + +// GetHeadRef returns the HeadRef field if it's non-nil, zero value otherwise. +func (c *CreateAgentTaskRequest) GetHeadRef() string { + if c == nil || c.HeadRef == nil { + return "" + } + return *c.HeadRef +} + +// GetModel returns the Model field if it's non-nil, zero value otherwise. +func (c *CreateAgentTaskRequest) GetModel() string { + if c == nil || c.Model == nil { + return "" + } + return *c.Model +} + +// GetPrompt returns the Prompt field. +func (c *CreateAgentTaskRequest) GetPrompt() string { + if c == nil { + return "" + } + return c.Prompt +} + +// GetCluster returns the Cluster field if it's non-nil, zero value otherwise. +func (c *CreateArtifactDeploymentRequest) GetCluster() string { + if c == nil || c.Cluster == nil { + return "" + } + 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 { + return "" + } + 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 { + return "" + } + 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 { + return map[string]string{} + } + return c.Tags +} + +// GetVersion returns the Version field if it's non-nil, zero value otherwise. +func (c *CreateArtifactDeploymentRequest) GetVersion() string { + if c == nil || c.Version == nil { + return "" + } + return *c.Version +} + +// GetArtifactURL returns the ArtifactURL field if it's non-nil, zero value otherwise. +func (c *CreateArtifactStorageRequest) GetArtifactURL() string { + if c == nil || c.ArtifactURL == nil { + return "" + } + 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 { + return "" + } + 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 { + return "" + } + 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 { + return "" + } + return *c.Repository +} + +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (c *CreateArtifactStorageRequest) GetStatus() string { + if c == nil || c.Status == nil { + return "" + } + return *c.Status +} + +// GetVersion returns the Version field if it's non-nil, zero value otherwise. +func (c *CreateArtifactStorageRequest) GetVersion() string { + if c == nil || c.Version == nil { + return "" + } + return *c.Version +} + +// GetIsAlphanumeric returns the IsAlphanumeric field if it's non-nil, zero value otherwise. +func (c *CreateAutolinkRequest) GetIsAlphanumeric() bool { + if c == nil || c.IsAlphanumeric == nil { + return false + } + return *c.IsAlphanumeric +} + +// GetKeyPrefix returns the KeyPrefix field. +func (c *CreateAutolinkRequest) GetKeyPrefix() string { + if c == nil { + return "" + } + return c.KeyPrefix +} + +// GetURLTemplate returns the URLTemplate field. +func (c *CreateAutolinkRequest) GetURLTemplate() string { + if c == nil { + return "" + } + return c.URLTemplate +} + +// 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 { + return Timestamp{} + } + return *c.CompletedAt +} + +// GetConclusion returns the Conclusion field if it's non-nil, zero value otherwise. +func (c *CreateCheckRunOptions) GetConclusion() string { + if c == nil || c.Conclusion == nil { + return "" + } + return *c.Conclusion +} + +// GetDetailsURL returns the DetailsURL field if it's non-nil, zero value otherwise. +func (c *CreateCheckRunOptions) GetDetailsURL() string { + if c == nil || c.DetailsURL == nil { + return "" + } + return *c.DetailsURL +} + +// GetExternalID returns the ExternalID field if it's non-nil, zero value otherwise. +func (c *CreateCheckRunOptions) GetExternalID() string { + if c == nil || c.ExternalID == nil { + return "" + } + 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 { + return nil + } + return c.Output +} + +// GetStartedAt returns the StartedAt field if it's non-nil, zero value otherwise. +func (c *CreateCheckRunOptions) GetStartedAt() Timestamp { + if c == nil || c.StartedAt == nil { + return Timestamp{} + } + return *c.StartedAt +} + +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (c *CreateCheckRunOptions) GetStatus() string { + if c == nil || c.Status == nil { + return "" + } + return *c.Status +} + +// GetHeadBranch returns the HeadBranch field if it's non-nil, zero value otherwise. +func (c *CreateCheckSuiteOptions) GetHeadBranch() string { + if c == nil || c.HeadBranch == nil { + return "" + } + 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 { + return "" + } + return *c.ClientIP +} + +// GetDevcontainerPath returns the DevcontainerPath field if it's non-nil, zero value otherwise. +func (c *CreateCodespaceOptions) GetDevcontainerPath() string { + if c == nil || c.DevcontainerPath == nil { + return "" + } + return *c.DevcontainerPath +} + +// GetDisplayName returns the DisplayName field if it's non-nil, zero value otherwise. +func (c *CreateCodespaceOptions) GetDisplayName() string { + if c == nil || c.DisplayName == nil { + return "" + } + return *c.DisplayName +} + +// GetGeo returns the Geo field if it's non-nil, zero value otherwise. +func (c *CreateCodespaceOptions) GetGeo() string { + if c == nil || c.Geo == nil { + return "" + } + return *c.Geo +} + +// GetIdleTimeoutMinutes returns the IdleTimeoutMinutes field if it's non-nil, zero value otherwise. +func (c *CreateCodespaceOptions) GetIdleTimeoutMinutes() int { + if c == nil || c.IdleTimeoutMinutes == nil { + return 0 + } + return *c.IdleTimeoutMinutes +} + +// GetLocation returns the Location field if it's non-nil, zero value otherwise. +func (c *CreateCodespaceOptions) GetLocation() string { + if c == nil || c.Location == nil { + return "" + } + return *c.Location +} + +// GetMachine returns the Machine field if it's non-nil, zero value otherwise. +func (c *CreateCodespaceOptions) GetMachine() string { + if c == nil || c.Machine == nil { + return "" + } + return *c.Machine +} + +// GetMultiRepoPermissionsOptOut returns the MultiRepoPermissionsOptOut field if it's non-nil, zero value otherwise. +func (c *CreateCodespaceOptions) GetMultiRepoPermissionsOptOut() bool { + if c == nil || c.MultiRepoPermissionsOptOut == nil { + return false + } + return *c.MultiRepoPermissionsOptOut +} + +// GetRef returns the Ref field if it's non-nil, zero value otherwise. +func (c *CreateCodespaceOptions) GetRef() string { + if c == nil || c.Ref == nil { + return "" + } + return *c.Ref +} + +// GetRetentionPeriodMinutes returns the RetentionPeriodMinutes field if it's non-nil, zero value otherwise. +func (c *CreateCodespaceOptions) GetRetentionPeriodMinutes() int { + if c == nil || c.RetentionPeriodMinutes == nil { + return 0 + } + return *c.RetentionPeriodMinutes +} + +// GetWorkingDirectory returns the WorkingDirectory field if it's non-nil, zero value otherwise. +func (c *CreateCodespaceOptions) GetWorkingDirectory() string { + if c == nil || c.WorkingDirectory == nil { + return "" + } + return *c.WorkingDirectory +} + +// GetBody returns the Body field. +func (c *CreateCommitCommentRequest) GetBody() string { + if c == nil { + return "" + } + return c.Body +} + +// GetLine returns the Line field if it's non-nil, zero value otherwise. +func (c *CreateCommitCommentRequest) GetLine() int { + if c == nil || c.Line == nil { + return 0 + } + return *c.Line +} + +// GetPath returns the Path field if it's non-nil, zero value otherwise. +func (c *CreateCommitCommentRequest) GetPath() string { + if c == nil || c.Path == nil { + return "" + } + return *c.Path +} + +// GetPosition returns the Position field if it's non-nil, zero value otherwise. +func (c *CreateCommitCommentRequest) GetPosition() int { + if c == nil || c.Position == nil { + return 0 + } + return *c.Position +} + +// 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 { + return "" + } + return *c.BaseRole +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (c *CreateCustomOrgRoleRequest) GetDescription() string { + if c == nil || c.Description == nil { + return "" + } + 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 +} + +// GetBaseRole returns the BaseRole field. +func (c *CreateCustomRepoRoleRequest) GetBaseRole() string { + if c == nil { + return "" + } + return c.BaseRole +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (c *CreateCustomRepoRoleRequest) GetDescription() string { + if c == nil || c.Description == nil { + return "" + } + return *c.Description +} + +// GetName returns the Name field. +func (c *CreateCustomRepoRoleRequest) GetName() string { + if c == nil { + return "" + } + return c.Name +} + +// GetPermissions returns the Permissions slice if it's non-nil, nil otherwise. +func (c *CreateCustomRepoRoleRequest) GetPermissions() []string { + if c == nil || c.Permissions == nil { + return nil + } + return c.Permissions +} + +// GetKey returns the Key field. +func (c *CreateDeployKeyRequest) GetKey() string { + if c == nil { + return "" + } + return c.Key +} + +// GetReadOnly returns the ReadOnly field if it's non-nil, zero value otherwise. +func (c *CreateDeployKeyRequest) GetReadOnly() bool { + if c == nil || c.ReadOnly == nil { + return false + } + return *c.ReadOnly +} + +// GetTitle returns the Title field if it's non-nil, zero value otherwise. +func (c *CreateDeployKeyRequest) GetTitle() string { + if c == nil || c.Title == nil { + return "" + } + return *c.Title +} + +// GetName returns the Name field. +func (c *CreateDeploymentBranchPolicyRequest) GetName() string { + if c == nil { + return "" + } + return c.Name +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (c *CreateDeploymentBranchPolicyRequest) GetType() string { + if c == nil || c.Type == nil { + return "" + } + return *c.Type +} + +// GetAllowsPublicRepositories returns the AllowsPublicRepositories field if it's non-nil, zero value otherwise. +func (c *CreateEnterpriseRunnerGroupRequest) GetAllowsPublicRepositories() bool { + if c == nil || c.AllowsPublicRepositories == nil { + return false + } + return *c.AllowsPublicRepositories +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (c *CreateEnterpriseRunnerGroupRequest) GetName() string { + if c == nil || c.Name == nil { + return "" + } + return *c.Name +} + +// GetNetworkConfigurationID returns the NetworkConfigurationID field if it's non-nil, zero value otherwise. +func (c *CreateEnterpriseRunnerGroupRequest) GetNetworkConfigurationID() string { + if c == nil || c.NetworkConfigurationID == nil { + return "" + } + return *c.NetworkConfigurationID +} + +// GetRestrictedToWorkflows returns the RestrictedToWorkflows field if it's non-nil, zero value otherwise. +func (c *CreateEnterpriseRunnerGroupRequest) GetRestrictedToWorkflows() bool { + if c == nil || c.RestrictedToWorkflows == nil { + return false + } + 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 { + return "" + } + return *c.Visibility +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (c *CreateEvent) GetDescription() string { + if c == nil || c.Description == nil { + return "" + } + return *c.Description +} + +// GetInstallation returns the Installation field. +func (c *CreateEvent) GetInstallation() *Installation { + if c == nil { + return nil + } + return c.Installation +} + +// GetMasterBranch returns the MasterBranch field if it's non-nil, zero value otherwise. +func (c *CreateEvent) GetMasterBranch() string { + if c == nil || c.MasterBranch == nil { + return "" + } + return *c.MasterBranch +} + +// GetOrg returns the Org field. +func (c *CreateEvent) GetOrg() *Organization { + if c == nil { + return nil + } + return c.Org +} + +// GetPusherType returns the PusherType field if it's non-nil, zero value otherwise. +func (c *CreateEvent) GetPusherType() string { + if c == nil || c.PusherType == nil { + return "" + } + return *c.PusherType +} + +// GetRef returns the Ref field if it's non-nil, zero value otherwise. +func (c *CreateEvent) GetRef() string { + if c == nil || c.Ref == nil { + return "" + } + return *c.Ref +} + +// GetRefType returns the RefType field if it's non-nil, zero value otherwise. +func (c *CreateEvent) GetRefType() string { + if c == nil || c.RefType == nil { + return "" + } + return *c.RefType +} + +// GetRepo returns the Repo field. +func (c *CreateEvent) GetRepo() *Repository { + if c == nil { + return nil + } + return c.Repo +} + +// GetSender returns the Sender field. +func (c *CreateEvent) GetSender() *User { + if c == nil { + return nil + } + return c.Sender +} + +// GetBody returns the Body field. +func (c *CreateGistCommentRequest) GetBody() string { + if c == nil { + return "" + } + return c.Body +} + +// GetContent returns the Content field. +func (c *CreateGistFile) GetContent() string { + if c == nil { + return "" + } + return c.Content +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (c *CreateGistRequest) GetDescription() string { + if c == nil || c.Description == nil { + return "" + } + return *c.Description +} + +// GetPublic returns the Public field if it's non-nil, zero value otherwise. +func (c *CreateGistRequest) GetPublic() bool { + if c == nil || c.Public == nil { + return false + } + return *c.Public +} + +// GetEnableStaticIP returns the EnableStaticIP field if it's non-nil, zero value otherwise. +func (c *CreateHostedRunnerRequest) GetEnableStaticIP() bool { + if c == nil || c.EnableStaticIP == nil { + return false + } + 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 { + return false + } + return *c.ImageGen +} + +// GetMaximumRunners returns the MaximumRunners field if it's non-nil, zero value otherwise. +func (c *CreateHostedRunnerRequest) GetMaximumRunners() int64 { + if c == nil || c.MaximumRunners == nil { + return 0 + } + 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 +} + +// GetColor returns the Color field if it's non-nil, zero value otherwise. +func (c *CreateIssueLabelRequest) GetColor() string { + if c == nil || c.Color == nil { + return "" + } + return *c.Color +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (c *CreateIssueLabelRequest) GetDescription() string { + if c == nil || c.Description == nil { + return "" + } + return *c.Description +} + +// GetName returns the Name field. +func (c *CreateIssueLabelRequest) GetName() string { + if c == nil { + return "" + } + return c.Name +} + +// GetAssignee returns the Assignee field if it's non-nil, zero value otherwise. +func (c *CreateIssueRequest) GetAssignee() string { + if c == nil || c.Assignee == nil { + return "" + } + return *c.Assignee +} + +// GetAssignees returns the Assignees slice if it's non-nil, nil otherwise. +func (c *CreateIssueRequest) GetAssignees() []string { + if c == nil || c.Assignees == nil { + return nil + } + return c.Assignees +} + +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (c *CreateIssueRequest) GetBody() string { + if c == nil || c.Body == nil { + return "" + } + return *c.Body +} + +// GetIssueFieldValues returns the IssueFieldValues slice if it's non-nil, nil otherwise. +func (c *CreateIssueRequest) GetIssueFieldValues() []*IssueRequestFieldValue { + if c == nil || c.IssueFieldValues == nil { + return nil + } + return c.IssueFieldValues +} + +// GetLabels returns the Labels slice if it's non-nil, nil otherwise. +func (c *CreateIssueRequest) GetLabels() []string { + if c == nil || c.Labels == nil { + return nil + } + return c.Labels +} + +// GetMilestone returns the Milestone field if it's non-nil, zero value otherwise. +func (c *CreateIssueRequest) GetMilestone() int { + if c == nil || c.Milestone == nil { + return 0 + } + return *c.Milestone +} + +// GetTitle returns the Title field. +func (c *CreateIssueRequest) GetTitle() string { + if c == nil { + return "" + } + return c.Title +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (c *CreateIssueRequest) GetType() string { + if c == nil || c.Type == nil { + return "" + } + return *c.Type +} + +// GetLabels returns the Labels slice if it's non-nil, nil otherwise. +func (c *CreateJITConfigRequest) GetLabels() []string { + if c == nil || c.Labels == nil { + return nil + } + return c.Labels +} + +// GetName returns the Name field. +func (c *CreateJITConfigRequest) GetName() string { + if c == nil { + return "" + } + return c.Name +} + +// GetRunnerGroupID returns the RunnerGroupID field. +func (c *CreateJITConfigRequest) GetRunnerGroupID() int64 { + if c == nil { + return 0 + } + return c.RunnerGroupID +} + +// GetWorkFolder returns the WorkFolder field if it's non-nil, zero value otherwise. +func (c *CreateJITConfigRequest) GetWorkFolder() string { + if c == nil || c.WorkFolder == nil { + return "" + } + return *c.WorkFolder +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (c *CreateMilestoneRequest) GetDescription() string { + if c == nil || c.Description == nil { + return "" + } + return *c.Description +} + +// GetDueOn returns the DueOn field if it's non-nil, zero value otherwise. +func (c *CreateMilestoneRequest) GetDueOn() Timestamp { + if c == nil || c.DueOn == nil { + return Timestamp{} + } + return *c.DueOn +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (c *CreateMilestoneRequest) GetState() string { + if c == nil || c.State == nil { + return "" + } + return *c.State +} + +// GetTitle returns the Title field. +func (c *CreateMilestoneRequest) GetTitle() string { + if c == nil { + return "" + } + return c.Title +} + +// GetAccountID returns the AccountID field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetAccountID() string { + if c == nil || c.AccountID == nil { + return "" + } + return *c.AccountID +} + +// GetAudience returns the Audience field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetAudience() string { + if c == nil || c.Audience == nil { + return "" + } + return *c.Audience +} + +// GetAuthType returns the AuthType field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetAuthType() string { + if c == nil || c.AuthType == nil { + return "" + } + return *c.AuthType +} + +// GetAWSRegion returns the AWSRegion field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetAWSRegion() string { + if c == nil || c.AWSRegion == nil { + return "" + } + return *c.AWSRegion +} + +// GetClientID returns the ClientID field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetClientID() string { + if c == nil || c.ClientID == nil { + return "" + } + return *c.ClientID +} + +// GetDomain returns the Domain field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetDomain() string { + if c == nil || c.Domain == nil { + return "" + } + return *c.Domain +} + +// GetDomainOwner returns the DomainOwner field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetDomainOwner() string { + if c == nil || c.DomainOwner == nil { + return "" + } + return *c.DomainOwner +} + +// GetEncryptedValue returns the EncryptedValue field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetEncryptedValue() string { + if c == nil || c.EncryptedValue == nil { + return "" + } + return *c.EncryptedValue +} + +// GetIdentityMappingName returns the IdentityMappingName field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetIdentityMappingName() string { + if c == nil || c.IdentityMappingName == nil { + return "" + } + return *c.IdentityMappingName +} + +// GetJFrogOIDCProviderName returns the JFrogOIDCProviderName field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetJFrogOIDCProviderName() string { + if c == nil || c.JFrogOIDCProviderName == nil { + return "" + } + return *c.JFrogOIDCProviderName +} + +// GetKeyID returns the KeyID field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetKeyID() string { + if c == nil || c.KeyID == nil { + return "" + } + return *c.KeyID +} + +// GetRegistryType returns the RegistryType field. +func (c *CreateOrganizationPrivateRegistry) GetRegistryType() PrivateRegistryType { + if c == nil { + return "" + } + return c.RegistryType +} + +// GetReplacesBase returns the ReplacesBase field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetReplacesBase() bool { + if c == nil || c.ReplacesBase == nil { + return false + } + return *c.ReplacesBase +} + +// GetRoleName returns the RoleName field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetRoleName() string { + if c == nil || c.RoleName == nil { + return "" + } + return *c.RoleName +} + +// 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 +} + +// GetTenantID returns the TenantID field if it's non-nil, zero value otherwise. +func (c *CreateOrganizationPrivateRegistry) GetTenantID() string { + if c == nil || c.TenantID == nil { + return "" + } + return *c.TenantID +} + +// 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 { + return "" + } + 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 { + return "" + } + return *c.Email +} + +// GetInviteeID returns the InviteeID field if it's non-nil, zero value otherwise. +func (c *CreateOrgInvitationOptions) GetInviteeID() int64 { + if c == nil || c.InviteeID == nil { + return 0 + } + return *c.InviteeID +} + +// GetRole returns the Role field if it's non-nil, zero value otherwise. +func (c *CreateOrgInvitationOptions) GetRole() string { + if c == nil || c.Role == nil { + return "" + } + 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 +} + +// GetColor returns the Color field if it's non-nil, zero value otherwise. +func (c *CreateOrUpdateIssueTypesOptions) GetColor() string { + if c == nil || c.Color == nil { + return "" + } + return *c.Color +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (c *CreateOrUpdateIssueTypesOptions) GetDescription() string { + if c == nil || c.Description == nil { + return "" + } + 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 { + return false + } + return *c.IsPrivate +} + +// GetName returns the Name field. +func (c *CreateOrUpdateIssueTypesOptions) GetName() string { + if c == nil { + return "" + } + return c.Name +} + +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (c *CreateProjectV2DraftItemRequest) GetBody() string { + if c == nil || c.Body == nil { + return "" + } + return *c.Body +} + +// GetTitle returns the Title field. +func (c *CreateProjectV2DraftItemRequest) GetTitle() string { + if c == nil { + return "" + } + return c.Title +} + +// GetFilter returns the Filter field if it's non-nil, zero value otherwise. +func (c *CreateProjectV2ViewRequest) GetFilter() string { + if c == nil || c.Filter == nil { + return "" + } + return *c.Filter +} + +// GetLayout returns the Layout field. +func (c *CreateProjectV2ViewRequest) GetLayout() string { + if c == nil { + return "" + } + return c.Layout +} + +// GetName returns the Name field. +func (c *CreateProjectV2ViewRequest) GetName() string { + if c == nil { + return "" + } + return c.Name +} + +// GetVisibleFields returns the VisibleFields slice if it's non-nil, nil otherwise. +func (c *CreateProjectV2ViewRequest) GetVisibleFields() []int64 { + if c == nil || c.VisibleFields == nil { + return nil + } + return c.VisibleFields +} + +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (c *CreateProtectedChanges) GetFrom() bool { + if c == nil || c.From == nil { + return false + } + return *c.From +} + +// GetBase returns the Base field. +func (c *CreatePullRequest) GetBase() string { + if c == nil { + return "" + } + return c.Base +} + +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (c *CreatePullRequest) GetBody() string { + if c == nil || c.Body == nil { + return "" + } + return *c.Body +} + +// GetDraft returns the Draft field if it's non-nil, zero value otherwise. +func (c *CreatePullRequest) GetDraft() bool { + if c == nil || c.Draft == nil { + return false + } + return *c.Draft +} + +// GetHead returns the Head field. +func (c *CreatePullRequest) GetHead() string { + if c == nil { + return "" + } + return c.Head +} + +// GetHeadRepo returns the HeadRepo field if it's non-nil, zero value otherwise. +func (c *CreatePullRequest) GetHeadRepo() string { + if c == nil || c.HeadRepo == nil { + return "" + } + return *c.HeadRepo +} + +// GetIssue returns the Issue field if it's non-nil, zero value otherwise. +func (c *CreatePullRequest) GetIssue() int { + if c == nil || c.Issue == nil { + return 0 + } + return *c.Issue +} + +// GetMaintainerCanModify returns the MaintainerCanModify field if it's non-nil, zero value otherwise. +func (c *CreatePullRequest) GetMaintainerCanModify() bool { + if c == nil || c.MaintainerCanModify == nil { + return false + } + return *c.MaintainerCanModify +} + +// GetTitle returns the Title field if it's non-nil, zero value otherwise. +func (c *CreatePullRequest) GetTitle() string { + if c == nil || c.Title == nil { + return "" + } + return *c.Title +} + +// GetBody returns the Body field. +func (c *CreatePullRequestCommentRequest) GetBody() string { + if c == nil { + return "" + } + return c.Body +} + +// GetCommitID returns the CommitID field. +func (c *CreatePullRequestCommentRequest) GetCommitID() string { + if c == nil { + return "" + } + return c.CommitID +} + +// GetInReplyTo returns the InReplyTo field if it's non-nil, zero value otherwise. +func (c *CreatePullRequestCommentRequest) GetInReplyTo() int64 { + if c == nil || c.InReplyTo == nil { + return 0 + } + return *c.InReplyTo +} + +// GetLine returns the Line field if it's non-nil, zero value otherwise. +func (c *CreatePullRequestCommentRequest) GetLine() int { + if c == nil || c.Line == nil { + return 0 + } + return *c.Line +} + +// GetPath returns the Path field. +func (c *CreatePullRequestCommentRequest) GetPath() string { + if c == nil { + return "" + } + return c.Path +} + +// GetPosition returns the Position field if it's non-nil, zero value otherwise. +func (c *CreatePullRequestCommentRequest) GetPosition() int { + if c == nil || c.Position == nil { + return 0 + } + return *c.Position +} + +// GetSide returns the Side field if it's non-nil, zero value otherwise. +func (c *CreatePullRequestCommentRequest) GetSide() string { + if c == nil || c.Side == nil { + return "" + } + return *c.Side +} + +// GetStartLine returns the StartLine field if it's non-nil, zero value otherwise. +func (c *CreatePullRequestCommentRequest) GetStartLine() int { + if c == nil || c.StartLine == nil { + return 0 + } + return *c.StartLine +} + +// GetStartSide returns the StartSide field if it's non-nil, zero value otherwise. +func (c *CreatePullRequestCommentRequest) GetStartSide() string { + if c == nil || c.StartSide == nil { + return "" + } + return *c.StartSide +} + +// GetSubjectType returns the SubjectType field if it's non-nil, zero value otherwise. +func (c *CreatePullRequestCommentRequest) GetSubjectType() string { + if c == nil || c.SubjectType == nil { + return "" + } + return *c.SubjectType +} + +// 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 +} + +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (c *CreateReleaseRequest) GetBody() string { + if c == nil || c.Body == nil { + return "" + } + return *c.Body +} + +// GetDiscussionCategoryName returns the DiscussionCategoryName field if it's non-nil, zero value otherwise. +func (c *CreateReleaseRequest) GetDiscussionCategoryName() string { + if c == nil || c.DiscussionCategoryName == nil { + return "" + } + return *c.DiscussionCategoryName +} + +// GetDraft returns the Draft field if it's non-nil, zero value otherwise. +func (c *CreateReleaseRequest) GetDraft() bool { + if c == nil || c.Draft == nil { + return false + } + return *c.Draft +} + +// GetGenerateReleaseNotes returns the GenerateReleaseNotes field if it's non-nil, zero value otherwise. +func (c *CreateReleaseRequest) GetGenerateReleaseNotes() bool { + if c == nil || c.GenerateReleaseNotes == nil { + return false + } + return *c.GenerateReleaseNotes +} + +// GetMakeLatest returns the MakeLatest field if it's non-nil, zero value otherwise. +func (c *CreateReleaseRequest) GetMakeLatest() string { + if c == nil || c.MakeLatest == nil { + return "" + } + return *c.MakeLatest +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (c *CreateReleaseRequest) GetName() string { + if c == nil || c.Name == nil { + return "" + } + return *c.Name +} + +// GetPrerelease returns the Prerelease field if it's non-nil, zero value otherwise. +func (c *CreateReleaseRequest) GetPrerelease() bool { + if c == nil || c.Prerelease == nil { + return false + } + return *c.Prerelease +} + +// GetTagName returns the TagName field. +func (c *CreateReleaseRequest) GetTagName() string { + if c == nil { + return "" + } + return c.TagName +} + +// GetTargetCommitish returns the TargetCommitish field if it's non-nil, zero value otherwise. +func (c *CreateReleaseRequest) GetTargetCommitish() string { + if c == nil || c.TargetCommitish == nil { + return "" + } + return *c.TargetCommitish +} + +// GetAllowsPublicRepositories returns the AllowsPublicRepositories field if it's non-nil, zero value otherwise. +func (c *CreateRunnerGroupRequest) GetAllowsPublicRepositories() bool { + if c == nil || c.AllowsPublicRepositories == nil { + return false + } + return *c.AllowsPublicRepositories +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (c *CreateRunnerGroupRequest) GetName() string { + if c == nil || c.Name == nil { + return "" + } + return *c.Name +} + +// GetNetworkConfigurationID returns the NetworkConfigurationID field if it's non-nil, zero value otherwise. +func (c *CreateRunnerGroupRequest) GetNetworkConfigurationID() string { + if c == nil || c.NetworkConfigurationID == nil { + return "" + } + return *c.NetworkConfigurationID +} + +// GetRestrictedToWorkflows returns the RestrictedToWorkflows field if it's non-nil, zero value otherwise. +func (c *CreateRunnerGroupRequest) GetRestrictedToWorkflows() bool { + if c == nil || c.RestrictedToWorkflows == nil { + return false + } + return *c.RestrictedToWorkflows +} + +// 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 { + return "" + } + return *c.Visibility +} + +// GetKey returns the Key field. +func (c *CreateSSHSigningKeyRequest) GetKey() string { + if c == nil { + return "" + } + return c.Key +} + +// GetTitle returns the Title field if it's non-nil, zero value otherwise. +func (c *CreateSSHSigningKeyRequest) GetTitle() string { + if c == nil || c.Title == nil { + return "" + } + return *c.Title +} + +// 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 { + return nil + } + return c.Tagger +} + +// GetType returns the Type field. +func (c *CreateTag) GetType() string { + if c == nil { + return "" + } + return c.Type +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (c *CreateTeamRequest) GetDescription() string { + if c == nil || c.Description == nil { + return "" + } + return *c.Description +} + +// GetMaintainers returns the Maintainers slice if it's non-nil, nil otherwise. +func (c *CreateTeamRequest) GetMaintainers() []string { + if c == nil || c.Maintainers == nil { + return nil + } + return c.Maintainers +} + +// GetName returns the Name field. +func (c *CreateTeamRequest) GetName() string { + if c == nil { + return "" + } + return c.Name +} + +// GetNotificationSetting returns the NotificationSetting field if it's non-nil, zero value otherwise. +func (c *CreateTeamRequest) GetNotificationSetting() string { + if c == nil || c.NotificationSetting == nil { + return "" + } + return *c.NotificationSetting +} + +// GetParentTeamID returns the ParentTeamID field if it's non-nil, zero value otherwise. +func (c *CreateTeamRequest) GetParentTeamID() int64 { + if c == nil || c.ParentTeamID == nil { + return 0 + } + return *c.ParentTeamID +} + +// GetParentTeamSlug returns the ParentTeamSlug field if it's non-nil, zero value otherwise. +func (c *CreateTeamRequest) GetParentTeamSlug() string { + if c == nil || c.ParentTeamSlug == nil { + return "" + } + return *c.ParentTeamSlug +} + +// GetPermission returns the Permission field if it's non-nil, zero value otherwise. +func (c *CreateTeamRequest) GetPermission() string { + if c == nil || c.Permission == nil { + return "" + } + return *c.Permission +} + +// GetPrivacy returns the Privacy field if it's non-nil, zero value otherwise. +func (c *CreateTeamRequest) GetPrivacy() string { + if c == nil || c.Privacy == nil { + return "" + } + return *c.Privacy +} + +// GetRepoNames returns the RepoNames slice if it's non-nil, nil otherwise. +func (c *CreateTeamRequest) GetRepoNames() []string { + if c == nil || c.RepoNames == nil { + return nil + } + return c.RepoNames +} + +// GetCanAdminsBypass returns the CanAdminsBypass field if it's non-nil, zero value otherwise. +func (c *CreateUpdateEnvironment) GetCanAdminsBypass() bool { + if c == nil || c.CanAdminsBypass == nil { + return false + } + return *c.CanAdminsBypass +} + +// GetDeploymentBranchPolicy returns the DeploymentBranchPolicy field. +func (c *CreateUpdateEnvironment) GetDeploymentBranchPolicy() *BranchPolicy { + if c == nil { + return nil + } + return c.DeploymentBranchPolicy +} + +// GetPreventSelfReview returns the PreventSelfReview field if it's non-nil, zero value otherwise. +func (c *CreateUpdateEnvironment) GetPreventSelfReview() bool { + if c == nil || c.PreventSelfReview == nil { + return false + } + 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 { + return 0 + } + return *c.WaitTimer +} + +// GetScopes returns the Scopes slice if it's non-nil, nil otherwise. +func (c *CreateUserImpersonationRequest) GetScopes() []string { + if c == nil || c.Scopes == nil { + return nil + } + return c.Scopes +} + +// GetKey returns the Key field. +func (c *CreateUserKeyRequest) GetKey() string { + if c == nil { + return "" + } + return c.Key +} + +// GetTitle returns the Title field if it's non-nil, zero value otherwise. +func (c *CreateUserKeyRequest) GetTitle() string { + if c == nil || c.Title == nil { + return "" + } + return *c.Title +} + +// GetEmail returns the Email field if it's non-nil, zero value otherwise. +func (c *CreateUserRequest) GetEmail() string { + if c == nil || c.Email == nil { + return "" + } + 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 { + return false + } + return *c.Suspended +} + +// GetInputs returns the Inputs map if it's non-nil, an empty map otherwise. +func (c *CreateWorkflowDispatchEventRequest) GetInputs() map[string]any { + if c == nil || c.Inputs == nil { + return 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 { + return false + } + return *c.ReturnRunDetails +} + +// GetCreated returns the Created field if it's non-nil, zero value otherwise. +func (c *CreationInfo) GetCreated() Timestamp { + if c == nil || c.Created == nil { + return 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 { + return Timestamp{} + } + return *c.AuthorizedCredentialExpiresAt +} + +// GetAuthorizedCredentialID returns the AuthorizedCredentialID field if it's non-nil, zero value otherwise. +func (c *CredentialAuthorization) GetAuthorizedCredentialID() int64 { + if c == nil || c.AuthorizedCredentialID == nil { + return 0 + } + return *c.AuthorizedCredentialID +} + +// GetAuthorizedCredentialNote returns the AuthorizedCredentialNote field if it's non-nil, zero value otherwise. +func (c *CredentialAuthorization) GetAuthorizedCredentialNote() string { + if c == nil || c.AuthorizedCredentialNote == nil { + return "" + } + return *c.AuthorizedCredentialNote +} + +// GetAuthorizedCredentialTitle returns the AuthorizedCredentialTitle field if it's non-nil, zero value otherwise. +func (c *CredentialAuthorization) GetAuthorizedCredentialTitle() string { + if c == nil || c.AuthorizedCredentialTitle == nil { + return "" + } + return *c.AuthorizedCredentialTitle +} + +// GetCredentialAccessedAt returns the CredentialAccessedAt field if it's non-nil, zero value otherwise. +func (c *CredentialAuthorization) GetCredentialAccessedAt() Timestamp { + if c == nil || c.CredentialAccessedAt == nil { + return Timestamp{} + } + return *c.CredentialAccessedAt +} + +// GetCredentialAuthorizedAt returns the CredentialAuthorizedAt field if it's non-nil, zero value otherwise. +func (c *CredentialAuthorization) GetCredentialAuthorizedAt() Timestamp { + if c == nil || c.CredentialAuthorizedAt == nil { + return Timestamp{} + } + return *c.CredentialAuthorizedAt +} + +// GetCredentialID returns the CredentialID field if it's non-nil, zero value otherwise. +func (c *CredentialAuthorization) GetCredentialID() int64 { + if c == nil || c.CredentialID == nil { + return 0 + } + return *c.CredentialID +} + +// GetCredentialType returns the CredentialType field if it's non-nil, zero value otherwise. +func (c *CredentialAuthorization) GetCredentialType() string { + if c == nil || c.CredentialType == nil { + return "" + } + return *c.CredentialType +} + +// GetFingerprint returns the Fingerprint field if it's non-nil, zero value otherwise. +func (c *CredentialAuthorization) GetFingerprint() string { + if c == nil || c.Fingerprint == nil { + return "" + } + return *c.Fingerprint +} + +// GetLogin returns the Login field if it's non-nil, zero value otherwise. +func (c *CredentialAuthorization) GetLogin() string { + if c == nil || c.Login == nil { + return "" + } + 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 { + return "" + } + 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 { + return "" + } + return *c.Type +} + +// GetUser returns the User field. +func (c *Credit) GetUser() *User { + if c == nil { + return nil + } + return c.User +} + +// GetApp returns the App field. +func (c *CustomDeploymentProtectionRule) GetApp() *CustomDeploymentProtectionRuleApp { + if c == nil { + return nil + } + return c.App +} + +// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. +func (c *CustomDeploymentProtectionRule) GetEnabled() bool { + if c == nil || c.Enabled == nil { + return false + } + return *c.Enabled +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (c *CustomDeploymentProtectionRule) GetID() int64 { + if c == nil || c.ID == nil { + return 0 + } + return *c.ID +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (c *CustomDeploymentProtectionRule) GetNodeID() string { + if c == nil || c.NodeID == nil { + return "" + } + return *c.NodeID +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (c *CustomDeploymentProtectionRuleApp) GetID() int64 { + if c == nil || c.ID == nil { + return 0 + } + return *c.ID +} + +// GetIntegrationURL returns the IntegrationURL field if it's non-nil, zero value otherwise. +func (c *CustomDeploymentProtectionRuleApp) GetIntegrationURL() string { + if c == nil || c.IntegrationURL == nil { + return "" + } + return *c.IntegrationURL +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (c *CustomDeploymentProtectionRuleApp) GetNodeID() string { + if c == nil || c.NodeID == nil { + return "" + } + return *c.NodeID +} + +// GetSlug returns the Slug field if it's non-nil, zero value otherwise. +func (c *CustomDeploymentProtectionRuleApp) GetSlug() string { + if c == nil || c.Slug == nil { + return "" + } + return *c.Slug +} + +// GetIntegrationID returns the IntegrationID field if it's non-nil, zero value otherwise. +func (c *CustomDeploymentProtectionRuleRequest) GetIntegrationID() int64 { + if c == nil || c.IntegrationID == nil { + return 0 + } + return *c.IntegrationID +} + +// GetBaseRole returns the BaseRole field if it's non-nil, zero value otherwise. +func (c *CustomOrgRole) GetBaseRole() string { + if c == nil || c.BaseRole == nil { + return "" + } + return *c.BaseRole +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (c *CustomOrgRole) GetCreatedAt() Timestamp { + if c == nil || c.CreatedAt == nil { + return Timestamp{} + } + return *c.CreatedAt +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (c *CustomOrgRole) GetDescription() string { + if c == nil || c.Description == nil { + return "" + } + return *c.Description +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (c *CustomOrgRole) GetID() int64 { + if c == nil || c.ID == nil { + return 0 + } + return *c.ID +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (c *CustomOrgRole) GetName() string { + if c == nil || c.Name == nil { + return "" + } + return *c.Name +} + +// GetOrg returns the Org field. +func (c *CustomOrgRole) GetOrg() *Organization { + if c == nil { + return nil + } + 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 { + return "" + } + return *c.Source +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (c *CustomOrgRole) GetUpdatedAt() Timestamp { + if c == nil || c.UpdatedAt == nil { + return Timestamp{} + } + return *c.UpdatedAt +} + +// GetPatternScope returns the PatternScope field if it's non-nil, zero value otherwise. +func (c *CustomPatternBackfillScan) GetPatternScope() string { + if c == nil || c.PatternScope == nil { + return "" + } + return *c.PatternScope +} + +// GetPatternSlug returns the PatternSlug field if it's non-nil, zero value otherwise. +func (c *CustomPatternBackfillScan) GetPatternSlug() string { + if c == nil || c.PatternSlug == nil { + return "" + } + 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 { + return "" + } + return *c.Description +} + +// GetPropertyName returns the PropertyName field if it's non-nil, zero value otherwise. +func (c *CustomProperty) GetPropertyName() string { + if c == nil || c.PropertyName == nil { + return "" + } + return *c.PropertyName +} + +// GetRequired returns the Required field if it's non-nil, zero value otherwise. +func (c *CustomProperty) GetRequired() bool { + if c == nil || c.Required == nil { + return false + } + return *c.Required +} + +// GetSourceType returns the SourceType field if it's non-nil, zero value otherwise. +func (c *CustomProperty) GetSourceType() string { + if c == nil || c.SourceType == nil { + return "" + } + return *c.SourceType +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (c *CustomProperty) GetURL() string { + if c == nil || c.URL == nil { + return "" + } + return *c.URL +} + +// GetValuesEditableBy returns the ValuesEditableBy field if it's non-nil, zero value otherwise. +func (c *CustomProperty) GetValuesEditableBy() string { + if c == nil || c.ValuesEditableBy == nil { + return "" + } + 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 { + return "" + } + return *c.Action +} + +// GetDefinition returns the Definition field. +func (c *CustomPropertyEvent) GetDefinition() *CustomProperty { + if c == nil { + return nil + } + return c.Definition +} + +// GetEnterprise returns the Enterprise field. +func (c *CustomPropertyEvent) GetEnterprise() *Enterprise { + if c == nil { + return nil + } + return c.Enterprise +} + +// GetInstallation returns the Installation field. +func (c *CustomPropertyEvent) GetInstallation() *Installation { + if c == nil { + return nil + } + return c.Installation +} + +// GetOrg returns the Org field. +func (c *CustomPropertyEvent) GetOrg() *Organization { + if c == nil { + return nil + } + return c.Org +} + +// GetSender returns the Sender field. +func (c *CustomPropertyEvent) GetSender() *User { + if c == nil { + return nil + } + 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 { + return "" + } + return *c.Action +} + +// GetEnterprise returns the Enterprise field. +func (c *CustomPropertyValuesEvent) GetEnterprise() *Enterprise { + if c == nil { + return nil + } + return c.Enterprise +} + +// GetInstallation returns the Installation field. +func (c *CustomPropertyValuesEvent) GetInstallation() *Installation { + if c == nil { + return nil + } + 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 { + return nil + } + return c.Org +} + +// GetRepo returns the Repo field. +func (c *CustomPropertyValuesEvent) GetRepo() *Repository { + if c == nil { + return nil + } + return c.Repo +} + +// GetSender returns the Sender field. +func (c *CustomPropertyValuesEvent) GetSender() *User { + if c == nil { + return nil + } + return c.Sender +} + +// GetBaseRole returns the BaseRole field if it's non-nil, zero value otherwise. +func (c *CustomRepoRoles) GetBaseRole() string { + if c == nil || c.BaseRole == nil { + return "" + } + return *c.BaseRole +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (c *CustomRepoRoles) GetCreatedAt() Timestamp { + if c == nil || c.CreatedAt == nil { + return Timestamp{} + } + return *c.CreatedAt +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (c *CustomRepoRoles) GetDescription() string { + if c == nil || c.Description == nil { + return "" + } + return *c.Description +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (c *CustomRepoRoles) GetID() int64 { + if c == nil || c.ID == nil { + return 0 + } + return *c.ID +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (c *CustomRepoRoles) GetName() string { + if c == nil || c.Name == nil { + return "" + } + return *c.Name +} + +// GetOrg returns the Org field. +func (c *CustomRepoRoles) GetOrg() *Organization { + if c == nil { + return nil + } + 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 { + return 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 { + return "" + } + return *d.QuerySuite +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (d *DefaultSetupConfiguration) GetState() string { + if d == nil || d.State == nil { + return "" + } + return *d.State +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (d *DefaultSetupConfiguration) GetUpdatedAt() Timestamp { + if d == nil || d.UpdatedAt == nil { + return Timestamp{} + } + return *d.UpdatedAt +} + +// GetCanApprovePullRequestReviews returns the CanApprovePullRequestReviews field if it's non-nil, zero value otherwise. +func (d *DefaultWorkflowPermissionEnterprise) GetCanApprovePullRequestReviews() bool { + if d == nil || d.CanApprovePullRequestReviews == nil { + return false + } + return *d.CanApprovePullRequestReviews +} + +// GetDefaultWorkflowPermissions returns the DefaultWorkflowPermissions field if it's non-nil, zero value otherwise. +func (d *DefaultWorkflowPermissionEnterprise) GetDefaultWorkflowPermissions() string { + if d == nil || d.DefaultWorkflowPermissions == nil { + return "" + } + return *d.DefaultWorkflowPermissions +} + +// GetCanApprovePullRequestReviews returns the CanApprovePullRequestReviews field if it's non-nil, zero value otherwise. +func (d *DefaultWorkflowPermissionOrganization) GetCanApprovePullRequestReviews() bool { + if d == nil || d.CanApprovePullRequestReviews == nil { + return false + } + return *d.CanApprovePullRequestReviews +} + +// GetDefaultWorkflowPermissions returns the DefaultWorkflowPermissions field if it's non-nil, zero value otherwise. +func (d *DefaultWorkflowPermissionOrganization) GetDefaultWorkflowPermissions() string { + if d == nil || d.DefaultWorkflowPermissions == nil { + return "" + } + return *d.DefaultWorkflowPermissions +} + +// GetCanApprovePullRequestReviews returns the CanApprovePullRequestReviews field if it's non-nil, zero value otherwise. +func (d *DefaultWorkflowPermissionRepository) GetCanApprovePullRequestReviews() bool { + if d == nil || d.CanApprovePullRequestReviews == nil { + return false + } + return *d.CanApprovePullRequestReviews +} + +// GetDefaultWorkflowPermissions returns the DefaultWorkflowPermissions field if it's non-nil, zero value otherwise. +func (d *DefaultWorkflowPermissionRepository) GetDefaultWorkflowPermissions() string { + if d == nil || d.DefaultWorkflowPermissions == nil { + return "" + } + return *d.DefaultWorkflowPermissions +} + +// GetConfirmDeleteURL returns the ConfirmDeleteURL field if it's non-nil, zero value otherwise. +func (d *DeleteAnalysis) GetConfirmDeleteURL() string { + if d == nil || d.ConfirmDeleteURL == nil { + return "" + } + return *d.ConfirmDeleteURL +} + +// GetNextAnalysisURL returns the NextAnalysisURL field if it's non-nil, zero value otherwise. +func (d *DeleteAnalysis) GetNextAnalysisURL() string { + if d == nil || d.NextAnalysisURL == nil { + return "" + } + 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 { + return nil + } + return d.Installation +} + +// GetOrg returns the Org field. +func (d *DeleteEvent) GetOrg() *Organization { + if d == nil { + return nil + } + return d.Org +} + +// GetPusherType returns the PusherType field if it's non-nil, zero value otherwise. +func (d *DeleteEvent) GetPusherType() string { + if d == nil || d.PusherType == nil { + return "" + } + return *d.PusherType +} + +// GetRef returns the Ref field if it's non-nil, zero value otherwise. +func (d *DeleteEvent) GetRef() string { + if d == nil || d.Ref == nil { + return "" + } + return *d.Ref +} + +// GetRefType returns the RefType field if it's non-nil, zero value otherwise. +func (d *DeleteEvent) GetRefType() string { + if d == nil || d.RefType == nil { + return "" + } + return *d.RefType +} + +// GetRepo returns the Repo field. +func (d *DeleteEvent) GetRepo() *Repository { + if d == nil { + return nil + } + return d.Repo +} + +// GetSender returns the Sender field. +func (d *DeleteEvent) GetSender() *User { + if d == nil { + return nil + } + return d.Sender +} + +// GetAutoDismissedAt returns the AutoDismissedAt field if it's non-nil, zero value otherwise. +func (d *DependabotAlert) GetAutoDismissedAt() Timestamp { + if d == nil || d.AutoDismissedAt == nil { + return Timestamp{} + } + return *d.AutoDismissedAt +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (d *DependabotAlert) GetCreatedAt() Timestamp { + if d == nil || d.CreatedAt == nil { + return Timestamp{} + } + return *d.CreatedAt +} + +// GetDependency returns the Dependency field. +func (d *DependabotAlert) GetDependency() *Dependency { + if d == nil { + return nil + } + return d.Dependency +} + +// GetDismissedAt returns the DismissedAt field if it's non-nil, zero value otherwise. +func (d *DependabotAlert) GetDismissedAt() Timestamp { + if d == nil || d.DismissedAt == nil { + return Timestamp{} + } + return *d.DismissedAt +} + +// GetDismissedBy returns the DismissedBy field. +func (d *DependabotAlert) GetDismissedBy() *User { + if d == nil { + return nil + } + return d.DismissedBy +} + +// GetDismissedComment returns the DismissedComment field if it's non-nil, zero value otherwise. +func (d *DependabotAlert) GetDismissedComment() string { + if d == nil || d.DismissedComment == nil { + return "" + } + return *d.DismissedComment +} + +// GetDismissedReason returns the DismissedReason field if it's non-nil, zero value otherwise. +func (d *DependabotAlert) GetDismissedReason() string { + if d == nil || d.DismissedReason == nil { + return "" + } + return *d.DismissedReason +} + +// GetFixedAt returns the FixedAt field if it's non-nil, zero value otherwise. +func (d *DependabotAlert) GetFixedAt() Timestamp { + if d == nil || d.FixedAt == nil { + return Timestamp{} + } + return *d.FixedAt +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (d *DependabotAlert) GetHTMLURL() string { + if d == nil || d.HTMLURL == nil { + return "" + } + return *d.HTMLURL +} + +// GetNumber returns the Number field if it's non-nil, zero value otherwise. +func (d *DependabotAlert) GetNumber() int { + if d == nil || d.Number == nil { + return 0 + } + return *d.Number +} + +// GetRepository returns the Repository field. +func (d *DependabotAlert) GetRepository() *Repository { + if d == nil { + return nil + } + return d.Repository +} + +// GetSecurityAdvisory returns the SecurityAdvisory field. +func (d *DependabotAlert) GetSecurityAdvisory() *DependabotSecurityAdvisory { + if d == nil { + return nil + } + return d.SecurityAdvisory +} + +// GetSecurityVulnerability returns the SecurityVulnerability field. +func (d *DependabotAlert) GetSecurityVulnerability() *AdvisoryVulnerability { + if d == nil { + return nil + } + return d.SecurityVulnerability +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (d *DependabotAlert) GetState() string { + if d == nil || d.State == nil { + return "" + } + return *d.State +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (d *DependabotAlert) GetUpdatedAt() Timestamp { + if d == nil || d.UpdatedAt == nil { + return Timestamp{} + } + return *d.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (d *DependabotAlert) GetURL() string { + if d == nil || d.URL == nil { + return "" + } + return *d.URL +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (d *DependabotAlertEvent) GetAction() string { + if d == nil || d.Action == nil { + return "" + } + return *d.Action +} + +// GetAlert returns the Alert field. +func (d *DependabotAlertEvent) GetAlert() *DependabotAlert { + if d == nil { + return nil + } + return d.Alert +} + +// GetEnterprise returns the Enterprise field. +func (d *DependabotAlertEvent) GetEnterprise() *Enterprise { + if d == nil { + return nil + } + return d.Enterprise +} + +// GetInstallation returns the Installation field. +func (d *DependabotAlertEvent) GetInstallation() *Installation { + if d == nil { + return nil + } + return d.Installation +} + +// GetOrganization returns the Organization field. +func (d *DependabotAlertEvent) GetOrganization() *Organization { + if d == nil { + return nil + } + return d.Organization +} + +// GetRepo returns the Repo field. +func (d *DependabotAlertEvent) GetRepo() *Repository { + if d == nil { + return nil + } + return d.Repo +} + +// GetSender returns the Sender field. +func (d *DependabotAlertEvent) GetSender() *User { + if d == nil { + return nil + } + return d.Sender +} + +// GetDismissedComment returns the DismissedComment field if it's non-nil, zero value otherwise. +func (d *DependabotAlertState) GetDismissedComment() string { + if d == nil || d.DismissedComment == nil { + return "" + } + return *d.DismissedComment +} + +// GetDismissedReason returns the DismissedReason field if it's non-nil, zero value otherwise. +func (d *DependabotAlertState) GetDismissedReason() string { + if d == nil || d.DismissedReason == nil { + return "" + } + return *d.DismissedReason +} + +// GetState returns the State field. +func (d *DependabotAlertState) GetState() string { + if d == nil { + return "" + } + return d.State +} + +// GetClassification returns the Classification field if it's non-nil, zero value otherwise. +func (d *DependabotSecurityAdvisory) GetClassification() string { + if d == nil || d.Classification == nil { + return "" + } + return *d.Classification +} + +// GetCVEID returns the CVEID field if it's non-nil, zero value otherwise. +func (d *DependabotSecurityAdvisory) GetCVEID() string { + if d == nil || d.CVEID == nil { + return "" + } + return *d.CVEID +} + +// GetCVSS returns the CVSS field. +func (d *DependabotSecurityAdvisory) GetCVSS() *AdvisoryCVSS { + if d == nil { + return nil + } + return d.CVSS +} + +// GetCVSSSeverities returns the CVSSSeverities field. +func (d *DependabotSecurityAdvisory) GetCVSSSeverities() *AdvisoryCVSSSeverities { + if d == nil { + return nil + } + return d.CVSSSeverities +} + +// 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 { + return "" + } + return *d.Description +} + +// GetEPSS returns the EPSS field. +func (d *DependabotSecurityAdvisory) GetEPSS() *AdvisoryEPSS { + if d == nil { + return nil + } + return d.EPSS +} + +// GetGHSAID returns the GHSAID field if it's non-nil, zero value otherwise. +func (d *DependabotSecurityAdvisory) GetGHSAID() string { + if d == nil || d.GHSAID == nil { + return "" + } + return *d.GHSAID +} + +// 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 { + return 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 { + return "" + } + return *d.Severity +} + +// GetSummary returns the Summary field if it's non-nil, zero value otherwise. +func (d *DependabotSecurityAdvisory) GetSummary() string { + if d == nil || d.Summary == nil { + return "" + } + return *d.Summary +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (d *DependabotSecurityAdvisory) GetUpdatedAt() Timestamp { + if d == nil || d.UpdatedAt == nil { + return Timestamp{} + } + return *d.UpdatedAt +} + +// 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 { + return Timestamp{} + } + return *d.WithdrawnAt +} + +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (d *DependabotSecurityUpdates) GetStatus() string { + if d == nil || d.Status == nil { + return "" + } + return *d.Status +} + +// GetManifestPath returns the ManifestPath field if it's non-nil, zero value otherwise. +func (d *Dependency) GetManifestPath() string { + if d == nil || d.ManifestPath == nil { + return "" + } + return *d.ManifestPath +} + +// GetPackage returns the Package field. +func (d *Dependency) GetPackage() *VulnerabilityPackage { + if d == nil { + return nil + } + return d.Package +} + +// GetScope returns the Scope field if it's non-nil, zero value otherwise. +func (d *Dependency) GetScope() string { + if d == nil || d.Scope == nil { + return "" + } + return *d.Scope +} + +// GetLabeledRunners returns the LabeledRunners field if it's non-nil, zero value otherwise. +func (d *DependencyGraphAutosubmitActionOptions) GetLabeledRunners() bool { + if d == nil || d.LabeledRunners == nil { + return false + } + return *d.LabeledRunners +} + +// GetDetector returns the Detector field. +func (d *DependencyGraphSnapshot) GetDetector() *DependencyGraphSnapshotDetector { + if d == nil { + return nil + } + return d.Detector +} + +// GetJob returns the Job field. +func (d *DependencyGraphSnapshot) GetJob() *DependencyGraphSnapshotJob { + if d == nil { + return nil + } + return d.Job +} + +// GetMetadata returns the Metadata map if it's non-nil, an empty map otherwise. +func (d *DependencyGraphSnapshot) GetMetadata() map[string]any { + if d == nil || d.Metadata == nil { + return map[string]any{} + } + return d.Metadata +} + +// GetRef returns the Ref field if it's non-nil, zero value otherwise. +func (d *DependencyGraphSnapshot) GetRef() string { + if d == nil || d.Ref == nil { + return "" + } + return *d.Ref +} + +// GetScanned returns the Scanned field if it's non-nil, zero value otherwise. +func (d *DependencyGraphSnapshot) GetScanned() Timestamp { + if d == nil || d.Scanned == nil { + return Timestamp{} + } + return *d.Scanned +} + +// GetSha returns the Sha field if it's non-nil, zero value otherwise. +func (d *DependencyGraphSnapshot) GetSha() string { + if d == nil || d.Sha == nil { + return "" + } + 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 { + return 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 { + return "" + } + return *d.Message +} + +// GetResult returns the Result field if it's non-nil, zero value otherwise. +func (d *DependencyGraphSnapshotCreationData) GetResult() string { + if d == nil || d.Result == nil { + return "" + } + return *d.Result +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (d *DependencyGraphSnapshotDetector) GetName() string { + if d == nil || d.Name == nil { + return "" + } + return *d.Name +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (d *DependencyGraphSnapshotDetector) GetURL() string { + if d == nil || d.URL == nil { + return "" + } + return *d.URL +} + +// GetVersion returns the Version field if it's non-nil, zero value otherwise. +func (d *DependencyGraphSnapshotDetector) GetVersion() string { + if d == nil || d.Version == nil { + return "" + } + return *d.Version +} + +// GetCorrelator returns the Correlator field if it's non-nil, zero value otherwise. +func (d *DependencyGraphSnapshotJob) GetCorrelator() string { + if d == nil || d.Correlator == nil { + return "" + } + return *d.Correlator +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (d *DependencyGraphSnapshotJob) GetHTMLURL() string { + if d == nil || d.HTMLURL == nil { + return "" + } + return *d.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (d *DependencyGraphSnapshotJob) GetID() string { + if d == nil || d.ID == nil { + return "" + } + return *d.ID +} + +// GetFile returns the File field. +func (d *DependencyGraphSnapshotManifest) GetFile() *DependencyGraphSnapshotManifestFile { + if d == nil { + return nil + } + return d.File +} + +// GetMetadata returns the Metadata map if it's non-nil, an empty map otherwise. +func (d *DependencyGraphSnapshotManifest) GetMetadata() map[string]any { + if d == nil || d.Metadata == nil { + return map[string]any{} + } + return d.Metadata +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (d *DependencyGraphSnapshotManifest) GetName() string { + if d == nil || d.Name == nil { + return "" + } + return *d.Name +} + +// GetSourceLocation returns the SourceLocation field if it's non-nil, zero value otherwise. +func (d *DependencyGraphSnapshotManifestFile) GetSourceLocation() string { + if d == nil || d.SourceLocation == nil { + return "" + } + 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 { + return map[string]any{} + } + return d.Metadata +} + +// GetPackageURL returns the PackageURL field if it's non-nil, zero value otherwise. +func (d *DependencyGraphSnapshotResolvedDependency) GetPackageURL() string { + if d == nil || d.PackageURL == nil { + return "" + } + return *d.PackageURL +} + +// GetRelationship returns the Relationship field if it's non-nil, zero value otherwise. +func (d *DependencyGraphSnapshotResolvedDependency) GetRelationship() string { + if d == nil || d.Relationship == nil { + return "" + } + return *d.Relationship +} + +// GetScope returns the Scope field if it's non-nil, zero value otherwise. +func (d *DependencyGraphSnapshotResolvedDependency) GetScope() string { + if d == nil || d.Scope == nil { + return "" + } + return *d.Scope +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (d *DeployKeyEvent) GetAction() string { + if d == nil || d.Action == nil { + return "" + } + return *d.Action +} + +// GetInstallation returns the Installation field. +func (d *DeployKeyEvent) GetInstallation() *Installation { + if d == nil { + return nil + } + return d.Installation +} + +// GetKey returns the Key field. +func (d *DeployKeyEvent) GetKey() *Key { + if d == nil { + return nil + } + return d.Key +} + +// GetOrganization returns the Organization field. +func (d *DeployKeyEvent) GetOrganization() *Organization { + if d == nil { + return nil + } + return d.Organization +} + +// GetRepo returns the Repo field. +func (d *DeployKeyEvent) GetRepo() *Repository { + if d == nil { + return nil + } + return d.Repo +} + +// GetSender returns the Sender field. +func (d *DeployKeyEvent) GetSender() *User { + if d == nil { + return nil + } + return d.Sender +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (d *Deployment) GetCreatedAt() Timestamp { + if d == nil || d.CreatedAt == nil { + return Timestamp{} + } + return *d.CreatedAt +} + +// GetCreator returns the Creator field. +func (d *Deployment) GetCreator() *User { + if d == nil { + return nil + } + return d.Creator +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (d *Deployment) GetDescription() string { + if d == nil || d.Description == nil { + return "" + } + return *d.Description +} + +// GetEnvironment returns the Environment field if it's non-nil, zero value otherwise. +func (d *Deployment) GetEnvironment() string { + if d == nil || d.Environment == nil { + return "" + } + return *d.Environment +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (d *Deployment) GetID() int64 { + if d == nil || d.ID == nil { + return 0 + } + return *d.ID +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (d *Deployment) GetNodeID() string { + if d == nil || d.NodeID == nil { + return "" + } + 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 { + return "" + } + return *d.Ref +} + +// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise. +func (d *Deployment) GetRepositoryURL() string { + if d == nil || d.RepositoryURL == nil { + return "" + } + return *d.RepositoryURL +} + +// GetSHA returns the SHA field if it's non-nil, zero value otherwise. +func (d *Deployment) GetSHA() string { + if d == nil || d.SHA == nil { + return "" + } + return *d.SHA +} + +// GetStatusesURL returns the StatusesURL field if it's non-nil, zero value otherwise. +func (d *Deployment) GetStatusesURL() string { + if d == nil || d.StatusesURL == nil { + return "" + } + return *d.StatusesURL +} + +// GetTask returns the Task field if it's non-nil, zero value otherwise. +func (d *Deployment) GetTask() string { + if d == nil || d.Task == nil { + return "" + } + return *d.Task +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (d *Deployment) GetUpdatedAt() Timestamp { + if d == nil || d.UpdatedAt == nil { + return Timestamp{} + } + return *d.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (d *Deployment) GetURL() string { + if d == nil || d.URL == nil { + return "" + } + return *d.URL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (d *DeploymentBranchPolicy) GetID() int64 { + if d == nil || d.ID == nil { + return 0 + } + return *d.ID +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (d *DeploymentBranchPolicy) GetName() string { + if d == nil || d.Name == nil { + return "" + } + return *d.Name +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (d *DeploymentBranchPolicy) GetNodeID() string { + if d == nil || d.NodeID == nil { + return "" + } + return *d.NodeID +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (d *DeploymentBranchPolicy) GetType() string { + if d == nil || d.Type == nil { + return "" + } + 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 { + return 0 + } + return *d.TotalCount +} + +// GetDeployment returns the Deployment field. +func (d *DeploymentEvent) GetDeployment() *Deployment { + if d == nil { + return nil + } + return d.Deployment +} + +// GetInstallation returns the Installation field. +func (d *DeploymentEvent) GetInstallation() *Installation { + if d == nil { + return nil + } + return d.Installation +} + +// GetOrg returns the Org field. +func (d *DeploymentEvent) GetOrg() *Organization { + if d == nil { + return nil + } + return d.Org +} + +// GetRepo returns the Repo field. +func (d *DeploymentEvent) GetRepo() *Repository { + if d == nil { + return nil + } + return d.Repo +} + +// GetSender returns the Sender field. +func (d *DeploymentEvent) GetSender() *User { + if d == nil { + return nil + } + return d.Sender +} + +// GetWorkflow returns the Workflow field. +func (d *DeploymentEvent) GetWorkflow() *Workflow { + if d == nil { + return nil + } + return d.Workflow +} + +// GetWorkflowRun returns the WorkflowRun field. +func (d *DeploymentEvent) GetWorkflowRun() *WorkflowRun { + if d == nil { + return nil + } + return d.WorkflowRun +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (d *DeploymentProtectionRuleEvent) GetAction() string { + if d == nil || d.Action == nil { + return "" + } + return *d.Action +} + +// GetDeployment returns the Deployment field. +func (d *DeploymentProtectionRuleEvent) GetDeployment() *Deployment { + if d == nil { + return nil + } + return d.Deployment +} + +// GetDeploymentCallbackURL returns the DeploymentCallbackURL field if it's non-nil, zero value otherwise. +func (d *DeploymentProtectionRuleEvent) GetDeploymentCallbackURL() string { + if d == nil || d.DeploymentCallbackURL == nil { + return "" + } + return *d.DeploymentCallbackURL +} + +// GetEnvironment returns the Environment field if it's non-nil, zero value otherwise. +func (d *DeploymentProtectionRuleEvent) GetEnvironment() string { + if d == nil || d.Environment == nil { + return "" + } + return *d.Environment +} + +// GetEvent returns the Event field if it's non-nil, zero value otherwise. +func (d *DeploymentProtectionRuleEvent) GetEvent() string { + if d == nil || d.Event == nil { + return "" + } + return *d.Event +} + +// GetInstallation returns the Installation field. +func (d *DeploymentProtectionRuleEvent) GetInstallation() *Installation { + if d == nil { + return nil + } + return d.Installation +} + +// GetOrganization returns the Organization field. +func (d *DeploymentProtectionRuleEvent) GetOrganization() *Organization { + if d == nil { + return nil + } + 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 { + return nil + } + return d.Repo +} + +// GetSender returns the Sender field. +func (d *DeploymentProtectionRuleEvent) GetSender() *User { + if d == nil { + return nil + } + return d.Sender +} + +// GetAutoMerge returns the AutoMerge field if it's non-nil, zero value otherwise. +func (d *DeploymentRequest) GetAutoMerge() bool { + if d == nil || d.AutoMerge == nil { + return false + } + return *d.AutoMerge +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (d *DeploymentRequest) GetDescription() string { + if d == nil || d.Description == nil { + return "" + } + return *d.Description +} + +// GetEnvironment returns the Environment field if it's non-nil, zero value otherwise. +func (d *DeploymentRequest) GetEnvironment() string { + if d == nil || d.Environment == nil { + return "" + } + 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 { + return false + } + return *d.ProductionEnvironment +} + +// GetRef returns the Ref field. +func (d *DeploymentRequest) GetRef() string { + if d == nil { + return "" + } + return d.Ref +} + +// GetRequiredContexts returns the RequiredContexts slice if it's non-nil, nil otherwise. +func (d *DeploymentRequest) GetRequiredContexts() []string { + if d == nil || d.RequiredContexts == nil { + return nil + } + return d.RequiredContexts +} + +// GetTask returns the Task field if it's non-nil, zero value otherwise. +func (d *DeploymentRequest) GetTask() string { + if d == nil || d.Task == nil { + return "" + } + return *d.Task +} + +// GetTransientEnvironment returns the TransientEnvironment field if it's non-nil, zero value otherwise. +func (d *DeploymentRequest) GetTransientEnvironment() bool { + if d == nil || d.TransientEnvironment == nil { + return false + } + return *d.TransientEnvironment +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (d *DeploymentReviewEvent) GetAction() string { + if d == nil || d.Action == nil { + return "" + } + return *d.Action +} + +// GetApprover returns the Approver field. +func (d *DeploymentReviewEvent) GetApprover() *User { + if d == nil { + return nil + } + return d.Approver +} + +// GetComment returns the Comment field if it's non-nil, zero value otherwise. +func (d *DeploymentReviewEvent) GetComment() string { + if d == nil || d.Comment == nil { + return "" + } + return *d.Comment +} + +// GetEnterprise returns the Enterprise field. +func (d *DeploymentReviewEvent) GetEnterprise() *Enterprise { + if d == nil { + return nil + } + return d.Enterprise +} + +// GetEnvironment returns the Environment field if it's non-nil, zero value otherwise. +func (d *DeploymentReviewEvent) GetEnvironment() string { + if d == nil || d.Environment == nil { + return "" + } + return *d.Environment +} + +// GetInstallation returns the Installation field. +func (d *DeploymentReviewEvent) GetInstallation() *Installation { + if d == nil { + return nil + } + return d.Installation +} + +// GetOrganization returns the Organization field. +func (d *DeploymentReviewEvent) GetOrganization() *Organization { + if d == nil { + return nil + } + return d.Organization +} + +// GetRepo returns the Repo field. +func (d *DeploymentReviewEvent) GetRepo() *Repository { + if d == nil { + return nil + } + return d.Repo +} + +// GetRequester returns the Requester field. +func (d *DeploymentReviewEvent) GetRequester() *User { + if d == nil { + return nil + } + 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 { + return nil + } + return d.Sender +} + +// GetSince returns the Since field if it's non-nil, zero value otherwise. +func (d *DeploymentReviewEvent) GetSince() string { + if d == nil || d.Since == nil { + return "" + } + return *d.Since +} + +// GetWorkflowJobRun returns the WorkflowJobRun field. +func (d *DeploymentReviewEvent) GetWorkflowJobRun() *WorkflowJobRun { + if d == nil { + return nil + } + 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 { + return nil + } + 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 { + return Timestamp{} + } + return *d.CreatedAt +} + +// GetCreator returns the Creator field. +func (d *DeploymentStatus) GetCreator() *User { + if d == nil { + return nil + } + return d.Creator +} + +// GetDeploymentURL returns the DeploymentURL field if it's non-nil, zero value otherwise. +func (d *DeploymentStatus) GetDeploymentURL() string { + if d == nil || d.DeploymentURL == nil { + return "" + } + return *d.DeploymentURL +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (d *DeploymentStatus) GetDescription() string { + if d == nil || d.Description == nil { + return "" + } + return *d.Description +} + +// GetEnvironment returns the Environment field if it's non-nil, zero value otherwise. +func (d *DeploymentStatus) GetEnvironment() string { + if d == nil || d.Environment == nil { + return "" + } + return *d.Environment +} + +// GetEnvironmentURL returns the EnvironmentURL field if it's non-nil, zero value otherwise. +func (d *DeploymentStatus) GetEnvironmentURL() string { + if d == nil || d.EnvironmentURL == nil { + return "" + } + return *d.EnvironmentURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (d *DeploymentStatus) GetID() int64 { + if d == nil || d.ID == nil { + return 0 + } + return *d.ID +} + +// GetLogURL returns the LogURL field if it's non-nil, zero value otherwise. +func (d *DeploymentStatus) GetLogURL() string { + if d == nil || d.LogURL == nil { + return "" + } + return *d.LogURL +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (d *DeploymentStatus) GetNodeID() string { + if d == nil || d.NodeID == nil { + return "" + } + return *d.NodeID +} + +// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise. +func (d *DeploymentStatus) GetRepositoryURL() string { + if d == nil || d.RepositoryURL == nil { + return "" + } + return *d.RepositoryURL +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (d *DeploymentStatus) GetState() string { + if d == nil || d.State == nil { + return "" + } + return *d.State +} + +// GetTargetURL returns the TargetURL field if it's non-nil, zero value otherwise. +func (d *DeploymentStatus) GetTargetURL() string { + if d == nil || d.TargetURL == nil { + return "" + } + return *d.TargetURL +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (d *DeploymentStatus) GetUpdatedAt() Timestamp { + if d == nil || d.UpdatedAt == nil { + return Timestamp{} + } + return *d.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (d *DeploymentStatus) GetURL() string { + if d == nil || d.URL == nil { + return "" + } + return *d.URL +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (d *DeploymentStatusEvent) GetAction() string { + if d == nil || d.Action == nil { + return "" + } + return *d.Action +} + +// GetDeployment returns the Deployment field. +func (d *DeploymentStatusEvent) GetDeployment() *Deployment { + if d == nil { + return nil + } + return d.Deployment +} + +// GetDeploymentStatus returns the DeploymentStatus field. +func (d *DeploymentStatusEvent) GetDeploymentStatus() *DeploymentStatus { + if d == nil { + return nil + } + return d.DeploymentStatus +} + +// GetInstallation returns the Installation field. +func (d *DeploymentStatusEvent) GetInstallation() *Installation { + if d == nil { + return nil + } + return d.Installation +} + +// GetOrg returns the Org field. +func (d *DeploymentStatusEvent) GetOrg() *Organization { + if d == nil { + return nil + } + return d.Org +} + +// GetRepo returns the Repo field. +func (d *DeploymentStatusEvent) GetRepo() *Repository { + if d == nil { + return nil + } + return d.Repo +} + +// GetSender returns the Sender field. +func (d *DeploymentStatusEvent) GetSender() *User { + if d == nil { + return nil + } + return d.Sender +} + +// GetAutoInactive returns the AutoInactive field if it's non-nil, zero value otherwise. +func (d *DeploymentStatusRequest) GetAutoInactive() bool { + if d == nil || d.AutoInactive == nil { + return false + } + return *d.AutoInactive +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (d *DeploymentStatusRequest) GetDescription() string { + if d == nil || d.Description == nil { + return "" + } + return *d.Description +} + +// GetEnvironment returns the Environment field if it's non-nil, zero value otherwise. +func (d *DeploymentStatusRequest) GetEnvironment() string { + if d == nil || d.Environment == nil { + return "" + } + return *d.Environment +} + +// GetEnvironmentURL returns the EnvironmentURL field if it's non-nil, zero value otherwise. +func (d *DeploymentStatusRequest) GetEnvironmentURL() string { + if d == nil || d.EnvironmentURL == nil { + return "" + } + return *d.EnvironmentURL +} + +// GetLogURL returns the LogURL field if it's non-nil, zero value otherwise. +func (d *DeploymentStatusRequest) GetLogURL() string { + if d == nil || d.LogURL == nil { + return "" + } + return *d.LogURL +} + +// GetState returns the State field. +func (d *DeploymentStatusRequest) GetState() string { + if d == nil { + return "" + } + return d.State +} + +// GetTargetURL returns the TargetURL field if it's non-nil, zero value otherwise. +func (d *DeploymentStatusRequest) GetTargetURL() string { + if d == nil || d.TargetURL == nil { + return "" + } + return *d.TargetURL +} + +// GetDisplayName returns the DisplayName field if it's non-nil, zero value otherwise. +func (d *DevContainer) GetDisplayName() string { + if d == nil || d.DisplayName == nil { + return "" + } + return *d.DisplayName +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (d *DevContainer) GetName() string { + if d == nil || d.Name == nil { + return "" + } + 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 { + return "" + } + return *d.ActiveLockReason +} + +// GetAnswerChosenAt returns the AnswerChosenAt field if it's non-nil, zero value otherwise. +func (d *Discussion) GetAnswerChosenAt() Timestamp { + if d == nil || d.AnswerChosenAt == nil { + return Timestamp{} + } + return *d.AnswerChosenAt +} + +// GetAnswerChosenBy returns the AnswerChosenBy field if it's non-nil, zero value otherwise. +func (d *Discussion) GetAnswerChosenBy() string { + if d == nil || d.AnswerChosenBy == nil { + return "" + } + return *d.AnswerChosenBy +} + +// GetAnswerHTMLURL returns the AnswerHTMLURL field if it's non-nil, zero value otherwise. +func (d *Discussion) GetAnswerHTMLURL() string { + if d == nil || d.AnswerHTMLURL == nil { + return "" + } + return *d.AnswerHTMLURL +} + +// GetAuthorAssociation returns the AuthorAssociation field if it's non-nil, zero value otherwise. +func (d *Discussion) GetAuthorAssociation() string { + if d == nil || d.AuthorAssociation == nil { + return "" + } + return *d.AuthorAssociation +} + +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (d *Discussion) GetBody() string { + if d == nil || d.Body == nil { + return "" + } + return *d.Body +} + +// GetComments returns the Comments field if it's non-nil, zero value otherwise. +func (d *Discussion) GetComments() int { + if d == nil || d.Comments == nil { + return 0 + } + return *d.Comments +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (d *Discussion) GetCreatedAt() Timestamp { + if d == nil || d.CreatedAt == nil { + return Timestamp{} + } + return *d.CreatedAt +} + +// GetDiscussionCategory returns the DiscussionCategory field. +func (d *Discussion) GetDiscussionCategory() *DiscussionCategory { + if d == nil { + return nil + } + return d.DiscussionCategory +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (d *Discussion) GetHTMLURL() string { + if d == nil || d.HTMLURL == nil { + return "" + } + return *d.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (d *Discussion) GetID() int64 { + if d == nil || d.ID == nil { + return 0 + } + return *d.ID +} + +// GetLocked returns the Locked field if it's non-nil, zero value otherwise. +func (d *Discussion) GetLocked() bool { + if d == nil || d.Locked == nil { + return false + } + return *d.Locked +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (d *Discussion) GetNodeID() string { + if d == nil || d.NodeID == nil { + return "" + } + return *d.NodeID +} + +// GetNumber returns the Number field if it's non-nil, zero value otherwise. +func (d *Discussion) GetNumber() int { + if d == nil || d.Number == nil { + return 0 + } + return *d.Number +} + +// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise. +func (d *Discussion) GetRepositoryURL() string { + if d == nil || d.RepositoryURL == nil { + return "" + } + return *d.RepositoryURL +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (d *Discussion) GetState() string { + if d == nil || d.State == nil { + return "" + } + return *d.State +} + +// GetTitle returns the Title field if it's non-nil, zero value otherwise. +func (d *Discussion) GetTitle() string { + if d == nil || d.Title == nil { + return "" + } + return *d.Title +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (d *Discussion) GetUpdatedAt() Timestamp { + if d == nil || d.UpdatedAt == nil { + return Timestamp{} + } + return *d.UpdatedAt +} + +// GetUser returns the User field. +func (d *Discussion) GetUser() *User { + if d == nil { + return nil + } + return d.User +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (d *DiscussionCategory) GetCreatedAt() Timestamp { + if d == nil || d.CreatedAt == nil { + return Timestamp{} + } + return *d.CreatedAt +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (d *DiscussionCategory) GetDescription() string { + if d == nil || d.Description == nil { + return "" + } + return *d.Description +} + +// GetEmoji returns the Emoji field if it's non-nil, zero value otherwise. +func (d *DiscussionCategory) GetEmoji() string { + if d == nil || d.Emoji == nil { + return "" + } + return *d.Emoji +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (d *DiscussionCategory) GetID() int64 { + if d == nil || d.ID == nil { + return 0 + } + return *d.ID +} + +// GetIsAnswerable returns the IsAnswerable field if it's non-nil, zero value otherwise. +func (d *DiscussionCategory) GetIsAnswerable() bool { + if d == nil || d.IsAnswerable == nil { + return false + } + return *d.IsAnswerable +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (d *DiscussionCategory) GetName() string { + if d == nil || d.Name == nil { + return "" + } + return *d.Name +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (d *DiscussionCategory) GetNodeID() string { + if d == nil || d.NodeID == nil { + return "" + } + return *d.NodeID +} + +// GetRepositoryID returns the RepositoryID field if it's non-nil, zero value otherwise. +func (d *DiscussionCategory) GetRepositoryID() int64 { + if d == nil || d.RepositoryID == nil { + return 0 + } + return *d.RepositoryID +} + +// GetSlug returns the Slug field if it's non-nil, zero value otherwise. +func (d *DiscussionCategory) GetSlug() string { + if d == nil || d.Slug == nil { + return "" + } + return *d.Slug +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (d *DiscussionCategory) GetUpdatedAt() Timestamp { + if d == nil || d.UpdatedAt == nil { + return Timestamp{} + } + return *d.UpdatedAt +} + +// GetAuthor returns the Author field. +func (d *DiscussionComment) GetAuthor() *User { + if d == nil { + return nil + } + return d.Author +} + +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (d *DiscussionComment) GetBody() string { + if d == nil || d.Body == nil { + return "" + } + return *d.Body +} + +// GetBodyHTML returns the BodyHTML field if it's non-nil, zero value otherwise. +func (d *DiscussionComment) GetBodyHTML() string { + if d == nil || d.BodyHTML == nil { + return "" + } + return *d.BodyHTML +} + +// GetBodyVersion returns the BodyVersion field if it's non-nil, zero value otherwise. +func (d *DiscussionComment) GetBodyVersion() string { + if d == nil || d.BodyVersion == nil { + return "" + } + return *d.BodyVersion +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (d *DiscussionComment) GetCreatedAt() Timestamp { + if d == nil || d.CreatedAt == nil { + return Timestamp{} + } + return *d.CreatedAt +} + +// GetDiscussionURL returns the DiscussionURL field if it's non-nil, zero value otherwise. +func (d *DiscussionComment) GetDiscussionURL() string { + if d == nil || d.DiscussionURL == nil { + return "" + } + return *d.DiscussionURL +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (d *DiscussionComment) GetHTMLURL() string { + if d == nil || d.HTMLURL == nil { + return "" + } + return *d.HTMLURL +} + +// GetLastEditedAt returns the LastEditedAt field if it's non-nil, zero value otherwise. +func (d *DiscussionComment) GetLastEditedAt() Timestamp { + if d == nil || d.LastEditedAt == nil { + return Timestamp{} + } + return *d.LastEditedAt +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (d *DiscussionComment) GetNodeID() string { + if d == nil || d.NodeID == nil { + return "" + } + return *d.NodeID +} + +// GetNumber returns the Number field if it's non-nil, zero value otherwise. +func (d *DiscussionComment) GetNumber() int { + if d == nil || d.Number == nil { + return 0 + } + return *d.Number +} + +// GetReactions returns the Reactions field. +func (d *DiscussionComment) GetReactions() *Reactions { + if d == nil { + return nil + } + return d.Reactions +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (d *DiscussionComment) GetUpdatedAt() Timestamp { + if d == nil || d.UpdatedAt == nil { + return Timestamp{} + } + return *d.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (d *DiscussionComment) GetURL() string { + if d == nil || d.URL == nil { + return "" + } + return *d.URL +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (d *DiscussionCommentEvent) GetAction() string { + if d == nil || d.Action == nil { + return "" + } + return *d.Action +} + +// GetComment returns the Comment field. +func (d *DiscussionCommentEvent) GetComment() *CommentDiscussion { + if d == nil { + return nil + } + return d.Comment +} + +// GetDiscussion returns the Discussion field. +func (d *DiscussionCommentEvent) GetDiscussion() *Discussion { + if d == nil { + return nil + } + return d.Discussion +} + +// GetInstallation returns the Installation field. +func (d *DiscussionCommentEvent) GetInstallation() *Installation { + if d == nil { + return nil + } + return d.Installation +} + +// GetOrg returns the Org field. +func (d *DiscussionCommentEvent) GetOrg() *Organization { + if d == nil { + return nil + } + return d.Org +} + +// GetRepo returns the Repo field. +func (d *DiscussionCommentEvent) GetRepo() *Repository { + if d == nil { + return nil + } + return d.Repo +} + +// GetSender returns the Sender field. +func (d *DiscussionCommentEvent) GetSender() *User { + if d == nil { + return nil + } + 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 { + return "" + } + return *d.Action +} + +// GetDiscussion returns the Discussion field. +func (d *DiscussionEvent) GetDiscussion() *Discussion { + if d == nil { + return nil + } + return d.Discussion +} + +// GetInstallation returns the Installation field. +func (d *DiscussionEvent) GetInstallation() *Installation { + if d == nil { + return nil + } + return d.Installation +} + +// GetOrg returns the Org field. +func (d *DiscussionEvent) GetOrg() *Organization { + if d == nil { + return nil + } + return d.Org +} + +// GetRepo returns the Repo field. +func (d *DiscussionEvent) GetRepo() *Repository { + if d == nil { + return nil + } + return d.Repo +} + +// GetSender returns the Sender field. +func (d *DiscussionEvent) GetSender() *User { + if d == nil { + return nil + } + 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 { + return nil + } + return *d.Apps +} + +// GetTeams returns the Teams field if it's non-nil, zero value otherwise. +func (d *DismissalRestrictionsRequest) GetTeams() []string { + if d == nil || d.Teams == nil { + return nil + } + return *d.Teams +} + +// GetUsers returns the Users field if it's non-nil, zero value otherwise. +func (d *DismissalRestrictionsRequest) GetUsers() []string { + if d == nil || d.Users == nil { + return nil + } + return *d.Users +} + +// GetDismissalCommitID returns the DismissalCommitID field if it's non-nil, zero value otherwise. +func (d *DismissedReview) GetDismissalCommitID() string { + if d == nil || d.DismissalCommitID == nil { + return "" + } + return *d.DismissalCommitID +} + +// GetDismissalMessage returns the DismissalMessage field if it's non-nil, zero value otherwise. +func (d *DismissedReview) GetDismissalMessage() string { + if d == nil || d.DismissalMessage == nil { + return "" + } + return *d.DismissalMessage +} + +// GetReviewID returns the ReviewID field if it's non-nil, zero value otherwise. +func (d *DismissedReview) GetReviewID() int64 { + if d == nil || d.ReviewID == nil { + return 0 + } + return *d.ReviewID +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (d *DismissedReview) GetState() string { + if d == nil || d.State == nil { + return "" + } + return *d.State +} + +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (d *DismissStaleReviewsOnPushChanges) GetFrom() bool { + if d == nil || d.From == nil { + return false + } + return *d.From +} + +// GetClientPayload returns the ClientPayload field if it's non-nil, zero value otherwise. +func (d *DispatchRequestOptions) GetClientPayload() json.RawMessage { + if d == nil || d.ClientPayload == nil { + return 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 { + return "" + } + return *d.Body +} + +// GetLine returns the Line field if it's non-nil, zero value otherwise. +func (d *DraftReviewComment) GetLine() int { + if d == nil || d.Line == nil { + return 0 + } + return *d.Line +} + +// GetPath returns the Path field if it's non-nil, zero value otherwise. +func (d *DraftReviewComment) GetPath() string { + if d == nil || d.Path == nil { + return "" + } + return *d.Path +} + +// GetPosition returns the Position field if it's non-nil, zero value otherwise. +func (d *DraftReviewComment) GetPosition() int { + if d == nil || d.Position == nil { + return 0 + } + return *d.Position +} + +// GetSide returns the Side field if it's non-nil, zero value otherwise. +func (d *DraftReviewComment) GetSide() string { + if d == nil || d.Side == nil { + return "" + } + return *d.Side +} + +// GetStartLine returns the StartLine field if it's non-nil, zero value otherwise. +func (d *DraftReviewComment) GetStartLine() int { + if d == nil || d.StartLine == nil { + return 0 + } + return *d.StartLine +} + +// GetStartSide returns the StartSide field if it's non-nil, zero value otherwise. +func (d *DraftReviewComment) GetStartSide() string { + if d == nil || d.StartSide == nil { + return "" + } + return *d.StartSide +} + +// GetRef returns the Ref field. +func (e *EditBase) GetRef() *EditRef { + if e == nil { + return nil + } + return e.Ref +} + +// GetSHA returns the SHA field. +func (e *EditBase) GetSHA() *EditSHA { + if e == nil { + return nil + } + return e.SHA +} + +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (e *EditBody) GetFrom() string { + if e == nil || e.From == nil { + return "" + } + return *e.From +} + +// GetBase returns the Base field. +func (e *EditChange) GetBase() *EditBase { + if e == nil { + return nil + } + return e.Base +} + +// GetBody returns the Body field. +func (e *EditChange) GetBody() *EditBody { + if e == nil { + return nil + } + return e.Body +} + +// GetDefaultBranch returns the DefaultBranch field. +func (e *EditChange) GetDefaultBranch() *EditDefaultBranch { + if e == nil { + return nil + } + return e.DefaultBranch +} + +// GetOwner returns the Owner field. +func (e *EditChange) GetOwner() *EditOwner { + if e == nil { + return nil + } + return e.Owner +} + +// GetRepo returns the Repo field. +func (e *EditChange) GetRepo() *EditRepo { + if e == nil { + return nil + } + return e.Repo +} + +// GetTitle returns the Title field. +func (e *EditChange) GetTitle() *EditTitle { + if e == nil { + return nil + } + return e.Title +} + +// GetTopics returns the Topics field. +func (e *EditChange) GetTopics() *EditTopics { + if e == nil { + return nil + } + return e.Topics +} + +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (e *EditDefaultBranch) GetFrom() string { + if e == nil || e.From == nil { + return "" + } + return *e.From +} + +// GetOwnerInfo returns the OwnerInfo field. +func (e *EditOwner) GetOwnerInfo() *OwnerInfo { + if e == nil { + return nil + } + return e.OwnerInfo +} + +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (e *EditRef) GetFrom() string { + if e == nil || e.From == nil { + return "" + } + return *e.From +} + +// GetName returns the Name field. +func (e *EditRepo) GetName() *RepoName { + if e == nil { + return nil + } + return e.Name +} + +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (e *EditSHA) GetFrom() string { + if e == nil || e.From == nil { + return "" + } + return *e.From +} + +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (e *EditTitle) GetFrom() string { + if e == nil || e.From == nil { + return "" + } + 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 { + return "" + } + return *e.AvatarURL +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (e *Enterprise) GetCreatedAt() Timestamp { + if e == nil || e.CreatedAt == nil { + return Timestamp{} + } + return *e.CreatedAt +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (e *Enterprise) GetDescription() string { + if e == nil || e.Description == nil { + return "" + } + return *e.Description +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (e *Enterprise) GetHTMLURL() string { + if e == nil || e.HTMLURL == nil { + return "" + } + return *e.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (e *Enterprise) GetID() int { + if e == nil || e.ID == nil { + return 0 + } + return *e.ID +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (e *Enterprise) GetName() string { + if e == nil || e.Name == nil { + return "" + } + return *e.Name +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (e *Enterprise) GetNodeID() string { + if e == nil || e.NodeID == nil { + return "" + } + return *e.NodeID +} + +// GetSlug returns the Slug field if it's non-nil, zero value otherwise. +func (e *Enterprise) GetSlug() string { + if e == nil || e.Slug == nil { + return "" + } + return *e.Slug +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (e *Enterprise) GetUpdatedAt() Timestamp { + if e == nil || e.UpdatedAt == nil { + return Timestamp{} + } + return *e.UpdatedAt +} + +// GetWebsiteURL returns the WebsiteURL field if it's non-nil, zero value otherwise. +func (e *Enterprise) GetWebsiteURL() string { + if e == nil || e.WebsiteURL == nil { + return "" + } + return *e.WebsiteURL +} + +// GetDiscountAmount returns the DiscountAmount field. +func (e *EnterpriseAggregatedUsageItem) GetDiscountAmount() float64 { + if e == nil { + return 0 + } + return e.DiscountAmount +} + +// GetDiscountQuantity returns the DiscountQuantity field. +func (e *EnterpriseAggregatedUsageItem) GetDiscountQuantity() float64 { + if e == nil { + return 0 + } + return e.DiscountQuantity +} + +// GetGrossAmount returns the GrossAmount field. +func (e *EnterpriseAggregatedUsageItem) GetGrossAmount() float64 { + if e == nil { + return 0 + } + return e.GrossAmount +} + +// GetGrossQuantity returns the GrossQuantity field. +func (e *EnterpriseAggregatedUsageItem) GetGrossQuantity() float64 { + if e == nil { + return 0 + } + return e.GrossQuantity +} + +// GetModel returns the Model field. +func (e *EnterpriseAggregatedUsageItem) GetModel() string { + if e == nil { + return "" + } + return e.Model +} + +// GetNetAmount returns the NetAmount field. +func (e *EnterpriseAggregatedUsageItem) GetNetAmount() float64 { + if e == nil { + return 0 + } + return e.NetAmount +} + +// GetNetQuantity returns the NetQuantity field. +func (e *EnterpriseAggregatedUsageItem) GetNetQuantity() float64 { + if e == nil { + return 0 + } + return e.NetQuantity +} + +// GetPricePerUnit returns the PricePerUnit field. +func (e *EnterpriseAggregatedUsageItem) GetPricePerUnit() float64 { + if e == nil { + return 0 + } + return e.PricePerUnit +} + +// GetProduct returns the Product field. +func (e *EnterpriseAggregatedUsageItem) GetProduct() string { + if e == nil { + return "" + } + return e.Product +} + +// GetSKU returns the SKU field. +func (e *EnterpriseAggregatedUsageItem) GetSKU() string { + if e == nil { + return "" + } + return e.SKU +} + +// GetUnitType returns the UnitType field. +func (e *EnterpriseAggregatedUsageItem) GetUnitType() string { + if e == nil { + return "" + } + return e.UnitType +} + +// GetCostCenter returns the CostCenter field. +func (e *EnterpriseAggregatedUsageReport) GetCostCenter() *BillingCostCenter { + if e == nil { + return nil + } + return e.CostCenter +} + +// GetEnterprise returns the Enterprise field. +func (e *EnterpriseAggregatedUsageReport) GetEnterprise() string { + if e == nil { + return "" + } + return e.Enterprise +} + +// GetModel returns the Model field if it's non-nil, zero value otherwise. +func (e *EnterpriseAggregatedUsageReport) GetModel() string { + if e == nil || e.Model == nil { + return "" + } + return *e.Model +} + +// GetOrganization returns the Organization field if it's non-nil, zero value otherwise. +func (e *EnterpriseAggregatedUsageReport) GetOrganization() string { + if e == nil || e.Organization == nil { + return "" + } + return *e.Organization +} + +// GetProduct returns the Product field if it's non-nil, zero value otherwise. +func (e *EnterpriseAggregatedUsageReport) GetProduct() string { + if e == nil || e.Product == nil { + return "" + } + return *e.Product +} + +// GetTimePeriod returns the TimePeriod field. +func (e *EnterpriseAggregatedUsageReport) GetTimePeriod() EnterpriseUsageTimePeriod { + if e == nil { + return EnterpriseUsageTimePeriod{} + } + return e.TimePeriod +} + +// GetUsageItems returns the UsageItems slice if it's non-nil, nil otherwise. +func (e *EnterpriseAggregatedUsageReport) GetUsageItems() []*EnterpriseAggregatedUsageItem { + if e == nil || e.UsageItems == nil { + return nil + } + return e.UsageItems +} + +// GetUser returns the User field if it's non-nil, zero value otherwise. +func (e *EnterpriseAggregatedUsageReport) GetUser() string { + if e == nil || e.User == nil { + return "" + } + return *e.User +} + +// GetBudgetAlerting returns the BudgetAlerting field. +func (e *EnterpriseBudget) GetBudgetAlerting() *EnterpriseBudgetAlerting { + if e == nil { + return nil + } + return e.BudgetAlerting +} + +// GetBudgetAmount returns the BudgetAmount field if it's non-nil, zero value otherwise. +func (e *EnterpriseBudget) GetBudgetAmount() int { + if e == nil || e.BudgetAmount == nil { + return 0 + } + return *e.BudgetAmount +} + +// GetBudgetEntityName returns the BudgetEntityName field if it's non-nil, zero value otherwise. +func (e *EnterpriseBudget) GetBudgetEntityName() string { + if e == nil || e.BudgetEntityName == nil { + return "" + } + return *e.BudgetEntityName +} + +// GetBudgetProductSKU returns the BudgetProductSKU field if it's non-nil, zero value otherwise. +func (e *EnterpriseBudget) GetBudgetProductSKU() string { + if e == nil || e.BudgetProductSKU == nil { + return "" + } + return *e.BudgetProductSKU +} + +// GetBudgetScope returns the BudgetScope field if it's non-nil, zero value otherwise. +func (e *EnterpriseBudget) GetBudgetScope() string { + if e == nil || e.BudgetScope == nil { + return "" + } + return *e.BudgetScope +} + +// GetBudgetType returns the BudgetType field if it's non-nil, zero value otherwise. +func (e *EnterpriseBudget) GetBudgetType() string { + if e == nil || e.BudgetType == nil { + return "" + } + return *e.BudgetType +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (e *EnterpriseBudget) GetID() string { + if e == nil || e.ID == nil { + return "" + } + return *e.ID +} + +// GetPreventFurtherUsage returns the PreventFurtherUsage field if it's non-nil, zero value otherwise. +func (e *EnterpriseBudget) GetPreventFurtherUsage() bool { + if e == nil || e.PreventFurtherUsage == nil { + return false + } + 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 { + return false + } + return *e.WillAlert +} + +// GetConsumedAmount returns the ConsumedAmount field. +func (e *EnterpriseBudgetUserState) GetConsumedAmount() float64 { + if e == nil { + return 0 + } + return e.ConsumedAmount +} + +// GetOverrideBudgetID returns the OverrideBudgetID field if it's non-nil, zero value otherwise. +func (e *EnterpriseBudgetUserState) GetOverrideBudgetID() string { + if e == nil || e.OverrideBudgetID == nil { + return "" + } + return *e.OverrideBudgetID +} + +// GetTargetAmount returns the TargetAmount field. +func (e *EnterpriseBudgetUserState) GetTargetAmount() float64 { + if e == nil { + return 0 + } + return e.TargetAmount +} + +// GetUser returns the User field if it's non-nil, zero value otherwise. +func (e *EnterpriseBudgetUserState) GetUser() string { + if e == nil || e.User == nil { + return "" + } + return *e.User +} + +// GetHasNextPage returns the HasNextPage field. +func (e *EnterpriseBudgetUserStates) GetHasNextPage() bool { + if e == nil { + return false + } + return e.HasNextPage +} + +// GetTotalCount returns the TotalCount field. +func (e *EnterpriseBudgetUserStates) GetTotalCount() int { + if e == nil { + return 0 + } + return e.TotalCount +} + +// GetUserStates returns the UserStates slice if it's non-nil, nil otherwise. +func (e *EnterpriseBudgetUserStates) GetUserStates() []*EnterpriseBudgetUserState { + if e == nil || e.UserStates == nil { + return nil + } + return e.UserStates +} + +// 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 { + return nil + } + 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 { + return "" + } + return *e.BudgetEntityName +} + +// GetBudgetProductSKU returns the BudgetProductSKU field if it's non-nil, zero value otherwise. +func (e *EnterpriseCreateBudget) GetBudgetProductSKU() string { + if e == nil || e.BudgetProductSKU == nil { + return "" + } + 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 { + return nil + } + 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 { + return 0 + } + return *e.OrganizationID +} + +// GetOrganizationLogin returns the OrganizationLogin field if it's non-nil, zero value otherwise. +func (e *EnterpriseCustomPropertiesValues) GetOrganizationLogin() string { + if e == nil || e.OrganizationLogin == nil { + return "" + } + 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 +} + +// GetSortOrder returns the SortOrder field. +func (e *EnterpriseGetUserStatesOptions) GetSortOrder() int { + if e == nil { + return 0 + } + return e.SortOrder +} + +// GetThresholdLowerBound returns the ThresholdLowerBound field. +func (e *EnterpriseGetUserStatesOptions) GetThresholdLowerBound() float64 { + if e == nil { + return 0 + } + return e.ThresholdLowerBound +} + +// GetThresholdUpperBound returns the ThresholdUpperBound field. +func (e *EnterpriseGetUserStatesOptions) GetThresholdUpperBound() float64 { + if e == nil { + return 0 + } + return e.ThresholdUpperBound +} + +// GetUser returns the User field. +func (e *EnterpriseGetUserStatesOptions) GetUser() string { + if e == nil { + return "" + } + return e.User +} + +// 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 { + return false + } + 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 { + return "" + } + 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 { + return "" + } + return *e.GithubComProfile +} + +// GetGithubComSamlNameID returns the GithubComSamlNameID field if it's non-nil, zero value otherwise. +func (e *EnterpriseLicensedUsers) GetGithubComSamlNameID() string { + if e == nil || e.GithubComSamlNameID == nil { + return "" + } + return *e.GithubComSamlNameID +} + +// GetGithubComTwoFactorAuth returns the GithubComTwoFactorAuth field if it's non-nil, zero value otherwise. +func (e *EnterpriseLicensedUsers) GetGithubComTwoFactorAuth() bool { + if e == nil || e.GithubComTwoFactorAuth == nil { + return false + } + 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 { + return "" + } + return *e.VisualStudioLicenseStatus +} + +// GetVisualStudioSubscriptionEmail returns the VisualStudioSubscriptionEmail field if it's non-nil, zero value otherwise. +func (e *EnterpriseLicensedUsers) GetVisualStudioSubscriptionEmail() string { + if e == nil || e.VisualStudioSubscriptionEmail == nil { + return "" + } + 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 { + return nil + } + 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 { + return false + } + return *e.HasNextPage +} + +// GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. +func (e *EnterpriseListBudgets) GetTotalCount() int { + if e == nil || e.TotalCount == nil { + return 0 + } + return *e.TotalCount +} + +// GetScope returns the Scope field. +func (e *EnterpriseListBudgetsOptions) GetScope() string { + if e == nil { + return "" + } + return e.Scope +} + +// GetUser returns the User field. +func (e *EnterpriseListBudgetsOptions) GetUser() string { + if e == nil { + return "" + } + return e.User +} + +// GetModel returns the Model field. +func (e *EnterprisePremiumRequestUsageReportOptions) GetModel() string { + if e == nil { + return "" + } + return e.Model +} + +// GetOrganization returns the Organization field. +func (e *EnterprisePremiumRequestUsageReportOptions) GetOrganization() string { + if e == nil { + return "" + } + return e.Organization +} + +// GetProduct returns the Product field. +func (e *EnterprisePremiumRequestUsageReportOptions) GetProduct() string { + if e == nil { + return "" + } + return e.Product +} + +// GetUser returns the User field. +func (e *EnterprisePremiumRequestUsageReportOptions) GetUser() string { + if e == nil { + return "" + } + return e.User +} + +// GetAllowsPublicRepositories returns the AllowsPublicRepositories field if it's non-nil, zero value otherwise. +func (e *EnterpriseRunnerGroup) GetAllowsPublicRepositories() bool { + if e == nil || e.AllowsPublicRepositories == nil { + return false + } + return *e.AllowsPublicRepositories +} + +// GetDefault returns the Default field if it's non-nil, zero value otherwise. +func (e *EnterpriseRunnerGroup) GetDefault() bool { + if e == nil || e.Default == nil { + return false + } + return *e.Default +} + +// GetHostedRunnersURL returns the HostedRunnersURL field if it's non-nil, zero value otherwise. +func (e *EnterpriseRunnerGroup) GetHostedRunnersURL() string { + if e == nil || e.HostedRunnersURL == nil { + return "" + } + return *e.HostedRunnersURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (e *EnterpriseRunnerGroup) GetID() int64 { + if e == nil || e.ID == nil { + return 0 + } + return *e.ID +} + +// GetInherited returns the Inherited field if it's non-nil, zero value otherwise. +func (e *EnterpriseRunnerGroup) GetInherited() bool { + if e == nil || e.Inherited == nil { + return false + } + return *e.Inherited +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (e *EnterpriseRunnerGroup) GetName() string { + if e == nil || e.Name == nil { + return "" + } + return *e.Name +} + +// GetNetworkConfigurationID returns the NetworkConfigurationID field if it's non-nil, zero value otherwise. +func (e *EnterpriseRunnerGroup) GetNetworkConfigurationID() string { + if e == nil || e.NetworkConfigurationID == nil { + return "" + } + return *e.NetworkConfigurationID +} + +// GetRestrictedToWorkflows returns the RestrictedToWorkflows field if it's non-nil, zero value otherwise. +func (e *EnterpriseRunnerGroup) GetRestrictedToWorkflows() bool { + if e == nil || e.RestrictedToWorkflows == nil { + return false + } + return *e.RestrictedToWorkflows +} + +// GetRunnersURL returns the RunnersURL field if it's non-nil, zero value otherwise. +func (e *EnterpriseRunnerGroup) GetRunnersURL() string { + if e == nil || e.RunnersURL == nil { + return "" + } + return *e.RunnersURL +} + +// GetSelectedOrganizationsURL returns the SelectedOrganizationsURL field if it's non-nil, zero value otherwise. +func (e *EnterpriseRunnerGroup) GetSelectedOrganizationsURL() string { + if e == nil || e.SelectedOrganizationsURL == nil { + return "" + } + 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 { + return "" + } + return *e.Visibility +} + +// GetWorkflowRestrictionsReadOnly returns the WorkflowRestrictionsReadOnly field if it's non-nil, zero value otherwise. +func (e *EnterpriseRunnerGroup) GetWorkflowRestrictionsReadOnly() bool { + if e == nil || e.WorkflowRestrictionsReadOnly == nil { + return false + } + 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 { + return 0 + } + return *e.TotalCount +} + +// GetAdvancedSecurityEnabledForNewRepositories returns the AdvancedSecurityEnabledForNewRepositories field if it's non-nil, zero value otherwise. +func (e *EnterpriseSecurityAnalysisSettings) GetAdvancedSecurityEnabledForNewRepositories() bool { + if e == nil || e.AdvancedSecurityEnabledForNewRepositories == nil { + return false + } + return *e.AdvancedSecurityEnabledForNewRepositories +} + +// GetSecretScanningEnabledForNewRepositories returns the SecretScanningEnabledForNewRepositories field if it's non-nil, zero value otherwise. +func (e *EnterpriseSecurityAnalysisSettings) GetSecretScanningEnabledForNewRepositories() bool { + if e == nil || e.SecretScanningEnabledForNewRepositories == nil { + return false + } + return *e.SecretScanningEnabledForNewRepositories +} + +// GetSecretScanningPushProtectionCustomLink returns the SecretScanningPushProtectionCustomLink field if it's non-nil, zero value otherwise. +func (e *EnterpriseSecurityAnalysisSettings) GetSecretScanningPushProtectionCustomLink() string { + if e == nil || e.SecretScanningPushProtectionCustomLink == nil { + return "" + } + return *e.SecretScanningPushProtectionCustomLink +} + +// GetSecretScanningPushProtectionEnabledForNewRepositories returns the SecretScanningPushProtectionEnabledForNewRepositories field if it's non-nil, zero value otherwise. +func (e *EnterpriseSecurityAnalysisSettings) GetSecretScanningPushProtectionEnabledForNewRepositories() bool { + if e == nil || e.SecretScanningPushProtectionEnabledForNewRepositories == nil { + return false + } + return *e.SecretScanningPushProtectionEnabledForNewRepositories +} + +// GetSecretScanningValidityChecksEnabled returns the SecretScanningValidityChecksEnabled field if it's non-nil, zero value otherwise. +func (e *EnterpriseSecurityAnalysisSettings) GetSecretScanningValidityChecksEnabled() bool { + if e == nil || e.SecretScanningValidityChecksEnabled == nil { + return false + } + 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 { + return "" + } + 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 { + return "" + } + 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 { + return "" + } + return *e.Description +} + +// GetGroupID returns the GroupID field if it's non-nil, zero value otherwise. +func (e *EnterpriseTeamCreateOrUpdateRequest) GetGroupID() string { + if e == nil || e.GroupID == nil { + return "" + } + 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 { + return "" + } + return *e.OrganizationSelectionType +} + +// GetBudgetAlerting returns the BudgetAlerting field. +func (e *EnterpriseUpdateBudget) GetBudgetAlerting() *EnterpriseBudgetAlerting { + if e == nil { + return nil + } + return e.BudgetAlerting +} + +// GetBudgetAmount returns the BudgetAmount field if it's non-nil, zero value otherwise. +func (e *EnterpriseUpdateBudget) GetBudgetAmount() int { + if e == nil || e.BudgetAmount == nil { + return 0 + } + return *e.BudgetAmount +} + +// GetBudgetEntityName returns the BudgetEntityName field if it's non-nil, zero value otherwise. +func (e *EnterpriseUpdateBudget) GetBudgetEntityName() string { + if e == nil || e.BudgetEntityName == nil { + return "" + } + return *e.BudgetEntityName +} + +// GetBudgetProductSKU returns the BudgetProductSKU field if it's non-nil, zero value otherwise. +func (e *EnterpriseUpdateBudget) GetBudgetProductSKU() string { + if e == nil || e.BudgetProductSKU == nil { + return "" + } + return *e.BudgetProductSKU +} + +// GetBudgetScope returns the BudgetScope field if it's non-nil, zero value otherwise. +func (e *EnterpriseUpdateBudget) GetBudgetScope() string { + if e == nil || e.BudgetScope == nil { + return "" + } + return *e.BudgetScope +} + +// GetBudgetType returns the BudgetType field if it's non-nil, zero value otherwise. +func (e *EnterpriseUpdateBudget) GetBudgetType() string { + if e == nil || e.BudgetType == nil { + return "" + } + return *e.BudgetType +} + +// GetPreventFurtherUsage returns the PreventFurtherUsage field if it's non-nil, zero value otherwise. +func (e *EnterpriseUpdateBudget) GetPreventFurtherUsage() bool { + if e == nil || e.PreventFurtherUsage == nil { + return false + } + return *e.PreventFurtherUsage +} + +// GetDate returns the Date field. +func (e *EnterpriseUsageItem) GetDate() string { + if e == nil { + return "" + } + return e.Date +} + +// GetDiscountAmount returns the DiscountAmount field. +func (e *EnterpriseUsageItem) GetDiscountAmount() float64 { + if e == nil { + return 0 + } + return e.DiscountAmount +} + +// GetGrossAmount returns the GrossAmount field. +func (e *EnterpriseUsageItem) GetGrossAmount() float64 { + if e == nil { + return 0 + } + return e.GrossAmount +} + +// GetNetAmount returns the NetAmount field. +func (e *EnterpriseUsageItem) GetNetAmount() float64 { + if e == nil { + return 0 + } + return e.NetAmount +} + +// GetOrganizationName returns the OrganizationName field. +func (e *EnterpriseUsageItem) GetOrganizationName() string { + if e == nil { + return "" + } + return e.OrganizationName +} + +// GetPricePerUnit returns the PricePerUnit field. +func (e *EnterpriseUsageItem) GetPricePerUnit() float64 { + if e == nil { + return 0 + } + return e.PricePerUnit +} + +// GetProduct returns the Product field. +func (e *EnterpriseUsageItem) GetProduct() string { + if e == nil { + return "" + } + return e.Product +} + +// GetQuantity returns the Quantity field. +func (e *EnterpriseUsageItem) GetQuantity() float64 { + if e == nil { + return 0 + } + return e.Quantity +} + +// GetRepositoryName returns the RepositoryName field if it's non-nil, zero value otherwise. +func (e *EnterpriseUsageItem) GetRepositoryName() string { + if e == nil || e.RepositoryName == nil { + return "" + } + return *e.RepositoryName +} + +// GetSKU returns the SKU field. +func (e *EnterpriseUsageItem) GetSKU() string { + if e == nil { + return "" + } + return e.SKU +} + +// GetUnitType returns the UnitType field. +func (e *EnterpriseUsageItem) GetUnitType() string { + if e == nil { + return "" + } + return e.UnitType +} + +// GetUsageItems returns the UsageItems slice if it's non-nil, nil otherwise. +func (e *EnterpriseUsageReport) GetUsageItems() []*EnterpriseUsageItem { + if e == nil || e.UsageItems == nil { + return nil + } + return e.UsageItems +} + +// GetCostCenterID returns the CostCenterID field. +func (e *EnterpriseUsageReportOptions) GetCostCenterID() string { + if e == nil { + return "" + } + return e.CostCenterID +} + +// GetDay returns the Day field. +func (e *EnterpriseUsageReportOptions) GetDay() int { + if e == nil { + return 0 + } + return e.Day +} + +// GetMonth returns the Month field. +func (e *EnterpriseUsageReportOptions) GetMonth() int { + if e == nil { + return 0 + } + return e.Month +} + +// GetYear returns the Year field. +func (e *EnterpriseUsageReportOptions) GetYear() int { + if e == nil { + return 0 + } + return e.Year +} + +// GetDiscountAmount returns the DiscountAmount field. +func (e *EnterpriseUsageSummaryItem) GetDiscountAmount() float64 { + if e == nil { + return 0 + } + return e.DiscountAmount +} + +// GetDiscountQuantity returns the DiscountQuantity field. +func (e *EnterpriseUsageSummaryItem) GetDiscountQuantity() float64 { + if e == nil { + return 0 + } + return e.DiscountQuantity +} + +// GetGrossAmount returns the GrossAmount field. +func (e *EnterpriseUsageSummaryItem) GetGrossAmount() float64 { + if e == nil { + return 0 + } + return e.GrossAmount +} + +// GetGrossQuantity returns the GrossQuantity field. +func (e *EnterpriseUsageSummaryItem) GetGrossQuantity() float64 { + if e == nil { + return 0 + } + return e.GrossQuantity +} + +// GetNetAmount returns the NetAmount field. +func (e *EnterpriseUsageSummaryItem) GetNetAmount() float64 { + if e == nil { + return 0 + } + return e.NetAmount +} + +// GetNetQuantity returns the NetQuantity field. +func (e *EnterpriseUsageSummaryItem) GetNetQuantity() float64 { + if e == nil { + return 0 + } + return e.NetQuantity +} + +// GetPricePerUnit returns the PricePerUnit field. +func (e *EnterpriseUsageSummaryItem) GetPricePerUnit() float64 { + if e == nil { + return 0 + } + return e.PricePerUnit +} + +// GetProduct returns the Product field. +func (e *EnterpriseUsageSummaryItem) GetProduct() string { + if e == nil { + return "" + } + return e.Product +} + +// GetSKU returns the SKU field. +func (e *EnterpriseUsageSummaryItem) GetSKU() string { + if e == nil { + return "" + } + return e.SKU +} + +// GetUnitType returns the UnitType field. +func (e *EnterpriseUsageSummaryItem) GetUnitType() string { + if e == nil { + return "" + } + return e.UnitType +} + +// GetOrganization returns the Organization field. +func (e *EnterpriseUsageSummaryOptions) GetOrganization() string { + if e == nil { + return "" + } + return e.Organization +} + +// GetProduct returns the Product field. +func (e *EnterpriseUsageSummaryOptions) GetProduct() string { + if e == nil { + return "" + } + return e.Product +} + +// GetRepository returns the Repository field. +func (e *EnterpriseUsageSummaryOptions) GetRepository() string { + if e == nil { + return "" + } + return e.Repository +} + +// GetSKU returns the SKU field. +func (e *EnterpriseUsageSummaryOptions) GetSKU() string { + if e == nil { + return "" + } + return e.SKU +} + +// GetCostCenter returns the CostCenter field. +func (e *EnterpriseUsageSummaryReport) GetCostCenter() *BillingCostCenter { + if e == nil { + return nil + } + return e.CostCenter +} + +// GetEnterprise returns the Enterprise field. +func (e *EnterpriseUsageSummaryReport) GetEnterprise() string { + if e == nil { + return "" + } + return e.Enterprise +} + +// GetOrganization returns the Organization field if it's non-nil, zero value otherwise. +func (e *EnterpriseUsageSummaryReport) GetOrganization() string { + if e == nil || e.Organization == nil { + return "" + } + return *e.Organization +} + +// GetProduct returns the Product field if it's non-nil, zero value otherwise. +func (e *EnterpriseUsageSummaryReport) GetProduct() string { + if e == nil || e.Product == nil { + return "" + } + return *e.Product +} + +// GetRepository returns the Repository field if it's non-nil, zero value otherwise. +func (e *EnterpriseUsageSummaryReport) GetRepository() string { + if e == nil || e.Repository == nil { + return "" + } + return *e.Repository +} + +// GetSKU returns the SKU field if it's non-nil, zero value otherwise. +func (e *EnterpriseUsageSummaryReport) GetSKU() string { + if e == nil || e.SKU == nil { + return "" + } + return *e.SKU +} + +// GetTimePeriod returns the TimePeriod field. +func (e *EnterpriseUsageSummaryReport) GetTimePeriod() EnterpriseUsageTimePeriod { + if e == nil { + return EnterpriseUsageTimePeriod{} + } + return e.TimePeriod +} + +// GetUsageItems returns the UsageItems slice if it's non-nil, nil otherwise. +func (e *EnterpriseUsageSummaryReport) GetUsageItems() []*EnterpriseUsageSummaryItem { + if e == nil || e.UsageItems == nil { + return nil + } + return e.UsageItems +} + +// GetDay returns the Day field if it's non-nil, zero value otherwise. +func (e *EnterpriseUsageTimePeriod) GetDay() int { + if e == nil || e.Day == nil { + return 0 + } + return *e.Day +} + +// GetMonth returns the Month field if it's non-nil, zero value otherwise. +func (e *EnterpriseUsageTimePeriod) GetMonth() int { + if e == nil || e.Month == nil { + return 0 + } + return *e.Month +} + +// GetYear returns the Year field. +func (e *EnterpriseUsageTimePeriod) GetYear() int { + if e == nil { + return 0 + } + return e.Year +} + +// GetCanAdminsBypass returns the CanAdminsBypass field if it's non-nil, zero value otherwise. +func (e *Environment) GetCanAdminsBypass() bool { + if e == nil || e.CanAdminsBypass == nil { + return false + } + return *e.CanAdminsBypass +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (e *Environment) GetCreatedAt() Timestamp { + if e == nil || e.CreatedAt == nil { + return Timestamp{} + } + return *e.CreatedAt +} + +// GetDeploymentBranchPolicy returns the DeploymentBranchPolicy field. +func (e *Environment) GetDeploymentBranchPolicy() *BranchPolicy { + if e == nil { + return nil + } + return e.DeploymentBranchPolicy +} + +// GetEnvironmentName returns the EnvironmentName field if it's non-nil, zero value otherwise. +func (e *Environment) GetEnvironmentName() string { + if e == nil || e.EnvironmentName == nil { + return "" + } + return *e.EnvironmentName +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (e *Environment) GetHTMLURL() string { + if e == nil || e.HTMLURL == nil { + return "" + } + return *e.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (e *Environment) GetID() int64 { + if e == nil || e.ID == nil { + return 0 + } + return *e.ID +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (e *Environment) GetName() string { + if e == nil || e.Name == nil { + return "" + } + return *e.Name +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (e *Environment) GetNodeID() string { + if e == nil || e.NodeID == nil { + return "" + } + return *e.NodeID +} + +// GetOwner returns the Owner field if it's non-nil, zero value otherwise. +func (e *Environment) GetOwner() string { + if e == nil || e.Owner == nil { + return "" + } + 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 { + return "" + } + 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 { + return Timestamp{} + } + return *e.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (e *Environment) GetURL() string { + if e == nil || e.URL == nil { + return "" + } + return *e.URL +} + +// GetWaitTimer returns the WaitTimer field if it's non-nil, zero value otherwise. +func (e *Environment) GetWaitTimer() int { + if e == nil || e.WaitTimer == nil { + return 0 + } + 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 { + return 0 + } + return *e.TotalCount +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (e *EnvReviewers) GetID() int64 { + if e == nil || e.ID == nil { + return 0 + } + return *e.ID +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (e *EnvReviewers) GetType() string { + if e == nil || e.Type == nil { + return "" + } + 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 { + return 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 { + return nil + } + 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 { + return nil + } + return e.Actor +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (e *Event) GetCreatedAt() Timestamp { + if e == nil || e.CreatedAt == nil { + return Timestamp{} + } + return *e.CreatedAt +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (e *Event) GetID() string { + if e == nil || e.ID == nil { + return "" + } + return *e.ID +} + +// GetOrg returns the Org field. +func (e *Event) GetOrg() *Organization { + if e == nil { + return nil + } + return e.Org +} + +// GetPublic returns the Public field if it's non-nil, zero value otherwise. +func (e *Event) GetPublic() bool { + if e == nil || e.Public == nil { + return false + } + return *e.Public +} + +// GetRawPayload returns the RawPayload field if it's non-nil, zero value otherwise. +func (e *Event) GetRawPayload() json.RawMessage { + if e == nil || e.RawPayload == nil { + return json.RawMessage{} + } + return *e.RawPayload +} + +// GetRepo returns the Repo field. +func (e *Event) GetRepo() *Repository { + if e == nil { + return nil + } + return e.Repo +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (e *Event) GetType() string { + if e == nil || e.Type == nil { + return "" + } + return *e.Type +} + +// GetGroupID returns the GroupID field if it's non-nil, zero value otherwise. +func (e *ExternalGroup) GetGroupID() int64 { + if e == nil || e.GroupID == nil { + return 0 + } + return *e.GroupID +} + +// GetGroupName returns the GroupName field if it's non-nil, zero value otherwise. +func (e *ExternalGroup) GetGroupName() string { + if e == nil || e.GroupName == nil { + return "" + } + 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 { + return 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 { + return "" + } + return *e.MemberEmail +} + +// GetMemberID returns the MemberID field if it's non-nil, zero value otherwise. +func (e *ExternalGroupMember) GetMemberID() int64 { + if e == nil || e.MemberID == nil { + return 0 + } + return *e.MemberID +} + +// GetMemberLogin returns the MemberLogin field if it's non-nil, zero value otherwise. +func (e *ExternalGroupMember) GetMemberLogin() string { + if e == nil || e.MemberLogin == nil { + return "" + } + return *e.MemberLogin +} + +// GetMemberName returns the MemberName field if it's non-nil, zero value otherwise. +func (e *ExternalGroupMember) GetMemberName() string { + if e == nil || e.MemberName == nil { + return "" + } + return *e.MemberName +} + +// GetTeamID returns the TeamID field if it's non-nil, zero value otherwise. +func (e *ExternalGroupTeam) GetTeamID() int64 { + if e == nil || e.TeamID == nil { + return 0 + } + return *e.TeamID +} + +// GetTeamName returns the TeamName field if it's non-nil, zero value otherwise. +func (e *ExternalGroupTeam) GetTeamName() string { + if e == nil || e.TeamName == nil { + return "" + } + return *e.TeamName +} + +// GetHRef returns the HRef field if it's non-nil, zero value otherwise. +func (f *FeedLink) GetHRef() string { + if f == nil || f.HRef == nil { + return "" + } + return *f.HRef +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (f *FeedLink) GetType() string { + if f == nil || f.Type == nil { + return "" + } + return *f.Type +} + +// GetCurrentUser returns the CurrentUser field. +func (f *FeedLinks) GetCurrentUser() *FeedLink { + if f == nil { + return nil + } + return f.CurrentUser +} + +// GetCurrentUserActor returns the CurrentUserActor field. +func (f *FeedLinks) GetCurrentUserActor() *FeedLink { + if f == nil { + return nil + } + return f.CurrentUserActor +} + +// GetCurrentUserOrganization returns the CurrentUserOrganization field. +func (f *FeedLinks) GetCurrentUserOrganization() *FeedLink { + if f == nil { + return nil + } + 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 { + return nil + } + return f.CurrentUserPublic +} + +// GetTimeline returns the Timeline field. +func (f *FeedLinks) GetTimeline() *FeedLink { + if f == nil { + return nil + } + return f.Timeline +} + +// GetUser returns the User field. +func (f *FeedLinks) GetUser() *FeedLink { + if f == nil { + return nil + } + return f.User +} + +// GetCurrentUserActorURL returns the CurrentUserActorURL field if it's non-nil, zero value otherwise. +func (f *Feeds) GetCurrentUserActorURL() string { + if f == nil || f.CurrentUserActorURL == nil { + return "" + } + return *f.CurrentUserActorURL +} + +// GetCurrentUserOrganizationURL returns the CurrentUserOrganizationURL field if it's non-nil, zero value otherwise. +func (f *Feeds) GetCurrentUserOrganizationURL() string { + if f == nil || f.CurrentUserOrganizationURL == nil { + return "" + } + 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 { + return "" + } + return *f.CurrentUserPublicURL +} + +// GetCurrentUserURL returns the CurrentUserURL field if it's non-nil, zero value otherwise. +func (f *Feeds) GetCurrentUserURL() string { + if f == nil || f.CurrentUserURL == nil { + return "" + } + return *f.CurrentUserURL +} + +// GetLinks returns the Links field. +func (f *Feeds) GetLinks() *FeedLinks { + if f == nil { + return nil + } + return f.Links +} + +// GetTimelineURL returns the TimelineURL field if it's non-nil, zero value otherwise. +func (f *Feeds) GetTimelineURL() string { + if f == nil || f.TimelineURL == nil { + return "" + } + return *f.TimelineURL +} + +// GetUserURL returns the UserURL field if it's non-nil, zero value otherwise. +func (f *Feeds) GetUserURL() string { + if f == nil || f.UserURL == nil { + return "" + } + return *f.UserURL +} + +// GetFieldName returns the FieldName field if it's non-nil, zero value otherwise. +func (f *FieldValue) GetFieldName() string { + if f == nil || f.FieldName == nil { + return "" + } + return *f.FieldName +} + +// GetFieldNodeID returns the FieldNodeID field if it's non-nil, zero value otherwise. +func (f *FieldValue) GetFieldNodeID() string { + if f == nil || f.FieldNodeID == nil { + return "" + } + return *f.FieldNodeID +} + +// GetFieldType returns the FieldType field if it's non-nil, zero value otherwise. +func (f *FieldValue) GetFieldType() string { + if f == nil || f.FieldType == nil { + return "" + } + 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 { + return 0 + } + 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 { + return 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 { + return 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 { + return 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 { + return "" + } + return *f.Identifier +} + +// GetForkee returns the Forkee field. +func (f *ForkEvent) GetForkee() *Repository { + if f == nil { + return nil + } + return f.Forkee +} + +// GetInstallation returns the Installation field. +func (f *ForkEvent) GetInstallation() *Installation { + if f == nil { + return nil + } + return f.Installation +} + +// GetRepo returns the Repo field. +func (f *ForkEvent) GetRepo() *Repository { + if f == nil { + return nil + } + return f.Repo +} + +// GetSender returns the Sender field. +func (f *ForkEvent) GetSender() *User { + if f == nil { + return nil + } + return f.Sender +} + +// GetConfigurationFilePath returns the ConfigurationFilePath field if it's non-nil, zero value otherwise. +func (g *GenerateNotesRequest) GetConfigurationFilePath() string { + if g == nil || g.ConfigurationFilePath == nil { + return "" + } + return *g.ConfigurationFilePath +} + +// GetPreviousTagName returns the PreviousTagName field if it's non-nil, zero value otherwise. +func (g *GenerateNotesRequest) GetPreviousTagName() string { + if g == nil || g.PreviousTagName == nil { + return "" + } + return *g.PreviousTagName +} + +// GetTagName returns the TagName field. +func (g *GenerateNotesRequest) GetTagName() string { + if g == nil { + return "" + } + return g.TagName +} + +// GetTargetCommitish returns the TargetCommitish field if it's non-nil, zero value otherwise. +func (g *GenerateNotesRequest) GetTargetCommitish() string { + if g == nil || g.TargetCommitish == nil { + return "" + } + return *g.TargetCommitish +} + +// GetInclude returns the Include field if it's non-nil, zero value otherwise. +func (g *GetAuditLogOptions) GetInclude() string { + if g == nil || g.Include == nil { + return "" + } + return *g.Include +} + +// GetOrder returns the Order field if it's non-nil, zero value otherwise. +func (g *GetAuditLogOptions) GetOrder() string { + if g == nil || g.Order == nil { + return "" + } + return *g.Order +} + +// GetPhrase returns the Phrase field if it's non-nil, zero value otherwise. +func (g *GetAuditLogOptions) GetPhrase() string { + if g == nil || g.Phrase == nil { + return "" + } + 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 { + return "" + } + return *g.ExcludedAttributes +} + +// GetComments returns the Comments field if it's non-nil, zero value otherwise. +func (g *Gist) GetComments() int { + if g == nil || g.Comments == nil { + return 0 + } + return *g.Comments +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (g *Gist) GetCreatedAt() Timestamp { + if g == nil || g.CreatedAt == nil { + return Timestamp{} + } + return *g.CreatedAt +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (g *Gist) GetDescription() string { + if g == nil || g.Description == nil { + return "" + } + return *g.Description +} + +// GetFiles returns the Files map if it's non-nil, an empty map otherwise. +func (g *Gist) GetFiles() map[GistFilename]GistFile { + if g == nil || g.Files == nil { + return map[GistFilename]GistFile{} + } + return g.Files +} + +// GetGitPullURL returns the GitPullURL field if it's non-nil, zero value otherwise. +func (g *Gist) GetGitPullURL() string { + if g == nil || g.GitPullURL == nil { + return "" + } + return *g.GitPullURL +} + +// GetGitPushURL returns the GitPushURL field if it's non-nil, zero value otherwise. +func (g *Gist) GetGitPushURL() string { + if g == nil || g.GitPushURL == nil { + return "" + } + return *g.GitPushURL +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (g *Gist) GetHTMLURL() string { + if g == nil || g.HTMLURL == nil { + return "" + } + return *g.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (g *Gist) GetID() string { + if g == nil || g.ID == nil { + return "" + } + return *g.ID +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (g *Gist) GetNodeID() string { + if g == nil || g.NodeID == nil { + return "" + } + return *g.NodeID +} + +// GetOwner returns the Owner field. +func (g *Gist) GetOwner() *User { + if g == nil { + return nil + } + return g.Owner +} + +// GetPublic returns the Public field if it's non-nil, zero value otherwise. +func (g *Gist) GetPublic() bool { + if g == nil || g.Public == nil { + return false + } + return *g.Public +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (g *Gist) GetUpdatedAt() Timestamp { + if g == nil || g.UpdatedAt == nil { + return Timestamp{} + } + return *g.UpdatedAt +} + +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (g *GistComment) GetBody() string { + if g == nil || g.Body == nil { + return "" + } + return *g.Body +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (g *GistComment) GetCreatedAt() Timestamp { + if g == nil || g.CreatedAt == nil { + return Timestamp{} + } + return *g.CreatedAt +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (g *GistComment) GetID() int64 { + if g == nil || g.ID == nil { + return 0 + } + return *g.ID +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (g *GistComment) GetURL() string { + if g == nil || g.URL == nil { + return "" + } + return *g.URL +} + +// GetUser returns the User field. +func (g *GistComment) GetUser() *User { + if g == nil { + return nil + } + return g.User +} + +// GetChangeStatus returns the ChangeStatus field. +func (g *GistCommit) GetChangeStatus() *CommitStats { + if g == nil { + return nil + } + return g.ChangeStatus +} + +// GetCommittedAt returns the CommittedAt field if it's non-nil, zero value otherwise. +func (g *GistCommit) GetCommittedAt() Timestamp { + if g == nil || g.CommittedAt == nil { + return Timestamp{} + } + return *g.CommittedAt +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (g *GistCommit) GetNodeID() string { + if g == nil || g.NodeID == nil { + return "" + } + return *g.NodeID +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (g *GistCommit) GetURL() string { + if g == nil || g.URL == nil { + return "" + } + return *g.URL +} + +// GetUser returns the User field. +func (g *GistCommit) GetUser() *User { + if g == nil { + return nil + } + return g.User +} + +// GetVersion returns the Version field if it's non-nil, zero value otherwise. +func (g *GistCommit) GetVersion() string { + if g == nil || g.Version == nil { + return "" + } + return *g.Version +} + +// GetContent returns the Content field if it's non-nil, zero value otherwise. +func (g *GistFile) GetContent() string { + if g == nil || g.Content == nil { + return "" + } + return *g.Content +} + +// GetFilename returns the Filename field if it's non-nil, zero value otherwise. +func (g *GistFile) GetFilename() string { + if g == nil || g.Filename == nil { + return "" + } + return *g.Filename +} + +// GetLanguage returns the Language field if it's non-nil, zero value otherwise. +func (g *GistFile) GetLanguage() string { + if g == nil || g.Language == nil { + return "" + } + return *g.Language +} + +// GetRawURL returns the RawURL field if it's non-nil, zero value otherwise. +func (g *GistFile) GetRawURL() string { + if g == nil || g.RawURL == nil { + return "" + } + return *g.RawURL +} + +// GetSize returns the Size field if it's non-nil, zero value otherwise. +func (g *GistFile) GetSize() int { + if g == nil || g.Size == nil { + return 0 + } + return *g.Size +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (g *GistFile) GetType() string { + if g == nil || g.Type == nil { + return "" + } + return *g.Type +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (g *GistFork) GetCreatedAt() Timestamp { + if g == nil || g.CreatedAt == nil { + return Timestamp{} + } + return *g.CreatedAt +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (g *GistFork) GetID() string { + if g == nil || g.ID == nil { + return "" + } + return *g.ID +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (g *GistFork) GetNodeID() string { + if g == nil || g.NodeID == nil { + return "" + } + return *g.NodeID +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (g *GistFork) GetUpdatedAt() Timestamp { + if g == nil || g.UpdatedAt == nil { + return Timestamp{} + } + return *g.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (g *GistFork) GetURL() string { + if g == nil || g.URL == nil { + return "" + } + return *g.URL +} + +// GetUser returns the User field. +func (g *GistFork) GetUser() *User { + if g == nil { + return nil + } + 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 { + return 0 + } + return *g.PrivateGists +} + +// GetPublicGists returns the PublicGists field if it's non-nil, zero value otherwise. +func (g *GistStats) GetPublicGists() int { + if g == nil || g.PublicGists == nil { + return 0 + } + return *g.PublicGists +} + +// GetTotalGists returns the TotalGists field if it's non-nil, zero value otherwise. +func (g *GistStats) GetTotalGists() int { + if g == nil || g.TotalGists == nil { + return 0 + } + return *g.TotalGists +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (g *GitHubAppAuthorizationEvent) GetAction() string { + if g == nil || g.Action == nil { + return "" + } + return *g.Action +} + +// GetInstallation returns the Installation field. +func (g *GitHubAppAuthorizationEvent) GetInstallation() *Installation { + if g == nil { + return nil + } + return g.Installation +} + +// GetSender returns the Sender field. +func (g *GitHubAppAuthorizationEvent) GetSender() *User { + if g == nil { + return nil + } + return g.Sender +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (g *Gitignore) GetName() string { + if g == nil || g.Name == nil { + return "" + } + return *g.Name +} + +// GetSource returns the Source field if it's non-nil, zero value otherwise. +func (g *Gitignore) GetSource() string { + if g == nil || g.Source == nil { + return "" + } + return *g.Source +} + +// GetSHA returns the SHA field if it's non-nil, zero value otherwise. +func (g *GitObject) GetSHA() string { + if g == nil || g.SHA == nil { + return "" + } + return *g.SHA +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (g *GitObject) GetType() string { + if g == nil || g.Type == nil { + return "" + } + return *g.Type +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (g *GitObject) GetURL() string { + if g == nil || g.URL == nil { + return "" + } + 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 { + return Timestamp{} + } + return *g.GithubReviewedAt +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (g *GlobalSecurityAdvisory) GetID() int64 { + if g == nil || g.ID == nil { + return 0 + } + return *g.ID +} + +// GetNVDPublishedAt returns the NVDPublishedAt field if it's non-nil, zero value otherwise. +func (g *GlobalSecurityAdvisory) GetNVDPublishedAt() Timestamp { + if g == nil || g.NVDPublishedAt == nil { + return 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 { + return "" + } + return *g.RepositoryAdvisoryURL +} + +// GetSourceCodeLocation returns the SourceCodeLocation field if it's non-nil, zero value otherwise. +func (g *GlobalSecurityAdvisory) GetSourceCodeLocation() string { + if g == nil || g.SourceCodeLocation == nil { + return "" + } + return *g.SourceCodeLocation +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (g *GlobalSecurityAdvisory) GetType() string { + if g == nil || g.Type == nil { + return "" + } + 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 { + return "" + } + return *g.FirstPatchedVersion +} + +// GetPackage returns the Package field. +func (g *GlobalSecurityVulnerability) GetPackage() *VulnerabilityPackage { + if g == nil { + return nil + } + 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 { + return "" + } + return *g.VulnerableVersionRange +} + +// GetInstallation returns the Installation field. +func (g *GollumEvent) GetInstallation() *Installation { + if g == nil { + return nil + } + return g.Installation +} + +// GetOrg returns the Org field. +func (g *GollumEvent) GetOrg() *Organization { + if g == nil { + return nil + } + 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 { + return nil + } + return g.Repo +} + +// GetSender returns the Sender field. +func (g *GollumEvent) GetSender() *User { + if g == nil { + return nil + } + 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 { + return "" + } + return *g.Email +} + +// GetVerified returns the Verified field if it's non-nil, zero value otherwise. +func (g *GPGEmail) GetVerified() bool { + if g == nil || g.Verified == nil { + return false + } + return *g.Verified +} + +// GetCanCertify returns the CanCertify field if it's non-nil, zero value otherwise. +func (g *GPGKey) GetCanCertify() bool { + if g == nil || g.CanCertify == nil { + return false + } + return *g.CanCertify +} + +// GetCanEncryptComms returns the CanEncryptComms field if it's non-nil, zero value otherwise. +func (g *GPGKey) GetCanEncryptComms() bool { + if g == nil || g.CanEncryptComms == nil { + return false + } + return *g.CanEncryptComms +} + +// GetCanEncryptStorage returns the CanEncryptStorage field if it's non-nil, zero value otherwise. +func (g *GPGKey) GetCanEncryptStorage() bool { + if g == nil || g.CanEncryptStorage == nil { + return false + } + return *g.CanEncryptStorage +} + +// GetCanSign returns the CanSign field if it's non-nil, zero value otherwise. +func (g *GPGKey) GetCanSign() bool { + if g == nil || g.CanSign == nil { + return false + } + return *g.CanSign +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (g *GPGKey) GetCreatedAt() Timestamp { + if g == nil || g.CreatedAt == nil { + return 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 { + return Timestamp{} + } + return *g.ExpiresAt +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (g *GPGKey) GetID() int64 { + if g == nil || g.ID == nil { + return 0 + } + return *g.ID +} + +// GetKeyID returns the KeyID field if it's non-nil, zero value otherwise. +func (g *GPGKey) GetKeyID() string { + if g == nil || g.KeyID == nil { + return "" + } + return *g.KeyID +} + +// GetPrimaryKeyID returns the PrimaryKeyID field if it's non-nil, zero value otherwise. +func (g *GPGKey) GetPrimaryKeyID() int64 { + if g == nil || g.PrimaryKeyID == nil { + return 0 + } + return *g.PrimaryKeyID +} + +// GetPublicKey returns the PublicKey field if it's non-nil, zero value otherwise. +func (g *GPGKey) GetPublicKey() string { + if g == nil || g.PublicKey == nil { + return "" + } + return *g.PublicKey +} + +// GetRawKey returns the RawKey field if it's non-nil, zero value otherwise. +func (g *GPGKey) GetRawKey() string { + if g == nil || g.RawKey == nil { + return "" + } + 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 { + return nil + } + return g.App +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (g *Grant) GetCreatedAt() Timestamp { + if g == nil || g.CreatedAt == nil { + return Timestamp{} + } + return *g.CreatedAt +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (g *Grant) GetID() int64 { + if g == nil || g.ID == nil { + return 0 + } + 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 { + return Timestamp{} + } + return *g.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (g *Grant) GetURL() string { + if g == nil || g.URL == nil { + return "" + } + 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 { + return nil + } + return h.Author +} + +// GetCommitter returns the Committer field. +func (h *HeadCommit) GetCommitter() *CommitAuthor { + if h == nil { + return nil + } + return h.Committer +} + +// GetDistinct returns the Distinct field if it's non-nil, zero value otherwise. +func (h *HeadCommit) GetDistinct() bool { + if h == nil || h.Distinct == nil { + return false + } + return *h.Distinct +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (h *HeadCommit) GetID() string { + if h == nil || h.ID == nil { + return "" + } + return *h.ID +} + +// GetMessage returns the Message field if it's non-nil, zero value otherwise. +func (h *HeadCommit) GetMessage() string { + if h == nil || h.Message == nil { + return "" + } + 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 { + return "" + } + return *h.SHA +} + +// GetTimestamp returns the Timestamp field if it's non-nil, zero value otherwise. +func (h *HeadCommit) GetTimestamp() Timestamp { + if h == nil || h.Timestamp == nil { + return Timestamp{} + } + return *h.Timestamp +} + +// GetTreeID returns the TreeID field if it's non-nil, zero value otherwise. +func (h *HeadCommit) GetTreeID() string { + if h == nil || h.TreeID == nil { + return "" + } + return *h.TreeID +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (h *HeadCommit) GetURL() string { + if h == nil || h.URL == nil { + return "" + } + 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 { + return false + } + return *h.Active +} + +// GetConfig returns the Config field. +func (h *Hook) GetConfig() *HookConfig { + if h == nil { + return nil + } + return h.Config +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (h *Hook) GetCreatedAt() Timestamp { + if h == nil || h.CreatedAt == nil { + return 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 { + return 0 + } + return *h.ID +} + +// GetLastResponse returns the LastResponse map if it's non-nil, an empty map otherwise. +func (h *Hook) GetLastResponse() map[string]any { + if h == nil || h.LastResponse == nil { + return map[string]any{} + } + return h.LastResponse +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (h *Hook) GetName() string { + if h == nil || h.Name == nil { + return "" + } + return *h.Name +} + +// GetPingURL returns the PingURL field if it's non-nil, zero value otherwise. +func (h *Hook) GetPingURL() string { + if h == nil || h.PingURL == nil { + return "" + } + return *h.PingURL +} + +// GetTestURL returns the TestURL field if it's non-nil, zero value otherwise. +func (h *Hook) GetTestURL() string { + if h == nil || h.TestURL == nil { + return "" + } + return *h.TestURL +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (h *Hook) GetType() string { + if h == nil || h.Type == nil { + return "" + } + return *h.Type +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (h *Hook) GetUpdatedAt() Timestamp { + if h == nil || h.UpdatedAt == nil { + return Timestamp{} + } + return *h.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (h *Hook) GetURL() string { + if h == nil || h.URL == nil { + return "" + } + return *h.URL +} + +// GetContentType returns the ContentType field if it's non-nil, zero value otherwise. +func (h *HookConfig) GetContentType() string { + if h == nil || h.ContentType == nil { + return "" + } + return *h.ContentType +} + +// GetInsecureSSL returns the InsecureSSL field if it's non-nil, zero value otherwise. +func (h *HookConfig) GetInsecureSSL() string { + if h == nil || h.InsecureSSL == nil { + return "" + } + return *h.InsecureSSL +} + +// GetSecret returns the Secret field if it's non-nil, zero value otherwise. +func (h *HookConfig) GetSecret() string { + if h == nil || h.Secret == nil { + return "" + } + return *h.Secret +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (h *HookConfig) GetURL() string { + if h == nil || h.URL == nil { + return "" + } + return *h.URL +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (h *HookDelivery) GetAction() string { + if h == nil || h.Action == nil { + return "" + } + return *h.Action +} + +// GetDeliveredAt returns the DeliveredAt field if it's non-nil, zero value otherwise. +func (h *HookDelivery) GetDeliveredAt() Timestamp { + if h == nil || h.DeliveredAt == nil { + return Timestamp{} + } + return *h.DeliveredAt +} + +// 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 +} + +// GetEvent returns the Event field if it's non-nil, zero value otherwise. +func (h *HookDelivery) GetEvent() string { + if h == nil || h.Event == nil { + return "" + } + return *h.Event +} + +// GetGUID returns the GUID field if it's non-nil, zero value otherwise. +func (h *HookDelivery) GetGUID() string { + if h == nil || h.GUID == nil { + return "" + } + return *h.GUID +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (h *HookDelivery) GetID() int64 { + if h == nil || h.ID == nil { + return 0 + } + return *h.ID +} + +// GetInstallationID returns the InstallationID field if it's non-nil, zero value otherwise. +func (h *HookDelivery) GetInstallationID() int64 { + if h == nil || h.InstallationID == nil { + return 0 + } + return *h.InstallationID +} + +// GetRedelivery returns the Redelivery field if it's non-nil, zero value otherwise. +func (h *HookDelivery) GetRedelivery() bool { + if h == nil || h.Redelivery == nil { + return false + } + return *h.Redelivery +} + +// GetRepositoryID returns the RepositoryID field if it's non-nil, zero value otherwise. +func (h *HookDelivery) GetRepositoryID() int64 { + if h == nil || h.RepositoryID == nil { + return 0 + } + return *h.RepositoryID +} + +// GetRequest returns the Request field. +func (h *HookDelivery) GetRequest() *HookRequest { + if h == nil { + return nil + } + return h.Request +} + +// GetResponse returns the Response field. +func (h *HookDelivery) GetResponse() *HookResponse { + if h == nil { + return nil + } + return h.Response +} + +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (h *HookDelivery) GetStatus() string { + if h == nil || h.Status == nil { + return "" + } + return *h.Status +} + +// GetStatusCode returns the StatusCode field if it's non-nil, zero value otherwise. +func (h *HookDelivery) GetStatusCode() int { + if h == nil || h.StatusCode == nil { + return 0 + } + return *h.StatusCode +} + +// GetThrottledAt returns the ThrottledAt field if it's non-nil, zero value otherwise. +func (h *HookDelivery) GetThrottledAt() Timestamp { + if h == nil || h.ThrottledAt == nil { + return Timestamp{} + } + return *h.ThrottledAt +} + +// GetHeaders returns the Headers map if it's non-nil, an empty map otherwise. +func (h *HookRequest) GetHeaders() map[string]string { + if h == nil || h.Headers == nil { + return map[string]string{} + } + return h.Headers +} + +// GetRawPayload returns the RawPayload field if it's non-nil, zero value otherwise. +func (h *HookRequest) GetRawPayload() json.RawMessage { + if h == nil || h.RawPayload == nil { + return json.RawMessage{} + } + return *h.RawPayload +} + +// GetHeaders returns the Headers map if it's non-nil, an empty map otherwise. +func (h *HookResponse) GetHeaders() map[string]string { + if h == nil || h.Headers == nil { + return map[string]string{} + } + return h.Headers +} + +// GetRawPayload returns the RawPayload field if it's non-nil, zero value otherwise. +func (h *HookResponse) GetRawPayload() json.RawMessage { + if h == nil || h.RawPayload == nil { + return json.RawMessage{} + } + return *h.RawPayload +} + +// GetActiveHooks returns the ActiveHooks field if it's non-nil, zero value otherwise. +func (h *HookStats) GetActiveHooks() int { + if h == nil || h.ActiveHooks == nil { + return 0 + } + return *h.ActiveHooks +} + +// GetInactiveHooks returns the InactiveHooks field if it's non-nil, zero value otherwise. +func (h *HookStats) GetInactiveHooks() int { + if h == nil || h.InactiveHooks == nil { + return 0 + } + return *h.InactiveHooks +} + +// GetTotalHooks returns the TotalHooks field if it's non-nil, zero value otherwise. +func (h *HookStats) GetTotalHooks() int { + if h == nil || h.TotalHooks == nil { + return 0 + } + return *h.TotalHooks +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (h *HostedRunner) GetID() int64 { + if h == nil || h.ID == nil { + return 0 + } + return *h.ID +} + +// GetImageDetails returns the ImageDetails field. +func (h *HostedRunner) GetImageDetails() *HostedRunnerImageDetail { + if h == nil { + return nil + } + return h.ImageDetails +} + +// GetLastActiveOn returns the LastActiveOn field if it's non-nil, zero value otherwise. +func (h *HostedRunner) GetLastActiveOn() Timestamp { + if h == nil || h.LastActiveOn == nil { + return Timestamp{} + } + return *h.LastActiveOn +} + +// GetMachineSizeDetails returns the MachineSizeDetails field. +func (h *HostedRunner) GetMachineSizeDetails() *HostedRunnerMachineSpec { + if h == nil { + return nil + } + return h.MachineSizeDetails +} + +// GetMaximumRunners returns the MaximumRunners field if it's non-nil, zero value otherwise. +func (h *HostedRunner) GetMaximumRunners() int64 { + if h == nil || h.MaximumRunners == nil { + return 0 + } + return *h.MaximumRunners +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (h *HostedRunner) GetName() string { + if h == nil || h.Name == nil { + return "" + } + return *h.Name +} + +// GetPlatform returns the Platform field if it's non-nil, zero value otherwise. +func (h *HostedRunner) GetPlatform() string { + if h == nil || h.Platform == nil { + return "" + } + return *h.Platform +} + +// GetPublicIPEnabled returns the PublicIPEnabled field if it's non-nil, zero value otherwise. +func (h *HostedRunner) GetPublicIPEnabled() bool { + if h == nil || h.PublicIPEnabled == nil { + return false + } + 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 { + return 0 + } + return *h.RunnerGroupID +} + +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (h *HostedRunner) GetStatus() string { + if h == nil || h.Status == nil { + return "" + } + return *h.Status +} + +// GetID returns the ID field. +func (h *HostedRunnerCustomImage) GetID() int64 { + if h == nil { + return 0 + } + return h.ID +} + +// GetLatestVersion returns the LatestVersion field. +func (h *HostedRunnerCustomImage) GetLatestVersion() string { + if h == nil { + return "" + } + return h.LatestVersion +} + +// GetName returns the Name field. +func (h *HostedRunnerCustomImage) GetName() string { + if h == nil { + return "" + } + return h.Name +} + +// GetPlatform returns the Platform field. +func (h *HostedRunnerCustomImage) GetPlatform() string { + if h == nil { + return "" + } + return h.Platform +} + +// GetSource returns the Source field. +func (h *HostedRunnerCustomImage) GetSource() string { + if h == nil { + return "" + } + return h.Source +} + +// GetState returns the State field. +func (h *HostedRunnerCustomImage) GetState() string { + if h == nil { + return "" + } + return h.State +} + +// GetTotalVersionsSize returns the TotalVersionsSize field. +func (h *HostedRunnerCustomImage) GetTotalVersionsSize() int { + if h == nil { + return 0 + } + return h.TotalVersionsSize +} + +// GetVersionsCount returns the VersionsCount field. +func (h *HostedRunnerCustomImage) GetVersionsCount() int { + if h == nil { + return 0 + } + return h.VersionsCount +} + +// GetImages returns the Images slice if it's non-nil, nil otherwise. +func (h *HostedRunnerCustomImages) GetImages() []*HostedRunnerCustomImage { + if h == nil || h.Images == nil { + return nil + } + return h.Images +} + +// GetTotalCount returns the TotalCount field. +func (h *HostedRunnerCustomImages) GetTotalCount() int { + if h == nil { + return 0 + } + return h.TotalCount +} + +// GetCreatedOn returns the CreatedOn field. +func (h *HostedRunnerCustomImageVersion) GetCreatedOn() Timestamp { + if h == nil { + return Timestamp{} + } + return h.CreatedOn +} + +// GetSizeGB returns the SizeGB field. +func (h *HostedRunnerCustomImageVersion) GetSizeGB() int { + if h == nil { + return 0 + } + return h.SizeGB +} + +// GetState returns the State field. +func (h *HostedRunnerCustomImageVersion) GetState() string { + if h == nil { + return "" + } + return h.State +} + +// GetStateDetails returns the StateDetails field. +func (h *HostedRunnerCustomImageVersion) GetStateDetails() string { + if h == nil { + return "" + } + return h.StateDetails +} + +// GetVersion returns the Version field. +func (h *HostedRunnerCustomImageVersion) GetVersion() string { + if h == nil { + return "" + } + return h.Version +} + +// GetImageVersions returns the ImageVersions slice if it's non-nil, nil otherwise. +func (h *HostedRunnerCustomImageVersions) GetImageVersions() []*HostedRunnerCustomImageVersion { + if h == nil || h.ImageVersions == nil { + return nil + } + return h.ImageVersions +} + +// GetTotalCount returns the TotalCount field. +func (h *HostedRunnerCustomImageVersions) GetTotalCount() int { + if h == nil { + return 0 + } + return h.TotalCount +} + +// 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 { + return "" + } + return *h.Version +} + +// GetDisplayName returns the DisplayName field if it's non-nil, zero value otherwise. +func (h *HostedRunnerImageDetail) GetDisplayName() string { + if h == nil || h.DisplayName == nil { + return "" + } + return *h.DisplayName +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (h *HostedRunnerImageDetail) GetID() string { + if h == nil || h.ID == nil { + return "" + } + return *h.ID +} + +// GetSizeGB returns the SizeGB field if it's non-nil, zero value otherwise. +func (h *HostedRunnerImageDetail) GetSizeGB() int64 { + if h == nil || h.SizeGB == nil { + return 0 + } + return *h.SizeGB +} + +// GetSource returns the Source field if it's non-nil, zero value otherwise. +func (h *HostedRunnerImageDetail) GetSource() string { + if h == nil || h.Source == nil { + return "" + } + return *h.Source +} + +// GetVersion returns the Version field if it's non-nil, zero value otherwise. +func (h *HostedRunnerImageDetail) GetVersion() string { + if h == nil || h.Version == nil { + return "" + } + 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 { + return nil + } + 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 { + return "" + } + return *i.GroupDescription +} + +// GetGroupID returns the GroupID field if it's non-nil, zero value otherwise. +func (i *IDPGroup) GetGroupID() string { + if i == nil || i.GroupID == nil { + return "" + } + return *i.GroupID +} + +// GetGroupName returns the GroupName field if it's non-nil, zero value otherwise. +func (i *IDPGroup) GetGroupName() string { + if i == nil || i.GroupName == nil { + return "" + } + 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 { + return "" + } + 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 { + return "" + } + return *i.EnforcedRepositories +} + +// GetSelectedRepositoriesURL returns the SelectedRepositoriesURL field if it's non-nil, zero value otherwise. +func (i *ImmutableReleaseSettings) GetSelectedRepositoriesURL() string { + if i == nil || i.SelectedRepositoriesURL == nil { + return "" + } + return *i.SelectedRepositoriesURL +} + +// GetAuthorsCount returns the AuthorsCount field if it's non-nil, zero value otherwise. +func (i *Import) GetAuthorsCount() int { + if i == nil || i.AuthorsCount == nil { + return 0 + } + return *i.AuthorsCount +} + +// GetAuthorsURL returns the AuthorsURL field if it's non-nil, zero value otherwise. +func (i *Import) GetAuthorsURL() string { + if i == nil || i.AuthorsURL == nil { + return "" + } + return *i.AuthorsURL +} + +// GetCommitCount returns the CommitCount field if it's non-nil, zero value otherwise. +func (i *Import) GetCommitCount() int { + if i == nil || i.CommitCount == nil { + return 0 + } + return *i.CommitCount +} + +// GetFailedStep returns the FailedStep field if it's non-nil, zero value otherwise. +func (i *Import) GetFailedStep() string { + if i == nil || i.FailedStep == nil { + return "" + } + return *i.FailedStep +} + +// GetHasLargeFiles returns the HasLargeFiles field if it's non-nil, zero value otherwise. +func (i *Import) GetHasLargeFiles() bool { + if i == nil || i.HasLargeFiles == nil { + return false + } + return *i.HasLargeFiles +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (i *Import) GetHTMLURL() string { + if i == nil || i.HTMLURL == nil { + return "" + } + return *i.HTMLURL +} + +// GetHumanName returns the HumanName field if it's non-nil, zero value otherwise. +func (i *Import) GetHumanName() string { + if i == nil || i.HumanName == nil { + return "" + } + return *i.HumanName +} + +// GetLargeFilesCount returns the LargeFilesCount field if it's non-nil, zero value otherwise. +func (i *Import) GetLargeFilesCount() int { + if i == nil || i.LargeFilesCount == nil { + return 0 + } + return *i.LargeFilesCount +} + +// GetLargeFilesSize returns the LargeFilesSize field if it's non-nil, zero value otherwise. +func (i *Import) GetLargeFilesSize() int { + if i == nil || i.LargeFilesSize == nil { + return 0 + } + return *i.LargeFilesSize +} + +// GetMessage returns the Message field if it's non-nil, zero value otherwise. +func (i *Import) GetMessage() string { + if i == nil || i.Message == nil { + return "" + } + return *i.Message +} + +// GetPercent returns the Percent field if it's non-nil, zero value otherwise. +func (i *Import) GetPercent() int { + if i == nil || i.Percent == nil { + return 0 + } + 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 { + return 0 + } + return *i.PushPercent +} + +// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise. +func (i *Import) GetRepositoryURL() string { + if i == nil || i.RepositoryURL == nil { + return "" + } + return *i.RepositoryURL +} + +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (i *Import) GetStatus() string { + if i == nil || i.Status == nil { + return "" + } + return *i.Status +} + +// GetStatusText returns the StatusText field if it's non-nil, zero value otherwise. +func (i *Import) GetStatusText() string { + if i == nil || i.StatusText == nil { + return "" + } + return *i.StatusText +} + +// GetTFVCProject returns the TFVCProject field if it's non-nil, zero value otherwise. +func (i *Import) GetTFVCProject() string { + if i == nil || i.TFVCProject == nil { + return "" + } + return *i.TFVCProject +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (i *Import) GetURL() string { + if i == nil || i.URL == nil { + return "" + } + return *i.URL +} + +// GetUseLFS returns the UseLFS field if it's non-nil, zero value otherwise. +func (i *Import) GetUseLFS() string { + if i == nil || i.UseLFS == nil { + return "" + } + return *i.UseLFS +} + +// GetVCS returns the VCS field if it's non-nil, zero value otherwise. +func (i *Import) GetVCS() string { + if i == nil || i.VCS == nil { + return "" + } + return *i.VCS +} + +// GetVCSPassword returns the VCSPassword field if it's non-nil, zero value otherwise. +func (i *Import) GetVCSPassword() string { + if i == nil || i.VCSPassword == nil { + return "" + } + return *i.VCSPassword +} + +// GetVCSURL returns the VCSURL field if it's non-nil, zero value otherwise. +func (i *Import) GetVCSURL() string { + if i == nil || i.VCSURL == nil { + return "" + } + return *i.VCSURL +} + +// GetVCSUsername returns the VCSUsername field if it's non-nil, zero value otherwise. +func (i *Import) GetVCSUsername() string { + if i == nil || i.VCSUsername == nil { + return "" + } + 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 { + return "" + } + 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 { + return "" + } + return *i.AccessTokensURL +} + +// GetAccount returns the Account field. +func (i *Installation) GetAccount() *User { + if i == nil { + return nil + } + return i.Account +} + +// GetAppID returns the AppID field if it's non-nil, zero value otherwise. +func (i *Installation) GetAppID() int64 { + if i == nil || i.AppID == nil { + return 0 + } + return *i.AppID +} + +// GetAppSlug returns the AppSlug field if it's non-nil, zero value otherwise. +func (i *Installation) GetAppSlug() string { + if i == nil || i.AppSlug == nil { + return "" + } + return *i.AppSlug +} + +// GetClientID returns the ClientID field if it's non-nil, zero value otherwise. +func (i *Installation) GetClientID() string { + if i == nil || i.ClientID == nil { + return "" + } + return *i.ClientID +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (i *Installation) GetCreatedAt() Timestamp { + if i == nil || i.CreatedAt == nil { + return 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 { + return false + } + return *i.HasMultipleSingleFiles +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (i *Installation) GetHTMLURL() string { + if i == nil || i.HTMLURL == nil { + return "" + } + return *i.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (i *Installation) GetID() int64 { + if i == nil || i.ID == nil { + return 0 + } + return *i.ID +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (i *Installation) GetNodeID() string { + if i == nil || i.NodeID == nil { + return "" + } + return *i.NodeID +} + +// GetPermissions returns the Permissions field. +func (i *Installation) GetPermissions() *InstallationPermissions { + if i == nil { + return nil + } + return i.Permissions +} + +// GetRepositoriesURL returns the RepositoriesURL field if it's non-nil, zero value otherwise. +func (i *Installation) GetRepositoriesURL() string { + if i == nil || i.RepositoriesURL == nil { + return "" + } + return *i.RepositoriesURL +} + +// GetRepositorySelection returns the RepositorySelection field if it's non-nil, zero value otherwise. +func (i *Installation) GetRepositorySelection() string { + if i == nil || i.RepositorySelection == nil { + return "" + } + return *i.RepositorySelection +} + +// GetSingleFileName returns the SingleFileName field if it's non-nil, zero value otherwise. +func (i *Installation) GetSingleFileName() string { + if i == nil || i.SingleFileName == nil { + return "" + } + 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 { + return Timestamp{} + } + return *i.SuspendedAt +} + +// GetSuspendedBy returns the SuspendedBy field. +func (i *Installation) GetSuspendedBy() *User { + if i == nil { + return nil + } + return i.SuspendedBy +} + +// GetTargetID returns the TargetID field if it's non-nil, zero value otherwise. +func (i *Installation) GetTargetID() int64 { + if i == nil || i.TargetID == nil { + return 0 + } + return *i.TargetID +} + +// GetTargetType returns the TargetType field if it's non-nil, zero value otherwise. +func (i *Installation) GetTargetType() string { + if i == nil || i.TargetType == nil { + return "" + } + return *i.TargetType +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (i *Installation) GetUpdatedAt() Timestamp { + if i == nil || i.UpdatedAt == nil { + return Timestamp{} + } + return *i.UpdatedAt +} + +// GetLogin returns the Login field. +func (i *InstallationChanges) GetLogin() *InstallationLoginChange { + if i == nil { + return nil + } + return i.Login +} + +// GetSlug returns the Slug field. +func (i *InstallationChanges) GetSlug() *InstallationSlugChange { + if i == nil { + return nil + } + return i.Slug +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (i *InstallationEvent) GetAction() string { + if i == nil || i.Action == nil { + return "" + } + return *i.Action +} + +// GetInstallation returns the Installation field. +func (i *InstallationEvent) GetInstallation() *Installation { + if i == nil { + return nil + } + return i.Installation +} + +// GetOrg returns the Org field. +func (i *InstallationEvent) GetOrg() *Organization { + if i == nil { + return nil + } + 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 { + return nil + } + return i.Requester +} + +// GetSender returns the Sender field. +func (i *InstallationEvent) GetSender() *User { + if i == nil { + return nil + } + return i.Sender +} + +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (i *InstallationLoginChange) GetFrom() string { + if i == nil || i.From == nil { + return "" + } + return *i.From +} + +// GetActions returns the Actions field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetActions() string { + if i == nil || i.Actions == nil { + return "" + } + return *i.Actions +} + +// GetActionsVariables returns the ActionsVariables field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetActionsVariables() string { + if i == nil || i.ActionsVariables == nil { + return "" + } + return *i.ActionsVariables +} + +// GetAdministration returns the Administration field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetAdministration() string { + if i == nil || i.Administration == nil { + return "" + } + return *i.Administration +} + +// GetAttestations returns the Attestations field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetAttestations() string { + if i == nil || i.Attestations == nil { + return "" + } + return *i.Attestations +} + +// GetBlocking returns the Blocking field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetBlocking() string { + if i == nil || i.Blocking == nil { + return "" + } + return *i.Blocking +} + +// GetChecks returns the Checks field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetChecks() string { + if i == nil || i.Checks == nil { + return "" + } + return *i.Checks +} + +// GetCodespaces returns the Codespaces field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetCodespaces() string { + if i == nil || i.Codespaces == nil { + return "" + } + return *i.Codespaces +} + +// GetCodespacesLifecycleAdmin returns the CodespacesLifecycleAdmin field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetCodespacesLifecycleAdmin() string { + if i == nil || i.CodespacesLifecycleAdmin == nil { + return "" + } + return *i.CodespacesLifecycleAdmin +} + +// GetCodespacesMetadata returns the CodespacesMetadata field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetCodespacesMetadata() string { + if i == nil || i.CodespacesMetadata == nil { + return "" + } + return *i.CodespacesMetadata +} + +// GetCodespacesSecrets returns the CodespacesSecrets field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetCodespacesSecrets() string { + if i == nil || i.CodespacesSecrets == nil { + return "" + } + return *i.CodespacesSecrets +} + +// GetCodespacesUserSecrets returns the CodespacesUserSecrets field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetCodespacesUserSecrets() string { + if i == nil || i.CodespacesUserSecrets == nil { + return "" + } + return *i.CodespacesUserSecrets +} + +// GetContentReferences returns the ContentReferences field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetContentReferences() string { + if i == nil || i.ContentReferences == nil { + return "" + } + return *i.ContentReferences +} + +// GetContents returns the Contents field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetContents() string { + if i == nil || i.Contents == nil { + return "" + } + return *i.Contents +} + +// GetCopilotMessages returns the CopilotMessages field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetCopilotMessages() string { + if i == nil || i.CopilotMessages == nil { + return "" + } + return *i.CopilotMessages +} + +// GetDependabotSecrets returns the DependabotSecrets field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetDependabotSecrets() string { + if i == nil || i.DependabotSecrets == nil { + return "" + } + return *i.DependabotSecrets +} + +// GetDeployments returns the Deployments field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetDeployments() string { + if i == nil || i.Deployments == nil { + return "" + } + return *i.Deployments +} + +// GetDiscussions returns the Discussions field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetDiscussions() string { + if i == nil || i.Discussions == nil { + return "" + } + return *i.Discussions +} + +// GetEmails returns the Emails field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetEmails() string { + if i == nil || i.Emails == nil { + return "" + } + return *i.Emails +} + +// GetEnterpriseAIControls returns the EnterpriseAIControls field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetEnterpriseAIControls() string { + if i == nil || i.EnterpriseAIControls == nil { + return "" + } + return *i.EnterpriseAIControls +} + +// GetEnterpriseCopilotMetrics returns the EnterpriseCopilotMetrics field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetEnterpriseCopilotMetrics() string { + if i == nil || i.EnterpriseCopilotMetrics == nil { + return "" + } + return *i.EnterpriseCopilotMetrics +} + +// GetEnterpriseCredentials returns the EnterpriseCredentials field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetEnterpriseCredentials() string { + if i == nil || i.EnterpriseCredentials == nil { + return "" + } + return *i.EnterpriseCredentials +} + +// GetEnterpriseCustomEnterpriseRoles returns the EnterpriseCustomEnterpriseRoles field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetEnterpriseCustomEnterpriseRoles() string { + if i == nil || i.EnterpriseCustomEnterpriseRoles == nil { + return "" + } + return *i.EnterpriseCustomEnterpriseRoles +} + +// GetEnterpriseCustomOrgRoles returns the EnterpriseCustomOrgRoles field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetEnterpriseCustomOrgRoles() string { + if i == nil || i.EnterpriseCustomOrgRoles == nil { + return "" + } + return *i.EnterpriseCustomOrgRoles +} + +// GetEnterpriseCustomProperties returns the EnterpriseCustomProperties field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetEnterpriseCustomProperties() string { + if i == nil || i.EnterpriseCustomProperties == nil { + return "" + } + return *i.EnterpriseCustomProperties +} + +// GetEnterpriseCustomPropertiesForOrgs returns the EnterpriseCustomPropertiesForOrgs field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetEnterpriseCustomPropertiesForOrgs() string { + if i == nil || i.EnterpriseCustomPropertiesForOrgs == nil { + return "" + } + return *i.EnterpriseCustomPropertiesForOrgs +} + +// GetEnterpriseOrganizationInstallations returns the EnterpriseOrganizationInstallations field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetEnterpriseOrganizationInstallations() string { + if i == nil || i.EnterpriseOrganizationInstallations == nil { + return "" + } + return *i.EnterpriseOrganizationInstallations +} + +// GetEnterpriseOrganizations returns the EnterpriseOrganizations field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetEnterpriseOrganizations() string { + if i == nil || i.EnterpriseOrganizations == nil { + return "" + } + return *i.EnterpriseOrganizations +} + +// GetEnterpriseOrgInstallationRepos returns the EnterpriseOrgInstallationRepos field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetEnterpriseOrgInstallationRepos() string { + if i == nil || i.EnterpriseOrgInstallationRepos == nil { + return "" + } + return *i.EnterpriseOrgInstallationRepos +} + +// GetEnterprisePeople returns the EnterprisePeople field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetEnterprisePeople() string { + if i == nil || i.EnterprisePeople == nil { + return "" + } + return *i.EnterprisePeople +} + +// GetEnterpriseSSO returns the EnterpriseSSO field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetEnterpriseSSO() string { + if i == nil || i.EnterpriseSSO == nil { + return "" + } + return *i.EnterpriseSSO +} + +// GetEnterpriseTeams returns the EnterpriseTeams field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetEnterpriseTeams() string { + if i == nil || i.EnterpriseTeams == nil { + return "" + } + return *i.EnterpriseTeams +} + +// GetEnvironments returns the Environments field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetEnvironments() string { + if i == nil || i.Environments == nil { + return "" + } + return *i.Environments +} + +// GetFollowers returns the Followers field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetFollowers() string { + if i == nil || i.Followers == nil { + return "" + } + return *i.Followers +} + +// GetGists returns the Gists field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetGists() string { + if i == nil || i.Gists == nil { + return "" + } + return *i.Gists +} + +// GetGitSigningSSHPublicKeys returns the GitSigningSSHPublicKeys field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetGitSigningSSHPublicKeys() string { + if i == nil || i.GitSigningSSHPublicKeys == nil { + return "" + } + return *i.GitSigningSSHPublicKeys +} + +// GetGPGKeys returns the GPGKeys field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetGPGKeys() string { + if i == nil || i.GPGKeys == nil { + return "" + } + return *i.GPGKeys +} + +// GetInteractionLimits returns the InteractionLimits field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetInteractionLimits() string { + if i == nil || i.InteractionLimits == nil { + return "" + } + return *i.InteractionLimits +} + +// GetIssues returns the Issues field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetIssues() string { + if i == nil || i.Issues == nil { + return "" + } + return *i.Issues +} + +// GetKeys returns the Keys field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetKeys() string { + if i == nil || i.Keys == nil { + return "" + } + return *i.Keys +} + +// GetMembers returns the Members field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetMembers() string { + if i == nil || i.Members == nil { + return "" + } + return *i.Members +} + +// GetMergeQueues returns the MergeQueues field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetMergeQueues() string { + if i == nil || i.MergeQueues == nil { + return "" + } + return *i.MergeQueues +} + +// GetMetadata returns the Metadata field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetMetadata() string { + if i == nil || i.Metadata == nil { + return "" + } + return *i.Metadata +} + +// GetOrganizationActionsVariables returns the OrganizationActionsVariables field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationActionsVariables() string { + if i == nil || i.OrganizationActionsVariables == nil { + return "" + } + return *i.OrganizationActionsVariables +} + +// GetOrganizationAdministration returns the OrganizationAdministration field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationAdministration() string { + if i == nil || i.OrganizationAdministration == nil { + return "" + } + return *i.OrganizationAdministration +} + +// GetOrganizationAnnouncementBanners returns the OrganizationAnnouncementBanners field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationAnnouncementBanners() string { + if i == nil || i.OrganizationAnnouncementBanners == nil { + return "" + } + return *i.OrganizationAnnouncementBanners +} + +// GetOrganizationAPIInsights returns the OrganizationAPIInsights field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationAPIInsights() string { + if i == nil || i.OrganizationAPIInsights == nil { + return "" + } + return *i.OrganizationAPIInsights +} + +// GetOrganizationCodespaces returns the OrganizationCodespaces field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationCodespaces() string { + if i == nil || i.OrganizationCodespaces == nil { + return "" + } + return *i.OrganizationCodespaces +} + +// GetOrganizationCodespacesSecrets returns the OrganizationCodespacesSecrets field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationCodespacesSecrets() string { + if i == nil || i.OrganizationCodespacesSecrets == nil { + return "" + } + return *i.OrganizationCodespacesSecrets +} + +// GetOrganizationCodespacesSettings returns the OrganizationCodespacesSettings field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationCodespacesSettings() string { + if i == nil || i.OrganizationCodespacesSettings == nil { + return "" + } + return *i.OrganizationCodespacesSettings +} + +// GetOrganizationCopilotMetrics returns the OrganizationCopilotMetrics field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationCopilotMetrics() string { + if i == nil || i.OrganizationCopilotMetrics == nil { + return "" + } + return *i.OrganizationCopilotMetrics +} + +// GetOrganizationCopilotSeatManagement returns the OrganizationCopilotSeatManagement field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationCopilotSeatManagement() string { + if i == nil || i.OrganizationCopilotSeatManagement == nil { + return "" + } + return *i.OrganizationCopilotSeatManagement +} + +// GetOrganizationCustomOrgRoles returns the OrganizationCustomOrgRoles field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationCustomOrgRoles() string { + if i == nil || i.OrganizationCustomOrgRoles == nil { + return "" + } + return *i.OrganizationCustomOrgRoles +} + +// GetOrganizationCustomProperties returns the OrganizationCustomProperties field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationCustomProperties() string { + if i == nil || i.OrganizationCustomProperties == nil { + return "" + } + return *i.OrganizationCustomProperties +} + +// GetOrganizationCustomRoles returns the OrganizationCustomRoles field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationCustomRoles() string { + if i == nil || i.OrganizationCustomRoles == nil { + return "" + } + return *i.OrganizationCustomRoles +} + +// GetOrganizationDependabotSecrets returns the OrganizationDependabotSecrets field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationDependabotSecrets() string { + if i == nil || i.OrganizationDependabotSecrets == nil { + return "" + } + return *i.OrganizationDependabotSecrets +} + +// GetOrganizationEvents returns the OrganizationEvents field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationEvents() string { + if i == nil || i.OrganizationEvents == nil { + return "" + } + return *i.OrganizationEvents +} + +// GetOrganizationHooks returns the OrganizationHooks field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationHooks() string { + if i == nil || i.OrganizationHooks == nil { + return "" + } + return *i.OrganizationHooks +} + +// GetOrganizationKnowledgeBases returns the OrganizationKnowledgeBases field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationKnowledgeBases() string { + if i == nil || i.OrganizationKnowledgeBases == nil { + return "" + } + return *i.OrganizationKnowledgeBases +} + +// GetOrganizationPackages returns the OrganizationPackages field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationPackages() string { + if i == nil || i.OrganizationPackages == nil { + return "" + } + return *i.OrganizationPackages +} + +// GetOrganizationPersonalAccessTokenRequests returns the OrganizationPersonalAccessTokenRequests field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationPersonalAccessTokenRequests() string { + if i == nil || i.OrganizationPersonalAccessTokenRequests == nil { + return "" + } + return *i.OrganizationPersonalAccessTokenRequests +} + +// GetOrganizationPersonalAccessTokens returns the OrganizationPersonalAccessTokens field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationPersonalAccessTokens() string { + if i == nil || i.OrganizationPersonalAccessTokens == nil { + return "" + } + return *i.OrganizationPersonalAccessTokens +} + +// GetOrganizationPlan returns the OrganizationPlan field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationPlan() string { + if i == nil || i.OrganizationPlan == nil { + return "" + } + return *i.OrganizationPlan +} + +// GetOrganizationPreReceiveHooks returns the OrganizationPreReceiveHooks field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationPreReceiveHooks() string { + if i == nil || i.OrganizationPreReceiveHooks == nil { + return "" + } + return *i.OrganizationPreReceiveHooks +} + +// GetOrganizationProjects returns the OrganizationProjects field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationProjects() string { + if i == nil || i.OrganizationProjects == nil { + return "" + } + return *i.OrganizationProjects +} + +// GetOrganizationSecrets returns the OrganizationSecrets field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationSecrets() string { + if i == nil || i.OrganizationSecrets == nil { + return "" + } + return *i.OrganizationSecrets +} + +// GetOrganizationSelfHostedRunners returns the OrganizationSelfHostedRunners field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationSelfHostedRunners() string { + if i == nil || i.OrganizationSelfHostedRunners == nil { + return "" + } + return *i.OrganizationSelfHostedRunners +} + +// GetOrganizationUserBlocking returns the OrganizationUserBlocking field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationUserBlocking() string { + if i == nil || i.OrganizationUserBlocking == nil { + return "" + } + return *i.OrganizationUserBlocking +} + +// GetPackages returns the Packages field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetPackages() string { + if i == nil || i.Packages == nil { + return "" + } + return *i.Packages +} + +// GetPages returns the Pages field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetPages() string { + if i == nil || i.Pages == nil { + return "" + } + return *i.Pages +} + +// GetPlan returns the Plan field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetPlan() string { + if i == nil || i.Plan == nil { + return "" + } + return *i.Plan +} + +// GetProfile returns the Profile field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetProfile() string { + if i == nil || i.Profile == nil { + return "" + } + return *i.Profile +} + +// GetPullRequests returns the PullRequests field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetPullRequests() string { + if i == nil || i.PullRequests == nil { + return "" + } + return *i.PullRequests +} + +// GetRepositoryAdvisories returns the RepositoryAdvisories field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetRepositoryAdvisories() string { + if i == nil || i.RepositoryAdvisories == nil { + return "" + } + return *i.RepositoryAdvisories +} + +// GetRepositoryCustomProperties returns the RepositoryCustomProperties field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetRepositoryCustomProperties() string { + if i == nil || i.RepositoryCustomProperties == nil { + return "" + } + return *i.RepositoryCustomProperties +} + +// GetRepositoryHooks returns the RepositoryHooks field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetRepositoryHooks() string { + if i == nil || i.RepositoryHooks == nil { + return "" + } + return *i.RepositoryHooks +} + +// GetRepositoryPreReceiveHooks returns the RepositoryPreReceiveHooks field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetRepositoryPreReceiveHooks() string { + if i == nil || i.RepositoryPreReceiveHooks == nil { + return "" + } + return *i.RepositoryPreReceiveHooks +} + +// GetRepositoryProjects returns the RepositoryProjects field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetRepositoryProjects() string { + if i == nil || i.RepositoryProjects == nil { + return "" + } + return *i.RepositoryProjects +} + +// GetSecrets returns the Secrets field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetSecrets() string { + if i == nil || i.Secrets == nil { + return "" + } + return *i.Secrets +} + +// GetSecretScanningAlerts returns the SecretScanningAlerts field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetSecretScanningAlerts() string { + if i == nil || i.SecretScanningAlerts == nil { + return "" + } + return *i.SecretScanningAlerts +} + +// GetSecurityEvents returns the SecurityEvents field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetSecurityEvents() string { + if i == nil || i.SecurityEvents == nil { + return "" + } + return *i.SecurityEvents +} + +// GetSingleFile returns the SingleFile field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetSingleFile() string { + if i == nil || i.SingleFile == nil { + return "" + } + return *i.SingleFile +} + +// GetStarring returns the Starring field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetStarring() string { + if i == nil || i.Starring == nil { + return "" + } + return *i.Starring +} + +// GetStatuses returns the Statuses field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetStatuses() string { + if i == nil || i.Statuses == nil { + return "" + } + return *i.Statuses +} + +// GetTeamDiscussions returns the TeamDiscussions field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetTeamDiscussions() string { + if i == nil || i.TeamDiscussions == nil { + return "" + } + return *i.TeamDiscussions +} + +// GetUserEvents returns the UserEvents field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetUserEvents() string { + if i == nil || i.UserEvents == nil { + return "" + } + return *i.UserEvents +} + +// GetVulnerabilityAlerts returns the VulnerabilityAlerts field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetVulnerabilityAlerts() string { + if i == nil || i.VulnerabilityAlerts == nil { + return "" + } + return *i.VulnerabilityAlerts +} + +// GetWatching returns the Watching field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetWatching() string { + if i == nil || i.Watching == nil { + return "" + } + return *i.Watching +} + +// GetWorkflows returns the Workflows field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetWorkflows() string { + if i == nil || i.Workflows == nil { + return "" + } + return *i.Workflows +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (i *InstallationRepositoriesEvent) GetAction() string { + if i == nil || i.Action == nil { + return "" + } + return *i.Action +} + +// GetInstallation returns the Installation field. +func (i *InstallationRepositoriesEvent) GetInstallation() *Installation { + if i == nil { + return nil + } + return i.Installation +} + +// GetOrg returns the Org field. +func (i *InstallationRepositoriesEvent) GetOrg() *Organization { + if i == nil { + return nil + } + 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 { + return "" + } + return *i.RepositorySelection +} + +// GetSender returns the Sender field. +func (i *InstallationRepositoriesEvent) GetSender() *User { + if i == nil { + return nil + } + return i.Sender +} + +// GetAccount returns the Account field. +func (i *InstallationRequest) GetAccount() *User { + if i == nil { + return nil + } + return i.Account +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (i *InstallationRequest) GetCreatedAt() Timestamp { + if i == nil || i.CreatedAt == nil { + return Timestamp{} + } + return *i.CreatedAt +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (i *InstallationRequest) GetID() int64 { + if i == nil || i.ID == nil { + return 0 + } + return *i.ID +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (i *InstallationRequest) GetNodeID() string { + if i == nil || i.NodeID == nil { + return "" + } + return *i.NodeID +} + +// GetRequester returns the Requester field. +func (i *InstallationRequest) GetRequester() *User { + if i == nil { + return nil + } + return i.Requester +} + +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (i *InstallationSlugChange) GetFrom() string { + if i == nil || i.From == nil { + return "" + } + return *i.From +} + +// GetAccount returns the Account field. +func (i *InstallationTargetEvent) GetAccount() *User { + if i == nil { + return nil + } + return i.Account +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (i *InstallationTargetEvent) GetAction() string { + if i == nil || i.Action == nil { + return "" + } + return *i.Action +} + +// GetChanges returns the Changes field. +func (i *InstallationTargetEvent) GetChanges() *InstallationChanges { + if i == nil { + return nil + } + return i.Changes +} + +// GetEnterprise returns the Enterprise field. +func (i *InstallationTargetEvent) GetEnterprise() *Enterprise { + if i == nil { + return nil + } + return i.Enterprise +} + +// GetInstallation returns the Installation field. +func (i *InstallationTargetEvent) GetInstallation() *Installation { + if i == nil { + return nil + } + return i.Installation +} + +// GetOrganization returns the Organization field. +func (i *InstallationTargetEvent) GetOrganization() *Organization { + if i == nil { + return nil + } + return i.Organization +} + +// GetRepository returns the Repository field. +func (i *InstallationTargetEvent) GetRepository() *Repository { + if i == nil { + return nil + } + return i.Repository +} + +// GetSender returns the Sender field. +func (i *InstallationTargetEvent) GetSender() *User { + if i == nil { + return nil + } + return i.Sender +} + +// GetTargetType returns the TargetType field if it's non-nil, zero value otherwise. +func (i *InstallationTargetEvent) GetTargetType() string { + if i == nil || i.TargetType == nil { + return "" + } + return *i.TargetType +} + +// GetExpiresAt returns the ExpiresAt field if it's non-nil, zero value otherwise. +func (i *InstallationToken) GetExpiresAt() Timestamp { + if i == nil || i.ExpiresAt == nil { + return Timestamp{} + } + return *i.ExpiresAt +} + +// GetPermissions returns the Permissions field. +func (i *InstallationToken) GetPermissions() *InstallationPermissions { + if i == nil { + return nil + } + 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 { + return "" + } + return *i.Token +} + +// GetPermissions returns the Permissions field. +func (i *InstallationTokenListRepoOptions) GetPermissions() *InstallationPermissions { + if i == nil { + return nil + } + 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 { + return nil + } + 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 { + return Timestamp{} + } + return *i.ExpiresAt +} + +// GetLimit returns the Limit field if it's non-nil, zero value otherwise. +func (i *InteractionRestriction) GetLimit() string { + if i == nil || i.Limit == nil { + return "" + } + return *i.Limit +} + +// GetOrigin returns the Origin field if it's non-nil, zero value otherwise. +func (i *InteractionRestriction) GetOrigin() string { + if i == nil || i.Origin == nil { + return "" + } + return *i.Origin +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (i *Invitation) GetCreatedAt() Timestamp { + if i == nil || i.CreatedAt == nil { + return Timestamp{} + } + return *i.CreatedAt +} + +// GetEmail returns the Email field if it's non-nil, zero value otherwise. +func (i *Invitation) GetEmail() string { + if i == nil || i.Email == nil { + return "" + } + return *i.Email +} + +// GetFailedAt returns the FailedAt field if it's non-nil, zero value otherwise. +func (i *Invitation) GetFailedAt() Timestamp { + if i == nil || i.FailedAt == nil { + return Timestamp{} + } + return *i.FailedAt +} + +// GetFailedReason returns the FailedReason field if it's non-nil, zero value otherwise. +func (i *Invitation) GetFailedReason() string { + if i == nil || i.FailedReason == nil { + return "" + } + return *i.FailedReason +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (i *Invitation) GetID() int64 { + if i == nil || i.ID == nil { + return 0 + } + return *i.ID +} + +// GetInvitationTeamURL returns the InvitationTeamURL field if it's non-nil, zero value otherwise. +func (i *Invitation) GetInvitationTeamURL() string { + if i == nil || i.InvitationTeamURL == nil { + return "" + } + return *i.InvitationTeamURL +} + +// GetInviter returns the Inviter field. +func (i *Invitation) GetInviter() *User { + if i == nil { + return nil + } + return i.Inviter +} + +// GetLogin returns the Login field if it's non-nil, zero value otherwise. +func (i *Invitation) GetLogin() string { + if i == nil || i.Login == nil { + return "" + } + return *i.Login +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (i *Invitation) GetNodeID() string { + if i == nil || i.NodeID == nil { + return "" + } + return *i.NodeID +} + +// GetRole returns the Role field if it's non-nil, zero value otherwise. +func (i *Invitation) GetRole() string { + if i == nil || i.Role == nil { + return "" + } + return *i.Role +} + +// GetTeamCount returns the TeamCount field if it's non-nil, zero value otherwise. +func (i *Invitation) GetTeamCount() int { + if i == nil || i.TeamCount == nil { + return 0 + } + return *i.TeamCount +} + +// GetActiveLockReason returns the ActiveLockReason field if it's non-nil, zero value otherwise. +func (i *Issue) GetActiveLockReason() string { + if i == nil || i.ActiveLockReason == nil { + return "" + } + return *i.ActiveLockReason +} + +// GetAssignee returns the Assignee field. +func (i *Issue) GetAssignee() *User { + if i == nil { + return nil + } + 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 { + return "" + } + return *i.AuthorAssociation +} + +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (i *Issue) GetBody() string { + if i == nil || i.Body == nil { + return "" + } + return *i.Body +} + +// GetClosedAt returns the ClosedAt field if it's non-nil, zero value otherwise. +func (i *Issue) GetClosedAt() Timestamp { + if i == nil || i.ClosedAt == nil { + return Timestamp{} + } + return *i.ClosedAt +} + +// GetClosedBy returns the ClosedBy field. +func (i *Issue) GetClosedBy() *User { + if i == nil { + return nil + } + return i.ClosedBy +} + +// GetComments returns the Comments field if it's non-nil, zero value otherwise. +func (i *Issue) GetComments() int { + if i == nil || i.Comments == nil { + return 0 + } + return *i.Comments +} + +// GetCommentsURL returns the CommentsURL field if it's non-nil, zero value otherwise. +func (i *Issue) GetCommentsURL() string { + if i == nil || i.CommentsURL == nil { + return "" + } + return *i.CommentsURL +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (i *Issue) GetCreatedAt() Timestamp { + if i == nil || i.CreatedAt == nil { + return Timestamp{} + } + return *i.CreatedAt +} + +// GetDraft returns the Draft field if it's non-nil, zero value otherwise. +func (i *Issue) GetDraft() bool { + if i == nil || i.Draft == nil { + return false + } + return *i.Draft +} + +// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise. +func (i *Issue) GetEventsURL() string { + if i == nil || i.EventsURL == nil { + return "" + } + return *i.EventsURL +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (i *Issue) GetHTMLURL() string { + if i == nil || i.HTMLURL == nil { + return "" + } + return *i.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (i *Issue) GetID() int64 { + if i == nil || i.ID == nil { + return 0 + } + return *i.ID +} + +// GetIssueDependenciesSummary returns the IssueDependenciesSummary field. +func (i *Issue) GetIssueDependenciesSummary() *IssueDependenciesSummary { + if i == nil { + return nil + } + return i.IssueDependenciesSummary +} + +// GetIssueFieldValues returns the IssueFieldValues slice if it's non-nil, nil otherwise. +func (i *Issue) GetIssueFieldValues() []*IssueFieldValue { + if i == nil || i.IssueFieldValues == nil { + return nil + } + return i.IssueFieldValues +} + +// 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 { + return "" + } + return *i.LabelsURL +} + +// GetLocked returns the Locked field if it's non-nil, zero value otherwise. +func (i *Issue) GetLocked() bool { + if i == nil || i.Locked == nil { + return false + } + return *i.Locked +} + +// GetMilestone returns the Milestone field. +func (i *Issue) GetMilestone() *Milestone { + if i == nil { + return nil + } + return i.Milestone +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (i *Issue) GetNodeID() string { + if i == nil || i.NodeID == nil { + return "" + } + return *i.NodeID +} + +// GetNumber returns the Number field if it's non-nil, zero value otherwise. +func (i *Issue) GetNumber() int { + if i == nil || i.Number == nil { + return 0 + } + return *i.Number +} + +// GetParentIssueURL returns the ParentIssueURL field if it's non-nil, zero value otherwise. +func (i *Issue) GetParentIssueURL() string { + if i == nil || i.ParentIssueURL == nil { + return "" + } + return *i.ParentIssueURL +} + +// GetPerformedViaGithubApp returns the PerformedViaGithubApp field. +func (i *Issue) GetPerformedViaGithubApp() *App { + if i == nil { + return nil + } + return i.PerformedViaGithubApp +} + +// GetPinnedComment returns the PinnedComment field. +func (i *Issue) GetPinnedComment() *IssueComment { + if i == nil { + return nil + } + return i.PinnedComment +} + +// GetPullRequestLinks returns the PullRequestLinks field. +func (i *Issue) GetPullRequestLinks() *PullRequestLinks { + if i == nil { + return nil + } + return i.PullRequestLinks +} + +// GetReactions returns the Reactions field. +func (i *Issue) GetReactions() *Reactions { + if i == nil { + return nil + } + return i.Reactions +} + +// GetRepository returns the Repository field. +func (i *Issue) GetRepository() *Repository { + if i == nil { + return nil + } + return i.Repository +} + +// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise. +func (i *Issue) GetRepositoryURL() string { + if i == nil || i.RepositoryURL == nil { + return "" + } + return *i.RepositoryURL +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (i *Issue) GetState() string { + if i == nil || i.State == nil { + return "" + } + return *i.State +} + +// GetStateReason returns the StateReason field if it's non-nil, zero value otherwise. +func (i *Issue) GetStateReason() string { + if i == nil || i.StateReason == nil { + return "" + } + return *i.StateReason +} + +// GetSubIssuesSummary returns the SubIssuesSummary field. +func (i *Issue) GetSubIssuesSummary() *SubIssuesSummary { + if i == nil { + return nil + } + return i.SubIssuesSummary +} + +// 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 { + return "" + } + return *i.Title +} + +// GetType returns the Type field. +func (i *Issue) GetType() *IssueType { + if i == nil { + return nil + } + return i.Type +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (i *Issue) GetUpdatedAt() Timestamp { + if i == nil || i.UpdatedAt == nil { + return Timestamp{} + } + return *i.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (i *Issue) GetURL() string { + if i == nil || i.URL == nil { + return "" + } + return *i.URL +} + +// GetUser returns the User field. +func (i *Issue) GetUser() *User { + if i == nil { + return nil + } + return i.User +} + +// GetAuthorAssociation returns the AuthorAssociation field if it's non-nil, zero value otherwise. +func (i *IssueComment) GetAuthorAssociation() string { + if i == nil || i.AuthorAssociation == nil { + return "" + } + return *i.AuthorAssociation +} + +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (i *IssueComment) GetBody() string { + if i == nil || i.Body == nil { + return "" + } + return *i.Body +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (i *IssueComment) GetCreatedAt() Timestamp { + if i == nil || i.CreatedAt == nil { + return Timestamp{} + } + return *i.CreatedAt +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (i *IssueComment) GetHTMLURL() string { + if i == nil || i.HTMLURL == nil { + return "" + } + return *i.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (i *IssueComment) GetID() int64 { + if i == nil || i.ID == nil { + return 0 + } + return *i.ID +} + +// GetIssueURL returns the IssueURL field if it's non-nil, zero value otherwise. +func (i *IssueComment) GetIssueURL() string { + if i == nil || i.IssueURL == nil { + return "" + } + return *i.IssueURL +} + +// GetMinimized returns the Minimized field. +func (i *IssueComment) GetMinimized() *MinimizedIssueComment { + if i == nil { + return nil + } + return i.Minimized +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (i *IssueComment) GetNodeID() string { + if i == nil || i.NodeID == nil { + return "" + } + return *i.NodeID +} + +// GetPerformedViaGithubApp returns the PerformedViaGithubApp field. +func (i *IssueComment) GetPerformedViaGithubApp() *App { + if i == nil { + return nil + } + return i.PerformedViaGithubApp +} + +// GetPin returns the Pin field. +func (i *IssueComment) GetPin() *PinnedIssueComment { + if i == nil { + return nil + } + return i.Pin +} + +// GetReactions returns the Reactions field. +func (i *IssueComment) GetReactions() *Reactions { + if i == nil { + return nil + } + return i.Reactions +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (i *IssueComment) GetUpdatedAt() Timestamp { + if i == nil || i.UpdatedAt == nil { + return Timestamp{} + } + return *i.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (i *IssueComment) GetURL() string { + if i == nil || i.URL == nil { + return "" + } + return *i.URL +} + +// GetUser returns the User field. +func (i *IssueComment) GetUser() *User { + if i == nil { + return nil + } + return i.User +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (i *IssueCommentEvent) GetAction() string { + if i == nil || i.Action == nil { + return "" + } + return *i.Action +} + +// GetChanges returns the Changes field. +func (i *IssueCommentEvent) GetChanges() *EditChange { + if i == nil { + return nil + } + return i.Changes +} + +// GetComment returns the Comment field. +func (i *IssueCommentEvent) GetComment() *IssueComment { + if i == nil { + return nil + } + return i.Comment +} + +// GetInstallation returns the Installation field. +func (i *IssueCommentEvent) GetInstallation() *Installation { + if i == nil { + return nil + } + return i.Installation +} + +// GetIssue returns the Issue field. +func (i *IssueCommentEvent) GetIssue() *Issue { + if i == nil { + return nil + } + return i.Issue +} + +// GetOrganization returns the Organization field. +func (i *IssueCommentEvent) GetOrganization() *Organization { + if i == nil { + return nil + } + return i.Organization +} + +// GetRepo returns the Repo field. +func (i *IssueCommentEvent) GetRepo() *Repository { + if i == nil { + return nil + } + return i.Repo +} + +// GetSender returns the Sender field. +func (i *IssueCommentEvent) GetSender() *User { + if i == nil { + return nil + } + return i.Sender +} + +// GetBody returns the Body field. +func (i *IssueCommentRequest) GetBody() string { + if i == nil { + return "" + } + return i.Body +} + +// GetBlockedBy returns the BlockedBy field if it's non-nil, zero value otherwise. +func (i *IssueDependenciesSummary) GetBlockedBy() int { + if i == nil || i.BlockedBy == nil { + return 0 + } + return *i.BlockedBy +} + +// GetBlocking returns the Blocking field if it's non-nil, zero value otherwise. +func (i *IssueDependenciesSummary) GetBlocking() int { + if i == nil || i.Blocking == nil { + return 0 + } + return *i.Blocking +} + +// GetTotalBlockedBy returns the TotalBlockedBy field if it's non-nil, zero value otherwise. +func (i *IssueDependenciesSummary) GetTotalBlockedBy() int { + if i == nil || i.TotalBlockedBy == nil { + return 0 + } + return *i.TotalBlockedBy +} + +// GetTotalBlocking returns the TotalBlocking field if it's non-nil, zero value otherwise. +func (i *IssueDependenciesSummary) GetTotalBlocking() int { + if i == nil || i.TotalBlocking == nil { + return 0 + } + return *i.TotalBlocking +} + +// GetIssueID returns the IssueID field. +func (i *IssueDependencyRequest) GetIssueID() int64 { + if i == nil { + return 0 + } + return i.IssueID +} + +// 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 { + return nil + } + return i.Actor +} + +// GetAssignee returns the Assignee field. +func (i *IssueEvent) GetAssignee() *User { + if i == nil { + return nil + } + return i.Assignee +} + +// GetAssigner returns the Assigner field. +func (i *IssueEvent) GetAssigner() *User { + if i == nil { + return nil + } + return i.Assigner +} + +// GetCommitID returns the CommitID field if it's non-nil, zero value otherwise. +func (i *IssueEvent) GetCommitID() string { + if i == nil || i.CommitID == nil { + return "" + } + return *i.CommitID +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (i *IssueEvent) GetCreatedAt() Timestamp { + if i == nil || i.CreatedAt == nil { + return Timestamp{} + } + return *i.CreatedAt +} + +// GetDismissedReview returns the DismissedReview field. +func (i *IssueEvent) GetDismissedReview() *DismissedReview { + if i == nil { + return nil + } + return i.DismissedReview +} + +// GetEvent returns the Event field if it's non-nil, zero value otherwise. +func (i *IssueEvent) GetEvent() string { + if i == nil || i.Event == nil { + return "" + } + return *i.Event +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (i *IssueEvent) GetID() int64 { + if i == nil || i.ID == nil { + return 0 + } + return *i.ID +} + +// GetIssue returns the Issue field. +func (i *IssueEvent) GetIssue() *Issue { + if i == nil { + return nil + } + return i.Issue +} + +// GetLabel returns the Label field. +func (i *IssueEvent) GetLabel() *Label { + if i == nil { + return nil + } + return i.Label +} + +// GetLockReason returns the LockReason field if it's non-nil, zero value otherwise. +func (i *IssueEvent) GetLockReason() string { + if i == nil || i.LockReason == nil { + return "" + } + return *i.LockReason +} + +// GetMilestone returns the Milestone field. +func (i *IssueEvent) GetMilestone() *Milestone { + if i == nil { + return nil + } + return i.Milestone +} + +// GetPerformedViaGithubApp returns the PerformedViaGithubApp field. +func (i *IssueEvent) GetPerformedViaGithubApp() *App { + if i == nil { + return nil + } + return i.PerformedViaGithubApp +} + +// GetRename returns the Rename field. +func (i *IssueEvent) GetRename() *Rename { + if i == nil { + return nil + } + return i.Rename +} + +// GetRepository returns the Repository field. +func (i *IssueEvent) GetRepository() *Repository { + if i == nil { + return nil + } + return i.Repository +} + +// GetRequestedReviewer returns the RequestedReviewer field. +func (i *IssueEvent) GetRequestedReviewer() *User { + if i == nil { + return nil + } + return i.RequestedReviewer +} + +// GetRequestedTeam returns the RequestedTeam field. +func (i *IssueEvent) GetRequestedTeam() *Team { + if i == nil { + return nil + } + return i.RequestedTeam +} + +// GetReviewRequester returns the ReviewRequester field. +func (i *IssueEvent) GetReviewRequester() *User { + if i == nil { + return nil + } + return i.ReviewRequester +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (i *IssueEvent) GetURL() string { + if i == nil || i.URL == nil { + return "" + } + return *i.URL +} + +// GetDataType returns the DataType field. +func (i *IssueFieldValue) GetDataType() string { + if i == nil { + return "" + } + return i.DataType +} + +// GetIssueFieldID returns the IssueFieldID field. +func (i *IssueFieldValue) GetIssueFieldID() int64 { + if i == nil { + return 0 + } + return i.IssueFieldID +} + +// GetNodeID returns the NodeID field. +func (i *IssueFieldValue) GetNodeID() string { + if i == nil { + return "" + } + return i.NodeID +} + +// GetSingleSelectOption returns the SingleSelectOption field. +func (i *IssueFieldValue) GetSingleSelectOption() *IssueFieldValueSingleSelectOption { + if i == nil { + return nil + } + return i.SingleSelectOption +} + +// GetValue returns the Value field. +func (i *IssueFieldValue) GetValue() any { + if i == nil { + return nil + } + return i.Value +} + +// GetColor returns the Color field. +func (i *IssueFieldValueSingleSelectOption) GetColor() string { + if i == nil { + return "" + } + return i.Color +} + +// GetID returns the ID field. +func (i *IssueFieldValueSingleSelectOption) GetID() int64 { + if i == nil { + return 0 + } + return i.ID +} + +// GetName returns the Name field. +func (i *IssueFieldValueSingleSelectOption) GetName() string { + if i == nil { + return "" + } + return i.Name +} + +// GetAssignee returns the Assignee field if it's non-nil, zero value otherwise. +func (i *IssueImport) GetAssignee() string { + if i == nil || i.Assignee == nil { + return "" + } + 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 { + return false + } + return *i.Closed +} + +// GetClosedAt returns the ClosedAt field if it's non-nil, zero value otherwise. +func (i *IssueImport) GetClosedAt() Timestamp { + if i == nil || i.ClosedAt == nil { + return Timestamp{} + } + return *i.ClosedAt +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (i *IssueImport) GetCreatedAt() Timestamp { + if i == nil || i.CreatedAt == nil { + return 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 { + return 0 + } + 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 { + return Timestamp{} + } + return *i.UpdatedAt +} + +// GetCode returns the Code field if it's non-nil, zero value otherwise. +func (i *IssueImportError) GetCode() string { + if i == nil || i.Code == nil { + return "" + } + return *i.Code +} + +// GetField returns the Field field if it's non-nil, zero value otherwise. +func (i *IssueImportError) GetField() string { + if i == nil || i.Field == nil { + return "" + } + return *i.Field +} + +// GetLocation returns the Location field if it's non-nil, zero value otherwise. +func (i *IssueImportError) GetLocation() string { + if i == nil || i.Location == nil { + return "" + } + return *i.Location +} + +// GetResource returns the Resource field if it's non-nil, zero value otherwise. +func (i *IssueImportError) GetResource() string { + if i == nil || i.Resource == nil { + return "" + } + return *i.Resource +} + +// GetValue returns the Value field if it's non-nil, zero value otherwise. +func (i *IssueImportError) GetValue() string { + if i == nil || i.Value == nil { + return "" + } + 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 { + return Timestamp{} + } + return *i.CreatedAt +} + +// GetDocumentationURL returns the DocumentationURL field if it's non-nil, zero value otherwise. +func (i *IssueImportResponse) GetDocumentationURL() string { + if i == nil || i.DocumentationURL == nil { + return "" + } + 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 { + return 0 + } + return *i.ID +} + +// GetImportIssuesURL returns the ImportIssuesURL field if it's non-nil, zero value otherwise. +func (i *IssueImportResponse) GetImportIssuesURL() string { + if i == nil || i.ImportIssuesURL == nil { + return "" + } + return *i.ImportIssuesURL +} + +// GetMessage returns the Message field if it's non-nil, zero value otherwise. +func (i *IssueImportResponse) GetMessage() string { + if i == nil || i.Message == nil { + return "" + } + return *i.Message +} + +// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise. +func (i *IssueImportResponse) GetRepositoryURL() string { + if i == nil || i.RepositoryURL == nil { + return "" + } + return *i.RepositoryURL +} + +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (i *IssueImportResponse) GetStatus() string { + if i == nil || i.Status == nil { + return "" + } + return *i.Status +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (i *IssueImportResponse) GetUpdatedAt() Timestamp { + if i == nil || i.UpdatedAt == nil { + return Timestamp{} + } + return *i.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (i *IssueImportResponse) GetURL() string { + if i == nil || i.URL == nil { + return "" + } + 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 { + return "" + } + return *i.Direction +} + +// GetSince returns the Since field if it's non-nil, zero value otherwise. +func (i *IssueListCommentsOptions) GetSince() time.Time { + if i == nil || i.Since == nil { + return time.Time{} + } + return *i.Since +} + +// GetSort returns the Sort field if it's non-nil, zero value otherwise. +func (i *IssueListCommentsOptions) GetSort() string { + if i == nil || i.Sort == nil { + return "" + } + return *i.Sort +} + +// GetFieldID returns the FieldID field. +func (i *IssueRequestFieldValue) GetFieldID() int64 { + if i == nil { + return 0 + } + return i.FieldID +} + +// GetValue returns the Value field. +func (i *IssueRequestFieldValue) GetValue() any { + if i == nil { + return nil + } + return i.Value +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (i *IssuesEvent) GetAction() string { + if i == nil || i.Action == nil { + return "" + } + return *i.Action +} + +// GetAssignee returns the Assignee field. +func (i *IssuesEvent) GetAssignee() *User { + if i == nil { + return nil + } + return i.Assignee +} + +// GetChanges returns the Changes field. +func (i *IssuesEvent) GetChanges() *EditChange { + if i == nil { + return nil + } + return i.Changes +} + +// GetInstallation returns the Installation field. +func (i *IssuesEvent) GetInstallation() *Installation { + if i == nil { + return nil + } + return i.Installation +} + +// GetIssue returns the Issue field. +func (i *IssuesEvent) GetIssue() *Issue { + if i == nil { + return nil + } + return i.Issue +} + +// GetLabel returns the Label field. +func (i *IssuesEvent) GetLabel() *Label { + if i == nil { + return nil + } + return i.Label +} + +// GetMilestone returns the Milestone field. +func (i *IssuesEvent) GetMilestone() *Milestone { + if i == nil { + return nil + } + return i.Milestone +} + +// GetOrg returns the Org field. +func (i *IssuesEvent) GetOrg() *Organization { + if i == nil { + return nil + } + return i.Org +} + +// GetRepo returns the Repo field. +func (i *IssuesEvent) GetRepo() *Repository { + if i == nil { + return nil + } + return i.Repo +} + +// GetSender returns the Sender field. +func (i *IssuesEvent) GetSender() *User { + if i == nil { + return nil + } + return i.Sender +} + +// GetIncompleteResults returns the IncompleteResults field if it's non-nil, zero value otherwise. +func (i *IssuesSearchResult) GetIncompleteResults() bool { + if i == nil || i.IncompleteResults == nil { + return false + } + 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 +} + +// GetSearchType returns the SearchType field if it's non-nil, zero value otherwise. +func (i *IssuesSearchResult) GetSearchType() string { + if i == nil || i.SearchType == nil { + return "" + } + return *i.SearchType +} + +// GetTotal returns the Total field if it's non-nil, zero value otherwise. +func (i *IssuesSearchResult) GetTotal() int { + if i == nil || i.Total == nil { + return 0 + } + return *i.Total +} + +// GetClosedIssues returns the ClosedIssues field if it's non-nil, zero value otherwise. +func (i *IssueStats) GetClosedIssues() int { + if i == nil || i.ClosedIssues == nil { + return 0 + } + return *i.ClosedIssues +} + +// GetOpenIssues returns the OpenIssues field if it's non-nil, zero value otherwise. +func (i *IssueStats) GetOpenIssues() int { + if i == nil || i.OpenIssues == nil { + return 0 + } + return *i.OpenIssues +} + +// GetTotalIssues returns the TotalIssues field if it's non-nil, zero value otherwise. +func (i *IssueStats) GetTotalIssues() int { + if i == nil || i.TotalIssues == nil { + return 0 + } + return *i.TotalIssues +} + +// GetColor returns the Color field if it's non-nil, zero value otherwise. +func (i *IssueType) GetColor() string { + if i == nil || i.Color == nil { + return "" + } + return *i.Color +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (i *IssueType) GetCreatedAt() Timestamp { + if i == nil || i.CreatedAt == nil { + return Timestamp{} + } + return *i.CreatedAt +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (i *IssueType) GetDescription() string { + if i == nil || i.Description == nil { + return "" + } + return *i.Description +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (i *IssueType) GetID() int64 { + if i == nil || i.ID == nil { + return 0 + } + return *i.ID +} + +// GetIsEnabled returns the IsEnabled field if it's non-nil, zero value otherwise. +func (i *IssueType) GetIsEnabled() bool { + if i == nil || i.IsEnabled == nil { + return false + } + return *i.IsEnabled +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (i *IssueType) GetName() string { + if i == nil || i.Name == nil { + return "" + } + return *i.Name +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (i *IssueType) GetNodeID() string { + if i == nil || i.NodeID == nil { + return "" + } + return *i.NodeID +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (i *IssueType) GetUpdatedAt() Timestamp { + if i == nil || i.UpdatedAt == nil { + return Timestamp{} + } + return *i.UpdatedAt +} + +// GetEncodedJITConfig returns the EncodedJITConfig field if it's non-nil, zero value otherwise. +func (j *JITRunnerConfig) GetEncodedJITConfig() string { + if j == nil || j.EncodedJITConfig == nil { + return "" + } + return *j.EncodedJITConfig +} + +// GetRunner returns the Runner field. +func (j *JITRunnerConfig) GetRunner() *Runner { + if j == nil { + return nil + } + 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 { + return 0 + } + return *j.TotalCount +} + +// GetAddedBy returns the AddedBy field if it's non-nil, zero value otherwise. +func (k *Key) GetAddedBy() string { + if k == nil || k.AddedBy == nil { + return "" + } + return *k.AddedBy +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (k *Key) GetCreatedAt() Timestamp { + if k == nil || k.CreatedAt == nil { + return Timestamp{} + } + return *k.CreatedAt +} + +// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. +func (k *Key) GetEnabled() bool { + if k == nil || k.Enabled == nil { + return false + } + return *k.Enabled +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (k *Key) GetID() int64 { + if k == nil || k.ID == nil { + return 0 + } + return *k.ID +} + +// GetKey returns the Key field if it's non-nil, zero value otherwise. +func (k *Key) GetKey() string { + if k == nil || k.Key == nil { + return "" + } + return *k.Key +} + +// GetLastUsed returns the LastUsed field if it's non-nil, zero value otherwise. +func (k *Key) GetLastUsed() Timestamp { + if k == nil || k.LastUsed == nil { + return Timestamp{} + } + return *k.LastUsed +} + +// GetReadOnly returns the ReadOnly field if it's non-nil, zero value otherwise. +func (k *Key) GetReadOnly() bool { + if k == nil || k.ReadOnly == nil { + return false + } + return *k.ReadOnly +} + +// GetTitle returns the Title field if it's non-nil, zero value otherwise. +func (k *Key) GetTitle() string { + if k == nil || k.Title == nil { + return "" + } + return *k.Title +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (k *Key) GetURL() string { + if k == nil || k.URL == nil { + return "" + } + return *k.URL +} + +// GetVerified returns the Verified field if it's non-nil, zero value otherwise. +func (k *Key) GetVerified() bool { + if k == nil || k.Verified == nil { + return false + } + return *k.Verified +} + +// GetColor returns the Color field. +func (l *Label) GetColor() string { + if l == nil { + return "" + } + return l.Color +} + +// GetDefault returns the Default field. +func (l *Label) GetDefault() bool { + if l == nil { + return false + } + return l.Default +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (l *Label) GetDescription() string { + if l == nil || l.Description == nil { + return "" + } + return *l.Description +} + +// GetID returns the ID field. +func (l *Label) GetID() int64 { + if l == nil { + return 0 + } + return l.ID +} + +// GetName returns the Name field. +func (l *Label) GetName() string { + if l == nil { + return "" + } + return l.Name +} + +// GetNodeID returns the NodeID field. +func (l *Label) GetNodeID() string { + if l == nil { + return "" + } + return l.NodeID +} + +// GetURL returns the URL field. +func (l *Label) GetURL() string { + if l == nil { + return "" + } + return l.URL +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (l *LabelEvent) GetAction() string { + if l == nil || l.Action == nil { + return "" + } + return *l.Action +} + +// GetChanges returns the Changes field. +func (l *LabelEvent) GetChanges() *EditChange { + if l == nil { + return nil + } + return l.Changes +} + +// GetInstallation returns the Installation field. +func (l *LabelEvent) GetInstallation() *Installation { + if l == nil { + return nil + } + return l.Installation +} + +// GetLabel returns the Label field. +func (l *LabelEvent) GetLabel() *Label { + if l == nil { + return nil + } + return l.Label +} + +// GetOrg returns the Org field. +func (l *LabelEvent) GetOrg() *Organization { + if l == nil { + return nil + } + return l.Org +} + +// GetRepo returns the Repo field. +func (l *LabelEvent) GetRepo() *Repository { + if l == nil { + return nil + } + return l.Repo +} + +// GetSender returns the Sender field. +func (l *LabelEvent) GetSender() *User { + if l == nil { + return nil + } + return l.Sender +} + +// GetColor returns the Color field if it's non-nil, zero value otherwise. +func (l *LabelResult) GetColor() string { + if l == nil || l.Color == nil { + return "" + } + return *l.Color +} + +// GetDefault returns the Default field if it's non-nil, zero value otherwise. +func (l *LabelResult) GetDefault() bool { + if l == nil || l.Default == nil { + return false + } + return *l.Default +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (l *LabelResult) GetDescription() string { + if l == nil || l.Description == nil { + return "" + } + return *l.Description +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (l *LabelResult) GetID() int64 { + if l == nil || l.ID == nil { + return 0 + } + return *l.ID +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (l *LabelResult) GetName() string { + if l == nil || l.Name == nil { + return "" + } + return *l.Name +} + +// 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 +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (l *LabelResult) GetURL() string { + if l == nil || l.URL == nil { + return "" + } + return *l.URL +} + +// GetIncompleteResults returns the IncompleteResults field if it's non-nil, zero value otherwise. +func (l *LabelsSearchResult) GetIncompleteResults() bool { + if l == nil || l.IncompleteResults == nil { + return false + } + 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 { + return 0 + } + return *l.Total +} + +// GetOID returns the OID field if it's non-nil, zero value otherwise. +func (l *LargeFile) GetOID() string { + if l == nil || l.OID == nil { + return "" + } + return *l.OID +} + +// GetPath returns the Path field if it's non-nil, zero value otherwise. +func (l *LargeFile) GetPath() string { + if l == nil || l.Path == nil { + return "" + } + return *l.Path +} + +// GetRefName returns the RefName field if it's non-nil, zero value otherwise. +func (l *LargeFile) GetRefName() string { + if l == nil || l.RefName == nil { + return "" + } + return *l.RefName +} + +// GetSize returns the Size field if it's non-nil, zero value otherwise. +func (l *LargeFile) GetSize() int { + if l == nil || l.Size == nil { + return 0 + } + return *l.Size +} + +// GetProperties returns the Properties field. +func (l *LastLicenseSync) GetProperties() *LastLicenseSyncProperties { + if l == nil { + return nil + } + 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 { + return 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 { + return "" + } + return *l.Body +} + +// GetConditions returns the Conditions field if it's non-nil, zero value otherwise. +func (l *License) GetConditions() []string { + if l == nil || l.Conditions == nil { + return nil + } + return *l.Conditions +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (l *License) GetDescription() string { + if l == nil || l.Description == nil { + return "" + } + return *l.Description +} + +// GetFeatured returns the Featured field if it's non-nil, zero value otherwise. +func (l *License) GetFeatured() bool { + if l == nil || l.Featured == nil { + return false + } + return *l.Featured +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (l *License) GetHTMLURL() string { + if l == nil || l.HTMLURL == nil { + return "" + } + return *l.HTMLURL +} + +// GetImplementation returns the Implementation field if it's non-nil, zero value otherwise. +func (l *License) GetImplementation() string { + if l == nil || l.Implementation == nil { + return "" + } + return *l.Implementation +} + +// GetKey returns the Key field if it's non-nil, zero value otherwise. +func (l *License) GetKey() string { + if l == nil || l.Key == nil { + return "" + } + return *l.Key +} + +// GetLimitations returns the Limitations field if it's non-nil, zero value otherwise. +func (l *License) GetLimitations() []string { + if l == nil || l.Limitations == nil { + return nil + } + return *l.Limitations +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (l *License) GetName() string { + if l == nil || l.Name == nil { + return "" + } + return *l.Name +} + +// GetPermissions returns the Permissions field if it's non-nil, zero value otherwise. +func (l *License) GetPermissions() []string { + if l == nil || l.Permissions == nil { + return nil + } + return *l.Permissions +} + +// GetSPDXID returns the SPDXID field if it's non-nil, zero value otherwise. +func (l *License) GetSPDXID() string { + if l == nil || l.SPDXID == nil { + return "" + } + return *l.SPDXID +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (l *License) GetURL() string { + if l == nil || l.URL == nil { + return "" + } + return *l.URL +} + +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (l *LicenseCheck) GetStatus() string { + if l == nil || l.Status == nil { + return "" + } + return *l.Status +} + +// GetAdvancedSecurityEnabled returns the AdvancedSecurityEnabled field if it's non-nil, zero value otherwise. +func (l *LicenseStatus) GetAdvancedSecurityEnabled() bool { + if l == nil || l.AdvancedSecurityEnabled == nil { + return false + } + return *l.AdvancedSecurityEnabled +} + +// GetAdvancedSecuritySeats returns the AdvancedSecuritySeats field if it's non-nil, zero value otherwise. +func (l *LicenseStatus) GetAdvancedSecuritySeats() int { + if l == nil || l.AdvancedSecuritySeats == nil { + return 0 + } + return *l.AdvancedSecuritySeats +} + +// GetClusterSupport returns the ClusterSupport field if it's non-nil, zero value otherwise. +func (l *LicenseStatus) GetClusterSupport() bool { + if l == nil || l.ClusterSupport == nil { + return false + } + return *l.ClusterSupport +} + +// GetCompany returns the Company field if it's non-nil, zero value otherwise. +func (l *LicenseStatus) GetCompany() string { + if l == nil || l.Company == nil { + return "" + } + return *l.Company +} + +// GetCroquetSupport returns the CroquetSupport field if it's non-nil, zero value otherwise. +func (l *LicenseStatus) GetCroquetSupport() bool { + if l == nil || l.CroquetSupport == nil { + return false + } + return *l.CroquetSupport +} + +// GetCustomTerms returns the CustomTerms field if it's non-nil, zero value otherwise. +func (l *LicenseStatus) GetCustomTerms() bool { + if l == nil || l.CustomTerms == nil { + return false + } + return *l.CustomTerms +} + +// GetEvaluation returns the Evaluation field if it's non-nil, zero value otherwise. +func (l *LicenseStatus) GetEvaluation() bool { + if l == nil || l.Evaluation == nil { + return false + } + return *l.Evaluation +} + +// GetExpireAt returns the ExpireAt field if it's non-nil, zero value otherwise. +func (l *LicenseStatus) GetExpireAt() Timestamp { + if l == nil || l.ExpireAt == nil { + return Timestamp{} + } + return *l.ExpireAt +} + +// GetInsightsEnabled returns the InsightsEnabled field if it's non-nil, zero value otherwise. +func (l *LicenseStatus) GetInsightsEnabled() bool { + if l == nil || l.InsightsEnabled == nil { + return false + } + return *l.InsightsEnabled +} + +// GetInsightsExpireAt returns the InsightsExpireAt field if it's non-nil, zero value otherwise. +func (l *LicenseStatus) GetInsightsExpireAt() Timestamp { + if l == nil || l.InsightsExpireAt == nil { + return Timestamp{} + } + return *l.InsightsExpireAt +} + +// GetLearningLabEvaluationExpires returns the LearningLabEvaluationExpires field if it's non-nil, zero value otherwise. +func (l *LicenseStatus) GetLearningLabEvaluationExpires() Timestamp { + if l == nil || l.LearningLabEvaluationExpires == nil { + return Timestamp{} + } + return *l.LearningLabEvaluationExpires +} + +// GetLearningLabSeats returns the LearningLabSeats field if it's non-nil, zero value otherwise. +func (l *LicenseStatus) GetLearningLabSeats() int { + if l == nil || l.LearningLabSeats == nil { + return 0 + } + return *l.LearningLabSeats +} + +// GetPerpetual returns the Perpetual field if it's non-nil, zero value otherwise. +func (l *LicenseStatus) GetPerpetual() bool { + if l == nil || l.Perpetual == nil { + return false + } + return *l.Perpetual +} + +// GetReferenceNumber returns the ReferenceNumber field if it's non-nil, zero value otherwise. +func (l *LicenseStatus) GetReferenceNumber() string { + if l == nil || l.ReferenceNumber == nil { + return "" + } + return *l.ReferenceNumber +} + +// GetSeats returns the Seats field if it's non-nil, zero value otherwise. +func (l *LicenseStatus) GetSeats() int { + if l == nil || l.Seats == nil { + return 0 + } + return *l.Seats +} + +// GetSSHAllowed returns the SSHAllowed field if it's non-nil, zero value otherwise. +func (l *LicenseStatus) GetSSHAllowed() bool { + if l == nil || l.SSHAllowed == nil { + return false + } + return *l.SSHAllowed +} + +// GetSupportKey returns the SupportKey field if it's non-nil, zero value otherwise. +func (l *LicenseStatus) GetSupportKey() bool { + if l == nil || l.SupportKey == nil { + return false + } + return *l.SupportKey +} + +// GetUnlimitedSeating returns the UnlimitedSeating field if it's non-nil, zero value otherwise. +func (l *LicenseStatus) GetUnlimitedSeating() bool { + if l == nil || l.UnlimitedSeating == nil { + return false + } + return *l.UnlimitedSeating +} + +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (l *LinearHistoryRequirementEnforcementLevelChanges) GetFrom() string { + if l == nil || l.From == nil { + return "" + } + return *l.From +} + +// GetDirection returns the Direction field if it's non-nil, zero value otherwise. +func (l *ListAlertsOptions) GetDirection() string { + if l == nil || l.Direction == nil { + return "" + } + return *l.Direction +} + +// GetEcosystem returns the Ecosystem field if it's non-nil, zero value otherwise. +func (l *ListAlertsOptions) GetEcosystem() string { + if l == nil || l.Ecosystem == nil { + return "" + } + return *l.Ecosystem +} + +// GetPackage returns the Package field if it's non-nil, zero value otherwise. +func (l *ListAlertsOptions) GetPackage() string { + if l == nil || l.Package == nil { + return "" + } + return *l.Package +} + +// GetScope returns the Scope field if it's non-nil, zero value otherwise. +func (l *ListAlertsOptions) GetScope() string { + if l == nil || l.Scope == nil { + return "" + } + return *l.Scope +} + +// GetSeverity returns the Severity field if it's non-nil, zero value otherwise. +func (l *ListAlertsOptions) GetSeverity() string { + if l == nil || l.Severity == nil { + return "" + } + return *l.Severity +} + +// GetSort returns the Sort field if it's non-nil, zero value otherwise. +func (l *ListAlertsOptions) GetSort() string { + if l == nil || l.Sort == nil { + return "" + } + return *l.Sort +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (l *ListAlertsOptions) GetState() string { + if l == nil || l.State == nil { + return "" + } + return *l.State +} + +// 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 { + return "" + } + return *l.Name +} + +// GetAppID returns the AppID field if it's non-nil, zero value otherwise. +func (l *ListCheckRunsOptions) GetAppID() int64 { + if l == nil || l.AppID == nil { + return 0 + } + return *l.AppID +} + +// GetCheckName returns the CheckName field if it's non-nil, zero value otherwise. +func (l *ListCheckRunsOptions) GetCheckName() string { + if l == nil || l.CheckName == nil { + return "" + } + return *l.CheckName +} + +// GetFilter returns the Filter field if it's non-nil, zero value otherwise. +func (l *ListCheckRunsOptions) GetFilter() string { + if l == nil || l.Filter == nil { + return "" + } + return *l.Filter +} + +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (l *ListCheckRunsOptions) GetStatus() string { + if l == nil || l.Status == nil { + return "" + } + 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 { + return 0 + } + return *l.Total +} + +// GetAppID returns the AppID field if it's non-nil, zero value otherwise. +func (l *ListCheckSuiteOptions) GetAppID() int64 { + if l == nil || l.AppID == nil { + return 0 + } + return *l.AppID +} + +// GetCheckName returns the CheckName field if it's non-nil, zero value otherwise. +func (l *ListCheckSuiteOptions) GetCheckName() string { + if l == nil || l.CheckName == nil { + return "" + } + 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 { + return 0 + } + return *l.Total +} + +// GetDirection returns the Direction field. +func (l *ListCodeQualityFindingsOptions) GetDirection() string { + if l == nil { + return "" + } + return l.Direction +} + +// GetState returns the State field. +func (l *ListCodeQualityFindingsOptions) GetState() string { + if l == nil { + return "" + } + return l.State +} + +// 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 { + return 0 + } + 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 { + return "" + } + 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 { + return 0 + } + 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 { + return 0 + } + 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 { + return "" + } + 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 { + return "" + } + return *l.Affects +} + +// GetCVEID returns the CVEID field if it's non-nil, zero value otherwise. +func (l *ListGlobalSecurityAdvisoriesOptions) GetCVEID() string { + if l == nil || l.CVEID == nil { + return "" + } + 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 { + return "" + } + return *l.Ecosystem +} + +// GetGHSAID returns the GHSAID field if it's non-nil, zero value otherwise. +func (l *ListGlobalSecurityAdvisoriesOptions) GetGHSAID() string { + if l == nil || l.GHSAID == nil { + return "" + } + return *l.GHSAID +} + +// GetIsWithdrawn returns the IsWithdrawn field if it's non-nil, zero value otherwise. +func (l *ListGlobalSecurityAdvisoriesOptions) GetIsWithdrawn() bool { + if l == nil || l.IsWithdrawn == nil { + return false + } + return *l.IsWithdrawn +} + +// GetModified returns the Modified field if it's non-nil, zero value otherwise. +func (l *ListGlobalSecurityAdvisoriesOptions) GetModified() string { + if l == nil || l.Modified == nil { + return "" + } + return *l.Modified +} + +// GetPublished returns the Published field if it's non-nil, zero value otherwise. +func (l *ListGlobalSecurityAdvisoriesOptions) GetPublished() string { + if l == nil || l.Published == nil { + return "" + } + return *l.Published +} + +// GetSeverity returns the Severity field if it's non-nil, zero value otherwise. +func (l *ListGlobalSecurityAdvisoriesOptions) GetSeverity() string { + if l == nil || l.Severity == nil { + return "" + } + return *l.Severity +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (l *ListGlobalSecurityAdvisoriesOptions) GetType() string { + if l == nil || l.Type == nil { + return "" + } + return *l.Type +} + +// GetUpdated returns the Updated field if it's non-nil, zero value otherwise. +func (l *ListGlobalSecurityAdvisoriesOptions) GetUpdated() string { + if l == nil || l.Updated == nil { + return "" + } + 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 { + return false + } + 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 +} + +// GetRepositories returns the Repositories slice if it's non-nil, nil otherwise. +func (l *ListOrganizationCopilotCodingAgentRepositoriesResponse) GetRepositories() []*Repository { + if l == nil || l.Repositories == nil { + return nil + } + return l.Repositories +} + +// GetTotalCount returns the TotalCount field. +func (l *ListOrganizationCopilotCodingAgentRepositoriesResponse) GetTotalCount() int { + if l == nil { + return 0 + } + return l.TotalCount +} + +// 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 { + return 0 + } + 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 { + return 0 + } + return *l.Count +} + +// GetExcludedAttributes returns the ExcludedAttributes field if it's non-nil, zero value otherwise. +func (l *ListProvisionedSCIMGroupsEnterpriseOptions) GetExcludedAttributes() string { + if l == nil || l.ExcludedAttributes == nil { + return "" + } + return *l.ExcludedAttributes +} + +// GetFilter returns the Filter field if it's non-nil, zero value otherwise. +func (l *ListProvisionedSCIMGroupsEnterpriseOptions) GetFilter() string { + if l == nil || l.Filter == nil { + return "" + } + return *l.Filter +} + +// GetStartIndex returns the StartIndex field if it's non-nil, zero value otherwise. +func (l *ListProvisionedSCIMGroupsEnterpriseOptions) GetStartIndex() int { + if l == nil || l.StartIndex == nil { + return 0 + } + return *l.StartIndex +} + +// GetCount returns the Count field if it's non-nil, zero value otherwise. +func (l *ListProvisionedSCIMUsersEnterpriseOptions) GetCount() int { + if l == nil || l.Count == nil { + return 0 + } + return *l.Count +} + +// GetFilter returns the Filter field if it's non-nil, zero value otherwise. +func (l *ListProvisionedSCIMUsersEnterpriseOptions) GetFilter() string { + if l == nil || l.Filter == nil { + return "" + } + return *l.Filter +} + +// GetStartIndex returns the StartIndex field if it's non-nil, zero value otherwise. +func (l *ListProvisionedSCIMUsersEnterpriseOptions) GetStartIndex() int { + if l == nil || l.StartIndex == nil { + return 0 + } + 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 { + return "" + } + return *l.ClientIP +} + +// GetLocation returns the Location field if it's non-nil, zero value otherwise. +func (l *ListRepoMachineTypesOptions) GetLocation() string { + if l == nil || l.Location == nil { + return "" + } + return *l.Location +} + +// GetRef returns the Ref field if it's non-nil, zero value otherwise. +func (l *ListRepoMachineTypesOptions) GetRef() string { + if l == nil || l.Ref == nil { + return "" + } + 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 { + return 0 + } + 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 { + return "" + } + return *l.Name +} + +// GetCount returns the Count field if it's non-nil, zero value otherwise. +func (l *ListSCIMProvisionedIdentitiesOptions) GetCount() int { + if l == nil || l.Count == nil { + return 0 + } + return *l.Count +} + +// GetFilter returns the Filter field if it's non-nil, zero value otherwise. +func (l *ListSCIMProvisionedIdentitiesOptions) GetFilter() string { + if l == nil || l.Filter == nil { + return "" + } + return *l.Filter +} + +// GetStartIndex returns the StartIndex field if it's non-nil, zero value otherwise. +func (l *ListSCIMProvisionedIdentitiesOptions) GetStartIndex() int { + if l == nil || l.StartIndex == nil { + return 0 + } + 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 +} + +// GetIsUnmatchedOnly returns the IsUnmatchedOnly field. +func (l *ListVisualStudioSubscriptionsOptions) GetIsUnmatchedOnly() bool { + if l == nil { + return false + } + return l.IsUnmatchedOnly +} + +// 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 { + return 0 + } + return *l.EndColumn +} + +// GetEndLine returns the EndLine field if it's non-nil, zero value otherwise. +func (l *Location) GetEndLine() int { + if l == nil || l.EndLine == nil { + return 0 + } + return *l.EndLine +} + +// GetPath returns the Path field if it's non-nil, zero value otherwise. +func (l *Location) GetPath() string { + if l == nil || l.Path == nil { + return "" + } + return *l.Path +} + +// GetStartColumn returns the StartColumn field if it's non-nil, zero value otherwise. +func (l *Location) GetStartColumn() int { + if l == nil || l.StartColumn == nil { + return 0 + } + return *l.StartColumn +} + +// GetStartLine returns the StartLine field if it's non-nil, zero value otherwise. +func (l *Location) GetStartLine() int { + if l == nil || l.StartLine == nil { + return 0 + } + return *l.StartLine +} + +// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. +func (l *LockBranch) GetEnabled() bool { + if l == nil || l.Enabled == nil { + return false + } + 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 { + return "" + } + return *m.Hostname +} + +// GetMessage returns the Message field if it's non-nil, zero value otherwise. +func (m *MaintenanceOperationStatus) GetMessage() string { + if m == nil || m.Message == nil { + return "" + } + return *m.Message +} + +// GetUUID returns the UUID field if it's non-nil, zero value otherwise. +func (m *MaintenanceOperationStatus) GetUUID() string { + if m == nil || m.UUID == nil { + return "" + } + 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 { + return "" + } + return *m.MaintenanceModeMessage +} + +// GetUUID returns the UUID field if it's non-nil, zero value otherwise. +func (m *MaintenanceOptions) GetUUID() string { + if m == nil || m.UUID == nil { + return "" + } + return *m.UUID +} + +// GetWhen returns the When field if it's non-nil, zero value otherwise. +func (m *MaintenanceOptions) GetWhen() string { + if m == nil || m.When == nil { + return "" + } + return *m.When +} + +// GetCanUnsetMaintenance returns the CanUnsetMaintenance field if it's non-nil, zero value otherwise. +func (m *MaintenanceStatus) GetCanUnsetMaintenance() bool { + if m == nil || m.CanUnsetMaintenance == nil { + return false + } + 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 { + return "" + } + 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 { + return "" + } + return *m.MaintenanceModeMessage +} + +// GetScheduledTime returns the ScheduledTime field if it's non-nil, zero value otherwise. +func (m *MaintenanceStatus) GetScheduledTime() Timestamp { + if m == nil || m.ScheduledTime == nil { + return Timestamp{} + } + return *m.ScheduledTime +} + +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (m *MaintenanceStatus) GetStatus() string { + if m == nil || m.Status == nil { + return "" + } + return *m.Status +} + +// GetUUID returns the UUID field if it's non-nil, zero value otherwise. +func (m *MaintenanceStatus) GetUUID() string { + if m == nil || m.UUID == nil { + return "" + } + 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 { + return Timestamp{} + } + return *m.EffectiveDate +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (m *MarketplacePendingChange) GetID() int64 { + if m == nil || m.ID == nil { + return 0 + } + return *m.ID +} + +// GetPlan returns the Plan field. +func (m *MarketplacePendingChange) GetPlan() *MarketplacePlan { + if m == nil { + return nil + } + return m.Plan +} + +// GetUnitCount returns the UnitCount field if it's non-nil, zero value otherwise. +func (m *MarketplacePendingChange) GetUnitCount() int { + if m == nil || m.UnitCount == nil { + return 0 + } + return *m.UnitCount +} + +// GetAccountsURL returns the AccountsURL field if it's non-nil, zero value otherwise. +func (m *MarketplacePlan) GetAccountsURL() string { + if m == nil || m.AccountsURL == nil { + return "" + } + return *m.AccountsURL +} + +// GetBullets returns the Bullets field if it's non-nil, zero value otherwise. +func (m *MarketplacePlan) GetBullets() []string { + if m == nil || m.Bullets == nil { + return nil + } + return *m.Bullets +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (m *MarketplacePlan) GetDescription() string { + if m == nil || m.Description == nil { + return "" + } + return *m.Description +} + +// GetHasFreeTrial returns the HasFreeTrial field if it's non-nil, zero value otherwise. +func (m *MarketplacePlan) GetHasFreeTrial() bool { + if m == nil || m.HasFreeTrial == nil { + return false + } + return *m.HasFreeTrial +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (m *MarketplacePlan) GetID() int64 { + if m == nil || m.ID == nil { + return 0 + } + return *m.ID +} + +// GetMonthlyPriceInCents returns the MonthlyPriceInCents field if it's non-nil, zero value otherwise. +func (m *MarketplacePlan) GetMonthlyPriceInCents() int { + if m == nil || m.MonthlyPriceInCents == nil { + return 0 + } + return *m.MonthlyPriceInCents +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (m *MarketplacePlan) GetName() string { + if m == nil || m.Name == nil { + return "" + } + return *m.Name +} + +// GetNumber returns the Number field if it's non-nil, zero value otherwise. +func (m *MarketplacePlan) GetNumber() int { + if m == nil || m.Number == nil { + return 0 + } + return *m.Number +} + +// GetPriceModel returns the PriceModel field if it's non-nil, zero value otherwise. +func (m *MarketplacePlan) GetPriceModel() string { + if m == nil || m.PriceModel == nil { + return "" + } + return *m.PriceModel +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (m *MarketplacePlan) GetState() string { + if m == nil || m.State == nil { + return "" + } + return *m.State +} + +// GetUnitName returns the UnitName field if it's non-nil, zero value otherwise. +func (m *MarketplacePlan) GetUnitName() string { + if m == nil || m.UnitName == nil { + return "" + } + return *m.UnitName +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (m *MarketplacePlan) GetURL() string { + if m == nil || m.URL == nil { + return "" + } + return *m.URL +} + +// GetYearlyPriceInCents returns the YearlyPriceInCents field if it's non-nil, zero value otherwise. +func (m *MarketplacePlan) GetYearlyPriceInCents() int { + if m == nil || m.YearlyPriceInCents == nil { + return 0 + } + return *m.YearlyPriceInCents +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (m *MarketplacePlanAccount) GetID() int64 { + if m == nil || m.ID == nil { + return 0 + } + return *m.ID +} + +// GetLogin returns the Login field if it's non-nil, zero value otherwise. +func (m *MarketplacePlanAccount) GetLogin() string { + if m == nil || m.Login == nil { + return "" + } + return *m.Login +} + +// GetMarketplacePendingChange returns the MarketplacePendingChange field. +func (m *MarketplacePlanAccount) GetMarketplacePendingChange() *MarketplacePendingChange { + if m == nil { + return nil + } + return m.MarketplacePendingChange +} + +// GetMarketplacePurchase returns the MarketplacePurchase field. +func (m *MarketplacePlanAccount) GetMarketplacePurchase() *MarketplacePurchase { + if m == nil { + return nil + } + return m.MarketplacePurchase +} + +// GetOrganizationBillingEmail returns the OrganizationBillingEmail field if it's non-nil, zero value otherwise. +func (m *MarketplacePlanAccount) GetOrganizationBillingEmail() string { + if m == nil || m.OrganizationBillingEmail == nil { + return "" + } + return *m.OrganizationBillingEmail +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (m *MarketplacePlanAccount) GetType() string { + if m == nil || m.Type == nil { + return "" + } + return *m.Type +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (m *MarketplacePlanAccount) GetURL() string { + if m == nil || m.URL == nil { + return "" + } + return *m.URL +} + +// GetAccount returns the Account field. +func (m *MarketplacePurchase) GetAccount() *MarketplacePurchaseAccount { + if m == nil { + return nil + } + return m.Account +} + +// GetBillingCycle returns the BillingCycle field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchase) GetBillingCycle() string { + if m == nil || m.BillingCycle == nil { + return "" + } + return *m.BillingCycle +} + +// GetFreeTrialEndsOn returns the FreeTrialEndsOn field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchase) GetFreeTrialEndsOn() Timestamp { + if m == nil || m.FreeTrialEndsOn == nil { + return Timestamp{} + } + return *m.FreeTrialEndsOn +} + +// GetNextBillingDate returns the NextBillingDate field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchase) GetNextBillingDate() Timestamp { + if m == nil || m.NextBillingDate == nil { + return Timestamp{} + } + return *m.NextBillingDate +} + +// GetOnFreeTrial returns the OnFreeTrial field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchase) GetOnFreeTrial() bool { + if m == nil || m.OnFreeTrial == nil { + return false + } + return *m.OnFreeTrial +} + +// GetPlan returns the Plan field. +func (m *MarketplacePurchase) GetPlan() *MarketplacePlan { + if m == nil { + return nil + } + return m.Plan +} + +// GetUnitCount returns the UnitCount field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchase) GetUnitCount() int { + if m == nil || m.UnitCount == nil { + return 0 + } + return *m.UnitCount +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchase) GetUpdatedAt() Timestamp { + if m == nil || m.UpdatedAt == nil { + return Timestamp{} + } + return *m.UpdatedAt +} + +// GetEmail returns the Email field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchaseAccount) GetEmail() string { + if m == nil || m.Email == nil { + return "" + } + return *m.Email +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchaseAccount) GetID() int64 { + if m == nil || m.ID == nil { + return 0 + } + return *m.ID +} + +// GetLogin returns the Login field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchaseAccount) GetLogin() string { + if m == nil || m.Login == nil { + return "" + } + return *m.Login +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchaseAccount) GetNodeID() string { + if m == nil || m.NodeID == nil { + return "" + } + return *m.NodeID +} + +// GetOrganizationBillingEmail returns the OrganizationBillingEmail field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchaseAccount) GetOrganizationBillingEmail() string { + if m == nil || m.OrganizationBillingEmail == nil { + return "" + } + return *m.OrganizationBillingEmail +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchaseAccount) GetType() string { + if m == nil || m.Type == nil { + return "" + } + return *m.Type +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchaseAccount) GetURL() string { + if m == nil || m.URL == nil { + return "" + } + return *m.URL +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchaseEvent) GetAction() string { + if m == nil || m.Action == nil { + return "" + } + return *m.Action +} + +// GetEffectiveDate returns the EffectiveDate field if it's non-nil, zero value otherwise. +func (m *MarketplacePurchaseEvent) GetEffectiveDate() Timestamp { + if m == nil || m.EffectiveDate == nil { + return Timestamp{} + } + return *m.EffectiveDate +} + +// GetInstallation returns the Installation field. +func (m *MarketplacePurchaseEvent) GetInstallation() *Installation { + if m == nil { + return nil + } + return m.Installation +} + +// GetMarketplacePurchase returns the MarketplacePurchase field. +func (m *MarketplacePurchaseEvent) GetMarketplacePurchase() *MarketplacePurchase { + if m == nil { + return nil + } + return m.MarketplacePurchase +} + +// GetOrg returns the Org field. +func (m *MarketplacePurchaseEvent) GetOrg() *Organization { + if m == nil { + return nil + } + return m.Org +} + +// GetPreviousMarketplacePurchase returns the PreviousMarketplacePurchase field. +func (m *MarketplacePurchaseEvent) GetPreviousMarketplacePurchase() *MarketplacePurchase { + if m == nil { + return nil + } + return m.PreviousMarketplacePurchase +} + +// GetSender returns the Sender field. +func (m *MarketplacePurchaseEvent) GetSender() *User { + if m == nil { + return nil + } + 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 { + return "" + } + 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 { + return nil + } + return m.Permission +} + +// GetRoleName returns the RoleName field. +func (m *MemberChanges) GetRoleName() *MemberChangesRoleName { + if m == nil { + return nil + } + return m.RoleName +} + +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (m *MemberChangesPermission) GetFrom() string { + if m == nil || m.From == nil { + return "" + } + return *m.From +} + +// GetTo returns the To field if it's non-nil, zero value otherwise. +func (m *MemberChangesPermission) GetTo() string { + if m == nil || m.To == nil { + return "" + } + return *m.To +} + +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (m *MemberChangesRoleName) GetFrom() string { + if m == nil || m.From == nil { + return "" + } + return *m.From +} + +// GetTo returns the To field if it's non-nil, zero value otherwise. +func (m *MemberChangesRoleName) GetTo() string { + if m == nil || m.To == nil { + return "" + } + return *m.To +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (m *MemberEvent) GetAction() string { + if m == nil || m.Action == nil { + return "" + } + return *m.Action +} + +// GetChanges returns the Changes field. +func (m *MemberEvent) GetChanges() *MemberChanges { + if m == nil { + return nil + } + return m.Changes +} + +// GetInstallation returns the Installation field. +func (m *MemberEvent) GetInstallation() *Installation { + if m == nil { + return nil + } + return m.Installation +} + +// GetMember returns the Member field. +func (m *MemberEvent) GetMember() *User { + if m == nil { + return nil + } + return m.Member +} + +// GetOrg returns the Org field. +func (m *MemberEvent) GetOrg() *Organization { + if m == nil { + return nil + } + return m.Org +} + +// GetRepo returns the Repo field. +func (m *MemberEvent) GetRepo() *Repository { + if m == nil { + return nil + } + return m.Repo +} + +// GetSender returns the Sender field. +func (m *MemberEvent) GetSender() *User { + if m == nil { + return nil + } + return m.Sender +} + +// GetOrganization returns the Organization field. +func (m *Membership) GetOrganization() *Organization { + if m == nil { + return nil + } + return m.Organization +} + +// GetOrganizationURL returns the OrganizationURL field if it's non-nil, zero value otherwise. +func (m *Membership) GetOrganizationURL() string { + if m == nil || m.OrganizationURL == nil { + return "" + } + return *m.OrganizationURL +} + +// GetRole returns the Role field if it's non-nil, zero value otherwise. +func (m *Membership) GetRole() string { + if m == nil || m.Role == nil { + return "" + } + return *m.Role +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (m *Membership) GetState() string { + if m == nil || m.State == nil { + return "" + } + return *m.State +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (m *Membership) GetURL() string { + if m == nil || m.URL == nil { + return "" + } + return *m.URL +} + +// GetUser returns the User field. +func (m *Membership) GetUser() *User { + if m == nil { + return nil + } + return m.User +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (m *MembershipEvent) GetAction() string { + if m == nil || m.Action == nil { + return "" + } + return *m.Action +} + +// GetInstallation returns the Installation field. +func (m *MembershipEvent) GetInstallation() *Installation { + if m == nil { + return nil + } + return m.Installation +} + +// GetMember returns the Member field. +func (m *MembershipEvent) GetMember() *User { + if m == nil { + return nil + } + return m.Member +} + +// GetOrg returns the Org field. +func (m *MembershipEvent) GetOrg() *Organization { + if m == nil { + return nil + } + return m.Org +} + +// GetScope returns the Scope field if it's non-nil, zero value otherwise. +func (m *MembershipEvent) GetScope() string { + if m == nil || m.Scope == nil { + return "" + } + return *m.Scope +} + +// GetSender returns the Sender field. +func (m *MembershipEvent) GetSender() *User { + if m == nil { + return nil + } + return m.Sender +} + +// GetTeam returns the Team field. +func (m *MembershipEvent) GetTeam() *Team { + if m == nil { + return nil + } + return m.Team +} + +// GetBaseRef returns the BaseRef field if it's non-nil, zero value otherwise. +func (m *MergeGroup) GetBaseRef() string { + if m == nil || m.BaseRef == nil { + return "" + } + return *m.BaseRef +} + +// GetBaseSHA returns the BaseSHA field if it's non-nil, zero value otherwise. +func (m *MergeGroup) GetBaseSHA() string { + if m == nil || m.BaseSHA == nil { + return "" + } + return *m.BaseSHA +} + +// GetHeadCommit returns the HeadCommit field. +func (m *MergeGroup) GetHeadCommit() *Commit { + if m == nil { + return nil + } + return m.HeadCommit +} + +// GetHeadRef returns the HeadRef field if it's non-nil, zero value otherwise. +func (m *MergeGroup) GetHeadRef() string { + if m == nil || m.HeadRef == nil { + return "" + } + return *m.HeadRef +} + +// GetHeadSHA returns the HeadSHA field if it's non-nil, zero value otherwise. +func (m *MergeGroup) GetHeadSHA() string { + if m == nil || m.HeadSHA == nil { + return "" + } + return *m.HeadSHA +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (m *MergeGroupEvent) GetAction() string { + if m == nil || m.Action == nil { + return "" + } + return *m.Action +} + +// GetInstallation returns the Installation field. +func (m *MergeGroupEvent) GetInstallation() *Installation { + if m == nil { + return nil + } + return m.Installation +} + +// GetMergeGroup returns the MergeGroup field. +func (m *MergeGroupEvent) GetMergeGroup() *MergeGroup { + if m == nil { + return nil + } + return m.MergeGroup +} + +// GetOrg returns the Org field. +func (m *MergeGroupEvent) GetOrg() *Organization { + if m == nil { + return nil + } + return m.Org +} + +// GetReason returns the Reason field if it's non-nil, zero value otherwise. +func (m *MergeGroupEvent) GetReason() string { + if m == nil || m.Reason == nil { + return "" + } + return *m.Reason +} + +// GetRepo returns the Repo field. +func (m *MergeGroupEvent) GetRepo() *Repository { + if m == nil { + return nil + } + return m.Repo +} + +// GetSender returns the Sender field. +func (m *MergeGroupEvent) GetSender() *User { + if m == nil { + return nil + } + return m.Sender +} + +// 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 { + return "" + } + return *m.Text +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (m *MetaEvent) GetAction() string { + if m == nil || m.Action == nil { + return "" + } + return *m.Action +} + +// GetHook returns the Hook field. +func (m *MetaEvent) GetHook() *Hook { + if m == nil { + return nil + } + return m.Hook +} + +// GetHookID returns the HookID field if it's non-nil, zero value otherwise. +func (m *MetaEvent) GetHookID() int64 { + if m == nil || m.HookID == nil { + return 0 + } + return *m.HookID +} + +// GetInstallation returns the Installation field. +func (m *MetaEvent) GetInstallation() *Installation { + if m == nil { + return nil + } + return m.Installation +} + +// GetOrg returns the Org field. +func (m *MetaEvent) GetOrg() *Organization { + if m == nil { + return nil + } + return m.Org +} + +// GetRepo returns the Repo field. +func (m *MetaEvent) GetRepo() *Repository { + if m == nil { + return nil + } + return m.Repo +} + +// GetSender returns the Sender field. +func (m *MetaEvent) GetSender() *User { + if m == nil { + return nil + } + return m.Sender +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (m *Metric) GetHTMLURL() string { + if m == nil || m.HTMLURL == nil { + return "" + } + return *m.HTMLURL +} + +// GetKey returns the Key field if it's non-nil, zero value otherwise. +func (m *Metric) GetKey() string { + if m == nil || m.Key == nil { + return "" + } + return *m.Key +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (m *Metric) GetName() string { + if m == nil || m.Name == nil { + return "" + } + return *m.Name +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (m *Metric) GetNodeID() string { + if m == nil || m.NodeID == nil { + return "" + } + return *m.NodeID +} + +// GetSPDXID returns the SPDXID field if it's non-nil, zero value otherwise. +func (m *Metric) GetSPDXID() string { + if m == nil || m.SPDXID == nil { + return "" + } + return *m.SPDXID +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (m *Metric) GetURL() string { + if m == nil || m.URL == nil { + return "" + } + return *m.URL +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (m *Migration) GetCreatedAt() string { + if m == nil || m.CreatedAt == nil { + return "" + } + return *m.CreatedAt +} + +// GetExcludeAttachments returns the ExcludeAttachments field if it's non-nil, zero value otherwise. +func (m *Migration) GetExcludeAttachments() bool { + if m == nil || m.ExcludeAttachments == nil { + return false + } + return *m.ExcludeAttachments +} + +// GetGUID returns the GUID field if it's non-nil, zero value otherwise. +func (m *Migration) GetGUID() string { + if m == nil || m.GUID == nil { + return "" + } + return *m.GUID +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (m *Migration) GetID() int64 { + if m == nil || m.ID == nil { + return 0 + } + return *m.ID +} + +// GetLockRepositories returns the LockRepositories field if it's non-nil, zero value otherwise. +func (m *Migration) GetLockRepositories() bool { + if m == nil || m.LockRepositories == nil { + return false + } + 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 { + return "" + } + return *m.State +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (m *Migration) GetUpdatedAt() string { + if m == nil || m.UpdatedAt == nil { + return "" + } + return *m.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (m *Migration) GetURL() string { + if m == nil || m.URL == nil { + return "" + } + 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 { + return Timestamp{} + } + return *m.ClosedAt +} + +// GetClosedIssues returns the ClosedIssues field if it's non-nil, zero value otherwise. +func (m *Milestone) GetClosedIssues() int { + if m == nil || m.ClosedIssues == nil { + return 0 + } + return *m.ClosedIssues +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (m *Milestone) GetCreatedAt() Timestamp { + if m == nil || m.CreatedAt == nil { + return Timestamp{} + } + return *m.CreatedAt +} + +// GetCreator returns the Creator field. +func (m *Milestone) GetCreator() *User { + if m == nil { + return nil + } + return m.Creator +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (m *Milestone) GetDescription() string { + if m == nil || m.Description == nil { + return "" + } + return *m.Description +} + +// GetDueOn returns the DueOn field if it's non-nil, zero value otherwise. +func (m *Milestone) GetDueOn() Timestamp { + if m == nil || m.DueOn == nil { + return Timestamp{} + } + return *m.DueOn +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (m *Milestone) GetHTMLURL() string { + if m == nil || m.HTMLURL == nil { + return "" + } + return *m.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (m *Milestone) GetID() int64 { + if m == nil || m.ID == nil { + return 0 + } + return *m.ID +} + +// GetLabelsURL returns the LabelsURL field if it's non-nil, zero value otherwise. +func (m *Milestone) GetLabelsURL() string { + if m == nil || m.LabelsURL == nil { + return "" + } + return *m.LabelsURL +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (m *Milestone) GetNodeID() string { + if m == nil || m.NodeID == nil { + return "" + } + return *m.NodeID +} + +// GetNumber returns the Number field if it's non-nil, zero value otherwise. +func (m *Milestone) GetNumber() int { + if m == nil || m.Number == nil { + return 0 + } + return *m.Number +} + +// GetOpenIssues returns the OpenIssues field if it's non-nil, zero value otherwise. +func (m *Milestone) GetOpenIssues() int { + if m == nil || m.OpenIssues == nil { + return 0 + } + return *m.OpenIssues +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (m *Milestone) GetState() string { + if m == nil || m.State == nil { + return "" + } + return *m.State +} + +// GetTitle returns the Title field if it's non-nil, zero value otherwise. +func (m *Milestone) GetTitle() string { + if m == nil || m.Title == nil { + return "" + } + return *m.Title +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (m *Milestone) GetUpdatedAt() Timestamp { + if m == nil || m.UpdatedAt == nil { + return Timestamp{} + } + return *m.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (m *Milestone) GetURL() string { + if m == nil || m.URL == nil { + return "" + } + return *m.URL +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (m *MilestoneEvent) GetAction() string { + if m == nil || m.Action == nil { + return "" + } + return *m.Action +} + +// GetChanges returns the Changes field. +func (m *MilestoneEvent) GetChanges() *EditChange { + if m == nil { + return nil + } + return m.Changes +} + +// GetInstallation returns the Installation field. +func (m *MilestoneEvent) GetInstallation() *Installation { + if m == nil { + return nil + } + return m.Installation +} + +// GetMilestone returns the Milestone field. +func (m *MilestoneEvent) GetMilestone() *Milestone { + if m == nil { + return nil + } + return m.Milestone +} + +// GetOrg returns the Org field. +func (m *MilestoneEvent) GetOrg() *Organization { + if m == nil { + return nil + } + return m.Org +} + +// GetRepo returns the Repo field. +func (m *MilestoneEvent) GetRepo() *Repository { + if m == nil { + return nil + } + return m.Repo +} + +// GetSender returns the Sender field. +func (m *MilestoneEvent) GetSender() *User { + if m == nil { + return nil + } + 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 { + return 0 + } + return *m.ClosedMilestones +} + +// GetOpenMilestones returns the OpenMilestones field if it's non-nil, zero value otherwise. +func (m *MilestoneStats) GetOpenMilestones() int { + if m == nil || m.OpenMilestones == nil { + return 0 + } + return *m.OpenMilestones +} + +// GetTotalMilestones returns the TotalMilestones field if it's non-nil, zero value otherwise. +func (m *MilestoneStats) GetTotalMilestones() int { + if m == nil || m.TotalMilestones == nil { + return 0 + } + return *m.TotalMilestones +} + +// GetReason returns the Reason field if it's non-nil, zero value otherwise. +func (m *MinimizedIssueComment) GetReason() string { + if m == nil || m.Reason == nil { + return "" + } + return *m.Reason +} + +// GetAnalysisKey returns the AnalysisKey field if it's non-nil, zero value otherwise. +func (m *MostRecentInstance) GetAnalysisKey() string { + if m == nil || m.AnalysisKey == nil { + return "" + } + return *m.AnalysisKey +} + +// GetCategory returns the Category field if it's non-nil, zero value otherwise. +func (m *MostRecentInstance) GetCategory() string { + if m == nil || m.Category == nil { + return "" + } + 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 { + return "" + } + return *m.CommitSHA +} + +// GetEnvironment returns the Environment field if it's non-nil, zero value otherwise. +func (m *MostRecentInstance) GetEnvironment() string { + if m == nil || m.Environment == nil { + return "" + } + return *m.Environment +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (m *MostRecentInstance) GetHTMLURL() string { + if m == nil || m.HTMLURL == nil { + return "" + } + return *m.HTMLURL +} + +// GetLocation returns the Location field. +func (m *MostRecentInstance) GetLocation() *Location { + if m == nil { + return nil + } + return m.Location +} + +// GetMessage returns the Message field. +func (m *MostRecentInstance) GetMessage() *Message { + if m == nil { + return nil + } + return m.Message +} + +// GetRef returns the Ref field if it's non-nil, zero value otherwise. +func (m *MostRecentInstance) GetRef() string { + if m == nil || m.Ref == nil { + return "" + } + return *m.Ref +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (m *MostRecentInstance) GetState() string { + if m == nil || m.State == nil { + return "" + } + return *m.State +} + +// GetComputeService returns the ComputeService field. +func (n *NetworkConfiguration) GetComputeService() *ComputeService { + if n == nil { + return nil + } + return n.ComputeService +} + +// GetCreatedOn returns the CreatedOn field if it's non-nil, zero value otherwise. +func (n *NetworkConfiguration) GetCreatedOn() Timestamp { + if n == nil || n.CreatedOn == nil { + return Timestamp{} + } + return *n.CreatedOn +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (n *NetworkConfiguration) GetID() string { + if n == nil || n.ID == nil { + return "" + } + return *n.ID +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (n *NetworkConfiguration) GetName() string { + if n == nil || n.Name == nil { + return "" + } + 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 { + return nil + } + return n.ComputeService +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (n *NetworkConfigurationRequest) GetName() string { + if n == nil || n.Name == nil { + return "" + } + 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 { + return 0 + } + return *n.TotalCount +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (n *NetworkSettingsResource) GetID() string { + if n == nil || n.ID == nil { + return "" + } + return *n.ID +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (n *NetworkSettingsResource) GetName() string { + if n == nil || n.Name == nil { + return "" + } + return *n.Name +} + +// GetNetworkConfigurationID returns the NetworkConfigurationID field if it's non-nil, zero value otherwise. +func (n *NetworkSettingsResource) GetNetworkConfigurationID() string { + if n == nil || n.NetworkConfigurationID == nil { + return "" + } + return *n.NetworkConfigurationID +} + +// GetRegion returns the Region field if it's non-nil, zero value otherwise. +func (n *NetworkSettingsResource) GetRegion() string { + if n == nil || n.Region == nil { + return "" + } + return *n.Region +} + +// GetSubnetID returns the SubnetID field if it's non-nil, zero value otherwise. +func (n *NetworkSettingsResource) GetSubnetID() string { + if n == nil || n.SubnetID == nil { + return "" + } + return *n.SubnetID +} + +// 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 { + return "" + } + return *n.Hostname +} + +// GetUUID returns the UUID field if it's non-nil, zero value otherwise. +func (n *NodeDetails) GetUUID() string { + if n == nil || n.UUID == nil { + return "" + } + 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 { + return "" + } + return *n.Topology +} + +// GetClusterRoles returns the ClusterRoles field if it's non-nil, zero value otherwise. +func (n *NodeQueryOptions) GetClusterRoles() string { + if n == nil || n.ClusterRoles == nil { + return "" + } + return *n.ClusterRoles +} + +// GetUUID returns the UUID field if it's non-nil, zero value otherwise. +func (n *NodeQueryOptions) GetUUID() string { + if n == nil || n.UUID == nil { + return "" + } + return *n.UUID +} + +// GetHostname returns the Hostname field if it's non-nil, zero value otherwise. +func (n *NodeReleaseVersion) GetHostname() string { + if n == nil || n.Hostname == nil { + return "" + } + return *n.Hostname +} + +// GetVersion returns the Version field. +func (n *NodeReleaseVersion) GetVersion() *ReleaseVersion { + if n == nil { + return nil + } + return n.Version +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (n *Notification) GetID() string { + if n == nil || n.ID == nil { + return "" + } + return *n.ID +} + +// GetLastReadAt returns the LastReadAt field if it's non-nil, zero value otherwise. +func (n *Notification) GetLastReadAt() Timestamp { + if n == nil || n.LastReadAt == nil { + return Timestamp{} + } + return *n.LastReadAt +} + +// GetReason returns the Reason field if it's non-nil, zero value otherwise. +func (n *Notification) GetReason() string { + if n == nil || n.Reason == nil { + return "" + } + return *n.Reason +} + +// GetRepository returns the Repository field. +func (n *Notification) GetRepository() *Repository { + if n == nil { + return nil + } + return n.Repository +} + +// GetSubject returns the Subject field. +func (n *Notification) GetSubject() *NotificationSubject { + if n == nil { + return nil + } + return n.Subject +} + +// GetUnread returns the Unread field if it's non-nil, zero value otherwise. +func (n *Notification) GetUnread() bool { + if n == nil || n.Unread == nil { + return false + } + return *n.Unread +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (n *Notification) GetUpdatedAt() Timestamp { + if n == nil || n.UpdatedAt == nil { + return Timestamp{} + } + return *n.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (n *Notification) GetURL() string { + if n == nil || n.URL == nil { + return "" + } + 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 { + return "" + } + return *n.LatestCommentURL +} + +// GetTitle returns the Title field if it's non-nil, zero value otherwise. +func (n *NotificationSubject) GetTitle() string { + if n == nil || n.Title == nil { + return "" + } + return *n.Title +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (n *NotificationSubject) GetType() string { + if n == nil || n.Type == nil { + return "" + } + return *n.Type +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (n *NotificationSubject) GetURL() string { + if n == nil || n.URL == nil { + return "" + } + return *n.URL +} + +// GetClientID returns the ClientID field if it's non-nil, zero value otherwise. +func (o *OAuthAPP) GetClientID() string { + if o == nil || o.ClientID == nil { + return "" + } + return *o.ClientID +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (o *OAuthAPP) GetName() string { + if o == nil || o.Name == nil { + return "" + } + return *o.Name +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (o *OAuthAPP) GetURL() string { + if o == nil || o.URL == nil { + return "" + } + return *o.URL +} + +// GetCustomPropertyName returns the CustomPropertyName field. +func (o *OIDCCustomPropertyClaim) GetCustomPropertyName() string { + if o == nil { + return "" + } + return o.CustomPropertyName +} + +// GetInclusionSource returns the InclusionSource field. +func (o *OIDCCustomPropertyClaimResponse) GetInclusionSource() InclusionSource { + if o == nil { + return "" + } + return o.InclusionSource +} + +// 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 +} + +// GetSubClaimPrefix returns the SubClaimPrefix field if it's non-nil, zero value otherwise. +func (o *OIDCSubjectClaimCustomTemplate) GetSubClaimPrefix() string { + if o == nil || o.SubClaimPrefix == nil { + return "" + } + return *o.SubClaimPrefix +} + +// GetUseDefault returns the UseDefault field if it's non-nil, zero value otherwise. +func (o *OIDCSubjectClaimCustomTemplate) GetUseDefault() bool { + if o == nil || o.UseDefault == nil { + return false + } + return *o.UseDefault +} + +// GetUseImmutableSubject returns the UseImmutableSubject field if it's non-nil, zero value otherwise. +func (o *OIDCSubjectClaimCustomTemplate) GetUseImmutableSubject() bool { + if o == nil || o.UseImmutableSubject == nil { + return false + } + return *o.UseImmutableSubject +} + +// GetAdvancedSecurityEnabledForNewRepos returns the AdvancedSecurityEnabledForNewRepos field if it's non-nil, zero value otherwise. +func (o *Organization) GetAdvancedSecurityEnabledForNewRepos() bool { + if o == nil || o.AdvancedSecurityEnabledForNewRepos == nil { + return false + } + return *o.AdvancedSecurityEnabledForNewRepos +} + +// GetArchivedAt returns the ArchivedAt field if it's non-nil, zero value otherwise. +func (o *Organization) GetArchivedAt() Timestamp { + if o == nil || o.ArchivedAt == nil { + return Timestamp{} + } + return *o.ArchivedAt +} + +// GetAvatarURL returns the AvatarURL field if it's non-nil, zero value otherwise. +func (o *Organization) GetAvatarURL() string { + if o == nil || o.AvatarURL == nil { + return "" + } + return *o.AvatarURL +} + +// GetBillingEmail returns the BillingEmail field if it's non-nil, zero value otherwise. +func (o *Organization) GetBillingEmail() string { + if o == nil || o.BillingEmail == nil { + return "" + } + return *o.BillingEmail +} + +// GetBlog returns the Blog field if it's non-nil, zero value otherwise. +func (o *Organization) GetBlog() string { + if o == nil || o.Blog == nil { + return "" + } + return *o.Blog +} + +// GetCollaborators returns the Collaborators field if it's non-nil, zero value otherwise. +func (o *Organization) GetCollaborators() int { + if o == nil || o.Collaborators == nil { + return 0 + } + return *o.Collaborators +} + +// GetCompany returns the Company field if it's non-nil, zero value otherwise. +func (o *Organization) GetCompany() string { + if o == nil || o.Company == nil { + return "" + } + return *o.Company +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (o *Organization) GetCreatedAt() Timestamp { + if o == nil || o.CreatedAt == nil { + return Timestamp{} + } + return *o.CreatedAt +} + +// GetDefaultRepoPermission returns the DefaultRepoPermission field if it's non-nil, zero value otherwise. +func (o *Organization) GetDefaultRepoPermission() string { + if o == nil || o.DefaultRepoPermission == nil { + return "" + } + return *o.DefaultRepoPermission +} + +// GetDefaultRepoSettings returns the DefaultRepoSettings field if it's non-nil, zero value otherwise. +func (o *Organization) GetDefaultRepoSettings() string { + if o == nil || o.DefaultRepoSettings == nil { + return "" + } + return *o.DefaultRepoSettings +} + +// GetDefaultRepositoryBranch returns the DefaultRepositoryBranch field if it's non-nil, zero value otherwise. +func (o *Organization) GetDefaultRepositoryBranch() string { + if o == nil || o.DefaultRepositoryBranch == nil { + return "" + } + return *o.DefaultRepositoryBranch +} + +// GetDependabotAlertsEnabledForNewRepos returns the DependabotAlertsEnabledForNewRepos field if it's non-nil, zero value otherwise. +func (o *Organization) GetDependabotAlertsEnabledForNewRepos() bool { + if o == nil || o.DependabotAlertsEnabledForNewRepos == nil { + return false + } + return *o.DependabotAlertsEnabledForNewRepos +} + +// GetDependabotSecurityUpdatesEnabledForNewRepos returns the DependabotSecurityUpdatesEnabledForNewRepos field if it's non-nil, zero value otherwise. +func (o *Organization) GetDependabotSecurityUpdatesEnabledForNewRepos() bool { + if o == nil || o.DependabotSecurityUpdatesEnabledForNewRepos == nil { + return false + } + return *o.DependabotSecurityUpdatesEnabledForNewRepos +} + +// GetDependencyGraphEnabledForNewRepos returns the DependencyGraphEnabledForNewRepos field if it's non-nil, zero value otherwise. +func (o *Organization) GetDependencyGraphEnabledForNewRepos() bool { + if o == nil || o.DependencyGraphEnabledForNewRepos == nil { + return false + } + return *o.DependencyGraphEnabledForNewRepos +} + +// GetDeployKeysEnabledForRepositories returns the DeployKeysEnabledForRepositories field if it's non-nil, zero value otherwise. +func (o *Organization) GetDeployKeysEnabledForRepositories() bool { + if o == nil || o.DeployKeysEnabledForRepositories == nil { + return false + } + return *o.DeployKeysEnabledForRepositories +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (o *Organization) GetDescription() string { + if o == nil || o.Description == nil { + return "" + } + return *o.Description +} + +// GetDiskUsage returns the DiskUsage field if it's non-nil, zero value otherwise. +func (o *Organization) GetDiskUsage() int { + if o == nil || o.DiskUsage == nil { + return 0 + } + return *o.DiskUsage +} + +// GetDisplayCommenterFullNameSettingEnabled returns the DisplayCommenterFullNameSettingEnabled field if it's non-nil, zero value otherwise. +func (o *Organization) GetDisplayCommenterFullNameSettingEnabled() bool { + if o == nil || o.DisplayCommenterFullNameSettingEnabled == nil { + return false + } + return *o.DisplayCommenterFullNameSettingEnabled +} + +// GetEmail returns the Email field if it's non-nil, zero value otherwise. +func (o *Organization) GetEmail() string { + if o == nil || o.Email == nil { + return "" + } + return *o.Email +} + +// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise. +func (o *Organization) GetEventsURL() string { + if o == nil || o.EventsURL == nil { + return "" + } + return *o.EventsURL +} + +// GetFollowers returns the Followers field if it's non-nil, zero value otherwise. +func (o *Organization) GetFollowers() int { + if o == nil || o.Followers == nil { + return 0 + } + return *o.Followers +} + +// GetFollowing returns the Following field if it's non-nil, zero value otherwise. +func (o *Organization) GetFollowing() int { + if o == nil || o.Following == nil { + return 0 + } + return *o.Following +} + +// GetHasOrganizationProjects returns the HasOrganizationProjects field if it's non-nil, zero value otherwise. +func (o *Organization) GetHasOrganizationProjects() bool { + if o == nil || o.HasOrganizationProjects == nil { + return false + } + return *o.HasOrganizationProjects +} + +// GetHasRepositoryProjects returns the HasRepositoryProjects field if it's non-nil, zero value otherwise. +func (o *Organization) GetHasRepositoryProjects() bool { + if o == nil || o.HasRepositoryProjects == nil { + return false + } + return *o.HasRepositoryProjects +} + +// GetHooksURL returns the HooksURL field if it's non-nil, zero value otherwise. +func (o *Organization) GetHooksURL() string { + if o == nil || o.HooksURL == nil { + return "" + } + return *o.HooksURL +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (o *Organization) GetHTMLURL() string { + if o == nil || o.HTMLURL == nil { + return "" + } + return *o.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (o *Organization) GetID() int64 { + if o == nil || o.ID == nil { + return 0 + } + return *o.ID +} + +// GetIssuesURL returns the IssuesURL field if it's non-nil, zero value otherwise. +func (o *Organization) GetIssuesURL() string { + if o == nil || o.IssuesURL == nil { + return "" + } + return *o.IssuesURL +} + +// GetIsVerified returns the IsVerified field if it's non-nil, zero value otherwise. +func (o *Organization) GetIsVerified() bool { + if o == nil || o.IsVerified == nil { + return false + } + return *o.IsVerified +} + +// GetLocation returns the Location field if it's non-nil, zero value otherwise. +func (o *Organization) GetLocation() string { + if o == nil || o.Location == nil { + return "" + } + return *o.Location +} + +// GetLogin returns the Login field if it's non-nil, zero value otherwise. +func (o *Organization) GetLogin() string { + if o == nil || o.Login == nil { + return "" + } + return *o.Login +} + +// GetMembersAllowedRepositoryCreationType returns the MembersAllowedRepositoryCreationType field if it's non-nil, zero value otherwise. +func (o *Organization) GetMembersAllowedRepositoryCreationType() string { + if o == nil || o.MembersAllowedRepositoryCreationType == nil { + return "" + } + return *o.MembersAllowedRepositoryCreationType +} + +// GetMembersCanChangeRepoVisibility returns the MembersCanChangeRepoVisibility field if it's non-nil, zero value otherwise. +func (o *Organization) GetMembersCanChangeRepoVisibility() bool { + if o == nil || o.MembersCanChangeRepoVisibility == nil { + return false + } + return *o.MembersCanChangeRepoVisibility +} + +// GetMembersCanCreateInternalRepos returns the MembersCanCreateInternalRepos field if it's non-nil, zero value otherwise. +func (o *Organization) GetMembersCanCreateInternalRepos() bool { + if o == nil || o.MembersCanCreateInternalRepos == nil { + return false + } + return *o.MembersCanCreateInternalRepos +} + +// GetMembersCanCreatePages returns the MembersCanCreatePages field if it's non-nil, zero value otherwise. +func (o *Organization) GetMembersCanCreatePages() bool { + if o == nil || o.MembersCanCreatePages == nil { + return false + } + return *o.MembersCanCreatePages +} + +// GetMembersCanCreatePrivatePages returns the MembersCanCreatePrivatePages field if it's non-nil, zero value otherwise. +func (o *Organization) GetMembersCanCreatePrivatePages() bool { + if o == nil || o.MembersCanCreatePrivatePages == nil { + return false + } + return *o.MembersCanCreatePrivatePages +} + +// GetMembersCanCreatePrivateRepos returns the MembersCanCreatePrivateRepos field if it's non-nil, zero value otherwise. +func (o *Organization) GetMembersCanCreatePrivateRepos() bool { + if o == nil || o.MembersCanCreatePrivateRepos == nil { + return false + } + return *o.MembersCanCreatePrivateRepos +} + +// GetMembersCanCreatePublicPages returns the MembersCanCreatePublicPages field if it's non-nil, zero value otherwise. +func (o *Organization) GetMembersCanCreatePublicPages() bool { + if o == nil || o.MembersCanCreatePublicPages == nil { + return false + } + return *o.MembersCanCreatePublicPages +} + +// GetMembersCanCreatePublicRepos returns the MembersCanCreatePublicRepos field if it's non-nil, zero value otherwise. +func (o *Organization) GetMembersCanCreatePublicRepos() bool { + if o == nil || o.MembersCanCreatePublicRepos == nil { + return false + } + return *o.MembersCanCreatePublicRepos +} + +// GetMembersCanCreateRepos returns the MembersCanCreateRepos field if it's non-nil, zero value otherwise. +func (o *Organization) GetMembersCanCreateRepos() bool { + if o == nil || o.MembersCanCreateRepos == nil { + return false + } + return *o.MembersCanCreateRepos +} + +// GetMembersCanCreateTeams returns the MembersCanCreateTeams field if it's non-nil, zero value otherwise. +func (o *Organization) GetMembersCanCreateTeams() bool { + if o == nil || o.MembersCanCreateTeams == nil { + return false + } + return *o.MembersCanCreateTeams +} + +// GetMembersCanDeleteIssues returns the MembersCanDeleteIssues field if it's non-nil, zero value otherwise. +func (o *Organization) GetMembersCanDeleteIssues() bool { + if o == nil || o.MembersCanDeleteIssues == nil { + return false + } + return *o.MembersCanDeleteIssues +} + +// GetMembersCanDeleteRepositories returns the MembersCanDeleteRepositories field if it's non-nil, zero value otherwise. +func (o *Organization) GetMembersCanDeleteRepositories() bool { + if o == nil || o.MembersCanDeleteRepositories == nil { + return false + } + return *o.MembersCanDeleteRepositories +} + +// GetMembersCanForkPrivateRepos returns the MembersCanForkPrivateRepos field if it's non-nil, zero value otherwise. +func (o *Organization) GetMembersCanForkPrivateRepos() bool { + if o == nil || o.MembersCanForkPrivateRepos == nil { + return false + } + return *o.MembersCanForkPrivateRepos +} + +// GetMembersCanInviteOutsideCollaborators returns the MembersCanInviteOutsideCollaborators field if it's non-nil, zero value otherwise. +func (o *Organization) GetMembersCanInviteOutsideCollaborators() bool { + if o == nil || o.MembersCanInviteOutsideCollaborators == nil { + return false + } + return *o.MembersCanInviteOutsideCollaborators +} + +// GetMembersCanViewDependencyInsights returns the MembersCanViewDependencyInsights field if it's non-nil, zero value otherwise. +func (o *Organization) GetMembersCanViewDependencyInsights() bool { + if o == nil || o.MembersCanViewDependencyInsights == nil { + return false + } + return *o.MembersCanViewDependencyInsights +} + +// GetMembersURL returns the MembersURL field if it's non-nil, zero value otherwise. +func (o *Organization) GetMembersURL() string { + if o == nil || o.MembersURL == nil { + return "" + } + return *o.MembersURL +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (o *Organization) GetName() string { + if o == nil || o.Name == nil { + return "" + } + return *o.Name +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (o *Organization) GetNodeID() string { + if o == nil || o.NodeID == nil { + return "" + } + return *o.NodeID +} + +// GetOwnedPrivateRepos returns the OwnedPrivateRepos field if it's non-nil, zero value otherwise. +func (o *Organization) GetOwnedPrivateRepos() int64 { + if o == nil || o.OwnedPrivateRepos == nil { + return 0 + } + return *o.OwnedPrivateRepos +} + +// GetPlan returns the Plan field. +func (o *Organization) GetPlan() *Plan { + if o == nil { + return nil + } + return o.Plan +} + +// GetPrivateGists returns the PrivateGists field if it's non-nil, zero value otherwise. +func (o *Organization) GetPrivateGists() int { + if o == nil || o.PrivateGists == nil { + return 0 + } + return *o.PrivateGists +} + +// GetPublicGists returns the PublicGists field if it's non-nil, zero value otherwise. +func (o *Organization) GetPublicGists() int { + if o == nil || o.PublicGists == nil { + return 0 + } + return *o.PublicGists +} + +// GetPublicMembersURL returns the PublicMembersURL field if it's non-nil, zero value otherwise. +func (o *Organization) GetPublicMembersURL() string { + if o == nil || o.PublicMembersURL == nil { + return "" + } + return *o.PublicMembersURL +} + +// GetPublicRepos returns the PublicRepos field if it's non-nil, zero value otherwise. +func (o *Organization) GetPublicRepos() int { + if o == nil || o.PublicRepos == nil { + return 0 + } + return *o.PublicRepos +} + +// GetReadersCanCreateDiscussions returns the ReadersCanCreateDiscussions field if it's non-nil, zero value otherwise. +func (o *Organization) GetReadersCanCreateDiscussions() bool { + if o == nil || o.ReadersCanCreateDiscussions == nil { + return false + } + return *o.ReadersCanCreateDiscussions +} + +// GetReposURL returns the ReposURL field if it's non-nil, zero value otherwise. +func (o *Organization) GetReposURL() string { + if o == nil || o.ReposURL == nil { + return "" + } + return *o.ReposURL +} + +// GetSecretScanningEnabledForNewRepos returns the SecretScanningEnabledForNewRepos field if it's non-nil, zero value otherwise. +func (o *Organization) GetSecretScanningEnabledForNewRepos() bool { + if o == nil || o.SecretScanningEnabledForNewRepos == nil { + return false + } + return *o.SecretScanningEnabledForNewRepos +} + +// GetSecretScanningPushProtectionCustomLink returns the SecretScanningPushProtectionCustomLink field if it's non-nil, zero value otherwise. +func (o *Organization) GetSecretScanningPushProtectionCustomLink() string { + if o == nil || o.SecretScanningPushProtectionCustomLink == nil { + return "" + } + return *o.SecretScanningPushProtectionCustomLink +} + +// GetSecretScanningPushProtectionCustomLinkEnabled returns the SecretScanningPushProtectionCustomLinkEnabled field if it's non-nil, zero value otherwise. +func (o *Organization) GetSecretScanningPushProtectionCustomLinkEnabled() bool { + if o == nil || o.SecretScanningPushProtectionCustomLinkEnabled == nil { + return false + } + return *o.SecretScanningPushProtectionCustomLinkEnabled +} + +// GetSecretScanningPushProtectionEnabledForNewRepos returns the SecretScanningPushProtectionEnabledForNewRepos field if it's non-nil, zero value otherwise. +func (o *Organization) GetSecretScanningPushProtectionEnabledForNewRepos() bool { + if o == nil || o.SecretScanningPushProtectionEnabledForNewRepos == nil { + return false + } + return *o.SecretScanningPushProtectionEnabledForNewRepos +} + +// GetSecretScanningValidityChecksEnabled returns the SecretScanningValidityChecksEnabled field if it's non-nil, zero value otherwise. +func (o *Organization) GetSecretScanningValidityChecksEnabled() bool { + if o == nil || o.SecretScanningValidityChecksEnabled == nil { + return false + } + return *o.SecretScanningValidityChecksEnabled +} + +// GetTotalPrivateRepos returns the TotalPrivateRepos field if it's non-nil, zero value otherwise. +func (o *Organization) GetTotalPrivateRepos() int64 { + if o == nil || o.TotalPrivateRepos == nil { + return 0 + } + return *o.TotalPrivateRepos +} + +// GetTwitterUsername returns the TwitterUsername field if it's non-nil, zero value otherwise. +func (o *Organization) GetTwitterUsername() string { + if o == nil || o.TwitterUsername == nil { + return "" + } + return *o.TwitterUsername +} + +// GetTwoFactorRequirementEnabled returns the TwoFactorRequirementEnabled field if it's non-nil, zero value otherwise. +func (o *Organization) GetTwoFactorRequirementEnabled() bool { + if o == nil || o.TwoFactorRequirementEnabled == nil { + return false + } + return *o.TwoFactorRequirementEnabled +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (o *Organization) GetType() string { + if o == nil || o.Type == nil { + return "" + } + return *o.Type +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (o *Organization) GetUpdatedAt() Timestamp { + if o == nil || o.UpdatedAt == nil { + return Timestamp{} + } + return *o.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (o *Organization) GetURL() string { + if o == nil || o.URL == nil { + return "" + } + return *o.URL +} + +// GetWebCommitSignoffRequired returns the WebCommitSignoffRequired field if it's non-nil, zero value otherwise. +func (o *Organization) GetWebCommitSignoffRequired() bool { + if o == nil || o.WebCommitSignoffRequired == nil { + return false + } + 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 { + return 0 + } + 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 { + return 0 + } + return *o.TotalCount +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (o *OrganizationEvent) GetAction() string { + if o == nil || o.Action == nil { + return "" + } + return *o.Action +} + +// GetInstallation returns the Installation field. +func (o *OrganizationEvent) GetInstallation() *Installation { + if o == nil { + return nil + } + return o.Installation +} + +// GetInvitation returns the Invitation field. +func (o *OrganizationEvent) GetInvitation() *Invitation { + if o == nil { + return nil + } + return o.Invitation +} + +// GetMembership returns the Membership field. +func (o *OrganizationEvent) GetMembership() *Membership { + if o == nil { + return nil + } + return o.Membership +} + +// GetOrganization returns the Organization field. +func (o *OrganizationEvent) GetOrganization() *Organization { + if o == nil { + return nil + } + return o.Organization +} + +// GetSender returns the Sender field. +func (o *OrganizationEvent) GetSender() *User { + if o == nil { + return nil + } + 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 { + return 0 + } + 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 { + return "" + } + return *o.Action +} + +// GetBlockedUser returns the BlockedUser field. +func (o *OrgBlockEvent) GetBlockedUser() *User { + if o == nil { + return nil + } + return o.BlockedUser +} + +// GetInstallation returns the Installation field. +func (o *OrgBlockEvent) GetInstallation() *Installation { + if o == nil { + return nil + } + return o.Installation +} + +// GetOrganization returns the Organization field. +func (o *OrgBlockEvent) GetOrganization() *Organization { + if o == nil { + return nil + } + return o.Organization +} + +// GetSender returns the Sender field. +func (o *OrgBlockEvent) GetSender() *User { + if o == nil { + return nil + } + return o.Sender +} + +// GetDisabledOrgs returns the DisabledOrgs field if it's non-nil, zero value otherwise. +func (o *OrgStats) GetDisabledOrgs() int { + if o == nil || o.DisabledOrgs == nil { + return 0 + } + return *o.DisabledOrgs +} + +// GetTotalOrgs returns the TotalOrgs field if it's non-nil, zero value otherwise. +func (o *OrgStats) GetTotalOrgs() int { + if o == nil || o.TotalOrgs == nil { + return 0 + } + return *o.TotalOrgs +} + +// GetTotalTeamMembers returns the TotalTeamMembers field if it's non-nil, zero value otherwise. +func (o *OrgStats) GetTotalTeamMembers() int { + if o == nil || o.TotalTeamMembers == nil { + return 0 + } + return *o.TotalTeamMembers +} + +// GetTotalTeams returns the TotalTeams field if it's non-nil, zero value otherwise. +func (o *OrgStats) GetTotalTeams() int { + if o == nil || o.TotalTeams == nil { + return 0 + } + return *o.TotalTeams +} + +// GetOrg returns the Org field. +func (o *OwnerInfo) GetOrg() *User { + if o == nil { + return nil + } + return o.Org +} + +// GetUser returns the User field. +func (o *OwnerInfo) GetUser() *User { + if o == nil { + return nil + } + return o.User +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (p *Package) GetCreatedAt() Timestamp { + if p == nil || p.CreatedAt == nil { + return Timestamp{} + } + return *p.CreatedAt +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (p *Package) GetDescription() string { + if p == nil || p.Description == nil { + return "" + } + return *p.Description +} + +// GetEcosystem returns the Ecosystem field if it's non-nil, zero value otherwise. +func (p *Package) GetEcosystem() string { + if p == nil || p.Ecosystem == nil { + return "" + } + return *p.Ecosystem +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (p *Package) GetHTMLURL() string { + if p == nil || p.HTMLURL == nil { + return "" + } + return *p.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (p *Package) GetID() int64 { + if p == nil || p.ID == nil { + return 0 + } + return *p.ID +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (p *Package) GetName() string { + if p == nil || p.Name == nil { + return "" + } + return *p.Name +} + +// GetNamespace returns the Namespace field if it's non-nil, zero value otherwise. +func (p *Package) GetNamespace() string { + if p == nil || p.Namespace == nil { + return "" + } + return *p.Namespace +} + +// GetOwner returns the Owner field. +func (p *Package) GetOwner() *User { + if p == nil { + return nil + } + return p.Owner +} + +// GetPackageType returns the PackageType field if it's non-nil, zero value otherwise. +func (p *Package) GetPackageType() string { + if p == nil || p.PackageType == nil { + return "" + } + return *p.PackageType +} + +// GetPackageVersion returns the PackageVersion field. +func (p *Package) GetPackageVersion() *PackageVersion { + if p == nil { + return nil + } + return p.PackageVersion +} + +// GetRegistry returns the Registry field. +func (p *Package) GetRegistry() *PackageRegistry { + if p == nil { + return nil + } + return p.Registry +} + +// GetRepository returns the Repository field. +func (p *Package) GetRepository() *Repository { + if p == nil { + return nil + } + return p.Repository +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (p *Package) GetUpdatedAt() Timestamp { + if p == nil || p.UpdatedAt == nil { + return Timestamp{} + } + return *p.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (p *Package) GetURL() string { + if p == nil || p.URL == nil { + return "" + } + return *p.URL +} + +// GetVersionCount returns the VersionCount field if it's non-nil, zero value otherwise. +func (p *Package) GetVersionCount() int64 { + if p == nil || p.VersionCount == nil { + return 0 + } + return *p.VersionCount +} + +// GetVisibility returns the Visibility field if it's non-nil, zero value otherwise. +func (p *Package) GetVisibility() string { + if p == nil || p.Visibility == nil { + return "" + } + 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 { + return "" + } + return *p.Action +} + +// GetInstallation returns the Installation field. +func (p *PackageEvent) GetInstallation() *Installation { + if p == nil { + return nil + } + return p.Installation +} + +// GetOrg returns the Org field. +func (p *PackageEvent) GetOrg() *Organization { + if p == nil { + return nil + } + return p.Org +} + +// GetPackage returns the Package field. +func (p *PackageEvent) GetPackage() *Package { + if p == nil { + return nil + } + return p.Package +} + +// GetRepo returns the Repo field. +func (p *PackageEvent) GetRepo() *Repository { + if p == nil { + return nil + } + return p.Repo +} + +// GetSender returns the Sender field. +func (p *PackageEvent) GetSender() *User { + if p == nil { + return nil + } + return p.Sender +} + +// GetLabels returns the Labels map if it's non-nil, an empty map otherwise. +func (p *PackageEventContainerMetadata) GetLabels() map[string]any { + if p == nil || p.Labels == nil { + return map[string]any{} + } + return p.Labels +} + +// GetManifest returns the Manifest map if it's non-nil, an empty map otherwise. +func (p *PackageEventContainerMetadata) GetManifest() map[string]any { + if p == nil || p.Manifest == nil { + return map[string]any{} + } + return p.Manifest +} + +// GetTag returns the Tag field. +func (p *PackageEventContainerMetadata) GetTag() *PackageEventContainerMetadataTag { + if p == nil { + return nil + } + return p.Tag +} + +// GetDigest returns the Digest field if it's non-nil, zero value otherwise. +func (p *PackageEventContainerMetadataTag) GetDigest() string { + if p == nil || p.Digest == nil { + return "" + } + return *p.Digest +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (p *PackageEventContainerMetadataTag) GetName() string { + if p == nil || p.Name == nil { + return "" + } + 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 { + return nil + } + return p.Author +} + +// GetContentType returns the ContentType field if it's non-nil, zero value otherwise. +func (p *PackageFile) GetContentType() string { + if p == nil || p.ContentType == nil { + return "" + } + return *p.ContentType +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (p *PackageFile) GetCreatedAt() Timestamp { + if p == nil || p.CreatedAt == nil { + return Timestamp{} + } + return *p.CreatedAt +} + +// GetDownloadURL returns the DownloadURL field if it's non-nil, zero value otherwise. +func (p *PackageFile) GetDownloadURL() string { + if p == nil || p.DownloadURL == nil { + return "" + } + return *p.DownloadURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (p *PackageFile) GetID() int64 { + if p == nil || p.ID == nil { + return 0 + } + return *p.ID +} + +// GetMD5 returns the MD5 field if it's non-nil, zero value otherwise. +func (p *PackageFile) GetMD5() string { + if p == nil || p.MD5 == nil { + return "" + } + return *p.MD5 +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (p *PackageFile) GetName() string { + if p == nil || p.Name == nil { + return "" + } + return *p.Name +} + +// GetSHA1 returns the SHA1 field if it's non-nil, zero value otherwise. +func (p *PackageFile) GetSHA1() string { + if p == nil || p.SHA1 == nil { + return "" + } + return *p.SHA1 +} + +// GetSHA256 returns the SHA256 field if it's non-nil, zero value otherwise. +func (p *PackageFile) GetSHA256() string { + if p == nil || p.SHA256 == nil { + return "" + } + return *p.SHA256 +} + +// GetSize returns the Size field if it's non-nil, zero value otherwise. +func (p *PackageFile) GetSize() int64 { + if p == nil || p.Size == nil { + return 0 + } + return *p.Size +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (p *PackageFile) GetState() string { + if p == nil || p.State == nil { + return "" + } + return *p.State +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (p *PackageFile) GetUpdatedAt() Timestamp { + if p == nil || p.UpdatedAt == nil { + return Timestamp{} + } + return *p.UpdatedAt +} + +// GetPackageType returns the PackageType field if it's non-nil, zero value otherwise. +func (p *PackageListOptions) GetPackageType() string { + if p == nil || p.PackageType == nil { + return "" + } + return *p.PackageType +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (p *PackageListOptions) GetState() string { + if p == nil || p.State == nil { + return "" + } + return *p.State +} + +// GetVisibility returns the Visibility field if it's non-nil, zero value otherwise. +func (p *PackageListOptions) GetVisibility() string { + if p == nil || p.Visibility == nil { + return "" + } + return *p.Visibility +} + +// GetContainer returns the Container field. +func (p *PackageMetadata) GetContainer() *PackageContainerMetadata { + if p == nil { + return nil + } + return p.Container +} + +// GetPackageType returns the PackageType field if it's non-nil, zero value otherwise. +func (p *PackageMetadata) GetPackageType() string { + if p == nil || p.PackageType == nil { + return "" + } + return *p.PackageType +} + +// GetAuthor returns the Author map if it's non-nil, an empty map otherwise. +func (p *PackageNPMMetadata) GetAuthor() map[string]string { + if p == nil || p.Author == nil { + return map[string]string{} + } + return p.Author +} + +// GetBin returns the Bin map if it's non-nil, an empty map otherwise. +func (p *PackageNPMMetadata) GetBin() map[string]any { + if p == nil || p.Bin == nil { + return map[string]any{} + } + return p.Bin +} + +// GetBugs returns the Bugs map if it's non-nil, an empty map otherwise. +func (p *PackageNPMMetadata) GetBugs() map[string]string { + if p == nil || p.Bugs == nil { + return map[string]string{} + } + return p.Bugs +} + +// GetCommitOID returns the CommitOID field if it's non-nil, zero value otherwise. +func (p *PackageNPMMetadata) GetCommitOID() string { + if p == nil || p.CommitOID == nil { + return "" + } + 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 { + return 0 + } + return *p.DeletedByID +} + +// GetDependencies returns the Dependencies map if it's non-nil, an empty map otherwise. +func (p *PackageNPMMetadata) GetDependencies() map[string]string { + if p == nil || p.Dependencies == nil { + return map[string]string{} + } + return p.Dependencies +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (p *PackageNPMMetadata) GetDescription() string { + if p == nil || p.Description == nil { + return "" + } + return *p.Description +} + +// GetDevDependencies returns the DevDependencies map if it's non-nil, an empty map otherwise. +func (p *PackageNPMMetadata) GetDevDependencies() map[string]string { + if p == nil || p.DevDependencies == nil { + return map[string]string{} + } + return p.DevDependencies +} + +// GetDirectories returns the Directories map if it's non-nil, an empty map otherwise. +func (p *PackageNPMMetadata) GetDirectories() map[string]string { + if p == nil || p.Directories == nil { + return map[string]string{} + } + return p.Directories +} + +// GetDist returns the Dist map if it's non-nil, an empty map otherwise. +func (p *PackageNPMMetadata) GetDist() map[string]string { + if p == nil || p.Dist == nil { + return map[string]string{} + } + return p.Dist +} + +// GetEngines returns the Engines map if it's non-nil, an empty map otherwise. +func (p *PackageNPMMetadata) GetEngines() map[string]string { + if p == nil || p.Engines == nil { + return 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 { + return "" + } + return *p.GitHead +} + +// GetHasShrinkwrap returns the HasShrinkwrap field if it's non-nil, zero value otherwise. +func (p *PackageNPMMetadata) GetHasShrinkwrap() bool { + if p == nil || p.HasShrinkwrap == nil { + return false + } + return *p.HasShrinkwrap +} + +// GetHomepage returns the Homepage field if it's non-nil, zero value otherwise. +func (p *PackageNPMMetadata) GetHomepage() string { + if p == nil || p.Homepage == nil { + return "" + } + return *p.Homepage +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (p *PackageNPMMetadata) GetID() string { + if p == nil || p.ID == nil { + return "" + } + return *p.ID +} + +// GetInstallationCommand returns the InstallationCommand field if it's non-nil, zero value otherwise. +func (p *PackageNPMMetadata) GetInstallationCommand() string { + if p == nil || p.InstallationCommand == nil { + return "" + } + 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 { + return "" + } + return *p.License +} + +// GetMain returns the Main field if it's non-nil, zero value otherwise. +func (p *PackageNPMMetadata) GetMain() string { + if p == nil || p.Main == nil { + return "" + } + 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 { + return map[string]any{} + } + return p.Man +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (p *PackageNPMMetadata) GetName() string { + if p == nil || p.Name == nil { + return "" + } + return *p.Name +} + +// GetNodeVersion returns the NodeVersion field if it's non-nil, zero value otherwise. +func (p *PackageNPMMetadata) GetNodeVersion() string { + if p == nil || p.NodeVersion == nil { + return "" + } + return *p.NodeVersion +} + +// GetNPMUser returns the NPMUser field if it's non-nil, zero value otherwise. +func (p *PackageNPMMetadata) GetNPMUser() string { + if p == nil || p.NPMUser == nil { + return "" + } + return *p.NPMUser +} + +// GetNPMVersion returns the NPMVersion field if it's non-nil, zero value otherwise. +func (p *PackageNPMMetadata) GetNPMVersion() string { + if p == nil || p.NPMVersion == nil { + return "" + } + return *p.NPMVersion +} + +// GetOptionalDependencies returns the OptionalDependencies map if it's non-nil, an empty map otherwise. +func (p *PackageNPMMetadata) GetOptionalDependencies() map[string]string { + if p == nil || p.OptionalDependencies == nil { + return 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 { + return map[string]string{} + } + return p.PeerDependencies +} + +// GetPublishedViaActions returns the PublishedViaActions field if it's non-nil, zero value otherwise. +func (p *PackageNPMMetadata) GetPublishedViaActions() bool { + if p == nil || p.PublishedViaActions == nil { + return false + } + return *p.PublishedViaActions +} + +// GetReadme returns the Readme field if it's non-nil, zero value otherwise. +func (p *PackageNPMMetadata) GetReadme() string { + if p == nil || p.Readme == nil { + return "" + } + return *p.Readme +} + +// GetReleaseID returns the ReleaseID field if it's non-nil, zero value otherwise. +func (p *PackageNPMMetadata) GetReleaseID() int64 { + if p == nil || p.ReleaseID == nil { + return 0 + } + return *p.ReleaseID +} + +// GetRepository returns the Repository map if it's non-nil, an empty map otherwise. +func (p *PackageNPMMetadata) GetRepository() map[string]string { + if p == nil || p.Repository == nil { + return map[string]string{} + } + return p.Repository +} + +// GetScripts returns the Scripts map if it's non-nil, an empty map otherwise. +func (p *PackageNPMMetadata) GetScripts() map[string]any { + if p == nil || p.Scripts == nil { + return map[string]any{} + } + return p.Scripts +} + +// GetVersion returns the Version field if it's non-nil, zero value otherwise. +func (p *PackageNPMMetadata) GetVersion() string { + if p == nil || p.Version == nil { + return "" + } + 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 { + return "" + } + 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 { + return "" + } + return *p.AboutURL +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (p *PackageRegistry) GetName() string { + if p == nil || p.Name == nil { + return "" + } + return *p.Name +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (p *PackageRegistry) GetType() string { + if p == nil || p.Type == nil { + return "" + } + return *p.Type +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (p *PackageRegistry) GetURL() string { + if p == nil || p.URL == nil { + return "" + } + return *p.URL +} + +// GetVendor returns the Vendor field if it's non-nil, zero value otherwise. +func (p *PackageRegistry) GetVendor() string { + if p == nil || p.Vendor == nil { + return "" + } + return *p.Vendor +} + +// GetAuthor returns the Author field. +func (p *PackageRelease) GetAuthor() *User { + if p == nil { + return nil + } + return p.Author +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (p *PackageRelease) GetCreatedAt() Timestamp { + if p == nil || p.CreatedAt == nil { + return Timestamp{} + } + return *p.CreatedAt +} + +// GetDraft returns the Draft field if it's non-nil, zero value otherwise. +func (p *PackageRelease) GetDraft() bool { + if p == nil || p.Draft == nil { + return false + } + return *p.Draft +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (p *PackageRelease) GetHTMLURL() string { + if p == nil || p.HTMLURL == nil { + return "" + } + return *p.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (p *PackageRelease) GetID() int64 { + if p == nil || p.ID == nil { + return 0 + } + return *p.ID +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (p *PackageRelease) GetName() string { + if p == nil || p.Name == nil { + return "" + } + return *p.Name +} + +// GetPrerelease returns the Prerelease field if it's non-nil, zero value otherwise. +func (p *PackageRelease) GetPrerelease() bool { + if p == nil || p.Prerelease == nil { + return false + } + return *p.Prerelease +} + +// GetPublishedAt returns the PublishedAt field if it's non-nil, zero value otherwise. +func (p *PackageRelease) GetPublishedAt() Timestamp { + if p == nil || p.PublishedAt == nil { + return Timestamp{} + } + return *p.PublishedAt +} + +// GetTagName returns the TagName field if it's non-nil, zero value otherwise. +func (p *PackageRelease) GetTagName() string { + if p == nil || p.TagName == nil { + return "" + } + return *p.TagName +} + +// GetTargetCommitish returns the TargetCommitish field if it's non-nil, zero value otherwise. +func (p *PackageRelease) GetTargetCommitish() string { + if p == nil || p.TargetCommitish == nil { + return "" + } + return *p.TargetCommitish +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (p *PackageRelease) GetURL() string { + if p == nil || p.URL == nil { + return "" + } + 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 { + return nil + } + return p.Author +} + +// GetBodyHTML returns the BodyHTML field if it's non-nil, zero value otherwise. +func (p *PackageVersion) GetBodyHTML() string { + if p == nil || p.BodyHTML == nil { + return "" + } + return *p.BodyHTML +} + +// GetContainerMetadata returns the ContainerMetadata field. +func (p *PackageVersion) GetContainerMetadata() *PackageEventContainerMetadata { + if p == nil { + return nil + } + return p.ContainerMetadata +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (p *PackageVersion) GetCreatedAt() Timestamp { + if p == nil || p.CreatedAt == nil { + return Timestamp{} + } + return *p.CreatedAt +} + +// GetDeletedAt returns the DeletedAt field if it's non-nil, zero value otherwise. +func (p *PackageVersion) GetDeletedAt() Timestamp { + if p == nil || p.DeletedAt == nil { + return Timestamp{} + } + return *p.DeletedAt +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (p *PackageVersion) GetDescription() string { + if p == nil || p.Description == nil { + return "" + } + 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 { + return false + } + return *p.Draft +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (p *PackageVersion) GetHTMLURL() string { + if p == nil || p.HTMLURL == nil { + return "" + } + return *p.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (p *PackageVersion) GetID() int64 { + if p == nil || p.ID == nil { + return 0 + } + return *p.ID +} + +// GetInstallationCommand returns the InstallationCommand field if it's non-nil, zero value otherwise. +func (p *PackageVersion) GetInstallationCommand() string { + if p == nil || p.InstallationCommand == nil { + return "" + } + return *p.InstallationCommand +} + +// GetLicense returns the License field if it's non-nil, zero value otherwise. +func (p *PackageVersion) GetLicense() string { + if p == nil || p.License == nil { + return "" + } + return *p.License +} + +// GetManifest returns the Manifest field if it's non-nil, zero value otherwise. +func (p *PackageVersion) GetManifest() string { + if p == nil || p.Manifest == nil { + return "" + } + return *p.Manifest +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (p *PackageVersion) GetName() string { + if p == nil || p.Name == nil { + return "" + } + return *p.Name +} + +// GetNPMMetadata returns the NPMMetadata field. +func (p *PackageVersion) GetNPMMetadata() *PackageNPMMetadata { + if p == nil { + return nil + } + 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 { + return "" + } + return *p.PackageHTMLURL +} + +// GetPackageURL returns the PackageURL field if it's non-nil, zero value otherwise. +func (p *PackageVersion) GetPackageURL() string { + if p == nil || p.PackageURL == nil { + return "" + } + return *p.PackageURL +} + +// GetPrerelease returns the Prerelease field if it's non-nil, zero value otherwise. +func (p *PackageVersion) GetPrerelease() bool { + if p == nil || p.Prerelease == nil { + return false + } + return *p.Prerelease +} + +// GetRelease returns the Release field. +func (p *PackageVersion) GetRelease() *PackageRelease { + if p == nil { + return nil + } + return p.Release +} + +// GetRubyMetadata returns the RubyMetadata map if it's non-nil, an empty map otherwise. +func (p *PackageVersion) GetRubyMetadata() map[string]any { + if p == nil || p.RubyMetadata == nil { + return map[string]any{} + } + return p.RubyMetadata +} + +// GetSourceURL returns the SourceURL field if it's non-nil, zero value otherwise. +func (p *PackageVersion) GetSourceURL() string { + if p == nil || p.SourceURL == nil { + return "" + } + return *p.SourceURL +} + +// GetSummary returns the Summary field if it's non-nil, zero value otherwise. +func (p *PackageVersion) GetSummary() string { + if p == nil || p.Summary == nil { + return "" + } + return *p.Summary +} + +// GetTagName returns the TagName field if it's non-nil, zero value otherwise. +func (p *PackageVersion) GetTagName() string { + if p == nil || p.TagName == nil { + return "" + } + return *p.TagName +} + +// GetTargetCommitish returns the TargetCommitish field if it's non-nil, zero value otherwise. +func (p *PackageVersion) GetTargetCommitish() string { + if p == nil || p.TargetCommitish == nil { + return "" + } + return *p.TargetCommitish +} + +// GetTargetOID returns the TargetOID field if it's non-nil, zero value otherwise. +func (p *PackageVersion) GetTargetOID() string { + if p == nil || p.TargetOID == nil { + return "" + } + return *p.TargetOID +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (p *PackageVersion) GetUpdatedAt() Timestamp { + if p == nil || p.UpdatedAt == nil { + return Timestamp{} + } + return *p.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (p *PackageVersion) GetURL() string { + if p == nil || p.URL == nil { + return "" + } + return *p.URL +} + +// GetVersion returns the Version field if it's non-nil, zero value otherwise. +func (p *PackageVersion) GetVersion() string { + if p == nil || p.Version == nil { + return "" + } + return *p.Version +} + +// GetInfo returns the Info field. +func (p *PackageVersionBody) GetInfo() *PackageVersionBodyInfo { + if p == nil { + return nil + } + return p.Info +} + +// GetRepo returns the Repo field. +func (p *PackageVersionBody) GetRepo() *Repository { + if p == nil { + return nil + } + return p.Repo +} + +// GetCollection returns the Collection field if it's non-nil, zero value otherwise. +func (p *PackageVersionBodyInfo) GetCollection() bool { + if p == nil || p.Collection == nil { + return false + } + return *p.Collection +} + +// GetMode returns the Mode field if it's non-nil, zero value otherwise. +func (p *PackageVersionBodyInfo) GetMode() int64 { + if p == nil || p.Mode == nil { + return 0 + } + return *p.Mode +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (p *PackageVersionBodyInfo) GetName() string { + if p == nil || p.Name == nil { + return "" + } + return *p.Name +} + +// GetOID returns the OID field if it's non-nil, zero value otherwise. +func (p *PackageVersionBodyInfo) GetOID() string { + if p == nil || p.OID == nil { + return "" + } + return *p.OID +} + +// GetPath returns the Path field if it's non-nil, zero value otherwise. +func (p *PackageVersionBodyInfo) GetPath() string { + if p == nil || p.Path == nil { + return "" + } + return *p.Path +} + +// GetSize returns the Size field if it's non-nil, zero value otherwise. +func (p *PackageVersionBodyInfo) GetSize() int64 { + if p == nil || p.Size == nil { + return 0 + } + return *p.Size +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (p *PackageVersionBodyInfo) GetType() string { + if p == nil || p.Type == nil { + return "" + } + return *p.Type +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (p *Page) GetAction() string { + if p == nil || p.Action == nil { + return "" + } + return *p.Action +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (p *Page) GetHTMLURL() string { + if p == nil || p.HTMLURL == nil { + return "" + } + return *p.HTMLURL +} + +// GetPageName returns the PageName field if it's non-nil, zero value otherwise. +func (p *Page) GetPageName() string { + if p == nil || p.PageName == nil { + return "" + } + return *p.PageName +} + +// GetSHA returns the SHA field if it's non-nil, zero value otherwise. +func (p *Page) GetSHA() string { + if p == nil || p.SHA == nil { + return "" + } + return *p.SHA +} + +// GetSummary returns the Summary field if it's non-nil, zero value otherwise. +func (p *Page) GetSummary() string { + if p == nil || p.Summary == nil { + return "" + } + return *p.Summary +} + +// GetTitle returns the Title field if it's non-nil, zero value otherwise. +func (p *Page) GetTitle() string { + if p == nil || p.Title == nil { + return "" + } + return *p.Title +} + +// GetBuild returns the Build field. +func (p *PageBuildEvent) GetBuild() *PagesBuild { + if p == nil { + return nil + } + return p.Build +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (p *PageBuildEvent) GetID() int64 { + if p == nil || p.ID == nil { + return 0 + } + return *p.ID +} + +// GetInstallation returns the Installation field. +func (p *PageBuildEvent) GetInstallation() *Installation { + if p == nil { + return nil + } + return p.Installation +} + +// GetOrg returns the Org field. +func (p *PageBuildEvent) GetOrg() *Organization { + if p == nil { + return nil + } + return p.Org +} + +// GetRepo returns the Repo field. +func (p *PageBuildEvent) GetRepo() *Repository { + if p == nil { + return nil + } + return p.Repo +} + +// GetSender returns the Sender field. +func (p *PageBuildEvent) GetSender() *User { + if p == nil { + return nil + } + return p.Sender +} + +// GetBuildType returns the BuildType field if it's non-nil, zero value otherwise. +func (p *Pages) GetBuildType() string { + if p == nil || p.BuildType == nil { + return "" + } + return *p.BuildType +} + +// GetCNAME returns the CNAME field if it's non-nil, zero value otherwise. +func (p *Pages) GetCNAME() string { + if p == nil || p.CNAME == nil { + return "" + } + return *p.CNAME +} + +// GetCustom404 returns the Custom404 field if it's non-nil, zero value otherwise. +func (p *Pages) GetCustom404() bool { + if p == nil || p.Custom404 == nil { + return false + } + return *p.Custom404 +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (p *Pages) GetHTMLURL() string { + if p == nil || p.HTMLURL == nil { + return "" + } + return *p.HTMLURL +} + +// GetHTTPSCertificate returns the HTTPSCertificate field. +func (p *Pages) GetHTTPSCertificate() *PagesHTTPSCertificate { + if p == nil { + return nil + } + return p.HTTPSCertificate +} + +// GetHTTPSEnforced returns the HTTPSEnforced field if it's non-nil, zero value otherwise. +func (p *Pages) GetHTTPSEnforced() bool { + if p == nil || p.HTTPSEnforced == nil { + return false + } + return *p.HTTPSEnforced +} + +// GetPublic returns the Public field if it's non-nil, zero value otherwise. +func (p *Pages) GetPublic() bool { + if p == nil || p.Public == nil { + return false + } + return *p.Public +} + +// GetSource returns the Source field. +func (p *Pages) GetSource() *PagesSource { + if p == nil { + return nil + } + return p.Source +} + +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (p *Pages) GetStatus() string { + if p == nil || p.Status == nil { + return "" + } + return *p.Status +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (p *Pages) GetURL() string { + if p == nil || p.URL == nil { + return "" + } + return *p.URL +} + +// GetCommit returns the Commit field if it's non-nil, zero value otherwise. +func (p *PagesBuild) GetCommit() string { + if p == nil || p.Commit == nil { + return "" + } + return *p.Commit +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (p *PagesBuild) GetCreatedAt() Timestamp { + if p == nil || p.CreatedAt == nil { + return Timestamp{} + } + return *p.CreatedAt +} + +// GetDuration returns the Duration field if it's non-nil, zero value otherwise. +func (p *PagesBuild) GetDuration() int { + if p == nil || p.Duration == nil { + return 0 + } + return *p.Duration +} + +// GetError returns the Error field. +func (p *PagesBuild) GetError() *PagesError { + if p == nil { + return nil + } + return p.Error +} + +// GetPusher returns the Pusher field. +func (p *PagesBuild) GetPusher() *User { + if p == nil { + return nil + } + return p.Pusher +} + +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (p *PagesBuild) GetStatus() string { + if p == nil || p.Status == nil { + return "" + } + return *p.Status +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (p *PagesBuild) GetUpdatedAt() Timestamp { + if p == nil || p.UpdatedAt == nil { + return Timestamp{} + } + return *p.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (p *PagesBuild) GetURL() string { + if p == nil || p.URL == nil { + return "" + } + return *p.URL +} + +// GetCAAError returns the CAAError field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetCAAError() string { + if p == nil || p.CAAError == nil { + return "" + } + return *p.CAAError +} + +// GetDNSResolves returns the DNSResolves field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetDNSResolves() bool { + if p == nil || p.DNSResolves == nil { + return false + } + return *p.DNSResolves +} + +// GetEnforcesHTTPS returns the EnforcesHTTPS field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetEnforcesHTTPS() bool { + if p == nil || p.EnforcesHTTPS == nil { + return false + } + return *p.EnforcesHTTPS +} + +// GetHasCNAMERecord returns the HasCNAMERecord field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetHasCNAMERecord() bool { + if p == nil || p.HasCNAMERecord == nil { + return false + } + return *p.HasCNAMERecord +} + +// GetHasMXRecordsPresent returns the HasMXRecordsPresent field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetHasMXRecordsPresent() bool { + if p == nil || p.HasMXRecordsPresent == nil { + return false + } + return *p.HasMXRecordsPresent +} + +// GetHost returns the Host field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetHost() string { + if p == nil || p.Host == nil { + return "" + } + return *p.Host +} + +// GetHTTPSError returns the HTTPSError field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetHTTPSError() string { + if p == nil || p.HTTPSError == nil { + return "" + } + return *p.HTTPSError +} + +// GetIsApexDomain returns the IsApexDomain field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetIsApexDomain() bool { + if p == nil || p.IsApexDomain == nil { + return false + } + return *p.IsApexDomain +} + +// GetIsARecord returns the IsARecord field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetIsARecord() bool { + if p == nil || p.IsARecord == nil { + return false + } + return *p.IsARecord +} + +// GetIsCloudflareIP returns the IsCloudflareIP field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetIsCloudflareIP() bool { + if p == nil || p.IsCloudflareIP == nil { + return false + } + return *p.IsCloudflareIP +} + +// GetIsCNAMEToFastly returns the IsCNAMEToFastly field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetIsCNAMEToFastly() bool { + if p == nil || p.IsCNAMEToFastly == nil { + return false + } + return *p.IsCNAMEToFastly +} + +// GetIsCNAMEToGithubUserDomain returns the IsCNAMEToGithubUserDomain field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetIsCNAMEToGithubUserDomain() bool { + if p == nil || p.IsCNAMEToGithubUserDomain == nil { + return false + } + return *p.IsCNAMEToGithubUserDomain +} + +// GetIsCNAMEToPagesDotGithubDotCom returns the IsCNAMEToPagesDotGithubDotCom field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetIsCNAMEToPagesDotGithubDotCom() bool { + if p == nil || p.IsCNAMEToPagesDotGithubDotCom == nil { + return false + } + return *p.IsCNAMEToPagesDotGithubDotCom +} + +// GetIsFastlyIP returns the IsFastlyIP field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetIsFastlyIP() bool { + if p == nil || p.IsFastlyIP == nil { + return false + } + return *p.IsFastlyIP +} + +// GetIsHTTPSEligible returns the IsHTTPSEligible field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetIsHTTPSEligible() bool { + if p == nil || p.IsHTTPSEligible == nil { + return false + } + return *p.IsHTTPSEligible +} + +// GetIsNonGithubPagesIPPresent returns the IsNonGithubPagesIPPresent field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetIsNonGithubPagesIPPresent() bool { + if p == nil || p.IsNonGithubPagesIPPresent == nil { + return false + } + return *p.IsNonGithubPagesIPPresent +} + +// GetIsOldIPAddress returns the IsOldIPAddress field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetIsOldIPAddress() bool { + if p == nil || p.IsOldIPAddress == nil { + return false + } + return *p.IsOldIPAddress +} + +// GetIsPagesDomain returns the IsPagesDomain field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetIsPagesDomain() bool { + if p == nil || p.IsPagesDomain == nil { + return false + } + return *p.IsPagesDomain +} + +// GetIsPointedToGithubPagesIP returns the IsPointedToGithubPagesIP field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetIsPointedToGithubPagesIP() bool { + if p == nil || p.IsPointedToGithubPagesIP == nil { + return false + } + return *p.IsPointedToGithubPagesIP +} + +// GetIsProxied returns the IsProxied field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetIsProxied() bool { + if p == nil || p.IsProxied == nil { + return false + } + return *p.IsProxied +} + +// GetIsServedByPages returns the IsServedByPages field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetIsServedByPages() bool { + if p == nil || p.IsServedByPages == nil { + return false + } + return *p.IsServedByPages +} + +// GetIsValid returns the IsValid field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetIsValid() bool { + if p == nil || p.IsValid == nil { + return false + } + return *p.IsValid +} + +// GetIsValidDomain returns the IsValidDomain field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetIsValidDomain() bool { + if p == nil || p.IsValidDomain == nil { + return false + } + return *p.IsValidDomain +} + +// GetNameservers returns the Nameservers field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetNameservers() string { + if p == nil || p.Nameservers == nil { + return "" + } + return *p.Nameservers +} + +// GetReason returns the Reason field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetReason() string { + if p == nil || p.Reason == nil { + return "" + } + return *p.Reason +} + +// GetRespondsToHTTPS returns the RespondsToHTTPS field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetRespondsToHTTPS() bool { + if p == nil || p.RespondsToHTTPS == nil { + return false + } + return *p.RespondsToHTTPS +} + +// GetShouldBeARecord returns the ShouldBeARecord field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetShouldBeARecord() bool { + if p == nil || p.ShouldBeARecord == nil { + return false + } + return *p.ShouldBeARecord +} + +// GetURI returns the URI field if it's non-nil, zero value otherwise. +func (p *PagesDomain) GetURI() string { + if p == nil || p.URI == nil { + return "" + } + return *p.URI +} + +// GetMessage returns the Message field if it's non-nil, zero value otherwise. +func (p *PagesError) GetMessage() string { + if p == nil || p.Message == nil { + return "" + } + return *p.Message +} + +// GetAltDomain returns the AltDomain field. +func (p *PagesHealthCheckResponse) GetAltDomain() *PagesDomain { + if p == nil { + return nil + } + return p.AltDomain +} + +// GetDomain returns the Domain field. +func (p *PagesHealthCheckResponse) GetDomain() *PagesDomain { + if p == nil { + return nil + } + return p.Domain +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (p *PagesHTTPSCertificate) GetDescription() string { + if p == nil || p.Description == nil { + return "" + } + 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 { + return "" + } + return *p.ExpiresAt +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (p *PagesHTTPSCertificate) GetState() string { + if p == nil || p.State == nil { + return "" + } + return *p.State +} + +// GetBranch returns the Branch field if it's non-nil, zero value otherwise. +func (p *PagesSource) GetBranch() string { + if p == nil || p.Branch == nil { + return "" + } + return *p.Branch +} + +// GetPath returns the Path field if it's non-nil, zero value otherwise. +func (p *PagesSource) GetPath() string { + if p == nil || p.Path == nil { + return "" + } + return *p.Path +} + +// GetTotalPages returns the TotalPages field if it's non-nil, zero value otherwise. +func (p *PageStats) GetTotalPages() int { + if p == nil || p.TotalPages == nil { + return 0 + } + return *p.TotalPages +} + +// GetBuildType returns the BuildType field if it's non-nil, zero value otherwise. +func (p *PagesUpdate) GetBuildType() string { + if p == nil || p.BuildType == nil { + return "" + } + return *p.BuildType +} + +// GetCNAME returns the CNAME field if it's non-nil, zero value otherwise. +func (p *PagesUpdate) GetCNAME() string { + if p == nil || p.CNAME == nil { + return "" + } + return *p.CNAME +} + +// GetHTTPSEnforced returns the HTTPSEnforced field if it's non-nil, zero value otherwise. +func (p *PagesUpdate) GetHTTPSEnforced() bool { + if p == nil || p.HTTPSEnforced == nil { + return false + } + return *p.HTTPSEnforced +} + +// GetPublic returns the Public field if it's non-nil, zero value otherwise. +func (p *PagesUpdate) GetPublic() bool { + if p == nil || p.Public == nil { + return false + } + return *p.Public +} + +// GetSource returns the Source field. +func (p *PagesUpdate) GetSource() *PagesSource { + if p == nil { + return nil + } + return p.Source +} + +// GetBuildType returns the BuildType field if it's non-nil, zero value otherwise. +func (p *PagesUpdateWithoutCNAME) GetBuildType() string { + if p == nil || p.BuildType == nil { + return "" + } + return *p.BuildType +} + +// GetHTTPSEnforced returns the HTTPSEnforced field if it's non-nil, zero value otherwise. +func (p *PagesUpdateWithoutCNAME) GetHTTPSEnforced() bool { + if p == nil || p.HTTPSEnforced == nil { + return false + } + return *p.HTTPSEnforced +} + +// GetPublic returns the Public field if it's non-nil, zero value otherwise. +func (p *PagesUpdateWithoutCNAME) GetPublic() bool { + if p == nil || p.Public == nil { + return false + } + return *p.Public +} + +// GetSource returns the Source field. +func (p *PagesUpdateWithoutCNAME) GetSource() *PagesSource { + if p == nil { + return nil + } + 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 { + return "" + } + return *p.Name +} + +// GetNegate returns the Negate field if it's non-nil, zero value otherwise. +func (p *PatternRuleParameters) GetNegate() bool { + if p == nil || p.Negate == nil { + return false + } + 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 { + return false + } + return *p.CurrentUserCanApprove +} + +// GetEnvironment returns the Environment field. +func (p *PendingDeployment) GetEnvironment() *PendingDeploymentEnvironment { + if p == nil { + return nil + } + 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 { + return 0 + } + return *p.WaitTimer +} + +// GetWaitTimerStartedAt returns the WaitTimerStartedAt field if it's non-nil, zero value otherwise. +func (p *PendingDeployment) GetWaitTimerStartedAt() Timestamp { + if p == nil || p.WaitTimerStartedAt == nil { + return Timestamp{} + } + return *p.WaitTimerStartedAt +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (p *PendingDeploymentEnvironment) GetHTMLURL() string { + if p == nil || p.HTMLURL == nil { + return "" + } + return *p.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (p *PendingDeploymentEnvironment) GetID() int64 { + if p == nil || p.ID == nil { + return 0 + } + return *p.ID +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (p *PendingDeploymentEnvironment) GetName() string { + if p == nil || p.Name == nil { + return "" + } + return *p.Name +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (p *PendingDeploymentEnvironment) GetNodeID() string { + if p == nil || p.NodeID == nil { + return "" + } + return *p.NodeID +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (p *PendingDeploymentEnvironment) GetURL() string { + if p == nil || p.URL == nil { + return "" + } + 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 { + return Timestamp{} + } + return *p.AccessGrantedAt +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (p *PersonalAccessToken) GetID() int64 { + if p == nil || p.ID == nil { + return 0 + } + return *p.ID +} + +// GetOwner returns the Owner field. +func (p *PersonalAccessToken) GetOwner() *User { + if p == nil { + return nil + } + return p.Owner +} + +// GetPermissions returns the Permissions field. +func (p *PersonalAccessToken) GetPermissions() *PersonalAccessTokenPermissions { + if p == nil { + return nil + } + return p.Permissions +} + +// GetRepositoriesURL returns the RepositoriesURL field if it's non-nil, zero value otherwise. +func (p *PersonalAccessToken) GetRepositoriesURL() string { + if p == nil || p.RepositoriesURL == nil { + return "" + } + return *p.RepositoriesURL +} + +// GetRepositorySelection returns the RepositorySelection field if it's non-nil, zero value otherwise. +func (p *PersonalAccessToken) GetRepositorySelection() string { + if p == nil || p.RepositorySelection == nil { + return "" + } + return *p.RepositorySelection +} + +// GetTokenExpired returns the TokenExpired field if it's non-nil, zero value otherwise. +func (p *PersonalAccessToken) GetTokenExpired() bool { + if p == nil || p.TokenExpired == nil { + return false + } + return *p.TokenExpired +} + +// GetTokenExpiresAt returns the TokenExpiresAt field if it's non-nil, zero value otherwise. +func (p *PersonalAccessToken) GetTokenExpiresAt() Timestamp { + if p == nil || p.TokenExpiresAt == nil { + return Timestamp{} + } + return *p.TokenExpiresAt +} + +// GetTokenID returns the TokenID field if it's non-nil, zero value otherwise. +func (p *PersonalAccessToken) GetTokenID() int64 { + if p == nil || p.TokenID == nil { + return 0 + } + return *p.TokenID +} + +// GetTokenLastUsedAt returns the TokenLastUsedAt field if it's non-nil, zero value otherwise. +func (p *PersonalAccessToken) GetTokenLastUsedAt() Timestamp { + if p == nil || p.TokenLastUsedAt == nil { + return Timestamp{} + } + return *p.TokenLastUsedAt +} + +// GetTokenName returns the TokenName field if it's non-nil, zero value otherwise. +func (p *PersonalAccessToken) GetTokenName() string { + if p == nil || p.TokenName == nil { + return "" + } + return *p.TokenName +} + +// GetOrg returns the Org map if it's non-nil, an empty map otherwise. +func (p *PersonalAccessTokenPermissions) GetOrg() map[string]string { + if p == nil || p.Org == nil { + return map[string]string{} + } + return p.Org +} + +// GetOther returns the Other map if it's non-nil, an empty map otherwise. +func (p *PersonalAccessTokenPermissions) GetOther() map[string]string { + if p == nil || p.Other == nil { + return map[string]string{} + } + return p.Other +} + +// GetRepo returns the Repo map if it's non-nil, an empty map otherwise. +func (p *PersonalAccessTokenPermissions) GetRepo() map[string]string { + if p == nil || p.Repo == nil { + return map[string]string{} + } + return p.Repo +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (p *PersonalAccessTokenRequest) GetCreatedAt() Timestamp { + if p == nil || p.CreatedAt == nil { + return Timestamp{} + } + return *p.CreatedAt +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (p *PersonalAccessTokenRequest) GetID() int64 { + if p == nil || p.ID == nil { + return 0 + } + return *p.ID +} + +// GetOrg returns the Org field. +func (p *PersonalAccessTokenRequest) GetOrg() *Organization { + if p == nil { + return nil + } + return p.Org +} + +// GetOwner returns the Owner field. +func (p *PersonalAccessTokenRequest) GetOwner() *User { + if p == nil { + return nil + } + return p.Owner +} + +// GetPermissionsAdded returns the PermissionsAdded field. +func (p *PersonalAccessTokenRequest) GetPermissionsAdded() *PersonalAccessTokenPermissions { + if p == nil { + return nil + } + return p.PermissionsAdded +} + +// GetPermissionsResult returns the PermissionsResult field. +func (p *PersonalAccessTokenRequest) GetPermissionsResult() *PersonalAccessTokenPermissions { + if p == nil { + return nil + } + return p.PermissionsResult +} + +// GetPermissionsUpgraded returns the PermissionsUpgraded field. +func (p *PersonalAccessTokenRequest) GetPermissionsUpgraded() *PersonalAccessTokenPermissions { + if p == nil { + return nil + } + 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 { + return 0 + } + return *p.RepositoryCount +} + +// GetRepositorySelection returns the RepositorySelection field if it's non-nil, zero value otherwise. +func (p *PersonalAccessTokenRequest) GetRepositorySelection() string { + if p == nil || p.RepositorySelection == nil { + return "" + } + return *p.RepositorySelection +} + +// GetTokenExpired returns the TokenExpired field if it's non-nil, zero value otherwise. +func (p *PersonalAccessTokenRequest) GetTokenExpired() bool { + if p == nil || p.TokenExpired == nil { + return false + } + return *p.TokenExpired +} + +// GetTokenExpiresAt returns the TokenExpiresAt field if it's non-nil, zero value otherwise. +func (p *PersonalAccessTokenRequest) GetTokenExpiresAt() Timestamp { + if p == nil || p.TokenExpiresAt == nil { + return Timestamp{} + } + return *p.TokenExpiresAt +} + +// GetTokenLastUsedAt returns the TokenLastUsedAt field if it's non-nil, zero value otherwise. +func (p *PersonalAccessTokenRequest) GetTokenLastUsedAt() Timestamp { + if p == nil || p.TokenLastUsedAt == nil { + return Timestamp{} + } + return *p.TokenLastUsedAt +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (p *PersonalAccessTokenRequestEvent) GetAction() string { + if p == nil || p.Action == nil { + return "" + } + return *p.Action +} + +// GetInstallation returns the Installation field. +func (p *PersonalAccessTokenRequestEvent) GetInstallation() *Installation { + if p == nil { + return nil + } + return p.Installation +} + +// GetOrg returns the Org field. +func (p *PersonalAccessTokenRequestEvent) GetOrg() *Organization { + if p == nil { + return nil + } + return p.Org +} + +// GetPersonalAccessTokenRequest returns the PersonalAccessTokenRequest field. +func (p *PersonalAccessTokenRequestEvent) GetPersonalAccessTokenRequest() *PersonalAccessTokenRequest { + if p == nil { + return nil + } + return p.PersonalAccessTokenRequest +} + +// GetSender returns the Sender field. +func (p *PersonalAccessTokenRequestEvent) GetSender() *User { + if p == nil { + return nil + } + return p.Sender +} + +// GetHook returns the Hook field. +func (p *PingEvent) GetHook() *Hook { + if p == nil { + return nil + } + return p.Hook +} + +// GetHookID returns the HookID field if it's non-nil, zero value otherwise. +func (p *PingEvent) GetHookID() int64 { + if p == nil || p.HookID == nil { + return 0 + } + return *p.HookID +} + +// GetInstallation returns the Installation field. +func (p *PingEvent) GetInstallation() *Installation { + if p == nil { + return nil + } + return p.Installation +} + +// GetOrg returns the Org field. +func (p *PingEvent) GetOrg() *Organization { + if p == nil { + return nil + } + return p.Org +} + +// GetRepo returns the Repo field. +func (p *PingEvent) GetRepo() *Repository { + if p == nil { + return nil + } + return p.Repo +} + +// GetSender returns the Sender field. +func (p *PingEvent) GetSender() *User { + if p == nil { + return nil + } + return p.Sender +} + +// GetZen returns the Zen field if it's non-nil, zero value otherwise. +func (p *PingEvent) GetZen() string { + if p == nil || p.Zen == nil { + return "" + } + return *p.Zen +} + +// GetPinnedAt returns the PinnedAt field if it's non-nil, zero value otherwise. +func (p *PinnedIssueComment) GetPinnedAt() Timestamp { + if p == nil || p.PinnedAt == nil { + return Timestamp{} + } + return *p.PinnedAt +} + +// GetPinnedBy returns the PinnedBy field. +func (p *PinnedIssueComment) GetPinnedBy() *User { + if p == nil { + return nil + } + return p.PinnedBy +} + +// GetCollaborators returns the Collaborators field if it's non-nil, zero value otherwise. +func (p *Plan) GetCollaborators() int { + if p == nil || p.Collaborators == nil { + return 0 + } + return *p.Collaborators +} + +// GetFilledSeats returns the FilledSeats field if it's non-nil, zero value otherwise. +func (p *Plan) GetFilledSeats() int { + if p == nil || p.FilledSeats == nil { + return 0 + } + return *p.FilledSeats +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (p *Plan) GetName() string { + if p == nil || p.Name == nil { + return "" + } + return *p.Name +} + +// GetPrivateRepos returns the PrivateRepos field if it's non-nil, zero value otherwise. +func (p *Plan) GetPrivateRepos() int64 { + if p == nil || p.PrivateRepos == nil { + return 0 + } + return *p.PrivateRepos +} + +// GetSeats returns the Seats field if it's non-nil, zero value otherwise. +func (p *Plan) GetSeats() int { + if p == nil || p.Seats == nil { + return 0 + } + return *p.Seats +} + +// GetSpace returns the Space field if it's non-nil, zero value otherwise. +func (p *Plan) GetSpace() int { + if p == nil || p.Space == nil { + return 0 + } + 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 { + return "" + } + return *p.Model +} + +// GetOrganization returns the Organization field if it's non-nil, zero value otherwise. +func (p *PremiumRequestUsageReport) GetOrganization() string { + if p == nil || p.Organization == nil { + return "" + } + return *p.Organization +} + +// GetProduct returns the Product field if it's non-nil, zero value otherwise. +func (p *PremiumRequestUsageReport) GetProduct() string { + if p == nil || p.Product == nil { + return "" + } + 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 { + return "" + } + return *p.User +} + +// GetDay returns the Day field if it's non-nil, zero value otherwise. +func (p *PremiumRequestUsageReportOptions) GetDay() int { + if p == nil || p.Day == nil { + return 0 + } + return *p.Day +} + +// GetModel returns the Model field if it's non-nil, zero value otherwise. +func (p *PremiumRequestUsageReportOptions) GetModel() string { + if p == nil || p.Model == nil { + return "" + } + return *p.Model +} + +// GetMonth returns the Month field if it's non-nil, zero value otherwise. +func (p *PremiumRequestUsageReportOptions) GetMonth() int { + if p == nil || p.Month == nil { + return 0 + } + return *p.Month +} + +// GetProduct returns the Product field if it's non-nil, zero value otherwise. +func (p *PremiumRequestUsageReportOptions) GetProduct() string { + if p == nil || p.Product == nil { + return "" + } + return *p.Product +} + +// GetUser returns the User field if it's non-nil, zero value otherwise. +func (p *PremiumRequestUsageReportOptions) GetUser() string { + if p == nil || p.User == nil { + return "" + } + return *p.User +} + +// GetYear returns the Year field if it's non-nil, zero value otherwise. +func (p *PremiumRequestUsageReportOptions) GetYear() int { + if p == nil || p.Year == nil { + return 0 + } + return *p.Year +} + +// GetDay returns the Day field if it's non-nil, zero value otherwise. +func (p *PremiumRequestUsageTimePeriod) GetDay() int { + if p == nil || p.Day == nil { + return 0 + } + return *p.Day +} + +// GetMonth returns the Month field if it's non-nil, zero value otherwise. +func (p *PremiumRequestUsageTimePeriod) GetMonth() int { + if p == nil || p.Month == nil { + return 0 + } + 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 { + return "" + } + return *p.ConfigURL +} + +// GetEnforcement returns the Enforcement field if it's non-nil, zero value otherwise. +func (p *PreReceiveHook) GetEnforcement() string { + if p == nil || p.Enforcement == nil { + return "" + } + return *p.Enforcement +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (p *PreReceiveHook) GetID() int64 { + if p == nil || p.ID == nil { + return 0 + } + return *p.ID +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (p *PreReceiveHook) GetName() string { + if p == nil || p.Name == nil { + return "" + } + 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 { + return 0 + } + return *p.TotalCount +} + +// GetAccountID returns the AccountID field if it's non-nil, zero value otherwise. +func (p *PrivateRegistry) GetAccountID() string { + if p == nil || p.AccountID == nil { + return "" + } + return *p.AccountID +} + +// GetAudience returns the Audience field if it's non-nil, zero value otherwise. +func (p *PrivateRegistry) GetAudience() string { + if p == nil || p.Audience == nil { + return "" + } + return *p.Audience +} + +// GetAuthType returns the AuthType field. +func (p *PrivateRegistry) GetAuthType() *PrivateRegistryAuthType { + if p == nil { + return nil + } + return p.AuthType +} + +// GetAWSRegion returns the AWSRegion field if it's non-nil, zero value otherwise. +func (p *PrivateRegistry) GetAWSRegion() string { + if p == nil || p.AWSRegion == nil { + return "" + } + return *p.AWSRegion +} + +// GetClientID returns the ClientID field if it's non-nil, zero value otherwise. +func (p *PrivateRegistry) GetClientID() string { + if p == nil || p.ClientID == nil { + return "" + } + return *p.ClientID +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (p *PrivateRegistry) GetCreatedAt() Timestamp { + if p == nil || p.CreatedAt == nil { + return Timestamp{} + } + return *p.CreatedAt +} + +// GetDomain returns the Domain field if it's non-nil, zero value otherwise. +func (p *PrivateRegistry) GetDomain() string { + if p == nil || p.Domain == nil { + return "" + } + return *p.Domain +} + +// GetDomainOwner returns the DomainOwner field if it's non-nil, zero value otherwise. +func (p *PrivateRegistry) GetDomainOwner() string { + if p == nil || p.DomainOwner == nil { + return "" + } + return *p.DomainOwner +} + +// GetIdentityMappingName returns the IdentityMappingName field if it's non-nil, zero value otherwise. +func (p *PrivateRegistry) GetIdentityMappingName() string { + if p == nil || p.IdentityMappingName == nil { + return "" + } + return *p.IdentityMappingName +} + +// GetJFrogOIDCProviderName returns the JFrogOIDCProviderName field if it's non-nil, zero value otherwise. +func (p *PrivateRegistry) GetJFrogOIDCProviderName() string { + if p == nil || p.JFrogOIDCProviderName == nil { + return "" + } + return *p.JFrogOIDCProviderName +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (p *PrivateRegistry) GetName() string { + if p == nil || p.Name == nil { + return "" + } + return *p.Name +} + +// GetRegistryType returns the RegistryType field. +func (p *PrivateRegistry) GetRegistryType() *PrivateRegistryType { + if p == nil { + return nil + } + return p.RegistryType +} + +// GetReplacesBase returns the ReplacesBase field if it's non-nil, zero value otherwise. +func (p *PrivateRegistry) GetReplacesBase() bool { + if p == nil || p.ReplacesBase == nil { + return false + } + return *p.ReplacesBase +} + +// GetRoleName returns the RoleName field if it's non-nil, zero value otherwise. +func (p *PrivateRegistry) GetRoleName() string { + if p == nil || p.RoleName == nil { + return "" + } + return *p.RoleName +} + +// GetSelectedRepositoryIDs returns the SelectedRepositoryIDs slice if it's non-nil, nil otherwise. +func (p *PrivateRegistry) GetSelectedRepositoryIDs() []int64 { + if p == nil || p.SelectedRepositoryIDs == nil { + return nil + } + return p.SelectedRepositoryIDs +} + +// GetTenantID returns the TenantID field if it's non-nil, zero value otherwise. +func (p *PrivateRegistry) GetTenantID() string { + if p == nil || p.TenantID == nil { + return "" + } + return *p.TenantID +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (p *PrivateRegistry) GetUpdatedAt() Timestamp { + if p == nil || p.UpdatedAt == nil { + return Timestamp{} + } + return *p.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (p *PrivateRegistry) GetURL() string { + if p == nil || p.URL == nil { + return "" + } + return *p.URL +} + +// GetUsername returns the Username field if it's non-nil, zero value otherwise. +func (p *PrivateRegistry) GetUsername() string { + if p == nil || p.Username == nil { + return "" + } + return *p.Username +} + +// GetVisibility returns the Visibility field. +func (p *PrivateRegistry) GetVisibility() *PrivateRegistryVisibility { + if p == nil { + return nil + } + return p.Visibility +} + +// GetHRef returns the HRef field if it's non-nil, zero value otherwise. +func (p *PRLink) GetHRef() string { + if p == nil || p.HRef == nil { + return "" + } + return *p.HRef +} + +// GetComments returns the Comments field. +func (p *PRLinks) GetComments() *PRLink { + if p == nil { + return nil + } + return p.Comments +} + +// GetCommits returns the Commits field. +func (p *PRLinks) GetCommits() *PRLink { + if p == nil { + return nil + } + return p.Commits +} + +// GetHTML returns the HTML field. +func (p *PRLinks) GetHTML() *PRLink { + if p == nil { + return nil + } + return p.HTML +} + +// GetIssue returns the Issue field. +func (p *PRLinks) GetIssue() *PRLink { + if p == nil { + return nil + } + return p.Issue +} + +// GetReviewComment returns the ReviewComment field. +func (p *PRLinks) GetReviewComment() *PRLink { + if p == nil { + return nil + } + return p.ReviewComment +} + +// GetReviewComments returns the ReviewComments field. +func (p *PRLinks) GetReviewComments() *PRLink { + if p == nil { + return nil + } + return p.ReviewComments +} + +// GetSelf returns the Self field. +func (p *PRLinks) GetSelf() *PRLink { + if p == nil { + return nil + } + return p.Self +} + +// GetStatuses returns the Statuses field. +func (p *PRLinks) GetStatuses() *PRLink { + if p == nil { + return nil + } + return p.Statuses +} + +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (p *ProjectBody) GetFrom() string { + if p == nil || p.From == nil { + return "" + } + return *p.From +} + +// GetNote returns the Note field. +func (p *ProjectCardChange) GetNote() *ProjectCardNote { + if p == nil { + return nil + } + return p.Note +} + +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (p *ProjectCardNote) GetFrom() string { + if p == nil || p.From == nil { + return "" + } + return *p.From +} + +// GetBody returns the Body field. +func (p *ProjectChange) GetBody() *ProjectBody { + if p == nil { + return nil + } + return p.Body +} + +// GetName returns the Name field. +func (p *ProjectChange) GetName() *ProjectName { + if p == nil { + return nil + } + return p.Name +} + +// GetName returns the Name field. +func (p *ProjectColumnChange) GetName() *ProjectColumnName { + if p == nil { + return nil + } + return p.Name +} + +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (p *ProjectColumnName) GetFrom() string { + if p == nil || p.From == nil { + return "" + } + return *p.From +} + +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (p *ProjectName) GetFrom() string { + if p == nil || p.From == nil { + return "" + } + return *p.From +} + +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (p *ProjectV2) GetBody() string { + if p == nil || p.Body == nil { + return "" + } + return *p.Body +} + +// GetClosedAt returns the ClosedAt field if it's non-nil, zero value otherwise. +func (p *ProjectV2) GetClosedAt() Timestamp { + if p == nil || p.ClosedAt == nil { + return Timestamp{} + } + return *p.ClosedAt +} + +// GetColumnsURL returns the ColumnsURL field if it's non-nil, zero value otherwise. +func (p *ProjectV2) GetColumnsURL() string { + if p == nil || p.ColumnsURL == nil { + return "" + } + return *p.ColumnsURL +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (p *ProjectV2) GetCreatedAt() Timestamp { + if p == nil || p.CreatedAt == nil { + return Timestamp{} + } + return *p.CreatedAt +} + +// GetCreator returns the Creator field. +func (p *ProjectV2) GetCreator() *User { + if p == nil { + return nil + } + return p.Creator +} + +// GetDeletedAt returns the DeletedAt field if it's non-nil, zero value otherwise. +func (p *ProjectV2) GetDeletedAt() Timestamp { + if p == nil || p.DeletedAt == nil { + return Timestamp{} + } + return *p.DeletedAt +} + +// GetDeletedBy returns the DeletedBy field. +func (p *ProjectV2) GetDeletedBy() *User { + if p == nil { + return nil + } + return p.DeletedBy +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (p *ProjectV2) GetDescription() string { + if p == nil || p.Description == nil { + return "" + } + return *p.Description +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (p *ProjectV2) GetHTMLURL() string { + if p == nil || p.HTMLURL == nil { + return "" + } + return *p.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (p *ProjectV2) GetID() int64 { + if p == nil || p.ID == nil { + return 0 + } + return *p.ID +} + +// GetIsTemplate returns the IsTemplate field if it's non-nil, zero value otherwise. +func (p *ProjectV2) GetIsTemplate() bool { + if p == nil || p.IsTemplate == nil { + return false + } + return *p.IsTemplate +} + +// GetLatestStatusUpdate returns the LatestStatusUpdate field. +func (p *ProjectV2) GetLatestStatusUpdate() *ProjectV2StatusUpdate { + if p == nil { + return nil + } + return p.LatestStatusUpdate +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (p *ProjectV2) GetName() string { + if p == nil || p.Name == nil { + return "" + } + return *p.Name +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (p *ProjectV2) GetNodeID() string { + if p == nil || p.NodeID == nil { + return "" + } + return *p.NodeID +} + +// GetNumber returns the Number field if it's non-nil, zero value otherwise. +func (p *ProjectV2) GetNumber() int { + if p == nil || p.Number == nil { + return 0 + } + return *p.Number +} + +// GetOrganizationPermission returns the OrganizationPermission field if it's non-nil, zero value otherwise. +func (p *ProjectV2) GetOrganizationPermission() string { + if p == nil || p.OrganizationPermission == nil { + return "" + } + return *p.OrganizationPermission +} + +// GetOwner returns the Owner field. +func (p *ProjectV2) GetOwner() *User { + if p == nil { + return nil + } + return p.Owner +} + +// GetOwnerURL returns the OwnerURL field if it's non-nil, zero value otherwise. +func (p *ProjectV2) GetOwnerURL() string { + if p == nil || p.OwnerURL == nil { + return "" + } + return *p.OwnerURL +} + +// GetPrivate returns the Private field if it's non-nil, zero value otherwise. +func (p *ProjectV2) GetPrivate() bool { + if p == nil || p.Private == nil { + return false + } + return *p.Private +} + +// GetPublic returns the Public field if it's non-nil, zero value otherwise. +func (p *ProjectV2) GetPublic() bool { + if p == nil || p.Public == nil { + return false + } + return *p.Public +} + +// GetShortDescription returns the ShortDescription field if it's non-nil, zero value otherwise. +func (p *ProjectV2) GetShortDescription() string { + if p == nil || p.ShortDescription == nil { + return "" + } + return *p.ShortDescription +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (p *ProjectV2) GetState() string { + if p == nil || p.State == nil { + return "" + } + return *p.State +} + +// GetTitle returns the Title field if it's non-nil, zero value otherwise. +func (p *ProjectV2) GetTitle() string { + if p == nil || p.Title == nil { + return "" + } + return *p.Title +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (p *ProjectV2) GetUpdatedAt() Timestamp { + if p == nil || p.UpdatedAt == nil { + return Timestamp{} + } + return *p.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (p *ProjectV2) GetURL() string { + if p == nil || p.URL == nil { + return "" + } + return *p.URL +} + +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (p *ProjectV2DraftIssue) GetBody() string { + if p == nil || p.Body == nil { + return "" + } + return *p.Body +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (p *ProjectV2DraftIssue) GetCreatedAt() Timestamp { + if p == nil || p.CreatedAt == nil { + return Timestamp{} + } + return *p.CreatedAt +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (p *ProjectV2DraftIssue) GetID() int64 { + if p == nil || p.ID == nil { + return 0 + } + return *p.ID +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (p *ProjectV2DraftIssue) GetNodeID() string { + if p == nil || p.NodeID == nil { + return "" + } + return *p.NodeID +} + +// GetTitle returns the Title field if it's non-nil, zero value otherwise. +func (p *ProjectV2DraftIssue) GetTitle() string { + if p == nil || p.Title == nil { + return "" + } + return *p.Title +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (p *ProjectV2DraftIssue) GetUpdatedAt() Timestamp { + if p == nil || p.UpdatedAt == nil { + return Timestamp{} + } + return *p.UpdatedAt +} + +// GetUser returns the User field. +func (p *ProjectV2DraftIssue) GetUser() *User { + if p == nil { + return nil + } + return p.User +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (p *ProjectV2Event) GetAction() string { + if p == nil || p.Action == nil { + return "" + } + return *p.Action +} + +// GetInstallation returns the Installation field. +func (p *ProjectV2Event) GetInstallation() *Installation { + if p == nil { + return nil + } + return p.Installation +} + +// GetOrg returns the Org field. +func (p *ProjectV2Event) GetOrg() *Organization { + if p == nil { + return nil + } + return p.Org +} + +// GetProjectsV2 returns the ProjectsV2 field. +func (p *ProjectV2Event) GetProjectsV2() *ProjectV2 { + if p == nil { + return nil + } + return p.ProjectsV2 +} + +// GetSender returns the Sender field. +func (p *ProjectV2Event) GetSender() *User { + if p == nil { + return nil + } + return p.Sender +} + +// GetConfiguration returns the Configuration field. +func (p *ProjectV2Field) GetConfiguration() *ProjectV2FieldConfiguration { + if p == nil { + return nil + } + return p.Configuration +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (p *ProjectV2Field) GetCreatedAt() Timestamp { + if p == nil || p.CreatedAt == nil { + return Timestamp{} + } + return *p.CreatedAt +} + +// GetDataType returns the DataType field if it's non-nil, zero value otherwise. +func (p *ProjectV2Field) GetDataType() string { + if p == nil || p.DataType == nil { + return "" + } + return *p.DataType +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (p *ProjectV2Field) GetID() int64 { + if p == nil || p.ID == nil { + return 0 + } + return *p.ID +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (p *ProjectV2Field) GetName() string { + if p == nil || p.Name == nil { + return "" + } + return *p.Name +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (p *ProjectV2Field) GetNodeID() string { + if p == nil || p.NodeID == nil { + return "" + } + 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 { + return "" + } + return *p.ProjectURL +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (p *ProjectV2Field) GetUpdatedAt() Timestamp { + if p == nil || p.UpdatedAt == nil { + return Timestamp{} + } + return *p.UpdatedAt +} + +// GetDuration returns the Duration field if it's non-nil, zero value otherwise. +func (p *ProjectV2FieldConfiguration) GetDuration() int { + if p == nil || p.Duration == nil { + return 0 + } + 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 { + return 0 + } + return *p.StartDay +} + +// GetDuration returns the Duration field if it's non-nil, zero value otherwise. +func (p *ProjectV2FieldIteration) GetDuration() int { + if p == nil || p.Duration == nil { + return 0 + } + return *p.Duration +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (p *ProjectV2FieldIteration) GetID() string { + if p == nil || p.ID == nil { + return "" + } + return *p.ID +} + +// GetStartDate returns the StartDate field if it's non-nil, zero value otherwise. +func (p *ProjectV2FieldIteration) GetStartDate() string { + if p == nil || p.StartDate == nil { + return "" + } + return *p.StartDate +} + +// GetTitle returns the Title field. +func (p *ProjectV2FieldIteration) GetTitle() *ProjectV2TextContent { + if p == nil { + return nil + } + return p.Title +} + +// GetDuration returns the Duration field if it's non-nil, zero value otherwise. +func (p *ProjectV2FieldIterationConfiguration) GetDuration() int { + if p == nil || p.Duration == nil { + return 0 + } + return *p.Duration +} + +// GetIterations returns the Iterations slice if it's non-nil, nil otherwise. +func (p *ProjectV2FieldIterationConfiguration) GetIterations() []*ProjectV2FieldIterationConfigurationIteration { + if p == nil || p.Iterations == nil { + return nil + } + return p.Iterations +} + +// GetStartDate returns the StartDate field if it's non-nil, zero value otherwise. +func (p *ProjectV2FieldIterationConfiguration) GetStartDate() string { + if p == nil || p.StartDate == nil { + return "" + } + return *p.StartDate +} + +// GetDuration returns the Duration field if it's non-nil, zero value otherwise. +func (p *ProjectV2FieldIterationConfigurationIteration) GetDuration() int { + if p == nil || p.Duration == nil { + return 0 + } + return *p.Duration +} + +// GetStartDate returns the StartDate field if it's non-nil, zero value otherwise. +func (p *ProjectV2FieldIterationConfigurationIteration) GetStartDate() string { + if p == nil || p.StartDate == nil { + return "" + } + return *p.StartDate +} + +// GetTitle returns the Title field if it's non-nil, zero value otherwise. +func (p *ProjectV2FieldIterationConfigurationIteration) GetTitle() string { + if p == nil || p.Title == nil { + return "" + } + return *p.Title +} + +// GetColor returns the Color field if it's non-nil, zero value otherwise. +func (p *ProjectV2FieldOption) GetColor() string { + if p == nil || p.Color == nil { + return "" + } + return *p.Color +} + +// GetDescription returns the Description field. +func (p *ProjectV2FieldOption) GetDescription() *ProjectV2TextContent { + if p == nil { + return nil + } + return p.Description +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (p *ProjectV2FieldOption) GetID() string { + if p == nil || p.ID == nil { + return "" + } + return *p.ID +} + +// GetName returns the Name field. +func (p *ProjectV2FieldOption) GetName() *ProjectV2TextContent { + if p == nil { + return nil + } + return p.Name +} + +// GetColor returns the Color field if it's non-nil, zero value otherwise. +func (p *ProjectV2FieldSingleSelectOption) GetColor() string { + if p == nil || p.Color == nil { + return "" + } + return *p.Color +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (p *ProjectV2FieldSingleSelectOption) GetDescription() string { + if p == nil || p.Description == nil { + return "" + } + return *p.Description +} + +// GetName returns the Name field. +func (p *ProjectV2FieldSingleSelectOption) GetName() string { + if p == nil { + return "" + } + return p.Name +} + +// GetArchivedAt returns the ArchivedAt field if it's non-nil, zero value otherwise. +func (p *ProjectV2Item) GetArchivedAt() Timestamp { + if p == nil || p.ArchivedAt == nil { + return Timestamp{} + } + return *p.ArchivedAt +} + +// GetContent returns the Content field. +func (p *ProjectV2Item) GetContent() *ProjectV2ItemContent { + if p == nil { + return nil + } + return p.Content +} + +// GetContentNodeID returns the ContentNodeID field if it's non-nil, zero value otherwise. +func (p *ProjectV2Item) GetContentNodeID() string { + if p == nil || p.ContentNodeID == nil { + return "" + } + return *p.ContentNodeID +} + +// GetContentType returns the ContentType field. +func (p *ProjectV2Item) GetContentType() *ProjectV2ItemContentType { + if p == nil { + return nil + } + return p.ContentType +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (p *ProjectV2Item) GetCreatedAt() Timestamp { + if p == nil || p.CreatedAt == nil { + return Timestamp{} + } + return *p.CreatedAt +} + +// GetCreator returns the Creator field. +func (p *ProjectV2Item) GetCreator() *User { + if p == nil { + return nil + } + 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 { + return 0 + } + return *p.ID +} + +// GetItemURL returns the ItemURL field if it's non-nil, zero value otherwise. +func (p *ProjectV2Item) GetItemURL() string { + if p == nil || p.ItemURL == nil { + return "" + } + return *p.ItemURL +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (p *ProjectV2Item) GetNodeID() string { + if p == nil || p.NodeID == nil { + return "" + } + return *p.NodeID +} + +// GetProjectNodeID returns the ProjectNodeID field if it's non-nil, zero value otherwise. +func (p *ProjectV2Item) GetProjectNodeID() string { + if p == nil || p.ProjectNodeID == nil { + return "" + } + return *p.ProjectNodeID +} + +// GetProjectURL returns the ProjectURL field if it's non-nil, zero value otherwise. +func (p *ProjectV2Item) GetProjectURL() string { + if p == nil || p.ProjectURL == nil { + return "" + } + return *p.ProjectURL +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (p *ProjectV2Item) GetUpdatedAt() Timestamp { + if p == nil || p.UpdatedAt == nil { + return Timestamp{} + } + return *p.UpdatedAt +} + +// GetArchivedAt returns the ArchivedAt field. +func (p *ProjectV2ItemChange) GetArchivedAt() *ArchivedAt { + if p == nil { + return nil + } + return p.ArchivedAt +} + +// GetFieldValue returns the FieldValue field. +func (p *ProjectV2ItemChange) GetFieldValue() *FieldValue { + if p == nil { + return nil + } + return p.FieldValue +} + +// GetDraftIssue returns the DraftIssue field. +func (p *ProjectV2ItemContent) GetDraftIssue() *ProjectV2DraftIssue { + if p == nil { + return nil + } + return p.DraftIssue +} + +// GetIssue returns the Issue field. +func (p *ProjectV2ItemContent) GetIssue() *Issue { + if p == nil { + return nil + } + return p.Issue +} + +// GetPullRequest returns the PullRequest field. +func (p *ProjectV2ItemContent) GetPullRequest() *PullRequest { + if p == nil { + return nil + } + return p.PullRequest +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (p *ProjectV2ItemEvent) GetAction() string { + if p == nil || p.Action == nil { + return "" + } + return *p.Action +} + +// GetChanges returns the Changes field. +func (p *ProjectV2ItemEvent) GetChanges() *ProjectV2ItemChange { + if p == nil { + return nil + } + return p.Changes +} + +// GetInstallation returns the Installation field. +func (p *ProjectV2ItemEvent) GetInstallation() *Installation { + if p == nil { + return nil + } + return p.Installation +} + +// GetOrg returns the Org field. +func (p *ProjectV2ItemEvent) GetOrg() *Organization { + if p == nil { + return nil + } + return p.Org +} + +// GetProjectV2Item returns the ProjectV2Item field. +func (p *ProjectV2ItemEvent) GetProjectV2Item() *ProjectV2Item { + if p == nil { + return nil + } + return p.ProjectV2Item +} + +// GetSender returns the Sender field. +func (p *ProjectV2ItemEvent) GetSender() *User { + if p == nil { + return nil + } + return p.Sender +} + +// GetDataType returns the DataType field if it's non-nil, zero value otherwise. +func (p *ProjectV2ItemFieldValue) GetDataType() string { + if p == nil || p.DataType == nil { + return "" + } + return *p.DataType +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (p *ProjectV2ItemFieldValue) GetID() int64 { + if p == nil || p.ID == nil { + return 0 + } + return *p.ID +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (p *ProjectV2ItemFieldValue) GetName() string { + if p == nil || p.Name == nil { + return "" + } + 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 { + return "" + } + return *p.Body +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (p *ProjectV2StatusUpdate) GetCreatedAt() Timestamp { + if p == nil || p.CreatedAt == nil { + return Timestamp{} + } + return *p.CreatedAt +} + +// GetCreator returns the Creator field. +func (p *ProjectV2StatusUpdate) GetCreator() *User { + if p == nil { + return nil + } + return p.Creator +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (p *ProjectV2StatusUpdate) GetID() int64 { + if p == nil || p.ID == nil { + return 0 + } + return *p.ID +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (p *ProjectV2StatusUpdate) GetNodeID() string { + if p == nil || p.NodeID == nil { + return "" + } + return *p.NodeID +} + +// GetProjectNodeID returns the ProjectNodeID field if it's non-nil, zero value otherwise. +func (p *ProjectV2StatusUpdate) GetProjectNodeID() string { + if p == nil || p.ProjectNodeID == nil { + return "" + } + return *p.ProjectNodeID +} + +// GetStartDate returns the StartDate field if it's non-nil, zero value otherwise. +func (p *ProjectV2StatusUpdate) GetStartDate() string { + if p == nil || p.StartDate == nil { + return "" + } + return *p.StartDate +} + +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (p *ProjectV2StatusUpdate) GetStatus() string { + if p == nil || p.Status == nil { + return "" + } + return *p.Status +} + +// GetTargetDate returns the TargetDate field if it's non-nil, zero value otherwise. +func (p *ProjectV2StatusUpdate) GetTargetDate() string { + if p == nil || p.TargetDate == nil { + return "" + } + return *p.TargetDate +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (p *ProjectV2StatusUpdate) GetUpdatedAt() Timestamp { + if p == nil || p.UpdatedAt == nil { + return Timestamp{} + } + return *p.UpdatedAt +} + +// GetHTML returns the HTML field if it's non-nil, zero value otherwise. +func (p *ProjectV2TextContent) GetHTML() string { + if p == nil || p.HTML == nil { + return "" + } + return *p.HTML +} + +// GetRaw returns the Raw field if it's non-nil, zero value otherwise. +func (p *ProjectV2TextContent) GetRaw() string { + if p == nil || p.Raw == nil { + return "" + } + return *p.Raw +} + +// GetCreatedAt returns the CreatedAt field. +func (p *ProjectV2View) GetCreatedAt() Timestamp { + if p == nil { + return Timestamp{} + } + return p.CreatedAt +} + +// GetCreator returns the Creator field. +func (p *ProjectV2View) GetCreator() User { + if p == nil { + return User{} + } + return p.Creator +} + +// GetFilter returns the Filter field if it's non-nil, zero value otherwise. +func (p *ProjectV2View) GetFilter() string { + if p == nil || p.Filter == nil { + return "" + } + return *p.Filter +} + +// GetGroupBy returns the GroupBy slice if it's non-nil, nil otherwise. +func (p *ProjectV2View) GetGroupBy() []int64 { + if p == nil || p.GroupBy == nil { + return nil + } + return p.GroupBy +} + +// GetHTMLURL returns the HTMLURL field. +func (p *ProjectV2View) GetHTMLURL() string { + if p == nil { + return "" + } + return p.HTMLURL +} + +// GetID returns the ID field. +func (p *ProjectV2View) GetID() int64 { + if p == nil { + return 0 + } + return p.ID +} + +// GetLayout returns the Layout field. +func (p *ProjectV2View) GetLayout() string { + if p == nil { + return "" + } + return p.Layout +} + +// GetName returns the Name field. +func (p *ProjectV2View) GetName() string { + if p == nil { + return "" + } + return p.Name +} + +// GetNodeID returns the NodeID field. +func (p *ProjectV2View) GetNodeID() string { + if p == nil { + return "" + } + return p.NodeID +} + +// GetNumber returns the Number field. +func (p *ProjectV2View) GetNumber() int { + if p == nil { + return 0 + } + return p.Number +} + +// GetProjectURL returns the ProjectURL field. +func (p *ProjectV2View) GetProjectURL() string { + if p == nil { + return "" + } + return p.ProjectURL +} + +// GetSortBy returns the SortBy slice if it's non-nil, nil otherwise. +func (p *ProjectV2View) GetSortBy() []*ProjectV2ViewSortBy { + if p == nil || p.SortBy == nil { + return nil + } + return p.SortBy +} + +// GetUpdatedAt returns the UpdatedAt field. +func (p *ProjectV2View) GetUpdatedAt() Timestamp { + if p == nil { + return Timestamp{} + } + return p.UpdatedAt +} + +// GetVerticalGroupBy returns the VerticalGroupBy slice if it's non-nil, nil otherwise. +func (p *ProjectV2View) GetVerticalGroupBy() []int64 { + if p == nil || p.VerticalGroupBy == nil { + return nil + } + return p.VerticalGroupBy +} + +// GetVisibleFields returns the VisibleFields slice if it's non-nil, nil otherwise. +func (p *ProjectV2View) GetVisibleFields() []int64 { + if p == nil || p.VisibleFields == nil { + return nil + } + return p.VisibleFields +} + +// GetDirection returns the Direction field if it's non-nil, zero value otherwise. +func (p *ProjectV2ViewSortBy) GetDirection() string { + if p == nil || p.Direction == nil { + return "" + } + return *p.Direction +} + +// GetFieldID returns the FieldID field if it's non-nil, zero value otherwise. +func (p *ProjectV2ViewSortBy) GetFieldID() int64 { + if p == nil || p.FieldID == nil { + return 0 + } + return *p.FieldID +} + +// GetAllowDeletions returns the AllowDeletions field. +func (p *Protection) GetAllowDeletions() *AllowDeletions { + if p == nil { + return nil + } + return p.AllowDeletions +} + +// GetAllowForcePushes returns the AllowForcePushes field. +func (p *Protection) GetAllowForcePushes() *AllowForcePushes { + if p == nil { + return nil + } + return p.AllowForcePushes +} + +// GetAllowForkSyncing returns the AllowForkSyncing field. +func (p *Protection) GetAllowForkSyncing() *AllowForkSyncing { + if p == nil { + return nil + } + return p.AllowForkSyncing +} + +// GetBlockCreations returns the BlockCreations field. +func (p *Protection) GetBlockCreations() *BlockCreations { + if p == nil { + return nil + } + return p.BlockCreations +} + +// GetEnforceAdmins returns the EnforceAdmins field. +func (p *Protection) GetEnforceAdmins() *AdminEnforcement { + if p == nil { + return nil + } + return p.EnforceAdmins +} + +// GetLockBranch returns the LockBranch field. +func (p *Protection) GetLockBranch() *LockBranch { + if p == nil { + return nil + } + return p.LockBranch +} + +// GetRequiredConversationResolution returns the RequiredConversationResolution field. +func (p *Protection) GetRequiredConversationResolution() *RequiredConversationResolution { + if p == nil { + return nil + } + return p.RequiredConversationResolution +} + +// GetRequiredPullRequestReviews returns the RequiredPullRequestReviews field. +func (p *Protection) GetRequiredPullRequestReviews() *PullRequestReviewsEnforcement { + if p == nil { + return nil + } + return p.RequiredPullRequestReviews +} + +// GetRequiredSignatures returns the RequiredSignatures field. +func (p *Protection) GetRequiredSignatures() *SignaturesProtectedBranch { + if p == nil { + return nil + } + return p.RequiredSignatures +} + +// GetRequiredStatusChecks returns the RequiredStatusChecks field. +func (p *Protection) GetRequiredStatusChecks() *RequiredStatusChecks { + if p == nil { + return nil + } + return p.RequiredStatusChecks +} + +// GetRequireLinearHistory returns the RequireLinearHistory field. +func (p *Protection) GetRequireLinearHistory() *RequireLinearHistory { + if p == nil { + return nil + } + return p.RequireLinearHistory +} + +// GetRestrictions returns the Restrictions field. +func (p *Protection) GetRestrictions() *BranchRestrictions { + if p == nil { + return nil + } + return p.Restrictions +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (p *Protection) GetURL() string { + if p == nil || p.URL == nil { + return "" + } + return *p.URL +} + +// GetAdminEnforced returns the AdminEnforced field. +func (p *ProtectionChanges) GetAdminEnforced() *AdminEnforcedChanges { + if p == nil { + return nil + } + return p.AdminEnforced +} + +// GetAllowDeletionsEnforcementLevel returns the AllowDeletionsEnforcementLevel field. +func (p *ProtectionChanges) GetAllowDeletionsEnforcementLevel() *AllowDeletionsEnforcementLevelChanges { + if p == nil { + return nil + } + return p.AllowDeletionsEnforcementLevel +} + +// GetAuthorizedActorNames returns the AuthorizedActorNames field. +func (p *ProtectionChanges) GetAuthorizedActorNames() *AuthorizedActorNames { + if p == nil { + return nil + } + return p.AuthorizedActorNames +} + +// GetAuthorizedActorsOnly returns the AuthorizedActorsOnly field. +func (p *ProtectionChanges) GetAuthorizedActorsOnly() *AuthorizedActorsOnly { + if p == nil { + return nil + } + return p.AuthorizedActorsOnly +} + +// GetAuthorizedDismissalActorsOnly returns the AuthorizedDismissalActorsOnly field. +func (p *ProtectionChanges) GetAuthorizedDismissalActorsOnly() *AuthorizedDismissalActorsOnlyChanges { + if p == nil { + return nil + } + return p.AuthorizedDismissalActorsOnly +} + +// GetCreateProtected returns the CreateProtected field. +func (p *ProtectionChanges) GetCreateProtected() *CreateProtectedChanges { + if p == nil { + return nil + } + return p.CreateProtected +} + +// GetDismissStaleReviewsOnPush returns the DismissStaleReviewsOnPush field. +func (p *ProtectionChanges) GetDismissStaleReviewsOnPush() *DismissStaleReviewsOnPushChanges { + if p == nil { + return nil + } + return p.DismissStaleReviewsOnPush +} + +// GetLinearHistoryRequirementEnforcementLevel returns the LinearHistoryRequirementEnforcementLevel field. +func (p *ProtectionChanges) GetLinearHistoryRequirementEnforcementLevel() *LinearHistoryRequirementEnforcementLevelChanges { + if p == nil { + return nil + } + return p.LinearHistoryRequirementEnforcementLevel +} + +// GetPullRequestReviewsEnforcementLevel returns the PullRequestReviewsEnforcementLevel field. +func (p *ProtectionChanges) GetPullRequestReviewsEnforcementLevel() *PullRequestReviewsEnforcementLevelChanges { + if p == nil { + return nil + } + return p.PullRequestReviewsEnforcementLevel +} + +// GetRequireCodeOwnerReview returns the RequireCodeOwnerReview field. +func (p *ProtectionChanges) GetRequireCodeOwnerReview() *RequireCodeOwnerReviewChanges { + if p == nil { + return nil + } + return p.RequireCodeOwnerReview +} + +// GetRequiredConversationResolutionLevel returns the RequiredConversationResolutionLevel field. +func (p *ProtectionChanges) GetRequiredConversationResolutionLevel() *RequiredConversationResolutionLevelChanges { + if p == nil { + return nil + } + return p.RequiredConversationResolutionLevel +} + +// GetRequiredDeploymentsEnforcementLevel returns the RequiredDeploymentsEnforcementLevel field. +func (p *ProtectionChanges) GetRequiredDeploymentsEnforcementLevel() *RequiredDeploymentsEnforcementLevelChanges { + if p == nil { + return nil + } + return p.RequiredDeploymentsEnforcementLevel +} + +// GetRequiredStatusChecks returns the RequiredStatusChecks field. +func (p *ProtectionChanges) GetRequiredStatusChecks() *RequiredStatusChecksChanges { + if p == nil { + return nil + } + return p.RequiredStatusChecks +} + +// GetRequiredStatusChecksEnforcementLevel returns the RequiredStatusChecksEnforcementLevel field. +func (p *ProtectionChanges) GetRequiredStatusChecksEnforcementLevel() *RequiredStatusChecksEnforcementLevelChanges { + if p == nil { + return nil + } + return p.RequiredStatusChecksEnforcementLevel +} + +// GetRequireLastPushApproval returns the RequireLastPushApproval field. +func (p *ProtectionChanges) GetRequireLastPushApproval() *RequireLastPushApprovalChanges { + if p == nil { + return nil + } + return p.RequireLastPushApproval +} + +// GetSignatureRequirementEnforcementLevel returns the SignatureRequirementEnforcementLevel field. +func (p *ProtectionChanges) GetSignatureRequirementEnforcementLevel() *SignatureRequirementEnforcementLevelChanges { + if p == nil { + return nil + } + return p.SignatureRequirementEnforcementLevel +} + +// GetAllowDeletions returns the AllowDeletions field if it's non-nil, zero value otherwise. +func (p *ProtectionRequest) GetAllowDeletions() bool { + if p == nil || p.AllowDeletions == nil { + return false + } + return *p.AllowDeletions +} + +// GetAllowForcePushes returns the AllowForcePushes field if it's non-nil, zero value otherwise. +func (p *ProtectionRequest) GetAllowForcePushes() bool { + if p == nil || p.AllowForcePushes == nil { + return false + } + return *p.AllowForcePushes +} + +// GetAllowForkSyncing returns the AllowForkSyncing field if it's non-nil, zero value otherwise. +func (p *ProtectionRequest) GetAllowForkSyncing() bool { + if p == nil || p.AllowForkSyncing == nil { + return false + } + return *p.AllowForkSyncing +} + +// GetBlockCreations returns the BlockCreations field if it's non-nil, zero value otherwise. +func (p *ProtectionRequest) GetBlockCreations() bool { + if p == nil || p.BlockCreations == nil { + return false + } + 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 { + return false + } + return *p.LockBranch +} + +// GetRequiredConversationResolution returns the RequiredConversationResolution field if it's non-nil, zero value otherwise. +func (p *ProtectionRequest) GetRequiredConversationResolution() bool { + if p == nil || p.RequiredConversationResolution == nil { + return false + } + return *p.RequiredConversationResolution +} + +// GetRequiredPullRequestReviews returns the RequiredPullRequestReviews field. +func (p *ProtectionRequest) GetRequiredPullRequestReviews() *PullRequestReviewsEnforcementRequest { + if p == nil { + return nil + } + return p.RequiredPullRequestReviews +} + +// GetRequiredStatusChecks returns the RequiredStatusChecks field. +func (p *ProtectionRequest) GetRequiredStatusChecks() *RequiredStatusChecks { + if p == nil { + return nil + } + return p.RequiredStatusChecks +} + +// GetRequireLinearHistory returns the RequireLinearHistory field if it's non-nil, zero value otherwise. +func (p *ProtectionRequest) GetRequireLinearHistory() bool { + if p == nil || p.RequireLinearHistory == nil { + return false + } + return *p.RequireLinearHistory +} + +// GetRestrictions returns the Restrictions field. +func (p *ProtectionRequest) GetRestrictions() *BranchRestrictionsRequest { + if p == nil { + return nil + } + return p.Restrictions +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (p *ProtectionRule) GetID() int64 { + if p == nil || p.ID == nil { + return 0 + } + return *p.ID +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (p *ProtectionRule) GetNodeID() string { + if p == nil || p.NodeID == nil { + return "" + } + return *p.NodeID +} + +// GetPreventSelfReview returns the PreventSelfReview field if it's non-nil, zero value otherwise. +func (p *ProtectionRule) GetPreventSelfReview() bool { + if p == nil || p.PreventSelfReview == nil { + return false + } + 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 { + return "" + } + return *p.Type +} + +// GetWaitTimer returns the WaitTimer field if it's non-nil, zero value otherwise. +func (p *ProtectionRule) GetWaitTimer() int { + if p == nil || p.WaitTimer == nil { + return 0 + } + return *p.WaitTimer +} + +// GetInstallation returns the Installation field. +func (p *PublicEvent) GetInstallation() *Installation { + if p == nil { + return nil + } + return p.Installation +} + +// GetOrg returns the Org field. +func (p *PublicEvent) GetOrg() *Organization { + if p == nil { + return nil + } + return p.Org +} + +// GetRepo returns the Repo field. +func (p *PublicEvent) GetRepo() *Repository { + if p == nil { + return nil + } + return p.Repo +} + +// GetSender returns the Sender field. +func (p *PublicEvent) GetSender() *User { + if p == nil { + return nil + } + 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 { + return "" + } + return *p.Key +} + +// GetKeyID returns the KeyID field if it's non-nil, zero value otherwise. +func (p *PublicKey) GetKeyID() string { + if p == nil || p.KeyID == nil { + return "" + } + return *p.KeyID +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (p *PublishCodespaceOptions) GetName() string { + if p == nil || p.Name == nil { + return "" + } + return *p.Name +} + +// GetPrivate returns the Private field if it's non-nil, zero value otherwise. +func (p *PublishCodespaceOptions) GetPrivate() bool { + if p == nil || p.Private == nil { + return false + } + return *p.Private +} + +// GetActiveLockReason returns the ActiveLockReason field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetActiveLockReason() string { + if p == nil || p.ActiveLockReason == nil { + return "" + } + return *p.ActiveLockReason +} + +// GetAdditions returns the Additions field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetAdditions() int { + if p == nil || p.Additions == nil { + return 0 + } + return *p.Additions +} + +// GetAssignee returns the Assignee field. +func (p *PullRequest) GetAssignee() *User { + if p == nil { + return nil + } + 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 { + return "" + } + return *p.AuthorAssociation +} + +// GetAutoMerge returns the AutoMerge field. +func (p *PullRequest) GetAutoMerge() *PullRequestAutoMerge { + if p == nil { + return nil + } + return p.AutoMerge +} + +// GetBase returns the Base field. +func (p *PullRequest) GetBase() *PullRequestBranch { + if p == nil { + return nil + } + return p.Base +} + +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetBody() string { + if p == nil || p.Body == nil { + return "" + } + return *p.Body +} + +// GetChangedFiles returns the ChangedFiles field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetChangedFiles() int { + if p == nil || p.ChangedFiles == nil { + return 0 + } + return *p.ChangedFiles +} + +// GetClosedAt returns the ClosedAt field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetClosedAt() Timestamp { + if p == nil || p.ClosedAt == nil { + return Timestamp{} + } + return *p.ClosedAt +} + +// GetComments returns the Comments field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetComments() int { + if p == nil || p.Comments == nil { + return 0 + } + return *p.Comments +} + +// GetCommentsURL returns the CommentsURL field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetCommentsURL() string { + if p == nil || p.CommentsURL == nil { + return "" + } + return *p.CommentsURL +} + +// GetCommits returns the Commits field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetCommits() int { + if p == nil || p.Commits == nil { + return 0 + } + return *p.Commits +} + +// GetCommitsURL returns the CommitsURL field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetCommitsURL() string { + if p == nil || p.CommitsURL == nil { + return "" + } + return *p.CommitsURL +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetCreatedAt() Timestamp { + if p == nil || p.CreatedAt == nil { + return Timestamp{} + } + return *p.CreatedAt +} + +// GetDeletions returns the Deletions field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetDeletions() int { + if p == nil || p.Deletions == nil { + return 0 + } + return *p.Deletions +} + +// GetDiffURL returns the DiffURL field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetDiffURL() string { + if p == nil || p.DiffURL == nil { + return "" + } + return *p.DiffURL +} + +// GetDraft returns the Draft field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetDraft() bool { + if p == nil || p.Draft == nil { + return false + } + return *p.Draft +} + +// GetHead returns the Head field. +func (p *PullRequest) GetHead() *PullRequestBranch { + if p == nil { + return nil + } + return p.Head +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetHTMLURL() string { + if p == nil || p.HTMLURL == nil { + return "" + } + return *p.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetID() int64 { + if p == nil || p.ID == nil { + return 0 + } + return *p.ID +} + +// GetIssueURL returns the IssueURL field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetIssueURL() string { + if p == nil || p.IssueURL == nil { + return "" + } + 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 { + return nil + } + return p.Links +} + +// GetLocked returns the Locked field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetLocked() bool { + if p == nil || p.Locked == nil { + return false + } + return *p.Locked +} + +// GetMaintainerCanModify returns the MaintainerCanModify field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetMaintainerCanModify() bool { + if p == nil || p.MaintainerCanModify == nil { + return false + } + return *p.MaintainerCanModify +} + +// GetMergeable returns the Mergeable field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetMergeable() bool { + if p == nil || p.Mergeable == nil { + return false + } + return *p.Mergeable +} + +// GetMergeableState returns the MergeableState field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetMergeableState() string { + if p == nil || p.MergeableState == nil { + return "" + } + return *p.MergeableState +} + +// GetMergeCommitSHA returns the MergeCommitSHA field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetMergeCommitSHA() string { + if p == nil || p.MergeCommitSHA == nil { + return "" + } + return *p.MergeCommitSHA +} + +// GetMerged returns the Merged field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetMerged() bool { + if p == nil || p.Merged == nil { + return false + } + return *p.Merged +} + +// GetMergedAt returns the MergedAt field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetMergedAt() Timestamp { + if p == nil || p.MergedAt == nil { + return Timestamp{} + } + return *p.MergedAt +} + +// GetMergedBy returns the MergedBy field. +func (p *PullRequest) GetMergedBy() *User { + if p == nil { + return nil + } + return p.MergedBy +} + +// GetMilestone returns the Milestone field. +func (p *PullRequest) GetMilestone() *Milestone { + if p == nil { + return nil + } + return p.Milestone +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetNodeID() string { + if p == nil || p.NodeID == nil { + return "" + } + return *p.NodeID +} + +// GetNumber returns the Number field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetNumber() int { + if p == nil || p.Number == nil { + return 0 + } + return *p.Number +} + +// GetPatchURL returns the PatchURL field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetPatchURL() string { + if p == nil || p.PatchURL == nil { + return "" + } + return *p.PatchURL +} + +// GetRebaseable returns the Rebaseable field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetRebaseable() bool { + if p == nil || p.Rebaseable == nil { + return false + } + return *p.Rebaseable +} + +// 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 { + return 0 + } + return *p.ReviewComments +} + +// GetReviewCommentsURL returns the ReviewCommentsURL field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetReviewCommentsURL() string { + if p == nil || p.ReviewCommentsURL == nil { + return "" + } + return *p.ReviewCommentsURL +} + +// GetReviewCommentURL returns the ReviewCommentURL field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetReviewCommentURL() string { + if p == nil || p.ReviewCommentURL == nil { + return "" + } + return *p.ReviewCommentURL +} + +// GetStack returns the Stack field. +func (p *PullRequest) GetStack() *PullRequestStack { + if p == nil { + return nil + } + return p.Stack +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetState() string { + if p == nil || p.State == nil { + return "" + } + return *p.State +} + +// GetStatusesURL returns the StatusesURL field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetStatusesURL() string { + if p == nil || p.StatusesURL == nil { + return "" + } + return *p.StatusesURL +} + +// GetTitle returns the Title field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetTitle() string { + if p == nil || p.Title == nil { + return "" + } + return *p.Title +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetUpdatedAt() Timestamp { + if p == nil || p.UpdatedAt == nil { + return Timestamp{} + } + return *p.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (p *PullRequest) GetURL() string { + if p == nil || p.URL == nil { + return "" + } + return *p.URL +} + +// GetUser returns the User field. +func (p *PullRequest) GetUser() *User { + if p == nil { + return nil + } + return p.User +} + +// GetCommitMessage returns the CommitMessage field if it's non-nil, zero value otherwise. +func (p *PullRequestAutoMerge) GetCommitMessage() string { + if p == nil || p.CommitMessage == nil { + return "" + } + return *p.CommitMessage +} + +// GetCommitTitle returns the CommitTitle field if it's non-nil, zero value otherwise. +func (p *PullRequestAutoMerge) GetCommitTitle() string { + if p == nil || p.CommitTitle == nil { + return "" + } + return *p.CommitTitle +} + +// GetEnabledBy returns the EnabledBy field. +func (p *PullRequestAutoMerge) GetEnabledBy() *User { + if p == nil { + return nil + } + return p.EnabledBy +} + +// GetMergeMethod returns the MergeMethod field if it's non-nil, zero value otherwise. +func (p *PullRequestAutoMerge) GetMergeMethod() string { + if p == nil || p.MergeMethod == nil { + return "" + } + return *p.MergeMethod +} + +// GetLabel returns the Label field if it's non-nil, zero value otherwise. +func (p *PullRequestBranch) GetLabel() string { + if p == nil || p.Label == nil { + return "" + } + return *p.Label +} + +// GetRef returns the Ref field if it's non-nil, zero value otherwise. +func (p *PullRequestBranch) GetRef() string { + if p == nil || p.Ref == nil { + return "" + } + return *p.Ref +} + +// GetRepo returns the Repo field. +func (p *PullRequestBranch) GetRepo() *Repository { + if p == nil { + return nil + } + return p.Repo +} + +// GetSHA returns the SHA field if it's non-nil, zero value otherwise. +func (p *PullRequestBranch) GetSHA() string { + if p == nil || p.SHA == nil { + return "" + } + return *p.SHA +} + +// GetUser returns the User field. +func (p *PullRequestBranch) GetUser() *User { + if p == nil { + return nil + } + 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 { + return "" + } + return *p.ExpectedHeadSHA +} + +// GetMessage returns the Message field if it's non-nil, zero value otherwise. +func (p *PullRequestBranchUpdateResponse) GetMessage() string { + if p == nil || p.Message == nil { + return "" + } + return *p.Message +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (p *PullRequestBranchUpdateResponse) GetURL() string { + if p == nil || p.URL == nil { + return "" + } + return *p.URL +} + +// GetAuthorAssociation returns the AuthorAssociation field if it's non-nil, zero value otherwise. +func (p *PullRequestComment) GetAuthorAssociation() string { + if p == nil || p.AuthorAssociation == nil { + return "" + } + return *p.AuthorAssociation +} + +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (p *PullRequestComment) GetBody() string { + if p == nil || p.Body == nil { + return "" + } + return *p.Body +} + +// GetBodyHTML returns the BodyHTML field if it's non-nil, zero value otherwise. +func (p *PullRequestComment) GetBodyHTML() string { + if p == nil || p.BodyHTML == nil { + return "" + } + return *p.BodyHTML +} + +// GetBodyText returns the BodyText field if it's non-nil, zero value otherwise. +func (p *PullRequestComment) GetBodyText() string { + if p == nil || p.BodyText == nil { + return "" + } + return *p.BodyText +} + +// GetCommitID returns the CommitID field if it's non-nil, zero value otherwise. +func (p *PullRequestComment) GetCommitID() string { + if p == nil || p.CommitID == nil { + return "" + } + return *p.CommitID +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (p *PullRequestComment) GetCreatedAt() Timestamp { + if p == nil || p.CreatedAt == nil { + return Timestamp{} + } + return *p.CreatedAt +} + +// GetDiffHunk returns the DiffHunk field if it's non-nil, zero value otherwise. +func (p *PullRequestComment) GetDiffHunk() string { + if p == nil || p.DiffHunk == nil { + return "" + } + return *p.DiffHunk +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (p *PullRequestComment) GetHTMLURL() string { + if p == nil || p.HTMLURL == nil { + return "" + } + return *p.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (p *PullRequestComment) GetID() int64 { + if p == nil || p.ID == nil { + return 0 + } + return *p.ID +} + +// GetInReplyTo returns the InReplyTo field if it's non-nil, zero value otherwise. +func (p *PullRequestComment) GetInReplyTo() int64 { + if p == nil || p.InReplyTo == nil { + return 0 + } + return *p.InReplyTo +} + +// GetLine returns the Line field if it's non-nil, zero value otherwise. +func (p *PullRequestComment) GetLine() int { + if p == nil || p.Line == nil { + return 0 + } + return *p.Line +} + +// GetLinks returns the Links field. +func (p *PullRequestComment) GetLinks() *PullRequestCommentLinks { + if p == nil { + return nil + } + return p.Links +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (p *PullRequestComment) GetNodeID() string { + if p == nil || p.NodeID == nil { + return "" + } + return *p.NodeID +} + +// GetOriginalCommitID returns the OriginalCommitID field if it's non-nil, zero value otherwise. +func (p *PullRequestComment) GetOriginalCommitID() string { + if p == nil || p.OriginalCommitID == nil { + return "" + } + return *p.OriginalCommitID +} + +// GetOriginalLine returns the OriginalLine field if it's non-nil, zero value otherwise. +func (p *PullRequestComment) GetOriginalLine() int { + if p == nil || p.OriginalLine == nil { + return 0 + } + return *p.OriginalLine +} + +// GetOriginalPosition returns the OriginalPosition field if it's non-nil, zero value otherwise. +func (p *PullRequestComment) GetOriginalPosition() int { + if p == nil || p.OriginalPosition == nil { + return 0 + } + return *p.OriginalPosition +} + +// GetOriginalStartLine returns the OriginalStartLine field if it's non-nil, zero value otherwise. +func (p *PullRequestComment) GetOriginalStartLine() int { + if p == nil || p.OriginalStartLine == nil { + return 0 + } + return *p.OriginalStartLine +} + +// GetPath returns the Path field if it's non-nil, zero value otherwise. +func (p *PullRequestComment) GetPath() string { + if p == nil || p.Path == nil { + return "" + } + return *p.Path +} + +// GetPosition returns the Position field if it's non-nil, zero value otherwise. +func (p *PullRequestComment) GetPosition() int { + if p == nil || p.Position == nil { + return 0 + } + return *p.Position +} + +// GetPullRequestReviewID returns the PullRequestReviewID field if it's non-nil, zero value otherwise. +func (p *PullRequestComment) GetPullRequestReviewID() int64 { + if p == nil || p.PullRequestReviewID == nil { + return 0 + } + return *p.PullRequestReviewID +} + +// GetPullRequestURL returns the PullRequestURL field if it's non-nil, zero value otherwise. +func (p *PullRequestComment) GetPullRequestURL() string { + if p == nil || p.PullRequestURL == nil { + return "" + } + return *p.PullRequestURL +} + +// GetReactions returns the Reactions field. +func (p *PullRequestComment) GetReactions() *Reactions { + if p == nil { + return nil + } + return p.Reactions +} + +// GetSide returns the Side field if it's non-nil, zero value otherwise. +func (p *PullRequestComment) GetSide() string { + if p == nil || p.Side == nil { + return "" + } + return *p.Side +} + +// GetStartLine returns the StartLine field if it's non-nil, zero value otherwise. +func (p *PullRequestComment) GetStartLine() int { + if p == nil || p.StartLine == nil { + return 0 + } + return *p.StartLine +} + +// GetStartSide returns the StartSide field if it's non-nil, zero value otherwise. +func (p *PullRequestComment) GetStartSide() string { + if p == nil || p.StartSide == nil { + return "" + } + return *p.StartSide +} + +// GetSubjectType returns the SubjectType field if it's non-nil, zero value otherwise. +func (p *PullRequestComment) GetSubjectType() string { + if p == nil || p.SubjectType == nil { + return "" + } + return *p.SubjectType +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (p *PullRequestComment) GetUpdatedAt() Timestamp { + if p == nil || p.UpdatedAt == nil { + return Timestamp{} + } + return *p.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (p *PullRequestComment) GetURL() string { + if p == nil || p.URL == nil { + return "" + } + return *p.URL +} + +// GetUser returns the User field. +func (p *PullRequestComment) GetUser() *User { + if p == nil { + return nil + } + return p.User +} + +// GetHTML returns the HTML field. +func (p *PullRequestCommentLinks) GetHTML() *PRLink { + if p == nil { + return nil + } + return p.HTML +} + +// GetPullRequest returns the PullRequest field. +func (p *PullRequestCommentLinks) GetPullRequest() *PRLink { + if p == nil { + return nil + } + return p.PullRequest +} + +// GetSelf returns the Self field. +func (p *PullRequestCommentLinks) GetSelf() *PRLink { + if p == nil { + return nil + } + return p.Self +} + +// GetEvent returns the Event field if it's non-nil, zero value otherwise. +func (p *PullRequestDismissReviewRequest) GetEvent() string { + if p == nil || p.Event == nil { + return "" + } + return *p.Event +} + +// GetMessage returns the Message field. +func (p *PullRequestDismissReviewRequest) GetMessage() string { + if p == nil { + return "" + } + return p.Message +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (p *PullRequestEvent) GetAction() string { + if p == nil || p.Action == nil { + return "" + } + return *p.Action +} + +// GetAfter returns the After field if it's non-nil, zero value otherwise. +func (p *PullRequestEvent) GetAfter() string { + if p == nil || p.After == nil { + return "" + } + return *p.After +} + +// GetAssignee returns the Assignee field. +func (p *PullRequestEvent) GetAssignee() *User { + if p == nil { + return nil + } + return p.Assignee +} + +// GetBefore returns the Before field if it's non-nil, zero value otherwise. +func (p *PullRequestEvent) GetBefore() string { + if p == nil || p.Before == nil { + return "" + } + return *p.Before +} + +// GetChanges returns the Changes field. +func (p *PullRequestEvent) GetChanges() *EditChange { + if p == nil { + return nil + } + return p.Changes +} + +// GetInstallation returns the Installation field. +func (p *PullRequestEvent) GetInstallation() *Installation { + if p == nil { + return nil + } + return p.Installation +} + +// GetLabel returns the Label field. +func (p *PullRequestEvent) GetLabel() *Label { + if p == nil { + return nil + } + return p.Label +} + +// GetNumber returns the Number field if it's non-nil, zero value otherwise. +func (p *PullRequestEvent) GetNumber() int { + if p == nil || p.Number == nil { + return 0 + } + return *p.Number +} + +// GetOrganization returns the Organization field. +func (p *PullRequestEvent) GetOrganization() *Organization { + if p == nil { + return nil + } + return p.Organization +} + +// GetPerformedViaGithubApp returns the PerformedViaGithubApp field. +func (p *PullRequestEvent) GetPerformedViaGithubApp() *App { + if p == nil { + return nil + } + return p.PerformedViaGithubApp +} + +// GetPullRequest returns the PullRequest field. +func (p *PullRequestEvent) GetPullRequest() *PullRequest { + if p == nil { + return nil + } + return p.PullRequest +} + +// GetReason returns the Reason field if it's non-nil, zero value otherwise. +func (p *PullRequestEvent) GetReason() string { + if p == nil || p.Reason == nil { + return "" + } + return *p.Reason +} + +// GetRepo returns the Repo field. +func (p *PullRequestEvent) GetRepo() *Repository { + if p == nil { + return nil + } + return p.Repo +} + +// GetRequestedReviewer returns the RequestedReviewer field. +func (p *PullRequestEvent) GetRequestedReviewer() *User { + if p == nil { + return nil + } + return p.RequestedReviewer +} + +// GetRequestedTeam returns the RequestedTeam field. +func (p *PullRequestEvent) GetRequestedTeam() *Team { + if p == nil { + return nil + } + return p.RequestedTeam +} + +// GetSender returns the Sender field. +func (p *PullRequestEvent) GetSender() *User { + if p == nil { + return nil + } + return p.Sender +} + +// GetDiffURL returns the DiffURL field if it's non-nil, zero value otherwise. +func (p *PullRequestLinks) GetDiffURL() string { + if p == nil || p.DiffURL == nil { + return "" + } + return *p.DiffURL +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (p *PullRequestLinks) GetHTMLURL() string { + if p == nil || p.HTMLURL == nil { + return "" + } + return *p.HTMLURL +} + +// GetMergedAt returns the MergedAt field if it's non-nil, zero value otherwise. +func (p *PullRequestLinks) GetMergedAt() Timestamp { + if p == nil || p.MergedAt == nil { + return Timestamp{} + } + return *p.MergedAt +} + +// GetPatchURL returns the PatchURL field if it's non-nil, zero value otherwise. +func (p *PullRequestLinks) GetPatchURL() string { + if p == nil || p.PatchURL == nil { + return "" + } + return *p.PatchURL +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (p *PullRequestLinks) GetURL() string { + if p == nil || p.URL == nil { + return "" + } + 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 +} + +// GetExpectedHeadSHA returns the ExpectedHeadSHA field if it's non-nil, zero value otherwise. +func (p *PullRequestMergeAsyncDetails) GetExpectedHeadSHA() string { + if p == nil || p.ExpectedHeadSHA == nil { + return "" + } + return *p.ExpectedHeadSHA +} + +// GetMergeAction returns the MergeAction field if it's non-nil, zero value otherwise. +func (p *PullRequestMergeAsyncDetails) GetMergeAction() string { + if p == nil || p.MergeAction == nil { + return "" + } + return *p.MergeAction +} + +// GetMergeMethod returns the MergeMethod field if it's non-nil, zero value otherwise. +func (p *PullRequestMergeAsyncDetails) GetMergeMethod() string { + if p == nil || p.MergeMethod == nil { + return "" + } + return *p.MergeMethod +} + +// GetMessage returns the Message field if it's non-nil, zero value otherwise. +func (p *PullRequestMergeAsyncDetails) GetMessage() string { + if p == nil || p.Message == nil { + return "" + } + return *p.Message +} + +// GetSHA returns the SHA field if it's non-nil, zero value otherwise. +func (p *PullRequestMergeAsyncDetails) GetSHA() string { + if p == nil || p.SHA == nil { + return "" + } + return *p.SHA +} + +// GetUUID returns the UUID field if it's non-nil, zero value otherwise. +func (p *PullRequestMergeAsyncDetails) GetUUID() string { + if p == nil || p.UUID == nil { + return "" + } + return *p.UUID +} + +// GetCommitMessage returns the CommitMessage field if it's non-nil, zero value otherwise. +func (p *PullRequestMergeAsyncRequest) GetCommitMessage() string { + if p == nil || p.CommitMessage == nil { + return "" + } + return *p.CommitMessage +} + +// GetCommitTitle returns the CommitTitle field if it's non-nil, zero value otherwise. +func (p *PullRequestMergeAsyncRequest) GetCommitTitle() string { + if p == nil || p.CommitTitle == nil { + return "" + } + return *p.CommitTitle +} + +// GetMergeAction returns the MergeAction field if it's non-nil, zero value otherwise. +func (p *PullRequestMergeAsyncRequest) GetMergeAction() string { + if p == nil || p.MergeAction == nil { + return "" + } + return *p.MergeAction +} + +// GetMergeMethod returns the MergeMethod field if it's non-nil, zero value otherwise. +func (p *PullRequestMergeAsyncRequest) GetMergeMethod() string { + if p == nil || p.MergeMethod == nil { + return "" + } + return *p.MergeMethod +} + +// GetSHA returns the SHA field if it's non-nil, zero value otherwise. +func (p *PullRequestMergeAsyncRequest) GetSHA() string { + if p == nil || p.SHA == nil { + return "" + } + return *p.SHA +} + +// GetDetails returns the Details field. +func (p *PullRequestMergeAsyncResult) GetDetails() *PullRequestMergeAsyncDetails { + if p == nil { + return nil + } + return p.Details +} + +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (p *PullRequestMergeAsyncResult) GetStatus() string { + if p == nil || p.Status == nil { + return "" + } + return *p.Status +} + +// GetMerged returns the Merged field if it's non-nil, zero value otherwise. +func (p *PullRequestMergeResult) GetMerged() bool { + if p == nil || p.Merged == nil { + return false + } + return *p.Merged +} + +// GetMessage returns the Message field if it's non-nil, zero value otherwise. +func (p *PullRequestMergeResult) GetMessage() string { + if p == nil || p.Message == nil { + return "" + } + return *p.Message +} + +// GetSHA returns the SHA field if it's non-nil, zero value otherwise. +func (p *PullRequestMergeResult) GetSHA() string { + if p == nil || p.SHA == nil { + return "" + } + 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 { + return "" + } + return *p.AuthorAssociation +} + +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (p *PullRequestReview) GetBody() string { + if p == nil || p.Body == nil { + return "" + } + return *p.Body +} + +// GetCommitID returns the CommitID field if it's non-nil, zero value otherwise. +func (p *PullRequestReview) GetCommitID() string { + if p == nil || p.CommitID == nil { + return "" + } + return *p.CommitID +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (p *PullRequestReview) GetHTMLURL() string { + if p == nil || p.HTMLURL == nil { + return "" + } + return *p.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (p *PullRequestReview) GetID() int64 { + if p == nil || p.ID == nil { + return 0 + } + return *p.ID +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (p *PullRequestReview) GetNodeID() string { + if p == nil || p.NodeID == nil { + return "" + } + return *p.NodeID +} + +// GetPullRequestURL returns the PullRequestURL field if it's non-nil, zero value otherwise. +func (p *PullRequestReview) GetPullRequestURL() string { + if p == nil || p.PullRequestURL == nil { + return "" + } + return *p.PullRequestURL +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (p *PullRequestReview) GetState() string { + if p == nil || p.State == nil { + return "" + } + return *p.State +} + +// GetSubmittedAt returns the SubmittedAt field if it's non-nil, zero value otherwise. +func (p *PullRequestReview) GetSubmittedAt() Timestamp { + if p == nil || p.SubmittedAt == nil { + return Timestamp{} + } + return *p.SubmittedAt +} + +// GetUser returns the User field. +func (p *PullRequestReview) GetUser() *User { + if p == nil { + return nil + } + return p.User +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (p *PullRequestReviewCommentEvent) GetAction() string { + if p == nil || p.Action == nil { + return "" + } + return *p.Action +} + +// GetChanges returns the Changes field. +func (p *PullRequestReviewCommentEvent) GetChanges() *EditChange { + if p == nil { + return nil + } + return p.Changes +} + +// GetComment returns the Comment field. +func (p *PullRequestReviewCommentEvent) GetComment() *PullRequestComment { + if p == nil { + return nil + } + return p.Comment +} + +// GetInstallation returns the Installation field. +func (p *PullRequestReviewCommentEvent) GetInstallation() *Installation { + if p == nil { + return nil + } + return p.Installation +} + +// GetOrg returns the Org field. +func (p *PullRequestReviewCommentEvent) GetOrg() *Organization { + if p == nil { + return nil + } + return p.Org +} + +// GetPullRequest returns the PullRequest field. +func (p *PullRequestReviewCommentEvent) GetPullRequest() *PullRequest { + if p == nil { + return nil + } + return p.PullRequest +} + +// GetRepo returns the Repo field. +func (p *PullRequestReviewCommentEvent) GetRepo() *Repository { + if p == nil { + return nil + } + return p.Repo +} + +// GetSender returns the Sender field. +func (p *PullRequestReviewCommentEvent) GetSender() *User { + if p == nil { + return nil + } + return p.Sender +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (p *PullRequestReviewEvent) GetAction() string { + if p == nil || p.Action == nil { + return "" + } + return *p.Action +} + +// GetInstallation returns the Installation field. +func (p *PullRequestReviewEvent) GetInstallation() *Installation { + if p == nil { + return nil + } + return p.Installation +} + +// GetOrganization returns the Organization field. +func (p *PullRequestReviewEvent) GetOrganization() *Organization { + if p == nil { + return nil + } + return p.Organization +} + +// GetPullRequest returns the PullRequest field. +func (p *PullRequestReviewEvent) GetPullRequest() *PullRequest { + if p == nil { + return nil + } + return p.PullRequest +} + +// GetRepo returns the Repo field. +func (p *PullRequestReviewEvent) GetRepo() *Repository { + if p == nil { + return nil + } + return p.Repo +} + +// GetReview returns the Review field. +func (p *PullRequestReviewEvent) GetReview() *PullRequestReview { + if p == nil { + return nil + } + return p.Review +} + +// GetSender returns the Sender field. +func (p *PullRequestReviewEvent) GetSender() *User { + if p == nil { + return nil + } + return p.Sender +} + +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (p *PullRequestReviewRequest) GetBody() string { + if p == nil || p.Body == nil { + return "" + } + 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 { + return "" + } + return *p.CommitID +} + +// GetEvent returns the Event field if it's non-nil, zero value otherwise. +func (p *PullRequestReviewRequest) GetEvent() string { + if p == nil || p.Event == nil { + return "" + } + return *p.Event +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (p *PullRequestReviewRequest) GetNodeID() string { + if p == nil || p.NodeID == nil { + return "" + } + return *p.NodeID +} + +// GetBypassPullRequestAllowances returns the BypassPullRequestAllowances field. +func (p *PullRequestReviewsEnforcement) GetBypassPullRequestAllowances() *BypassPullRequestAllowances { + if p == nil { + return nil + } + return p.BypassPullRequestAllowances +} + +// GetDismissalRestrictions returns the DismissalRestrictions field. +func (p *PullRequestReviewsEnforcement) GetDismissalRestrictions() *DismissalRestrictions { + if p == nil { + return nil + } + 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 { + return "" + } + return *p.From +} + +// GetBypassPullRequestAllowancesRequest returns the BypassPullRequestAllowancesRequest field. +func (p *PullRequestReviewsEnforcementRequest) GetBypassPullRequestAllowancesRequest() *BypassPullRequestAllowancesRequest { + if p == nil { + return nil + } + return p.BypassPullRequestAllowancesRequest +} + +// GetDismissalRestrictionsRequest returns the DismissalRestrictionsRequest field. +func (p *PullRequestReviewsEnforcementRequest) GetDismissalRestrictionsRequest() *DismissalRestrictionsRequest { + if p == nil { + return nil + } + 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 { + return false + } + return *p.RequireLastPushApproval +} + +// GetBypassPullRequestAllowancesRequest returns the BypassPullRequestAllowancesRequest field. +func (p *PullRequestReviewsEnforcementUpdate) GetBypassPullRequestAllowancesRequest() *BypassPullRequestAllowancesRequest { + if p == nil { + return nil + } + return p.BypassPullRequestAllowancesRequest +} + +// GetDismissalRestrictionsRequest returns the DismissalRestrictionsRequest field. +func (p *PullRequestReviewsEnforcementUpdate) GetDismissalRestrictionsRequest() *DismissalRestrictionsRequest { + if p == nil { + return nil + } + return p.DismissalRestrictionsRequest +} + +// GetDismissStaleReviews returns the DismissStaleReviews field if it's non-nil, zero value otherwise. +func (p *PullRequestReviewsEnforcementUpdate) GetDismissStaleReviews() bool { + if p == nil || p.DismissStaleReviews == nil { + return false + } + return *p.DismissStaleReviews +} + +// GetRequireCodeOwnerReviews returns the RequireCodeOwnerReviews field if it's non-nil, zero value otherwise. +func (p *PullRequestReviewsEnforcementUpdate) GetRequireCodeOwnerReviews() bool { + if p == nil || p.RequireCodeOwnerReviews == nil { + return false + } + 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 { + return false + } + return *p.RequireLastPushApproval +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (p *PullRequestReviewThreadEvent) GetAction() string { + if p == nil || p.Action == nil { + return "" + } + return *p.Action +} + +// GetInstallation returns the Installation field. +func (p *PullRequestReviewThreadEvent) GetInstallation() *Installation { + if p == nil { + return nil + } + return p.Installation +} + +// GetOrg returns the Org field. +func (p *PullRequestReviewThreadEvent) GetOrg() *Organization { + if p == nil { + return nil + } + return p.Org +} + +// GetPullRequest returns the PullRequest field. +func (p *PullRequestReviewThreadEvent) GetPullRequest() *PullRequest { + if p == nil { + return nil + } + return p.PullRequest +} + +// GetRepo returns the Repo field. +func (p *PullRequestReviewThreadEvent) GetRepo() *Repository { + if p == nil { + return nil + } + return p.Repo +} + +// GetSender returns the Sender field. +func (p *PullRequestReviewThreadEvent) GetSender() *User { + if p == nil { + return nil + } + return p.Sender +} + +// GetThread returns the Thread field. +func (p *PullRequestReviewThreadEvent) GetThread() *PullRequestThread { + if p == nil { + return nil + } + 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 +} + +// GetBase returns the Base field. +func (p *PullRequestStack) GetBase() *PullRequestStackBase { + if p == nil { + return nil + } + return p.Base +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (p *PullRequestStack) GetID() int64 { + if p == nil || p.ID == nil { + return 0 + } + return *p.ID +} + +// GetNumber returns the Number field if it's non-nil, zero value otherwise. +func (p *PullRequestStack) GetNumber() int { + if p == nil || p.Number == nil { + return 0 + } + return *p.Number +} + +// GetPosition returns the Position field if it's non-nil, zero value otherwise. +func (p *PullRequestStack) GetPosition() int { + if p == nil || p.Position == nil { + return 0 + } + return *p.Position +} + +// GetSize returns the Size field if it's non-nil, zero value otherwise. +func (p *PullRequestStack) GetSize() int { + if p == nil || p.Size == nil { + return 0 + } + return *p.Size +} + +// GetRef returns the Ref field. +func (p *PullRequestStackBase) GetRef() string { + if p == nil { + return "" + } + return p.Ref +} + +// GetSHA returns the SHA field. +func (p *PullRequestStackBase) GetSHA() string { + if p == nil { + return "" + } + return p.SHA +} + +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (p *PullRequestSubmitReviewRequest) GetBody() string { + if p == nil || p.Body == nil { + return "" + } + return *p.Body +} + +// GetEvent returns the Event field. +func (p *PullRequestSubmitReviewRequest) GetEvent() string { + if p == nil { + return "" + } + return p.Event +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (p *PullRequestTargetEvent) GetAction() string { + if p == nil || p.Action == nil { + return "" + } + return *p.Action +} + +// GetAfter returns the After field if it's non-nil, zero value otherwise. +func (p *PullRequestTargetEvent) GetAfter() string { + if p == nil || p.After == nil { + return "" + } + return *p.After +} + +// GetAssignee returns the Assignee field. +func (p *PullRequestTargetEvent) GetAssignee() *User { + if p == nil { + return nil + } + return p.Assignee +} + +// GetBefore returns the Before field if it's non-nil, zero value otherwise. +func (p *PullRequestTargetEvent) GetBefore() string { + if p == nil || p.Before == nil { + return "" + } + return *p.Before +} + +// GetChanges returns the Changes field. +func (p *PullRequestTargetEvent) GetChanges() *EditChange { + if p == nil { + return nil + } + return p.Changes +} + +// GetInstallation returns the Installation field. +func (p *PullRequestTargetEvent) GetInstallation() *Installation { + if p == nil { + return nil + } + return p.Installation +} + +// GetLabel returns the Label field. +func (p *PullRequestTargetEvent) GetLabel() *Label { + if p == nil { + return nil + } + return p.Label +} + +// GetNumber returns the Number field if it's non-nil, zero value otherwise. +func (p *PullRequestTargetEvent) GetNumber() int { + if p == nil || p.Number == nil { + return 0 + } + return *p.Number +} + +// GetOrganization returns the Organization field. +func (p *PullRequestTargetEvent) GetOrganization() *Organization { + if p == nil { + return nil + } + return p.Organization +} + +// GetPerformedViaGithubApp returns the PerformedViaGithubApp field. +func (p *PullRequestTargetEvent) GetPerformedViaGithubApp() *App { + if p == nil { + return nil + } + return p.PerformedViaGithubApp +} + +// GetPullRequest returns the PullRequest field. +func (p *PullRequestTargetEvent) GetPullRequest() *PullRequest { + if p == nil { + return nil + } + return p.PullRequest +} + +// GetRepo returns the Repo field. +func (p *PullRequestTargetEvent) GetRepo() *Repository { + if p == nil { + return nil + } + return p.Repo +} + +// GetRequestedReviewer returns the RequestedReviewer field. +func (p *PullRequestTargetEvent) GetRequestedReviewer() *User { + if p == nil { + return nil + } + return p.RequestedReviewer +} + +// GetRequestedTeam returns the RequestedTeam field. +func (p *PullRequestTargetEvent) GetRequestedTeam() *Team { + if p == nil { + return nil + } + return p.RequestedTeam +} + +// GetSender returns the Sender field. +func (p *PullRequestTargetEvent) GetSender() *User { + if p == nil { + return nil + } + 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 { + return 0 + } + return *p.ID +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (p *PullRequestThread) GetNodeID() string { + if p == nil || p.NodeID == nil { + return "" + } + return *p.NodeID +} + +// GetMergeablePulls returns the MergeablePulls field if it's non-nil, zero value otherwise. +func (p *PullStats) GetMergeablePulls() int { + if p == nil || p.MergeablePulls == nil { + return 0 + } + return *p.MergeablePulls +} + +// GetMergedPulls returns the MergedPulls field if it's non-nil, zero value otherwise. +func (p *PullStats) GetMergedPulls() int { + if p == nil || p.MergedPulls == nil { + return 0 + } + return *p.MergedPulls +} + +// GetTotalPulls returns the TotalPulls field if it's non-nil, zero value otherwise. +func (p *PullStats) GetTotalPulls() int { + if p == nil || p.TotalPulls == nil { + return 0 + } + return *p.TotalPulls +} + +// GetUnmergeablePulls returns the UnmergeablePulls field if it's non-nil, zero value otherwise. +func (p *PullStats) GetUnmergeablePulls() int { + if p == nil || p.UnmergeablePulls == nil { + return 0 + } + return *p.UnmergeablePulls +} + +// GetCommits returns the Commits field if it's non-nil, zero value otherwise. +func (p *PunchCard) GetCommits() int { + if p == nil || p.Commits == nil { + return 0 + } + return *p.Commits +} + +// GetDay returns the Day field if it's non-nil, zero value otherwise. +func (p *PunchCard) GetDay() int { + if p == nil || p.Day == nil { + return 0 + } + return *p.Day +} + +// GetHour returns the Hour field if it's non-nil, zero value otherwise. +func (p *PunchCard) GetHour() int { + if p == nil || p.Hour == nil { + return 0 + } + return *p.Hour +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (p *PushEvent) GetAction() string { + if p == nil || p.Action == nil { + return "" + } + return *p.Action +} + +// GetAfter returns the After field if it's non-nil, zero value otherwise. +func (p *PushEvent) GetAfter() string { + if p == nil || p.After == nil { + return "" + } + return *p.After +} + +// GetBaseRef returns the BaseRef field if it's non-nil, zero value otherwise. +func (p *PushEvent) GetBaseRef() string { + if p == nil || p.BaseRef == nil { + return "" + } + return *p.BaseRef +} + +// GetBefore returns the Before field if it's non-nil, zero value otherwise. +func (p *PushEvent) GetBefore() string { + if p == nil || p.Before == nil { + return "" + } + return *p.Before +} + +// GetCommits returns the Commits slice if it's non-nil, nil otherwise. +func (p *PushEvent) GetCommits() []*HeadCommit { + if p == nil || p.Commits == nil { + return nil + } + return p.Commits +} + +// GetCompare returns the Compare field if it's non-nil, zero value otherwise. +func (p *PushEvent) GetCompare() string { + if p == nil || p.Compare == nil { + return "" + } + return *p.Compare +} + +// GetCreated returns the Created field if it's non-nil, zero value otherwise. +func (p *PushEvent) GetCreated() bool { + if p == nil || p.Created == nil { + return false + } + return *p.Created +} + +// GetDeleted returns the Deleted field if it's non-nil, zero value otherwise. +func (p *PushEvent) GetDeleted() bool { + if p == nil || p.Deleted == nil { + return false + } + return *p.Deleted +} + +// GetDistinctSize returns the DistinctSize field if it's non-nil, zero value otherwise. +func (p *PushEvent) GetDistinctSize() int { + if p == nil || p.DistinctSize == nil { + return 0 + } + return *p.DistinctSize +} + +// GetForced returns the Forced field if it's non-nil, zero value otherwise. +func (p *PushEvent) GetForced() bool { + if p == nil || p.Forced == nil { + return false + } + return *p.Forced +} + +// GetHead returns the Head field if it's non-nil, zero value otherwise. +func (p *PushEvent) GetHead() string { + if p == nil || p.Head == nil { + return "" + } + return *p.Head +} + +// GetHeadCommit returns the HeadCommit field. +func (p *PushEvent) GetHeadCommit() *HeadCommit { + if p == nil { + return nil + } + return p.HeadCommit +} + +// GetInstallation returns the Installation field. +func (p *PushEvent) GetInstallation() *Installation { + if p == nil { + return nil + } + return p.Installation +} + +// GetOrganization returns the Organization field. +func (p *PushEvent) GetOrganization() *Organization { + if p == nil { + return nil + } + return p.Organization +} + +// GetPusher returns the Pusher field. +func (p *PushEvent) GetPusher() *CommitAuthor { + if p == nil { + return nil + } + return p.Pusher +} + +// GetPushID returns the PushID field if it's non-nil, zero value otherwise. +func (p *PushEvent) GetPushID() int64 { + if p == nil || p.PushID == nil { + return 0 + } + return *p.PushID +} + +// GetRef returns the Ref field if it's non-nil, zero value otherwise. +func (p *PushEvent) GetRef() string { + if p == nil || p.Ref == nil { + return "" + } + return *p.Ref +} + +// GetRepo returns the Repo field. +func (p *PushEvent) GetRepo() *PushEventRepository { + if p == nil { + return nil + } + return p.Repo +} + +// GetSender returns the Sender field. +func (p *PushEvent) GetSender() *User { + if p == nil { + return nil + } + return p.Sender +} + +// GetSize returns the Size field if it's non-nil, zero value otherwise. +func (p *PushEvent) GetSize() int { + if p == nil || p.Size == nil { + return 0 + } + return *p.Size +} + +// GetEmail returns the Email field if it's non-nil, zero value otherwise. +func (p *PushEventRepoOwner) GetEmail() string { + if p == nil || p.Email == nil { + return "" + } + return *p.Email +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (p *PushEventRepoOwner) GetName() string { + if p == nil || p.Name == nil { + return "" + } + return *p.Name +} + +// GetArchived returns the Archived field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetArchived() bool { + if p == nil || p.Archived == nil { + return false + } + return *p.Archived +} + +// GetArchiveURL returns the ArchiveURL field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetArchiveURL() string { + if p == nil || p.ArchiveURL == nil { + return "" + } + return *p.ArchiveURL +} + +// GetCloneURL returns the CloneURL field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetCloneURL() string { + if p == nil || p.CloneURL == nil { + return "" + } + return *p.CloneURL +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetCreatedAt() Timestamp { + if p == nil || p.CreatedAt == nil { + return Timestamp{} + } + return *p.CreatedAt +} + +// GetCustomProperties returns the CustomProperties map if it's non-nil, an empty map otherwise. +func (p *PushEventRepository) GetCustomProperties() map[string]any { + if p == nil || p.CustomProperties == nil { + return map[string]any{} + } + return p.CustomProperties +} + +// GetDefaultBranch returns the DefaultBranch field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetDefaultBranch() string { + if p == nil || p.DefaultBranch == nil { + return "" + } + return *p.DefaultBranch +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetDescription() string { + if p == nil || p.Description == nil { + return "" + } + return *p.Description +} + +// GetDisabled returns the Disabled field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetDisabled() bool { + if p == nil || p.Disabled == nil { + return false + } + return *p.Disabled +} + +// GetFork returns the Fork field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetFork() bool { + if p == nil || p.Fork == nil { + return false + } + return *p.Fork +} + +// GetForksCount returns the ForksCount field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetForksCount() int { + if p == nil || p.ForksCount == nil { + return 0 + } + return *p.ForksCount +} + +// GetFullName returns the FullName field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetFullName() string { + if p == nil || p.FullName == nil { + return "" + } + return *p.FullName +} + +// GetGitURL returns the GitURL field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetGitURL() string { + if p == nil || p.GitURL == nil { + return "" + } + return *p.GitURL +} + +// GetHasDownloads returns the HasDownloads field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetHasDownloads() bool { + if p == nil || p.HasDownloads == nil { + return false + } + return *p.HasDownloads +} + +// GetHasIssues returns the HasIssues field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetHasIssues() bool { + if p == nil || p.HasIssues == nil { + return false + } + return *p.HasIssues +} + +// GetHasPages returns the HasPages field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetHasPages() bool { + if p == nil || p.HasPages == nil { + return false + } + return *p.HasPages +} + +// GetHasWiki returns the HasWiki field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetHasWiki() bool { + if p == nil || p.HasWiki == nil { + return false + } + return *p.HasWiki +} + +// GetHomepage returns the Homepage field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetHomepage() string { + if p == nil || p.Homepage == nil { + return "" + } + return *p.Homepage +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetHTMLURL() string { + if p == nil || p.HTMLURL == nil { + return "" + } + return *p.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetID() int64 { + if p == nil || p.ID == nil { + return 0 + } + return *p.ID +} + +// GetLanguage returns the Language field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetLanguage() string { + if p == nil || p.Language == nil { + return "" + } + return *p.Language +} + +// GetMasterBranch returns the MasterBranch field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetMasterBranch() string { + if p == nil || p.MasterBranch == nil { + return "" + } + return *p.MasterBranch +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetName() string { + if p == nil || p.Name == nil { + return "" + } + return *p.Name +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetNodeID() string { + if p == nil || p.NodeID == nil { + return "" + } + return *p.NodeID +} + +// GetOpenIssuesCount returns the OpenIssuesCount field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetOpenIssuesCount() int { + if p == nil || p.OpenIssuesCount == nil { + return 0 + } + return *p.OpenIssuesCount +} + +// GetOrganization returns the Organization field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetOrganization() string { + if p == nil || p.Organization == nil { + return "" + } + return *p.Organization +} + +// GetOwner returns the Owner field. +func (p *PushEventRepository) GetOwner() *User { + if p == nil { + return nil + } + return p.Owner +} + +// GetPrivate returns the Private field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetPrivate() bool { + if p == nil || p.Private == nil { + return false + } + return *p.Private +} + +// GetPullsURL returns the PullsURL field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetPullsURL() string { + if p == nil || p.PullsURL == nil { + return "" + } + return *p.PullsURL +} + +// GetPushedAt returns the PushedAt field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetPushedAt() Timestamp { + if p == nil || p.PushedAt == nil { + return Timestamp{} + } + return *p.PushedAt +} + +// GetSize returns the Size field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetSize() int { + if p == nil || p.Size == nil { + return 0 + } + return *p.Size +} + +// GetSSHURL returns the SSHURL field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetSSHURL() string { + if p == nil || p.SSHURL == nil { + return "" + } + return *p.SSHURL +} + +// GetStargazersCount returns the StargazersCount field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetStargazersCount() int { + if p == nil || p.StargazersCount == nil { + return 0 + } + return *p.StargazersCount +} + +// GetStatusesURL returns the StatusesURL field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetStatusesURL() string { + if p == nil || p.StatusesURL == nil { + return "" + } + return *p.StatusesURL +} + +// GetSVNURL returns the SVNURL field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetSVNURL() string { + if p == nil || p.SVNURL == nil { + return "" + } + 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 { + return Timestamp{} + } + return *p.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetURL() string { + if p == nil || p.URL == nil { + return "" + } + return *p.URL +} + +// GetWatchersCount returns the WatchersCount field if it's non-nil, zero value otherwise. +func (p *PushEventRepository) GetWatchersCount() int { + if p == nil || p.WatchersCount == nil { + return 0 + } + return *p.WatchersCount +} + +// GetExpireAt returns the ExpireAt field if it's non-nil, zero value otherwise. +func (p *PushProtectionBypass) GetExpireAt() Timestamp { + if p == nil || p.ExpireAt == nil { + return 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 { + return nil + } + return r.ActionsRunnerRegistration +} + +// GetAuditLog returns the AuditLog field. +func (r *RateLimits) GetAuditLog() *Rate { + if r == nil { + return nil + } + return r.AuditLog +} + +// GetCodeScanningUpload returns the CodeScanningUpload field. +func (r *RateLimits) GetCodeScanningUpload() *Rate { + if r == nil { + return nil + } + return r.CodeScanningUpload +} + +// GetCodeSearch returns the CodeSearch field. +func (r *RateLimits) GetCodeSearch() *Rate { + if r == nil { + return nil + } + return r.CodeSearch +} + +// GetCore returns the Core field. +func (r *RateLimits) GetCore() *Rate { + if r == nil { + return nil + } + return r.Core +} + +// GetDependencySBOM returns the DependencySBOM field. +func (r *RateLimits) GetDependencySBOM() *Rate { + if r == nil { + return nil + } + return r.DependencySBOM +} + +// GetDependencySnapshots returns the DependencySnapshots field. +func (r *RateLimits) GetDependencySnapshots() *Rate { + if r == nil { + return nil + } + return r.DependencySnapshots +} + +// GetGraphQL returns the GraphQL field. +func (r *RateLimits) GetGraphQL() *Rate { + if r == nil { + return nil + } + return r.GraphQL +} + +// GetIntegrationManifest returns the IntegrationManifest field. +func (r *RateLimits) GetIntegrationManifest() *Rate { + if r == nil { + return nil + } + return r.IntegrationManifest +} + +// GetSCIM returns the SCIM field. +func (r *RateLimits) GetSCIM() *Rate { + if r == nil { + return nil + } + return r.SCIM +} + +// GetSearch returns the Search field. +func (r *RateLimits) GetSearch() *Rate { + if r == nil { + return nil + } + return r.Search +} + +// GetSourceImport returns the SourceImport field. +func (r *RateLimits) GetSourceImport() *Rate { + if r == nil { + return nil + } + 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 { + return "" + } + return *r.Content +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (r *Reaction) GetCreatedAt() Timestamp { + if r == nil || r.CreatedAt == nil { + return Timestamp{} + } + return *r.CreatedAt +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (r *Reaction) GetID() int64 { + if r == nil || r.ID == nil { + return 0 + } + return *r.ID +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (r *Reaction) GetNodeID() string { + if r == nil || r.NodeID == nil { + return "" + } + return *r.NodeID +} + +// GetUser returns the User field. +func (r *Reaction) GetUser() *User { + if r == nil { + return nil + } + return r.User +} + +// GetConfused returns the Confused field if it's non-nil, zero value otherwise. +func (r *Reactions) GetConfused() int { + if r == nil || r.Confused == nil { + return 0 + } + return *r.Confused +} + +// GetEyes returns the Eyes field if it's non-nil, zero value otherwise. +func (r *Reactions) GetEyes() int { + if r == nil || r.Eyes == nil { + return 0 + } + return *r.Eyes +} + +// GetHeart returns the Heart field if it's non-nil, zero value otherwise. +func (r *Reactions) GetHeart() int { + if r == nil || r.Heart == nil { + return 0 + } + return *r.Heart +} + +// GetHooray returns the Hooray field if it's non-nil, zero value otherwise. +func (r *Reactions) GetHooray() int { + if r == nil || r.Hooray == nil { + return 0 + } + return *r.Hooray +} + +// GetLaugh returns the Laugh field if it's non-nil, zero value otherwise. +func (r *Reactions) GetLaugh() int { + if r == nil || r.Laugh == nil { + return 0 + } + return *r.Laugh +} + +// GetMinusOne returns the MinusOne field if it's non-nil, zero value otherwise. +func (r *Reactions) GetMinusOne() int { + if r == nil || r.MinusOne == nil { + return 0 + } + return *r.MinusOne +} + +// GetPlusOne returns the PlusOne field if it's non-nil, zero value otherwise. +func (r *Reactions) GetPlusOne() int { + if r == nil || r.PlusOne == nil { + return 0 + } + return *r.PlusOne +} + +// GetRocket returns the Rocket field if it's non-nil, zero value otherwise. +func (r *Reactions) GetRocket() int { + if r == nil || r.Rocket == nil { + return 0 + } + return *r.Rocket +} + +// GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. +func (r *Reactions) GetTotalCount() int { + if r == nil || r.TotalCount == nil { + return 0 + } + return *r.TotalCount +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (r *Reactions) GetURL() string { + if r == nil || r.URL == nil { + return "" + } + return *r.URL +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (r *ReassignedResource) GetName() string { + if r == nil || r.Name == nil { + return "" + } + return *r.Name +} + +// GetPreviousCostCenter returns the PreviousCostCenter field if it's non-nil, zero value otherwise. +func (r *ReassignedResource) GetPreviousCostCenter() string { + if r == nil || r.PreviousCostCenter == nil { + return "" + } + return *r.PreviousCostCenter +} + +// GetResourceType returns the ResourceType field if it's non-nil, zero value otherwise. +func (r *ReassignedResource) GetResourceType() string { + if r == nil || r.ResourceType == nil { + return "" + } + 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 { + return "" + } + return *r.NodeID +} + +// GetObject returns the Object field. +func (r *Reference) GetObject() *GitObject { + if r == nil { + return nil + } + return r.Object +} + +// GetRef returns the Ref field if it's non-nil, zero value otherwise. +func (r *Reference) GetRef() string { + if r == nil || r.Ref == nil { + return "" + } + return *r.Ref +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (r *Reference) GetURL() string { + if r == nil || r.URL == nil { + return "" + } + return *r.URL +} + +// GetPath returns the Path field if it's non-nil, zero value otherwise. +func (r *ReferencedWorkflow) GetPath() string { + if r == nil || r.Path == nil { + return "" + } + return *r.Path +} + +// GetRef returns the Ref field if it's non-nil, zero value otherwise. +func (r *ReferencedWorkflow) GetRef() string { + if r == nil || r.Ref == nil { + return "" + } + return *r.Ref +} + +// GetSHA returns the SHA field if it's non-nil, zero value otherwise. +func (r *ReferencedWorkflow) GetSHA() string { + if r == nil || r.SHA == nil { + return "" + } + return *r.SHA +} + +// GetExpiresAt returns the ExpiresAt field if it's non-nil, zero value otherwise. +func (r *RegistrationToken) GetExpiresAt() Timestamp { + if r == nil || r.ExpiresAt == nil { + return Timestamp{} + } + return *r.ExpiresAt +} + +// GetToken returns the Token field if it's non-nil, zero value otherwise. +func (r *RegistrationToken) GetToken() string { + if r == nil || r.Token == nil { + return "" + } + return *r.Token +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (r *RegistryPackageEvent) GetAction() string { + if r == nil || r.Action == nil { + return "" + } + return *r.Action +} + +// GetEnterprise returns the Enterprise field. +func (r *RegistryPackageEvent) GetEnterprise() *Enterprise { + if r == nil { + return nil + } + return r.Enterprise +} + +// GetInstallation returns the Installation field. +func (r *RegistryPackageEvent) GetInstallation() *Installation { + if r == nil { + return nil + } + return r.Installation +} + +// GetOrganization returns the Organization field. +func (r *RegistryPackageEvent) GetOrganization() *Organization { + if r == nil { + return nil + } + return r.Organization +} + +// GetRegistryPackage returns the RegistryPackage field. +func (r *RegistryPackageEvent) GetRegistryPackage() *Package { + if r == nil { + return nil + } + return r.RegistryPackage +} + +// GetRepository returns the Repository field. +func (r *RegistryPackageEvent) GetRepository() *Repository { + if r == nil { + return nil + } + return r.Repository +} + +// GetSender returns the Sender field. +func (r *RegistryPackageEvent) GetSender() *User { + if r == nil { + return nil + } + return r.Sender +} + +// GetBrowserDownloadURL returns the BrowserDownloadURL field if it's non-nil, zero value otherwise. +func (r *ReleaseAsset) GetBrowserDownloadURL() string { + if r == nil || r.BrowserDownloadURL == nil { + return "" + } + return *r.BrowserDownloadURL +} + +// GetContentType returns the ContentType field if it's non-nil, zero value otherwise. +func (r *ReleaseAsset) GetContentType() string { + if r == nil || r.ContentType == nil { + return "" + } + return *r.ContentType +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (r *ReleaseAsset) GetCreatedAt() Timestamp { + if r == nil || r.CreatedAt == nil { + return Timestamp{} + } + return *r.CreatedAt +} + +// GetDigest returns the Digest field if it's non-nil, zero value otherwise. +func (r *ReleaseAsset) GetDigest() string { + if r == nil || r.Digest == nil { + return "" + } + return *r.Digest +} + +// GetDownloadCount returns the DownloadCount field if it's non-nil, zero value otherwise. +func (r *ReleaseAsset) GetDownloadCount() int { + if r == nil || r.DownloadCount == nil { + return 0 + } + return *r.DownloadCount +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (r *ReleaseAsset) GetID() int64 { + if r == nil || r.ID == nil { + return 0 + } + return *r.ID +} + +// GetLabel returns the Label field if it's non-nil, zero value otherwise. +func (r *ReleaseAsset) GetLabel() string { + if r == nil || r.Label == nil { + return "" + } + return *r.Label +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (r *ReleaseAsset) GetName() string { + if r == nil || r.Name == nil { + return "" + } + return *r.Name +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (r *ReleaseAsset) GetNodeID() string { + if r == nil || r.NodeID == nil { + return "" + } + return *r.NodeID +} + +// GetSize returns the Size field if it's non-nil, zero value otherwise. +func (r *ReleaseAsset) GetSize() int { + if r == nil || r.Size == nil { + return 0 + } + return *r.Size +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (r *ReleaseAsset) GetState() string { + if r == nil || r.State == nil { + return "" + } + return *r.State +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (r *ReleaseAsset) GetUpdatedAt() Timestamp { + if r == nil || r.UpdatedAt == nil { + return Timestamp{} + } + return *r.UpdatedAt +} + +// GetUploader returns the Uploader field. +func (r *ReleaseAsset) GetUploader() *User { + if r == nil { + return nil + } + return r.Uploader +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (r *ReleaseAsset) GetURL() string { + if r == nil || r.URL == nil { + return "" + } + return *r.URL +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (r *ReleaseEvent) GetAction() string { + if r == nil || r.Action == nil { + return "" + } + return *r.Action +} + +// GetInstallation returns the Installation field. +func (r *ReleaseEvent) GetInstallation() *Installation { + if r == nil { + return nil + } + return r.Installation +} + +// GetOrg returns the Org field. +func (r *ReleaseEvent) GetOrg() *Organization { + if r == nil { + return nil + } + return r.Org +} + +// GetRelease returns the Release field. +func (r *ReleaseEvent) GetRelease() *RepositoryRelease { + if r == nil { + return nil + } + return r.Release +} + +// GetRepo returns the Repo field. +func (r *ReleaseEvent) GetRepo() *Repository { + if r == nil { + return nil + } + return r.Repo +} + +// GetSender returns the Sender field. +func (r *ReleaseEvent) GetSender() *User { + if r == nil { + return nil + } + return r.Sender +} + +// GetBuildDate returns the BuildDate field if it's non-nil, zero value otherwise. +func (r *ReleaseVersion) GetBuildDate() string { + if r == nil || r.BuildDate == nil { + return "" + } + return *r.BuildDate +} + +// GetBuildID returns the BuildID field if it's non-nil, zero value otherwise. +func (r *ReleaseVersion) GetBuildID() string { + if r == nil || r.BuildID == nil { + return "" + } + return *r.BuildID +} + +// GetPlatform returns the Platform field if it's non-nil, zero value otherwise. +func (r *ReleaseVersion) GetPlatform() string { + if r == nil || r.Platform == nil { + return "" + } + return *r.Platform +} + +// GetVersion returns the Version field if it's non-nil, zero value otherwise. +func (r *ReleaseVersion) GetVersion() string { + if r == nil || r.Version == nil { + return "" + } + return *r.Version +} + +// GetMessage returns the Message field if it's non-nil, zero value otherwise. +func (r *RemoveResourcesFromCostCenterResponse) GetMessage() string { + if r == nil || r.Message == nil { + return "" + } + return *r.Message +} + +// GetExpiresAt returns the ExpiresAt field if it's non-nil, zero value otherwise. +func (r *RemoveToken) GetExpiresAt() Timestamp { + if r == nil || r.ExpiresAt == nil { + return Timestamp{} + } + return *r.ExpiresAt +} + +// GetToken returns the Token field if it's non-nil, zero value otherwise. +func (r *RemoveToken) GetToken() string { + if r == nil || r.Token == nil { + return "" + } + return *r.Token +} + +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (r *Rename) GetFrom() string { + if r == nil || r.From == nil { + return "" + } + return *r.From +} + +// GetTo returns the To field if it's non-nil, zero value otherwise. +func (r *Rename) GetTo() string { + if r == nil || r.To == nil { + return "" + } + return *r.To +} + +// GetMessage returns the Message field if it's non-nil, zero value otherwise. +func (r *RenameOrgResponse) GetMessage() string { + if r == nil || r.Message == nil { + return "" + } + return *r.Message +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (r *RenameOrgResponse) GetURL() string { + if r == nil || r.URL == nil { + return "" + } + return *r.URL +} + +// GetLogin returns the Login field if it's non-nil, zero value otherwise. +func (r *RepoAdvisoryCredit) GetLogin() string { + if r == nil || r.Login == nil { + return "" + } + return *r.Login +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (r *RepoAdvisoryCredit) GetType() string { + if r == nil || r.Type == nil { + return "" + } + return *r.Type +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (r *RepoAdvisoryCreditDetailed) GetState() string { + if r == nil || r.State == nil { + return "" + } + return *r.State +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (r *RepoAdvisoryCreditDetailed) GetType() string { + if r == nil || r.Type == nil { + return "" + } + return *r.Type +} + +// GetUser returns the User field. +func (r *RepoAdvisoryCreditDetailed) GetUser() *User { + if r == nil { + return nil + } + 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 { + return "" + } + 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 { + return false + } + return *r.FilesAnalyzed +} + +// GetLicenseConcluded returns the LicenseConcluded field if it's non-nil, zero value otherwise. +func (r *RepoDependencies) GetLicenseConcluded() string { + if r == nil || r.LicenseConcluded == nil { + return "" + } + return *r.LicenseConcluded +} + +// GetLicenseDeclared returns the LicenseDeclared field if it's non-nil, zero value otherwise. +func (r *RepoDependencies) GetLicenseDeclared() string { + if r == nil || r.LicenseDeclared == nil { + return "" + } + return *r.LicenseDeclared +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (r *RepoDependencies) GetName() string { + if r == nil || r.Name == nil { + return "" + } + return *r.Name +} + +// GetSPDXID returns the SPDXID field if it's non-nil, zero value otherwise. +func (r *RepoDependencies) GetSPDXID() string { + if r == nil || r.SPDXID == nil { + return "" + } + return *r.SPDXID +} + +// GetVersionInfo returns the VersionInfo field if it's non-nil, zero value otherwise. +func (r *RepoDependencies) GetVersionInfo() string { + if r == nil || r.VersionInfo == nil { + return "" + } + 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 { + return false + } + return *r.Enabled +} + +// GetEnforcedByOwner returns the EnforcedByOwner field if it's non-nil, zero value otherwise. +func (r *RepoImmutableReleasesStatus) GetEnforcedByOwner() bool { + if r == nil || r.EnforcedByOwner == nil { + return false + } + return *r.EnforcedByOwner +} + +// GetBranch returns the Branch field. +func (r *RepoMergeUpstreamRequest) GetBranch() string { + if r == nil { + return "" + } + return r.Branch +} + +// GetBaseBranch returns the BaseBranch field if it's non-nil, zero value otherwise. +func (r *RepoMergeUpstreamResult) GetBaseBranch() string { + if r == nil || r.BaseBranch == nil { + return "" + } + return *r.BaseBranch +} + +// GetMergeType returns the MergeType field if it's non-nil, zero value otherwise. +func (r *RepoMergeUpstreamResult) GetMergeType() string { + if r == nil || r.MergeType == nil { + return "" + } + return *r.MergeType +} + +// GetMessage returns the Message field if it's non-nil, zero value otherwise. +func (r *RepoMergeUpstreamResult) GetMessage() string { + if r == nil || r.Message == nil { + return "" + } + return *r.Message +} + +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (r *RepoName) GetFrom() string { + if r == nil || r.From == nil { + return "" + } + return *r.From +} + +// GetIncompleteResults returns the IncompleteResults field if it's non-nil, zero value otherwise. +func (r *RepositoriesSearchResult) GetIncompleteResults() bool { + if r == nil || r.IncompleteResults == nil { + return false + } + 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 { + return 0 + } + return *r.Total +} + +// GetAllowAutoMerge returns the AllowAutoMerge field if it's non-nil, zero value otherwise. +func (r *Repository) GetAllowAutoMerge() bool { + if r == nil || r.AllowAutoMerge == nil { + return false + } + return *r.AllowAutoMerge +} + +// GetAllowForking returns the AllowForking field if it's non-nil, zero value otherwise. +func (r *Repository) GetAllowForking() bool { + if r == nil || r.AllowForking == nil { + return false + } + return *r.AllowForking +} + +// GetAllowMergeCommit returns the AllowMergeCommit field if it's non-nil, zero value otherwise. +func (r *Repository) GetAllowMergeCommit() bool { + if r == nil || r.AllowMergeCommit == nil { + return false + } + return *r.AllowMergeCommit +} + +// GetAllowRebaseMerge returns the AllowRebaseMerge field if it's non-nil, zero value otherwise. +func (r *Repository) GetAllowRebaseMerge() bool { + if r == nil || r.AllowRebaseMerge == nil { + return false + } + return *r.AllowRebaseMerge +} + +// GetAllowSquashMerge returns the AllowSquashMerge field if it's non-nil, zero value otherwise. +func (r *Repository) GetAllowSquashMerge() bool { + if r == nil || r.AllowSquashMerge == nil { + return false + } + return *r.AllowSquashMerge +} + +// GetAllowUpdateBranch returns the AllowUpdateBranch field if it's non-nil, zero value otherwise. +func (r *Repository) GetAllowUpdateBranch() bool { + if r == nil || r.AllowUpdateBranch == nil { + return false + } + return *r.AllowUpdateBranch +} + +// GetArchived returns the Archived field if it's non-nil, zero value otherwise. +func (r *Repository) GetArchived() bool { + if r == nil || r.Archived == nil { + return false + } + return *r.Archived +} + +// GetArchiveURL returns the ArchiveURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetArchiveURL() string { + if r == nil || r.ArchiveURL == nil { + return "" + } + return *r.ArchiveURL +} + +// GetAssigneesURL returns the AssigneesURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetAssigneesURL() string { + if r == nil || r.AssigneesURL == nil { + return "" + } + return *r.AssigneesURL +} + +// GetAutoInit returns the AutoInit field if it's non-nil, zero value otherwise. +func (r *Repository) GetAutoInit() bool { + if r == nil || r.AutoInit == nil { + return false + } + return *r.AutoInit +} + +// GetBlobsURL returns the BlobsURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetBlobsURL() string { + if r == nil || r.BlobsURL == nil { + return "" + } + return *r.BlobsURL +} + +// GetBranchesURL returns the BranchesURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetBranchesURL() string { + if r == nil || r.BranchesURL == nil { + return "" + } + return *r.BranchesURL +} + +// GetCloneURL returns the CloneURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetCloneURL() string { + if r == nil || r.CloneURL == nil { + return "" + } + return *r.CloneURL +} + +// GetCodeOfConduct returns the CodeOfConduct field. +func (r *Repository) GetCodeOfConduct() *CodeOfConduct { + if r == nil { + return nil + } + return r.CodeOfConduct +} + +// GetCollaboratorsURL returns the CollaboratorsURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetCollaboratorsURL() string { + if r == nil || r.CollaboratorsURL == nil { + return "" + } + return *r.CollaboratorsURL +} + +// GetCommentsURL returns the CommentsURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetCommentsURL() string { + if r == nil || r.CommentsURL == nil { + return "" + } + return *r.CommentsURL +} + +// GetCommitsURL returns the CommitsURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetCommitsURL() string { + if r == nil || r.CommitsURL == nil { + return "" + } + return *r.CommitsURL +} + +// GetCompareURL returns the CompareURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetCompareURL() string { + if r == nil || r.CompareURL == nil { + return "" + } + return *r.CompareURL +} + +// GetContentsURL returns the ContentsURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetContentsURL() string { + if r == nil || r.ContentsURL == nil { + return "" + } + return *r.ContentsURL +} + +// GetContributorsURL returns the ContributorsURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetContributorsURL() string { + if r == nil || r.ContributorsURL == nil { + return "" + } + return *r.ContributorsURL +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (r *Repository) GetCreatedAt() Timestamp { + if r == nil || r.CreatedAt == nil { + return Timestamp{} + } + return *r.CreatedAt +} + +// GetCustomProperties returns the CustomProperties map if it's non-nil, an empty map otherwise. +func (r *Repository) GetCustomProperties() map[string]any { + if r == nil || r.CustomProperties == nil { + return map[string]any{} + } + return r.CustomProperties +} + +// GetDefaultBranch returns the DefaultBranch field if it's non-nil, zero value otherwise. +func (r *Repository) GetDefaultBranch() string { + if r == nil || r.DefaultBranch == nil { + return "" + } + return *r.DefaultBranch +} + +// GetDeleteBranchOnMerge returns the DeleteBranchOnMerge field if it's non-nil, zero value otherwise. +func (r *Repository) GetDeleteBranchOnMerge() bool { + if r == nil || r.DeleteBranchOnMerge == nil { + return false + } + return *r.DeleteBranchOnMerge +} + +// GetDeploymentsURL returns the DeploymentsURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetDeploymentsURL() string { + if r == nil || r.DeploymentsURL == nil { + return "" + } + return *r.DeploymentsURL +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (r *Repository) GetDescription() string { + if r == nil || r.Description == nil { + return "" + } + return *r.Description +} + +// GetDisabled returns the Disabled field if it's non-nil, zero value otherwise. +func (r *Repository) GetDisabled() bool { + if r == nil || r.Disabled == nil { + return false + } + return *r.Disabled +} + +// GetDownloadsURL returns the DownloadsURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetDownloadsURL() string { + if r == nil || r.DownloadsURL == nil { + return "" + } + return *r.DownloadsURL +} + +// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetEventsURL() string { + if r == nil || r.EventsURL == nil { + return "" + } + return *r.EventsURL +} + +// GetFork returns the Fork field if it's non-nil, zero value otherwise. +func (r *Repository) GetFork() bool { + if r == nil || r.Fork == nil { + return false + } + return *r.Fork +} + +// GetForksCount returns the ForksCount field if it's non-nil, zero value otherwise. +func (r *Repository) GetForksCount() int { + if r == nil || r.ForksCount == nil { + return 0 + } + return *r.ForksCount +} + +// GetForksURL returns the ForksURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetForksURL() string { + if r == nil || r.ForksURL == nil { + return "" + } + return *r.ForksURL +} + +// GetFullName returns the FullName field if it's non-nil, zero value otherwise. +func (r *Repository) GetFullName() string { + if r == nil || r.FullName == nil { + return "" + } + return *r.FullName +} + +// GetGitCommitsURL returns the GitCommitsURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetGitCommitsURL() string { + if r == nil || r.GitCommitsURL == nil { + return "" + } + return *r.GitCommitsURL +} + +// GetGitignoreTemplate returns the GitignoreTemplate field if it's non-nil, zero value otherwise. +func (r *Repository) GetGitignoreTemplate() string { + if r == nil || r.GitignoreTemplate == nil { + return "" + } + return *r.GitignoreTemplate +} + +// GetGitRefsURL returns the GitRefsURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetGitRefsURL() string { + if r == nil || r.GitRefsURL == nil { + return "" + } + return *r.GitRefsURL +} + +// GetGitTagsURL returns the GitTagsURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetGitTagsURL() string { + if r == nil || r.GitTagsURL == nil { + return "" + } + return *r.GitTagsURL +} + +// GetGitURL returns the GitURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetGitURL() string { + if r == nil || r.GitURL == nil { + return "" + } + return *r.GitURL +} + +// GetHasDiscussions returns the HasDiscussions field if it's non-nil, zero value otherwise. +func (r *Repository) GetHasDiscussions() bool { + if r == nil || r.HasDiscussions == nil { + return false + } + return *r.HasDiscussions +} + +// GetHasDownloads returns the HasDownloads field if it's non-nil, zero value otherwise. +func (r *Repository) GetHasDownloads() bool { + if r == nil || r.HasDownloads == nil { + return false + } + return *r.HasDownloads +} + +// GetHasIssues returns the HasIssues field if it's non-nil, zero value otherwise. +func (r *Repository) GetHasIssues() bool { + if r == nil || r.HasIssues == nil { + return false + } + return *r.HasIssues +} + +// GetHasPages returns the HasPages field if it's non-nil, zero value otherwise. +func (r *Repository) GetHasPages() bool { + if r == nil || r.HasPages == nil { + return false + } + return *r.HasPages +} + +// GetHasProjects returns the HasProjects field if it's non-nil, zero value otherwise. +func (r *Repository) GetHasProjects() bool { + if r == nil || r.HasProjects == nil { + return false + } + return *r.HasProjects +} + +// GetHasPullRequests returns the HasPullRequests field if it's non-nil, zero value otherwise. +func (r *Repository) GetHasPullRequests() bool { + if r == nil || r.HasPullRequests == nil { + return false + } + return *r.HasPullRequests +} + +// GetHasWiki returns the HasWiki field if it's non-nil, zero value otherwise. +func (r *Repository) GetHasWiki() bool { + if r == nil || r.HasWiki == nil { + return false + } + return *r.HasWiki +} + +// GetHomepage returns the Homepage field if it's non-nil, zero value otherwise. +func (r *Repository) GetHomepage() string { + if r == nil || r.Homepage == nil { + return "" + } + return *r.Homepage +} + +// GetHooksURL returns the HooksURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetHooksURL() string { + if r == nil || r.HooksURL == nil { + return "" + } + return *r.HooksURL +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetHTMLURL() string { + if r == nil || r.HTMLURL == nil { + return "" + } + return *r.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (r *Repository) GetID() int64 { + if r == nil || r.ID == nil { + return 0 + } + return *r.ID +} + +// GetIssueCommentURL returns the IssueCommentURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetIssueCommentURL() string { + if r == nil || r.IssueCommentURL == nil { + return "" + } + return *r.IssueCommentURL +} + +// GetIssueEventsURL returns the IssueEventsURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetIssueEventsURL() string { + if r == nil || r.IssueEventsURL == nil { + return "" + } + return *r.IssueEventsURL +} + +// GetIssuesURL returns the IssuesURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetIssuesURL() string { + if r == nil || r.IssuesURL == nil { + return "" + } + return *r.IssuesURL +} + +// GetIsTemplate returns the IsTemplate field if it's non-nil, zero value otherwise. +func (r *Repository) GetIsTemplate() bool { + if r == nil || r.IsTemplate == nil { + return false + } + return *r.IsTemplate +} + +// GetKeysURL returns the KeysURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetKeysURL() string { + if r == nil || r.KeysURL == nil { + return "" + } + return *r.KeysURL +} + +// GetLabelsURL returns the LabelsURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetLabelsURL() string { + if r == nil || r.LabelsURL == nil { + return "" + } + return *r.LabelsURL +} + +// GetLanguage returns the Language field if it's non-nil, zero value otherwise. +func (r *Repository) GetLanguage() string { + if r == nil || r.Language == nil { + return "" + } + return *r.Language +} + +// GetLanguagesURL returns the LanguagesURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetLanguagesURL() string { + if r == nil || r.LanguagesURL == nil { + return "" + } + return *r.LanguagesURL +} + +// GetLicense returns the License field. +func (r *Repository) GetLicense() *License { + if r == nil { + return nil + } + return r.License +} + +// GetLicenseTemplate returns the LicenseTemplate field if it's non-nil, zero value otherwise. +func (r *Repository) GetLicenseTemplate() string { + if r == nil || r.LicenseTemplate == nil { + return "" + } + return *r.LicenseTemplate +} + +// GetMasterBranch returns the MasterBranch field if it's non-nil, zero value otherwise. +func (r *Repository) GetMasterBranch() string { + if r == nil || r.MasterBranch == nil { + return "" + } + return *r.MasterBranch +} + +// GetMergeCommitMessage returns the MergeCommitMessage field if it's non-nil, zero value otherwise. +func (r *Repository) GetMergeCommitMessage() string { + if r == nil || r.MergeCommitMessage == nil { + return "" + } + return *r.MergeCommitMessage +} + +// GetMergeCommitTitle returns the MergeCommitTitle field if it's non-nil, zero value otherwise. +func (r *Repository) GetMergeCommitTitle() string { + if r == nil || r.MergeCommitTitle == nil { + return "" + } + return *r.MergeCommitTitle +} + +// GetMergesURL returns the MergesURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetMergesURL() string { + if r == nil || r.MergesURL == nil { + return "" + } + return *r.MergesURL +} + +// GetMilestonesURL returns the MilestonesURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetMilestonesURL() string { + if r == nil || r.MilestonesURL == nil { + return "" + } + return *r.MilestonesURL +} + +// GetMirrorURL returns the MirrorURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetMirrorURL() string { + if r == nil || r.MirrorURL == nil { + return "" + } + return *r.MirrorURL +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (r *Repository) GetName() string { + if r == nil || r.Name == nil { + return "" + } + return *r.Name +} + +// GetNetworkCount returns the NetworkCount field if it's non-nil, zero value otherwise. +func (r *Repository) GetNetworkCount() int { + if r == nil || r.NetworkCount == nil { + return 0 + } + return *r.NetworkCount +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (r *Repository) GetNodeID() string { + if r == nil || r.NodeID == nil { + return "" + } + return *r.NodeID +} + +// GetNotificationsURL returns the NotificationsURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetNotificationsURL() string { + if r == nil || r.NotificationsURL == nil { + return "" + } + return *r.NotificationsURL +} + +// GetOpenIssues returns the OpenIssues field if it's non-nil, zero value otherwise. +func (r *Repository) GetOpenIssues() int { + if r == nil || r.OpenIssues == nil { + return 0 + } + return *r.OpenIssues +} + +// GetOpenIssuesCount returns the OpenIssuesCount field if it's non-nil, zero value otherwise. +func (r *Repository) GetOpenIssuesCount() int { + if r == nil || r.OpenIssuesCount == nil { + return 0 + } + return *r.OpenIssuesCount +} + +// GetOrganization returns the Organization field. +func (r *Repository) GetOrganization() *Organization { + if r == nil { + return nil + } + return r.Organization +} + +// GetOwner returns the Owner field. +func (r *Repository) GetOwner() *User { + if r == nil { + return nil + } + return r.Owner +} + +// GetParent returns the Parent field. +func (r *Repository) GetParent() *Repository { + if r == nil { + return nil + } + return r.Parent +} + +// GetPermissions returns the Permissions field. +func (r *Repository) GetPermissions() *RepositoryPermissions { + if r == nil { + return nil + } + return r.Permissions +} + +// GetPrivate returns the Private field if it's non-nil, zero value otherwise. +func (r *Repository) GetPrivate() bool { + if r == nil || r.Private == nil { + return false + } + return *r.Private +} + +// GetPullRequestCreationPolicy returns the PullRequestCreationPolicy field if it's non-nil, zero value otherwise. +func (r *Repository) GetPullRequestCreationPolicy() string { + if r == nil || r.PullRequestCreationPolicy == nil { + return "" + } + return *r.PullRequestCreationPolicy +} + +// GetPullsURL returns the PullsURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetPullsURL() string { + if r == nil || r.PullsURL == nil { + return "" + } + return *r.PullsURL +} + +// GetPushedAt returns the PushedAt field if it's non-nil, zero value otherwise. +func (r *Repository) GetPushedAt() Timestamp { + if r == nil || r.PushedAt == nil { + return Timestamp{} + } + return *r.PushedAt +} + +// GetReleasesURL returns the ReleasesURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetReleasesURL() string { + if r == nil || r.ReleasesURL == nil { + return "" + } + return *r.ReleasesURL +} + +// GetRoleName returns the RoleName field if it's non-nil, zero value otherwise. +func (r *Repository) GetRoleName() string { + if r == nil || r.RoleName == nil { + return "" + } + return *r.RoleName +} + +// GetSecurityAndAnalysis returns the SecurityAndAnalysis field. +func (r *Repository) GetSecurityAndAnalysis() *SecurityAndAnalysis { + if r == nil { + return nil + } + return r.SecurityAndAnalysis +} + +// GetSize returns the Size field if it's non-nil, zero value otherwise. +func (r *Repository) GetSize() int { + if r == nil || r.Size == nil { + return 0 + } + return *r.Size +} + +// GetSource returns the Source field. +func (r *Repository) GetSource() *Repository { + if r == nil { + return nil + } + return r.Source +} + +// GetSquashMergeCommitMessage returns the SquashMergeCommitMessage field if it's non-nil, zero value otherwise. +func (r *Repository) GetSquashMergeCommitMessage() string { + if r == nil || r.SquashMergeCommitMessage == nil { + return "" + } + return *r.SquashMergeCommitMessage +} + +// GetSquashMergeCommitTitle returns the SquashMergeCommitTitle field if it's non-nil, zero value otherwise. +func (r *Repository) GetSquashMergeCommitTitle() string { + if r == nil || r.SquashMergeCommitTitle == nil { + return "" + } + return *r.SquashMergeCommitTitle +} + +// GetSSHURL returns the SSHURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetSSHURL() string { + if r == nil || r.SSHURL == nil { + return "" + } + return *r.SSHURL +} + +// GetStargazersCount returns the StargazersCount field if it's non-nil, zero value otherwise. +func (r *Repository) GetStargazersCount() int { + if r == nil || r.StargazersCount == nil { + return 0 + } + return *r.StargazersCount +} + +// GetStargazersURL returns the StargazersURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetStargazersURL() string { + if r == nil || r.StargazersURL == nil { + return "" + } + return *r.StargazersURL +} + +// GetStatusesURL returns the StatusesURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetStatusesURL() string { + if r == nil || r.StatusesURL == nil { + return "" + } + return *r.StatusesURL +} + +// GetSubscribersCount returns the SubscribersCount field if it's non-nil, zero value otherwise. +func (r *Repository) GetSubscribersCount() int { + if r == nil || r.SubscribersCount == nil { + return 0 + } + return *r.SubscribersCount +} + +// GetSubscribersURL returns the SubscribersURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetSubscribersURL() string { + if r == nil || r.SubscribersURL == nil { + return "" + } + return *r.SubscribersURL +} + +// GetSubscriptionURL returns the SubscriptionURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetSubscriptionURL() string { + if r == nil || r.SubscriptionURL == nil { + return "" + } + return *r.SubscriptionURL +} + +// GetSVNURL returns the SVNURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetSVNURL() string { + if r == nil || r.SVNURL == nil { + return "" + } + return *r.SVNURL +} + +// GetTagsURL returns the TagsURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetTagsURL() string { + if r == nil || r.TagsURL == nil { + return "" + } + return *r.TagsURL +} + +// GetTeamID returns the TeamID field if it's non-nil, zero value otherwise. +func (r *Repository) GetTeamID() int64 { + if r == nil || r.TeamID == nil { + return 0 + } + return *r.TeamID +} + +// GetTeamsURL returns the TeamsURL field if it's non-nil, zero value otherwise. +func (r *Repository) GetTeamsURL() string { + if r == nil || r.TeamsURL == nil { + return "" + } + return *r.TeamsURL +} + +// GetTemplateRepository returns the TemplateRepository field. +func (r *Repository) GetTemplateRepository() *Repository { + if r == nil { + return nil + } + 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 { + return "" + } + return *r.TreesURL +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (r *Repository) GetUpdatedAt() Timestamp { + if r == nil || r.UpdatedAt == nil { + return Timestamp{} + } + return *r.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (r *Repository) GetURL() string { + if r == nil || r.URL == nil { + return "" + } + return *r.URL +} + +// GetUseSquashPRTitleAsDefault returns the UseSquashPRTitleAsDefault field if it's non-nil, zero value otherwise. +func (r *Repository) GetUseSquashPRTitleAsDefault() bool { + if r == nil || r.UseSquashPRTitleAsDefault == nil { + return false + } + return *r.UseSquashPRTitleAsDefault +} + +// GetVisibility returns the Visibility field if it's non-nil, zero value otherwise. +func (r *Repository) GetVisibility() string { + if r == nil || r.Visibility == nil { + return "" + } + return *r.Visibility +} + +// GetWatchers returns the Watchers field if it's non-nil, zero value otherwise. +func (r *Repository) GetWatchers() int { + if r == nil || r.Watchers == nil { + return 0 + } + return *r.Watchers +} + +// GetWatchersCount returns the WatchersCount field if it's non-nil, zero value otherwise. +func (r *Repository) GetWatchersCount() int { + if r == nil || r.WatchersCount == nil { + return 0 + } + return *r.WatchersCount +} + +// GetWebCommitSignoffRequired returns the WebCommitSignoffRequired field if it's non-nil, zero value otherwise. +func (r *Repository) GetWebCommitSignoffRequired() bool { + if r == nil || r.WebCommitSignoffRequired == nil { + return false + } + return *r.WebCommitSignoffRequired +} + +// GetAccessLevel returns the AccessLevel field if it's non-nil, zero value otherwise. +func (r *RepositoryActionsAccessLevel) GetAccessLevel() string { + if r == nil || r.AccessLevel == nil { + return "" + } + return *r.AccessLevel +} + +// GetAdvancedSecurityCommitters returns the AdvancedSecurityCommitters field. +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 { + return nil + } + 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 { + return Timestamp{} + } + return *r.Timestamp +} + +// GetAvatarURL returns the AvatarURL field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetAvatarURL() string { + if r == nil || r.AvatarURL == nil { + return "" + } + return *r.AvatarURL +} + +// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetEventsURL() string { + if r == nil || r.EventsURL == nil { + return "" + } + return *r.EventsURL +} + +// GetFollowersURL returns the FollowersURL field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetFollowersURL() string { + if r == nil || r.FollowersURL == nil { + return "" + } + return *r.FollowersURL +} + +// GetFollowingURL returns the FollowingURL field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetFollowingURL() string { + if r == nil || r.FollowingURL == nil { + return "" + } + return *r.FollowingURL +} + +// GetGistsURL returns the GistsURL field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetGistsURL() string { + if r == nil || r.GistsURL == nil { + return "" + } + return *r.GistsURL +} + +// GetGravatarID returns the GravatarID field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetGravatarID() string { + if r == nil || r.GravatarID == nil { + return "" + } + return *r.GravatarID +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetHTMLURL() string { + if r == nil || r.HTMLURL == nil { + return "" + } + return *r.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetID() int64 { + if r == nil || r.ID == nil { + return 0 + } + return *r.ID +} + +// GetLogin returns the Login field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetLogin() string { + if r == nil || r.Login == nil { + return "" + } + return *r.Login +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetNodeID() string { + if r == nil || r.NodeID == nil { + return "" + } + return *r.NodeID +} + +// GetOrganizationsURL returns the OrganizationsURL field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetOrganizationsURL() string { + if r == nil || r.OrganizationsURL == nil { + return "" + } + return *r.OrganizationsURL +} + +// GetReceivedEventsURL returns the ReceivedEventsURL field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetReceivedEventsURL() string { + if r == nil || r.ReceivedEventsURL == nil { + return "" + } + return *r.ReceivedEventsURL +} + +// GetReposURL returns the ReposURL field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetReposURL() string { + if r == nil || r.ReposURL == nil { + return "" + } + return *r.ReposURL +} + +// GetSiteAdmin returns the SiteAdmin field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetSiteAdmin() bool { + if r == nil || r.SiteAdmin == nil { + return false + } + return *r.SiteAdmin +} + +// GetStarredURL returns the StarredURL field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetStarredURL() string { + if r == nil || r.StarredURL == nil { + return "" + } + return *r.StarredURL +} + +// GetSubscriptionsURL returns the SubscriptionsURL field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetSubscriptionsURL() string { + if r == nil || r.SubscriptionsURL == nil { + return "" + } + return *r.SubscriptionsURL +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetType() string { + if r == nil || r.Type == nil { + return "" + } + return *r.Type +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetURL() string { + if r == nil || r.URL == nil { + return "" + } + return *r.URL +} + +// GetUserViewType returns the UserViewType field if it's non-nil, zero value otherwise. +func (r *RepositoryActor) GetUserViewType() string { + if r == nil || r.UserViewType == nil { + return "" + } + 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 { + return nil + } + return r.Repository +} + +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (r *RepositoryAttachment) GetStatus() string { + if r == nil || r.Status == nil { + return "" + } + return *r.Status +} + +// GetConfiguration returns the Configuration field. +func (r *RepositoryCodeSecurityConfiguration) GetConfiguration() *CodeSecurityConfiguration { + if r == nil { + return nil + } + return r.Configuration +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (r *RepositoryCodeSecurityConfiguration) GetState() string { + if r == nil || r.State == nil { + return "" + } + return *r.State +} + +// GetAuthorAssociation returns the AuthorAssociation field if it's non-nil, zero value otherwise. +func (r *RepositoryComment) GetAuthorAssociation() string { + if r == nil || r.AuthorAssociation == nil { + return "" + } + return *r.AuthorAssociation +} + +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (r *RepositoryComment) GetBody() string { + if r == nil || r.Body == nil { + return "" + } + return *r.Body +} + +// GetCommitID returns the CommitID field if it's non-nil, zero value otherwise. +func (r *RepositoryComment) GetCommitID() string { + if r == nil || r.CommitID == nil { + return "" + } + return *r.CommitID +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (r *RepositoryComment) GetCreatedAt() Timestamp { + if r == nil || r.CreatedAt == nil { + return Timestamp{} + } + return *r.CreatedAt +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (r *RepositoryComment) GetHTMLURL() string { + if r == nil || r.HTMLURL == nil { + return "" + } + return *r.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (r *RepositoryComment) GetID() int64 { + if r == nil || r.ID == nil { + return 0 + } + return *r.ID +} + +// GetLine returns the Line field if it's non-nil, zero value otherwise. +func (r *RepositoryComment) GetLine() int { + if r == nil || r.Line == nil { + return 0 + } + return *r.Line +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (r *RepositoryComment) GetNodeID() string { + if r == nil || r.NodeID == nil { + return "" + } + return *r.NodeID +} + +// GetPath returns the Path field if it's non-nil, zero value otherwise. +func (r *RepositoryComment) GetPath() string { + if r == nil || r.Path == nil { + return "" + } + return *r.Path +} + +// GetPosition returns the Position field if it's non-nil, zero value otherwise. +func (r *RepositoryComment) GetPosition() int { + if r == nil || r.Position == nil { + return 0 + } + return *r.Position +} + +// GetReactions returns the Reactions field. +func (r *RepositoryComment) GetReactions() *Reactions { + if r == nil { + return nil + } + return r.Reactions +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (r *RepositoryComment) GetUpdatedAt() Timestamp { + if r == nil || r.UpdatedAt == nil { + return Timestamp{} + } + return *r.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (r *RepositoryComment) GetURL() string { + if r == nil || r.URL == nil { + return "" + } + return *r.URL +} + +// GetUser returns the User field. +func (r *RepositoryComment) GetUser() *User { + if r == nil { + return nil + } + return r.User +} + +// GetAuthor returns the Author field. +func (r *RepositoryCommit) GetAuthor() *User { + if r == nil { + return nil + } + return r.Author +} + +// GetCommentsURL returns the CommentsURL field if it's non-nil, zero value otherwise. +func (r *RepositoryCommit) GetCommentsURL() string { + if r == nil || r.CommentsURL == nil { + return "" + } + return *r.CommentsURL +} + +// GetCommit returns the Commit field. +func (r *RepositoryCommit) GetCommit() *Commit { + if r == nil { + return nil + } + return r.Commit +} + +// GetCommitter returns the Committer field. +func (r *RepositoryCommit) GetCommitter() *User { + if r == nil { + return nil + } + 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 { + return "" + } + return *r.HTMLURL +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (r *RepositoryCommit) GetNodeID() string { + if r == nil || r.NodeID == nil { + return "" + } + 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 { + return "" + } + return *r.SHA +} + +// GetStats returns the Stats field. +func (r *RepositoryCommit) GetStats() *CommitStats { + if r == nil { + return nil + } + return r.Stats +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (r *RepositoryCommit) GetURL() string { + if r == nil || r.URL == nil { + return "" + } + return *r.URL +} + +// GetDownloadURL returns the DownloadURL field if it's non-nil, zero value otherwise. +func (r *RepositoryContent) GetDownloadURL() string { + if r == nil || r.DownloadURL == nil { + return "" + } + return *r.DownloadURL +} + +// GetEncoding returns the Encoding field if it's non-nil, zero value otherwise. +func (r *RepositoryContent) GetEncoding() string { + if r == nil || r.Encoding == nil { + return "" + } + return *r.Encoding +} + +// GetGitURL returns the GitURL field if it's non-nil, zero value otherwise. +func (r *RepositoryContent) GetGitURL() string { + if r == nil || r.GitURL == nil { + return "" + } + return *r.GitURL +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (r *RepositoryContent) GetHTMLURL() string { + if r == nil || r.HTMLURL == nil { + return "" + } + return *r.HTMLURL +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (r *RepositoryContent) GetName() string { + if r == nil || r.Name == nil { + return "" + } + return *r.Name +} + +// GetPath returns the Path field if it's non-nil, zero value otherwise. +func (r *RepositoryContent) GetPath() string { + if r == nil || r.Path == nil { + return "" + } + return *r.Path +} + +// GetSHA returns the SHA field if it's non-nil, zero value otherwise. +func (r *RepositoryContent) GetSHA() string { + if r == nil || r.SHA == nil { + return "" + } + return *r.SHA +} + +// GetSize returns the Size field if it's non-nil, zero value otherwise. +func (r *RepositoryContent) GetSize() int { + if r == nil || r.Size == nil { + return 0 + } + return *r.Size +} + +// GetSubmoduleGitURL returns the SubmoduleGitURL field if it's non-nil, zero value otherwise. +func (r *RepositoryContent) GetSubmoduleGitURL() string { + if r == nil || r.SubmoduleGitURL == nil { + return "" + } + return *r.SubmoduleGitURL +} + +// GetTarget returns the Target field if it's non-nil, zero value otherwise. +func (r *RepositoryContent) GetTarget() string { + if r == nil || r.Target == nil { + return "" + } + return *r.Target +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (r *RepositoryContent) GetType() string { + if r == nil || r.Type == nil { + return "" + } + return *r.Type +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (r *RepositoryContent) GetURL() string { + if r == nil || r.URL == nil { + return "" + } + return *r.URL +} + +// GetAuthor returns the Author field. +func (r *RepositoryContentFileOptions) GetAuthor() *CommitAuthor { + if r == nil { + return nil + } + return r.Author +} + +// GetBranch returns the Branch field if it's non-nil, zero value otherwise. +func (r *RepositoryContentFileOptions) GetBranch() string { + if r == nil || r.Branch == nil { + return "" + } + return *r.Branch +} + +// GetCommitter returns the Committer field. +func (r *RepositoryContentFileOptions) GetCommitter() *CommitAuthor { + if r == nil { + return nil + } + 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 { + return "" + } + return *r.Message +} + +// GetSHA returns the SHA field if it's non-nil, zero value otherwise. +func (r *RepositoryContentFileOptions) GetSHA() string { + if r == nil || r.SHA == nil { + return "" + } + 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 { + return nil + } + 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 { + return "" + } + return *r.Action +} + +// GetBranch returns the Branch field if it's non-nil, zero value otherwise. +func (r *RepositoryDispatchEvent) GetBranch() string { + if r == nil || r.Branch == nil { + return "" + } + 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 { + return nil + } + return r.Installation +} + +// GetOrg returns the Org field. +func (r *RepositoryDispatchEvent) GetOrg() *Organization { + if r == nil { + return nil + } + return r.Org +} + +// GetRepo returns the Repo field. +func (r *RepositoryDispatchEvent) GetRepo() *Repository { + if r == nil { + return nil + } + return r.Repo +} + +// GetSender returns the Sender field. +func (r *RepositoryDispatchEvent) GetSender() *User { + if r == nil { + return nil + } + return r.Sender +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (r *RepositoryEvent) GetAction() string { + if r == nil || r.Action == nil { + return "" + } + return *r.Action +} + +// GetChanges returns the Changes field. +func (r *RepositoryEvent) GetChanges() *EditChange { + if r == nil { + return nil + } + return r.Changes +} + +// GetInstallation returns the Installation field. +func (r *RepositoryEvent) GetInstallation() *Installation { + if r == nil { + return nil + } + return r.Installation +} + +// GetOrg returns the Org field. +func (r *RepositoryEvent) GetOrg() *Organization { + if r == nil { + return nil + } + return r.Org +} + +// GetRepo returns the Repo field. +func (r *RepositoryEvent) GetRepo() *Repository { + if r == nil { + return nil + } + return r.Repo +} + +// GetSender returns the Sender field. +func (r *RepositoryEvent) GetSender() *User { + if r == nil { + return nil + } + return r.Sender +} + +// GetOrg returns the Org field. +func (r *RepositoryImportEvent) GetOrg() *Organization { + if r == nil { + return nil + } + return r.Org +} + +// GetRepo returns the Repo field. +func (r *RepositoryImportEvent) GetRepo() *Repository { + if r == nil { + return nil + } + return r.Repo +} + +// GetSender returns the Sender field. +func (r *RepositoryImportEvent) GetSender() *User { + if r == nil { + return nil + } + return r.Sender +} + +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (r *RepositoryImportEvent) GetStatus() string { + if r == nil || r.Status == nil { + return "" + } + return *r.Status +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (r *RepositoryInvitation) GetCreatedAt() Timestamp { + if r == nil || r.CreatedAt == nil { + return Timestamp{} + } + return *r.CreatedAt +} + +// GetExpired returns the Expired field if it's non-nil, zero value otherwise. +func (r *RepositoryInvitation) GetExpired() bool { + if r == nil || r.Expired == nil { + return false + } + return *r.Expired +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (r *RepositoryInvitation) GetHTMLURL() string { + if r == nil || r.HTMLURL == nil { + return "" + } + return *r.HTMLURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (r *RepositoryInvitation) GetID() int64 { + if r == nil || r.ID == nil { + return 0 + } + return *r.ID +} + +// GetInvitee returns the Invitee field. +func (r *RepositoryInvitation) GetInvitee() *User { + if r == nil { + return nil + } + return r.Invitee +} + +// GetInviter returns the Inviter field. +func (r *RepositoryInvitation) GetInviter() *User { + if r == nil { + return nil + } + return r.Inviter +} + +// GetPermissions returns the Permissions field if it's non-nil, zero value otherwise. +func (r *RepositoryInvitation) GetPermissions() string { + if r == nil || r.Permissions == nil { + return "" + } + return *r.Permissions +} + +// GetRepo returns the Repo field. +func (r *RepositoryInvitation) GetRepo() *Repository { + if r == nil { + return nil + } + return r.Repo +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (r *RepositoryInvitation) GetURL() string { + if r == nil || r.URL == nil { + return "" + } + return *r.URL +} + +// GetContent returns the Content field if it's non-nil, zero value otherwise. +func (r *RepositoryLicense) GetContent() string { + if r == nil || r.Content == nil { + return "" + } + return *r.Content +} + +// GetDownloadURL returns the DownloadURL field if it's non-nil, zero value otherwise. +func (r *RepositoryLicense) GetDownloadURL() string { + if r == nil || r.DownloadURL == nil { + return "" + } + return *r.DownloadURL +} + +// GetEncoding returns the Encoding field if it's non-nil, zero value otherwise. +func (r *RepositoryLicense) GetEncoding() string { + if r == nil || r.Encoding == nil { + return "" + } + return *r.Encoding +} + +// GetGitURL returns the GitURL field if it's non-nil, zero value otherwise. +func (r *RepositoryLicense) GetGitURL() string { + if r == nil || r.GitURL == nil { + return "" + } + return *r.GitURL +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (r *RepositoryLicense) GetHTMLURL() string { + if r == nil || r.HTMLURL == nil { + return "" + } + return *r.HTMLURL +} + +// GetLicense returns the License field. +func (r *RepositoryLicense) GetLicense() *License { + if r == nil { + return nil + } + return r.License +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (r *RepositoryLicense) GetName() string { + if r == nil || r.Name == nil { + return "" + } + return *r.Name +} + +// GetPath returns the Path field if it's non-nil, zero value otherwise. +func (r *RepositoryLicense) GetPath() string { + if r == nil || r.Path == nil { + return "" + } + return *r.Path +} + +// GetSHA returns the SHA field if it's non-nil, zero value otherwise. +func (r *RepositoryLicense) GetSHA() string { + if r == nil || r.SHA == nil { + return "" + } + return *r.SHA +} + +// GetSize returns the Size field if it's non-nil, zero value otherwise. +func (r *RepositoryLicense) GetSize() int { + if r == nil || r.Size == nil { + return 0 + } + return *r.Size +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (r *RepositoryLicense) GetType() string { + if r == nil || r.Type == nil { + return "" + } + return *r.Type +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (r *RepositoryLicense) GetURL() string { + if r == nil || r.URL == nil { + return "" + } + 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 { + return false + } + return *r.IncludesParents +} + +// GetBase returns the Base field. +func (r *RepositoryMergeRequest) GetBase() string { + if r == nil { + return "" + } + return r.Base +} + +// GetCommitMessage returns the CommitMessage field if it's non-nil, zero value otherwise. +func (r *RepositoryMergeRequest) GetCommitMessage() string { + if r == nil || r.CommitMessage == nil { + return "" + } + return *r.CommitMessage +} + +// GetHead returns the Head field. +func (r *RepositoryMergeRequest) GetHead() string { + if r == nil { + return "" + } + 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 { + return "" + } + return *r.Permission +} + +// GetRoleName returns the RoleName field if it's non-nil, zero value otherwise. +func (r *RepositoryPermissionLevel) GetRoleName() string { + if r == nil || r.RoleName == nil { + return "" + } + return *r.RoleName +} + +// GetUser returns the User field. +func (r *RepositoryPermissionLevel) GetUser() *User { + if r == nil { + return nil + } + return r.User +} + +// GetAdmin returns the Admin field if it's non-nil, zero value otherwise. +func (r *RepositoryPermissions) GetAdmin() bool { + if r == nil || r.Admin == nil { + return false + } + return *r.Admin +} + +// GetMaintain returns the Maintain field if it's non-nil, zero value otherwise. +func (r *RepositoryPermissions) GetMaintain() bool { + if r == nil || r.Maintain == nil { + return false + } + return *r.Maintain +} + +// GetPull returns the Pull field if it's non-nil, zero value otherwise. +func (r *RepositoryPermissions) GetPull() bool { + if r == nil || r.Pull == nil { + return false + } + return *r.Pull +} + +// GetPush returns the Push field if it's non-nil, zero value otherwise. +func (r *RepositoryPermissions) GetPush() bool { + if r == nil || r.Push == nil { + return false + } + return *r.Push +} + +// GetTriage returns the Triage field if it's non-nil, zero value otherwise. +func (r *RepositoryPermissions) GetTriage() bool { + if r == nil || r.Triage == nil { + return false + } + 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. +func (r *RepositoryRelease) GetAssetsURL() string { + if r == nil { + return "" + } + return r.AssetsURL +} + +// GetAuthor returns the Author field. +func (r *RepositoryRelease) GetAuthor() *User { + if r == nil { + return nil + } + return r.Author +} + +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (r *RepositoryRelease) GetBody() string { + if r == nil || r.Body == nil { + return "" + } + return *r.Body +} + +// GetBodyHTML returns the BodyHTML field if it's non-nil, zero value otherwise. +func (r *RepositoryRelease) GetBodyHTML() string { + if r == nil || r.BodyHTML == nil { + return "" + } + return *r.BodyHTML +} + +// GetBodyText returns the BodyText field if it's non-nil, zero value otherwise. +func (r *RepositoryRelease) GetBodyText() string { + if r == nil || r.BodyText == nil { + return "" + } + return *r.BodyText +} + +// GetCreatedAt returns the CreatedAt field. +func (r *RepositoryRelease) GetCreatedAt() Timestamp { + if r == nil { + return Timestamp{} + } + return r.CreatedAt +} + +// GetDiscussionURL returns the DiscussionURL field if it's non-nil, zero value otherwise. +func (r *RepositoryRelease) GetDiscussionURL() string { + if r == nil || r.DiscussionURL == nil { + return "" + } + return *r.DiscussionURL +} + +// GetDraft returns the Draft field. +func (r *RepositoryRelease) GetDraft() bool { + if r == nil { + return false + } + return r.Draft +} + +// GetHTMLURL returns the HTMLURL field. +func (r *RepositoryRelease) GetHTMLURL() string { + if r == nil { + return "" + } + return r.HTMLURL +} + +// GetID returns the ID field. +func (r *RepositoryRelease) GetID() int64 { + if r == nil { + return 0 + } + return r.ID +} + +// GetImmutable returns the Immutable field if it's non-nil, zero value otherwise. +func (r *RepositoryRelease) GetImmutable() bool { + if r == nil || r.Immutable == nil { + return false + } + return *r.Immutable +} + +// GetMentionsCount returns the MentionsCount field if it's non-nil, zero value otherwise. +func (r *RepositoryRelease) GetMentionsCount() int { + if r == nil || r.MentionsCount == nil { + return 0 + } + return *r.MentionsCount +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (r *RepositoryRelease) GetName() string { + if r == nil || r.Name == nil { + return "" + } + return *r.Name +} + +// GetNodeID returns the NodeID field. +func (r *RepositoryRelease) GetNodeID() string { + if r == nil { + return "" + } + return r.NodeID +} + +// GetPrerelease returns the Prerelease field. +func (r *RepositoryRelease) GetPrerelease() bool { + if r == nil { + return false + } + return r.Prerelease +} + +// GetPublishedAt returns the PublishedAt field if it's non-nil, zero value otherwise. +func (r *RepositoryRelease) GetPublishedAt() Timestamp { + if r == nil || r.PublishedAt == nil { + return Timestamp{} + } + return *r.PublishedAt +} + +// GetReactions returns the Reactions field. +func (r *RepositoryRelease) GetReactions() *Reactions { + if r == nil { + return nil + } + return r.Reactions +} + +// GetTagName returns the TagName field. +func (r *RepositoryRelease) GetTagName() string { + if r == nil { + return "" + } + return r.TagName +} + +// GetTarballURL returns the TarballURL field if it's non-nil, zero value otherwise. +func (r *RepositoryRelease) GetTarballURL() string { + if r == nil || r.TarballURL == nil { + return "" + } + return *r.TarballURL +} + +// GetTargetCommitish returns the TargetCommitish field. +func (r *RepositoryRelease) GetTargetCommitish() string { + if r == nil { + return "" + } + return r.TargetCommitish +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (r *RepositoryRelease) GetUpdatedAt() Timestamp { + if r == nil || r.UpdatedAt == nil { + return Timestamp{} + } + return *r.UpdatedAt +} + +// GetUploadURL returns the UploadURL field. +func (r *RepositoryRelease) GetUploadURL() string { + if r == nil { + return "" + } + return r.UploadURL +} + +// GetURL returns the URL field. +func (r *RepositoryRelease) GetURL() string { + if r == nil { + return "" + } + return r.URL +} + +// GetZipballURL returns the ZipballURL field if it's non-nil, zero value otherwise. +func (r *RepositoryRelease) GetZipballURL() string { + if r == nil || r.ZipballURL == nil { + return "" + } + 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 { + return nil + } + return r.Conditions +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (r *RepositoryRuleset) GetCreatedAt() Timestamp { + if r == nil || r.CreatedAt == nil { + return Timestamp{} + } + return *r.CreatedAt +} + +// GetCurrentUserCanBypass returns the CurrentUserCanBypass field. +func (r *RepositoryRuleset) GetCurrentUserCanBypass() *BypassMode { + if r == nil { + return nil + } + 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 { + return 0 + } + return *r.ID +} + +// GetLinks returns the Links field. +func (r *RepositoryRuleset) GetLinks() *RepositoryRulesetLinks { + if r == nil { + return nil + } + 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 { + return "" + } + return *r.NodeID +} + +// GetRules returns the Rules field. +func (r *RepositoryRuleset) GetRules() *RepositoryRulesetRules { + if r == nil { + return nil + } + 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 { + return nil + } + return r.SourceType +} + +// GetTarget returns the Target field. +func (r *RepositoryRuleset) GetTarget() *RulesetTarget { + if r == nil { + return nil + } + return r.Target +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (r *RepositoryRuleset) GetUpdatedAt() Timestamp { + if r == nil || r.UpdatedAt == nil { + return 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 { + return nil + } + return r.Configuration +} + +// GetPattern returns the Pattern field. +func (r *RepositoryRulesetChangedRule) GetPattern() *RepositoryRulesetChangeSource { + if r == nil { + return nil + } + return r.Pattern +} + +// GetRuleType returns the RuleType field. +func (r *RepositoryRulesetChangedRule) GetRuleType() *RepositoryRulesetChangeSource { + if r == nil { + return nil + } + 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 { + return nil + } + return r.Conditions +} + +// GetEnforcement returns the Enforcement field. +func (r *RepositoryRulesetChanges) GetEnforcement() *RepositoryRulesetChangeSource { + if r == nil { + return nil + } + return r.Enforcement +} + +// GetName returns the Name field. +func (r *RepositoryRulesetChanges) GetName() *RepositoryRulesetChangeSource { + if r == nil { + return nil + } + return r.Name +} + +// GetRules returns the Rules field. +func (r *RepositoryRulesetChanges) GetRules() *RepositoryRulesetChangedRules { + if r == nil { + return nil + } + return r.Rules +} + +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (r *RepositoryRulesetChangeSource) GetFrom() string { + if r == nil || r.From == nil { + return "" + } + 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 { + return nil + } + return r.OrganizationID +} + +// GetOrganizationName returns the OrganizationName field. +func (r *RepositoryRulesetConditions) GetOrganizationName() *RepositoryRulesetOrganizationNamesConditionParameters { + if r == nil { + return nil + } + return r.OrganizationName +} + +// GetOrganizationProperty returns the OrganizationProperty field. +func (r *RepositoryRulesetConditions) GetOrganizationProperty() *RepositoryRulesetOrganizationPropertyConditionParameters { + if r == nil { + return nil + } + return r.OrganizationProperty +} + +// GetRefName returns the RefName field. +func (r *RepositoryRulesetConditions) GetRefName() *RepositoryRulesetRefConditionParameters { + if r == nil { + return nil + } + return r.RefName +} + +// GetRepositoryID returns the RepositoryID field. +func (r *RepositoryRulesetConditions) GetRepositoryID() *RepositoryRulesetRepositoryIDsConditionParameters { + if r == nil { + return nil + } + return r.RepositoryID +} + +// GetRepositoryName returns the RepositoryName field. +func (r *RepositoryRulesetConditions) GetRepositoryName() *RepositoryRulesetRepositoryNamesConditionParameters { + if r == nil { + return nil + } + return r.RepositoryName +} + +// GetRepositoryProperty returns the RepositoryProperty field. +func (r *RepositoryRulesetConditions) GetRepositoryProperty() *RepositoryRulesetRepositoryPropertyConditionParameters { + if r == nil { + return nil + } + return r.RepositoryProperty +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (r *RepositoryRulesetEvent) GetAction() string { + if r == nil || r.Action == nil { + return "" + } + return *r.Action +} + +// GetChanges returns the Changes field. +func (r *RepositoryRulesetEvent) GetChanges() *RepositoryRulesetChanges { + if r == nil { + return nil + } + return r.Changes +} + +// GetEnterprise returns the Enterprise field. +func (r *RepositoryRulesetEvent) GetEnterprise() *Enterprise { + if r == nil { + return nil + } + return r.Enterprise +} + +// GetInstallation returns the Installation field. +func (r *RepositoryRulesetEvent) GetInstallation() *Installation { + if r == nil { + return nil + } + return r.Installation +} + +// GetOrganization returns the Organization field. +func (r *RepositoryRulesetEvent) GetOrganization() *Organization { + if r == nil { + return nil + } + return r.Organization +} + +// GetRepository returns the Repository field. +func (r *RepositoryRulesetEvent) GetRepository() *Repository { + if r == nil { + return nil + } + return r.Repository +} + +// GetRepositoryRuleset returns the RepositoryRuleset field. +func (r *RepositoryRulesetEvent) GetRepositoryRuleset() *RepositoryRuleset { + if r == nil { + return nil + } + return r.RepositoryRuleset +} + +// GetSender returns the Sender field. +func (r *RepositoryRulesetEvent) GetSender() *User { + if r == nil { + return nil + } + return r.Sender +} + +// GetHRef returns the HRef field if it's non-nil, zero value otherwise. +func (r *RepositoryRulesetLink) GetHRef() string { + if r == nil || r.HRef == nil { + return "" + } + return *r.HRef +} + +// GetHTML returns the HTML field. +func (r *RepositoryRulesetLinks) GetHTML() *RepositoryRulesetLink { + if r == nil { + return nil + } + return r.HTML +} + +// GetSelf returns the Self field. +func (r *RepositoryRulesetLinks) GetSelf() *RepositoryRulesetLink { + if r == nil { + return nil + } + 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 { + return false + } + 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 { + return "" + } + return *r.Source +} + +// GetBranchNamePattern returns the BranchNamePattern field. +func (r *RepositoryRulesetRules) GetBranchNamePattern() *PatternRuleParameters { + if r == nil { + return nil + } + return r.BranchNamePattern +} + +// GetCodeScanning returns the CodeScanning field. +func (r *RepositoryRulesetRules) GetCodeScanning() *CodeScanningRuleParameters { + if r == nil { + return nil + } + return r.CodeScanning +} + +// GetCommitAuthorEmailPattern returns the CommitAuthorEmailPattern field. +func (r *RepositoryRulesetRules) GetCommitAuthorEmailPattern() *PatternRuleParameters { + if r == nil { + return nil + } + return r.CommitAuthorEmailPattern +} + +// GetCommitMessagePattern returns the CommitMessagePattern field. +func (r *RepositoryRulesetRules) GetCommitMessagePattern() *PatternRuleParameters { + if r == nil { + return nil + } + return r.CommitMessagePattern +} + +// GetCommitterEmailPattern returns the CommitterEmailPattern field. +func (r *RepositoryRulesetRules) GetCommitterEmailPattern() *PatternRuleParameters { + if r == nil { + return nil + } + return r.CommitterEmailPattern +} + +// GetCopilotCodeReview returns the CopilotCodeReview field. +func (r *RepositoryRulesetRules) GetCopilotCodeReview() *CopilotCodeReviewRuleParameters { + if r == nil { + return nil + } + return r.CopilotCodeReview +} + +// GetCreation returns the Creation field. +func (r *RepositoryRulesetRules) GetCreation() *EmptyRuleParameters { + if r == nil { + return nil + } + return r.Creation +} + +// GetDeletion returns the Deletion field. +func (r *RepositoryRulesetRules) GetDeletion() *EmptyRuleParameters { + if r == nil { + return nil + } + return r.Deletion +} + +// GetFileExtensionRestriction returns the FileExtensionRestriction field. +func (r *RepositoryRulesetRules) GetFileExtensionRestriction() *FileExtensionRestrictionRuleParameters { + if r == nil { + return nil + } + return r.FileExtensionRestriction +} + +// GetFilePathRestriction returns the FilePathRestriction field. +func (r *RepositoryRulesetRules) GetFilePathRestriction() *FilePathRestrictionRuleParameters { + if r == nil { + return nil + } + return r.FilePathRestriction +} + +// GetMaxFilePathLength returns the MaxFilePathLength field. +func (r *RepositoryRulesetRules) GetMaxFilePathLength() *MaxFilePathLengthRuleParameters { + if r == nil { + return nil + } + return r.MaxFilePathLength +} + +// GetMaxFileSize returns the MaxFileSize field. +func (r *RepositoryRulesetRules) GetMaxFileSize() *MaxFileSizeRuleParameters { + if r == nil { + return nil + } + return r.MaxFileSize +} + +// GetMergeQueue returns the MergeQueue field. +func (r *RepositoryRulesetRules) GetMergeQueue() *MergeQueueRuleParameters { + if r == nil { + return nil + } + return r.MergeQueue +} + +// GetNonFastForward returns the NonFastForward field. +func (r *RepositoryRulesetRules) GetNonFastForward() *EmptyRuleParameters { + if r == nil { + return nil + } + return r.NonFastForward +} + +// GetPullRequest returns the PullRequest field. +func (r *RepositoryRulesetRules) GetPullRequest() *PullRequestRuleParameters { + if r == nil { + return nil + } + return r.PullRequest +} + +// GetRepositoryCreate returns the RepositoryCreate field. +func (r *RepositoryRulesetRules) GetRepositoryCreate() *EmptyRuleParameters { + if r == nil { + return nil + } + return r.RepositoryCreate +} + +// GetRepositoryDelete returns the RepositoryDelete field. +func (r *RepositoryRulesetRules) GetRepositoryDelete() *EmptyRuleParameters { + if r == nil { + return nil + } + return r.RepositoryDelete +} + +// GetRepositoryName returns the RepositoryName field. +func (r *RepositoryRulesetRules) GetRepositoryName() *SimplePatternRuleParameters { + if r == nil { + return nil + } + return r.RepositoryName +} + +// GetRepositoryTransfer returns the RepositoryTransfer field. +func (r *RepositoryRulesetRules) GetRepositoryTransfer() *EmptyRuleParameters { + if r == nil { + return nil + } + return r.RepositoryTransfer +} + +// GetRepositoryVisibility returns the RepositoryVisibility field. +func (r *RepositoryRulesetRules) GetRepositoryVisibility() *RepositoryVisibilityRuleParameters { + if r == nil { + return nil + } + return r.RepositoryVisibility +} + +// GetRequiredDeployments returns the RequiredDeployments field. +func (r *RepositoryRulesetRules) GetRequiredDeployments() *RequiredDeploymentsRuleParameters { + if r == nil { + return nil + } + return r.RequiredDeployments +} + +// GetRequiredLinearHistory returns the RequiredLinearHistory field. +func (r *RepositoryRulesetRules) GetRequiredLinearHistory() *EmptyRuleParameters { + if r == nil { + return nil + } + return r.RequiredLinearHistory +} + +// GetRequiredSignatures returns the RequiredSignatures field. +func (r *RepositoryRulesetRules) GetRequiredSignatures() *EmptyRuleParameters { + if r == nil { + return nil + } + return r.RequiredSignatures +} + +// GetRequiredStatusChecks returns the RequiredStatusChecks field. +func (r *RepositoryRulesetRules) GetRequiredStatusChecks() *RequiredStatusChecksRuleParameters { + if r == nil { + return nil + } + return r.RequiredStatusChecks +} + +// GetTagNamePattern returns the TagNamePattern field. +func (r *RepositoryRulesetRules) GetTagNamePattern() *PatternRuleParameters { + if r == nil { + return nil + } + return r.TagNamePattern +} + +// GetUpdate returns the Update field. +func (r *RepositoryRulesetRules) GetUpdate() *UpdateRuleParameters { + if r == nil { + return nil + } + return r.Update +} + +// GetWorkflows returns the Workflows field. +func (r *RepositoryRulesetRules) GetWorkflows() *WorkflowsRuleParameters { + if r == nil { + return nil + } + return r.Workflows +} + +// GetConditionType returns the ConditionType field. +func (r *RepositoryRulesetUpdatedCondition) GetConditionType() *RepositoryRulesetChangeSource { + if r == nil { + return nil + } + return r.ConditionType +} + +// GetExclude returns the Exclude field. +func (r *RepositoryRulesetUpdatedCondition) GetExclude() *RepositoryRulesetChangeSources { + if r == nil { + return nil + } + return r.Exclude +} + +// GetInclude returns the Include field. +func (r *RepositoryRulesetUpdatedCondition) GetInclude() *RepositoryRulesetChangeSources { + if r == nil { + return nil + } + return r.Include +} + +// GetTarget returns the Target field. +func (r *RepositoryRulesetUpdatedCondition) GetTarget() *RepositoryRulesetChangeSource { + if r == nil { + return nil + } + return r.Target +} + +// GetChanges returns the Changes field. +func (r *RepositoryRulesetUpdatedConditions) GetChanges() *RepositoryRulesetUpdatedCondition { + if r == nil { + return nil + } + return r.Changes +} + +// GetCondition returns the Condition field. +func (r *RepositoryRulesetUpdatedConditions) GetCondition() *RepositoryRulesetConditions { + if r == nil { + return nil + } + return r.Condition +} + +// GetChanges returns the Changes field. +func (r *RepositoryRulesetUpdatedRules) GetChanges() *RepositoryRulesetChangedRule { + if r == nil { + return nil + } + return r.Changes +} + +// GetRule returns the Rule field. +func (r *RepositoryRulesetUpdatedRules) GetRule() *RepositoryRule { + if r == nil { + return nil + } + return r.Rule +} + +// GetCommit returns the Commit field. +func (r *RepositoryTag) GetCommit() *Commit { + if r == nil { + return nil + } + return r.Commit +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (r *RepositoryTag) GetName() string { + if r == nil || r.Name == nil { + return "" + } + return *r.Name +} + +// GetTarballURL returns the TarballURL field if it's non-nil, zero value otherwise. +func (r *RepositoryTag) GetTarballURL() string { + if r == nil || r.TarballURL == nil { + return "" + } + return *r.TarballURL +} + +// GetZipballURL returns the ZipballURL field if it's non-nil, zero value otherwise. +func (r *RepositoryTag) GetZipballURL() string { + if r == nil || r.ZipballURL == nil { + return "" + } + 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 +} + +// GetPublic returns the Public field. +func (r *RepositoryVisibilityRuleParameters) GetPublic() bool { + if r == nil { + return false + } + return r.Public +} + +// GetAffectedPackageName returns the AffectedPackageName field if it's non-nil, zero value otherwise. +func (r *RepositoryVulnerabilityAlert) GetAffectedPackageName() string { + if r == nil || r.AffectedPackageName == nil { + return "" + } + return *r.AffectedPackageName +} + +// GetAffectedRange returns the AffectedRange field if it's non-nil, zero value otherwise. +func (r *RepositoryVulnerabilityAlert) GetAffectedRange() string { + if r == nil || r.AffectedRange == nil { + return "" + } + return *r.AffectedRange +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (r *RepositoryVulnerabilityAlert) GetCreatedAt() Timestamp { + if r == nil || r.CreatedAt == nil { + return Timestamp{} + } + return *r.CreatedAt +} + +// GetDismissedAt returns the DismissedAt field if it's non-nil, zero value otherwise. +func (r *RepositoryVulnerabilityAlert) GetDismissedAt() Timestamp { + if r == nil || r.DismissedAt == nil { + return Timestamp{} + } + return *r.DismissedAt +} + +// GetDismisser returns the Dismisser field. +func (r *RepositoryVulnerabilityAlert) GetDismisser() *User { + if r == nil { + return nil + } + return r.Dismisser +} + +// GetDismissReason returns the DismissReason field if it's non-nil, zero value otherwise. +func (r *RepositoryVulnerabilityAlert) GetDismissReason() string { + if r == nil || r.DismissReason == nil { + return "" + } + return *r.DismissReason +} + +// GetExternalIdentifier returns the ExternalIdentifier field if it's non-nil, zero value otherwise. +func (r *RepositoryVulnerabilityAlert) GetExternalIdentifier() string { + if r == nil || r.ExternalIdentifier == nil { + return "" + } + return *r.ExternalIdentifier +} + +// GetExternalReference returns the ExternalReference field if it's non-nil, zero value otherwise. +func (r *RepositoryVulnerabilityAlert) GetExternalReference() string { + if r == nil || r.ExternalReference == nil { + return "" + } + return *r.ExternalReference +} + +// GetFixedIn returns the FixedIn field if it's non-nil, zero value otherwise. +func (r *RepositoryVulnerabilityAlert) GetFixedIn() string { + if r == nil || r.FixedIn == nil { + return "" + } + return *r.FixedIn +} + +// GetGitHubSecurityAdvisoryID returns the GitHubSecurityAdvisoryID field if it's non-nil, zero value otherwise. +func (r *RepositoryVulnerabilityAlert) GetGitHubSecurityAdvisoryID() string { + if r == nil || r.GitHubSecurityAdvisoryID == nil { + return "" + } + return *r.GitHubSecurityAdvisoryID +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (r *RepositoryVulnerabilityAlert) GetID() int64 { + if r == nil || r.ID == nil { + return 0 + } + return *r.ID +} + +// GetSeverity returns the Severity field if it's non-nil, zero value otherwise. +func (r *RepositoryVulnerabilityAlert) GetSeverity() string { + if r == nil || r.Severity == nil { + return "" + } + return *r.Severity +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (r *RepositoryVulnerabilityAlertEvent) GetAction() string { + if r == nil || r.Action == nil { + return "" + } + return *r.Action +} + +// GetAlert returns the Alert field. +func (r *RepositoryVulnerabilityAlertEvent) GetAlert() *RepositoryVulnerabilityAlert { + if r == nil { + return nil + } + return r.Alert +} + +// GetInstallation returns the Installation field. +func (r *RepositoryVulnerabilityAlertEvent) GetInstallation() *Installation { + if r == nil { + return nil + } + return r.Installation +} + +// GetOrg returns the Org field. +func (r *RepositoryVulnerabilityAlertEvent) GetOrg() *Organization { + if r == nil { + return nil + } + return r.Org +} + +// GetRepository returns the Repository field. +func (r *RepositoryVulnerabilityAlertEvent) GetRepository() *Repository { + if r == nil { + return nil + } + return r.Repository +} + +// GetSender returns the Sender field. +func (r *RepositoryVulnerabilityAlertEvent) GetSender() *User { + if r == nil { + return nil + } + return r.Sender +} + +// GetForkRepos returns the ForkRepos field if it's non-nil, zero value otherwise. +func (r *RepoStats) GetForkRepos() int { + if r == nil || r.ForkRepos == nil { + return 0 + } + return *r.ForkRepos +} + +// GetOrgRepos returns the OrgRepos field if it's non-nil, zero value otherwise. +func (r *RepoStats) GetOrgRepos() int { + if r == nil || r.OrgRepos == nil { + return 0 + } + return *r.OrgRepos +} + +// GetRootRepos returns the RootRepos field if it's non-nil, zero value otherwise. +func (r *RepoStats) GetRootRepos() int { + if r == nil || r.RootRepos == nil { + return 0 + } + return *r.RootRepos +} + +// GetTotalPushes returns the TotalPushes field if it's non-nil, zero value otherwise. +func (r *RepoStats) GetTotalPushes() int { + if r == nil || r.TotalPushes == nil { + return 0 + } + return *r.TotalPushes +} + +// GetTotalRepos returns the TotalRepos field if it's non-nil, zero value otherwise. +func (r *RepoStats) GetTotalRepos() int { + if r == nil || r.TotalRepos == nil { + return 0 + } + return *r.TotalRepos +} + +// GetTotalWikis returns the TotalWikis field if it's non-nil, zero value otherwise. +func (r *RepoStats) GetTotalWikis() int { + if r == nil || r.TotalWikis == nil { + return 0 + } + return *r.TotalWikis +} + +// GetAvatarURL returns the AvatarURL field if it's non-nil, zero value otherwise. +func (r *RepoStatus) GetAvatarURL() string { + if r == nil || r.AvatarURL == nil { + return "" + } + return *r.AvatarURL +} + +// GetContext returns the Context field if it's non-nil, zero value otherwise. +func (r *RepoStatus) GetContext() string { + if r == nil || r.Context == nil { + return "" + } + return *r.Context +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (r *RepoStatus) GetCreatedAt() Timestamp { + if r == nil || r.CreatedAt == nil { + return Timestamp{} + } + return *r.CreatedAt +} + +// GetCreator returns the Creator field. +func (r *RepoStatus) GetCreator() *User { + if r == nil { + return nil + } + return r.Creator +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (r *RepoStatus) GetDescription() string { + if r == nil || r.Description == nil { + return "" + } + return *r.Description +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (r *RepoStatus) GetID() int64 { + if r == nil || r.ID == nil { + return 0 + } + return *r.ID +} + +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (r *RepoStatus) GetNodeID() string { + if r == nil || r.NodeID == nil { + return "" + } + return *r.NodeID +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (r *RepoStatus) GetState() string { + if r == nil || r.State == nil { + return "" + } + return *r.State +} + +// GetTargetURL returns the TargetURL field if it's non-nil, zero value otherwise. +func (r *RepoStatus) GetTargetURL() string { + if r == nil || r.TargetURL == nil { + return "" + } + return *r.TargetURL +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (r *RepoStatus) GetUpdatedAt() Timestamp { + if r == nil || r.UpdatedAt == nil { + return Timestamp{} + } + return *r.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (r *RepoStatus) GetURL() string { + if r == nil || r.URL == nil { + return "" + } + 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 { + return false + } + 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 { + return "" + } + 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 { + return "" + } + 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 { + return "" + } + return *r.Type +} + +// GetAppID returns the AppID field if it's non-nil, zero value otherwise. +func (r *RequiredStatusCheck) GetAppID() int64 { + if r == nil || r.AppID == nil { + return 0 + } + 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 { + return nil + } + return *r.Checks +} + +// GetContexts returns the Contexts field if it's non-nil, zero value otherwise. +func (r *RequiredStatusChecks) GetContexts() []string { + if r == nil || r.Contexts == nil { + return nil + } + return *r.Contexts +} + +// GetContextsURL returns the ContextsURL field if it's non-nil, zero value otherwise. +func (r *RequiredStatusChecks) GetContextsURL() string { + if r == nil || r.ContextsURL == nil { + return "" + } + 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 { + return "" + } + 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 { + return "" + } + 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 { + return false + } + return *r.Strict +} + +// GetDoNotEnforceOnCreate returns the DoNotEnforceOnCreate field if it's non-nil, zero value otherwise. +func (r *RequiredStatusChecksRuleParameters) GetDoNotEnforceOnCreate() bool { + if r == nil || r.DoNotEnforceOnCreate == nil { + return false + } + 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 { + return false + } + 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 { + return "" + } + 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 { + return "" + } + return *r.Reason +} + +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (r *Rule) GetDescription() string { + if r == nil || r.Description == nil { + return "" + } + return *r.Description +} + +// GetFullDescription returns the FullDescription field if it's non-nil, zero value otherwise. +func (r *Rule) GetFullDescription() string { + if r == nil || r.FullDescription == nil { + return "" + } + return *r.FullDescription +} + +// GetHelp returns the Help field if it's non-nil, zero value otherwise. +func (r *Rule) GetHelp() string { + if r == nil || r.Help == nil { + return "" + } + return *r.Help +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (r *Rule) GetID() string { + if r == nil || r.ID == nil { + return "" + } + return *r.ID +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (r *Rule) GetName() string { + if r == nil || r.Name == nil { + return "" + } + return *r.Name +} + +// GetSecuritySeverityLevel returns the SecuritySeverityLevel field if it's non-nil, zero value otherwise. +func (r *Rule) GetSecuritySeverityLevel() string { + if r == nil || r.SecuritySeverityLevel == nil { + return "" + } + return *r.SecuritySeverityLevel +} + +// GetSeverity returns the Severity field if it's non-nil, zero value otherwise. +func (r *Rule) GetSeverity() string { + if r == nil || r.Severity == nil { + return "" + } + 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 { + return 0 + } + return *r.MinimumApprovals +} + +// GetReviewer returns the Reviewer field. +func (r *RulesetRequiredReviewer) GetReviewer() *RulesetReviewer { + if r == nil { + return nil + } + return r.Reviewer +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (r *RulesetReviewer) GetID() int64 { + if r == nil || r.ID == nil { + return 0 + } + return *r.ID +} + +// GetType returns the Type field. +func (r *RulesetReviewer) GetType() *RulesetReviewerType { + if r == nil { + return nil + } + 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 { + return 0 + } + 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 { + return "" + } + return *r.Ref +} + +// GetRepositoryID returns the RepositoryID field if it's non-nil, zero value otherwise. +func (r *RuleWorkflow) GetRepositoryID() int64 { + if r == nil || r.RepositoryID == nil { + return 0 + } + return *r.RepositoryID +} + +// GetSHA returns the SHA field if it's non-nil, zero value otherwise. +func (r *RuleWorkflow) GetSHA() string { + if r == nil || r.SHA == nil { + return "" + } + return *r.SHA +} + +// GetBusy returns the Busy field if it's non-nil, zero value otherwise. +func (r *Runner) GetBusy() bool { + if r == nil || r.Busy == nil { + return false + } + return *r.Busy +} + +// GetEphemeral returns the Ephemeral field if it's non-nil, zero value otherwise. +func (r *Runner) GetEphemeral() bool { + if r == nil || r.Ephemeral == nil { + return false + } + return *r.Ephemeral +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (r *Runner) GetID() int64 { + if r == nil || r.ID == nil { + return 0 + } + 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 { + return "" + } + return *r.Name +} + +// GetOS returns the OS field if it's non-nil, zero value otherwise. +func (r *Runner) GetOS() string { + if r == nil || r.OS == nil { + return "" + } + return *r.OS +} + +// GetRunnerGroupID returns the RunnerGroupID field if it's non-nil, zero value otherwise. +func (r *Runner) GetRunnerGroupID() int64 { + if r == nil || r.RunnerGroupID == nil { + return 0 + } + return *r.RunnerGroupID +} + +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (r *Runner) GetStatus() string { + if r == nil || r.Status == nil { + return "" + } + return *r.Status +} + +// GetVersion returns the Version field if it's non-nil, zero value otherwise. +func (r *Runner) GetVersion() string { + if r == nil || r.Version == nil { + return "" + } + return *r.Version +} + +// GetArchitecture returns the Architecture field if it's non-nil, zero value otherwise. +func (r *RunnerApplicationDownload) GetArchitecture() string { + if r == nil || r.Architecture == nil { + return "" + } + return *r.Architecture +} + +// GetDownloadURL returns the DownloadURL field if it's non-nil, zero value otherwise. +func (r *RunnerApplicationDownload) GetDownloadURL() string { + if r == nil || r.DownloadURL == nil { + return "" + } + return *r.DownloadURL +} + +// GetFilename returns the Filename field if it's non-nil, zero value otherwise. +func (r *RunnerApplicationDownload) GetFilename() string { + if r == nil || r.Filename == nil { + return "" + } + return *r.Filename +} + +// GetOS returns the OS field if it's non-nil, zero value otherwise. +func (r *RunnerApplicationDownload) GetOS() string { + if r == nil || r.OS == nil { + return "" + } + return *r.OS +} + +// GetSHA256Checksum returns the SHA256Checksum field if it's non-nil, zero value otherwise. +func (r *RunnerApplicationDownload) GetSHA256Checksum() string { + if r == nil || r.SHA256Checksum == nil { + return "" + } + return *r.SHA256Checksum +} + +// GetTempDownloadToken returns the TempDownloadToken field if it's non-nil, zero value otherwise. +func (r *RunnerApplicationDownload) GetTempDownloadToken() string { + if r == nil || r.TempDownloadToken == nil { + return "" + } + return *r.TempDownloadToken +} + // GetAllowsPublicRepositories returns the AllowsPublicRepositories field if it's non-nil, zero value otherwise. -func (c *CreateEnterpriseRunnerGroupRequest) GetAllowsPublicRepositories() bool { - if c == nil || c.AllowsPublicRepositories == nil { +func (r *RunnerGroup) GetAllowsPublicRepositories() bool { + if r == nil || r.AllowsPublicRepositories == nil { + return false + } + return *r.AllowsPublicRepositories +} + +// GetDefault returns the Default field if it's non-nil, zero value otherwise. +func (r *RunnerGroup) GetDefault() bool { + if r == nil || r.Default == nil { + return false + } + return *r.Default +} + +// GetHostedRunnersURL returns the HostedRunnersURL field if it's non-nil, zero value otherwise. +func (r *RunnerGroup) GetHostedRunnersURL() string { + if r == nil || r.HostedRunnersURL == nil { + return "" + } + return *r.HostedRunnersURL +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (r *RunnerGroup) GetID() int64 { + if r == nil || r.ID == nil { + return 0 + } + return *r.ID +} + +// GetInherited returns the Inherited field if it's non-nil, zero value otherwise. +func (r *RunnerGroup) GetInherited() bool { + if r == nil || r.Inherited == nil { + return false + } + return *r.Inherited +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (r *RunnerGroup) GetName() string { + if r == nil || r.Name == nil { + return "" + } + return *r.Name +} + +// GetNetworkConfigurationID returns the NetworkConfigurationID field if it's non-nil, zero value otherwise. +func (r *RunnerGroup) GetNetworkConfigurationID() string { + if r == nil || r.NetworkConfigurationID == nil { + return "" + } + return *r.NetworkConfigurationID +} + +// GetRestrictedToWorkflows returns the RestrictedToWorkflows field if it's non-nil, zero value otherwise. +func (r *RunnerGroup) GetRestrictedToWorkflows() bool { + if r == nil || r.RestrictedToWorkflows == nil { + return false + } + return *r.RestrictedToWorkflows +} + +// GetRunnersURL returns the RunnersURL field if it's non-nil, zero value otherwise. +func (r *RunnerGroup) GetRunnersURL() string { + if r == nil || r.RunnersURL == nil { + return "" + } + return *r.RunnersURL +} + +// GetSelectedRepositoriesURL returns the SelectedRepositoriesURL field if it's non-nil, zero value otherwise. +func (r *RunnerGroup) GetSelectedRepositoriesURL() string { + if r == nil || r.SelectedRepositoriesURL == nil { + return "" + } + 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 { + return "" + } + return *r.Visibility +} + +// GetWorkflowRestrictionsReadOnly returns the WorkflowRestrictionsReadOnly field if it's non-nil, zero value otherwise. +func (r *RunnerGroup) GetWorkflowRestrictionsReadOnly() bool { + if r == nil || r.WorkflowRestrictionsReadOnly == nil { + return false + } + return *r.WorkflowRestrictionsReadOnly +} + +// 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 { + return 0 + } + return *r.ID +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (r *RunnerLabels) GetName() string { + if r == nil || r.Name == nil { + return "" + } + return *r.Name +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (r *RunnerLabels) GetType() string { + if r == nil || r.Type == nil { + return "" + } + 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 { + return "" + } + return *s.CheckoutURI +} + +// GetCommitSHA returns the CommitSHA field. +func (s *SarifAnalysis) GetCommitSHA() string { + if s == nil { + return "" + } + return s.CommitSHA +} + +// GetRef returns the Ref field. +func (s *SarifAnalysis) GetRef() string { + if s == nil { + return "" + } + return s.Ref +} + +// GetSarif returns the Sarif field. +func (s *SarifAnalysis) GetSarif() string { + if s == nil { + return "" + } + return s.Sarif +} + +// GetStartedAt returns the StartedAt field if it's non-nil, zero value otherwise. +func (s *SarifAnalysis) GetStartedAt() Timestamp { + if s == nil || s.StartedAt == nil { + return Timestamp{} + } + return *s.StartedAt +} + +// GetToolName returns the ToolName field if it's non-nil, zero value otherwise. +func (s *SarifAnalysis) GetToolName() string { + if s == nil || s.ToolName == nil { + return "" + } + return *s.ToolName +} + +// GetValidate returns the Validate field if it's non-nil, zero value otherwise. +func (s *SarifAnalysis) GetValidate() bool { + if s == nil || s.Validate == nil { + return false + } + return *s.Validate +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (s *SarifID) GetID() string { + if s == nil || s.ID == nil { + return "" + } + return *s.ID +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (s *SarifID) GetURL() string { + if s == nil || s.URL == nil { + return "" + } + return *s.URL +} + +// GetAnalysesURL returns the AnalysesURL field if it's non-nil, zero value otherwise. +func (s *SARIFUpload) GetAnalysesURL() string { + if s == nil || s.AnalysesURL == nil { + return "" + } + return *s.AnalysesURL +} + +// GetProcessingStatus returns the ProcessingStatus field if it's non-nil, zero value otherwise. +func (s *SARIFUpload) GetProcessingStatus() string { + if s == nil || s.ProcessingStatus == nil { + return "" + } + return *s.ProcessingStatus +} + +// GetSBOM returns the SBOM field. +func (s *SBOM) GetSBOM() *SBOMInfo { + if s == nil { + return nil + } + return s.SBOM +} + +// GetCreationInfo returns the CreationInfo field. +func (s *SBOMInfo) GetCreationInfo() *CreationInfo { + if s == nil { + return nil + } + return s.CreationInfo +} + +// GetDataLicense returns the DataLicense field if it's non-nil, zero value otherwise. +func (s *SBOMInfo) GetDataLicense() string { + if s == nil || s.DataLicense == nil { + return "" + } + 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 { + return "" + } + return *s.DocumentNamespace +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (s *SBOMInfo) GetName() string { + if s == nil || s.Name == nil { + return "" + } + 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 { + return "" + } + return *s.SPDXID +} + +// GetSPDXVersion returns the SPDXVersion field if it's non-nil, zero value otherwise. +func (s *SBOMInfo) GetSPDXVersion() string { + if s == nil || s.SPDXVersion == nil { + return "" + } + 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 { + return "" + } + return *s.AnalysisKey +} + +// GetCategory returns the Category field if it's non-nil, zero value otherwise. +func (s *ScanningAnalysis) GetCategory() string { + if s == nil || s.Category == nil { + return "" + } + return *s.Category +} + +// GetCommitSHA returns the CommitSHA field if it's non-nil, zero value otherwise. +func (s *ScanningAnalysis) GetCommitSHA() string { + if s == nil || s.CommitSHA == nil { + return "" + } + return *s.CommitSHA +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (s *ScanningAnalysis) GetCreatedAt() Timestamp { + if s == nil || s.CreatedAt == nil { + return Timestamp{} + } + return *s.CreatedAt +} + +// GetDeletable returns the Deletable field if it's non-nil, zero value otherwise. +func (s *ScanningAnalysis) GetDeletable() bool { + if s == nil || s.Deletable == nil { + return false + } + return *s.Deletable +} + +// GetEnvironment returns the Environment field if it's non-nil, zero value otherwise. +func (s *ScanningAnalysis) GetEnvironment() string { + if s == nil || s.Environment == nil { + return "" + } + return *s.Environment +} + +// GetError returns the Error field if it's non-nil, zero value otherwise. +func (s *ScanningAnalysis) GetError() string { + if s == nil || s.Error == nil { + return "" + } + return *s.Error +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (s *ScanningAnalysis) GetID() int64 { + if s == nil || s.ID == nil { + return 0 + } + return *s.ID +} + +// GetRef returns the Ref field if it's non-nil, zero value otherwise. +func (s *ScanningAnalysis) GetRef() string { + if s == nil || s.Ref == nil { + return "" + } + return *s.Ref +} + +// GetResultsCount returns the ResultsCount field if it's non-nil, zero value otherwise. +func (s *ScanningAnalysis) GetResultsCount() int { + if s == nil || s.ResultsCount == nil { + return 0 + } + return *s.ResultsCount +} + +// GetRulesCount returns the RulesCount field if it's non-nil, zero value otherwise. +func (s *ScanningAnalysis) GetRulesCount() int { + if s == nil || s.RulesCount == nil { + return 0 + } + return *s.RulesCount +} + +// GetSarifID returns the SarifID field if it's non-nil, zero value otherwise. +func (s *ScanningAnalysis) GetSarifID() string { + if s == nil || s.SarifID == nil { + return "" + } + return *s.SarifID +} + +// GetTool returns the Tool field. +func (s *ScanningAnalysis) GetTool() *Tool { + if s == nil { + return nil + } + return s.Tool +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (s *ScanningAnalysis) GetURL() string { + if s == nil || s.URL == nil { + return "" + } + return *s.URL +} + +// GetWarning returns the Warning field if it's non-nil, zero value otherwise. +func (s *ScanningAnalysis) GetWarning() string { + if s == nil || s.Warning == nil { + return "" + } + 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 { + return "" + } + 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 { + return "" + } + return *s.Display +} + +// GetRef returns the Ref field if it's non-nil, zero value otherwise. +func (s *SCIMEnterpriseDisplayReference) GetRef() string { + if s == nil || s.Ref == nil { + return "" + } + 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 { + return "" + } + return *s.DisplayName +} + +// GetExternalID returns the ExternalID field if it's non-nil, zero value otherwise. +func (s *SCIMEnterpriseGroupAttributes) GetExternalID() string { + if s == nil || s.ExternalID == nil { + return "" + } + return *s.ExternalID +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (s *SCIMEnterpriseGroupAttributes) GetID() string { + if s == nil || s.ID == nil { + return "" + } + 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 { + return nil + } + 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 { + return 0 + } + 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 { + return 0 + } + return *s.StartIndex +} + +// GetTotalResults returns the TotalResults field if it's non-nil, zero value otherwise. +func (s *SCIMEnterpriseGroups) GetTotalResults() int { + if s == nil || s.TotalResults == nil { + return 0 + } + return *s.TotalResults +} + +// GetCreated returns the Created field if it's non-nil, zero value otherwise. +func (s *SCIMEnterpriseMeta) GetCreated() Timestamp { + if s == nil || s.Created == nil { + return Timestamp{} + } + return *s.Created +} + +// GetLastModified returns the LastModified field if it's non-nil, zero value otherwise. +func (s *SCIMEnterpriseMeta) GetLastModified() Timestamp { + if s == nil || s.LastModified == nil { + return Timestamp{} + } + return *s.LastModified +} + +// GetLocation returns the Location field if it's non-nil, zero value otherwise. +func (s *SCIMEnterpriseMeta) GetLocation() string { + if s == nil || s.Location == nil { + return "" + } + 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 { + return "" + } + return *s.ID +} + +// GetMeta returns the Meta field. +func (s *SCIMEnterpriseUserAttributes) GetMeta() *SCIMEnterpriseMeta { + if s == nil { + return nil + } + return s.Meta +} + +// GetName returns the Name field. +func (s *SCIMEnterpriseUserAttributes) GetName() *SCIMEnterpriseUserName { + if s == nil { + return nil + } + 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 { + return "" + } + 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 { + return "" + } + return *s.MiddleName +} + +// GetDisplay returns the Display field if it's non-nil, zero value otherwise. +func (s *SCIMEnterpriseUserRole) GetDisplay() string { + if s == nil || s.Display == nil { + return "" + } + return *s.Display +} + +// GetPrimary returns the Primary field if it's non-nil, zero value otherwise. +func (s *SCIMEnterpriseUserRole) GetPrimary() bool { + if s == nil || s.Primary == nil { + return false + } + return *s.Primary +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (s *SCIMEnterpriseUserRole) GetType() string { + if s == nil || s.Type == nil { + return "" + } + 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 { + return 0 + } + 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 { + return 0 + } + return *s.StartIndex +} + +// GetTotalResults returns the TotalResults field if it's non-nil, zero value otherwise. +func (s *SCIMEnterpriseUsers) GetTotalResults() int { + if s == nil || s.TotalResults == nil { + return 0 + } + return *s.TotalResults +} + +// GetCreated returns the Created field if it's non-nil, zero value otherwise. +func (s *SCIMMeta) GetCreated() Timestamp { + if s == nil || s.Created == nil { + return Timestamp{} + } + return *s.Created +} + +// GetLastModified returns the LastModified field if it's non-nil, zero value otherwise. +func (s *SCIMMeta) GetLastModified() Timestamp { + if s == nil || s.LastModified == nil { + return Timestamp{} + } + return *s.LastModified +} + +// GetLocation returns the Location field if it's non-nil, zero value otherwise. +func (s *SCIMMeta) GetLocation() string { + if s == nil || s.Location == nil { + return "" + } + return *s.Location +} + +// GetResourceType returns the ResourceType field if it's non-nil, zero value otherwise. +func (s *SCIMMeta) GetResourceType() string { + if s == nil || s.ResourceType == nil { + return "" + } + return *s.ResourceType +} + +// GetItemsPerPage returns the ItemsPerPage field if it's non-nil, zero value otherwise. +func (s *SCIMProvisionedIdentities) GetItemsPerPage() int { + if s == nil || s.ItemsPerPage == nil { + return 0 + } + 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 { + return 0 + } + return *s.StartIndex +} + +// GetTotalResults returns the TotalResults field if it's non-nil, zero value otherwise. +func (s *SCIMProvisionedIdentities) GetTotalResults() int { + if s == nil || s.TotalResults == nil { + return 0 + } + return *s.TotalResults +} + +// GetActive returns the Active field if it's non-nil, zero value otherwise. +func (s *SCIMUserAttributes) GetActive() bool { + if s == nil || s.Active == nil { + return false + } + return *s.Active +} + +// GetDisplayName returns the DisplayName field if it's non-nil, zero value otherwise. +func (s *SCIMUserAttributes) GetDisplayName() string { + if s == nil || s.DisplayName == nil { + return "" + } + 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 { + return "" + } + 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 { + return "" + } + return *s.ID +} + +// GetMeta returns the Meta field. +func (s *SCIMUserAttributes) GetMeta() *SCIMMeta { + if s == nil { + return nil + } + 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 { + return false + } + return *s.Primary +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (s *SCIMUserEmail) GetType() string { + if s == nil || s.Type == nil { + return "" + } + 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 { + return "" + } + 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 { + return "" + } + return *s.Display +} + +// GetPrimary returns the Primary field if it's non-nil, zero value otherwise. +func (s *SCIMUserRole) GetPrimary() bool { + if s == nil || s.Primary == nil { + return false + } + return *s.Primary +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (s *SCIMUserRole) GetType() string { + if s == nil || s.Type == nil { + return "" + } + 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 { + return false + } + return *s.AdvancedSearch +} + +// GetOrder returns the Order field. +func (s *SearchOptions) GetOrder() string { + if s == nil { + return "" + } + return s.Order +} + +// GetSearchType returns the SearchType field. +func (s *SearchOptions) GetSearchType() string { + if s == nil { + return "" + } + return s.SearchType +} + +// 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 +} + +// GetEncryptedValue returns the EncryptedValue field. +func (s *SecretOrgRequest) GetEncryptedValue() string { + if s == nil { + return "" + } + return s.EncryptedValue +} + +// GetKeyID returns the KeyID field. +func (s *SecretOrgRequest) GetKeyID() string { + if s == nil { + return "" + } + return s.KeyID +} + +// GetSelectedRepositoryIDs returns the SelectedRepositoryIDs slice if it's non-nil, nil otherwise. +func (s *SecretOrgRequest) GetSelectedRepositoryIDs() []int64 { + if s == nil || s.SelectedRepositoryIDs == nil { + return nil + } + return s.SelectedRepositoryIDs +} + +// GetVisibility returns the Visibility field. +func (s *SecretOrgRequest) GetVisibility() string { + if s == nil { + return "" + } + return s.Visibility +} + +// GetEncryptedValue returns the EncryptedValue field. +func (s *SecretRequest) GetEncryptedValue() string { + if s == nil { + return "" + } + return s.EncryptedValue +} + +// GetKeyID returns the KeyID field. +func (s *SecretRequest) GetKeyID() string { + if s == nil { + return "" + } + return s.KeyID +} + +// 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 { + return "" + } + return *s.Status +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlert) GetCreatedAt() Timestamp { + if s == nil || s.CreatedAt == nil { + return Timestamp{} + } + return *s.CreatedAt +} + +// GetFirstLocationDetected returns the FirstLocationDetected field. +func (s *SecretScanningAlert) GetFirstLocationDetected() *SecretScanningAlertLocationDetails { + if s == nil { + return nil + } + return s.FirstLocationDetected +} + +// GetHasMoreLocations returns the HasMoreLocations field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlert) GetHasMoreLocations() bool { + if s == nil || s.HasMoreLocations == nil { + return false + } + return *s.HasMoreLocations +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlert) GetHTMLURL() string { + if s == nil || s.HTMLURL == nil { + return "" + } + return *s.HTMLURL +} + +// GetIsBase64Encoded returns the IsBase64Encoded field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlert) GetIsBase64Encoded() bool { + if s == nil || s.IsBase64Encoded == nil { + return false + } + return *s.IsBase64Encoded +} + +// GetLocationsURL returns the LocationsURL field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlert) GetLocationsURL() string { + if s == nil || s.LocationsURL == nil { + return "" + } + return *s.LocationsURL +} + +// GetMultiRepo returns the MultiRepo field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlert) GetMultiRepo() bool { + if s == nil || s.MultiRepo == nil { + return false + } + return *s.MultiRepo +} + +// GetNumber returns the Number field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlert) GetNumber() int { + if s == nil || s.Number == nil { + return 0 + } + return *s.Number +} + +// GetPubliclyLeaked returns the PubliclyLeaked field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlert) GetPubliclyLeaked() bool { + if s == nil || s.PubliclyLeaked == nil { + return false + } + return *s.PubliclyLeaked +} + +// GetPushProtectionBypassed returns the PushProtectionBypassed field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlert) GetPushProtectionBypassed() bool { + if s == nil || s.PushProtectionBypassed == nil { + return false + } + return *s.PushProtectionBypassed +} + +// GetPushProtectionBypassedAt returns the PushProtectionBypassedAt field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlert) GetPushProtectionBypassedAt() Timestamp { + if s == nil || s.PushProtectionBypassedAt == nil { + return Timestamp{} + } + return *s.PushProtectionBypassedAt +} + +// GetPushProtectionBypassedBy returns the PushProtectionBypassedBy field. +func (s *SecretScanningAlert) GetPushProtectionBypassedBy() *User { + if s == nil { + return nil + } + return s.PushProtectionBypassedBy +} + +// GetPushProtectionBypassRequestComment returns the PushProtectionBypassRequestComment field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlert) GetPushProtectionBypassRequestComment() string { + if s == nil || s.PushProtectionBypassRequestComment == nil { + return "" + } + return *s.PushProtectionBypassRequestComment +} + +// GetPushProtectionBypassRequestHTMLURL returns the PushProtectionBypassRequestHTMLURL field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlert) GetPushProtectionBypassRequestHTMLURL() string { + if s == nil || s.PushProtectionBypassRequestHTMLURL == nil { + return "" + } + return *s.PushProtectionBypassRequestHTMLURL +} + +// GetPushProtectionBypassRequestReviewer returns the PushProtectionBypassRequestReviewer field. +func (s *SecretScanningAlert) GetPushProtectionBypassRequestReviewer() *User { + if s == nil { + return nil + } + return s.PushProtectionBypassRequestReviewer +} + +// GetPushProtectionBypassRequestReviewerComment returns the PushProtectionBypassRequestReviewerComment field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlert) GetPushProtectionBypassRequestReviewerComment() string { + if s == nil || s.PushProtectionBypassRequestReviewerComment == nil { + return "" + } + return *s.PushProtectionBypassRequestReviewerComment +} + +// GetRepository returns the Repository field. +func (s *SecretScanningAlert) GetRepository() *Repository { + if s == nil { + return nil + } + return s.Repository +} + +// GetResolution returns the Resolution field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlert) GetResolution() string { + if s == nil || s.Resolution == nil { + return "" + } + return *s.Resolution +} + +// GetResolutionComment returns the ResolutionComment field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlert) GetResolutionComment() string { + if s == nil || s.ResolutionComment == nil { + return "" + } + return *s.ResolutionComment +} + +// GetResolvedAt returns the ResolvedAt field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlert) GetResolvedAt() Timestamp { + if s == nil || s.ResolvedAt == nil { + return Timestamp{} + } + return *s.ResolvedAt +} + +// GetResolvedBy returns the ResolvedBy field. +func (s *SecretScanningAlert) GetResolvedBy() *User { + if s == nil { + return nil + } + return s.ResolvedBy +} + +// GetSecret returns the Secret field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlert) GetSecret() string { + if s == nil || s.Secret == nil { + return "" + } + return *s.Secret +} + +// GetSecretType returns the SecretType field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlert) GetSecretType() string { + if s == nil || s.SecretType == nil { + return "" + } + return *s.SecretType +} + +// GetSecretTypeDisplayName returns the SecretTypeDisplayName field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlert) GetSecretTypeDisplayName() string { + if s == nil || s.SecretTypeDisplayName == nil { + return "" + } + return *s.SecretTypeDisplayName +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlert) GetState() string { + if s == nil || s.State == nil { + return "" + } + return *s.State +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlert) GetUpdatedAt() Timestamp { + if s == nil || s.UpdatedAt == nil { + return Timestamp{} + } + return *s.UpdatedAt +} + +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlert) GetURL() string { + if s == nil || s.URL == nil { + return "" + } + return *s.URL +} + +// GetValidity returns the Validity field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlert) GetValidity() string { + if s == nil || s.Validity == nil { + return "" + } + return *s.Validity +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlertEvent) GetAction() string { + if s == nil || s.Action == nil { + return "" + } + return *s.Action +} + +// GetAlert returns the Alert field. +func (s *SecretScanningAlertEvent) GetAlert() *SecretScanningAlert { + if s == nil { + return nil + } + return s.Alert +} + +// GetEnterprise returns the Enterprise field. +func (s *SecretScanningAlertEvent) GetEnterprise() *Enterprise { + if s == nil { + return nil + } + return s.Enterprise +} + +// GetInstallation returns the Installation field. +func (s *SecretScanningAlertEvent) GetInstallation() *Installation { + if s == nil { + return nil + } + return s.Installation +} + +// GetOrganization returns the Organization field. +func (s *SecretScanningAlertEvent) GetOrganization() *Organization { + if s == nil { + return nil + } + return s.Organization +} + +// GetRepo returns the Repo field. +func (s *SecretScanningAlertEvent) GetRepo() *Repository { + if s == nil { + return nil + } + return s.Repo +} + +// GetSender returns the Sender field. +func (s *SecretScanningAlertEvent) GetSender() *User { + if s == nil { + return nil + } + 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 *c.AllowsPublicRepositories + 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 { + return nil + } + return s.Details +} + +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlertLocation) GetType() string { + if s == nil || s.Type == nil { + return "" + } + return *s.Type +} + +// GetBlobSHA returns the BlobSHA field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlertLocationDetails) GetBlobSHA() string { + if s == nil || s.BlobSHA == nil { + return "" + } + return *s.BlobSHA +} + +// GetBlobURL returns the BlobURL field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlertLocationDetails) GetBlobURL() string { + if s == nil || s.BlobURL == nil { + return "" + } + return *s.BlobURL +} + +// GetCommitSHA returns the CommitSHA field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlertLocationDetails) GetCommitSHA() string { + if s == nil || s.CommitSHA == nil { + return "" + } + return *s.CommitSHA +} + +// GetCommitURL returns the CommitURL field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlertLocationDetails) GetCommitURL() string { + if s == nil || s.CommitURL == nil { + return "" + } + return *s.CommitURL +} + +// GetEndColumn returns the EndColumn field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlertLocationDetails) GetEndColumn() int { + if s == nil || s.EndColumn == nil { + return 0 + } + return *s.EndColumn +} + +// GetEndLine returns the EndLine field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlertLocationDetails) GetEndLine() int { + if s == nil || s.EndLine == nil { + return 0 + } + return *s.EndLine +} + +// GetPath returns the Path field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlertLocationDetails) GetPath() string { + if s == nil || s.Path == nil { + return "" + } + return *s.Path +} + +// GetPullRequestCommentURL returns the PullRequestCommentURL field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlertLocationDetails) GetPullRequestCommentURL() string { + if s == nil || s.PullRequestCommentURL == nil { + return "" + } + return *s.PullRequestCommentURL +} + +// GetStartColumn returns the StartColumn field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlertLocationDetails) GetStartColumn() int { + if s == nil || s.StartColumn == nil { + return 0 + } + return *s.StartColumn +} + +// GetStartline returns the Startline field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlertLocationDetails) GetStartline() int { + if s == nil || s.Startline == nil { + return 0 + } + return *s.Startline +} + +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlertLocationEvent) GetAction() string { + if s == nil || s.Action == nil { + return "" + } + return *s.Action +} + +// GetAlert returns the Alert field. +func (s *SecretScanningAlertLocationEvent) GetAlert() *SecretScanningAlert { + if s == nil { + return nil + } + return s.Alert +} + +// GetInstallation returns the Installation field. +func (s *SecretScanningAlertLocationEvent) GetInstallation() *Installation { + if s == nil { + return nil + } + return s.Installation +} + +// GetLocation returns the Location field. +func (s *SecretScanningAlertLocationEvent) GetLocation() *SecretScanningAlertLocation { + if s == nil { + return nil + } + return s.Location +} + +// GetOrganization returns the Organization field. +func (s *SecretScanningAlertLocationEvent) GetOrganization() *Organization { + if s == nil { + return nil + } + return s.Organization +} + +// GetRepo returns the Repo field. +func (s *SecretScanningAlertLocationEvent) GetRepo() *Repository { + if s == nil { + return nil + } + return s.Repo +} + +// GetSender returns the Sender field. +func (s *SecretScanningAlertLocationEvent) GetSender() *User { + if s == nil { + return nil + } + return s.Sender +} + +// GetResolution returns the Resolution field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlertUpdateOptions) GetResolution() string { + if s == nil || s.Resolution == nil { + return "" + } + return *s.Resolution +} + +// GetResolutionComment returns the ResolutionComment field if it's non-nil, zero value otherwise. +func (s *SecretScanningAlertUpdateOptions) GetResolutionComment() string { + if s == nil || s.ResolutionComment == nil { + return "" + } + return *s.ResolutionComment } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (c *CreateEnterpriseRunnerGroupRequest) GetName() string { - if c == nil || c.Name == nil { +// GetState returns the State field. +func (s *SecretScanningAlertUpdateOptions) GetState() string { + if s == nil { return "" } - return *c.Name + return s.State } -// GetNetworkConfigurationID returns the NetworkConfigurationID field if it's non-nil, zero value otherwise. -func (c *CreateEnterpriseRunnerGroupRequest) GetNetworkConfigurationID() string { - if c == nil || c.NetworkConfigurationID == nil { +// GetPatterns returns the Patterns slice if it's non-nil, nil otherwise. +func (s *SecretScanningCreateCustomPatternsRequest) GetPatterns() []*SecretScanningCustomPatternRequest { + if s == nil || s.Patterns == nil { + return nil + } + return s.Patterns +} + +// GetCreatedPatterns returns the CreatedPatterns slice if it's non-nil, nil otherwise. +func (s *SecretScanningCreateCustomPatternsResponse) GetCreatedPatterns() []*SecretScanningCustomPattern { + if s == nil || s.CreatedPatterns == nil { + return nil + } + return s.CreatedPatterns +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (s *SecretScanningCustomPattern) GetCreatedAt() Timestamp { + if s == nil || s.CreatedAt == nil { + return Timestamp{} + } + return *s.CreatedAt +} + +// GetCustomPatternVersion returns the CustomPatternVersion field if it's non-nil, zero value otherwise. +func (s *SecretScanningCustomPattern) GetCustomPatternVersion() string { + if s == nil || s.CustomPatternVersion == nil { return "" } - return *c.NetworkConfigurationID + return *s.CustomPatternVersion } -// GetRestrictedToWorkflows returns the RestrictedToWorkflows field if it's non-nil, zero value otherwise. -func (c *CreateEnterpriseRunnerGroupRequest) GetRestrictedToWorkflows() bool { - if c == nil || c.RestrictedToWorkflows == nil { +// GetEndDelimiter returns the EndDelimiter field if it's non-nil, zero value otherwise. +func (s *SecretScanningCustomPattern) GetEndDelimiter() string { + if s == nil || s.EndDelimiter == nil { + return "" + } + return *s.EndDelimiter +} + +// GetID returns the ID field. +func (s *SecretScanningCustomPattern) GetID() int64 { + if s == nil { + return 0 + } + return s.ID +} + +// GetMustMatch returns the MustMatch slice if it's non-nil, nil otherwise. +func (s *SecretScanningCustomPattern) GetMustMatch() []string { + if s == nil || s.MustMatch == nil { + return nil + } + return s.MustMatch +} + +// GetMustNotMatch returns the MustNotMatch slice if it's non-nil, nil otherwise. +func (s *SecretScanningCustomPattern) GetMustNotMatch() []string { + if s == nil || s.MustNotMatch == nil { + return nil + } + return s.MustNotMatch +} + +// GetName returns the Name field. +func (s *SecretScanningCustomPattern) GetName() string { + if s == nil { + return "" + } + return s.Name +} + +// GetPattern returns the Pattern field. +func (s *SecretScanningCustomPattern) GetPattern() string { + if s == nil { + return "" + } + return s.Pattern +} + +// GetPushProtectionEnabled returns the PushProtectionEnabled field. +func (s *SecretScanningCustomPattern) GetPushProtectionEnabled() bool { + if s == nil { return false } - return *c.RestrictedToWorkflows + return s.PushProtectionEnabled } -// GetRunners returns the Runners slice if it's non-nil, nil otherwise. -func (c *CreateEnterpriseRunnerGroupRequest) GetRunners() []int64 { - if c == nil || c.Runners == nil { +// GetSlug returns the Slug field. +func (s *SecretScanningCustomPattern) GetSlug() string { + if s == nil { + return "" + } + return s.Slug +} + +// GetStartDelimiter returns the StartDelimiter field if it's non-nil, zero value otherwise. +func (s *SecretScanningCustomPattern) GetStartDelimiter() string { + if s == nil || s.StartDelimiter == nil { + return "" + } + return *s.StartDelimiter +} + +// GetState returns the State field. +func (s *SecretScanningCustomPattern) GetState() string { + if s == nil { + return "" + } + return s.State +} + +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (s *SecretScanningCustomPattern) GetUpdatedAt() Timestamp { + if s == nil || s.UpdatedAt == nil { + return Timestamp{} + } + return *s.UpdatedAt +} + +// GetDirection returns the Direction field. +func (s *SecretScanningCustomPatternListOptions) GetDirection() string { + if s == nil { + return "" + } + return s.Direction +} + +// GetPushProtection returns the PushProtection field. +func (s *SecretScanningCustomPatternListOptions) GetPushProtection() string { + if s == nil { + return "" + } + return s.PushProtection +} + +// GetSort returns the Sort field. +func (s *SecretScanningCustomPatternListOptions) GetSort() string { + if s == nil { + return "" + } + return s.Sort +} + +// GetState returns the State field. +func (s *SecretScanningCustomPatternListOptions) GetState() string { + if s == nil { + return "" + } + return s.State +} + +// GetEndDelimiter returns the EndDelimiter field if it's non-nil, zero value otherwise. +func (s *SecretScanningCustomPatternRequest) GetEndDelimiter() string { + if s == nil || s.EndDelimiter == nil { + return "" + } + return *s.EndDelimiter +} + +// GetMustMatch returns the MustMatch slice if it's non-nil, nil otherwise. +func (s *SecretScanningCustomPatternRequest) GetMustMatch() []string { + if s == nil || s.MustMatch == nil { return nil } - return c.Runners + return s.MustMatch } -// GetSelectedOrganizationIDs returns the SelectedOrganizationIDs slice if it's non-nil, nil otherwise. -func (c *CreateEnterpriseRunnerGroupRequest) GetSelectedOrganizationIDs() []int64 { - if c == nil || c.SelectedOrganizationIDs == nil { +// GetMustNotMatch returns the MustNotMatch slice if it's non-nil, nil otherwise. +func (s *SecretScanningCustomPatternRequest) GetMustNotMatch() []string { + if s == nil || s.MustNotMatch == nil { return nil } - return c.SelectedOrganizationIDs + return s.MustNotMatch +} + +// GetName returns the Name field. +func (s *SecretScanningCustomPatternRequest) GetName() string { + if s == nil { + return "" + } + return s.Name +} + +// GetPattern returns the Pattern field. +func (s *SecretScanningCustomPatternRequest) GetPattern() string { + if s == nil { + return "" + } + return s.Pattern +} + +// GetStartDelimiter returns the StartDelimiter field if it's non-nil, zero value otherwise. +func (s *SecretScanningCustomPatternRequest) GetStartDelimiter() string { + if s == nil || s.StartDelimiter == nil { + return "" + } + return *s.StartDelimiter +} + +// GetCustomPatternVersion returns the CustomPatternVersion field if it's non-nil, zero value otherwise. +func (s *SecretScanningCustomPatternSetting) GetCustomPatternVersion() string { + if s == nil || s.CustomPatternVersion == nil { + return "" + } + 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 +} + +// GetCustomPatternVersion returns the CustomPatternVersion field if it's non-nil, zero value otherwise. +func (s *SecretScanningCustomPatternToDelete) GetCustomPatternVersion() string { + if s == nil || s.CustomPatternVersion == nil { + return "" + } + return *s.CustomPatternVersion +} + +// GetPatternID returns the PatternID field. +func (s *SecretScanningCustomPatternToDelete) GetPatternID() int64 { + if s == nil { + return 0 + } + return s.PatternID +} + +// 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 +} + +// GetPatterns returns the Patterns slice if it's non-nil, nil otherwise. +func (s *SecretScanningDeleteCustomPatternsRequest) GetPatterns() []*SecretScanningCustomPatternToDelete { + if s == nil || s.Patterns == nil { + return nil + } + return s.Patterns +} + +// GetPostDeleteAction returns the PostDeleteAction field if it's non-nil, zero value otherwise. +func (s *SecretScanningDeleteCustomPatternsRequest) GetPostDeleteAction() string { + if s == nil || s.PostDeleteAction == nil { + return "" + } + return *s.PostDeleteAction +} + +// 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 { + return "" + } + 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 { + return "" + } + 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 { + return "" + } + 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 { + return 0 + } + return *s.AlertTotal +} + +// GetAlertTotalPercentage returns the AlertTotalPercentage field if it's non-nil, zero value otherwise. +func (s *SecretScanningPatternOverride) GetAlertTotalPercentage() int { + if s == nil || s.AlertTotalPercentage == nil { + return 0 + } + return *s.AlertTotalPercentage +} + +// GetBypassrate returns the Bypassrate field if it's non-nil, zero value otherwise. +func (s *SecretScanningPatternOverride) GetBypassrate() int { + if s == nil || s.Bypassrate == nil { + return 0 + } + return *s.Bypassrate +} + +// GetCustomPatternVersion returns the CustomPatternVersion field if it's non-nil, zero value otherwise. +func (s *SecretScanningPatternOverride) GetCustomPatternVersion() string { + if s == nil || s.CustomPatternVersion == nil { + return "" + } + return *s.CustomPatternVersion +} + +// GetDefaultSetting returns the DefaultSetting field if it's non-nil, zero value otherwise. +func (s *SecretScanningPatternOverride) GetDefaultSetting() string { + if s == nil || s.DefaultSetting == nil { + return "" + } + return *s.DefaultSetting +} + +// GetDisplayName returns the DisplayName field if it's non-nil, zero value otherwise. +func (s *SecretScanningPatternOverride) GetDisplayName() string { + if s == nil || s.DisplayName == nil { + return "" + } + return *s.DisplayName +} + +// GetEnterpriseSetting returns the EnterpriseSetting field if it's non-nil, zero value otherwise. +func (s *SecretScanningPatternOverride) GetEnterpriseSetting() string { + if s == nil || s.EnterpriseSetting == nil { + return "" + } + return *s.EnterpriseSetting +} + +// GetFalsePositiveRate returns the FalsePositiveRate field if it's non-nil, zero value otherwise. +func (s *SecretScanningPatternOverride) GetFalsePositiveRate() int { + if s == nil || s.FalsePositiveRate == nil { + return 0 + } + return *s.FalsePositiveRate +} + +// GetFalsePositives returns the FalsePositives field if it's non-nil, zero value otherwise. +func (s *SecretScanningPatternOverride) GetFalsePositives() int { + if s == nil || s.FalsePositives == nil { + return 0 + } + return *s.FalsePositives +} + +// GetSetting returns the Setting field if it's non-nil, zero value otherwise. +func (s *SecretScanningPatternOverride) GetSetting() string { + if s == nil || s.Setting == nil { + return "" + } + return *s.Setting +} + +// GetSlug returns the Slug field if it's non-nil, zero value otherwise. +func (s *SecretScanningPatternOverride) GetSlug() string { + if s == nil || s.Slug == nil { + return "" + } + return *s.Slug +} + +// GetTokenType returns the TokenType field if it's non-nil, zero value otherwise. +func (s *SecretScanningPatternOverride) GetTokenType() string { + if s == nil || s.TokenType == nil { + return "" + } + 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 { + return "" + } + 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 } -// GetSelectedWorkflows returns the SelectedWorkflows slice if it's non-nil, nil otherwise. -func (c *CreateEnterpriseRunnerGroupRequest) GetSelectedWorkflows() []string { - if c == nil || c.SelectedWorkflows == nil { +// 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 c.SelectedWorkflows + return s.PatternUpdateScans } -// GetVisibility returns the Visibility field if it's non-nil, zero value otherwise. -func (c *CreateEnterpriseRunnerGroupRequest) GetVisibility() string { - if c == nil || c.Visibility == nil { +// GetCustomPatternVersion returns the CustomPatternVersion field if it's non-nil, zero value otherwise. +func (s *SecretScanningUpdateCustomPatternRequest) GetCustomPatternVersion() string { + if s == nil || s.CustomPatternVersion == nil { return "" } - return *c.Visibility + return *s.CustomPatternVersion } -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (c *CreateEvent) GetDescription() string { - if c == nil || c.Description == nil { +// GetEndDelimiter returns the EndDelimiter field if it's non-nil, zero value otherwise. +func (s *SecretScanningUpdateCustomPatternRequest) GetEndDelimiter() string { + if s == nil || s.EndDelimiter == nil { return "" } - return *c.Description + return *s.EndDelimiter } -// GetInstallation returns the Installation field. -func (c *CreateEvent) GetInstallation() *Installation { - if c == nil { +// GetMustMatch returns the MustMatch slice if it's non-nil, nil otherwise. +func (s *SecretScanningUpdateCustomPatternRequest) GetMustMatch() []string { + if s == nil || s.MustMatch == nil { return nil } - return c.Installation -} - -// GetMasterBranch returns the MasterBranch field if it's non-nil, zero value otherwise. -func (c *CreateEvent) GetMasterBranch() string { - if c == nil || c.MasterBranch == nil { - return "" - } - return *c.MasterBranch + return s.MustMatch } -// GetOrg returns the Org field. -func (c *CreateEvent) GetOrg() *Organization { - if c == nil { +// GetMustNotMatch returns the MustNotMatch slice if it's non-nil, nil otherwise. +func (s *SecretScanningUpdateCustomPatternRequest) GetMustNotMatch() []string { + if s == nil || s.MustNotMatch == nil { return nil } - return c.Org + return s.MustNotMatch } -// GetPusherType returns the PusherType field if it's non-nil, zero value otherwise. -func (c *CreateEvent) GetPusherType() string { - if c == nil || c.PusherType == nil { +// GetPattern returns the Pattern field if it's non-nil, zero value otherwise. +func (s *SecretScanningUpdateCustomPatternRequest) GetPattern() string { + if s == nil || s.Pattern == nil { return "" } - return *c.PusherType + return *s.Pattern } -// GetRef returns the Ref field if it's non-nil, zero value otherwise. -func (c *CreateEvent) GetRef() string { - if c == nil || c.Ref == nil { +// GetStartDelimiter returns the StartDelimiter field if it's non-nil, zero value otherwise. +func (s *SecretScanningUpdateCustomPatternRequest) GetStartDelimiter() string { + if s == nil || s.StartDelimiter == nil { return "" } - return *c.Ref + return *s.StartDelimiter } -// GetRefType returns the RefType field if it's non-nil, zero value otherwise. -func (c *CreateEvent) GetRefType() string { - if c == nil || c.RefType == nil { +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (s *SecretScanningValidityChecks) GetStatus() string { + if s == nil || s.Status == nil { return "" } - return *c.RefType + return *s.Status } -// GetRepo returns the Repo field. -func (c *CreateEvent) GetRepo() *Repository { - if c == nil { - return nil +// GetCompletedAt returns the CompletedAt field if it's non-nil, zero value otherwise. +func (s *SecretsScan) GetCompletedAt() Timestamp { + if s == nil || s.CompletedAt == nil { + return Timestamp{} } - return c.Repo + return *s.CompletedAt } -// GetSender returns the Sender field. -func (c *CreateEvent) GetSender() *User { - if c == nil { - return nil +// GetStartedAt returns the StartedAt field if it's non-nil, zero value otherwise. +func (s *SecretsScan) GetStartedAt() Timestamp { + if s == nil || s.StartedAt == nil { + return Timestamp{} } - return c.Sender + return *s.StartedAt } -// GetBody returns the Body field. -func (c *CreateGistCommentRequest) GetBody() string { - if c == nil { +// GetStatus returns the Status field. +func (s *SecretsScan) GetStatus() string { + if s == nil { return "" } - return c.Body + return s.Status } -// GetContent returns the Content field. -func (c *CreateGistFile) GetContent() string { - if c == nil { +// GetType returns the Type field. +func (s *SecretsScan) GetType() string { + if s == nil { return "" } - return c.Content + return s.Type } -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (c *CreateGistRequest) GetDescription() string { - if c == nil || c.Description == nil { - return "" +// GetAuthor returns the Author field. +func (s *SecurityAdvisory) GetAuthor() *User { + if s == nil { + return nil } - return *c.Description + return s.Author } -// GetPublic returns the Public field if it's non-nil, zero value otherwise. -func (c *CreateGistRequest) GetPublic() bool { - if c == nil || c.Public == nil { - return false +// GetClosedAt returns the ClosedAt field if it's non-nil, zero value otherwise. +func (s *SecurityAdvisory) GetClosedAt() Timestamp { + if s == nil || s.ClosedAt == nil { + return Timestamp{} } - return *c.Public + return *s.ClosedAt } -// GetEnableStaticIP returns the EnableStaticIP field if it's non-nil, zero value otherwise. -func (c *CreateHostedRunnerRequest) GetEnableStaticIP() bool { - if c == nil || c.EnableStaticIP == nil { - return false +// 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 *c.EnableStaticIP + return s.CollaboratingTeams } -// GetImage returns the Image field. -func (c *CreateHostedRunnerRequest) GetImage() HostedRunnerImage { - if c == nil { - return HostedRunnerImage{} +// 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 c.Image + return s.CollaboratingUsers } -// GetImageGen returns the ImageGen field if it's non-nil, zero value otherwise. -func (c *CreateHostedRunnerRequest) GetImageGen() bool { - if c == nil || c.ImageGen == nil { - return false +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (s *SecurityAdvisory) GetCreatedAt() Timestamp { + if s == nil || s.CreatedAt == nil { + return Timestamp{} } - return *c.ImageGen + return *s.CreatedAt } -// GetMaximumRunners returns the MaximumRunners field if it's non-nil, zero value otherwise. -func (c *CreateHostedRunnerRequest) GetMaximumRunners() int64 { - if c == nil || c.MaximumRunners == nil { - return 0 +// 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 *c.MaximumRunners + return s.Credits } -// GetName returns the Name field. -func (c *CreateHostedRunnerRequest) GetName() string { - if c == nil { +// 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 { return "" } - return c.Name + return *s.CVEID } -// GetRunnerGroupID returns the RunnerGroupID field. -func (c *CreateHostedRunnerRequest) GetRunnerGroupID() int64 { - if c == nil { - return 0 +// GetCVSS returns the CVSS field. +func (s *SecurityAdvisory) GetCVSS() *AdvisoryCVSS { + if s == nil { + return nil } - return c.RunnerGroupID + return s.CVSS } -// GetSize returns the Size field. -func (c *CreateHostedRunnerRequest) GetSize() string { - if c == nil { - return "" +// GetCVSSSeverities returns the CVSSSeverities field. +func (s *SecurityAdvisory) GetCVSSSeverities() *AdvisoryCVSSSeverities { + if s == nil { + return nil } - return c.Size + return s.CVSSSeverities } -// GetColor returns the Color field if it's non-nil, zero value otherwise. -func (c *CreateIssueLabelRequest) GetColor() string { - if c == nil || c.Color == nil { - return "" +// 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 *c.Color + 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 (c *CreateIssueLabelRequest) GetDescription() string { - if c == nil || c.Description == nil { +func (s *SecurityAdvisory) GetDescription() string { + if s == nil || s.Description == nil { return "" } - return *c.Description + return *s.Description } -// GetName returns the Name field. -func (c *CreateIssueLabelRequest) GetName() string { - if c == nil { +// GetGHSAID returns the GHSAID field if it's non-nil, zero value otherwise. +func (s *SecurityAdvisory) GetGHSAID() string { + if s == nil || s.GHSAID == nil { return "" } - return c.Name + return *s.GHSAID } -// GetAssignee returns the Assignee field if it's non-nil, zero value otherwise. -func (c *CreateIssueRequest) GetAssignee() string { - if c == nil || c.Assignee == nil { +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (s *SecurityAdvisory) GetHTMLURL() string { + if s == nil || s.HTMLURL == nil { return "" } - return *c.Assignee + return *s.HTMLURL } -// GetAssignees returns the Assignees slice if it's non-nil, nil otherwise. -func (c *CreateIssueRequest) GetAssignees() []string { - if c == nil || c.Assignees == nil { +// 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 c.Assignees + return s.Identifiers } -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (c *CreateIssueRequest) GetBody() string { - if c == nil || c.Body == nil { - return "" +// GetPrivateFork returns the PrivateFork field. +func (s *SecurityAdvisory) GetPrivateFork() *Repository { + if s == nil { + return nil } - return *c.Body + return s.PrivateFork } -// GetIssueFieldValues returns the IssueFieldValues slice if it's non-nil, nil otherwise. -func (c *CreateIssueRequest) GetIssueFieldValues() []*IssueRequestFieldValue { - if c == nil || c.IssueFieldValues == nil { - return nil +// GetPublishedAt returns the PublishedAt field if it's non-nil, zero value otherwise. +func (s *SecurityAdvisory) GetPublishedAt() Timestamp { + if s == nil || s.PublishedAt == nil { + return Timestamp{} } - return c.IssueFieldValues + return *s.PublishedAt } -// GetLabels returns the Labels slice if it's non-nil, nil otherwise. -func (c *CreateIssueRequest) GetLabels() []string { - if c == nil || c.Labels == nil { +// GetPublisher returns the Publisher field. +func (s *SecurityAdvisory) GetPublisher() *User { + if s == nil { return nil } - return c.Labels + return s.Publisher } -// GetMilestone returns the Milestone field if it's non-nil, zero value otherwise. -func (c *CreateIssueRequest) GetMilestone() int { - if c == nil || c.Milestone == nil { - return 0 +// 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 *c.Milestone + return s.References } -// GetTitle returns the Title field. -func (c *CreateIssueRequest) GetTitle() string { - if c == nil { +// GetSeverity returns the Severity field if it's non-nil, zero value otherwise. +func (s *SecurityAdvisory) GetSeverity() string { + if s == nil || s.Severity == nil { return "" } - return c.Title + return *s.Severity } -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (c *CreateIssueRequest) GetType() string { - if c == nil || c.Type == nil { +// GetState returns the State field if it's non-nil, zero value otherwise. +func (s *SecurityAdvisory) GetState() string { + if s == nil || s.State == nil { return "" } - return *c.Type + return *s.State } -// GetLabels returns the Labels slice if it's non-nil, nil otherwise. -func (c *CreateJITConfigRequest) GetLabels() []string { - if c == nil || c.Labels == nil { +// GetSubmission returns the Submission field. +func (s *SecurityAdvisory) GetSubmission() *SecurityAdvisorySubmission { + if s == nil { return nil } - return c.Labels + return s.Submission } -// GetName returns the Name field. -func (c *CreateJITConfigRequest) GetName() string { - if c == nil { +// GetSummary returns the Summary field if it's non-nil, zero value otherwise. +func (s *SecurityAdvisory) GetSummary() string { + if s == nil || s.Summary == nil { return "" } - return c.Name + return *s.Summary } -// GetRunnerGroupID returns the RunnerGroupID field. -func (c *CreateJITConfigRequest) GetRunnerGroupID() int64 { - if c == nil { - return 0 +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (s *SecurityAdvisory) GetUpdatedAt() Timestamp { + if s == nil || s.UpdatedAt == nil { + return Timestamp{} } - return c.RunnerGroupID + return *s.UpdatedAt } -// GetWorkFolder returns the WorkFolder field if it's non-nil, zero value otherwise. -func (c *CreateJITConfigRequest) GetWorkFolder() string { - if c == nil || c.WorkFolder == nil { +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (s *SecurityAdvisory) GetURL() string { + if s == nil || s.URL == nil { return "" } - return *c.WorkFolder + return *s.URL } -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (c *CreateMilestoneRequest) GetDescription() string { - if c == nil || c.Description == nil { - return "" +// 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 *c.Description + return s.Vulnerabilities } -// GetDueOn returns the DueOn field if it's non-nil, zero value otherwise. -func (c *CreateMilestoneRequest) GetDueOn() Timestamp { - if c == nil || c.DueOn == nil { +// GetWithdrawnAt returns the WithdrawnAt field if it's non-nil, zero value otherwise. +func (s *SecurityAdvisory) GetWithdrawnAt() Timestamp { + if s == nil || s.WithdrawnAt == nil { return Timestamp{} } - return *c.DueOn + return *s.WithdrawnAt } -// GetState returns the State field if it's non-nil, zero value otherwise. -func (c *CreateMilestoneRequest) GetState() string { - if c == nil || c.State == nil { +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (s *SecurityAdvisoryEvent) GetAction() string { + if s == nil || s.Action == nil { return "" } - return *c.State + return *s.Action } -// GetTitle returns the Title field. -func (c *CreateMilestoneRequest) GetTitle() string { - if c == nil { - return "" +// GetEnterprise returns the Enterprise field. +func (s *SecurityAdvisoryEvent) GetEnterprise() *Enterprise { + if s == nil { + return nil } - return c.Title + return s.Enterprise } -// GetAccountID returns the AccountID field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetAccountID() string { - if c == nil || c.AccountID == nil { - return "" +// GetInstallation returns the Installation field. +func (s *SecurityAdvisoryEvent) GetInstallation() *Installation { + if s == nil { + return nil } - return *c.AccountID + return s.Installation } -// GetAudience returns the Audience field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetAudience() string { - if c == nil || c.Audience == nil { - return "" +// GetOrganization returns the Organization field. +func (s *SecurityAdvisoryEvent) GetOrganization() *Organization { + if s == nil { + return nil } - return *c.Audience + return s.Organization } -// GetAuthType returns the AuthType field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetAuthType() string { - if c == nil || c.AuthType == nil { - return "" +// GetRepository returns the Repository field. +func (s *SecurityAdvisoryEvent) GetRepository() *Repository { + if s == nil { + return nil } - return *c.AuthType + return s.Repository } -// GetAWSRegion returns the AWSRegion field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetAWSRegion() string { - if c == nil || c.AWSRegion == nil { - return "" +// GetSecurityAdvisory returns the SecurityAdvisory field. +func (s *SecurityAdvisoryEvent) GetSecurityAdvisory() *SecurityAdvisory { + if s == nil { + return nil + } + return s.SecurityAdvisory +} + +// GetSender returns the Sender field. +func (s *SecurityAdvisoryEvent) GetSender() *User { + if s == nil { + return nil } - return *c.AWSRegion + return s.Sender } -// GetClientID returns the ClientID field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetClientID() string { - if c == nil || c.ClientID == nil { - return "" +// GetAccepted returns the Accepted field if it's non-nil, zero value otherwise. +func (s *SecurityAdvisorySubmission) GetAccepted() bool { + if s == nil || s.Accepted == nil { + return false } - return *c.ClientID + return *s.Accepted } -// GetDomain returns the Domain field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetDomain() string { - if c == nil || c.Domain == nil { - return "" +// GetAdvancedSecurity returns the AdvancedSecurity field. +func (s *SecurityAndAnalysis) GetAdvancedSecurity() *AdvancedSecurity { + if s == nil { + return nil } - return *c.Domain + return s.AdvancedSecurity } -// GetDomainOwner returns the DomainOwner field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetDomainOwner() string { - if c == nil || c.DomainOwner == nil { - return "" +// GetCodeSecurity returns the CodeSecurity field. +func (s *SecurityAndAnalysis) GetCodeSecurity() *CodeSecurity { + if s == nil { + return nil } - return *c.DomainOwner + return s.CodeSecurity } -// GetEncryptedValue returns the EncryptedValue field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetEncryptedValue() string { - if c == nil || c.EncryptedValue == nil { - return "" +// GetDependabotSecurityUpdates returns the DependabotSecurityUpdates field. +func (s *SecurityAndAnalysis) GetDependabotSecurityUpdates() *DependabotSecurityUpdates { + if s == nil { + return nil } - return *c.EncryptedValue + return s.DependabotSecurityUpdates } -// GetIdentityMappingName returns the IdentityMappingName field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetIdentityMappingName() string { - if c == nil || c.IdentityMappingName == nil { - return "" +// GetSecretScanning returns the SecretScanning field. +func (s *SecurityAndAnalysis) GetSecretScanning() *SecretScanning { + if s == nil { + return nil } - return *c.IdentityMappingName + return s.SecretScanning } -// GetJFrogOIDCProviderName returns the JFrogOIDCProviderName field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetJFrogOIDCProviderName() string { - if c == nil || c.JFrogOIDCProviderName == nil { - return "" +// GetSecretScanningPushProtection returns the SecretScanningPushProtection field. +func (s *SecurityAndAnalysis) GetSecretScanningPushProtection() *SecretScanningPushProtection { + if s == nil { + return nil } - return *c.JFrogOIDCProviderName + return s.SecretScanningPushProtection } -// GetKeyID returns the KeyID field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetKeyID() string { - if c == nil || c.KeyID == nil { - return "" +// GetSecretScanningValidityChecks returns the SecretScanningValidityChecks field. +func (s *SecurityAndAnalysis) GetSecretScanningValidityChecks() *SecretScanningValidityChecks { + if s == nil { + return nil } - return *c.KeyID + return s.SecretScanningValidityChecks } -// GetRegistryType returns the RegistryType field. -func (c *CreateOrganizationPrivateRegistry) GetRegistryType() PrivateRegistryType { - if c == nil { - return "" +// GetFrom returns the From field. +func (s *SecurityAndAnalysisChange) GetFrom() *SecurityAndAnalysisChangeFrom { + if s == nil { + return nil } - return c.RegistryType + return s.From } -// GetReplacesBase returns the ReplacesBase field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetReplacesBase() bool { - if c == nil || c.ReplacesBase == nil { - return false +// GetSecurityAndAnalysis returns the SecurityAndAnalysis field. +func (s *SecurityAndAnalysisChangeFrom) GetSecurityAndAnalysis() *SecurityAndAnalysis { + if s == nil { + return nil } - return *c.ReplacesBase + return s.SecurityAndAnalysis } -// GetRoleName returns the RoleName field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetRoleName() string { - if c == nil || c.RoleName == nil { - return "" +// GetChanges returns the Changes field. +func (s *SecurityAndAnalysisEvent) GetChanges() *SecurityAndAnalysisChange { + if s == nil { + return nil } - return *c.RoleName + return s.Changes } -// GetSelectedRepositoryIDs returns the SelectedRepositoryIDs slice if it's non-nil, nil otherwise. -func (c *CreateOrganizationPrivateRegistry) GetSelectedRepositoryIDs() []int64 { - if c == nil || c.SelectedRepositoryIDs == nil { +// GetEnterprise returns the Enterprise field. +func (s *SecurityAndAnalysisEvent) GetEnterprise() *Enterprise { + if s == nil { return nil } - return c.SelectedRepositoryIDs + return s.Enterprise } -// GetTenantID returns the TenantID field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetTenantID() string { - if c == nil || c.TenantID == nil { - return "" +// GetInstallation returns the Installation field. +func (s *SecurityAndAnalysisEvent) GetInstallation() *Installation { + if s == nil { + return nil } - return *c.TenantID + return s.Installation } -// GetURL returns the URL field. -func (c *CreateOrganizationPrivateRegistry) GetURL() string { - if c == nil { - return "" +// GetOrganization returns the Organization field. +func (s *SecurityAndAnalysisEvent) GetOrganization() *Organization { + if s == nil { + return nil } - return c.URL + return s.Organization } -// GetUsername returns the Username field if it's non-nil, zero value otherwise. -func (c *CreateOrganizationPrivateRegistry) GetUsername() string { - if c == nil || c.Username == nil { - return "" +// GetRepository returns the Repository field. +func (s *SecurityAndAnalysisEvent) GetRepository() *Repository { + if s == nil { + return nil } - return *c.Username + return s.Repository } -// GetVisibility returns the Visibility field. -func (c *CreateOrganizationPrivateRegistry) GetVisibility() PrivateRegistryVisibility { - if c == nil { - return "" +// GetSender returns the Sender field. +func (s *SecurityAndAnalysisEvent) GetSender() *User { + if s == nil { + return nil } - return c.Visibility + return s.Sender } -// GetEmail returns the Email field if it's non-nil, zero value otherwise. -func (c *CreateOrgInvitationOptions) GetEmail() string { - if c == nil || c.Email == nil { - return "" +// 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 *c.Email + return s.Repositories } -// GetInviteeID returns the InviteeID field if it's non-nil, zero value otherwise. -func (c *CreateOrgInvitationOptions) GetInviteeID() int64 { - if c == nil || c.InviteeID == nil { +// GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. +func (s *SelectedReposList) GetTotalCount() int { + if s == nil || s.TotalCount == nil { return 0 } - return *c.InviteeID + return *s.TotalCount } -// GetRole returns the Role field if it's non-nil, zero value otherwise. -func (c *CreateOrgInvitationOptions) GetRole() string { - if c == nil || c.Role == nil { - return "" +// 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 *c.Role + return s.Repositories } -// 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 +// GetTotalCount returns the TotalCount field. +func (s *SelfHostedRunnersAllowedRepos) GetTotalCount() int { + if s == nil { + return 0 } - return c.TeamID + return s.TotalCount } -// GetColor returns the Color field if it's non-nil, zero value otherwise. -func (c *CreateOrUpdateIssueTypesOptions) GetColor() string { - if c == nil || c.Color == nil { +// GetEnabledRepositories returns the EnabledRepositories field if it's non-nil, zero value otherwise. +func (s *SelfHostedRunnersSettingsOrganization) GetEnabledRepositories() string { + if s == nil || s.EnabledRepositories == nil { return "" } - return *c.Color + return *s.EnabledRepositories } -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (c *CreateOrUpdateIssueTypesOptions) GetDescription() string { - if c == nil || c.Description == nil { +// GetSelectedRepositoriesURL returns the SelectedRepositoriesURL field if it's non-nil, zero value otherwise. +func (s *SelfHostedRunnersSettingsOrganization) GetSelectedRepositoriesURL() string { + if s == nil || s.SelectedRepositoriesURL == nil { return "" } - return *c.Description + return *s.SelectedRepositoriesURL } -// GetIsEnabled returns the IsEnabled field. -func (c *CreateOrUpdateIssueTypesOptions) GetIsEnabled() bool { - if c == nil { - return false +// GetEnabledRepositories returns the EnabledRepositories field if it's non-nil, zero value otherwise. +func (s *SelfHostedRunnersSettingsOrganizationOpt) GetEnabledRepositories() string { + if s == nil || s.EnabledRepositories == nil { + return "" } - return c.IsEnabled + return *s.EnabledRepositories } -// GetIsPrivate returns the IsPrivate field if it's non-nil, zero value otherwise. -func (c *CreateOrUpdateIssueTypesOptions) GetIsPrivate() bool { - if c == nil || c.IsPrivate == nil { +// GetDisableSelfHostedRunnersForAllOrgs returns the DisableSelfHostedRunnersForAllOrgs field if it's non-nil, zero value otherwise. +func (s *SelfHostRunnerPermissionsEnterprise) GetDisableSelfHostedRunnersForAllOrgs() bool { + if s == nil || s.DisableSelfHostedRunnersForAllOrgs == nil { return false } - return *c.IsPrivate + return *s.DisableSelfHostedRunnersForAllOrgs } -// GetName returns the Name field. -func (c *CreateOrUpdateIssueTypesOptions) GetName() string { - if c == nil { - return "" +// GetServerInstances returns the ServerInstances field. +func (s *ServerInstanceProperties) GetServerInstances() *ServerInstances { + if s == nil { + return nil } - return c.Name + return s.ServerInstances } -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (c *CreateProjectV2DraftItemRequest) GetBody() string { - if c == nil || c.Body == nil { - return "" +// GetItems returns the Items field. +func (s *ServerInstances) GetItems() *ServiceInstanceItems { + if s == nil { + return nil } - return *c.Body + return s.Items } -// GetTitle returns the Title field. -func (c *CreateProjectV2DraftItemRequest) GetTitle() string { - if c == nil { +// GetType returns the Type field. +func (s *ServerInstances) GetType() string { + if s == nil { return "" } - return c.Title + return s.Type } -// GetFilter returns the Filter field if it's non-nil, zero value otherwise. -func (c *CreateProjectV2ViewRequest) GetFilter() string { - if c == nil || c.Filter == nil { +// GetHostname returns the Hostname field. +func (s *ServerItemProperties) GetHostname() string { + if s == nil { return "" } - return *c.Filter + return s.Hostname } -// GetLayout returns the Layout field. -func (c *CreateProjectV2ViewRequest) GetLayout() string { - if c == nil { - return "" +// GetLastSync returns the LastSync field. +func (s *ServerItemProperties) GetLastSync() *LastLicenseSync { + if s == nil { + return nil } - return c.Layout + return s.LastSync } -// GetName returns the Name field. -func (c *CreateProjectV2ViewRequest) GetName() string { - if c == nil { +// GetServerID returns the ServerID field. +func (s *ServerItemProperties) GetServerID() string { + if s == nil { return "" } - return c.Name + return s.ServerID } -// GetVisibleFields returns the VisibleFields slice if it's non-nil, nil otherwise. -func (c *CreateProjectV2ViewRequest) GetVisibleFields() []int64 { - if c == nil || c.VisibleFields == nil { +// GetProperties returns the Properties field. +func (s *ServiceInstanceItems) GetProperties() *ServerItemProperties { + if s == nil { return nil } - return c.VisibleFields -} - -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (c *CreateProtectedChanges) GetFrom() bool { - if c == nil || c.From == nil { - return false - } - return *c.From + return s.Properties } -// GetBase returns the Base field. -func (c *CreatePullRequest) GetBase() string { - if c == nil { +// GetType returns the Type field. +func (s *ServiceInstanceItems) GetType() string { + if s == nil { return "" } - return c.Base + return s.Type } -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (c *CreatePullRequest) GetBody() string { - if c == nil || c.Body == nil { - return "" +// 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 *c.Body + return s.SelectedOrganizationIDs } -// GetDraft returns the Draft field if it's non-nil, zero value otherwise. -func (c *CreatePullRequest) GetDraft() bool { - if c == nil || c.Draft == nil { - return false +// 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 *c.Draft + return s.SelectedRepositoryIDs } -// GetHead returns the Head field. -func (c *CreatePullRequest) GetHead() string { - if c == nil { - return "" +// 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 c.Head + return s.Runners } -// GetHeadRepo returns the HeadRepo field if it's non-nil, zero value otherwise. -func (c *CreatePullRequest) GetHeadRepo() string { - if c == nil || c.HeadRepo == nil { +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (s *SignatureRequirementEnforcementLevelChanges) GetFrom() string { + if s == nil || s.From == nil { return "" } - return *c.HeadRepo + return *s.From } -// GetIssue returns the Issue field if it's non-nil, zero value otherwise. -func (c *CreatePullRequest) GetIssue() int { - if c == nil || c.Issue == nil { - return 0 +// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. +func (s *SignaturesProtectedBranch) GetEnabled() bool { + if s == nil || s.Enabled == nil { + return false } - return *c.Issue + return *s.Enabled } -// GetMaintainerCanModify returns the MaintainerCanModify field if it's non-nil, zero value otherwise. -func (c *CreatePullRequest) GetMaintainerCanModify() bool { - if c == nil || c.MaintainerCanModify == nil { - return false +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (s *SignaturesProtectedBranch) GetURL() string { + if s == nil || s.URL == nil { + return "" } - return *c.MaintainerCanModify + return *s.URL } -// GetTitle returns the Title field if it's non-nil, zero value otherwise. -func (c *CreatePullRequest) GetTitle() string { - if c == nil || c.Title == nil { +// GetPayload returns the Payload field if it's non-nil, zero value otherwise. +func (s *SignatureVerification) GetPayload() string { + if s == nil || s.Payload == nil { return "" } - return *c.Title + return *s.Payload } -// GetBody returns the Body field. -func (c *CreatePullRequestCommentRequest) GetBody() string { - if c == nil { +// GetReason returns the Reason field if it's non-nil, zero value otherwise. +func (s *SignatureVerification) GetReason() string { + if s == nil || s.Reason == nil { return "" } - return c.Body + return *s.Reason } -// GetCommitID returns the CommitID field. -func (c *CreatePullRequestCommentRequest) GetCommitID() string { - if c == nil { +// GetSignature returns the Signature field if it's non-nil, zero value otherwise. +func (s *SignatureVerification) GetSignature() string { + if s == nil || s.Signature == nil { return "" } - return c.CommitID + return *s.Signature } -// GetInReplyTo returns the InReplyTo field if it's non-nil, zero value otherwise. -func (c *CreatePullRequestCommentRequest) GetInReplyTo() int64 { - if c == nil || c.InReplyTo == nil { - return 0 +// GetVerified returns the Verified field if it's non-nil, zero value otherwise. +func (s *SignatureVerification) GetVerified() bool { + if s == nil || s.Verified == nil { + return false } - return *c.InReplyTo + return *s.Verified } -// GetLine returns the Line field if it's non-nil, zero value otherwise. -func (c *CreatePullRequestCommentRequest) GetLine() int { - if c == nil || c.Line == nil { - return 0 +// GetNegate returns the Negate field. +func (s *SimplePatternRuleParameters) GetNegate() bool { + if s == nil { + return false } - return *c.Line + return s.Negate } -// GetPath returns the Path field. -func (c *CreatePullRequestCommentRequest) GetPath() string { - if c == nil { +// GetPattern returns the Pattern field. +func (s *SimplePatternRuleParameters) GetPattern() string { + if s == nil { return "" } - return c.Path + return s.Pattern } -// GetPosition returns the Position field if it's non-nil, zero value otherwise. -func (c *CreatePullRequestCommentRequest) GetPosition() int { - if c == nil || c.Position == nil { - return 0 +// GetProvider returns the Provider field if it's non-nil, zero value otherwise. +func (s *SocialAccount) GetProvider() string { + if s == nil || s.Provider == nil { + return "" } - return *c.Position + return *s.Provider } -// GetSide returns the Side field if it's non-nil, zero value otherwise. -func (c *CreatePullRequestCommentRequest) GetSide() string { - if c == nil || c.Side == nil { +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (s *SocialAccount) GetURL() string { + if s == nil || s.URL == nil { return "" } - return *c.Side + return *s.URL } -// GetStartLine returns the StartLine field if it's non-nil, zero value otherwise. -func (c *CreatePullRequestCommentRequest) GetStartLine() int { - if c == nil || c.StartLine == nil { +// GetActor returns the Actor field. +func (s *Source) GetActor() *User { + if s == nil { + return nil + } + return s.Actor +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (s *Source) GetID() int64 { + if s == nil || s.ID == nil { return 0 } - return *c.StartLine + return *s.ID } -// GetStartSide returns the StartSide field if it's non-nil, zero value otherwise. -func (c *CreatePullRequestCommentRequest) GetStartSide() string { - if c == nil || c.StartSide == nil { - return "" +// GetIssue returns the Issue field. +func (s *Source) GetIssue() *Issue { + if s == nil { + return nil } - return *c.StartSide + return s.Issue } -// GetSubjectType returns the SubjectType field if it's non-nil, zero value otherwise. -func (c *CreatePullRequestCommentRequest) GetSubjectType() string { - if c == nil || c.SubjectType == nil { +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (s *Source) GetType() string { + if s == nil || s.Type == nil { return "" } - return *c.SubjectType + return *s.Type } -// GetRef returns the Ref field. -func (c *CreateRef) GetRef() string { - if c == nil { +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (s *Source) GetURL() string { + if s == nil || s.URL == nil { return "" } - return c.Ref + return *s.URL } -// GetSHA returns the SHA field. -func (c *CreateRef) GetSHA() string { - if c == nil { +// GetEmail returns the Email field if it's non-nil, zero value otherwise. +func (s *SourceImportAuthor) GetEmail() string { + if s == nil || s.Email == nil { return "" } - return c.SHA + return *s.Email } -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (c *CreateReleaseRequest) GetBody() string { - if c == nil || c.Body == nil { - return "" +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (s *SourceImportAuthor) GetID() int64 { + if s == nil || s.ID == nil { + return 0 } - return *c.Body + return *s.ID } -// GetDiscussionCategoryName returns the DiscussionCategoryName field if it's non-nil, zero value otherwise. -func (c *CreateReleaseRequest) GetDiscussionCategoryName() string { - if c == nil || c.DiscussionCategoryName == nil { +// GetImportURL returns the ImportURL field if it's non-nil, zero value otherwise. +func (s *SourceImportAuthor) GetImportURL() string { + if s == nil || s.ImportURL == nil { return "" } - return *c.DiscussionCategoryName + return *s.ImportURL } -// GetDraft returns the Draft field if it's non-nil, zero value otherwise. -func (c *CreateReleaseRequest) GetDraft() bool { - if c == nil || c.Draft == nil { - return false +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (s *SourceImportAuthor) GetName() string { + if s == nil || s.Name == nil { + return "" } - return *c.Draft + return *s.Name } -// GetGenerateReleaseNotes returns the GenerateReleaseNotes field if it's non-nil, zero value otherwise. -func (c *CreateReleaseRequest) GetGenerateReleaseNotes() bool { - if c == nil || c.GenerateReleaseNotes == nil { - return false +// GetRemoteID returns the RemoteID field if it's non-nil, zero value otherwise. +func (s *SourceImportAuthor) GetRemoteID() string { + if s == nil || s.RemoteID == nil { + return "" } - return *c.GenerateReleaseNotes + return *s.RemoteID } -// GetMakeLatest returns the MakeLatest field if it's non-nil, zero value otherwise. -func (c *CreateReleaseRequest) GetMakeLatest() string { - if c == nil || c.MakeLatest == nil { +// GetRemoteName returns the RemoteName field if it's non-nil, zero value otherwise. +func (s *SourceImportAuthor) GetRemoteName() string { + if s == nil || s.RemoteName == nil { return "" } - return *c.MakeLatest + return *s.RemoteName } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (c *CreateReleaseRequest) GetName() string { - if c == nil || c.Name == nil { +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (s *SourceImportAuthor) GetURL() string { + if s == nil || s.URL == nil { return "" } - return *c.Name + return *s.URL } -// GetPrerelease returns the Prerelease field if it's non-nil, zero value otherwise. -func (c *CreateReleaseRequest) GetPrerelease() bool { - if c == nil || c.Prerelease == nil { - return false +// GetDomain returns the Domain field. +func (s *SplunkConfig) GetDomain() string { + if s == nil { + return "" } - return *c.Prerelease + return s.Domain } -// GetTagName returns the TagName field. -func (c *CreateReleaseRequest) GetTagName() string { - if c == nil { +// GetEncryptedToken returns the EncryptedToken field. +func (s *SplunkConfig) GetEncryptedToken() string { + if s == nil { return "" } - return c.TagName + return s.EncryptedToken } -// GetTargetCommitish returns the TargetCommitish field if it's non-nil, zero value otherwise. -func (c *CreateReleaseRequest) GetTargetCommitish() string { - if c == nil || c.TargetCommitish == nil { +// GetKeyID returns the KeyID field. +func (s *SplunkConfig) GetKeyID() string { + if s == nil { return "" } - return *c.TargetCommitish + return s.KeyID } -// GetAllowsPublicRepositories returns the AllowsPublicRepositories field if it's non-nil, zero value otherwise. -func (c *CreateRunnerGroupRequest) GetAllowsPublicRepositories() bool { - if c == nil || c.AllowsPublicRepositories == nil { +// 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 *c.AllowsPublicRepositories + return s.SSLVerify } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (c *CreateRunnerGroupRequest) GetName() string { - if c == nil || c.Name == nil { +// GetPrivacyLevel returns the PrivacyLevel field if it's non-nil, zero value otherwise. +func (s *SponsorshipChanges) GetPrivacyLevel() string { + if s == nil || s.PrivacyLevel == nil { return "" } - return *c.Name + return *s.PrivacyLevel } -// GetNetworkConfigurationID returns the NetworkConfigurationID field if it's non-nil, zero value otherwise. -func (c *CreateRunnerGroupRequest) GetNetworkConfigurationID() string { - if c == nil || c.NetworkConfigurationID == nil { - return "" +// GetTier returns the Tier field. +func (s *SponsorshipChanges) GetTier() *SponsorshipTier { + if s == nil { + return nil } - return *c.NetworkConfigurationID + return s.Tier } -// GetRestrictedToWorkflows returns the RestrictedToWorkflows field if it's non-nil, zero value otherwise. -func (c *CreateRunnerGroupRequest) GetRestrictedToWorkflows() bool { - if c == nil || c.RestrictedToWorkflows == nil { - return false +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (s *SponsorshipEvent) GetAction() string { + if s == nil || s.Action == nil { + return "" } - return *c.RestrictedToWorkflows + return *s.Action } -// GetRunners returns the Runners slice if it's non-nil, nil otherwise. -func (c *CreateRunnerGroupRequest) GetRunners() []int64 { - if c == nil || c.Runners == nil { +// GetChanges returns the Changes field. +func (s *SponsorshipEvent) GetChanges() *SponsorshipChanges { + if s == nil { return nil } - return c.Runners + return s.Changes } -// GetSelectedRepositoryIDs returns the SelectedRepositoryIDs slice if it's non-nil, nil otherwise. -func (c *CreateRunnerGroupRequest) GetSelectedRepositoryIDs() []int64 { - if c == nil || c.SelectedRepositoryIDs == nil { +// GetEffectiveDate returns the EffectiveDate field if it's non-nil, zero value otherwise. +func (s *SponsorshipEvent) GetEffectiveDate() string { + if s == nil || s.EffectiveDate == nil { + return "" + } + return *s.EffectiveDate +} + +// GetInstallation returns the Installation field. +func (s *SponsorshipEvent) GetInstallation() *Installation { + if s == nil { return nil } - return c.SelectedRepositoryIDs + return s.Installation } -// GetSelectedWorkflows returns the SelectedWorkflows slice if it's non-nil, nil otherwise. -func (c *CreateRunnerGroupRequest) GetSelectedWorkflows() []string { - if c == nil || c.SelectedWorkflows == nil { +// GetOrganization returns the Organization field. +func (s *SponsorshipEvent) GetOrganization() *Organization { + if s == nil { return nil } - return c.SelectedWorkflows + return s.Organization } -// GetVisibility returns the Visibility field if it's non-nil, zero value otherwise. -func (c *CreateRunnerGroupRequest) GetVisibility() string { - if c == nil || c.Visibility == nil { - return "" +// GetRepository returns the Repository field. +func (s *SponsorshipEvent) GetRepository() *Repository { + if s == nil { + return nil } - return *c.Visibility + return s.Repository } -// GetKey returns the Key field. -func (c *CreateSSHSigningKeyRequest) GetKey() string { - if c == nil { - return "" +// GetSender returns the Sender field. +func (s *SponsorshipEvent) GetSender() *User { + if s == nil { + return nil } - return c.Key + return s.Sender } -// GetTitle returns the Title field if it's non-nil, zero value otherwise. -func (c *CreateSSHSigningKeyRequest) GetTitle() string { - if c == nil || c.Title == nil { +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (s *SponsorshipTier) GetFrom() string { + if s == nil || s.From == nil { return "" } - return *c.Title + return *s.From } -// GetMessage returns the Message field. -func (c *CreateTag) GetMessage() string { - if c == nil { +// GetKey returns the Key field. +func (s *SSHKeyOptions) GetKey() string { + if s == nil { return "" } - return c.Message + return s.Key } -// GetObject returns the Object field. -func (c *CreateTag) GetObject() string { - if c == nil { +// GetHostname returns the Hostname field if it's non-nil, zero value otherwise. +func (s *SSHKeyStatus) GetHostname() string { + if s == nil || s.Hostname == nil { return "" } - return c.Object + return *s.Hostname } -// GetTag returns the Tag field. -func (c *CreateTag) GetTag() string { - if c == nil { +// GetMessage returns the Message field if it's non-nil, zero value otherwise. +func (s *SSHKeyStatus) GetMessage() string { + if s == nil || s.Message == nil { return "" } - return c.Tag + return *s.Message } -// GetTagger returns the Tagger field. -func (c *CreateTag) GetTagger() *CommitAuthor { - if c == nil { - return nil +// GetModified returns the Modified field if it's non-nil, zero value otherwise. +func (s *SSHKeyStatus) GetModified() bool { + if s == nil || s.Modified == nil { + return false } - return c.Tagger + return *s.Modified } -// GetType returns the Type field. -func (c *CreateTag) GetType() string { - if c == nil { +// GetUUID returns the UUID field if it's non-nil, zero value otherwise. +func (s *SSHKeyStatus) GetUUID() string { + if s == nil || s.UUID == nil { return "" } - return c.Type + return *s.UUID } -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (c *CreateTeamRequest) GetDescription() string { - if c == nil || c.Description == nil { - return "" +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (s *SSHSigningKey) GetCreatedAt() Timestamp { + if s == nil || s.CreatedAt == nil { + return Timestamp{} } - return *c.Description + return *s.CreatedAt } -// GetMaintainers returns the Maintainers slice if it's non-nil, nil otherwise. -func (c *CreateTeamRequest) GetMaintainers() []string { - if c == nil || c.Maintainers == nil { - return nil +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (s *SSHSigningKey) GetID() int64 { + if s == nil || s.ID == nil { + return 0 } - return c.Maintainers + return *s.ID } -// GetName returns the Name field. -func (c *CreateTeamRequest) GetName() string { - if c == nil { +// GetKey returns the Key field if it's non-nil, zero value otherwise. +func (s *SSHSigningKey) GetKey() string { + if s == nil || s.Key == nil { return "" } - return c.Name + return *s.Key } -// GetNotificationSetting returns the NotificationSetting field if it's non-nil, zero value otherwise. -func (c *CreateTeamRequest) GetNotificationSetting() string { - if c == nil || c.NotificationSetting == nil { +// GetTitle returns the Title field if it's non-nil, zero value otherwise. +func (s *SSHSigningKey) GetTitle() string { + if s == nil || s.Title == nil { return "" } - return *c.NotificationSetting + return *s.Title } -// GetParentTeamID returns the ParentTeamID field if it's non-nil, zero value otherwise. -func (c *CreateTeamRequest) GetParentTeamID() int64 { - if c == nil || c.ParentTeamID == nil { - return 0 +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (s *StarEvent) GetAction() string { + if s == nil || s.Action == nil { + return "" } - return *c.ParentTeamID + return *s.Action } -// GetParentTeamSlug returns the ParentTeamSlug field if it's non-nil, zero value otherwise. -func (c *CreateTeamRequest) GetParentTeamSlug() string { - if c == nil || c.ParentTeamSlug == nil { - return "" +// GetInstallation returns the Installation field. +func (s *StarEvent) GetInstallation() *Installation { + if s == nil { + return nil } - return *c.ParentTeamSlug + return s.Installation } -// GetPermission returns the Permission field if it's non-nil, zero value otherwise. -func (c *CreateTeamRequest) GetPermission() string { - if c == nil || c.Permission == nil { - return "" +// GetOrg returns the Org field. +func (s *StarEvent) GetOrg() *Organization { + if s == nil { + return nil } - return *c.Permission + return s.Org } -// GetPrivacy returns the Privacy field if it's non-nil, zero value otherwise. -func (c *CreateTeamRequest) GetPrivacy() string { - if c == nil || c.Privacy == nil { - return "" +// GetRepo returns the Repo field. +func (s *StarEvent) GetRepo() *Repository { + if s == nil { + return nil } - return *c.Privacy + return s.Repo } -// GetRepoNames returns the RepoNames slice if it's non-nil, nil otherwise. -func (c *CreateTeamRequest) GetRepoNames() []string { - if c == nil || c.RepoNames == nil { +// GetSender returns the Sender field. +func (s *StarEvent) GetSender() *User { + if s == nil { return nil } - return c.RepoNames + return s.Sender } -// GetCanAdminsBypass returns the CanAdminsBypass field if it's non-nil, zero value otherwise. -func (c *CreateUpdateEnvironment) GetCanAdminsBypass() bool { - if c == nil || c.CanAdminsBypass == nil { - return false +// GetStarredAt returns the StarredAt field if it's non-nil, zero value otherwise. +func (s *StarEvent) GetStarredAt() Timestamp { + if s == nil || s.StarredAt == nil { + return Timestamp{} } - return *c.CanAdminsBypass + return *s.StarredAt } -// GetDeploymentBranchPolicy returns the DeploymentBranchPolicy field. -func (c *CreateUpdateEnvironment) GetDeploymentBranchPolicy() *BranchPolicy { - if c == nil { - return nil +// GetStarredAt returns the StarredAt field if it's non-nil, zero value otherwise. +func (s *Stargazer) GetStarredAt() Timestamp { + if s == nil || s.StarredAt == nil { + return Timestamp{} } - return c.DeploymentBranchPolicy + return *s.StarredAt } -// GetPreventSelfReview returns the PreventSelfReview field if it's non-nil, zero value otherwise. -func (c *CreateUpdateEnvironment) GetPreventSelfReview() bool { - if c == nil || c.PreventSelfReview == nil { - return false +// GetUser returns the User field. +func (s *Stargazer) GetUser() *User { + if s == nil { + return nil } - return *c.PreventSelfReview + return s.User } -// GetReviewers returns the Reviewers slice if it's non-nil, nil otherwise. -func (c *CreateUpdateEnvironment) GetReviewers() []*EnvReviewers { - if c == nil || c.Reviewers == nil { +// GetRepository returns the Repository field. +func (s *StarredRepository) GetRepository() *Repository { + if s == nil { return nil } - return c.Reviewers + return s.Repository } -// GetWaitTimer returns the WaitTimer field if it's non-nil, zero value otherwise. -func (c *CreateUpdateEnvironment) GetWaitTimer() int { - if c == nil || c.WaitTimer == nil { - return 0 +// GetStarredAt returns the StarredAt field if it's non-nil, zero value otherwise. +func (s *StarredRepository) GetStarredAt() Timestamp { + if s == nil || s.StarredAt == nil { + return Timestamp{} } - return *c.WaitTimer + return *s.StarredAt } -// GetScopes returns the Scopes slice if it's non-nil, nil otherwise. -func (c *CreateUserImpersonationRequest) GetScopes() []string { - if c == nil || c.Scopes == nil { +// 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 c.Scopes + return s.Branches } -// GetKey returns the Key field. -func (c *CreateUserKeyRequest) GetKey() string { - if c == nil { - return "" +// GetCommit returns the Commit field. +func (s *StatusEvent) GetCommit() *RepositoryCommit { + if s == nil { + return nil } - return c.Key + return s.Commit } -// GetTitle returns the Title field if it's non-nil, zero value otherwise. -func (c *CreateUserKeyRequest) GetTitle() string { - if c == nil || c.Title == nil { +// GetContext returns the Context field if it's non-nil, zero value otherwise. +func (s *StatusEvent) GetContext() string { + if s == nil || s.Context == nil { return "" } - return *c.Title + return *s.Context } -// GetEmail returns the Email field if it's non-nil, zero value otherwise. -func (c *CreateUserRequest) GetEmail() string { - if c == nil || c.Email == nil { - return "" +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (s *StatusEvent) GetCreatedAt() Timestamp { + if s == nil || s.CreatedAt == nil { + return Timestamp{} } - return *c.Email + return *s.CreatedAt } -// GetLogin returns the Login field. -func (c *CreateUserRequest) GetLogin() string { - if c == nil { +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (s *StatusEvent) GetDescription() string { + if s == nil || s.Description == nil { return "" } - return c.Login + return *s.Description } -// GetSuspended returns the Suspended field if it's non-nil, zero value otherwise. -func (c *CreateUserRequest) GetSuspended() bool { - if c == nil || c.Suspended == nil { - return false +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (s *StatusEvent) GetID() int64 { + if s == nil || s.ID == nil { + return 0 } - return *c.Suspended + return *s.ID } -// GetInputs returns the Inputs map if it's non-nil, an empty map otherwise. -func (c *CreateWorkflowDispatchEventRequest) GetInputs() map[string]any { - if c == nil || c.Inputs == nil { - return map[string]any{} +// GetInstallation returns the Installation field. +func (s *StatusEvent) GetInstallation() *Installation { + if s == nil { + return nil } - return c.Inputs + return s.Installation } -// GetRef returns the Ref field. -func (c *CreateWorkflowDispatchEventRequest) GetRef() string { - if c == nil { +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (s *StatusEvent) GetName() string { + if s == nil || s.Name == 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 { - return false - } - return *c.ReturnRunDetails + return *s.Name } -// GetCreated returns the Created field if it's non-nil, zero value otherwise. -func (c *CreationInfo) GetCreated() Timestamp { - if c == nil || c.Created == nil { - return Timestamp{} +// GetOrg returns the Org field. +func (s *StatusEvent) GetOrg() *Organization { + if s == nil { + return nil } - return *c.Created + return s.Org } -// GetCreators returns the Creators slice if it's non-nil, nil otherwise. -func (c *CreationInfo) GetCreators() []string { - if c == nil || c.Creators == nil { +// GetRepo returns the Repo field. +func (s *StatusEvent) GetRepo() *Repository { + if s == nil { return nil } - return c.Creators + return s.Repo } -// GetAuthorizedCredentialExpiresAt returns the AuthorizedCredentialExpiresAt field if it's non-nil, zero value otherwise. -func (c *CredentialAuthorization) GetAuthorizedCredentialExpiresAt() Timestamp { - if c == nil || c.AuthorizedCredentialExpiresAt == nil { - return Timestamp{} +// GetSender returns the Sender field. +func (s *StatusEvent) GetSender() *User { + if s == nil { + return nil } - return *c.AuthorizedCredentialExpiresAt + return s.Sender } -// GetAuthorizedCredentialID returns the AuthorizedCredentialID field if it's non-nil, zero value otherwise. -func (c *CredentialAuthorization) GetAuthorizedCredentialID() int64 { - if c == nil || c.AuthorizedCredentialID == nil { - return 0 +// GetSHA returns the SHA field if it's non-nil, zero value otherwise. +func (s *StatusEvent) GetSHA() string { + if s == nil || s.SHA == nil { + return "" } - return *c.AuthorizedCredentialID + return *s.SHA } -// GetAuthorizedCredentialNote returns the AuthorizedCredentialNote field if it's non-nil, zero value otherwise. -func (c *CredentialAuthorization) GetAuthorizedCredentialNote() string { - if c == nil || c.AuthorizedCredentialNote == nil { +// GetState returns the State field if it's non-nil, zero value otherwise. +func (s *StatusEvent) GetState() string { + if s == nil || s.State == nil { return "" } - return *c.AuthorizedCredentialNote + return *s.State } -// GetAuthorizedCredentialTitle returns the AuthorizedCredentialTitle field if it's non-nil, zero value otherwise. -func (c *CredentialAuthorization) GetAuthorizedCredentialTitle() string { - if c == nil || c.AuthorizedCredentialTitle == nil { +// GetTargetURL returns the TargetURL field if it's non-nil, zero value otherwise. +func (s *StatusEvent) GetTargetURL() string { + if s == nil || s.TargetURL == nil { return "" } - return *c.AuthorizedCredentialTitle + return *s.TargetURL } -// GetCredentialAccessedAt returns the CredentialAccessedAt field if it's non-nil, zero value otherwise. -func (c *CredentialAuthorization) GetCredentialAccessedAt() Timestamp { - if c == nil || c.CredentialAccessedAt == nil { +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (s *StatusEvent) GetUpdatedAt() Timestamp { + if s == nil || s.UpdatedAt == nil { return Timestamp{} } - return *c.CredentialAccessedAt + return *s.UpdatedAt } -// GetCredentialAuthorizedAt returns the CredentialAuthorizedAt field if it's non-nil, zero value otherwise. -func (c *CredentialAuthorization) GetCredentialAuthorizedAt() Timestamp { - if c == nil || c.CredentialAuthorizedAt == nil { - return Timestamp{} +// GetDaysLeftInBillingCycle returns the DaysLeftInBillingCycle field. +func (s *StorageBilling) GetDaysLeftInBillingCycle() int { + if s == nil { + return 0 } - return *c.CredentialAuthorizedAt + return s.DaysLeftInBillingCycle } -// GetCredentialID returns the CredentialID field if it's non-nil, zero value otherwise. -func (c *CredentialAuthorization) GetCredentialID() int64 { - if c == nil || c.CredentialID == nil { +// GetEstimatedPaidStorageForMonth returns the EstimatedPaidStorageForMonth field. +func (s *StorageBilling) GetEstimatedPaidStorageForMonth() int { + if s == nil { return 0 } - return *c.CredentialID + return s.EstimatedPaidStorageForMonth } -// GetCredentialType returns the CredentialType field if it's non-nil, zero value otherwise. -func (c *CredentialAuthorization) GetCredentialType() string { - if c == nil || c.CredentialType == nil { - return "" +// GetEstimatedStorageForMonth returns the EstimatedStorageForMonth field. +func (s *StorageBilling) GetEstimatedStorageForMonth() int { + if s == nil { + return 0 } - return *c.CredentialType + return s.EstimatedStorageForMonth } -// GetFingerprint returns the Fingerprint field if it's non-nil, zero value otherwise. -func (c *CredentialAuthorization) GetFingerprint() string { - if c == nil || c.Fingerprint == nil { - return "" +// GetAfterID returns the AfterID field if it's non-nil, zero value otherwise. +func (s *SubIssueRequest) GetAfterID() int64 { + if s == nil || s.AfterID == nil { + return 0 } - return *c.Fingerprint + return *s.AfterID } -// GetLogin returns the Login field if it's non-nil, zero value otherwise. -func (c *CredentialAuthorization) GetLogin() string { - if c == nil || c.Login == nil { - return "" +// GetBeforeID returns the BeforeID field if it's non-nil, zero value otherwise. +func (s *SubIssueRequest) GetBeforeID() int64 { + if s == nil || s.BeforeID == nil { + return 0 } - return *c.Login + return *s.BeforeID } -// 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 +// GetReplaceParent returns the ReplaceParent field if it's non-nil, zero value otherwise. +func (s *SubIssueRequest) GetReplaceParent() bool { + if s == nil || s.ReplaceParent == nil { + return false } - return c.Scopes + return *s.ReplaceParent } -// GetTokenLastEight returns the TokenLastEight field if it's non-nil, zero value otherwise. -func (c *CredentialAuthorization) GetTokenLastEight() string { - if c == nil || c.TokenLastEight == nil { - return "" +// GetSubIssueID returns the SubIssueID field. +func (s *SubIssueRequest) GetSubIssueID() int64 { + if s == nil { + return 0 } - return *c.TokenLastEight + return s.SubIssueID } -// GetLogin returns the Login field. -func (c *CredentialAuthorizationsListOptions) GetLogin() string { - if c == nil { - return "" +// GetCompleted returns the Completed field if it's non-nil, zero value otherwise. +func (s *SubIssuesSummary) GetCompleted() int { + if s == nil || s.Completed == nil { + return 0 } - return c.Login + return *s.Completed } -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (c *Credit) GetType() string { - if c == nil || c.Type == nil { - return "" +// GetPercentCompleted returns the PercentCompleted field if it's non-nil, zero value otherwise. +func (s *SubIssuesSummary) GetPercentCompleted() int { + if s == nil || s.PercentCompleted == nil { + return 0 } - return *c.Type + return *s.PercentCompleted } -// GetUser returns the User field. -func (c *Credit) GetUser() *User { - if c == nil { - return nil +// GetTotal returns the Total field if it's non-nil, zero value otherwise. +func (s *SubIssuesSummary) GetTotal() int { + if s == nil || s.Total == nil { + return 0 } - return c.User + return *s.Total } -// GetApp returns the App field. -func (c *CustomDeploymentProtectionRule) GetApp() *CustomDeploymentProtectionRuleApp { - if c == nil { - return nil +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (s *Subscription) GetCreatedAt() Timestamp { + if s == nil || s.CreatedAt == nil { + return Timestamp{} } - return c.App + return *s.CreatedAt } -// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. -func (c *CustomDeploymentProtectionRule) GetEnabled() bool { - if c == nil || c.Enabled == nil { +// GetIgnored returns the Ignored field if it's non-nil, zero value otherwise. +func (s *Subscription) GetIgnored() bool { + if s == nil || s.Ignored == nil { return false } - return *c.Enabled + return *s.Ignored } -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (c *CustomDeploymentProtectionRule) GetID() int64 { - if c == nil || c.ID == nil { - return 0 +// GetReason returns the Reason field if it's non-nil, zero value otherwise. +func (s *Subscription) GetReason() string { + if s == nil || s.Reason == nil { + return "" } - return *c.ID + return *s.Reason } -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (c *CustomDeploymentProtectionRule) GetNodeID() string { - if c == nil || c.NodeID == nil { +// GetRepositoryURL returns the RepositoryURL field if it's non-nil, zero value otherwise. +func (s *Subscription) GetRepositoryURL() string { + if s == nil || s.RepositoryURL == nil { return "" } - return *c.NodeID + return *s.RepositoryURL } -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (c *CustomDeploymentProtectionRuleApp) GetID() int64 { - if c == nil || c.ID == nil { - return 0 +// GetSubscribed returns the Subscribed field if it's non-nil, zero value otherwise. +func (s *Subscription) GetSubscribed() bool { + if s == nil || s.Subscribed == nil { + return false } - return *c.ID + return *s.Subscribed } -// GetIntegrationURL returns the IntegrationURL field if it's non-nil, zero value otherwise. -func (c *CustomDeploymentProtectionRuleApp) GetIntegrationURL() string { - if c == nil || c.IntegrationURL == nil { +// GetThreadURL returns the ThreadURL field if it's non-nil, zero value otherwise. +func (s *Subscription) GetThreadURL() string { + if s == nil || s.ThreadURL == nil { return "" } - return *c.IntegrationURL + return *s.ThreadURL } -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (c *CustomDeploymentProtectionRuleApp) GetNodeID() string { - if c == nil || c.NodeID == nil { +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (s *Subscription) GetURL() string { + if s == nil || s.URL == nil { return "" } - return *c.NodeID + return *s.URL } -// GetSlug returns the Slug field if it's non-nil, zero value otherwise. -func (c *CustomDeploymentProtectionRuleApp) GetSlug() string { - if c == nil || c.Slug == nil { - return "" +// 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 *c.Slug + return s.Nodes } -// GetIntegrationID returns the IntegrationID field if it's non-nil, zero value otherwise. -func (c *CustomDeploymentProtectionRuleRequest) GetIntegrationID() int64 { - if c == nil || c.IntegrationID == nil { - return 0 +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (s *SystemRequirements) GetStatus() string { + if s == nil || s.Status == nil { + return "" } - return *c.IntegrationID + return *s.Status } -// GetBaseRole returns the BaseRole field if it's non-nil, zero value otherwise. -func (c *CustomOrgRole) GetBaseRole() string { - if c == nil || c.BaseRole == nil { +// GetHostname returns the Hostname field if it's non-nil, zero value otherwise. +func (s *SystemRequirementsNode) GetHostname() string { + if s == nil || s.Hostname == nil { return "" } - return *c.BaseRole + return *s.Hostname } -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (c *CustomOrgRole) GetCreatedAt() Timestamp { - if c == nil || c.CreatedAt == nil { - return Timestamp{} +// 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 *c.CreatedAt + return s.RolesStatus } -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (c *CustomOrgRole) GetDescription() string { - if c == nil || c.Description == nil { +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (s *SystemRequirementsNode) GetStatus() string { + if s == nil || s.Status == nil { return "" } - return *c.Description -} - -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (c *CustomOrgRole) GetID() int64 { - if c == nil || c.ID == nil { - return 0 - } - return *c.ID + return *s.Status } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (c *CustomOrgRole) GetName() string { - if c == nil || c.Name == nil { +// GetRole returns the Role field if it's non-nil, zero value otherwise. +func (s *SystemRequirementsNodeRoleStatus) GetRole() string { + if s == nil || s.Role == nil { return "" } - return *c.Name + return *s.Role } -// GetOrg returns the Org field. -func (c *CustomOrgRole) GetOrg() *Organization { - if c == nil { - return nil +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (s *SystemRequirementsNodeRoleStatus) GetStatus() string { + if s == nil || s.Status == nil { + return "" } - return c.Org + return *s.Status } -// 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 +// GetMessage returns the Message field if it's non-nil, zero value otherwise. +func (t *Tag) GetMessage() string { + if t == nil || t.Message == nil { + return "" } - return c.Permissions + return *t.Message } -// GetSource returns the Source field if it's non-nil, zero value otherwise. -func (c *CustomOrgRole) GetSource() string { - if c == nil || c.Source == nil { +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (t *Tag) GetNodeID() string { + if t == nil || t.NodeID == nil { return "" } - return *c.Source + return *t.NodeID } -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (c *CustomOrgRole) GetUpdatedAt() Timestamp { - if c == nil || c.UpdatedAt == nil { - return Timestamp{} +// GetObject returns the Object field. +func (t *Tag) GetObject() *GitObject { + if t == nil { + return nil } - return *c.UpdatedAt + return t.Object } -// GetPatternScope returns the PatternScope field if it's non-nil, zero value otherwise. -func (c *CustomPatternBackfillScan) GetPatternScope() string { - if c == nil || c.PatternScope == nil { +// GetSHA returns the SHA field if it's non-nil, zero value otherwise. +func (t *Tag) GetSHA() string { + if t == nil || t.SHA == nil { return "" } - return *c.PatternScope + return *t.SHA } -// GetPatternSlug returns the PatternSlug field if it's non-nil, zero value otherwise. -func (c *CustomPatternBackfillScan) GetPatternSlug() string { - if c == nil || c.PatternSlug == nil { +// GetTag returns the Tag field if it's non-nil, zero value otherwise. +func (t *Tag) GetTag() string { + if t == nil || t.Tag == nil { return "" } - return *c.PatternSlug + return *t.Tag } -// GetAllowedValues returns the AllowedValues slice if it's non-nil, nil otherwise. -func (c *CustomProperty) GetAllowedValues() []string { - if c == nil || c.AllowedValues == nil { +// GetTagger returns the Tagger field. +func (t *Tag) GetTagger() *CommitAuthor { + if t == nil { return nil } - return c.AllowedValues + return t.Tagger } -// GetDefaultValue returns the DefaultValue field. -func (c *CustomProperty) GetDefaultValue() any { - if c == nil { +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (t *Tag) GetURL() string { + if t == nil || t.URL == nil { + return "" + } + return *t.URL +} + +// GetVerification returns the Verification field. +func (t *Tag) GetVerification() *SignatureVerification { + if t == nil { return nil } - return c.DefaultValue + return t.Verification } -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (c *CustomProperty) GetDescription() string { - if c == nil || c.Description == nil { - return "" +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (t *TagProtection) GetID() int64 { + if t == nil || t.ID == nil { + return 0 } - return *c.Description + return *t.ID } -// GetPropertyName returns the PropertyName field if it's non-nil, zero value otherwise. -func (c *CustomProperty) GetPropertyName() string { - if c == nil || c.PropertyName == nil { +// GetPattern returns the Pattern field if it's non-nil, zero value otherwise. +func (t *TagProtection) GetPattern() string { + if t == nil || t.Pattern == nil { return "" } - return *c.PropertyName + return *t.Pattern } -// GetRequired returns the Required field if it's non-nil, zero value otherwise. -func (c *CustomProperty) GetRequired() bool { - if c == nil || c.Required == nil { - return false +// GetCompletedAt returns the CompletedAt field if it's non-nil, zero value otherwise. +func (t *TaskStep) GetCompletedAt() Timestamp { + if t == nil || t.CompletedAt == nil { + return Timestamp{} } - return *c.Required + return *t.CompletedAt } -// GetSourceType returns the SourceType field if it's non-nil, zero value otherwise. -func (c *CustomProperty) GetSourceType() string { - if c == nil || c.SourceType == nil { +// GetConclusion returns the Conclusion field if it's non-nil, zero value otherwise. +func (t *TaskStep) GetConclusion() string { + if t == nil || t.Conclusion == nil { return "" } - return *c.SourceType + return *t.Conclusion } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (c *CustomProperty) GetURL() string { - if c == nil || c.URL == nil { +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (t *TaskStep) GetName() string { + if t == nil || t.Name == nil { return "" } - return *c.URL + return *t.Name } -// GetValuesEditableBy returns the ValuesEditableBy field if it's non-nil, zero value otherwise. -func (c *CustomProperty) GetValuesEditableBy() string { - if c == nil || c.ValuesEditableBy == nil { +// GetNumber returns the Number field if it's non-nil, zero value otherwise. +func (t *TaskStep) GetNumber() int64 { + if t == nil || t.Number == nil { + return 0 + } + return *t.Number +} + +// GetStartedAt returns the StartedAt field if it's non-nil, zero value otherwise. +func (t *TaskStep) GetStartedAt() Timestamp { + if t == nil || t.StartedAt == nil { + return Timestamp{} + } + return *t.StartedAt +} + +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (t *TaskStep) GetStatus() string { + if t == nil || t.Status == nil { return "" } - return *c.ValuesEditableBy + return *t.Status } -// GetValueType returns the ValueType field. -func (c *CustomProperty) GetValueType() PropertyValueType { - if c == nil { +// GetAccessSource returns the AccessSource field if it's non-nil, zero value otherwise. +func (t *Team) GetAccessSource() string { + if t == nil || t.AccessSource == nil { return "" } - return c.ValueType + return *t.AccessSource } -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (c *CustomPropertyEvent) GetAction() string { - if c == nil || c.Action == nil { +// GetAssignment returns the Assignment field if it's non-nil, zero value otherwise. +func (t *Team) GetAssignment() string { + if t == nil || t.Assignment == nil { return "" } - return *c.Action + return *t.Assignment } -// GetDefinition returns the Definition field. -func (c *CustomPropertyEvent) GetDefinition() *CustomProperty { - if c == nil { - return nil +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (t *Team) GetDescription() string { + if t == nil || t.Description == nil { + return "" } - return c.Definition + return *t.Description } -// GetEnterprise returns the Enterprise field. -func (c *CustomPropertyEvent) GetEnterprise() *Enterprise { - if c == nil { - return nil +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (t *Team) GetHTMLURL() string { + if t == nil || t.HTMLURL == nil { + return "" } - return c.Enterprise + return *t.HTMLURL } -// GetInstallation returns the Installation field. -func (c *CustomPropertyEvent) GetInstallation() *Installation { - if c == nil { - return nil +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (t *Team) GetID() int64 { + if t == nil || t.ID == nil { + return 0 } - return c.Installation + return *t.ID } -// GetOrg returns the Org field. -func (c *CustomPropertyEvent) GetOrg() *Organization { - if c == nil { - return nil +// GetLDAPDN returns the LDAPDN field if it's non-nil, zero value otherwise. +func (t *Team) GetLDAPDN() string { + if t == nil || t.LDAPDN == nil { + return "" } - return c.Org + return *t.LDAPDN } -// GetSender returns the Sender field. -func (c *CustomPropertyEvent) GetSender() *User { - if c == nil { - return nil +// GetMembersCount returns the MembersCount field if it's non-nil, zero value otherwise. +func (t *Team) GetMembersCount() int { + if t == nil || t.MembersCount == nil { + return 0 } - return c.Sender + return *t.MembersCount } -// GetPropertyName returns the PropertyName field. -func (c *CustomPropertyValue) GetPropertyName() string { - if c == nil { +// GetMembersURL returns the MembersURL field if it's non-nil, zero value otherwise. +func (t *Team) GetMembersURL() string { + if t == nil || t.MembersURL == nil { return "" } - return c.PropertyName + return *t.MembersURL } -// GetValue returns the Value field. -func (c *CustomPropertyValue) GetValue() any { - if c == nil { - return nil +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (t *Team) GetName() string { + if t == nil || t.Name == nil { + return "" } - return c.Value + return *t.Name } -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (c *CustomPropertyValuesEvent) GetAction() string { - if c == nil || c.Action == nil { +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (t *Team) GetNodeID() string { + if t == nil || t.NodeID == nil { return "" } - return *c.Action + return *t.NodeID } -// GetEnterprise returns the Enterprise field. -func (c *CustomPropertyValuesEvent) GetEnterprise() *Enterprise { - if c == nil { - return nil +// GetNotificationSetting returns the NotificationSetting field if it's non-nil, zero value otherwise. +func (t *Team) GetNotificationSetting() string { + if t == nil || t.NotificationSetting == nil { + return "" } - return c.Enterprise + return *t.NotificationSetting } -// GetInstallation returns the Installation field. -func (c *CustomPropertyValuesEvent) GetInstallation() *Installation { - if c == nil { +// GetOrganization returns the Organization field. +func (t *Team) GetOrganization() *Organization { + if t == nil { return nil } - return c.Installation + return t.Organization } -// GetNewPropertyValues returns the NewPropertyValues slice if it's non-nil, nil otherwise. -func (c *CustomPropertyValuesEvent) GetNewPropertyValues() []*CustomPropertyValue { - if c == nil || c.NewPropertyValues == nil { +// GetParent returns the Parent field. +func (t *Team) GetParent() *Team { + if t == nil { return nil } - return c.NewPropertyValues + return t.Parent } -// 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 +// GetPermission returns the Permission field if it's non-nil, zero value otherwise. +func (t *Team) GetPermission() string { + if t == nil || t.Permission == nil { + return "" } - return c.OldPropertyValues + return *t.Permission } -// GetOrg returns the Org field. -func (c *CustomPropertyValuesEvent) GetOrg() *Organization { - if c == nil { - return nil +// GetPermissions returns the Permissions map if it's non-nil, an empty map otherwise. +func (t *Team) GetPermissions() map[string]bool { + if t == nil || t.Permissions == nil { + return map[string]bool{} } - return c.Org + return t.Permissions } -// GetRepo returns the Repo field. -func (c *CustomPropertyValuesEvent) GetRepo() *Repository { - if c == nil { - return nil +// GetPrivacy returns the Privacy field if it's non-nil, zero value otherwise. +func (t *Team) GetPrivacy() string { + if t == nil || t.Privacy == nil { + return "" } - return c.Repo + return *t.Privacy } -// GetSender returns the Sender field. -func (c *CustomPropertyValuesEvent) GetSender() *User { - if c == nil { - return nil +// GetReposCount returns the ReposCount field if it's non-nil, zero value otherwise. +func (t *Team) GetReposCount() int { + if t == nil || t.ReposCount == nil { + return 0 } - return c.Sender + return *t.ReposCount } -// GetBaseRole returns the BaseRole field if it's non-nil, zero value otherwise. -func (c *CustomRepoRoles) GetBaseRole() string { - if c == nil || c.BaseRole == nil { +// GetRepositoriesURL returns the RepositoriesURL field if it's non-nil, zero value otherwise. +func (t *Team) GetRepositoriesURL() string { + if t == nil || t.RepositoriesURL == nil { return "" } - return *c.BaseRole + return *t.RepositoriesURL } -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (c *CustomRepoRoles) GetCreatedAt() Timestamp { - if c == nil || c.CreatedAt == nil { - return Timestamp{} +// GetSlug returns the Slug field if it's non-nil, zero value otherwise. +func (t *Team) GetSlug() string { + if t == nil || t.Slug == nil { + return "" } - return *c.CreatedAt + return *t.Slug } -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (c *CustomRepoRoles) GetDescription() string { - if c == nil || c.Description == nil { +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (t *Team) GetType() string { + if t == nil || t.Type == nil { return "" } - return *c.Description + return *t.Type } -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (c *CustomRepoRoles) GetID() int64 { - if c == nil || c.ID == nil { - return 0 +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (t *Team) GetURL() string { + if t == nil || t.URL == nil { + return "" } - return *c.ID + return *t.URL } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (c *CustomRepoRoles) GetName() string { - if c == nil || c.Name == nil { - return "" +// GetInstallation returns the Installation field. +func (t *TeamAddEvent) GetInstallation() *Installation { + if t == nil { + return nil } - return *c.Name + return t.Installation } // GetOrg returns the Org field. -func (c *CustomRepoRoles) GetOrg() *Organization { - if c == nil { +func (t *TeamAddEvent) GetOrg() *Organization { + if t == nil { return nil } - return c.Org + return t.Org } -// GetPermissions returns the Permissions slice if it's non-nil, nil otherwise. -func (c *CustomRepoRoles) GetPermissions() []string { - if c == nil || c.Permissions == nil { +// GetRepo returns the Repo field. +func (t *TeamAddEvent) GetRepo() *Repository { + if t == nil { return nil } - return c.Permissions + return t.Repo } -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (c *CustomRepoRoles) GetUpdatedAt() Timestamp { - if c == nil || c.UpdatedAt == nil { - return Timestamp{} +// GetSender returns the Sender field. +func (t *TeamAddEvent) GetSender() *User { + if t == nil { + return nil } - return *c.UpdatedAt + return t.Sender } -// GetEncryptedToken returns the EncryptedToken field. -func (d *DatadogConfig) GetEncryptedToken() string { - if d == nil { - return "" +// GetTeam returns the Team field. +func (t *TeamAddEvent) GetTeam() *Team { + if t == nil { + return nil } - return d.EncryptedToken + return t.Team } -// GetKeyID returns the KeyID field. -func (d *DatadogConfig) GetKeyID() string { - if d == nil { +// GetRole returns the Role field. +func (t *TeamAddTeamMembershipOptions) GetRole() string { + if t == nil { return "" } - return d.KeyID + return t.Role } -// GetSite returns the Site field. -func (d *DatadogConfig) GetSite() string { - if d == nil { +// GetPermission returns the Permission field. +func (t *TeamAddTeamRepoOptions) GetPermission() string { + if t == nil { return "" } - return d.Site + return t.Permission } -// GetLanguages returns the Languages slice if it's non-nil, nil otherwise. -func (d *DefaultSetupConfiguration) GetLanguages() []string { - if d == nil || d.Languages == nil { +// GetDescription returns the Description field. +func (t *TeamChange) GetDescription() *TeamDescription { + if t == nil { return nil } - return d.Languages + return t.Description } -// GetQuerySuite returns the QuerySuite field if it's non-nil, zero value otherwise. -func (d *DefaultSetupConfiguration) GetQuerySuite() string { - if d == nil || d.QuerySuite == nil { - return "" +// GetName returns the Name field. +func (t *TeamChange) GetName() *TeamName { + if t == nil { + return nil + } + return t.Name +} + +// GetPrivacy returns the Privacy field. +func (t *TeamChange) GetPrivacy() *TeamPrivacy { + if t == nil { + return nil } - return *d.QuerySuite + return t.Privacy } -// GetState returns the State field if it's non-nil, zero value otherwise. -func (d *DefaultSetupConfiguration) GetState() string { - if d == nil || d.State == nil { - return "" +// GetRepository returns the Repository field. +func (t *TeamChange) GetRepository() *TeamRepository { + if t == nil { + return nil } - return *d.State + return t.Repository } -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (d *DefaultSetupConfiguration) GetUpdatedAt() Timestamp { - if d == nil || d.UpdatedAt == nil { - return Timestamp{} +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (t *TeamDescription) GetFrom() string { + if t == nil || t.From == nil { + return "" } - return *d.UpdatedAt + return *t.From } -// GetCanApprovePullRequestReviews returns the CanApprovePullRequestReviews field if it's non-nil, zero value otherwise. -func (d *DefaultWorkflowPermissionEnterprise) GetCanApprovePullRequestReviews() bool { - if d == nil || d.CanApprovePullRequestReviews == nil { - return false +// GetAuthor returns the Author field. +func (t *TeamDiscussion) GetAuthor() *User { + if t == nil { + return nil } - return *d.CanApprovePullRequestReviews + return t.Author } -// GetDefaultWorkflowPermissions returns the DefaultWorkflowPermissions field if it's non-nil, zero value otherwise. -func (d *DefaultWorkflowPermissionEnterprise) GetDefaultWorkflowPermissions() string { - if d == nil || d.DefaultWorkflowPermissions == nil { +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (t *TeamDiscussion) GetBody() string { + if t == nil || t.Body == nil { return "" } - return *d.DefaultWorkflowPermissions + return *t.Body } -// GetCanApprovePullRequestReviews returns the CanApprovePullRequestReviews field if it's non-nil, zero value otherwise. -func (d *DefaultWorkflowPermissionOrganization) GetCanApprovePullRequestReviews() bool { - if d == nil || d.CanApprovePullRequestReviews == nil { - return false +// GetBodyHTML returns the BodyHTML field if it's non-nil, zero value otherwise. +func (t *TeamDiscussion) GetBodyHTML() string { + if t == nil || t.BodyHTML == nil { + return "" } - return *d.CanApprovePullRequestReviews + return *t.BodyHTML } -// GetDefaultWorkflowPermissions returns the DefaultWorkflowPermissions field if it's non-nil, zero value otherwise. -func (d *DefaultWorkflowPermissionOrganization) GetDefaultWorkflowPermissions() string { - if d == nil || d.DefaultWorkflowPermissions == nil { +// GetBodyVersion returns the BodyVersion field if it's non-nil, zero value otherwise. +func (t *TeamDiscussion) GetBodyVersion() string { + if t == nil || t.BodyVersion == nil { return "" } - return *d.DefaultWorkflowPermissions + return *t.BodyVersion } -// GetCanApprovePullRequestReviews returns the CanApprovePullRequestReviews field if it's non-nil, zero value otherwise. -func (d *DefaultWorkflowPermissionRepository) GetCanApprovePullRequestReviews() bool { - if d == nil || d.CanApprovePullRequestReviews == nil { - return false +// GetCommentsCount returns the CommentsCount field if it's non-nil, zero value otherwise. +func (t *TeamDiscussion) GetCommentsCount() int { + if t == nil || t.CommentsCount == nil { + return 0 } - return *d.CanApprovePullRequestReviews + return *t.CommentsCount } -// GetDefaultWorkflowPermissions returns the DefaultWorkflowPermissions field if it's non-nil, zero value otherwise. -func (d *DefaultWorkflowPermissionRepository) GetDefaultWorkflowPermissions() string { - if d == nil || d.DefaultWorkflowPermissions == nil { +// GetCommentsURL returns the CommentsURL field if it's non-nil, zero value otherwise. +func (t *TeamDiscussion) GetCommentsURL() string { + if t == nil || t.CommentsURL == nil { return "" } - return *d.DefaultWorkflowPermissions + return *t.CommentsURL } -// GetConfirmDeleteURL returns the ConfirmDeleteURL field if it's non-nil, zero value otherwise. -func (d *DeleteAnalysis) GetConfirmDeleteURL() string { - if d == nil || d.ConfirmDeleteURL == nil { - return "" +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (t *TeamDiscussion) GetCreatedAt() Timestamp { + if t == nil || t.CreatedAt == nil { + return Timestamp{} } - return *d.ConfirmDeleteURL + return *t.CreatedAt } -// GetNextAnalysisURL returns the NextAnalysisURL field if it's non-nil, zero value otherwise. -func (d *DeleteAnalysis) GetNextAnalysisURL() string { - if d == nil || d.NextAnalysisURL == nil { +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (t *TeamDiscussion) GetHTMLURL() string { + if t == nil || t.HTMLURL == nil { return "" } - return *d.NextAnalysisURL + return *t.HTMLURL } -// GetCostCenterState returns the CostCenterState field. -func (d *DeleteCostCenterResponse) GetCostCenterState() string { - if d == nil { - return "" +// GetLastEditedAt returns the LastEditedAt field if it's non-nil, zero value otherwise. +func (t *TeamDiscussion) GetLastEditedAt() Timestamp { + if t == nil || t.LastEditedAt == nil { + return Timestamp{} } - return d.CostCenterState + return *t.LastEditedAt } -// GetID returns the ID field. -func (d *DeleteCostCenterResponse) GetID() string { - if d == nil { +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (t *TeamDiscussion) GetNodeID() string { + if t == nil || t.NodeID == nil { return "" } - return d.ID + return *t.NodeID } -// GetMessage returns the Message field. -func (d *DeleteCostCenterResponse) GetMessage() string { - if d == nil { - return "" +// GetNumber returns the Number field if it's non-nil, zero value otherwise. +func (t *TeamDiscussion) GetNumber() int { + if t == nil || t.Number == nil { + return 0 } - return d.Message + return *t.Number } -// GetName returns the Name field. -func (d *DeleteCostCenterResponse) GetName() string { - if d == nil { - return "" +// GetPinned returns the Pinned field if it's non-nil, zero value otherwise. +func (t *TeamDiscussion) GetPinned() bool { + if t == nil || t.Pinned == nil { + return false } - return d.Name + return *t.Pinned } -// GetInstallation returns the Installation field. -func (d *DeleteEvent) GetInstallation() *Installation { - if d == nil { - return nil +// GetPrivate returns the Private field if it's non-nil, zero value otherwise. +func (t *TeamDiscussion) GetPrivate() bool { + if t == nil || t.Private == nil { + return false } - return d.Installation + return *t.Private } -// GetOrg returns the Org field. -func (d *DeleteEvent) GetOrg() *Organization { - if d == nil { +// GetReactions returns the Reactions field. +func (t *TeamDiscussion) GetReactions() *Reactions { + if t == nil { return nil } - return d.Org + return t.Reactions } -// GetPusherType returns the PusherType field if it's non-nil, zero value otherwise. -func (d *DeleteEvent) GetPusherType() string { - if d == nil || d.PusherType == nil { +// GetTeamURL returns the TeamURL field if it's non-nil, zero value otherwise. +func (t *TeamDiscussion) GetTeamURL() string { + if t == nil || t.TeamURL == nil { return "" } - return *d.PusherType + return *t.TeamURL } -// GetRef returns the Ref field if it's non-nil, zero value otherwise. -func (d *DeleteEvent) GetRef() string { - if d == nil || d.Ref == nil { +// GetTitle returns the Title field if it's non-nil, zero value otherwise. +func (t *TeamDiscussion) GetTitle() string { + if t == nil || t.Title == nil { return "" } - return *d.Ref + return *t.Title } -// GetRefType returns the RefType field if it's non-nil, zero value otherwise. -func (d *DeleteEvent) GetRefType() string { - if d == nil || d.RefType == nil { - return "" +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (t *TeamDiscussion) GetUpdatedAt() Timestamp { + if t == nil || t.UpdatedAt == nil { + return Timestamp{} } - return *d.RefType + return *t.UpdatedAt } -// GetRepo returns the Repo field. -func (d *DeleteEvent) GetRepo() *Repository { - if d == nil { - return nil +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (t *TeamDiscussion) GetURL() string { + if t == nil || t.URL == nil { + return "" } - return d.Repo + return *t.URL } -// GetSender returns the Sender field. -func (d *DeleteEvent) GetSender() *User { - if d == nil { - return nil +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (t *TeamEvent) GetAction() string { + if t == nil || t.Action == nil { + return "" } - return d.Sender + return *t.Action } -// GetAutoDismissedAt returns the AutoDismissedAt field if it's non-nil, zero value otherwise. -func (d *DependabotAlert) GetAutoDismissedAt() Timestamp { - if d == nil || d.AutoDismissedAt == nil { - return Timestamp{} +// GetChanges returns the Changes field. +func (t *TeamEvent) GetChanges() *TeamChange { + if t == nil { + return nil } - return *d.AutoDismissedAt + return t.Changes } -// GetCreatedAt returns the CreatedAt field if it's non-nil, z// GetSeats returns the Seats slice if it's non-nil, nil otherwise. -func (l *ListCopilotSeatsResponse) GetSeats() []*CopilotSeatDetails { - if l == nil || l.Seats == nil { +// GetInstallation returns the Installation field. +func (t *TeamEvent) GetInstallation() *Installation { + if t == nil { return nil } - return l.Seats + return t.Installation } -// GetTotalSeats returns the TotalSeats field. -func (l *ListCopilotSeatsResponse) GetTotalSeats() int64 { - if l == nil { - return 0 +// GetOrg returns the Org field. +func (t *TeamEvent) GetOrg() *Organization { + if t == nil { + return nil } - return l.TotalSeats + return t.Org } -// GetState returns the State field if it's non-nil, zero value otherwise. -func (l *ListCostCenterOptions) GetState() string { - if l == nil || l.State == nil { - return "" +// GetRepo returns the Repo field. +func (t *TeamEvent) GetRepo() *Repository { + if t == nil { + return nil } - return *l.State + return t.Repo } -// GetAfter returns the After field. -func (l *ListCursorOptions) GetAfter() string { - if l == nil { - return "" +// GetSender returns the Sender field. +func (t *TeamEvent) GetSender() *User { + if t == nil { + return nil } - return l.After + return t.Sender } -// GetBefore returns the Before field. -func (l *ListCursorOptions) GetBefore() string { - if l == nil { - return "" +// GetTeam returns the Team field. +func (t *TeamEvent) GetTeam() *Team { + if t == nil { + return nil } - return l.Before + return t.Team } -// GetCursor returns the Cursor field. -func (l *ListCursorOptions) GetCursor() string { - if l == nil { +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (t *TeamLDAPMapping) GetDescription() string { + if t == nil || t.Description == nil { return "" } - return l.Cursor + return *t.Description } -// GetFirst returns the First field. -func (l *ListCursorOptions) GetFirst() int { - if l == nil { +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (t *TeamLDAPMapping) GetID() int64 { + if t == nil || t.ID == nil { return 0 } - return l.First + return *t.ID } -// GetLast returns the Last field. -func (l *ListCursorOptions) GetLast() int { - if l == nil { - return 0 +// GetLDAPDN returns the LDAPDN field if it's non-nil, zero value otherwise. +func (t *TeamLDAPMapping) GetLDAPDN() string { + if t == nil || t.LDAPDN == nil { + return "" } - return l.Last + return *t.LDAPDN } -// GetPage returns the Page field. -func (l *ListCursorOptions) GetPage() string { - if l == nil { +// GetMembersURL returns the MembersURL field if it's non-nil, zero value otherwise. +func (t *TeamLDAPMapping) GetMembersURL() string { + if t == nil || t.MembersURL == nil { return "" } - return l.Page + return *t.MembersURL } -// GetPerPage returns the PerPage field. -func (l *ListCursorOptions) GetPerPage() int { - if l == nil { - return 0 +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (t *TeamLDAPMapping) GetName() string { + if t == nil || t.Name == nil { + return "" } - return l.PerPage + return *t.Name } -// 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 +// GetPermission returns the Permission field if it's non-nil, zero value otherwise. +func (t *TeamLDAPMapping) GetPermission() string { + if t == nil || t.Permission == nil { + return "" } - return l.AvailableIntegrations + return *t.Permission } -// GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. -func (l *ListCustomDeploymentRuleIntegrationsResponse) GetTotalCount() int { - if l == nil || l.TotalCount == nil { - return 0 +// GetPrivacy returns the Privacy field if it's non-nil, zero value otherwise. +func (t *TeamLDAPMapping) GetPrivacy() string { + if t == nil || t.Privacy == nil { + return "" } - return *l.TotalCount + return *t.Privacy } -// GetRepositoryQuery returns the RepositoryQuery field. -func (l *ListCustomPropertyValuesOptions) GetRepositoryQuery() string { - if l == nil { +// GetRepositoriesURL returns the RepositoriesURL field if it's non-nil, zero value otherwise. +func (t *TeamLDAPMapping) GetRepositoriesURL() string { + if t == nil || t.RepositoriesURL == nil { return "" } - return l.RepositoryQuery + return *t.RepositoriesURL } -// 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 +// GetSlug returns the Slug field if it's non-nil, zero value otherwise. +func (t *TeamLDAPMapping) GetSlug() string { + if t == nil || t.Slug == nil { + return "" } - return l.ProtectionRules + return *t.Slug } -// GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. -func (l *ListDeploymentProtectionRuleResponse) GetTotalCount() int { - if l == nil || l.TotalCount == nil { - return 0 +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (t *TeamLDAPMapping) GetURL() string { + if t == nil || t.URL == nil { + return "" } - return *l.TotalCount + return *t.URL } -// GetAfter returns the After field. -func (l *ListEnterpriseCodeSecurityConfigurationOptions) GetAfter() string { - if l == nil { +// GetRole returns the Role field. +func (t *TeamListTeamMembersOptions) GetRole() string { + if t == nil { return "" } - return l.After + return t.Role } -// GetBefore returns the Before field. -func (l *ListEnterpriseCodeSecurityConfigurationOptions) GetBefore() string { - if l == nil { +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (t *TeamName) GetFrom() string { + if t == nil || t.From == nil { return "" } - return l.Before + return *t.From } -// GetPerPage returns the PerPage field. -func (l *ListEnterpriseCodeSecurityConfigurationOptions) GetPerPage() int { - if l == nil { - return 0 +// GetFrom returns the From field. +func (t *TeamPermissions) GetFrom() *TeamPermissionsFrom { + if t == nil { + return nil } - return l.PerPage + return t.From } -// GetVisibleToOrganization returns the VisibleToOrganization field. -func (l *ListEnterpriseRunnerGroupOptions) GetVisibleToOrganization() string { - if l == nil { - return "" +// GetAdmin returns the Admin field if it's non-nil, zero value otherwise. +func (t *TeamPermissionsFrom) GetAdmin() bool { + if t == nil || t.Admin == nil { + return false } - return l.VisibleToOrganization + return *t.Admin } -// GetDisplayName returns the DisplayName field if it's non-nil, zero value otherwise. -func (l *ListExternalGroupsOptions) GetDisplayName() string { - if l == nil || l.DisplayName == nil { - return "" +// GetPull returns the Pull field if it's non-nil, zero value otherwise. +func (t *TeamPermissionsFrom) GetPull() bool { + if t == nil || t.Pull == nil { + return false } - return *l.DisplayName + return *t.Pull } -// GetDirection returns the Direction field. -func (l *ListFineGrainedPATOptions) GetDirection() string { - if l == nil { - return "" +// GetPush returns the Push field if it's non-nil, zero value otherwise. +func (t *TeamPermissionsFrom) GetPush() bool { + if t == nil || t.Push == nil { + return false } - return l.Direction + return *t.Push } -// GetLastUsedAfter returns the LastUsedAfter field. -func (l *ListFineGrainedPATOptions) GetLastUsedAfter() string { - if l == nil { +// GetFrom returns the From field if it's non-nil, zero value otherwise. +func (t *TeamPrivacy) GetFrom() string { + if t == nil || t.From == nil { return "" } - return l.LastUsedAfter + return *t.From } -// GetLastUsedBefore returns the LastUsedBefore field. -func (l *ListFineGrainedPATOptions) GetLastUsedBefore() string { - if l == nil { +// GetPermission returns the Permission field if it's non-nil, zero value otherwise. +func (t *TeamProjectOptions) GetPermission() string { + if t == nil || t.Permission == nil { return "" } - return l.LastUsedBefore + return *t.Permission } -// GetOwner returns the Owner slice if it's non-nil, nil otherwise. -func (l *ListFineGrainedPATOptions) GetOwner() []string { - if l == nil || l.Owner == nil { +// GetPermissions returns the Permissions field. +func (t *TeamRepository) GetPermissions() *TeamPermissions { + if t == nil { return nil } - return l.Owner + return t.Permissions } -// GetPermission returns the Permission field. -func (l *ListFineGrainedPATOptions) GetPermission() string { - if l == nil { +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (t *TemplateRepoRequest) GetDescription() string { + if t == nil || t.Description == nil { return "" } - return l.Permission + return *t.Description } -// GetRepository returns the Repository field. -func (l *ListFineGrainedPATOptions) GetRepository() string { - if l == nil { - return "" +// GetIncludeAllBranches returns the IncludeAllBranches field if it's non-nil, zero value otherwise. +func (t *TemplateRepoRequest) GetIncludeAllBranches() bool { + if t == nil || t.IncludeAllBranches == nil { + return false } - return l.Repository + return *t.IncludeAllBranches } -// GetSort returns the Sort field. -func (l *ListFineGrainedPATOptions) GetSort() string { - if l == nil { +// GetName returns the Name field. +func (t *TemplateRepoRequest) GetName() string { + if t == nil { return "" } - return l.Sort + return t.Name } -// 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 +// GetOwner returns the Owner field if it's non-nil, zero value otherwise. +func (t *TemplateRepoRequest) GetOwner() string { + if t == nil || t.Owner == nil { + return "" } - return l.TokenID + return *t.Owner } -// GetAffects returns the Affects field if it's non-nil, zero value otherwise. -func (l *ListGlobalSecurityAdvisoriesOptions) GetAffects() string { - if l == nil || l.Affects == nil { - return "" +// GetPrivate returns the Private field if it's non-nil, zero value otherwise. +func (t *TemplateRepoRequest) GetPrivate() bool { + if t == nil || t.Private == nil { + return false } - return *l.Affects + return *t.Private } -// GetCVEID returns the CVEID field if it's non-nil, zero value otherwise. -func (l *ListGlobalSecurityAdvisoriesOptions) GetCVEID() string { - if l == nil || l.CVEID == nil { +// GetFragment returns the Fragment field if it's non-nil, zero value otherwise. +func (t *TextMatch) GetFragment() string { + if t == nil || t.Fragment == nil { return "" } - return *l.CVEID + return *t.Fragment } -// GetCWEs returns the CWEs slice if it's non-nil, nil otherwise. -func (l *ListGlobalSecurityAdvisoriesOptions) GetCWEs() []string { - if l == nil || l.CWEs == nil { +// 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 l.CWEs + return t.Matches } -// GetEcosystem returns the Ecosystem field if it's non-nil, zero value otherwise. -func (l *ListGlobalSecurityAdvisoriesOptions) GetEcosystem() string { - if l == nil || l.Ecosystem == nil { +// GetObjectType returns the ObjectType field if it's non-nil, zero value otherwise. +func (t *TextMatch) GetObjectType() string { + if t == nil || t.ObjectType == nil { return "" } - return *l.Ecosystem + return *t.ObjectType } -// GetGHSAID returns the GHSAID field if it's non-nil, zero value otherwise. -func (l *ListGlobalSecurityAdvisoriesOptions) GetGHSAID() string { - if l == nil || l.GHSAID == nil { +// GetObjectURL returns the ObjectURL field if it's non-nil, zero value otherwise. +func (t *TextMatch) GetObjectURL() string { + if t == nil || t.ObjectURL == nil { return "" } - return *l.GHSAID + return *t.ObjectURL } -// GetIsWithdrawn returns the IsWithdrawn field if it's non-nil, zero value otherwise. -func (l *ListGlobalSecurityAdvisoriesOptions) GetIsWithdrawn() bool { - if l == nil || l.IsWithdrawn == nil { - return false +// GetProperty returns the Property field if it's non-nil, zero value otherwise. +func (t *TextMatch) GetProperty() string { + if t == nil || t.Property == nil { + return "" } - return *l.IsWithdrawn + return *t.Property } -// GetModified returns the Modified field if it's non-nil, zero value otherwise. -func (l *ListGlobalSecurityAdvisoriesOptions) GetModified() string { - if l == nil || l.Modified == nil { - return "" +// GetActor returns the Actor field. +func (t *Timeline) GetActor() *User { + if t == nil { + return nil } - return *l.Modified + return t.Actor } -// GetPublished returns the Published field if it's non-nil, zero value otherwise. -func (l *ListGlobalSecurityAdvisoriesOptions) GetPublished() string { - if l == nil || l.Published == nil { - return "" +// GetAssignee returns the Assignee field. +func (t *Timeline) GetAssignee() *User { + if t == nil { + return nil } - return *l.Published + return t.Assignee } -// GetSeverity returns the Severity field if it's non-nil, zero value otherwise. -func (l *ListGlobalSecurityAdvisoriesOptions) GetSeverity() string { - if l == nil || l.Severity == nil { - return "" +// GetAssigner returns the Assigner field. +func (t *Timeline) GetAssigner() *User { + if t == nil { + return nil } - return *l.Severity + return t.Assigner } -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (l *ListGlobalSecurityAdvisoriesOptions) GetType() string { - if l == nil || l.Type == nil { - return "" +// GetAuthor returns the Author field. +func (t *Timeline) GetAuthor() *CommitAuthor { + if t == nil { + return nil } - return *l.Type + return t.Author } -// GetUpdated returns the Updated field if it's non-nil, zero value otherwise. -func (l *ListGlobalSecurityAdvisoriesOptions) GetUpdated() string { - if l == nil || l.Updated == nil { +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (t *Timeline) GetBody() string { + if t == nil || t.Body == nil { return "" } - return *l.Updated + return *t.Body } -// GetQuery returns the Query field. -func (l *ListIDPGroupsOptions) GetQuery() string { - if l == nil { +// GetCommitID returns the CommitID field if it's non-nil, zero value otherwise. +func (t *Timeline) GetCommitID() string { + if t == nil || t.CommitID == nil { return "" } - return l.Query + return *t.CommitID } -// GetFeatured returns the Featured field if it's non-nil, zero value otherwise. -func (l *ListLicensesOptions) GetFeatured() bool { - if l == nil || l.Featured == nil { - return false +// GetCommitter returns the Committer field. +func (t *Timeline) GetCommitter() *CommitAuthor { + if t == nil { + return nil } - return *l.Featured + return t.Committer } -// GetFilter returns the Filter field. -func (l *ListMembersOptions) GetFilter() string { - if l == nil { +// GetCommitURL returns the CommitURL field if it's non-nil, zero value otherwise. +func (t *Timeline) GetCommitURL() string { + if t == nil || t.CommitURL == nil { return "" } - return l.Filter + return *t.CommitURL } -// GetPublicOnly returns the PublicOnly field. -func (l *ListMembersOptions) GetPublicOnly() bool { - if l == nil { - return false +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (t *Timeline) GetCreatedAt() Timestamp { + if t == nil || t.CreatedAt == nil { + return Timestamp{} } - return l.PublicOnly + return *t.CreatedAt } -// GetRole returns the Role field. -func (l *ListMembersOptions) GetRole() string { - if l == nil { +// GetEvent returns the Event field if it's non-nil, zero value otherwise. +func (t *Timeline) GetEvent() string { + if t == nil || t.Event == nil { return "" } - return l.Role + return *t.Event } -// GetPage returns the Page field. -func (l *ListOptions) GetPage() int { - if l == nil { +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (t *Timeline) GetID() int64 { + if t == nil || t.ID == nil { return 0 } - return l.Page + return *t.ID } -// GetPerPage returns the PerPage field. -func (l *ListOptions) GetPerPage() int { - if l == nil { - return 0 +// GetLabel returns the Label field. +func (t *Timeline) GetLabel() *Label { + if t == nil { + return nil } - return l.PerPage + return t.Label } -// GetRepositories returns the Repositories slice if it's non-nil, nil otherwise. -func (l *ListOrganizationCopilotCodingAgentRepositoriesResponse) GetRepositories() []*Repository { - if l == nil || l.Repositories == nil { +// GetMessage returns the Message field if it's non-nil, zero value otherwise. +func (t *Timeline) GetMessage() string { + if t == nil || t.Message == nil { + return "" + } + return *t.Message +} + +// GetMilestone returns the Milestone field. +func (t *Timeline) GetMilestone() *Milestone { + if t == nil { return nil } - return l.Repositories + return t.Milestone } -// GetTotalCount returns the TotalCount field. -func (l *ListOrganizationCopilotCodingAgentRepositoriesResponse) GetTotalCount() int { - if l == nil { - return 0 +// 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 l.TotalCount + return t.Parents } -// GetOrganizations returns the Organizations slice if it's non-nil, nil otherwise. -func (l *ListOrganizations) GetOrganizations() []*Organization { - if l == nil || l.Organizations == nil { +// GetPerformedViaGithubApp returns the PerformedViaGithubApp field. +func (t *Timeline) GetPerformedViaGithubApp() *App { + if t == nil { return nil } - return l.Organizations + return t.PerformedViaGithubApp } -// GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. -func (l *ListOrganizations) GetTotalCount() int { - if l == nil || l.TotalCount == nil { - return 0 +// GetRename returns the Rename field. +func (t *Timeline) GetRename() *Rename { + if t == nil { + return nil } - return *l.TotalCount + return t.Rename } -// GetAfter returns the After field. -func (l *ListOrgCodeSecurityConfigurationOptions) GetAfter() string { - if l == nil { - return "" +// GetRequestedTeam returns the RequestedTeam field. +func (t *Timeline) GetRequestedTeam() *Team { + if t == nil { + return nil } - return l.After + return t.RequestedTeam } -// GetBefore returns the Before field. -func (l *ListOrgCodeSecurityConfigurationOptions) GetBefore() string { - if l == nil { - return "" +// GetRequester returns the Requester field. +func (t *Timeline) GetRequester() *User { + if t == nil { + return nil } - return l.Before + return t.Requester } -// GetPerPage returns the PerPage field. -func (l *ListOrgCodeSecurityConfigurationOptions) GetPerPage() int { - if l == nil { - return 0 +// GetReviewer returns the Reviewer field. +func (t *Timeline) GetReviewer() *User { + if t == nil { + return nil } - return l.PerPage + return t.Reviewer } -// GetTargetType returns the TargetType field. -func (l *ListOrgCodeSecurityConfigurationOptions) GetTargetType() string { - if l == nil { +// GetSHA returns the SHA field if it's non-nil, zero value otherwise. +func (t *Timeline) GetSHA() string { + if t == nil || t.SHA == nil { return "" } - return l.TargetType + return *t.SHA } -// GetState returns the State field. -func (l *ListOrgMembershipsOptions) GetState() string { - if l == nil { - return "" +// GetSource returns the Source field. +func (t *Timeline) GetSource() *Source { + if t == nil { + return nil } - return l.State + return t.Source } -// GetVisibleToRepository returns the VisibleToRepository field. -func (l *ListOrgRunnerGroupOptions) GetVisibleToRepository() string { - if l == nil { +// GetState returns the State field if it's non-nil, zero value otherwise. +func (t *Timeline) GetState() string { + if t == nil || t.State == nil { return "" } - return l.VisibleToRepository + return *t.State } -// GetFilter returns the Filter field. -func (l *ListOutsideCollaboratorsOptions) GetFilter() string { - if l == nil { - return "" +// GetSubmittedAt returns the SubmittedAt field if it's non-nil, zero value otherwise. +func (t *Timeline) GetSubmittedAt() Timestamp { + if t == nil || t.SubmittedAt == nil { + return Timestamp{} } - return l.Filter + return *t.SubmittedAt } -// GetState returns the State field. -func (l *ListPackageVersionsOptions) GetState() string { - if l == nil { +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (t *Timeline) GetURL() string { + if t == nil || t.URL == nil { return "" } - return l.State + return *t.URL } -// GetFields returns the Fields slice if it's non-nil, nil otherwise. -func (l *ListProjectItemsOptions) GetFields() []int64 { - if l == nil || l.Fields == nil { +// GetUser returns the User field. +func (t *Timeline) GetUser() *User { + if t == nil { return nil } - return l.Fields + return t.User } -// GetQuery returns the Query field. -func (l *ListProjectsOptions) GetQuery() string { - if l == nil { +// GetGUID returns the GUID field if it's non-nil, zero value otherwise. +func (t *Tool) GetGUID() string { + if t == nil || t.GUID == nil { return "" } - return l.Query + return *t.GUID } -// GetAfter returns the After field. -func (l *ListProjectsPaginationOptions) GetAfter() string { - if l == nil { +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (t *Tool) GetName() string { + if t == nil || t.Name == nil { return "" } - return l.After + return *t.Name } -// GetBefore returns the Before field. -func (l *ListProjectsPaginationOptions) GetBefore() string { - if l == nil { +// GetVersion returns the Version field if it's non-nil, zero value otherwise. +func (t *Tool) GetVersion() string { + if t == nil || t.Version == nil { return "" } - return l.Before + return *t.Version } -// GetPerPage returns the PerPage field. -func (l *ListProjectsPaginationOptions) GetPerPage() int { - if l == nil { - return 0 +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (t *TopicResult) GetCreatedAt() Timestamp { + if t == nil || t.CreatedAt == nil { + return Timestamp{} } - return l.PerPage + return *t.CreatedAt } -// GetCount returns the Count field if it's non-nil, zero value otherwise. -func (l *ListProvisionedSCIMGroupsEnterpriseOptions) GetCount() int { - if l == nil || l.Count == nil { - return 0 +// GetCreatedBy returns the CreatedBy field if it's non-nil, zero value otherwise. +func (t *TopicResult) GetCreatedBy() string { + if t == nil || t.CreatedBy == nil { + return "" } - return *l.Count + return *t.CreatedBy } -// GetExcludedAttributes returns the ExcludedAttributes field if it's non-nil, zero value otherwise. -func (l *ListProvisionedSCIMGroupsEnterpriseOptions) GetExcludedAttributes() string { - if l == nil || l.ExcludedAttributes == nil { - return "" +// GetCurated returns the Curated field if it's non-nil, zero value otherwise. +func (t *TopicResult) GetCurated() bool { + if t == nil || t.Curated == nil { + return false } - return *l.ExcludedAttributes + return *t.Curated } -// GetFilter returns the Filter field if it's non-nil, zero value otherwise. -func (l *ListProvisionedSCIMGroupsEnterpriseOptions) GetFilter() string { - if l == nil || l.Filter == nil { +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (t *TopicResult) GetDescription() string { + if t == nil || t.Description == nil { return "" } - return *l.Filter + return *t.Description } -// GetStartIndex returns the StartIndex field if it's non-nil, zero value otherwise. -func (l *ListProvisionedSCIMGroupsEnterpriseOptions) GetStartIndex() int { - if l == nil || l.StartIndex == nil { - return 0 +// GetDisplayName returns the DisplayName field if it's non-nil, zero value otherwise. +func (t *TopicResult) GetDisplayName() string { + if t == nil || t.DisplayName == nil { + return "" } - return *l.StartIndex + return *t.DisplayName } -// GetCount returns the Count field if it's non-nil, zero value otherwise. -func (l *ListProvisionedSCIMUsersEnterpriseOptions) GetCount() int { - if l == nil || l.Count == nil { - return 0 +// GetFeatured returns the Featured field if it's non-nil, zero value otherwise. +func (t *TopicResult) GetFeatured() bool { + if t == nil || t.Featured == nil { + return false } - return *l.Count + return *t.Featured } -// GetFilter returns the Filter field if it's non-nil, zero value otherwise. -func (l *ListProvisionedSCIMUsersEnterpriseOptions) GetFilter() string { - if l == nil || l.Filter == nil { +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (t *TopicResult) GetName() string { + if t == nil || t.Name == nil { return "" } - return *l.Filter + return *t.Name } -// GetStartIndex returns the StartIndex field if it's non-nil, zero value otherwise. -func (l *ListProvisionedSCIMUsersEnterpriseOptions) GetStartIndex() int { - if l == nil || l.StartIndex == 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 *l.StartIndex + return *t.Score } -// GetContent returns the Content field. -func (l *ListReactionOptions) GetContent() string { - if l == nil { +// GetShortDescription returns the ShortDescription field if it's non-nil, zero value otherwise. +func (t *TopicResult) GetShortDescription() string { + if t == nil || t.ShortDescription == nil { return "" } - return l.Content + return *t.ShortDescription } -// GetClientIP returns the ClientIP field if it's non-nil, zero value otherwise. -func (l *ListRepoMachineTypesOptions) GetClientIP() string { - if l == nil || l.ClientIP == nil { +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (t *TopicResult) GetUpdatedAt() string { + if t == nil || t.UpdatedAt == nil { return "" } - return *l.ClientIP + return *t.UpdatedAt } -// GetLocation returns the Location field if it's non-nil, zero value otherwise. -func (l *ListRepoMachineTypesOptions) GetLocation() string { - if l == nil || l.Location == nil { - return "" +// GetIncompleteResults returns the IncompleteResults field if it's non-nil, zero value otherwise. +func (t *TopicsSearchResult) GetIncompleteResults() bool { + if t == nil || t.IncompleteResults == nil { + return false } - return *l.Location + return *t.IncompleteResults } -// GetRef returns the Ref field if it's non-nil, zero value otherwise. -func (l *ListRepoMachineTypesOptions) GetRef() string { - if l == nil || l.Ref == nil { - return "" +// 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 *l.Ref + return t.Topics } -// 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 +// GetTotal returns the Total field if it's non-nil, zero value otherwise. +func (t *TopicsSearchResult) GetTotal() int { + if t == nil || t.Total == nil { + return 0 } - return l.Repositories + return *t.Total } -// GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. -func (l *ListRepositories) GetTotalCount() int { - if l == nil || l.TotalCount == nil { +// GetTotalActiveCachesCount returns the TotalActiveCachesCount field. +func (t *TotalCacheUsage) GetTotalActiveCachesCount() int { + if t == nil { return 0 } - return *l.TotalCount + return t.TotalActiveCachesCount } -// GetActivityType returns the ActivityType field. -func (l *ListRepositoryActivityOptions) GetActivityType() string { - if l == nil { - return "" +// GetTotalActiveCachesUsageSizeInBytes returns the TotalActiveCachesUsageSizeInBytes field. +func (t *TotalCacheUsage) GetTotalActiveCachesUsageSizeInBytes() int64 { + if t == nil { + return 0 } - return l.ActivityType + return t.TotalActiveCachesUsageSizeInBytes } -// GetActor returns the Actor field. -func (l *ListRepositoryActivityOptions) GetActor() string { - if l == nil { +// GetPer returns the Per field. +func (t *TrafficBreakdownOptions) GetPer() string { + if t == nil { return "" } - return l.Actor + return t.Per } -// GetAfter returns the After field. -func (l *ListRepositoryActivityOptions) GetAfter() string { - if l == nil { - return "" +// 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 l.After + return t.Clones } -// GetBefore returns the Before field. -func (l *ListRepositoryActivityOptions) GetBefore() string { - if l == nil { - return "" +// GetCount returns the Count field if it's non-nil, zero value otherwise. +func (t *TrafficClones) GetCount() int { + if t == nil || t.Count == nil { + return 0 } - return l.Before + return *t.Count } -// GetDirection returns the Direction field. -func (l *ListRepositoryActivityOptions) GetDirection() string { - if l == nil { - return "" +// GetUniques returns the Uniques field if it's non-nil, zero value otherwise. +func (t *TrafficClones) GetUniques() int { + if t == nil || t.Uniques == nil { + return 0 } - return l.Direction + return *t.Uniques } -// GetPerPage returns the PerPage field. -func (l *ListRepositoryActivityOptions) GetPerPage() int { - if l == nil { +// GetCount returns the Count field if it's non-nil, zero value otherwise. +func (t *TrafficData) GetCount() int { + if t == nil || t.Count == nil { return 0 } - return l.PerPage + return *t.Count } -// GetRef returns the Ref field. -func (l *ListRepositoryActivityOptions) GetRef() string { - if l == nil { - return "" +// GetTimestamp returns the Timestamp field if it's non-nil, zero value otherwise. +func (t *TrafficData) GetTimestamp() Timestamp { + if t == nil || t.Timestamp == nil { + return Timestamp{} } - return l.Ref + return *t.Timestamp } -// GetTimePeriod returns the TimePeriod field. -func (l *ListRepositoryActivityOptions) GetTimePeriod() string { - if l == nil { - return "" +// GetUniques returns the Uniques field if it's non-nil, zero value otherwise. +func (t *TrafficData) GetUniques() int { + if t == nil || t.Uniques == nil { + return 0 } - return l.TimePeriod + return *t.Uniques } -// GetDirection returns the Direction field. -func (l *ListRepositorySecurityAdvisoriesOptions) GetDirection() string { - if l == nil { - return "" +// GetCount returns the Count field if it's non-nil, zero value otherwise. +func (t *TrafficPath) GetCount() int { + if t == nil || t.Count == nil { + return 0 } - return l.Direction + return *t.Count } -// GetSort returns the Sort field. -func (l *ListRepositorySecurityAdvisoriesOptions) GetSort() string { - if l == nil { +// GetPath returns the Path field if it's non-nil, zero value otherwise. +func (t *TrafficPath) GetPath() string { + if t == nil || t.Path == nil { return "" } - return l.Sort + return *t.Path } -// GetState returns the State field. -func (l *ListRepositorySecurityAdvisoriesOptions) GetState() string { - if l == nil { +// GetTitle returns the Title field if it's non-nil, zero value otherwise. +func (t *TrafficPath) GetTitle() string { + if t == nil || t.Title == nil { return "" } - return l.State + return *t.Title } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (l *ListRunnersOptions) GetName() string { - if l == nil || l.Name == nil { - return "" +// GetUniques returns the Uniques field if it's non-nil, zero value otherwise. +func (t *TrafficPath) GetUniques() int { + if t == nil || t.Uniques == nil { + return 0 } - return *l.Name + return *t.Uniques } // GetCount returns the Count field if it's non-nil, zero value otherwise. -func (l *ListSCIMProvisionedIdentitiesOptions) GetCount() int { - if l == nil || l.Count == nil { +func (t *TrafficReferrer) GetCount() int { + if t == nil || t.Count == nil { return 0 } - return *l.Count + return *t.Count } -// GetFilter returns the Filter field if it's non-nil, zero value otherwise. -func (l *ListSCIMProvisionedIdentitiesOptions) GetFilter() string { - if l == nil || l.Filter == nil { +// GetReferrer returns the Referrer field if it's non-nil, zero value otherwise. +func (t *TrafficReferrer) GetReferrer() string { + if t == nil || t.Referrer == nil { return "" } - return *l.Filter + return *t.Referrer } -// GetStartIndex returns the StartIndex field if it's non-nil, zero value otherwise. -func (l *ListSCIMProvisionedIdentitiesOptions) GetStartIndex() int { - if l == nil || l.StartIndex == nil { +// GetUniques returns the Uniques field if it's non-nil, zero value otherwise. +func (t *TrafficReferrer) GetUniques() int { + if t == nil || t.Uniques == nil { return 0 } - return *l.StartIndex + return *t.Uniques } -// GetDirection returns the Direction field. -func (l *ListUserIssuesOptions) GetDirection() string { - if l == nil { - return "" +// GetCount returns the Count field if it's non-nil, zero value otherwise. +func (t *TrafficViews) GetCount() int { + if t == nil || t.Count == nil { + return 0 } - return l.Direction + return *t.Count } -// GetFilter returns the Filter field. -func (l *ListUserIssuesOptions) GetFilter() string { - if l == nil { - return "" +// GetUniques returns the Uniques field if it's non-nil, zero value otherwise. +func (t *TrafficViews) GetUniques() int { + if t == nil || t.Uniques == nil { + return 0 } - return l.Filter + return *t.Uniques } -// GetLabels returns the Labels slice if it's non-nil, nil otherwise. -func (l *ListUserIssuesOptions) GetLabels() []string { - if l == nil || l.Labels == nil { +// 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 l.Labels + return t.Views } -// GetSince returns the Since field. -func (l *ListUserIssuesOptions) GetSince() time.Time { - if l == nil { - return time.Time{} +// GetNewName returns the NewName field if it's non-nil, zero value otherwise. +func (t *TransferRequest) GetNewName() string { + if t == nil || t.NewName == nil { + return "" } - return l.Since + return *t.NewName } -// GetSort returns the Sort field. -func (l *ListUserIssuesOptions) GetSort() string { - if l == nil { +// GetNewOwner returns the NewOwner field. +func (t *TransferRequest) GetNewOwner() string { + if t == nil { return "" } - return l.Sort + return t.NewOwner } -// GetState returns the State field. -func (l *ListUserIssuesOptions) GetState() string { - if l == nil { +// 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 { return "" } - return l.State + return *t.SHA } -// GetIsUnmatchedOnly returns the IsUnmatchedOnly field. -func (l *ListVisualStudioSubscriptionsOptions) GetIsUnmatchedOnly() bool { - if l == nil { +// GetTruncated returns the Truncated field if it's non-nil, zero value otherwise. +func (t *Tree) GetTruncated() bool { + if t == nil || t.Truncated == nil { return false } - return l.IsUnmatchedOnly + return *t.Truncated } -// GetFilter returns the Filter field. -func (l *ListWorkflowJobsOptions) GetFilter() string { - if l == nil { +// GetContent returns the Content field if it's non-nil, zero value otherwise. +func (t *TreeEntry) GetContent() string { + if t == nil || t.Content == nil { return "" } - return l.Filter + return *t.Content } -// GetActor returns the Actor field. -func (l *ListWorkflowRunsOptions) GetActor() string { - if l == nil { +// GetMode returns the Mode field if it's non-nil, zero value otherwise. +func (t *TreeEntry) GetMode() string { + if t == nil || t.Mode == nil { return "" } - return l.Actor + return *t.Mode } -// GetBranch returns the Branch field. -func (l *ListWorkflowRunsOptions) GetBranch() string { - if l == nil { +// GetPath returns the Path field if it's non-nil, zero value otherwise. +func (t *TreeEntry) GetPath() string { + if t == nil || t.Path == nil { return "" } - return l.Branch + return *t.Path } -// GetCheckSuiteID returns the CheckSuiteID field. -func (l *ListWorkflowRunsOptions) GetCheckSuiteID() int64 { - if l == nil { +// GetSHA returns the SHA field if it's non-nil, zero value otherwise. +func (t *TreeEntry) GetSHA() string { + if t == nil || t.SHA == nil { + return "" + } + return *t.SHA +} + +// GetSize returns the Size field if it's non-nil, zero value otherwise. +func (t *TreeEntry) GetSize() int { + if t == nil || t.Size == nil { return 0 } - return l.CheckSuiteID + return *t.Size } -// GetCreated returns the Created field. -func (l *ListWorkflowRunsOptions) GetCreated() string { - if l == nil { +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (t *TreeEntry) GetType() string { + if t == nil || t.Type == nil { return "" } - return l.Created + return *t.Type } -// GetEvent returns the Event field. -func (l *ListWorkflowRunsOptions) GetEvent() string { - if l == nil { +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (t *TreeEntry) GetURL() string { + if t == nil || t.URL == nil { return "" } - return l.Event + return *t.URL } -// GetExcludePullRequests returns the ExcludePullRequests field. -func (l *ListWorkflowRunsOptions) GetExcludePullRequests() bool { - if l == nil { - return false +// GetClientID returns the ClientID field. +func (u *UnauthenticatedRateLimitedTransport) GetClientID() string { + if u == nil { + return "" } - return l.ExcludePullRequests + return u.ClientID } -// GetHeadSHA returns the HeadSHA field. -func (l *ListWorkflowRunsOptions) GetHeadSHA() string { - if l == nil { +// GetClientSecret returns the ClientSecret field. +func (u *UnauthenticatedRateLimitedTransport) GetClientSecret() string { + if u == nil { return "" } - return l.HeadSHA + return u.ClientSecret } -// GetStatus returns the Status field. -func (l *ListWorkflowRunsOptions) GetStatus() string { - if l == nil { - return "" +// GetRepositories returns the Repositories slice if it's non-nil, nil otherwise. +func (u *UpdateAppInstallationRepositoriesRequest) GetRepositories() []string { + if u == nil || u.Repositories == nil { + return nil } - return l.Status + return u.Repositories } -// GetEndColumn returns the EndColumn field if it's non-nil, zero value otherwise. -func (l *Location) GetEndColumn() int { - if l == nil || l.EndColumn == nil { - return 0 +// GetRepositorySelection returns the RepositorySelection field if it's non-nil, zero value otherwise. +func (u *UpdateAppInstallationRepositoriesRequest) GetRepositorySelection() string { + if u == nil || u.RepositorySelection == nil { + return "" } - return *l.EndColumn + return *u.RepositorySelection } -// GetEndLine returns the EndLine field if it's non-nil, zero value otherwise. -func (l *Location) GetEndLine() int { - if l == nil || l.EndLine == nil { - return 0 +// GetOp returns the Op field. +func (u *UpdateAttributeForSCIMUserOperations) GetOp() string { + if u == nil { + return "" } - return *l.EndLine + return u.Op } // GetPath returns the Path field if it's non-nil, zero value otherwise. -func (l *Location) GetPath() string { - if l == nil || l.Path == nil { +func (u *UpdateAttributeForSCIMUserOperations) GetPath() string { + if u == nil || u.Path == nil { return "" } - return *l.Path + 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 slice if it's non-nil, nil otherwise. +func (u *UpdateAttributeForSCIMUserRequest) GetOperations() []*UpdateAttributeForSCIMUserOperations { + if u == nil || u.Operations == nil { + return nil + } + return u.Operations } -// GetStartColumn returns the StartColumn field if it's non-nil, zero value otherwise. -func (l *Location) GetStartColumn() int { - if l == nil || l.StartColumn == nil { - return 0 +// GetSchemas returns the Schemas slice if it's non-nil, nil otherwise. +func (u *UpdateAttributeForSCIMUserRequest) GetSchemas() []string { + if u == nil || u.Schemas == nil { + return nil } - return *l.StartColumn + return u.Schemas } -// GetStartLine returns the StartLine field if it's non-nil, zero value otherwise. -func (l *Location) GetStartLine() int { - if l == nil || l.StartLine == nil { - return 0 +// GetParameters returns the Parameters field. +func (u *UpdateBranchRule) GetParameters() UpdateRuleParameters { + if u == nil { + return UpdateRuleParameters{} } - return *l.StartLine + return u.Parameters } -// GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. -func (l *LockBranch) GetEnabled() bool { - if l == nil || l.Enabled == nil { - return false +// 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 *l.Enabled + return u.Actions } -// GetLockReason returns the LockReason field. -func (l *LockIssueOptions) GetLockReason() string { - if l == nil { - return "" +// GetCompletedAt returns the CompletedAt field if it's non-nil, zero value otherwise. +func (u *UpdateCheckRunOptions) GetCompletedAt() Timestamp { + if u == nil || u.CompletedAt == nil { + return Timestamp{} } - return l.LockReason + return *u.CompletedAt } -// GetHostname returns the Hostname field if it's non-nil, zero value otherwise. -func (m *MaintenanceOperationStatus) GetHostname() string { - if m == nil || m.Hostname == nil { +// GetConclusion returns the Conclusion field if it's non-nil, zero value otherwise. +func (u *UpdateCheckRunOptions) GetConclusion() string { + if u == nil || u.Conclusion == nil { return "" } - return *m.Hostname + return *u.Conclusion } -// GetMessage returns the Message field if it's non-nil, zero value otherwise. -func (m *MaintenanceOperationStatus) GetMessage() string { - if m == nil || m.Message == nil { +// GetDetailsURL returns the DetailsURL field if it's non-nil, zero value otherwise. +func (u *UpdateCheckRunOptions) GetDetailsURL() string { + if u == nil || u.DetailsURL == nil { return "" } - return *m.Message + return *u.DetailsURL } -// GetUUID returns the UUID field if it's non-nil, zero value otherwise. -func (m *MaintenanceOperationStatus) GetUUID() string { - if m == nil || m.UUID == nil { +// GetExternalID returns the ExternalID field if it's non-nil, zero value otherwise. +func (u *UpdateCheckRunOptions) GetExternalID() string { + if u == nil || u.ExternalID == nil { return "" } - return *m.UUID + return *u.ExternalID } -// GetEnabled returns the Enabled field. -func (m *MaintenanceOptions) GetEnabled() bool { - if m == nil { - return false +// GetName returns the Name field. +func (u *UpdateCheckRunOptions) GetName() string { + if u == nil { + return "" } - return m.Enabled + return u.Name } -// GetIPExceptionList returns the IPExceptionList slice if it's non-nil, nil otherwise. -func (m *MaintenanceOptions) GetIPExceptionList() []string { - if m == nil || m.IPExceptionList == nil { +// GetOutput returns the Output field. +func (u *UpdateCheckRunOptions) GetOutput() *CheckRunOutput { + if u == nil { return nil } - return m.IPExceptionList + return u.Output } -// GetMaintenanceModeMessage returns the MaintenanceModeMessage field if it's non-nil, zero value otherwise. -func (m *MaintenanceOptions) GetMaintenanceModeMessage() string { - if m == nil || m.MaintenanceModeMessage == nil { +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (u *UpdateCheckRunOptions) GetStatus() string { + if u == nil || u.Status == nil { return "" } - return *m.MaintenanceModeMessage + return *u.Status } -// GetUUID returns the UUID field if it's non-nil, zero value otherwise. -func (m *MaintenanceOptions) GetUUID() string { - if m == nil || m.UUID == nil { +// GetMachine returns the Machine field if it's non-nil, zero value otherwise. +func (u *UpdateCodespaceOptions) GetMachine() string { + if u == nil || u.Machine == nil { return "" } - return *m.UUID + return *u.Machine } -// GetWhen returns the When field if it's non-nil, zero value otherwise. -func (m *MaintenanceOptions) GetWhen() string { - if m == nil || m.When == nil { - return "" +// 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 *m.When + return u.RecentFolders } -// GetCanUnsetMaintenance returns the CanUnsetMaintenance field if it's non-nil, zero value otherwise. -func (m *MaintenanceStatus) GetCanUnsetMaintenance() bool { - if m == nil || m.CanUnsetMaintenance == nil { - return false +// GetBody returns the Body field. +func (u *UpdateCommitCommentRequest) GetBody() string { + if u == nil { + return "" } - return *m.CanUnsetMaintenance + return u.Body } -// 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 +// GetGroupID returns the GroupID field. +func (u *UpdateConnectedExternalGroupRequest) GetGroupID() int64 { + if u == nil { + return 0 } - return m.ConnectionServices + return u.GroupID } -// GetHostname returns the Hostname field if it's non-nil, zero value otherwise. -func (m *MaintenanceStatus) GetHostname() string { - if m == nil || m.Hostname == nil { +// GetBaseRole returns the BaseRole field if it's non-nil, zero value otherwise. +func (u *UpdateCustomOrgRoleRequest) GetBaseRole() string { + if u == nil || u.BaseRole == nil { return "" } - return *m.Hostname + return *u.BaseRole } -// 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 +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (u *UpdateCustomOrgRoleRequest) GetDescription() string { + if u == nil || u.Description == nil { + return "" } - return m.IPExceptionList + return *u.Description } -// GetMaintenanceModeMessage returns the MaintenanceModeMessage field if it's non-nil, zero value otherwise. -func (m *MaintenanceStatus) GetMaintenanceModeMessage() string { - if m == nil || m.MaintenanceModeMessage == nil { +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (u *UpdateCustomOrgRoleRequest) GetName() string { + if u == nil || u.Name == nil { return "" } - return *m.MaintenanceModeMessage + return *u.Name } -// GetScheduledTime returns the ScheduledTime field if it's non-nil, zero value otherwise. -func (m *MaintenanceStatus) GetScheduledTime() Timestamp { - if m == nil || m.ScheduledTime == nil { - return Timestamp{} +// 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 *m.ScheduledTime + return u.Permissions } -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (m *MaintenanceStatus) GetStatus() string { - if m == nil || m.Status == nil { +// GetBaseRole returns the BaseRole field if it's non-nil, zero value otherwise. +func (u *UpdateCustomRepoRoleRequest) GetBaseRole() string { + if u == nil || u.BaseRole == nil { return "" } - return *m.Status + return *u.BaseRole } -// GetUUID returns the UUID field if it's non-nil, zero value otherwise. -func (m *MaintenanceStatus) GetUUID() string { - if m == nil || m.UUID == nil { +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (u *UpdateCustomRepoRoleRequest) GetDescription() string { + if u == nil || u.Description == nil { return "" } - return *m.UUID + return *u.Description } -// GetContext returns the Context field. -func (m *MarkdownOptions) GetContext() string { - if m == nil { +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (u *UpdateCustomRepoRoleRequest) GetName() string { + if u == nil || u.Name == nil { return "" } - return m.Context + return *u.Name } -// GetMode returns the Mode field. -func (m *MarkdownOptions) GetMode() string { - if m == nil { - return "" +// GetPermissions returns the Permissions slice if it's non-nil, nil otherwise. +func (u *UpdateCustomRepoRoleRequest) GetPermissions() []string { + if u == nil || u.Permissions == nil { + return nil } - return m.Mode + return u.Permissions } -// GetEffectiveDate returns the EffectiveDate field if it's non-nil, zero value otherwise. -func (m *MarketplacePendingChange) GetEffectiveDate() Timestamp { - if m == nil || m.EffectiveDate == nil { - return Timestamp{} +// 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 *m.EffectiveDate + return u.Languages } -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (m *MarketplacePendingChange) GetID() int64 { - if m == nil || m.ID == nil { - return 0 +// GetQuerySuite returns the QuerySuite field if it's non-nil, zero value otherwise. +func (u *UpdateDefaultSetupConfigurationOptions) GetQuerySuite() string { + if u == nil || u.QuerySuite == nil { + return "" } - return *m.ID + return *u.QuerySuite } -// GetPlan returns the Plan field. -func (m *MarketplacePendingChange) GetPlan() *MarketplacePlan { - if m == nil { - return nil +// GetState returns the State field. +func (u *UpdateDefaultSetupConfigurationOptions) GetState() string { + if u == nil { + return "" } - return m.Plan + return u.State } -// GetUnitCount returns the UnitCount field if it's non-nil, zero value otherwise. -func (m *MarketplacePendingChange) GetUnitCount() int { - if m == nil || m.UnitCount == nil { +// GetRunID returns the RunID field if it's non-nil, zero value otherwise. +func (u *UpdateDefaultSetupConfigurationResponse) GetRunID() int64 { + if u == nil || u.RunID == nil { return 0 } - return *m.UnitCount + return *u.RunID } -// GetAccountsURL returns the AccountsURL field if it's non-nil, zero value otherwise. -func (m *MarketplacePlan) GetAccountsURL() string { - if m == nil || m.AccountsURL == nil { +// GetRunURL returns the RunURL field if it's non-nil, zero value otherwise. +func (u *UpdateDefaultSetupConfigurationResponse) GetRunURL() string { + if u == nil || u.RunURL == nil { return "" } - return *m.AccountsURL + return *u.RunURL } -// GetBullets returns the Bullets field if it's non-nil, zero value otherwise. -func (m *MarketplacePlan) GetBullets() []string { - if m == nil || m.Bullets == nil { - return nil +// GetName returns the Name field. +func (u *UpdateDeploymentBranchPolicyRequest) GetName() string { + if u == nil { + return "" } - return *m.Bullets + return u.Name } -// GetDescription returns the Description field if it's non-nil, zero value otherwise. -func (m *MarketplacePlan) GetDescription() string { - if m == nil || m.Description == nil { - return "" +// GetAllowsPublicRepositories returns the AllowsPublicRepositories field if it's non-nil, zero value otherwise. +func (u *UpdateEnterpriseRunnerGroupRequest) GetAllowsPublicRepositories() bool { + if u == nil || u.AllowsPublicRepositories == nil { + return false } - return *m.Description + return *u.AllowsPublicRepositories } -// GetHasFreeTrial returns the HasFreeTrial field if it's non-nil, zero value otherwise. -func (m *MarketplacePlan) GetHasFreeTrial() bool { - if m == nil || m.HasFreeTrial == nil { - return false +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (u *UpdateEnterpriseRunnerGroupRequest) GetName() string { + if u == nil || u.Name == nil { + return "" } - return *m.HasFreeTrial + return *u.Name } -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (m *MarketplacePlan) GetID() int64 { - if m == nil || m.ID == nil { - return 0 +// GetNetworkConfigurationID returns the NetworkConfigurationID field if it's non-nil, zero value otherwise. +func (u *UpdateEnterpriseRunnerGroupRequest) GetNetworkConfigurationID() string { + if u == nil || u.NetworkConfigurationID == nil { + return "" } - return *m.ID + return *u.NetworkConfigurationID } -// GetMonthlyPriceInCents returns the MonthlyPriceInCents field if it's non-nil, zero value otherwise. -func (m *MarketplacePlan) GetMonthlyPriceInCents() int { - if m == nil || m.MonthlyPriceInCents == nil { - return 0 +// GetRestrictedToWorkflows returns the RestrictedToWorkflows field if it's non-nil, zero value otherwise. +func (u *UpdateEnterpriseRunnerGroupRequest) GetRestrictedToWorkflows() bool { + if u == nil || u.RestrictedToWorkflows == nil { + return false } - return *m.MonthlyPriceInCents + return *u.RestrictedToWorkflows } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (m *MarketplacePlan) GetName() string { - if m == nil || m.Name == nil { - return "" +// 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 *m.Name + return u.SelectedWorkflows } -// GetNumber returns the Number field if it's non-nil, zero value otherwise. -func (m *MarketplacePlan) GetNumber() int { - if m == nil || m.Number == nil { - return 0 +// GetVisibility returns the Visibility field if it's non-nil, zero value otherwise. +func (u *UpdateEnterpriseRunnerGroupRequest) GetVisibility() string { + if u == nil || u.Visibility == nil { + return "" } - return *m.Number + return *u.Visibility } -// GetPriceModel returns the PriceModel field if it's non-nil, zero value otherwise. -func (m *MarketplacePlan) GetPriceModel() string { - if m == nil || m.PriceModel == nil { +// GetBody returns the Body field. +func (u *UpdateGistCommentRequest) GetBody() string { + if u == nil { return "" } - return *m.PriceModel + return u.Body } -// GetState returns the State field if it's non-nil, zero value otherwise. -func (m *MarketplacePlan) GetState() string { - if m == nil || m.State == nil { +// GetContent returns the Content field if it's non-nil, zero value otherwise. +func (u *UpdateGistFile) GetContent() string { + if u == nil || u.Content == nil { return "" } - return *m.State + return *u.Content } -// GetUnitName returns the UnitName field if it's non-nil, zero value otherwise. -func (m *MarketplacePlan) GetUnitName() string { - if m == nil || m.UnitName == nil { +// GetFilename returns the Filename field if it's non-nil, zero value otherwise. +func (u *UpdateGistFile) GetFilename() string { + if u == nil || u.Filename == nil { return "" } - return *m.UnitName + return *u.Filename } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (m *MarketplacePlan) GetURL() string { - if m == nil || m.URL == nil { +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (u *UpdateGistRequest) GetDescription() string { + if u == nil || u.Description == nil { return "" } - return *m.URL + return *u.Description } -// GetYearlyPriceInCents returns the YearlyPriceInCents field if it's non-nil, zero value otherwise. -func (m *MarketplacePlan) GetYearlyPriceInCents() int { - if m == nil || m.YearlyPriceInCents == nil { - return 0 +// GetEnableStaticIP returns the EnableStaticIP field if it's non-nil, zero value otherwise. +func (u *UpdateHostedRunnerRequest) GetEnableStaticIP() bool { + if u == nil || u.EnableStaticIP == nil { + return false } - return *m.YearlyPriceInCents + return *u.EnableStaticIP } -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (m *MarketplacePlanAccount) GetID() int64 { - if m == nil || m.ID == nil { - return 0 +// GetImageID returns the ImageID field if it's non-nil, zero value otherwise. +func (u *UpdateHostedRunnerRequest) GetImageID() string { + if u == nil || u.ImageID == nil { + return "" } - return *m.ID + return *u.ImageID } -// GetLogin returns the Login field if it's non-nil, zero value otherwise. -func (m *MarketplacePlanAccount) GetLogin() string { - if m == nil || m.Login == nil { +// GetImageVersion returns the ImageVersion field if it's non-nil, zero value otherwise. +func (u *UpdateHostedRunnerRequest) GetImageVersion() string { + if u == nil || u.ImageVersion == nil { return "" } - return *m.Login + return *u.ImageVersion } -// GetMarketplacePendingChange returns the MarketplacePendingChange field. -func (m *MarketplacePlanAccount) GetMarketplacePendingChange() *MarketplacePendingChange { - if m == nil { - return nil +// GetMaximumRunners returns the MaximumRunners field if it's non-nil, zero value otherwise. +func (u *UpdateHostedRunnerRequest) GetMaximumRunners() int64 { + if u == nil || u.MaximumRunners == nil { + return 0 } - return m.MarketplacePendingChange + return *u.MaximumRunners } -// GetMarketplacePurchase returns the MarketplacePurchase field. -func (m *MarketplacePlanAccount) GetMarketplacePurchase() *MarketplacePurchase { - if m == nil { - return nil +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (u *UpdateHostedRunnerRequest) GetName() string { + if u == nil || u.Name == nil { + return "" } - return m.MarketplacePurchase + return *u.Name +} + +// GetRunnerGroupID returns the RunnerGroupID field if it's non-nil, zero value otherwise. +func (u *UpdateHostedRunnerRequest) GetRunnerGroupID() int64 { + if u == nil || u.RunnerGroupID == nil { + return 0 + } + return *u.RunnerGroupID } -// GetOrganizationBillingEmail returns the OrganizationBillingEmail field if it's non-nil, zero value otherwise. -func (m *MarketplacePlanAccount) GetOrganizationBillingEmail() string { - if m == nil || m.OrganizationBillingEmail == nil { +// GetSize returns the Size field if it's non-nil, zero value otherwise. +func (u *UpdateHostedRunnerRequest) GetSize() string { + if u == nil || u.Size == nil { return "" } - return *m.OrganizationBillingEmail + return *u.Size } -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (m *MarketplacePlanAccount) GetType() string { - if m == nil || m.Type == nil { +// GetColor returns the Color field if it's non-nil, zero value otherwise. +func (u *UpdateIssueLabelRequest) GetColor() string { + if u == nil || u.Color == nil { return "" } - return *m.Type + return *u.Color } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (m *MarketplacePlanAccount) GetURL() string { - if m == nil || m.URL == nil { +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (u *UpdateIssueLabelRequest) GetDescription() string { + if u == nil || u.Description == nil { return "" } - return *m.URL + return *u.Description } -// GetAccount returns the Account field. -func (m *MarketplacePurchase) GetAccount() *MarketplacePurchaseAccount { - if m == nil { - return nil +// GetNewName returns the NewName field if it's non-nil, zero value otherwise. +func (u *UpdateIssueLabelRequest) GetNewName() string { + if u == nil || u.NewName == nil { + return "" } - return m.Account + return *u.NewName } -// GetBillingCycle returns the BillingCycle field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchase) GetBillingCycle() string { - if m == nil || m.BillingCycle == nil { +// GetAssignee returns the Assignee field if it's non-nil, zero value otherwise. +func (u *UpdateIssueRequest) GetAssignee() string { + if u == nil || u.Assignee == nil { return "" } - return *m.BillingCycle + return *u.Assignee } -// GetFreeTrialEndsOn returns the FreeTrialEndsOn field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchase) GetFreeTrialEndsOn() Timestamp { - if m == nil || m.FreeTrialEndsOn == nil { - return Timestamp{} +// GetAssignees returns the Assignees slice if it's non-nil, nil otherwise. +func (u *UpdateIssueRequest) GetAssignees() []string { + if u == nil || u.Assignees == nil { + return nil } - return *m.FreeTrialEndsOn + return u.Assignees } -// GetNextBillingDate returns the NextBillingDate field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchase) GetNextBillingDate() Timestamp { - if m == nil || m.NextBillingDate == nil { - return Timestamp{} +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (u *UpdateIssueRequest) GetBody() string { + if u == nil || u.Body == nil { + return "" } - return *m.NextBillingDate + return *u.Body } -// GetOnFreeTrial returns the OnFreeTrial field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchase) GetOnFreeTrial() bool { - if m == nil || m.OnFreeTrial == nil { - return false +// GetDuplicateIssueID returns the DuplicateIssueID field if it's non-nil, zero value otherwise. +func (u *UpdateIssueRequest) GetDuplicateIssueID() int { + if u == nil || u.DuplicateIssueID == nil { + return 0 } - return *m.OnFreeTrial + return *u.DuplicateIssueID } -// GetPlan returns the Plan field. -func (m *MarketplacePurchase) GetPlan() *MarketplacePlan { - if m == nil { +// GetIssueFieldValues returns the IssueFieldValues slice if it's non-nil, nil otherwise. +func (u *UpdateIssueRequest) GetIssueFieldValues() []*IssueRequestFieldValue { + if u == nil || u.IssueFieldValues == nil { return nil } - return m.Plan + return u.IssueFieldValues } -// GetUnitCount returns the UnitCount field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchase) GetUnitCount() int { - if m == nil || m.UnitCount == nil { - return 0 +// GetLabels returns the Labels slice if it's non-nil, nil otherwise. +func (u *UpdateIssueRequest) GetLabels() []string { + if u == nil || u.Labels == nil { + return nil } - return *m.UnitCount + return u.Labels } -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchase) GetUpdatedAt() Timestamp { - if m == nil || m.UpdatedAt == nil { - return Timestamp{} +// GetMilestone returns the Milestone field if it's non-nil, zero value otherwise. +func (u *UpdateIssueRequest) GetMilestone() int { + if u == nil || u.Milestone == nil { + return 0 } - return *m.UpdatedAt + return *u.Milestone } -// GetEmail returns the Email field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchaseAccount) GetEmail() string { - if m == nil || m.Email == nil { +// GetState returns the State field if it's non-nil, zero value otherwise. +func (u *UpdateIssueRequest) GetState() string { + if u == nil || u.State == nil { return "" } - return *m.Email + return *u.State } -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchaseAccount) GetID() int64 { - if m == nil || m.ID == nil { - return 0 +// GetStateReason returns the StateReason field if it's non-nil, zero value otherwise. +func (u *UpdateIssueRequest) GetStateReason() string { + if u == nil || u.StateReason == nil { + return "" } - return *m.ID + return *u.StateReason } -// GetLogin returns the Login field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchaseAccount) GetLogin() string { - if m == nil || m.Login == nil { +// GetTitle returns the Title field if it's non-nil, zero value otherwise. +func (u *UpdateIssueRequest) GetTitle() string { + if u == nil || u.Title == nil { return "" } - return *m.Login + return *u.Title } -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchaseAccount) GetNodeID() string { - if m == nil || m.NodeID == nil { +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (u *UpdateIssueRequest) GetType() string { + if u == nil || u.Type == nil { return "" } - return *m.NodeID + return *u.Type } -// GetOrganizationBillingEmail returns the OrganizationBillingEmail field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchaseAccount) GetOrganizationBillingEmail() string { - if m == nil || m.OrganizationBillingEmail == nil { +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (u *UpdateMilestoneRequest) GetDescription() string { + if u == nil || u.Description == nil { return "" } - return *m.OrganizationBillingEmail + return *u.Description } -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchaseAccount) GetType() string { - if m == nil || m.Type == nil { +// GetDueOn returns the DueOn field if it's non-nil, zero value otherwise. +func (u *UpdateMilestoneRequest) GetDueOn() Timestamp { + if u == nil || u.DueOn == nil { + return Timestamp{} + } + return *u.DueOn +} + +// GetState returns the State field if it's non-nil, zero value otherwise. +func (u *UpdateMilestoneRequest) GetState() string { + if u == nil || u.State == nil { return "" } - return *m.Type + return *u.State } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchaseAccount) GetURL() string { - if m == nil || m.URL == nil { +// GetTitle returns the Title field if it's non-nil, zero value otherwise. +func (u *UpdateMilestoneRequest) GetTitle() string { + if u == nil || u.Title == nil { return "" } - return *m.URL + return *u.Title } -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchaseEvent) GetAction() string { - if m == nil || m.Action == nil { +// GetAccountID returns the AccountID field if it's non-nil, zero value otherwise. +func (u *UpdateOrganizationPrivateRegistry) GetAccountID() string { + if u == nil || u.AccountID == nil { return "" } - return *m.Action + return *u.AccountID } -// GetEffectiveDate returns the EffectiveDate field if it's non-nil, zero value otherwise. -func (m *MarketplacePurchaseEvent) GetEffectiveDate() Timestamp { - if m == nil || m.EffectiveDate == nil { - return Timestamp{} +// GetAudience returns the Audience field if it's non-nil, zero value otherwise. +func (u *UpdateOrganizationPrivateRegistry) GetAudience() string { + if u == nil || u.Audience == nil { + return "" } - return *m.EffectiveDate + return *u.Audience } -// GetInstallation returns the Installation field. -func (m *MarketplacePurchaseEvent) GetInstallation() *Installation { - if m == nil { - return nil +// GetAuthType returns the AuthType field if it's non-nil, zero value otherwise. +func (u *UpdateOrganizationPrivateRegistry) GetAuthType() string { + if u == nil || u.AuthType == nil { + return "" } - return m.Installation + return *u.AuthType } -// GetMarketplacePurchase returns the MarketplacePurchase field. -func (m *MarketplacePurchaseEvent) GetMarketplacePurchase() *MarketplacePurchase { - if m == nil { - return nil +// GetAWSRegion returns the AWSRegion field if it's non-nil, zero value otherwise. +func (u *UpdateOrganizationPrivateRegistry) GetAWSRegion() string { + if u == nil || u.AWSRegion == nil { + return "" } - return m.MarketplacePurchase + return *u.AWSRegion } -// GetOrg returns the Org field. -func (m *MarketplacePurchaseEvent) GetOrg() *Organization { - if m == nil { - return nil +// GetClientID returns the ClientID field if it's non-nil, zero value otherwise. +func (u *UpdateOrganizationPrivateRegistry) GetClientID() string { + if u == nil || u.ClientID == nil { + return "" } - return m.Org + return *u.ClientID } -// GetPreviousMarketplacePurchase returns the PreviousMarketplacePurchase field. -func (m *MarketplacePurchaseEvent) GetPreviousMarketplacePurchase() *MarketplacePurchase { - if m == nil { - return nil +// GetDomain returns the Domain field if it's non-nil, zero value otherwise. +func (u *UpdateOrganizationPrivateRegistry) GetDomain() string { + if u == nil || u.Domain == nil { + return "" } - return m.PreviousMarketplacePurchase + return *u.Domain } -// GetSender returns the Sender field. -func (m *MarketplacePurchaseEvent) GetSender() *User { - if m == nil { - return nil +// GetDomainOwner returns the DomainOwner field if it's non-nil, zero value otherwise. +func (u *UpdateOrganizationPrivateRegistry) GetDomainOwner() string { + if u == nil || u.DomainOwner == nil { + return "" } - return m.Sender + return *u.DomainOwner } -// 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 +// GetEncryptedValue returns the EncryptedValue field if it's non-nil, zero value otherwise. +func (u *UpdateOrganizationPrivateRegistry) GetEncryptedValue() string { + if u == nil || u.EncryptedValue == nil { + return "" } - return m.Indices + return *u.EncryptedValue } -// GetText returns the Text field if it's non-nil, zero value otherwise. -func (m *Match) GetText() string { - if m == nil || m.Text == nil { +// GetIdentityMappingName returns the IdentityMappingName field if it's non-nil, zero value otherwise. +func (u *UpdateOrganizationPrivateRegistry) GetIdentityMappingName() string { + if u == nil || u.IdentityMappingName == nil { return "" } - return *m.Text + return *u.IdentityMappingName } -// GetParameters returns the Parameters field. -func (m *MaxFilePathLengthBranchRule) GetParameters() MaxFilePathLengthRuleParameters { - if m == nil { - return MaxFilePathLengthRuleParameters{} +// GetJFrogOIDCProviderName returns the JFrogOIDCProviderName field if it's non-nil, zero value otherwise. +func (u *UpdateOrganizationPrivateRegistry) GetJFrogOIDCProviderName() string { + if u == nil || u.JFrogOIDCProviderName == nil { + return "" } - return m.Parameters + return *u.JFrogOIDCProviderName } -// GetMaxFilePathLength returns the MaxFilePathLength field. -func (m *MaxFilePathLengthRuleParameters) GetMaxFilePathLength() int { - if m == nil { - return 0 +// GetKeyID returns the KeyID field if it's non-nil, zero value otherwise. +func (u *UpdateOrganizationPrivateRegistry) GetKeyID() string { + if u == nil || u.KeyID == nil { + return "" } - return m.MaxFilePathLength + return *u.KeyID } -// GetParameters returns the Parameters field. -func (m *MaxFileSizeBranchRule) GetParameters() MaxFileSizeRuleParameters { - if m == nil { - return MaxFileSizeRuleParameters{} +// GetRegistryType returns the RegistryType field. +func (u *UpdateOrganizationPrivateRegistry) GetRegistryType() *PrivateRegistryType { + if u == nil { + return nil } - return m.Parameters + return u.RegistryType } -// GetMaxFileSize returns the MaxFileSize field. -func (m *MaxFileSizeRuleParameters) GetMaxFileSize() int64 { - if m == nil { - return 0 +// GetReplacesBase returns the ReplacesBase field if it's non-nil, zero value otherwise. +func (u *UpdateOrganizationPrivateRegistry) GetReplacesBase() bool { + if u == nil || u.ReplacesBase == nil { + return false } - return m.MaxFileSize + return *u.ReplacesBase } -// GetPermission returns the Permission field. -func (m *MemberChanges) GetPermission() *MemberChangesPermission { - if m == nil { - return nil +// GetRoleName returns the RoleName field if it's non-nil, zero value otherwise. +func (u *UpdateOrganizationPrivateRegistry) GetRoleName() string { + if u == nil || u.RoleName == nil { + return "" } - return m.Permission + return *u.RoleName } -// GetRoleName returns the RoleName field. -func (m *MemberChanges) GetRoleName() *MemberChangesRoleName { - if m == nil { +// 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 m.RoleName + return u.SelectedRepositoryIDs } -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (m *MemberChangesPermission) GetFrom() string { - if m == nil || m.From == nil { +// GetTenantID returns the TenantID field if it's non-nil, zero value otherwise. +func (u *UpdateOrganizationPrivateRegistry) GetTenantID() string { + if u == nil || u.TenantID == nil { return "" } - return *m.From + return *u.TenantID } -// GetTo returns the To field if it's non-nil, zero value otherwise. -func (m *MemberChangesPermission) GetTo() string { - if m == nil || m.To == nil { +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (u *UpdateOrganizationPrivateRegistry) GetURL() string { + if u == nil || u.URL == nil { return "" } - return *m.To + return *u.URL } -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (m *MemberChangesRoleName) GetFrom() string { - if m == nil || m.From == nil { +// GetUsername returns the Username field if it's non-nil, zero value otherwise. +func (u *UpdateOrganizationPrivateRegistry) GetUsername() string { + if u == nil || u.Username == nil { return "" } - return *m.From + return *u.Username } -// GetTo returns the To field if it's non-nil, zero value otherwise. -func (m *MemberChangesRoleName) GetTo() string { - if m == nil || m.To == nil { - return "" +// GetVisibility returns the Visibility field. +func (u *UpdateOrganizationPrivateRegistry) GetVisibility() *PrivateRegistryVisibility { + if u == nil { + return nil } - return *m.To + return u.Visibility } -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (m *MemberEvent) GetAction() string { - if m == nil || m.Action == nil { +// GetEnforcement returns the Enforcement field if it's non-nil, zero value otherwise. +func (u *UpdatePreReceiveHookRequest) GetEnforcement() string { + if u == nil || u.Enforcement == nil { return "" } - return *m.Action + return *u.Enforcement } -// GetChanges returns the Changes field. -func (m *MemberEvent) GetChanges() *MemberChanges { - if m == nil { - return nil +// GetArchived returns the Archived field if it's non-nil, zero value otherwise. +func (u *UpdateProjectItemOptions) GetArchived() bool { + if u == nil || u.Archived == nil { + return false } - return m.Changes + return *u.Archived } -// GetInstallation returns the Installation field. -func (m *MemberEvent) GetInstallation() *Installation { - if m == nil { +// 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 m.Installation + return u.Fields } -// GetMember returns the Member field. -func (m *MemberEvent) GetMember() *User { - if m == nil { +// 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 m.Member + return u.Value +} + +// GetActive returns the Active field if it's non-nil, zero value otherwise. +func (u *UpdateProvisionedOrgMembershipRequest) GetActive() bool { + if u == nil || u.Active == nil { + return false + } + return *u.Active } -// GetOrg returns the Org field. -func (m *MemberEvent) GetOrg() *Organization { - if m == nil { - return nil +// GetDisplayName returns the DisplayName field if it's non-nil, zero value otherwise. +func (u *UpdateProvisionedOrgMembershipRequest) GetDisplayName() string { + if u == nil || u.DisplayName == nil { + return "" } - return m.Org + return *u.DisplayName } -// GetRepo returns the Repo field. -func (m *MemberEvent) GetRepo() *Repository { - if m == nil { +// GetEmails returns the Emails slice if it's non-nil, nil otherwise. +func (u *UpdateProvisionedOrgMembershipRequest) GetEmails() []*SCIMUserEmail { + if u == nil || u.Emails == nil { return nil } - return m.Repo + return u.Emails } -// GetSender returns the Sender field. -func (m *MemberEvent) GetSender() *User { - if m == nil { - return nil +// GetExternalID returns the ExternalID field if it's non-nil, zero value otherwise. +func (u *UpdateProvisionedOrgMembershipRequest) GetExternalID() string { + if u == nil || u.ExternalID == nil { + return "" } - return m.Sender + return *u.ExternalID } -// GetOrganization returns the Organization field. -func (m *Membership) GetOrganization() *Organization { - if m == nil { +// GetGroups returns the Groups slice if it's non-nil, nil otherwise. +func (u *UpdateProvisionedOrgMembershipRequest) GetGroups() []string { + if u == nil || u.Groups == nil { return nil } - return m.Organization + return u.Groups } -// GetOrganizationURL returns the OrganizationURL field if it's non-nil, zero value otherwise. -func (m *Membership) GetOrganizationURL() string { - if m == nil || m.OrganizationURL == nil { - return "" +// GetName returns the Name field. +func (u *UpdateProvisionedOrgMembershipRequest) GetName() SCIMUserName { + if u == nil { + return SCIMUserName{} } - return *m.OrganizationURL + return u.Name } -// GetRole returns the Role field if it's non-nil, zero value otherwise. -func (m *Membership) GetRole() string { - if m == nil || m.Role == nil { - return "" +// GetSchemas returns the Schemas slice if it's non-nil, nil otherwise. +func (u *UpdateProvisionedOrgMembershipRequest) GetSchemas() []string { + if u == nil || u.Schemas == nil { + return nil } - return *m.Role + return u.Schemas } -// GetState returns the State field if it's non-nil, zero value otherwise. -func (m *Membership) GetState() string { - if m == nil || m.State == nil { +// GetUserName returns the UserName field. +func (u *UpdateProvisionedOrgMembershipRequest) GetUserName() string { + if u == nil { return "" } - return *m.State + return u.UserName } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (m *Membership) GetURL() string { - if m == nil || m.URL == nil { +// GetBody returns the Body field. +func (u *UpdatePullRequestCommentRequest) GetBody() string { + if u == nil { return "" } - return *m.URL + return u.Body } -// GetUser returns the User field. -func (m *Membership) GetUser() *User { - if m == nil { - return nil +// GetForce returns the Force field if it's non-nil, zero value otherwise. +func (u *UpdateRef) GetForce() bool { + if u == nil || u.Force == nil { + return false } - return m.User + return *u.Force } -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (m *MembershipEvent) GetAction() string { - if m == nil || m.Action == nil { +// GetSHA returns the SHA field. +func (u *UpdateRef) GetSHA() string { + if u == nil { return "" } - return *m.Action + return u.SHA } -// GetInstallation returns the Installation field. -func (m *MembershipEvent) GetInstallation() *Installation { - if m == nil { - return nil +// GetLabel returns the Label field if it's non-nil, zero value otherwise. +func (u *UpdateReleaseAssetRequest) GetLabel() string { + if u == nil || u.Label == nil { + return "" } - return m.Installation + return *u.Label } -// GetMember returns the Member field. -func (m *MembershipEvent) GetMember() *User { - if m == nil { - return nil +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (u *UpdateReleaseAssetRequest) GetName() string { + if u == nil || u.Name == nil { + return "" } - return m.Member + return *u.Name } -// GetOrg returns the Org field. -func (m *MembershipEvent) GetOrg() *Organization { - if m == nil { - return nil +// GetState returns the State field if it's non-nil, zero value otherwise. +func (u *UpdateReleaseAssetRequest) GetState() string { + if u == nil || u.State == nil { + return "" } - return m.Org + return *u.State } -// GetScope returns the Scope field if it's non-nil, zero value otherwise. -func (m *MembershipEvent) GetScope() string { - if m == nil || m.Scope == nil { +// GetBody returns the Body field if it's non-nil, zero value otherwise. +func (u *UpdateReleaseRequest) GetBody() string { + if u == nil || u.Body == nil { return "" } - return *m.Scope + return *u.Body } -// GetSender returns the Sender field. -func (m *MembershipEvent) GetSender() *User { - if m == nil { - return nil +// GetDiscussionCategoryName returns the DiscussionCategoryName field if it's non-nil, zero value otherwise. +func (u *UpdateReleaseRequest) GetDiscussionCategoryName() string { + if u == nil || u.DiscussionCategoryName == nil { + return "" } - return m.Sender + return *u.DiscussionCategoryName } -// GetTeam returns the Team field. -func (m *MembershipEvent) GetTeam() *Team { - if m == nil { - return nil +// GetDraft returns the Draft field if it's non-nil, zero value otherwise. +func (u *UpdateReleaseRequest) GetDraft() bool { + if u == nil || u.Draft == nil { + return false } - return m.Team + return *u.Draft } -// GetBaseRef returns the BaseRef field if it's non-nil, zero value otherwise. -func (m *MergeGroup) GetBaseRef() string { - if m == nil || m.BaseRef == nil { +// GetMakeLatest returns the MakeLatest field if it's non-nil, zero value otherwise. +func (u *UpdateReleaseRequest) GetMakeLatest() string { + if u == nil || u.MakeLatest == nil { return "" } - return *m.BaseRef + return *u.MakeLatest } -// GetBaseSHA returns the BaseSHA field if it's non-nil, zero value otherwise. -func (m *MergeGroup) GetBaseSHA() string { - if m == nil || m.BaseSHA == nil { +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (u *UpdateReleaseRequest) GetName() string { + if u == nil || u.Name == nil { return "" } - return *m.BaseSHA + return *u.Name } -// GetHeadCommit returns the HeadCommit field. -func (m *MergeGroup) GetHeadCommit() *Commit { - if m == nil { - return nil +// GetPrerelease returns the Prerelease field if it's non-nil, zero value otherwise. +func (u *UpdateReleaseRequest) GetPrerelease() bool { + if u == nil || u.Prerelease == nil { + return false } - return m.HeadCommit + return *u.Prerelease } -// GetHeadRef returns the HeadRef field if it's non-nil, zero value otherwise. -func (m *MergeGroup) GetHeadRef() string { - if m == nil || m.HeadRef == nil { +// GetTagName returns the TagName field if it's non-nil, zero value otherwise. +func (u *UpdateReleaseRequest) GetTagName() string { + if u == nil || u.TagName == nil { return "" } - return *m.HeadRef + return *u.TagName } -// GetHeadSHA returns the HeadSHA field if it's non-nil, zero value otherwise. -func (m *MergeGroup) GetHeadSHA() string { - if m == nil || m.HeadSHA == nil { +// GetTargetCommitish returns the TargetCommitish field if it's non-nil, zero value otherwise. +func (u *UpdateReleaseRequest) GetTargetCommitish() string { + if u == nil || u.TargetCommitish == nil { return "" } - return *m.HeadSHA + return *u.TargetCommitish } -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (m *MergeGroupEvent) GetAction() string { - if m == nil || m.Action == nil { - return "" +// GetUpdateAllowsFetchAndMerge returns the UpdateAllowsFetchAndMerge field. +func (u *UpdateRuleParameters) GetUpdateAllowsFetchAndMerge() bool { + if u == nil { + return false } - return *m.Action + return u.UpdateAllowsFetchAndMerge } -// GetInstallation returns the Installation field. -func (m *MergeGroupEvent) GetInstallation() *Installation { - if m == nil { - return nil +// GetAllowsPublicRepositories returns the AllowsPublicRepositories field if it's non-nil, zero value otherwise. +func (u *UpdateRunnerGroupRequest) GetAllowsPublicRepositories() bool { + if u == nil || u.AllowsPublicRepositories == nil { + return false } - return m.Installation + return *u.AllowsPublicRepositories } -// GetMergeGroup returns the MergeGroup field. -func (m *MergeGroupEvent) GetMergeGroup() *MergeGroup { - if m == nil { - return nil +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (u *UpdateRunnerGroupRequest) GetName() string { + if u == nil || u.Name == nil { + return "" } - return m.MergeGroup + return *u.Name } -// GetOrg returns the Org field. -func (m *MergeGroupEvent) GetOrg() *Organization { - if m == nil { - return nil +// GetNetworkConfigurationID returns the NetworkConfigurationID field if it's non-nil, zero value otherwise. +func (u *UpdateRunnerGroupRequest) GetNetworkConfigurationID() string { + if u == nil || u.NetworkConfigurationID == nil { + return "" } - return m.Org + return *u.NetworkConfigurationID } -// GetReason returns the Reason field if it's non-nil, zero value otherwise. -func (m *MergeGroupEvent) GetReason() string { - if m == nil || m.Reason == nil { - return "" +// GetRestrictedToWorkflows returns the RestrictedToWorkflows field if it's non-nil, zero value otherwise. +func (u *UpdateRunnerGroupRequest) GetRestrictedToWorkflows() bool { + if u == nil || u.RestrictedToWorkflows == nil { + return false } - return *m.Reason + return *u.RestrictedToWorkflows } -// GetRepo returns the Repo field. -func (m *MergeGroupEvent) GetRepo() *Repository { - if m == nil { +// 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 m.Repo + return u.SelectedWorkflows } -// GetSender returns the Sender field. -func (m *MergeGroupEvent) GetSender() *User { - if m == nil { - return nil +// GetVisibility returns the Visibility field if it's non-nil, zero value otherwise. +func (u *UpdateRunnerGroupRequest) GetVisibility() string { + if u == nil || u.Visibility == nil { + return "" } - return m.Sender + return *u.Visibility } -// GetParameters returns the Parameters field. -func (m *MergeQueueBranchRule) GetParameters() MergeQueueRuleParameters { - if m == nil { - return MergeQueueRuleParameters{} +// GetLDAPDN returns the LDAPDN field. +func (u *UpdateTeamLDAPMappingRequest) GetLDAPDN() string { + if u == nil { + return "" } - return m.Parameters + return u.LDAPDN } -// GetCheckResponseTimeoutMinutes returns the CheckResponseTimeoutMinutes field. -func (m *MergeQueueRuleParameters) GetCheckResponseTimeoutMinutes() int { - if m == nil { - return 0 +// GetDescription returns the Description field if it's non-nil, zero value otherwise. +func (u *UpdateTeamRequest) GetDescription() string { + if u == nil || u.Description == nil { + return "" } - return m.CheckResponseTimeoutMinutes + return *u.Description } -// GetGroupingStrategy returns the GroupingStrategy field. -func (m *MergeQueueRuleParameters) GetGroupingStrategy() MergeGroupingStrategy { - if m == nil { +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (u *UpdateTeamRequest) GetName() string { + if u == nil || u.Name == nil { return "" } - return m.GroupingStrategy + return *u.Name } -// GetMaxEntriesToBuild returns the MaxEntriesToBuild field. -func (m *MergeQueueRuleParameters) GetMaxEntriesToBuild() int { - if m == nil { - return 0 +// GetNotificationSetting returns the NotificationSetting field if it's non-nil, zero value otherwise. +func (u *UpdateTeamRequest) GetNotificationSetting() string { + if u == nil || u.NotificationSetting == nil { + return "" } - return m.MaxEntriesToBuild + return *u.NotificationSetting } -// GetMaxEntriesToMerge returns the MaxEntriesToMerge field. -func (m *MergeQueueRuleParameters) GetMaxEntriesToMerge() int { - if m == nil { +// GetParentTeamID returns the ParentTeamID field if it's non-nil, zero value otherwise. +func (u *UpdateTeamRequest) GetParentTeamID() int64 { + if u == nil || u.ParentTeamID == nil { return 0 } - return m.MaxEntriesToMerge + return *u.ParentTeamID } -// GetMergeMethod returns the MergeMethod field. -func (m *MergeQueueRuleParameters) GetMergeMethod() MergeQueueMergeMethod { - if m == nil { +// GetParentTeamSlug returns the ParentTeamSlug field if it's non-nil, zero value otherwise. +func (u *UpdateTeamRequest) GetParentTeamSlug() string { + if u == nil || u.ParentTeamSlug == nil { return "" } - return m.MergeMethod + return *u.ParentTeamSlug } -// GetMinEntriesToMerge returns the MinEntriesToMerge field. -func (m *MergeQueueRuleParameters) GetMinEntriesToMerge() int { - if m == nil { - return 0 +// GetPermission returns the Permission field if it's non-nil, zero value otherwise. +func (u *UpdateTeamRequest) GetPermission() string { + if u == nil || u.Permission == nil { + return "" } - return m.MinEntriesToMerge + return *u.Permission } -// GetMinEntriesToMergeWaitMinutes returns the MinEntriesToMergeWaitMinutes field. -func (m *MergeQueueRuleParameters) GetMinEntriesToMergeWaitMinutes() int { - if m == nil { - return 0 +// GetPrivacy returns the Privacy field if it's non-nil, zero value otherwise. +func (u *UpdateTeamRequest) GetPrivacy() string { + if u == nil || u.Privacy == nil { + return "" } - return m.MinEntriesToMergeWaitMinutes + return *u.Privacy } -// GetText returns the Text field if it's non-nil, zero value otherwise. -func (m *Message) GetText() string { - if m == nil || m.Text == nil { +// GetRemoveParentTeam returns the RemoveParentTeam field. +func (u *UpdateTeamRequest) GetRemoveParentTeam() bool { + if u == nil { + return false + } + return u.RemoveParentTeam +} + +// GetLDAPDN returns the LDAPDN field. +func (u *UpdateUserLDAPMappingRequest) GetLDAPDN() string { + if u == nil { return "" } - return *m.Text + return u.LDAPDN } -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (m *MetaEvent) GetAction() string { - if m == nil || m.Action == nil { +// GetLicense returns the License field. +func (u *UploadLicenseOptions) GetLicense() string { + if u == nil { return "" } - return *m.Action + return u.License } -// GetHook returns the Hook field. -func (m *MetaEvent) GetHook() *Hook { - if m == nil { - return nil +// GetLabel returns the Label field. +func (u *UploadOptions) GetLabel() string { + if u == nil { + return "" } - return m.Hook + return u.Label } -// GetHookID returns the HookID field if it's non-nil, zero value otherwise. -func (m *MetaEvent) GetHookID() int64 { - if m == nil || m.HookID == nil { - return 0 +// GetMediaType returns the MediaType field. +func (u *UploadOptions) GetMediaType() string { + if u == nil { + return "" } - return *m.HookID + return u.MediaType } -// GetInstallation returns the Installation field. -func (m *MetaEvent) GetInstallation() *Installation { - if m == nil { - return nil +// GetName returns the Name field. +func (u *UploadOptions) GetName() string { + if u == nil { + return "" } - return m.Installation + return u.Name } -// GetOrg returns the Org field. -func (m *MetaEvent) GetOrg() *Organization { - if m == nil { - return nil +// GetDate returns the Date field. +func (u *UsageItem) GetDate() string { + if u == nil { + return "" } - return m.Org + return u.Date } -// GetRepo returns the Repo field. -func (m *MetaEvent) GetRepo() *Repository { - if m == nil { - return nil +// GetDiscountAmount returns the DiscountAmount field. +func (u *UsageItem) GetDiscountAmount() float64 { + if u == nil { + return 0 } - return m.Repo + return u.DiscountAmount } -// GetSender returns the Sender field. -func (m *MetaEvent) GetSender() *User { - if m == nil { - return nil +// GetGrossAmount returns the GrossAmount field. +func (u *UsageItem) GetGrossAmount() float64 { + if u == nil { + return 0 } - return m.Sender + return u.GrossAmount } -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (m *Metric) GetHTMLURL() string { - if m == nil || m.HTMLURL == nil { - return "" +// GetNetAmount returns the NetAmount field. +func (u *UsageItem) GetNetAmount() float64 { + if u == nil { + return 0 } - return *m.HTMLURL + return u.NetAmount } -// GetKey returns the Key field if it's non-nil, zero value otherwise. -func (m *Metric) GetKey() string { - if m == nil || m.Key == nil { +// GetOrganizationName returns the OrganizationName field if it's non-nil, zero value otherwise. +func (u *UsageItem) GetOrganizationName() string { + if u == nil || u.OrganizationName == nil { return "" } - return *m.Key + return *u.OrganizationName } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (m *Metric) GetName() string { - if m == nil || m.Name == nil { - return "" +// GetPricePerUnit returns the PricePerUnit field. +func (u *UsageItem) GetPricePerUnit() float64 { + if u == nil { + return 0 } - return *m.Name + return u.PricePerUnit } -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (m *Metric) GetNodeID() string { - if m == nil || m.NodeID == nil { +// GetProduct returns the Product field. +func (u *UsageItem) GetProduct() string { + if u == nil { return "" } - return *m.NodeID + return u.Product } -// GetSPDXID returns the SPDXID field if it's non-nil, zero value otherwise. -func (m *Metric) GetSPDXID() string { - if m == nil || m.SPDXID == nil { - return "" +// GetQuantity returns the Quantity field. +func (u *UsageItem) GetQuantity() float64 { + if u == nil { + return 0 } - return *m.SPDXID + return u.Quantity } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (m *Metric) GetURL() string { - if m == nil || m.URL == nil { +// GetRepositoryName returns the RepositoryName field if it's non-nil, zero value otherwise. +func (u *UsageItem) GetRepositoryName() string { + if u == nil || u.RepositoryName == nil { return "" } - return *m.URL + return *u.RepositoryName } -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (m *Migration) GetCreatedAt() string { - if m == nil || m.CreatedAt == nil { +// GetSKU returns the SKU field. +func (u *UsageItem) GetSKU() string { + if u == nil { return "" } - return *m.CreatedAt + return u.SKU } -// GetExcludeAttachments returns the ExcludeAttachments field if it's non-nil, zero value otherwise. -func (m *Migration) GetExcludeAttachments() bool { - if m == nil || m.ExcludeAttachments == nil { - return false +// GetUnitType returns the UnitType field. +func (u *UsageItem) GetUnitType() string { + if u == nil { + return "" } - return *m.ExcludeAttachments + return u.UnitType } -// GetGUID returns the GUID field if it's non-nil, zero value otherwise. -func (m *Migration) GetGUID() string { - if m == nil || m.GUID == nil { - return "" +// 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 *m.GUID + return u.UsageItems } -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (m *Migration) GetID() int64 { - if m == nil || m.ID == nil { +// GetDay returns the Day field if it's non-nil, zero value otherwise. +func (u *UsageReportOptions) GetDay() int { + if u == nil || u.Day == nil { return 0 } - return *m.ID + return *u.Day } -// GetLockRepositories returns the LockRepositories field if it's non-nil, zero value otherwise. -func (m *Migration) GetLockRepositories() bool { - if m == nil || m.LockRepositories == nil { - return false +// GetHour returns the Hour field if it's non-nil, zero value otherwise. +func (u *UsageReportOptions) GetHour() int { + if u == nil || u.Hour == nil { + return 0 } - return *m.LockRepositories + return *u.Hour } -// 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 +// GetMonth returns the Month field if it's non-nil, zero value otherwise. +func (u *UsageReportOptions) GetMonth() int { + if u == nil || u.Month == nil { + return 0 } - return m.Repositories + return *u.Month } -// 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 + +// GetYear returns the Year field if it's non-nil, zero value otherwise. +func (u *UsageReportOptions) GetYear() int { + if u == nil || u.Year == nil { + return 0 } - return r.TextMatches + return *u.Year } -// 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 +// GetAssignment returns the Assignment field if it's non-nil, zero value otherwise. +func (u *User) GetAssignment() string { + if u == nil || u.Assignment == nil { + return "" } - return r.Topics + return *u.Assignment } -// GetTreesURL returns the TreesURL field if it's non-nil, zero value otherwise. -func (r *Repository) GetTreesURL() string { - if r == nil || r.TreesURL == nil { +// GetAvatarURL returns the AvatarURL field if it's non-nil, zero value otherwise. +func (u *User) GetAvatarURL() string { + if u == nil || u.AvatarURL == nil { return "" } - return *r.TreesURL + return *u.AvatarURL } -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (r *Repository) GetUpdatedAt() Timestamp { - if r == nil || r.UpdatedAt == nil { - return Timestamp{} +// GetBio returns the Bio field if it's non-nil, zero value otherwise. +func (u *User) GetBio() string { + if u == nil || u.Bio == nil { + return "" } - return *r.UpdatedAt + return *u.Bio } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (r *Repository) GetURL() string { - if r == nil || r.URL == nil { +// GetBlog returns the Blog field if it's non-nil, zero value otherwise. +func (u *User) GetBlog() string { + if u == nil || u.Blog == nil { return "" } - return *r.URL + return *u.Blog } -// GetUseSquashPRTitleAsDefault returns the UseSquashPRTitleAsDefault field if it's non-nil, zero value otherwise. -func (r *Repository) GetUseSquashPRTitleAsDefault() bool { - if r == nil || r.UseSquashPRTitleAsDefault == nil { +// GetBusinessPlus returns the BusinessPlus field if it's non-nil, zero value otherwise. +func (u *User) GetBusinessPlus() bool { + if u == nil || u.BusinessPlus == nil { return false } - return *r.UseSquashPRTitleAsDefault + return *u.BusinessPlus } -// GetVisibility returns the Visibility field if it's non-nil, zero value otherwise. -func (r *Repository) GetVisibility() string { - if r == nil || r.Visibility == nil { +// GetCollaborators returns the Collaborators field if it's non-nil, zero value otherwise. +func (u *User) GetCollaborators() int { + if u == nil || u.Collaborators == nil { + return 0 + } + return *u.Collaborators +} + +// GetCompany returns the Company field if it's non-nil, zero value otherwise. +func (u *User) GetCompany() string { + if u == nil || u.Company == nil { return "" } - return *r.Visibility + return *u.Company } -// GetWatchers returns the Watchers field if it's non-nil, zero value otherwise. -func (r *Repository) GetWatchers() int { - if r == nil || r.Watchers == nil { - return 0 +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (u *User) GetCreatedAt() Timestamp { + if u == nil || u.CreatedAt == nil { + return Timestamp{} } - return *r.Watchers + return *u.CreatedAt } -// GetWatchersCount returns the WatchersCount field if it's non-nil, zero value otherwise. -func (r *Repository) GetWatchersCount() int { - if r == nil || r.WatchersCount == nil { +// GetDiskUsage returns the DiskUsage field if it's non-nil, zero value otherwise. +func (u *User) GetDiskUsage() int { + if u == nil || u.DiskUsage == nil { return 0 } - return *r.WatchersCount + return *u.DiskUsage } -// GetWebCommitSignoffRequired returns the WebCommitSignoffRequired field if it's non-nil, zero value otherwise. -func (r *Repository) GetWebCommitSignoffRequired() bool { - if r == nil || r.WebCommitSignoffRequired == nil { - return false +// GetEmail returns the Email field if it's non-nil, zero value otherwise. +func (u *User) GetEmail() string { + if u == nil || u.Email == nil { + return "" } - return *r.WebCommitSignoffRequired + return *u.Email } -// GetAccessLevel returns the AccessLevel field if it's non-nil, zero value otherwise. -func (r *RepositoryActionsAccessLevel) GetAccessLevel() string { - if r == nil || r.AccessLevel == nil { +// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise. +func (u *User) GetEventsURL() string { + if u == nil || u.EventsURL == nil { return "" } - return *r.AccessLevel + return *u.EventsURL } -// GetAdvancedSecurityCommitters returns the AdvancedSecurityCommitters field. -func (r *RepositoryActiveCommitters) GetAdvancedSecurityCommitters() int { - if r == nil { +// GetFollowers returns the Followers field if it's non-nil, zero value otherwise. +func (u *User) GetFollowers() int { + if u == nil || u.Followers == nil { return 0 } - return r.AdvancedSecurityCommitters + return *u.Followers } -// 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 +// GetFollowersURL returns the FollowersURL field if it's non-nil, zero value otherwise. +func (u *User) GetFollowersURL() string { + if u == nil || u.FollowersURL == nil { + return "" } - return r.AdvancedSecurityCommittersBreakdown + return *u.FollowersURL } -// GetName returns the Name field. -func (r *RepositoryActiveCommitters) GetName() string { - if r == nil { - return "" +// GetFollowing returns the Following field if it's non-nil, zero value otherwise. +func (u *User) GetFollowing() int { + if u == nil || u.Following == nil { + return 0 } - return r.Name + return *u.Following } -// GetActivityType returns the ActivityType field. -func (r *RepositoryActivity) GetActivityType() string { - if r == nil { +// GetFollowingURL returns the FollowingURL field if it's non-nil, zero value otherwise. +func (u *User) GetFollowingURL() string { + if u == nil || u.FollowingURL == nil { return "" } - return r.ActivityType + return *u.FollowingURL } -// GetActor returns the Actor field. -func (r *RepositoryActivity) GetActor() *RepositoryActor { - if r == nil { - return nil +// GetGistsURL returns the GistsURL field if it's non-nil, zero value otherwise. +func (u *User) GetGistsURL() string { + if u == nil || u.GistsURL == nil { + return "" } - return r.Actor + return *u.GistsURL } -// GetAfter returns the After field. -func (r *RepositoryActivity) GetAfter() string { - if r == nil { +// GetGravatarID returns the GravatarID field if it's non-nil, zero value otherwise. +func (u *User) GetGravatarID() string { + if u == nil || u.GravatarID == nil { return "" } - return r.After + return *u.GravatarID } -// GetBefore returns the Before field. -func (r *RepositoryActivity) GetBefore() string { - if r == nil { +// GetHireable returns the Hireable field if it's non-nil, zero value otherwise. +func (u *User) GetHireable() bool { + if u == nil || u.Hireable == nil { + return false + } + return *u.Hireable +} + +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (u *User) GetHTMLURL() string { + if u == nil || u.HTMLURL == nil { return "" } - return r.Before + return *u.HTMLURL } -// GetID returns the ID field. -func (r *RepositoryActivity) GetID() int64 { - if r == nil { +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (u *User) GetID() int64 { + if u == nil || u.ID == nil { return 0 } - return r.ID + return *u.ID } -// GetNodeID returns the NodeID field. -func (r *RepositoryActivity) GetNodeID() string { - if r == nil { - return "" +// GetInherited returns the Inherited field if it's non-nil, zero value otherwise. +func (u *User) GetInherited() bool { + if u == nil || u.Inherited == nil { + return false } - return r.NodeID + return *u.Inherited } -// GetRef returns the Ref field. -func (r *RepositoryActivity) GetRef() string { - if r == nil { - return "" +// 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 r.Ref + return u.InheritedFrom } -// GetTimestamp returns the Timestamp field if it's non-nil, zero value otherwise. -func (r *RepositoryActivity) GetTimestamp() Timestamp { - if r == nil || r.Timestamp == nil { - return Timestamp{} +// GetLdapDn returns the LdapDn field if it's non-nil, zero value otherwise. +func (u *User) GetLdapDn() string { + if u == nil || u.LdapDn == nil { + return "" } - return *r.Timestamp + return *u.LdapDn } -// GetAvatarURL returns the AvatarURL field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetAvatarURL() string { - if r == nil || r.AvatarURL == nil { +// GetLocation returns the Location field if it's non-nil, zero value otherwise. +func (u *User) GetLocation() string { + if u == nil || u.Location == nil { return "" } - return *r.AvatarURL + return *u.Location } -// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetEventsURL() string { - if r == nil || r.EventsURL == nil { +// GetLogin returns the Login field if it's non-nil, zero value otherwise. +func (u *User) GetLogin() string { + if u == nil || u.Login == nil { return "" } - return *r.EventsURL + return *u.Login } -// GetFollowersURL returns the FollowersURL field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetFollowersURL() string { - if r == nil || r.FollowersURL == nil { +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (u *User) GetName() string { + if u == nil || u.Name == nil { return "" } - return *r.FollowersURL + return *u.Name } -// GetFollowingURL returns the FollowingURL field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetFollowingURL() string { - if r == nil || r.FollowingURL == nil { +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (u *User) GetNodeID() string { + if u == nil || u.NodeID == nil { return "" } - return *r.FollowingURL + return *u.NodeID } -// GetGistsURL returns the GistsURL field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetGistsURL() string { - if r == nil || r.GistsURL == nil { +// GetNotificationEmail returns the NotificationEmail field if it's non-nil, zero value otherwise. +func (u *User) GetNotificationEmail() string { + if u == nil || u.NotificationEmail == nil { return "" } - return *r.GistsURL + return *u.NotificationEmail } -// GetGravatarID returns the GravatarID field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetGravatarID() string { - if r == nil || r.GravatarID == nil { +// GetOrganizationsURL returns the OrganizationsURL field if it's non-nil, zero value otherwise. +func (u *User) GetOrganizationsURL() string { + if u == nil || u.OrganizationsURL == nil { return "" } - return *r.GravatarID + return *u.OrganizationsURL } -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetHTMLURL() string { - if r == nil || r.HTMLURL == nil { - return "" +// GetOwnedPrivateRepos returns the OwnedPrivateRepos field if it's non-nil, zero value otherwise. +func (u *User) GetOwnedPrivateRepos() int64 { + if u == nil || u.OwnedPrivateRepos == nil { + return 0 } - return *r.HTMLURL + return *u.OwnedPrivateRepos } -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetID() int64 { - if r == nil || r.ID == nil { +// GetPermissions returns the Permissions field. +func (u *User) GetPermissions() *RepositoryPermissions { + if u == nil { + return nil + } + return u.Permissions +} + +// GetPlan returns the Plan field. +func (u *User) GetPlan() *Plan { + if u == nil { + return nil + } + return u.Plan +} + +// GetPrivateGists returns the PrivateGists field if it's non-nil, zero value otherwise. +func (u *User) GetPrivateGists() int { + if u == nil || u.PrivateGists == nil { return 0 } - return *r.ID + return *u.PrivateGists } -// GetLogin returns the Login field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetLogin() string { - if r == nil || r.Login == nil { - return "" +// GetPublicGists returns the PublicGists field if it's non-nil, zero value otherwise. +func (u *User) GetPublicGists() int { + if u == nil || u.PublicGists == nil { + return 0 } - return *r.Login + return *u.PublicGists +} + +// GetPublicRepos returns the PublicRepos field if it's non-nil, zero value otherwise. +func (u *User) GetPublicRepos() int { + if u == nil || u.PublicRepos == nil { + return 0 + } + return *u.PublicRepos } -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetNodeID() string { - if r == nil || r.NodeID == nil { +// GetReceivedEventsURL returns the ReceivedEventsURL field if it's non-nil, zero value otherwise. +func (u *User) GetReceivedEventsURL() string { + if u == nil || u.ReceivedEventsURL == nil { return "" } - return *r.NodeID + return *u.ReceivedEventsURL } -// GetOrganizationsURL returns the OrganizationsURL field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetOrganizationsURL() string { - if r == nil || r.OrganizationsURL == nil { +// GetReposURL returns the ReposURL field if it's non-nil, zero value otherwise. +func (u *User) GetReposURL() string { + if u == nil || u.ReposURL == nil { return "" } - return *r.OrganizationsURL + return *u.ReposURL } -// GetReceivedEventsURL returns the ReceivedEventsURL field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetReceivedEventsURL() string { - if r == nil || r.ReceivedEventsURL == nil { +// GetRole returns the Role field if it's non-nil, zero value otherwise. +func (u *User) GetRole() string { + if u == nil || u.Role == nil { return "" } - return *r.ReceivedEventsURL + return *u.Role } -// GetReposURL returns the ReposURL field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetReposURL() string { - if r == nil || r.ReposURL == nil { +// GetRoleName returns the RoleName field if it's non-nil, zero value otherwise. +func (u *User) GetRoleName() string { + if u == nil || u.RoleName == nil { return "" } - return *r.ReposURL + return *u.RoleName } // GetSiteAdmin returns the SiteAdmin field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetSiteAdmin() bool { - if r == nil || r.SiteAdmin == nil { +func (u *User) GetSiteAdmin() bool { + if u == nil || u.SiteAdmin == nil { return false } - return *r.SiteAdmin + return *u.SiteAdmin } // GetStarredURL returns the StarredURL field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetStarredURL() string { - if r == nil || r.StarredURL == nil { +func (u *User) GetStarredURL() string { + if u == nil || u.StarredURL == nil { return "" } - return *r.StarredURL + return *u.StarredURL } // GetSubscriptionsURL returns the SubscriptionsURL field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetSubscriptionsURL() string { - if r == nil || r.SubscriptionsURL == nil { +func (u *User) GetSubscriptionsURL() string { + if u == nil || u.SubscriptionsURL == nil { return "" } - return *r.SubscriptionsURL + return *u.SubscriptionsURL } -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetType() string { - if r == nil || r.Type == nil { - return "" +// GetSuspendedAt returns the SuspendedAt field if it's non-nil, zero value otherwise. +func (u *User) GetSuspendedAt() Timestamp { + if u == nil || u.SuspendedAt == nil { + return Timestamp{} } - return *r.Type + return *u.SuspendedAt } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetURL() string { - if r == nil || r.URL == nil { - return "" +// 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 *r.URL + return u.TextMatches } -// GetUserViewType returns the UserViewType field if it's non-nil, zero value otherwise. -func (r *RepositoryActor) GetUserViewType() string { - if r == nil || r.UserViewType == nil { - return "" +// GetTotalPrivateRepos returns the TotalPrivateRepos field if it's non-nil, zero value otherwise. +func (u *User) GetTotalPrivateRepos() int64 { + if u == nil || u.TotalPrivateRepos == nil { + return 0 } - return *r.UserViewType + return *u.TotalPrivateRepos } -// GetPermission returns the Permission field. -func (r *RepositoryAddCollaboratorOptions) GetPermission() string { - if r == nil { +// GetTwitterUsername returns the TwitterUsername field if it's non-nil, zero value otherwise. +func (u *User) GetTwitterUsername() string { + if u == nil || u.TwitterUsername == nil { return "" } - return r.Permission + return *u.TwitterUsername } -// GetRepository returns the Repository field. -func (r *RepositoryAttachment) GetRepository() *Repository { - if r == nil { - return nil +// GetTwoFactorAuthentication returns the TwoFactorAuthentication field if it's non-nil, zero value otherwise. +func (u *User) GetTwoFactorAuthentication() bool { + if u == nil || u.TwoFactorAuthentication == nil { + return false } - return r.Repository + return *u.TwoFactorAuthentication } -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (r *RepositoryAttachment) GetStatus() string { - if r == nil || r.Status == nil { +// GetType returns the Type field if it's non-nil, zero value otherwise. +func (u *User) GetType() string { + if u == nil || u.Type == nil { return "" } - return *r.Status + return *u.Type } -// GetConfiguration returns the Configuration field. -func (r *RepositoryCodeSecurityConfiguration) GetConfiguration() *CodeSecurityConfiguration { - if r == nil { - return nil +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (u *User) GetUpdatedAt() Timestamp { + if u == nil || u.UpdatedAt == nil { + return Timestamp{} } - return r.Configuration + return *u.UpdatedAt } -// GetState returns the State field if it's non-nil, zero value otherwise. -func (r *RepositoryCodeSecurityConfiguration) GetState() string { - if r == nil || r.State == nil { +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (u *User) GetURL() string { + if u == nil || u.URL == nil { return "" } - return *r.State + return *u.URL } -// GetAuthorAssociation returns the AuthorAssociation field if it's non-nil, zero value otherwise. -func (r *RepositoryComment) GetAuthorAssociation() string { - if r == nil || r.AuthorAssociation == nil { +// GetUserViewType returns the UserViewType field if it's non-nil, zero value otherwise. +func (u *User) GetUserViewType() string { + if u == nil || u.UserViewType == nil { return "" } - return *r.AuthorAssociation + return *u.UserViewType } -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (r *RepositoryComment) GetBody() string { - if r == nil || r.Body == nil { - return "" +// GetApp returns the App field. +func (u *UserAuthorization) GetApp() *OAuthAPP { + if u == nil { + return nil } - return *r.Body + return u.App } -// GetCommitID returns the CommitID field if it's non-nil, zero value otherwise. -func (r *RepositoryComment) GetCommitID() string { - if r == nil || r.CommitID == nil { - return "" +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (u *UserAuthorization) GetCreatedAt() Timestamp { + if u == nil || u.CreatedAt == nil { + return Timestamp{} } - return *r.CommitID + return *u.CreatedAt } -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (r *RepositoryComment) GetCreatedAt() Timestamp { - if r == nil || r.CreatedAt == nil { - return Timestamp{} +// GetFingerprint returns the Fingerprint field if it's non-nil, zero value otherwise. +func (u *UserAuthorization) GetFingerprint() string { + if u == nil || u.Fingerprint == nil { + return "" } - return *r.CreatedAt + return *u.Fingerprint } -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (r *RepositoryComment) GetHTMLURL() string { - if r == nil || r.HTMLURL == nil { +// GetHashedToken returns the HashedToken field if it's non-nil, zero value otherwise. +func (u *UserAuthorization) GetHashedToken() string { + if u == nil || u.HashedToken == nil { return "" } - return *r.HTMLURL + return *u.HashedToken } // GetID returns the ID field if it's non-nil, zero value otherwise. -func (r *RepositoryComment) GetID() int64 { - if r == nil || r.ID == nil { +func (u *UserAuthorization) GetID() int64 { + if u == nil || u.ID == nil { return 0 } - return *r.ID + return *u.ID } -// GetLine returns the Line field if it's non-nil, zero value otherwise. -func (r *RepositoryComment) GetLine() int { - if r == nil || r.Line == nil { - return 0 +// GetNote returns the Note field if it's non-nil, zero value otherwise. +func (u *UserAuthorization) GetNote() string { + if u == nil || u.Note == nil { + return "" } - return *r.Line + return *u.Note } -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (r *RepositoryComment) GetNodeID() string { - if r == nil || r.NodeID == nil { +// GetNoteURL returns the NoteURL field if it's non-nil, zero value otherwise. +func (u *UserAuthorization) GetNoteURL() string { + if u == nil || u.NoteURL == nil { return "" } - return *r.NodeID + return *u.NoteURL } -// GetPath returns the Path field if it's non-nil, zero value otherwise. -func (r *RepositoryComment) GetPath() string { - if r == nil || r.Path == nil { - return "" +// 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 *r.Path + return u.Scopes } -// GetPosition returns the Position field if it's non-nil, zero value otherwise. -func (r *RepositoryComment) GetPosition() int { - if r == nil || r.Position == nil { - return 0 +// GetToken returns the Token field if it's non-nil, zero value otherwise. +func (u *UserAuthorization) GetToken() string { + if u == nil || u.Token == nil { + return "" } - return *r.Position + return *u.Token } -// GetReactions returns the Reactions field. -func (r *RepositoryComment) GetReactions() *Reactions { - if r == nil { - return nil +// GetTokenLastEight returns the TokenLastEight field if it's non-nil, zero value otherwise. +func (u *UserAuthorization) GetTokenLastEight() string { + if u == nil || u.TokenLastEight == nil { + return "" } - return r.Reactions + return *u.TokenLastEight } // GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (r *RepositoryComment) GetUpdatedAt() Timestamp { - if r == nil || r.UpdatedAt == nil { +func (u *UserAuthorization) GetUpdatedAt() Timestamp { + if u == nil || u.UpdatedAt == nil { return Timestamp{} } - return *r.UpdatedAt + return *u.UpdatedAt } // GetURL returns the URL field if it's non-nil, zero value otherwise. -func (r *RepositoryComment) GetURL() string { - if r == nil || r.URL == nil { +func (u *UserAuthorization) GetURL() string { + if u == nil || u.URL == nil { return "" } - return *r.URL + return *u.URL } -// GetUser returns the User field. -func (r *RepositoryComment) GetUser() *User { - if r == nil { - return nil +// GetMessage returns the Message field if it's non-nil, zero value otherwise. +func (u *UserContext) GetMessage() string { + if u == nil || u.Message == nil { + return "" } - return r.User + return *u.Message } -// GetAuthor returns the Author field. -func (r *RepositoryCommit) GetAuthor() *User { - if r == nil { - return nil +// GetOcticon returns the Octicon field if it's non-nil, zero value otherwise. +func (u *UserContext) GetOcticon() string { + if u == nil || u.Octicon == nil { + return "" } - return r.Author + return *u.Octicon } -// GetCommentsURL returns the CommentsURL field if it's non-nil, zero value otherwise. -func (r *RepositoryCommit) GetCommentsURL() string { - if r == nil || r.CommentsURL == nil { +// GetEmail returns the Email field if it's non-nil, zero value otherwise. +func (u *UserEmail) GetEmail() string { + if u == nil || u.Email == nil { return "" } - return *r.CommentsURL + return *u.Email } -// GetCommit returns the Commit field. -func (r *RepositoryCommit) GetCommit() *Commit { - if r == nil { - return nil +// GetPrimary returns the Primary field if it's non-nil, zero value otherwise. +func (u *UserEmail) GetPrimary() bool { + if u == nil || u.Primary == nil { + return false } - return r.Commit + return *u.Primary } -// GetCommitter returns the Committer field. -func (r *RepositoryCommit) GetCommitter() *User { - if r == nil { - return nil +// GetVerified returns the Verified field if it's non-nil, zero value otherwise. +func (u *UserEmail) GetVerified() bool { + if u == nil || u.Verified == nil { + return false } - return r.Committer + return *u.Verified } -// 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 +// GetVisibility returns the Visibility field if it's non-nil, zero value otherwise. +func (u *UserEmail) GetVisibility() string { + if u == nil || u.Visibility == nil { + return "" } - return r.Files + return *u.Visibility } -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (r *RepositoryCommit) GetHTMLURL() string { - if r == nil || r.HTMLURL == nil { +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (u *UserEvent) GetAction() string { + if u == nil || u.Action == nil { return "" } - return *r.HTMLURL + return *u.Action } -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (r *RepositoryCommit) GetNodeID() string { - if r == nil || r.NodeID == nil { - return "" +// GetEnterprise returns the Enterprise field. +func (u *UserEvent) GetEnterprise() *Enterprise { + if u == nil { + return nil } - return *r.NodeID + return u.Enterprise } -// GetParents returns the Parents slice if it's non-nil, nil otherwise. -func (r *RepositoryCommit) GetParents() []*Commit { - if r == nil || r.Parents == nil { +// GetInstallation returns the Installation field. +func (u *UserEvent) GetInstallation() *Installation { + if u == nil { return nil } - return r.Parents + return u.Installation } -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (r *RepositoryCommit) GetSHA() string { - if r == nil || r.SHA == nil { - return "" +// GetSender returns the Sender field. +func (u *UserEvent) GetSender() *User { + if u == nil { + return nil } - return *r.SHA + return u.Sender } -// GetStats returns the Stats field. -func (r *RepositoryCommit) GetStats() *CommitStats { - if r == nil { +// GetUser returns the User field. +func (u *UserEvent) GetUser() *User { + if u == nil { return nil } - return r.Stats + return u.User } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (r *RepositoryCommit) GetURL() string { - if r == nil || r.URL == nil { +// GetAvatarURL returns the AvatarURL field if it's non-nil, zero value otherwise. +func (u *UserLDAPMapping) GetAvatarURL() string { + if u == nil || u.AvatarURL == nil { return "" } - return *r.URL + return *u.AvatarURL } -// GetDownloadURL returns the DownloadURL field if it's non-nil, zero value otherwise. -func (r *RepositoryContent) GetDownloadURL() string { - if r == nil || r.DownloadURL == nil { +// GetEventsURL returns the EventsURL field if it's non-nil, zero value otherwise. +func (u *UserLDAPMapping) GetEventsURL() string { + if u == nil || u.EventsURL == nil { return "" } - return *r.DownloadURL + return *u.EventsURL } -// GetEncoding returns the Encoding field if it's non-nil, zero value otherwise. -func (r *RepositoryContent) GetEncoding() string { - if r == nil || r.Encoding == nil { +// GetFollowersURL returns the FollowersURL field if it's non-nil, zero value otherwise. +func (u *UserLDAPMapping) GetFollowersURL() string { + if u == nil || u.FollowersURL == nil { return "" } - return *r.Encoding + return *u.FollowersURL } -// GetGitURL returns the GitURL field if it's non-nil, zero value otherwise. -func (r *RepositoryContent) GetGitURL() string { - if r == nil || r.GitURL == nil { +// GetFollowingURL returns the FollowingURL field if it's non-nil, zero value otherwise. +func (u *UserLDAPMapping) GetFollowingURL() string { + if u == nil || u.FollowingURL == nil { return "" } - return *r.GitURL + return *u.FollowingURL } -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (r *RepositoryContent) GetHTMLURL() string { - if r == nil || r.HTMLURL == nil { +// GetGistsURL returns the GistsURL field if it's non-nil, zero value otherwise. +func (u *UserLDAPMapping) GetGistsURL() string { + if u == nil || u.GistsURL == nil { return "" } - return *r.HTMLURL + return *u.GistsURL } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (r *RepositoryContent) GetName() string { - if r == nil || r.Name == nil { +// GetGravatarID returns the GravatarID field if it's non-nil, zero value otherwise. +func (u *UserLDAPMapping) GetGravatarID() string { + if u == nil || u.GravatarID == nil { + return "" + } + return *u.GravatarID +} + +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (u *UserLDAPMapping) GetID() int64 { + if u == nil || u.ID == nil { + return 0 + } + return *u.ID +} + +// GetLDAPDN returns the LDAPDN field if it's non-nil, zero value otherwise. +func (u *UserLDAPMapping) GetLDAPDN() string { + if u == nil || u.LDAPDN == nil { + return "" + } + return *u.LDAPDN +} + +// GetLogin returns the Login field if it's non-nil, zero value otherwise. +func (u *UserLDAPMapping) GetLogin() string { + if u == nil || u.Login == nil { + return "" + } + return *u.Login +} + +// GetOrganizationsURL returns the OrganizationsURL field if it's non-nil, zero value otherwise. +func (u *UserLDAPMapping) GetOrganizationsURL() string { + if u == nil || u.OrganizationsURL == nil { return "" } - return *r.Name + return *u.OrganizationsURL } -// GetPath returns the Path field if it's non-nil, zero value otherwise. -func (r *RepositoryContent) GetPath() string { - if r == nil || r.Path == nil { +// GetReceivedEventsURL returns the ReceivedEventsURL field if it's non-nil, zero value otherwise. +func (u *UserLDAPMapping) GetReceivedEventsURL() string { + if u == nil || u.ReceivedEventsURL == nil { return "" } - return *r.Path + return *u.ReceivedEventsURL } -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (r *RepositoryContent) GetSHA() string { - if r == nil || r.SHA == nil { +// GetReposURL returns the ReposURL field if it's non-nil, zero value otherwise. +func (u *UserLDAPMapping) GetReposURL() string { + if u == nil || u.ReposURL == nil { return "" } - return *r.SHA + return *u.ReposURL } -// GetSize returns the Size field if it's non-nil, zero value otherwise. -func (r *RepositoryContent) GetSize() int { - if r == nil || r.Size == nil { - return 0 +// GetSiteAdmin returns the SiteAdmin field if it's non-nil, zero value otherwise. +func (u *UserLDAPMapping) GetSiteAdmin() bool { + if u == nil || u.SiteAdmin == nil { + return false } - return *r.Size + return *u.SiteAdmin } -// GetSubmoduleGitURL returns the SubmoduleGitURL field if it's non-nil, zero value otherwise. -func (r *RepositoryContent) GetSubmoduleGitURL() string { - if r == nil || r.SubmoduleGitURL == nil { +// GetStarredURL returns the StarredURL field if it's non-nil, zero value otherwise. +func (u *UserLDAPMapping) GetStarredURL() string { + if u == nil || u.StarredURL == nil { return "" } - return *r.SubmoduleGitURL + return *u.StarredURL } -// GetTarget returns the Target field if it's non-nil, zero value otherwise. -func (r *RepositoryContent) GetTarget() string { - if r == nil || r.Target == nil { +// GetSubscriptionsURL returns the SubscriptionsURL field if it's non-nil, zero value otherwise. +func (u *UserLDAPMapping) GetSubscriptionsURL() string { + if u == nil || u.SubscriptionsURL == nil { return "" } - return *r.Target + return *u.SubscriptionsURL } // GetType returns the Type field if it's non-nil, zero value otherwise. -func (r *RepositoryContent) GetType() string { - if r == nil || r.Type == nil { +func (u *UserLDAPMapping) GetType() string { + if u == nil || u.Type == nil { return "" } - return *r.Type + return *u.Type } // GetURL returns the URL field if it's non-nil, zero value otherwise. -func (r *RepositoryContent) GetURL() string { - if r == nil || r.URL == nil { +func (u *UserLDAPMapping) GetURL() string { + if u == nil || u.URL == nil { return "" } - return *r.URL + return *u.URL } -// GetAuthor returns the Author field. -func (r *RepositoryContentFileOptions) GetAuthor() *CommitAuthor { - if r == nil { - return nil +// GetPerPage returns the PerPage field. +func (u *UserListOptions) GetPerPage() int { + if u == nil { + return 0 } - return r.Author + return u.PerPage } -// GetBranch returns the Branch field if it's non-nil, zero value otherwise. -func (r *RepositoryContentFileOptions) GetBranch() string { - if r == nil || r.Branch == nil { - return "" +// GetSince returns the Since field. +func (u *UserListOptions) GetSince() int64 { + if u == nil { + return 0 } - return *r.Branch + return u.Since } -// GetCommitter returns the Committer field. -func (r *RepositoryContentFileOptions) GetCommitter() *CommitAuthor { - if r == nil { - return nil +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (u *UserMigration) GetCreatedAt() string { + if u == nil || u.CreatedAt == nil { + return "" } - return r.Committer + return *u.CreatedAt } -// 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 +// GetExcludeAttachments returns the ExcludeAttachments field if it's non-nil, zero value otherwise. +func (u *UserMigration) GetExcludeAttachments() bool { + if u == nil || u.ExcludeAttachments == nil { + return false } - return r.Content + return *u.ExcludeAttachments } -// GetMessage returns the Message field if it's non-nil, zero value otherwise. -func (r *RepositoryContentFileOptions) GetMessage() string { - if r == nil || r.Message == nil { +// GetGUID returns the GUID field if it's non-nil, zero value otherwise. +func (u *UserMigration) GetGUID() string { + if u == nil || u.GUID == nil { return "" } - return *r.Message + return *u.GUID } -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (r *RepositoryContentFileOptions) GetSHA() string { - if r == nil || r.SHA == nil { - return "" +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (u *UserMigration) GetID() int64 { + if u == nil || u.ID == nil { + return 0 } - return *r.SHA + return *u.ID } -// GetRef returns the Ref field. -func (r *RepositoryContentGetOptions) GetRef() string { - if r == nil { - return "" +// GetLockRepositories returns the LockRepositories field if it's non-nil, zero value otherwise. +func (u *UserMigration) GetLockRepositories() bool { + if u == nil || u.LockRepositories == nil { + return false } - return r.Ref + return *u.LockRepositories } -// GetContent returns the Content field. -func (r *RepositoryContentResponse) GetContent() *RepositoryContent { - if r == nil { +// 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 r.Content -} - -// GetDefaultBranchOnly returns the DefaultBranchOnly field. -func (r *RepositoryCreateForkOptions) GetDefaultBranchOnly() bool { - if r == nil { - return false - } - return r.DefaultBranchOnly + return u.Repositories } -// GetName returns the Name field. -func (r *RepositoryCreateForkOptions) GetName() string { - if r == nil { +// GetState returns the State field if it's non-nil, zero value otherwise. +func (u *UserMigration) GetState() string { + if u == nil || u.State == nil { return "" } - return r.Name + return *u.State } -// GetOrganization returns the Organization field. -func (r *RepositoryCreateForkOptions) GetOrganization() string { - if r == nil { +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (u *UserMigration) GetUpdatedAt() string { + if u == nil || u.UpdatedAt == nil { return "" } - return r.Organization + return *u.UpdatedAt } -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (r *RepositoryDispatchEvent) GetAction() string { - if r == nil || r.Action == nil { +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (u *UserMigration) GetURL() string { + if u == nil || u.URL == nil { return "" } - return *r.Action + return *u.URL } -// GetBranch returns the Branch field if it's non-nil, zero value otherwise. -func (r *RepositoryDispatchEvent) GetBranch() string { - if r == nil || r.Branch == nil { - return "" +// GetExcludeAttachments returns the ExcludeAttachments field. +func (u *UserMigrationOptions) GetExcludeAttachments() bool { + if u == nil { + return false } - return *r.Branch + return u.ExcludeAttachments } -// GetClientPayload returns the ClientPayload field. -func (r *RepositoryDispatchEvent) GetClientPayload() json.RawMessage { - if r == nil { - return json.RawMessage{} +// GetLockRepositories returns the LockRepositories field. +func (u *UserMigrationOptions) GetLockRepositories() bool { + if u == nil { + return false } - return r.ClientPayload + return u.LockRepositories } -// GetInstallation returns the Installation field. -func (r *RepositoryDispatchEvent) GetInstallation() *Installation { - if r == nil { - return nil +// GetIncompleteResults returns the IncompleteResults field if it's non-nil, zero value otherwise. +func (u *UsersSearchResult) GetIncompleteResults() bool { + if u == nil || u.IncompleteResults == nil { + return false } - return r.Installation + return *u.IncompleteResults } -// GetOrg returns the Org field. -func (r *RepositoryDispatchEvent) GetOrg() *Organization { - if r == nil { - return nil +// GetTotal returns the Total field if it's non-nil, zero value otherwise. +func (u *UsersSearchResult) GetTotal() int { + if u == nil || u.Total == nil { + return 0 } - return r.Org + return *u.Total } -// GetRepo returns the Repo field. -func (r *RepositoryDispatchEvent) GetRepo() *Repository { - if r == nil { +// 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 r.Repo + return u.Users } -// GetSender returns the Sender field. -func (r *RepositoryDispatchEvent) GetSender() *User { - if r == nil { - return nil +// GetAdminUsers returns the AdminUsers field if it's non-nil, zero value otherwise. +func (u *UserStats) GetAdminUsers() int { + if u == nil || u.AdminUsers == nil { + return 0 } - return r.Sender + return *u.AdminUsers } -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (r *RepositoryEvent) GetAction() string { - if r == nil || r.Action == nil { - return "" +// GetSuspendedUsers returns the SuspendedUsers field if it's non-nil, zero value otherwise. +func (u *UserStats) GetSuspendedUsers() int { + if u == nil || u.SuspendedUsers == nil { + return 0 } - return *r.Action + return *u.SuspendedUsers } -// GetChanges returns the Changes field. -func (r *RepositoryEvent) GetChanges() *EditChange { - if r == nil { - return nil +// GetTotalUsers returns the TotalUsers field if it's non-nil, zero value otherwise. +func (u *UserStats) GetTotalUsers() int { + if u == nil || u.TotalUsers == nil { + return 0 } - return r.Changes + return *u.TotalUsers } -// GetInstallation returns the Installation field. -func (r *RepositoryEvent) GetInstallation() *Installation { - if r == nil { - return nil +// GetReason returns the Reason field if it's non-nil, zero value otherwise. +func (u *UserSuspendOptions) GetReason() string { + if u == nil || u.Reason == nil { + return "" } - return r.Installation + return *u.Reason } -// GetOrg returns the Org field. -func (r *RepositoryEvent) GetOrg() *Organization { - if r == nil { - return nil +// GetBio returns the Bio field if it's non-nil, zero value otherwise. +func (u *UserUpdateRequest) GetBio() string { + if u == nil || u.Bio == nil { + return "" } - return r.Org + return *u.Bio } -// GetRepo returns the Repo field. -func (r *RepositoryEvent) GetRepo() *Repository { - if r == nil { - return nil +// GetBlog returns the Blog field if it's non-nil, zero value otherwise. +func (u *UserUpdateRequest) GetBlog() string { + if u == nil || u.Blog == nil { + return "" } - return r.Repo + return *u.Blog } -// GetSender returns the Sender field. -func (r *RepositoryEvent) GetSender() *User { - if r == nil { - return nil +// GetCompany returns the Company field if it's non-nil, zero value otherwise. +func (u *UserUpdateRequest) GetCompany() string { + if u == nil || u.Company == nil { + return "" } - return r.Sender + return *u.Company } -// GetOrg returns the Org field. -func (r *RepositoryImportEvent) GetOrg() *Organization { - if r == nil { - return nil +// GetEmail returns the Email field if it's non-nil, zero value otherwise. +func (u *UserUpdateRequest) GetEmail() string { + if u == nil || u.Email == nil { + return "" } - return r.Org + return *u.Email } -// GetRepo returns the Repo field. -func (r *RepositoryImportEvent) GetRepo() *Repository { - if r == nil { - return nil +// GetHireable returns the Hireable field if it's non-nil, zero value otherwise. +func (u *UserUpdateRequest) GetHireable() bool { + if u == nil || u.Hireable == nil { + return false } - return r.Repo + return *u.Hireable } -// GetSender returns the Sender field. -func (r *RepositoryImportEvent) GetSender() *User { - if r == nil { - return nil +// GetLocation returns the Location field if it's non-nil, zero value otherwise. +func (u *UserUpdateRequest) GetLocation() string { + if u == nil || u.Location == nil { + return "" } - return r.Sender + return *u.Location } -// GetStatus returns the Status field if it's non-nil, zero value otherwise. -func (r *RepositoryImportEvent) GetStatus() string { - if r == nil || r.Status == nil { +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (u *UserUpdateRequest) GetName() string { + if u == nil || u.Name == nil { return "" } - return *r.Status + return *u.Name } -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (r *RepositoryInvitation) GetCreatedAt() Timestamp { - if r == nil || r.CreatedAt == nil { - return Timestamp{} +// GetTwitterUsername returns the TwitterUsername field if it's non-nil, zero value otherwise. +func (u *UserUpdateRequest) GetTwitterUsername() string { + if u == nil || u.TwitterUsername == nil { + return "" } - return *r.CreatedAt + return *u.TwitterUsername } -// GetExpired returns the Expired field if it's non-nil, zero value otherwise. -func (r *RepositoryInvitation) GetExpired() bool { - if r == nil || r.Expired == nil { +// GetManualMatch returns the ManualMatch field if it's non-nil, zero value otherwise. +func (v *VisualStudioSubscriptionAssignment) GetManualMatch() bool { + if v == nil || v.ManualMatch == nil { return false } - return *r.Expired + return *v.ManualMatch } -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (r *RepositoryInvitation) GetHTMLURL() string { - if r == nil || r.HTMLURL == nil { +// GetSubscriptionID returns the SubscriptionID field if it's non-nil, zero value otherwise. +func (v *VisualStudioSubscriptionAssignment) GetSubscriptionID() string { + if v == nil || v.SubscriptionID == nil { return "" } - return *r.HTMLURL + return *v.SubscriptionID } -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (r *RepositoryInvitation) GetID() int64 { - if r == nil || r.ID == nil { - return 0 +// GetUsername returns the Username field if it's non-nil, zero value otherwise. +func (v *VisualStudioSubscriptionAssignment) GetUsername() string { + if v == nil || v.Username == nil { + return "" } - return *r.ID + return *v.Username } -// GetInvitee returns the Invitee field. -func (r *RepositoryInvitation) GetInvitee() *User { - if r == nil { - return nil +// GetVisualStudioSubscriptionEmail returns the VisualStudioSubscriptionEmail field if it's non-nil, zero value otherwise. +func (v *VisualStudioSubscriptionAssignment) GetVisualStudioSubscriptionEmail() string { + if v == nil || v.VisualStudioSubscriptionEmail == nil { + return "" } - return r.Invitee + return *v.VisualStudioSubscriptionEmail } -// GetInviter returns the Inviter field. -func (r *RepositoryInvitation) GetInviter() *User { - if r == nil { - return nil +// GetUserIdentifier returns the UserIdentifier field if it's non-nil, zero value otherwise. +func (v *VisualStudioSubscriptionAssignmentRequest) GetUserIdentifier() string { + if v == nil || v.UserIdentifier == nil { + return "" } - return r.Inviter + return *v.UserIdentifier } -// GetPermissions returns the Permissions field if it's non-nil, zero value otherwise. -func (r *RepositoryInvitation) GetPermissions() string { - if r == nil || r.Permissions == nil { - return "" +// GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. +func (v *VisualStudioSubscriptions) GetTotalCount() int { + if v == nil || v.TotalCount == nil { + return 0 } - return *r.Permissions + return *v.TotalCount } -// GetRepo returns the Repo field. -func (r *RepositoryInvitation) GetRepo() *Repository { - if r == nil { +// GetVisualStudioSubscriptions returns the VisualStudioSubscriptions slice if it's non-nil, nil otherwise. +func (v *VisualStudioSubscriptions) GetVisualStudioSubscriptions() []*VisualStudioSubscriptionAssignment { + if v == nil || v.VisualStudioSubscriptions == nil { return nil } - return r.Repo + return v.VisualStudioSubscriptions +} + +// GetEcosystem returns the Ecosystem field if it's non-nil, zero value otherwise. +func (v *VulnerabilityPackage) GetEcosystem() string { + if v == nil || v.Ecosystem == nil { + return "" + } + return *v.Ecosystem } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (r *RepositoryInvitation) GetURL() string { - if r == nil || r.URL == nil { +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (v *VulnerabilityPackage) GetName() string { + if v == nil || v.Name == nil { return "" } - return *r.URL + return *v.Name } -// GetContent returns the Content field if it's non-nil, zero value otherwise. -func (r *RepositoryLicense) GetContent() string { - if r == nil || r.Content == nil { +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (w *WatchEvent) GetAction() string { + if w == nil || w.Action == nil { return "" } - return *r.Content + return *w.Action } -// GetDownloadURL returns the DownloadURL field if it's non-nil, zero value otherwise. -func (r *RepositoryLicense) GetDownloadURL() string { - if r == nil || r.DownloadURL == nil { - return "" +// GetInstallation returns the Installation field. +func (w *WatchEvent) GetInstallation() *Installation { + if w == nil { + return nil } - return *r.DownloadURL + return w.Installation } -// GetEncoding returns the Encoding field if it's non-nil, zero value otherwise. -func (r *RepositoryLicense) GetEncoding() string { - if r == nil || r.Encoding == nil { - return "" +// GetOrg returns the Org field. +func (w *WatchEvent) GetOrg() *Organization { + if w == nil { + return nil } - return *r.Encoding + return w.Org } -// GetGitURL returns the GitURL field if it's non-nil, zero value otherwise. -func (r *RepositoryLicense) GetGitURL() string { - if r == nil || r.GitURL == nil { - return "" +// GetRepo returns the Repo field. +func (w *WatchEvent) GetRepo() *Repository { + if w == nil { + return nil } - return *r.GitURL + return w.Repo } -// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. -func (r *RepositoryLicense) GetHTMLURL() string { - if r == nil || r.HTMLURL == nil { - return "" +// GetSender returns the Sender field. +func (w *WatchEvent) GetSender() *User { + if w == nil { + return nil } - return *r.HTMLURL + return w.Sender } -// GetLicense returns the License field. -func (r *RepositoryLicense) GetLicense() *License { - if r == nil { +// 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 r.License + return w.Days } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (r *RepositoryLicense) GetName() string { - if r == nil || r.Name == nil { - return "" +// GetTotal returns the Total field if it's non-nil, zero value otherwise. +func (w *WeeklyCommitActivity) GetTotal() int { + if w == nil || w.Total == nil { + return 0 } - return *r.Name + return *w.Total } -// GetPath returns the Path field if it's non-nil, zero value otherwise. -func (r *RepositoryLicense) GetPath() string { - if r == nil || r.Path == nil { - return "" +// GetWeek returns the Week field if it's non-nil, zero value otherwise. +func (w *WeeklyCommitActivity) GetWeek() Timestamp { + if w == nil || w.Week == nil { + return Timestamp{} } - return *r.Path + return *w.Week } -// GetSHA returns the SHA field if it's non-nil, zero value otherwise. -func (r *RepositoryLicense) GetSHA() string { - if r == nil || r.SHA == nil { - return "" +// GetAdditions returns the Additions field if it's non-nil, zero value otherwise. +func (w *WeeklyStats) GetAdditions() int { + if w == nil || w.Additions == nil { + return 0 } - return *r.SHA + return *w.Additions } -// GetSize returns the Size field if it's non-nil, zero value otherwise. -func (r *RepositoryLicense) GetSize() int { - if r == nil || r.Size == nil { +// GetCommits returns the Commits field if it's non-nil, zero value otherwise. +func (w *WeeklyStats) GetCommits() int { + if w == nil || w.Commits == nil { return 0 } - return *r.Size + return *w.Commits } -// GetType returns the Type field if it's non-nil, zero value otherwise. -func (r *RepositoryLicense) GetType() string { - if r == nil || r.Type == nil { - return "" +// GetDeletions returns the Deletions field if it's non-nil, zero value otherwise. +func (w *WeeklyStats) GetDeletions() int { + if w == nil || w.Deletions == nil { + return 0 } - return *r.Type + return *w.Deletions } -// GetURL returns the URL field if it's non-nil, zero value otherwise. -func (r *RepositoryLicense) GetURL() string { - if r == nil || r.URL == nil { +// GetWeek returns the Week field if it's non-nil, zero value otherwise. +func (w *WeeklyStats) GetWeek() Timestamp { + if w == nil || w.Week == nil { + return Timestamp{} + } + return *w.Week +} + +// GetBadgeURL returns the BadgeURL field if it's non-nil, zero value otherwise. +func (w *Workflow) GetBadgeURL() string { + if w == nil || w.BadgeURL == nil { return "" } - return *r.URL + return *w.BadgeURL } -// GetSince returns the Since field. -func (r *RepositoryListAllOptions) GetSince() int64 { - if r == nil { - return 0 +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (w *Workflow) GetCreatedAt() Timestamp { + if w == nil || w.CreatedAt == nil { + return Timestamp{} } - return r.Since + return *w.CreatedAt } -// GetAffiliation returns the Affiliation field. -func (r *RepositoryListByAuthenticatedUserOptions) GetAffiliation() string { - if r == nil { +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (w *Workflow) GetHTMLURL() string { + if w == nil || w.HTMLURL == nil { return "" } - return r.Affiliation + return *w.HTMLURL } -// GetDirection returns the Direction field. -func (r *RepositoryListByAuthenticatedUserOptions) GetDirection() string { - if r == nil { - return "" +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (w *Workflow) GetID() int64 { + if w == nil || w.ID == nil { + return 0 } - return r.Direction + return *w.ID } -// GetSort returns the Sort field. -func (r *RepositoryListByAuthenticatedUserOptions) GetSort() string { - if r == nil { +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (w *Workflow) GetName() string { + if w == nil || w.Name == nil { return "" } - return r.Sort + return *w.Name } -// GetType returns the Type field. -func (r *RepositoryListByAuthenticatedUserOptions) GetType() string { - if r == nil { +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (w *Workflow) GetNodeID() string { + if w == nil || w.NodeID == nil { return "" } - return r.Type + return *w.NodeID } -// GetVisibility returns the Visibility field. -func (r *RepositoryListByAuthenticatedUserOptions) GetVisibility() string { - if r == nil { +// GetPath returns the Path field if it's non-nil, zero value otherwise. +func (w *Workflow) GetPath() string { + if w == nil || w.Path == nil { return "" } - return r.Visibility + return *w.Path } -// GetDirection returns the Direction field. -func (r *RepositoryListByOrgOptions) GetDirection() string { - if r == nil { +// GetState returns the State field if it's non-nil, zero value otherwise. +func (w *Workflow) GetState() string { + if w == nil || w.State == nil { return "" } - return r.Direction + return *w.State } -// GetSort returns the Sort field. -func (r *RepositoryListByOrgOptions) GetSort() string { - if r == nil { - return "" +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (w *Workflow) GetUpdatedAt() Timestamp { + if w == nil || w.UpdatedAt == nil { + return Timestamp{} } - return r.Sort + return *w.UpdatedAt } -// GetType returns the Type field. -func (r *RepositoryListByOrgOptions) GetType() string { - if r == nil { +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (w *Workflow) GetURL() string { + if w == nil || w.URL == nil { return "" } - return r.Type + return *w.URL } -// GetDirection returns the Direction field. -func (r *RepositoryListByUserOptions) GetDirection() string { - if r == nil { - return "" +// GetTotalMS returns the TotalMS field if it's non-nil, zero value otherwise. +func (w *WorkflowBill) GetTotalMS() int64 { + if w == nil || w.TotalMS == nil { + return 0 } - return r.Direction + return *w.TotalMS } -// GetSort returns the Sort field. -func (r *RepositoryListByUserOptions) GetSort() string { - if r == nil { - return "" +// GetInputs returns the Inputs field. +func (w *WorkflowDispatchEvent) GetInputs() json.RawMessage { + if w == nil { + return json.RawMessage{} } - return r.Sort + return w.Inputs } -// GetType returns the Type field. -func (r *RepositoryListByUserOptions) GetType() string { - if r == nil { - return "" +// GetInstallation returns the Installation field. +func (w *WorkflowDispatchEvent) GetInstallation() *Installation { + if w == nil { + return nil } - return r.Type + return w.Installation } -// GetSort returns the Sort field. -func (r *RepositoryListForksOptions) GetSort() string { - if r == nil { - return "" +// GetOrg returns the Org field. +func (w *WorkflowDispatchEvent) GetOrg() *Organization { + if w == nil { + return nil } - return r.Sort + return w.Org } -// GetAffiliation returns the Affiliation field. -func (r *RepositoryListOptions) GetAffiliation() string { - if r == nil { +// GetRef returns the Ref field if it's non-nil, zero value otherwise. +func (w *WorkflowDispatchEvent) GetRef() string { + if w == nil || w.Ref == nil { return "" } - return r.Affiliation + return *w.Ref } -// GetDirection returns the Direction field. -func (r *RepositoryListOptions) GetDirection() string { - if r == nil { - return "" +// GetRepo returns the Repo field. +func (w *WorkflowDispatchEvent) GetRepo() *Repository { + if w == nil { + return nil } - return r.Direction + return w.Repo } -// GetSort returns the Sort field. -func (r *RepositoryListOptions) GetSort() string { - if r == nil { +// GetSender returns the Sender field. +func (w *WorkflowDispatchEvent) GetSender() *User { + if w == nil { + return nil + } + return w.Sender +} + +// GetWorkflow returns the Workflow field if it's non-nil, zero value otherwise. +func (w *WorkflowDispatchEvent) GetWorkflow() string { + if w == nil || w.Workflow == nil { return "" } - return r.Sort + return *w.Workflow } -// GetType returns the Type field. -func (r *RepositoryListOptions) GetType() string { - if r == nil { +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (w *WorkflowDispatchRunDetails) GetHTMLURL() string { + if w == nil || w.HTMLURL == nil { return "" } - return r.Type + return *w.HTMLURL } -// GetVisibility returns the Visibility field. -func (r *RepositoryListOptions) GetVisibility() string { - if r == nil { +// GetRunURL returns the RunURL field if it's non-nil, zero value otherwise. +func (w *WorkflowDispatchRunDetails) GetRunURL() string { + if w == nil || w.RunURL == nil { return "" } - return r.Visibility + return *w.RunURL } -// GetIncludesParents returns the IncludesParents field if it's non-nil, zero value otherwise. -func (r *RepositoryListRulesetsOptions) GetIncludesParents() bool { - if r == nil || r.IncludesParents == nil { - return false +// GetWorkflowRunID returns the WorkflowRunID field if it's non-nil, zero value otherwise. +func (w *WorkflowDispatchRunDetails) GetWorkflowRunID() int64 { + if w == nil || w.WorkflowRunID == nil { + return 0 } - return *r.IncludesParents + return *w.WorkflowRunID } -// GetBase returns the Base field. -func (r *RepositoryMergeRequest) GetBase() string { - if r == nil { +// GetCheckRunURL returns the CheckRunURL field if it's non-nil, zero value otherwise. +func (w *WorkflowJob) GetCheckRunURL() string { + if w == nil || w.CheckRunURL == nil { return "" } - return r.Base + return *w.CheckRunURL } -// GetCommitMessage returns the CommitMessage field if it's non-nil, zero value otherwise. -func (r *RepositoryMergeRequest) GetCommitMessage() string { - if r == nil || r.CommitMessage == nil { - return "" +// GetCompletedAt returns the CompletedAt field if it's non-nil, zero value otherwise. +func (w *WorkflowJob) GetCompletedAt() Timestamp { + if w == nil || w.CompletedAt == nil { + return Timestamp{} } - return *r.CommitMessage + return *w.CompletedAt } -// GetHead returns the Head field. -func (r *RepositoryMergeRequest) GetHead() string { - if r == nil { +// GetConclusion returns the Conclusion field if it's non-nil, zero value otherwise. +func (w *WorkflowJob) GetConclusion() string { + if w == nil || w.Conclusion == nil { return "" } - return r.Head + return *w.Conclusion } -// 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 +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (w *WorkflowJob) GetCreatedAt() Timestamp { + if w == nil || w.CreatedAt == nil { + return Timestamp{} } - return r.All + return *w.CreatedAt } -// 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 +// GetHeadBranch returns the HeadBranch field if it's non-nil, zero value otherwise. +func (w *WorkflowJob) GetHeadBranch() string { + if w == nil || w.HeadBranch == nil { + return "" } - return r.Owner + return *w.HeadBranch } -// GetPermission returns the Permission field if it's non-nil, zero value otherwise. -func (r *RepositoryPermissionLevel) GetPermission() string { - if r == nil || r.Permission == nil { +// GetHeadSHA returns the HeadSHA field if it's non-nil, zero value otherwise. +func (w *WorkflowJob) GetHeadSHA() string { + if w == nil || w.HeadSHA == nil { return "" } - return *r.Permission + return *w.HeadSHA } -// GetRoleName returns the RoleName field if it's non-nil, zero value otherwise. -func (r *RepositoryPermissionLevel) GetRoleName() string { - if r == nil || r.RoleName == nil { +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (w *WorkflowJob) GetHTMLURL() string { + if w == nil || w.HTMLURL == nil { return "" } - return *r.RoleName + return *w.HTMLURL } -// GetUser returns the User field. -func (r *RepositoryPermissionLevel) GetUser() *User { - if r == nil { - return nil +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (w *WorkflowJob) GetID() int64 { + if w == nil || w.ID == nil { + return 0 } - return r.User + return *w.ID } -// GetAdmin returns the Admin field if it's non-nil, zero value otherwise. -func (r *RepositoryPermissions) GetAdmin() bool { - if r == nil || r.Admin == nil { - return false +// 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 *r.Admin + return w.Labels } -// GetMaintain returns the Maintain field if it's non-nil, zero value otherwise. -func (r *RepositoryPermissions) GetMaintain() bool { - if r == nil || r.Maintain == nil { - return false +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (w *WorkflowJob) GetName() string { + if w == nil || w.Name == nil { + return "" } - return *r.Maintain + return *w.Name } -// GetPull returns the Pull field if it's non-nil, zero value otherwise. -func (r *RepositoryPermissions) GetPull() bool { - if r == nil || r.Pull == nil { - return false +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (w *WorkflowJob) GetNodeID() string { + if w == nil || w.NodeID == nil { + return "" } - return *r.Pull + return *w.NodeID } -// GetPush returns the Push field if it's non-nil, zero value otherwise. -func (r *RepositoryPermissions) GetPush() bool { - if r == nil || r.Push == nil { - return false +// GetRunAttempt returns the RunAttempt field if it's non-nil, zero value otherwise. +func (w *WorkflowJob) GetRunAttempt() int64 { + if w == nil || w.RunAttempt == nil { + return 0 } - return *r.Push + return *w.RunAttempt } -// GetTriage returns the Triage field if it's non-nil, zero value otherwise. -func (r *RepositoryPermissions) GetTriage() bool { - if r == nil || r.Triage == nil { - return false +// GetRunID returns the RunID field if it's non-nil, zero value otherwise. +func (w *WorkflowJob) GetRunID() int64 { + if w == nil || w.RunID == nil { + return 0 } - return *r.Triage + return *w.RunID } -// 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 +// GetRunnerGroupID returns the RunnerGroupID field if it's non-nil, zero value otherwise. +func (w *WorkflowJob) GetRunnerGroupID() int64 { + if w == nil || w.RunnerGroupID == nil { + return 0 } - return r.Assets + return *w.RunnerGroupID } -// GetAssetsURL returns the AssetsURL field. -func (r *RepositoryRelease) GetAssetsURL() string { - if r == nil { +// GetRunnerGroupName returns the RunnerGroupName field if it's non-nil, zero value otherwise. +func (w *WorkflowJob) GetRunnerGroupName() string { + if w == nil || w.RunnerGroupName == nil { return "" } - return r.AssetsURL + return *w.RunnerGroupName } -// GetAuthor returns the Author field. -func (r *RepositoryRelease) GetAuthor() *User { - if r == nil { - return nil +// GetRunnerID returns the RunnerID field if it's non-nil, zero value otherwise. +func (w *WorkflowJob) GetRunnerID() int64 { + if w == nil || w.RunnerID == nil { + return 0 } - return r.Author + return *w.RunnerID } -// GetBody returns the Body field if it's non-nil, zero value otherwise. -func (r *RepositoryRelease) GetBody() string { - if r == nil || r.Body == nil { +// GetRunnerName returns the RunnerName field if it's non-nil, zero value otherwise. +func (w *WorkflowJob) GetRunnerName() string { + if w == nil || w.RunnerName == nil { return "" } - return *r.Body + return *w.RunnerName } -// GetBodyHTML returns the BodyHTML field if it's non-nil, zero value otherwise. -func (r *RepositoryRelease) GetBodyHTML() string { - if r == nil || r.BodyHTML == nil { +// GetRunURL returns the RunURL field if it's non-nil, zero value otherwise. +func (w *WorkflowJob) GetRunURL() string { + if w == nil || w.RunURL == nil { return "" } - return *r.BodyHTML + return *w.RunURL } -// GetBodyText returns the BodyText field if it's non-nil, zero value otherwise. -func (r *RepositoryRelease) GetBodyText() string { - if r == nil || r.BodyText == nil { +// GetStartedAt returns the StartedAt field if it's non-nil, zero value otherwise. +func (w *WorkflowJob) GetStartedAt() Timestamp { + if w == nil || w.StartedAt == nil { + return Timestamp{} + } + return *w.StartedAt +} + +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (w *WorkflowJob) GetStatus() string { + if w == nil || w.Status == nil { return "" } - return *r.BodyText + return *w.Status } -// GetCreatedAt returns the CreatedAt field. -func (r *RepositoryRelease) GetCreatedAt() Timestamp { - if r == nil { - return Timestamp{} +// 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 r.CreatedAt + return w.Steps } -// GetDiscussionURL returns the DiscussionURL field if it's non-nil, zero value otherwise. -func (r *RepositoryRelease) GetDiscussionURL() string { - if r == nil || r.DiscussionURL == nil { +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (w *WorkflowJob) GetURL() string { + if w == nil || w.URL == nil { return "" } - return *r.DiscussionURL + return *w.URL } -// GetDraft returns the Draft field. -func (r *RepositoryRelease) GetDraft() bool { - if r == nil { - return false +// GetWorkflowName returns the WorkflowName field if it's non-nil, zero value otherwise. +func (w *WorkflowJob) GetWorkflowName() string { + if w == nil || w.WorkflowName == nil { + return "" } - return r.Draft + return *w.WorkflowName } -// GetHTMLURL returns the HTMLURL field. -func (r *RepositoryRelease) GetHTMLURL() string { - if r == nil { +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (w *WorkflowJobEvent) GetAction() string { + if w == nil || w.Action == nil { return "" } - return r.HTMLURL + return *w.Action } -// GetID returns the ID field. -func (r *RepositoryRelease) GetID() int64 { - if r == nil { - return 0 +// GetDeployment returns the Deployment field. +func (w *WorkflowJobEvent) GetDeployment() *Deployment { + if w == nil { + return nil } - return r.ID + return w.Deployment } -// GetImmutable returns the Immutable field if it's non-nil, zero value otherwise. -func (r *RepositoryRelease) GetImmutable() bool { - if r == nil || r.Immutable == nil { - return false +// GetInstallation returns the Installation field. +func (w *WorkflowJobEvent) GetInstallation() *Installation { + if w == nil { + return nil } - return *r.Immutable + return w.Installation } -// GetMentionsCount returns the MentionsCount field if it's non-nil, zero value otherwise. -func (r *RepositoryRelease) GetMentionsCount() int { - if r == nil || r.MentionsCount == nil { - return 0 +// GetOrg returns the Org field. +func (w *WorkflowJobEvent) GetOrg() *Organization { + if w == nil { + return nil } - return *r.MentionsCount + return w.Org } -// GetName returns the Name field if it's non-nil, zero value otherwise. -func (r *RepositoryRelease) GetName() string { - if r == nil || r.Name == nil { - return "" +// GetRepo returns the Repo field. +func (w *WorkflowJobEvent) GetRepo() *Repository { + if w == nil { + return nil } - return *r.Name + return w.Repo } -// GetNodeID returns the NodeID field. -func (r *RepositoryRelease) GetNodeID() string { - if r == nil { - return "" +// GetSender returns the Sender field. +func (w *WorkflowJobEvent) GetSender() *User { + if w == nil { + return nil } - return r.NodeID + return w.Sender } -// GetPrerelease returns the Prerelease field. -func (r *RepositoryRelease) GetPrerelease() bool { - if r == nil { - return false +// GetWorkflowJob returns the WorkflowJob field. +func (w *WorkflowJobEvent) GetWorkflowJob() *WorkflowJob { + if w == nil { + return nil } - return r.Prerelease + return w.WorkflowJob } -// GetPublishedAt returns the PublishedAt field if it's non-nil, zero value otherwise. -func (r *RepositoryRelease) GetPublishedAt() Timestamp { - if r == nil || r.PublishedAt == nil { +// GetConclusion returns the Conclusion field if it's non-nil, zero value otherwise. +func (w *WorkflowJobRun) GetConclusion() string { + if w == nil || w.Conclusion == nil { + return "" + } + return *w.Conclusion +} + +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (w *WorkflowJobRun) GetCreatedAt() Timestamp { + if w == nil || w.CreatedAt == nil { return Timestamp{} } - return *r.PublishedAt + return *w.CreatedAt } -// GetReactions returns the Reactions field. -func (r *RepositoryRelease) GetReactions() *Reactions { - if r == nil { - return nil +// GetEnvironment returns the Environment field if it's non-nil, zero value otherwise. +func (w *WorkflowJobRun) GetEnvironment() string { + if w == nil || w.Environment == nil { + return "" } - return r.Reactions + return *w.Environment } -// GetTagName returns the TagName field. -func (r *RepositoryRelease) GetTagName() string { - if r == nil { +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (w *WorkflowJobRun) GetHTMLURL() string { + if w == nil || w.HTMLURL == nil { return "" } - return r.TagName + return *w.HTMLURL } -// GetTarballURL returns the TarballURL field if it's non-nil, zero value otherwise. -func (r *RepositoryRelease) GetTarballURL() string { - if r == nil || r.TarballURL == nil { +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (w *WorkflowJobRun) GetID() int64 { + if w == nil || w.ID == nil { + return 0 + } + return *w.ID +} + +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (w *WorkflowJobRun) GetName() string { + if w == nil || w.Name == nil { return "" } - return *r.TarballURL + return *w.Name } -// GetTargetCommitish returns the TargetCommitish field. -func (r *RepositoryRelease) GetTargetCommitish() string { - if r == nil { +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (w *WorkflowJobRun) GetStatus() string { + if w == nil || w.Status == nil { return "" } - return r.TargetCommitish + return *w.Status } // GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (r *RepositoryRelease) GetUpdatedAt() Timestamp { - if r == nil || r.UpdatedAt == nil { +func (w *WorkflowJobRun) GetUpdatedAt() Timestamp { + if w == nil || w.UpdatedAt == nil { return Timestamp{} } - return *r.UpdatedAt + return *w.UpdatedAt } -// GetUploadURL returns the UploadURL field. -func (r *RepositoryRelease) GetUploadURL() string { - if r == nil { +// GetActor returns the Actor field. +func (w *WorkflowRun) GetActor() *User { + if w == nil { + return nil + } + return w.Actor +} + +// GetArtifactsURL returns the ArtifactsURL field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetArtifactsURL() string { + if w == nil || w.ArtifactsURL == nil { return "" } - return r.UploadURL + return *w.ArtifactsURL } -// GetURL returns the URL field. -func (r *RepositoryRelease) GetURL() string { - if r == nil { +// GetCancelURL returns the CancelURL field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetCancelURL() string { + if w == nil || w.CancelURL == nil { return "" } - return r.URL + return *w.CancelURL } -// GetZipballURL returns the ZipballURL field if it's non-nil, zero value otherwise. -func (r *RepositoryRelease) GetZipballURL() string { - if r == nil || r.ZipballURL == nil { +// GetCheckSuiteID returns the CheckSuiteID field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetCheckSuiteID() int64 { + if w == nil || w.CheckSuiteID == nil { + return 0 + } + return *w.CheckSuiteID +} + +// GetCheckSuiteNodeID returns the CheckSuiteNodeID field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetCheckSuiteNodeID() string { + if w == nil || w.CheckSuiteNodeID == nil { return "" } - return *r.ZipballURL + return *w.CheckSuiteNodeID } -// GetBody returns the Body field. -func (r *RepositoryReleaseNotes) GetBody() string { - if r == nil { +// GetCheckSuiteURL returns the CheckSuiteURL field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetCheckSuiteURL() string { + if w == nil || w.CheckSuiteURL == nil { return "" } - return r.Body + return *w.CheckSuiteURL } -// GetName returns the Name field. -func (r *RepositoryReleaseNotes) GetName() string { - if r == nil { +// GetConclusion returns the Conclusion field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetConclusion() string { + if w == nil || w.Conclusion == nil { return "" } - return r.Name + return *w.Conclusion } -// GetParameters returns the Parameters field. -func (r *RepositoryRule) GetParameters() any { - if r == nil { - return nil +// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetCreatedAt() Timestamp { + if w == nil || w.CreatedAt == nil { + return Timestamp{} } - return r.Parameters + return *w.CreatedAt } -// GetType returns the Type field. -func (r *RepositoryRule) GetType() RepositoryRuleType { - if r == nil { +// GetDisplayTitle returns the DisplayTitle field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetDisplayTitle() string { + if w == nil || w.DisplayTitle == nil { return "" } - return r.Type + return *w.DisplayTitle } -// 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 +// GetEvent returns the Event field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetEvent() string { + if w == nil || w.Event == nil { + return "" } - return r.BypassActors + return *w.Event } -// GetConditions returns the Conditions field. -func (r *RepositoryRuleset) GetConditions() *RepositoryRulesetConditions { - if r == nil { - return nil +// GetHeadBranch returns the HeadBranch field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetHeadBranch() string { + if w == nil || w.HeadBranch == nil { + return "" } - return r.Conditions + return *w.HeadBranch } -// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. -func (r *RepositoryRuleset) GetCreatedAt() Timestamp { - if r == nil || r.CreatedAt == nil { - return Timestamp{} +// GetHeadCommit returns the HeadCommit field. +func (w *WorkflowRun) GetHeadCommit() *HeadCommit { + if w == nil { + return nil } - return *r.CreatedAt + return w.HeadCommit } -// GetCurrentUserCanBypass returns the CurrentUserCanBypass field. -func (r *RepositoryRuleset) GetCurrentUserCanBypass() *BypassMode { - if r == nil { +// GetHeadRepository returns the HeadRepository field. +func (w *WorkflowRun) GetHeadRepository() *Repository { + if w == nil { return nil } - return r.CurrentUserCanBypass + return w.HeadRepository } -// GetEnforcement returns the Enforcement field. -func (r *RepositoryRuleset) GetEnforcement() RulesetEnforcement { - if r == nil { +// GetHeadSHA returns the HeadSHA field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetHeadSHA() string { + if w == nil || w.HeadSHA == nil { return "" } - return r.Enforcement + return *w.HeadSHA } -// GetID returns the ID field if it's non-nil, zero value otherwise. -func (r *RepositoryRuleset) GetID() int64 { - if r == nil || r.ID == nil { - return 0 +// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetHTMLURL() string { + if w == nil || w.HTMLURL == nil { + return "" } - return *r.ID + return *w.HTMLURL } -// GetLinks returns the Links field. -func (r *RepositoryRuleset) GetLinks() *RepositoryRulesetLinks { - if r == nil { - return nil +// GetID returns the ID field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetID() int64 { + if w == nil || w.ID == nil { + return 0 } - return r.Links + return *w.ID } -// GetName returns the Name field. -func (r *RepositoryRuleset) GetName() string { - if r == nil { +// GetJobsURL returns the JobsURL field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetJobsURL() string { + if w == nil || w.JobsURL == nil { return "" } - return r.Name + return *w.JobsURL } -// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. -func (r *RepositoryRuleset) GetNodeID() string { - if r == nil || r.NodeID == nil { +// GetLogsURL returns the LogsURL field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetLogsURL() string { + if w == nil || w.LogsURL == nil { return "" } - return *r.NodeID -} - -// GetRules returns the Rules field. -func (r *RepositoryRuleset) GetRules() *RepositoryRulesetRules { - if r == nil { - return nil - } - return r.Rules + return *w.LogsURL } -// GetSource returns the Source field. -func (r *RepositoryRuleset) GetSource() string { - if r == nil { +// GetName returns the Name field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetName() string { + if w == nil || w.Name == nil { return "" } - return r.Source + return *w.Name } -// GetSourceType returns the SourceType field. -func (r *RepositoryRuleset) GetSourceType() *RulesetSourceType { - if r == nil { - return nil +// GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetNodeID() string { + if w == nil || w.NodeID == nil { + return "" } - return r.SourceType + return *w.NodeID } -// GetTarget returns the Target field. -func (r *RepositoryRuleset) GetTarget() *RulesetTarget { - if r == nil { - return nil +// GetPath returns the Path field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetPath() string { + if w == nil || w.Path == nil { + return "" } - return r.Target + return *w.Path } -// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. -func (r *RepositoryRuleset) GetUpdatedAt() Timestamp { - if r == nil || r.UpdatedAt == nil { - return Timestamp{} +// GetPreviousAttemptURL returns the PreviousAttemptURL field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetPreviousAttemptURL() string { + if w == nil || w.PreviousAttemptURL == nil { + return "" } - return *r.UpdatedAt + return *w.PreviousAttemptURL } -// GetAdded returns the Added slice if it's non-nil, nil otherwise. -func (r *RepositoryRulesetChangedConditions) GetAdded() []*RepositoryRulesetConditions { - if r == nil || r.Added == nil { +// 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 r.Added + return w.PullRequests } -// GetDeleted returns the Deleted slice if it's non-nil, nil otherwise. -func (r *RepositoryRulesetChangedConditions) GetDeleted() []*RepositoryRulesetConditions { - if r == nil || r.Deleted == nil { +// 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 r.Deleted + return w.ReferencedWorkflows } -// GetUpdated returns the Updated slice if it's non-nil, nil otherwise. -func (r *RepositoryRulesetChangedConditions) GetUpdated() []*RepositoryRulesetUpdatedConditions { - if r == nil || r.Updated == nil { +// GetRepository returns the Repository field. +func (w *WorkflowRun) GetRepository() *Repository { + if w == nil { return nil } - return r.Updated + return w.Repository } -// GetConfiguration returns the Configuration field. -func (r *RepositoryRulesetChangedRule) GetConfiguration() *RepositoryRulesetChangeSource { - if r == nil { - return nil +// GetRerunURL returns the RerunURL field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetRerunURL() string { + if w == nil || w.RerunURL == nil { + return "" } - return r.Configuration + return *w.RerunURL } -// GetPattern returns the Pattern field. -func (r *RepositoryRulesetChangedRule) GetPattern() *RepositoryRulesetChangeSource { - if r == nil { - return nil +// GetRunAttempt returns the RunAttempt field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetRunAttempt() int { + if w == nil || w.RunAttempt == nil { + return 0 } - return r.Pattern + return *w.RunAttempt } -// GetRuleType returns the RuleType field. -func (r *RepositoryRulesetChangedRule) GetRuleType() *RepositoryRulesetChangeSource { - if r == nil { - return nil +// GetRunNumber returns the RunNumber field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetRunNumber() int { + if w == nil || w.RunNumber == nil { + return 0 } - return r.RuleType + return *w.RunNumber } -// 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 +// GetRunStartedAt returns the RunStartedAt field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetRunStartedAt() Timestamp { + if w == nil || w.RunStartedAt == nil { + return Timestamp{} } - return r.Added + return *w.RunStartedAt } -// 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 +// GetStatus returns the Status field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetStatus() string { + if w == nil || w.Status == nil { + return "" } - return r.Deleted + return *w.Status } -// GetUpdated returns the Updated slice if it's non-nil, nil otherwise. -func (r *RepositoryRulesetChangedRules) GetUpdated() []*RepositoryRulesetUpdatedRules { - if r == nil || r.Updated == nil { +// GetTriggeringActor returns the TriggeringActor field. +func (w *WorkflowRun) GetTriggeringActor() *User { + if w == nil { return nil } - return r.Updated + return w.TriggeringActor } -// GetConditions returns the Conditions field. -func (r *RepositoryRulesetChanges) GetConditions() *RepositoryRulesetChangedConditions { - if r == nil { - return nil +// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetUpdatedAt() Timestamp { + if w == nil || w.UpdatedAt == nil { + return Timestamp{} } - return r.Conditions + return *w.UpdatedAt } -// GetEnforcement returns the Enforcement field. -func (r *RepositoryRulesetChanges) GetEnforcement() *RepositoryRulesetChangeSource { - if r == nil { - return nil +// GetURL returns the URL field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetURL() string { + if w == nil || w.URL == nil { + return "" } - return r.Enforcement + return *w.URL } -// GetName returns the Name field. -func (r *RepositoryRulesetChanges) GetName() *RepositoryRulesetChangeSource { - if r == nil { - return nil +// GetWorkflowID returns the WorkflowID field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetWorkflowID() int64 { + if w == nil || w.WorkflowID == nil { + return 0 } - return r.Name + return *w.WorkflowID } -// GetRules returns the Rules field. -func (r *RepositoryRulesetChanges) GetRules() *RepositoryRulesetChangedRules { - if r == nil { - return nil +// GetWorkflowURL returns the WorkflowURL field if it's non-nil, zero value otherwise. +func (w *WorkflowRun) GetWorkflowURL() string { + if w == nil || w.WorkflowURL == nil { + return "" } - return r.Rules + return *w.WorkflowURL } -// GetFrom returns the From field if it's non-nil, zero value otherwise. -func (r *RepositoryRulesetChangeSource) GetFrom() string { - if r == nil || r.From == nil { - return "" +// GetExcludePullRequests returns the ExcludePullRequests field if it's non-nil, zero value otherwise. +func (w *WorkflowRunAttemptOptions) GetExcludePullRequests() bool { + if w == nil || w.ExcludePullRequests == nil { + return false } - return *r.From + return *w.ExcludePullRequests } -// GetFrom returns the From slice if it's non-nil, nil otherwise. -func (r *RepositoryRulesetChangeSources) GetFrom() []string { - if r == nil || r.From == nil { +// 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 r.From + return w.JobRuns } -// GetOrganizationID returns the OrganizationID field. -func (r *RepositoryRulesetConditions) GetOrganizationID() *RepositoryRulesetOrganizationIDsConditionParameters { - if r == nil { - return nil +// GetJobs returns the Jobs field if it's non-nil, zero value otherwise. +func (w *WorkflowRunBill) GetJobs() int { + if w == nil || w.Jobs == nil { + return 0 } - return r.OrganizationID + return *w.Jobs } -// GetOrganizationName returns the OrganizationName field. -func (r *RepositoryRulesetConditions) GetOrganizationName() *RepositoryRulesetOrganizationNamesConditionParameters { - if r == nil { - return nil +// GetTotalMS returns the TotalMS field if it's non-nil, zero value otherwise. +func (w *WorkflowRunBill) GetTotalMS() int64 { + if w == nil || w.TotalMS == nil { + return 0 } - return r.OrganizationName + return *w.TotalMS } -// GetOrganizationProperty returns the OrganizationProperty field. -func (r *RepositoryRulesetConditions) GetOrganizationProperty() *RepositoryRulesetOrganizationPropertyConditionParameters { - if r == nil { - return nil +// GetAction returns the Action field if it's non-nil, zero value otherwise. +func (w *WorkflowRunEvent) GetAction() string { + if w == nil || w.Action == nil { + return "" } - return r.OrganizationProperty + return *w.Action } -// GetRefName returns the RefName field. -func (r *RepositoryRulesetConditions) GetRefName() *RepositoryRulesetRefConditionParameters { - if r == nil { +// GetInstallation returns the Installation field. +func (w *WorkflowRunEvent) GetInstallation() *Installation { + if w == nil { return nil } - return r.RefName + return w.Installation } -// GetRepositoryID returns the RepositoryID field. -func (r *RepositoryRulesetConditions) GetRepositoryID() *RepositoryRulesetRepositoryIDsConditionParameters { - if r == nil { +// GetOrg returns the Org field. +func (w *WorkflowRunEvent) GetOrg() *Organization { + if w == nil { return nil } - return r.RepositoryID + return w.Org } -// GetRepositoryName returns the RepositoryName field. -func (r *RepositoryRulesetConditions) GetRepositoryName() *RepositoryRulesetRepositoryNamesConditionParameters { - if r == nil { +// GetRepo returns the Repo field. +func (w *WorkflowRunEvent) GetRepo() *Repository { + if w == nil { return nil } - return r.RepositoryName + return w.Repo } -// GetRepositoryProperty returns the RepositoryProperty field. -func (r *RepositoryRulesetConditions) GetRepositoryProperty() *RepositoryRulesetRepositoryPropertyConditionParameters { - if r == nil { +// GetSender returns the Sender field. +func (w *WorkflowRunEvent) GetSender() *User { + if w == nil { return nil } - return r.RepositoryProperty + return w.Sender } -// GetAction returns the Action field if it's non-nil, zero value otherwise. -func (r *RepositoryRulesetEvent) GetAction() string { - if r == nil || r.Action == nil { - return "" +// GetWorkflow returns the Workflow field. +func (w *WorkflowRunEvent) GetWorkflow() *Workflow { + if w == nil { + return nil } - return *r.Action + return w.Workflow } -// GetChanges returns the Changes field. -func (r *RepositoryRulesetEvent) GetChanges() *RepositoryRulesetChanges { - if r == nil { +// GetWorkflowRun returns the WorkflowRun field. +func (w *WorkflowRunEvent) GetWorkflowRun() *WorkflowRun { + if w == nil { return nil } - return r.Changes + return w.WorkflowRun } -// GetEnterprise returns the Enterprise field. -func (r *RepositoryRulesetEvent) GetEnterprise() *Enterprise { - if r == nil { - return nil +// GetDurationMS returns the DurationMS field if it's non-nil, zero value otherwise. +func (w *WorkflowRunJobRun) GetDurationMS() int64 { + if w == nil || w.DurationMS == nil { + return 0 } - return r.Enterprise + return *w.DurationMS } -// GetInstallation returns the Installation field. -func (r *RepositoryRulesetEvent) GetInstallation() *Installation { - if r == nil { - return nil +// GetJobID returns the JobID field if it's non-nil, zero value otherwise. +func (w *WorkflowRunJobRun) GetJobID() int { + if w == nil || w.JobID == nil { + return 0 } - return r.Installation + return *w.JobID } -// GetOrganization returns the Organization field. -func (r *RepositoryRulesetEvent) GetOrganization() *Organization { - if r == nil { - return nil +// GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. +func (w *WorkflowRuns) GetTotalCount() int { + if w == nil || w.TotalCount == nil { + return 0 } - return r.Organization + return *w.TotalCount } -// GetRepository returns the Repository field. -func (r *RepositoryRulesetEvent) GetRepository() *Repository { - if r == nil { +// 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 r.Repository + return w.WorkflowRuns } -// GetRepositoryRuleset returns the RepositoryRuleset field. -func (r *RepositoryRulesetEvent) GetRepositoryRuleset() *RepositoryRuleset { - if r == nil { +// GetBillable returns the Billable field. +func (w *WorkflowRunUsage) GetBillable() *WorkflowRunBillMap { + if w == nil { return nil } - return r.RepositoryRuleset + return w.Billable } -// GetSender returns the Sender field. -func (r *RepositoryRulesetEvent) GetSender() *User { - if r == nil { - return nil +// GetRunDurationMS returns the RunDurationMS field if it's non-nil, zero value otherwise. +func (w *WorkflowRunUsage) GetRunDurationMS() int64 { + if w == nil || w.RunDurationMS == nil { + return 0 } - return r.Sender + return *w.RunDurationMS } -// GetHRef returns the HRef field if it's non-nil, zero value otherwise. -func (r *RepositoryRulesetLink) GetHRef() string { - if r == nil || r.HRef == nil { - return "" +// GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. +func (w *Workflows) GetTotalCount() int { + if w == nil || w.TotalCount == nil { + return 0 } - return *r.HRef + return *w.TotalCount } -// GetHTML returns the HTML field. -func (r *RepositoryRulesetLinks) GetHTML() *RepositoryRulesetLink { - if r == nil { +// 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 r.HTML + return w.Workflows } -// GetSelf returns the Self field. -func (r *RepositoryRulesetLinks) GetSelf() *RepositoryRulesetLink { - if r == nil { - return nil +// GetParameters returns the Parameters field. +func (w *WorkflowsBranchRule) GetParameters() WorkflowsRuleParameters { + if w == nil { + return WorkflowsRuleParameters{} } - return r.Self + return w.Parameters } -// 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 +// GetRequireApprovalForForkPRWorkflows returns the RequireApprovalForForkPRWorkflows field if it's non-nil, zero value otherwise. +func (w *WorkflowsPermissions) GetRequireApprovalForForkPRWorkflows() bool { + if w == nil || w.RequireApprovalForForkPRWorkflows == nil { + return false } - return r.OrganizationIDs + return *w.RequireApprovalForForkPRWorkflows } -// 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 +// GetRunWorkflowsFromForkPullRequests returns the RunWorkflowsFromForkPullRequests field if it's non-nil, zero value otherwise. +func (w *WorkflowsPermissions) GetRunWorkflowsFromForkPullRequests() bool { + if w == nil || w.RunWorkflowsFromForkPullRequests == nil { + return false } - return r.Exclude + return *w.RunWorkflowsFromForkPullRequests } -// 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 +// GetSendSecretsAndVariables returns the SendSecretsAndVariables field if it's non-nil, zero value otherwise. +func (w *WorkflowsPermissions) GetSendSecretsAndVariables() bool { + if w == nil || w.SendSecretsAndVariables == nil { + return false } - return r.Include + return *w.SendSecretsAndVariables } -// 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 +// GetSendWriteTokensToWorkflows returns the SendWriteTokensToWorkflows field if it's non-nil, zero value otherwise. +func (w *WorkflowsPermissions) GetSendWriteTokensToWorkflows() bool { + if w == nil || w.SendWriteTokensToWorkflows == nil { + return false } - return r.Exclude + return *w.SendWriteTokensToWorkflows } -// 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 +// GetRequireApprovalForForkPRWorkflows returns the RequireApprovalForForkPRWorkflows field if it's non-nil, zero value otherwise. +func (w *WorkflowsPermissionsOpt) GetRequireApprovalForForkPRWorkflows() bool { + if w == nil || w.RequireApprovalForForkPRWorkflows == nil { + return false } - return r.Include + return *w.RequireApprovalForForkPRWorkflows } -// 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 +// GetRunWorkflowsFromForkPullRequests returns the RunWorkflowsFromForkPullRequests field. +func (w *WorkflowsPermissionsOpt) GetRunWorkflowsFromForkPullRequests() bool { + if w == nil { + return false } - return r.Exclude + return w.RunWorkflowsFromForkPullRequests } -// 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 +// GetSendSecretsAndVariables returns the SendSecretsAndVariables field if it's non-nil, zero value otherwise. +func (w *WorkflowsPermissionsOpt) GetSendSecretsAndVariables() bool { + if w == nil || w.SendSecretsAndVariables == nil { + return false } - return r.Include + return *w.SendSecretsAndVariables } -// 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 +// GetSendWriteTokensToWorkflows returns the SendWriteTokensToWorkflows field if it's non-nil, zero value otherwise. +func (w *WorkflowsPermissionsOpt) GetSendWriteTokensToWorkflows() bool { + if w == nil || w.SendWriteTokensToWorkflows == nil { + return false } - return r.RepositoryIDs + return *w.SendWriteTokensToWorkflows } -// GetExclude returns the Exclude slice if it's non-nil, nil otherwise. -func (r *RepositoryRulesetRepositoryNamesConditionParameters) GetExclude() []string { - if r == nil || r.Exclude == nil { +// GetDoNotEnforceOnCreate returns the DoNotEnforceOnCreate field if it's non-nil, zero value otherwise. +func (w *WorkflowsRuleParameters) GetDoNotEnforceOnCreate() bool { + if w == nil || w.DoNotEnforceOnCreate == nil { + return false + } + 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 r.Exclude + return w.Workflows } -// GetInclude returns the Include slice if it's non-nil, nil otherwise. -func (r *RepositoryRulesetRepositoryNamesConditionParameters) GetInclude() []string { - if r == nil || r.Include == nil { +// GetBillable returns the Billable field. +func (w *WorkflowUsage) GetBillable() *WorkflowBillMap { + if w == nil { return nil } - return r.Include + return w.Billable } diff --git a/github/github-accessors_test.go b/github/github-accessors_test.go index e18ea3d892e..f1e27c1ff9f 100644 --- a/github/github-accessors_test.go +++ b/github/github-accessors_test.go @@ -1997,7987 +1997,57935 @@ func TestAlertListOptions_GetSeverity(tt *testing.T) { tt.Parallel() a := &AlertListOptions{} a.GetSeverity() - a = nil c := &CopilotDailyMetricsReport{DownloadLinks: zeroValue} - c.GetDownloadLinks() - c = &CopilotDailyMetricsReport{} - c.GetDownloadLinks() - c = nil - c.GetDownloadLinks() + a = nil + a.GetSeverity() } -func TestCopilotDailyMetricsReport_GetReportDay(tt *testing.T) { +func TestAlertListOptions_GetSort(tt *testing.T) { tt.Parallel() - c := &CopilotDailyMetricsReport{} - c.GetReportDay() - c = nil - c.GetReportDay() + a := &AlertListOptions{} + a.GetSort() + a = nil + a.GetSort() } -func TestCopilotDotcomChat_GetModels(tt *testing.T) { +func TestAlertListOptions_GetState(tt *testing.T) { tt.Parallel() - zeroValue := []*CopilotDotcomChatModel{} - c := &CopilotDotcomChat{Models: zeroValue} - c.GetModels() - c = &CopilotDotcomChat{} - c.GetModels() - c = nil - c.GetModels() + a := &AlertListOptions{} + a.GetState() + a = nil + a.GetState() } -func TestCopilotDotcomChat_GetTotalEngagedUsers(tt *testing.T) { +func TestAlertListOptions_GetToolGUID(tt *testing.T) { tt.Parallel() - c := &CopilotDotcomChat{} - c.GetTotalEngagedUsers() - c = nil - c.GetTotalEngagedUsers() + a := &AlertListOptions{} + a.GetToolGUID() + a = nil + a.GetToolGUID() } -func TestCopilotDotcomChatModel_GetCustomModelTrainingDate(tt *testing.T) { +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 - c := &CopilotDotcomChatModel{CustomModelTrainingDate: &zeroValue} - c.GetCustomModelTrainingDate() - c = &CopilotDotcomChatModel{} - c.GetCustomModelTrainingDate() - c = nil - c.GetCustomModelTrainingDate() + a := &AllowDeletionsEnforcementLevelChanges{From: &zeroValue} + a.GetFrom() + a = &AllowDeletionsEnforcementLevelChanges{} + a.GetFrom() + a = nil + a.GetFrom() } -func TestCopilotDotcomChatModel_GetIsCustomModel(tt *testing.T) { +func TestAllowForcePushes_GetEnabled(tt *testing.T) { tt.Parallel() - c := &CopilotDotcomChatModel{} - c.GetIsCustomModel() - c = nil - c.GetIsCustomModel() + a := &AllowForcePushes{} + a.GetEnabled() + a = nil + a.GetEnabled() } -func TestCopilotDotcomChatModel_GetName(tt *testing.T) { +func TestAllowForkSyncing_GetEnabled(tt *testing.T) { tt.Parallel() - c := &CopilotDotcomChatModel{} - c.GetName() - c = nil - c.GetName() + var zeroValue bool + a := &AllowForkSyncing{Enabled: &zeroValue} + a.GetEnabled() + a = &AllowForkSyncing{} + a.GetEnabled() + a = nil + a.GetEnabled() } -func TestCopilotDotcomChatModel_GetTotalChats(tt *testing.T) { +func TestAmazonS3AccessKeysConfig_GetAuthenticationType(tt *testing.T) { tt.Parallel() - c := &CopilotDotcomChatModel{} - c.GetTotalChats() - c = nil - c.GetTotalChats() + a := &AmazonS3AccessKeysConfig{} + a.GetAuthenticationType() + a = nil + a.GetAuthenticationType() } -func TestCopilotDotcomChatModel_GetTotalEngagedUsers(tt *testing.T) { +func TestAmazonS3AccessKeysConfig_GetBucket(tt *testing.T) { tt.Parallel() - c := &CopilotDotcomChatModel{} - c.GetTotalEngagedUsers() - c = nil - c.GetTotalEngagedUsers() + a := &AmazonS3AccessKeysConfig{} + a.GetBucket() + a = nil + a.GetBucket() } -func TestCopilotDotcomPullRequests_GetRepositories(tt *testing.T) { +func TestAmazonS3AccessKeysConfig_GetEncryptedAccessKeyID(tt *testing.T) { tt.Parallel() - zeroValue := []*CopilotDotcomPullRequestsRepository{} - c := &CopilotDotcomPullRequests{Repositories: zeroValue} - c.GetRepositories() - c = &CopilotDotcomPullRequests{} - c.GetRepositories() - c = nil - c.GetRepositories() + a := &AmazonS3AccessKeysConfig{} + a.GetEncryptedAccessKeyID() + a = nil + a.GetEncryptedAccessKeyID() } -func TestCopilotDotcomPullRequests_GetTotalEngagedUsers(tt *testing.T) { +func TestAmazonS3AccessKeysConfig_GetEncryptedSecretKey(tt *testing.T) { tt.Parallel() - c := &CopilotDotcomPullRequests{} - c.GetTotalEngagedUsers() - c = nil - c.GetTotalEngagedUsers() + a := &AmazonS3AccessKeysConfig{} + a.GetEncryptedSecretKey() + a = nil + a.GetEncryptedSecretKey() } -func TestCopilotDotcomPullRequestsModel_GetCustomModelTrainingDate(tt *testing.T) { +func TestAmazonS3AccessKeysConfig_GetKeyID(tt *testing.T) { tt.Parallel() - var zeroValue string - c := &CopilotDotcomPullRequestsModel{CustomModelTrainingDate: &zeroValue} - c.GetCustomModelTrainingDate() - c = &CopilotDotcomPullRequestsModel{} - c.GetCustomModelTrainingDate() - c = nil - c.GetCustomModelTrainingDate() + a := &AmazonS3AccessKeysConfig{} + a.GetKeyID() + a = nil + a.GetKeyID() } -func TestCopilotDotcomPullRequestsModel_GetIsCustomModel(tt *testing.T) { +func TestAmazonS3AccessKeysConfig_GetRegion(tt *testing.T) { tt.Parallel() - c := &CopilotDotcomPullRequestsModel{} - c.GetIsCustomModel() - c = nil - c.GetIsCustomModel() + a := &AmazonS3AccessKeysConfig{} + a.GetRegion() + a = nil + a.GetRegion() } -func TestCopilotDotcomPullRequestsModel_GetName(tt *testing.T) { +func TestAmazonS3OIDCConfig_GetArnRole(tt *testing.T) { tt.Parallel() - c := &CopilotDotcomPullRequestsModel{} - c.GetName() - c = nil - c.GetName() + a := &AmazonS3OIDCConfig{} + a.GetArnRole() + a = nil + a.GetArnRole() } -func TestCopilotDotcomPullRequestsModel_GetTotalEngagedUsers(tt *testing.T) { +func TestAmazonS3OIDCConfig_GetAuthenticationType(tt *testing.T) { tt.Parallel() - c := &CopilotDotcomPullRequestsModel{} - c.GetTotalEngagedUsers() - c = nil - c.GetTotalEngagedUsers() + a := &AmazonS3OIDCConfig{} + a.GetAuthenticationType() + a = nil + a.GetAuthenticationType() } -func TestCopilotDotcomPullRequestsModel_GetTotalPRSummariesCreated(tt *testing.T) { +func TestAmazonS3OIDCConfig_GetBucket(tt *testing.T) { tt.Parallel() - c := &CopilotDotcomPullRequestsModel{} - c.GetTotalPRSummariesCreated() - c = nil - c.GetTotalPRSummariesCreated() + a := &AmazonS3OIDCConfig{} + a.GetBucket() + a = nil + a.GetBucket() } -func TestCopilotDotcomPullRequestsRepository_GetModels(tt *testing.T) { +func TestAmazonS3OIDCConfig_GetKeyID(tt *testing.T) { tt.Parallel() - zeroValue := []*CopilotDotcomPullRequestsModel{} - c := &CopilotDotcomPullRequestsRepository{Models: zeroValue} - c.GetModels() - c = &CopilotDotcomPullRequestsRepository{} - c.GetModels() - c = nil - c.GetModels() + a := &AmazonS3OIDCConfig{} + a.GetKeyID() + a = nil + a.GetKeyID() } -func TestCopilotDotcomPullRequestsRepository_GetName(tt *testing.T) { +func TestAmazonS3OIDCConfig_GetRegion(tt *testing.T) { tt.Parallel() - c := &CopilotDotcomPullRequestsRepository{} - c.GetName() - c = nil - c.GetName() + a := &AmazonS3OIDCConfig{} + a.GetRegion() + a = nil + a.GetRegion() } -func TestCopilotDotcomPullRequestsRepository_GetTotalEngagedUsers(tt *testing.T) { +func TestAnalysesListOptions_GetRef(tt *testing.T) { tt.Parallel() - c := &CopilotDotcomPullRequestsRepository{} - c.GetTotalEngagedUsers() - c = nil - c.GetTotalEngagedUsers() + var zeroValue string + a := &AnalysesListOptions{Ref: &zeroValue} + a.GetRef() + a = &AnalysesListOptions{} + a.GetRef() + a = nil + a.GetRef() } -func TestCopilotIDEChat_GetEditors(tt *testing.T) { +func TestAnalysesListOptions_GetSarifID(tt *testing.T) { tt.Parallel() - zeroValue := []*CopilotIDEChatEditor{} - c := &CopilotIDEChat{Editors: zeroValue} - c.GetEditors() - c = &CopilotIDEChat{} - c.GetEditors() - c = nil - c.GetEditors() + var zeroValue string + a := &AnalysesListOptions{SarifID: &zeroValue} + a.GetSarifID() + a = &AnalysesListOptions{} + a.GetSarifID() + a = nil + a.GetSarifID() } -func TestCopilotIDEChat_GetTotalEngagedUsers(tt *testing.T) { +func TestAPIMeta_GetActions(tt *testing.T) { tt.Parallel() - c := &CopilotIDEChat{} - c.GetTotalEngagedUsers() - c = nil - c.GetTotalEngagedUsers() + zeroValue := []string{} + a := &APIMeta{Actions: zeroValue} + a.GetActions() + a = &APIMeta{} + a.GetActions() + a = nil + a.GetActions() } -func TestCopilotIDEChatEditor_GetModels(tt *testing.T) { +func TestAPIMeta_GetActionsMacos(tt *testing.T) { tt.Parallel() - zeroValue := []*CopilotIDEChatModel{} - c := &CopilotIDEChatEditor{Models: zeroValue} - c.GetModels() - c = &CopilotIDEChatEditor{} - c.GetModels() - c = nil - c.GetModels() + zeroValue := []string{} + a := &APIMeta{ActionsMacos: zeroValue} + a.GetActionsMacos() + a = &APIMeta{} + a.GetActionsMacos() + a = nil + a.GetActionsMacos() } -func TestCopilotIDEChatEditor_GetName(tt *testing.T) { +func TestAPIMeta_GetAPI(tt *testing.T) { tt.Parallel() - c := &CopilotIDEChatEditor{} - c.GetName() - c = nil - c.GetName() + zeroValue := []string{} + a := &APIMeta{API: zeroValue} + a.GetAPI() + a = &APIMeta{} + a.GetAPI() + a = nil + a.GetAPI() } -func TestCopilotIDEChatEditor_GetTotalEngagedUsers(tt *testing.T) { +func TestAPIMeta_GetCodespaces(tt *testing.T) { tt.Parallel() - c := &CopilotIDEChatEditor{} - c.GetTotalEngagedUsers() - c = nil - c.GetTotalEngagedUsers() + zeroValue := []string{} + a := &APIMeta{Codespaces: zeroValue} + a.GetCodespaces() + a = &APIMeta{} + a.GetCodespaces() + a = nil + a.GetCodespaces() } -func TestCopilotIDEChatModel_GetCustomModelTrainingDate(tt *testing.T) { +func TestAPIMeta_GetCopilot(tt *testing.T) { tt.Parallel() - var zeroValue string - c := &CopilotIDEChatModel{CustomModelTrainingDate: &zeroValue} - c.GetCustomModelTrainingDate() - c = &CopilotIDEChatModel{} - c.GetCustomModelTrainingDate() - c = nil - c.GetCustomModelTrainingDate() + zeroValue := []string{} + a := &APIMeta{Copilot: zeroValue} + a.GetCopilot() + a = &APIMeta{} + a.GetCopilot() + a = nil + a.GetCopilot() } -func TestCopilotIDEChatModel_GetIsCustomModel(tt *testing.T) { +func TestAPIMeta_GetDependabot(tt *testing.T) { tt.Parallel() - c := &CopilotIDEChatModel{} - c.GetIsCustomModel() - c = nil - c.GetIsCustomModel() + zeroValue := []string{} + a := &APIMeta{Dependabot: zeroValue} + a.GetDependabot() + a = &APIMeta{} + a.GetDependabot() + a = nil + a.GetDependabot() } -func TestCopilotIDEChatModel_GetName(tt *testing.T) { +func TestAPIMeta_GetDomains(tt *testing.T) { tt.Parallel() - c := &CopilotIDEChatModel{} - c.GetName() - c = nil - c.GetName() + a := &APIMeta{} + a.GetDomains() + a = nil + a.GetDomains() } -func TestCopilotIDEChatModel_GetTotalChatCopyEvents(tt *testing.T) { +func TestAPIMeta_GetGit(tt *testing.T) { tt.Parallel() - c := &CopilotIDEChatModel{} - c.GetTotalChatCopyEvents() - c = nil - c.GetTotalChatCopyEvents() + zeroValue := []string{} + a := &APIMeta{Git: zeroValue} + a.GetGit() + a = &APIMeta{} + a.GetGit() + a = nil + a.GetGit() } -func TestCopilotIDEChatModel_GetTotalChatInsertionEvents(tt *testing.T) { +func TestAPIMeta_GetGithubEnterpriseImporter(tt *testing.T) { tt.Parallel() - c := &CopilotIDEChatModel{} - c.GetTotalChatInsertionEvents() - c = nil - c.GetTotalChatInsertionEvents() + zeroValue := []string{} + a := &APIMeta{GithubEnterpriseImporter: zeroValue} + a.GetGithubEnterpriseImporter() + a = &APIMeta{} + a.GetGithubEnterpriseImporter() + a = nil + a.GetGithubEnterpriseImporter() } -func TestCopilotIDEChatModel_GetTotalChats(tt *testing.T) { +func TestAPIMeta_GetHooks(tt *testing.T) { tt.Parallel() - c := &CopilotIDEChatModel{} - c.GetTotalChats() - c = nil - c.GetTotalChats() + zeroValue := []string{} + a := &APIMeta{Hooks: zeroValue} + a.GetHooks() + a = &APIMeta{} + a.GetHooks() + a = nil + a.GetHooks() } -func TestCopilotIDEChatModel_GetTotalEngagedUsers(tt *testing.T) { +func TestAPIMeta_GetImporter(tt *testing.T) { tt.Parallel() - c := &CopilotIDEChatModel{} - c.GetTotalEngagedUsers() - c = nil - c.GetTotalEngagedUsers() + zeroValue := []string{} + a := &APIMeta{Importer: zeroValue} + a.GetImporter() + a = &APIMeta{} + a.GetImporter() + a = nil + a.GetImporter() } -func TestCopilotIDECodeCompletions_GetEditors(tt *testing.T) { +func TestAPIMeta_GetPackages(tt *testing.T) { tt.Parallel() - zeroValue := []*CopilotIDECodeCompletionsEditor{} - c := &CopilotIDECodeCompletions{Editors: zeroValue} - c.GetEditors() - c = &CopilotIDECodeCompletions{} - c.GetEditors() - c = nil - c.GetEditors() + zeroValue := []string{} + a := &APIMeta{Packages: zeroValue} + a.GetPackages() + a = &APIMeta{} + a.GetPackages() + a = nil + a.GetPackages() } -func TestCopilotIDECodeCompletions_GetLanguages(tt *testing.T) { +func TestAPIMeta_GetPages(tt *testing.T) { tt.Parallel() - zeroValue := []*CopilotIDECodeCompletionsLanguage{} - c := &CopilotIDECodeCompletions{Languages: zeroValue} - c.GetLanguages() - c = &CopilotIDECodeCompletions{} - c.GetLanguages() - c = nil - c.GetLanguages() + zeroValue := []string{} + a := &APIMeta{Pages: zeroValue} + a.GetPages() + a = &APIMeta{} + a.GetPages() + a = nil + a.GetPages() } -func TestCopilotIDECodeCompletions_GetTotalEngagedUsers(tt *testing.T) { +func TestAPIMeta_GetSSHKeyFingerprints(tt *testing.T) { tt.Parallel() - c := &CopilotIDECodeCompletions{} - c.GetTotalEngagedUsers() - c = nil - c.GetTotalEngagedUsers() + zeroValue := map[string]string{} + a := &APIMeta{SSHKeyFingerprints: zeroValue} + a.GetSSHKeyFingerprints() + a = &APIMeta{} + a.GetSSHKeyFingerprints() + a = nil + a.GetSSHKeyFingerprints() } -func TestCopilotIDECodeCompletionsEditor_GetModels(tt *testing.T) { +func TestAPIMeta_GetSSHKeys(tt *testing.T) { tt.Parallel() - zeroValue := []*CopilotIDECodeCompletionsModel{} - c := &CopilotIDECodeCompletionsEditor{Models: zeroValue} - c.GetModels() - c = &CopilotIDECodeCompletionsEditor{} - c.GetModels() - c = nil - c.GetModels() + zeroValue := []string{} + a := &APIMeta{SSHKeys: zeroValue} + a.GetSSHKeys() + a = &APIMeta{} + a.GetSSHKeys() + a = nil + a.GetSSHKeys() } -func TestCopilotIDECodeCompletionsEditor_GetName(tt *testing.T) { +func TestAPIMeta_GetVerifiablePasswordAuthentication(tt *testing.T) { tt.Parallel() - c := &CopilotIDECodeCompletionsEditor{} - c.GetName() - c = nil - c.GetName() + var zeroValue bool + a := &APIMeta{VerifiablePasswordAuthentication: &zeroValue} + a.GetVerifiablePasswordAuthentication() + a = &APIMeta{} + a.GetVerifiablePasswordAuthentication() + a = nil + a.GetVerifiablePasswordAuthentication() } -func TestCopilotIDECodeCompletionsEditor_GetTotalEngagedUsers(tt *testing.T) { +func TestAPIMeta_GetWeb(tt *testing.T) { tt.Parallel() - c := &CopilotIDECodeCompletionsEditor{} - c.GetTotalEngagedUsers() - c = nil - c.GetTotalEngagedUsers() + zeroValue := []string{} + a := &APIMeta{Web: zeroValue} + a.GetWeb() + a = &APIMeta{} + a.GetWeb() + a = nil + a.GetWeb() } -func TestCopilotIDECodeCompletionsLanguage_GetName(tt *testing.T) { +func TestAPIMetaArtifactAttestations_GetServices(tt *testing.T) { tt.Parallel() - c := &CopilotIDECodeCompletionsLanguage{} - c.GetName() - c = nil - c.GetName() + zeroValue := []string{} + a := &APIMetaArtifactAttestations{Services: zeroValue} + a.GetServices() + a = &APIMetaArtifactAttestations{} + a.GetServices() + a = nil + a.GetServices() } -func TestCopilotIDECodeCompletionsLanguage_GetTotalEngagedUsers(tt *testing.T) { +func TestAPIMetaArtifactAttestations_GetTrustDomain(tt *testing.T) { tt.Parallel() - c := &CopilotIDECodeCompletionsLanguage{} - c.GetTotalEngagedUsers() - c = nil - c.GetTotalEngagedUsers() + a := &APIMetaArtifactAttestations{} + a.GetTrustDomain() + a = nil + a.GetTrustDomain() } -func TestCopilotIDECodeCompletionsModel_GetCustomModelTrainingDate(tt *testing.T) { +func TestAPIMetaDomains_GetActions(tt *testing.T) { tt.Parallel() - var zeroValue string - c := &CopilotIDECodeCompletionsModel{CustomModelTrainingDate: &zeroValue} - c.GetCustomModelTrainingDate() - c = &CopilotIDECodeCompletionsModel{} - c.GetCustomModelTrainingDate() - c = nil - c.GetCustomModelTrainingDate() + zeroValue := []string{} + a := &APIMetaDomains{Actions: zeroValue} + a.GetActions() + a = &APIMetaDomains{} + a.GetActions() + a = nil + a.GetActions() } -func TestCopilotIDECodeCompletionsModel_GetIsCustomModel(tt *testing.T) { +func TestAPIMetaDomains_GetActionsInbound(tt *testing.T) { tt.Parallel() - c := &CopilotIDECodeCompletionsModel{} - c.GetIsCustomModel() - c = nil - c.GetIsCustomModel() + a := &APIMetaDomains{} + a.GetActionsInbound() + a = nil + a.GetActionsInbound() } -func TestCopilotIDECodeCompletionsModel_GetLanguages(tt *testing.T) { +func TestAPIMetaDomains_GetArtifactAttestations(tt *testing.T) { tt.Parallel() - zeroValue := []*CopilotIDECodeCompletionsModelLanguage{} - c := &CopilotIDECodeCompletionsModel{Languages: zeroValue} - c.GetLanguages() - c = &CopilotIDECodeCompletionsModel{} - c.GetLanguages() - c = nil - c.GetLanguages() + a := &APIMetaDomains{} + a.GetArtifactAttestations() + a = nil + a.GetArtifactAttestations() } -func TestCopilotIDECodeCompletionsModel_GetName(tt *testing.T) { +func TestAPIMetaDomains_GetCodespaces(tt *testing.T) { tt.Parallel() - c := &CopilotIDECodeCompletionsModel{} - c.GetName() - c = nil - c.GetName() + zeroValue := []string{} + a := &APIMetaDomains{Codespaces: zeroValue} + a.GetCodespaces() + a = &APIMetaDomains{} + a.GetCodespaces() + a = nil + a.GetCodespaces() } -func TestCopilotIDECodeCompletionsModel_GetTotalEngagedUsers(tt *testing.T) { +func TestAPIMetaDomains_GetCopilot(tt *testing.T) { tt.Parallel() - c := &CopilotIDECodeCompletionsModel{} - c.GetTotalEngagedUsers() - c = nil - c.GetTotalEngagedUsers() + zeroValue := []string{} + a := &APIMetaDomains{Copilot: zeroValue} + a.GetCopilot() + a = &APIMetaDomains{} + a.GetCopilot() + a = nil + a.GetCopilot() } -func TestCopilotIDECodeCompletionsModelLanguage_GetName(tt *testing.T) { +func TestAPIMetaDomains_GetPackages(tt *testing.T) { tt.Parallel() - c := &CopilotIDECodeCompletionsModelLanguage{} - c.GetName() - c = nil - c.GetName() + zeroValue := []string{} + a := &APIMetaDomains{Packages: zeroValue} + a.GetPackages() + a = &APIMetaDomains{} + a.GetPackages() + a = nil + a.GetPackages() } -func TestCopilotIDECodeCompletionsModelLanguage_GetTotalCodeAcceptances(tt *testing.T) { +func TestAPIMetaDomains_GetWebsite(tt *testing.T) { tt.Parallel() - c := &CopilotIDECodeCompletionsModelLanguage{} - c.GetTotalCodeAcceptances() - c = nil - c.GetTotalCodeAcceptances() + zeroValue := []string{} + a := &APIMetaDomains{Website: zeroValue} + a.GetWebsite() + a = &APIMetaDomains{} + a.GetWebsite() + a = nil + a.GetWebsite() } -func TestCopilotIDECodeCompletionsModelLanguage_GetTotalCodeLinesAccepted(tt *testing.T) { +func TestApp_GetClientID(tt *testing.T) { tt.Parallel() - c := &CopilotIDECodeCompletionsModelLanguage{} - c.GetTotalCodeLinesAccepted() - c = nil - c.GetTotalCodeLinesAccepted() + var zeroValue string + a := &App{ClientID: &zeroValue} + a.GetClientID() + a = &App{} + a.GetClientID() + a = nil + a.GetClientID() } -func TestCopilotIDECodeCompletionsModelLanguage_GetTotalCodeLinesSuggested(tt *testing.T) { +func TestApp_GetCreatedAt(tt *testing.T) { tt.Parallel() - c := &CopilotIDECodeCompletionsModelLanguage{} - c.GetTotalCodeLinesSuggested() - c = nil - c.GetTotalCodeLinesSuggested() + var zeroValue Timestamp + a := &App{CreatedAt: &zeroValue} + a.GetCreatedAt() + a = &App{} + a.GetCreatedAt() + a = nil + a.GetCreatedAt() } -func TestCopilotIDECodeCompletionsModelLanguage_GetTotalCodeSuggestions(tt *testing.T) { +func TestApp_GetDescription(tt *testing.T) { tt.Parallel() - c := &CopilotIDECodeCompletionsModelLanguage{} - c.GetTotalCodeSuggestions() - c = nil - c.GetTotalCodeSuggestions() + var zeroValue string + a := &App{Description: &zeroValue} + a.GetDescription() + a = &App{} + a.GetDescription() + a = nil + a.GetDescription() } -func TestCopilotIDECodeCompletionsModelLanguage_GetTotalEngagedUsers(tt *testing.T) { +func TestApp_GetEvents(tt *testing.T) { tt.Parallel() - c := &CopilotIDECodeCompletionsModelLanguage{} - c.GetTotalEngagedUsers() - c = nil - c.GetTotalEngagedUsers() + zeroValue := []string{} + a := &App{Events: zeroValue} + a.GetEvents() + a = &App{} + a.GetEvents() + a = nil + a.GetEvents() } -func TestCopilotMetrics_GetCopilotDotcomChat(tt *testing.T) { +func TestApp_GetExternalURL(tt *testing.T) { tt.Parallel() - c := &CopilotMetrics{} - c.GetCopilotDotcomChat() - c = nil - c.GetCopilotDotcomChat() + var zeroValue string + a := &App{ExternalURL: &zeroValue} + a.GetExternalURL() + a = &App{} + a.GetExternalURL() + a = nil + a.GetExternalURL() } -func TestCopilotMetrics_GetCopilotDotcomPullRequests(tt *testing.T) { +func TestApp_GetHTMLURL(tt *testing.T) { tt.Parallel() - c := &CopilotMetrics{} - c.GetCopilotDotcomPullRequests() - c = nil - c.GetCopilotDotcomPullRequests() + var zeroValue string + a := &App{HTMLURL: &zeroValue} + a.GetHTMLURL() + a = &App{} + a.GetHTMLURL() + a = nil + a.GetHTMLURL() } -func TestCopilotMetrics_GetCopilotIDEChat(tt *testing.T) { +func TestApp_GetID(tt *testing.T) { tt.Parallel() - c := &CopilotMetrics{} - c.GetCopilotIDEChat() - c = nil - c.GetCopilotIDEChat() + var zeroValue int64 + a := &App{ID: &zeroValue} + a.GetID() + a = &App{} + a.GetID() + a = nil + a.GetID() } -func TestCopilotMetrics_GetCopilotIDECodeCompletions(tt *testing.T) { +func TestApp_GetInstallationsCount(tt *testing.T) { tt.Parallel() - c := &CopilotMetrics{} - c.GetCopilotIDECodeCompletions() - c = nil - c.GetCopilotIDECodeCompletions() + var zeroValue int + a := &App{InstallationsCount: &zeroValue} + a.GetInstallationsCount() + a = &App{} + a.GetInstallationsCount() + a = nil + a.GetInstallationsCount() } -func TestCopilotMetrics_GetDate(tt *testing.T) { +func TestApp_GetName(tt *testing.T) { tt.Parallel() - c := &CopilotMetrics{} - c.GetDate() - c = nil - c.GetDate() + var zeroValue string + a := &App{Name: &zeroValue} + a.GetName() + a = &App{} + a.GetName() + a = nil + a.GetName() } -func TestCopilotMetrics_GetTotalActiveUsers(tt *testing.T) { +func TestApp_GetNodeID(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetrics{TotalActiveUsers: &zeroValue} - c.GetTotalActiveUsers() - c = &CopilotMetrics{} - c.GetTotalActiveUsers() - c = nil - c.GetTotalActiveUsers() + var zeroValue string + a := &App{NodeID: &zeroValue} + a.GetNodeID() + a = &App{} + a.GetNodeID() + a = nil + a.GetNodeID() } -func TestCopilotMetrics_GetTotalEngagedUsers(tt *testing.T) { +func TestApp_GetOwner(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetrics{TotalEngagedUsers: &zeroValue} - c.GetTotalEngagedUsers() - c = &CopilotMetrics{} - c.GetTotalEngagedUsers() - c = nil - c.GetTotalEngagedUsers() + a := &App{} + a.GetOwner() + a = nil + a.GetOwner() } -func TestCopilotMetricsAIAdoptionPhase_GetPhase(tt *testing.T) { +func TestApp_GetPermissions(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsAIAdoptionPhase{} - c.GetPhase() - c = nil - c.GetPhase() + a := &App{} + a.GetPermissions() + a = nil + a.GetPermissions() } -func TestCopilotMetricsAIAdoptionPhase_GetPhaseNumber(tt *testing.T) { +func TestApp_GetSlug(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsAIAdoptionPhase{} - c.GetPhaseNumber() - c = nil - c.GetPhaseNumber() + var zeroValue string + a := &App{Slug: &zeroValue} + a.GetSlug() + a = &App{} + a.GetSlug() + a = nil + a.GetSlug() } -func TestCopilotMetricsAIAdoptionPhase_GetVersion(tt *testing.T) { +func TestApp_GetUpdatedAt(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsAIAdoptionPhase{} - c.GetVersion() - c = nil - c.GetVersion() + var zeroValue Timestamp + a := &App{UpdatedAt: &zeroValue} + a.GetUpdatedAt() + a = &App{} + a.GetUpdatedAt() + a = nil + a.GetUpdatedAt() } -func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgCodeAcceptanceActivities(tt *testing.T) { +func TestAppConfig_GetClientID(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetAvgCodeAcceptanceActivities() - c = nil - c.GetAvgCodeAcceptanceActivities() + var zeroValue string + a := &AppConfig{ClientID: &zeroValue} + a.GetClientID() + a = &AppConfig{} + a.GetClientID() + a = nil + a.GetClientID() } -func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgCodeGenerationActivities(tt *testing.T) { +func TestAppConfig_GetClientSecret(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetAvgCodeGenerationActivities() - c = nil - c.GetAvgCodeGenerationActivities() + var zeroValue string + a := &AppConfig{ClientSecret: &zeroValue} + a.GetClientSecret() + a = &AppConfig{} + a.GetClientSecret() + a = nil + a.GetClientSecret() } -func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgLOCAdded(tt *testing.T) { +func TestAppConfig_GetCreatedAt(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetAvgLOCAdded() - c = nil + var zeroValue Timestamp + a := &AppConfig{CreatedAt: &zeroValue} + a.GetCreatedAt() + a = &AppConfig{} + a.GetCreatedAt() + a = nil + a.GetCreatedAt() +} + +func TestAppConfig_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AppConfig{Description: &zeroValue} + a.GetDescription() + a = &AppConfig{} + a.GetDescription() + a = nil + a.GetDescription() +} + +func TestAppConfig_GetExternalURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AppConfig{ExternalURL: &zeroValue} + a.GetExternalURL() + a = &AppConfig{} + a.GetExternalURL() + a = nil + a.GetExternalURL() +} + +func TestAppConfig_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AppConfig{HTMLURL: &zeroValue} + a.GetHTMLURL() + a = &AppConfig{} + a.GetHTMLURL() + a = nil + a.GetHTMLURL() +} + +func TestAppConfig_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + a := &AppConfig{ID: &zeroValue} + a.GetID() + a = &AppConfig{} + a.GetID() + a = nil + a.GetID() +} + +func TestAppConfig_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AppConfig{Name: &zeroValue} + a.GetName() + a = &AppConfig{} + a.GetName() + a = nil + a.GetName() +} + +func TestAppConfig_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AppConfig{NodeID: &zeroValue} + a.GetNodeID() + a = &AppConfig{} + a.GetNodeID() + a = nil + a.GetNodeID() +} + +func TestAppConfig_GetOwner(tt *testing.T) { + tt.Parallel() + a := &AppConfig{} + a.GetOwner() + a = nil + a.GetOwner() +} + +func TestAppConfig_GetPEM(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AppConfig{PEM: &zeroValue} + a.GetPEM() + a = &AppConfig{} + a.GetPEM() + a = nil + a.GetPEM() +} + +func TestAppConfig_GetSlug(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AppConfig{Slug: &zeroValue} + a.GetSlug() + a = &AppConfig{} + a.GetSlug() + a = nil + a.GetSlug() +} + +func TestAppConfig_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + a := &AppConfig{UpdatedAt: &zeroValue} + a.GetUpdatedAt() + a = &AppConfig{} + a.GetUpdatedAt() + a = nil + a.GetUpdatedAt() +} + +func TestAppConfig_GetWebhookSecret(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AppConfig{WebhookSecret: &zeroValue} + a.GetWebhookSecret() + a = &AppConfig{} + a.GetWebhookSecret() + a = nil + a.GetWebhookSecret() +} + +func TestAppInstallationRepositoriesRequest_GetRepositories(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &AppInstallationRepositoriesRequest{Repositories: zeroValue} + a.GetRepositories() + a = &AppInstallationRepositoriesRequest{} + a.GetRepositories() + a = nil + a.GetRepositories() +} + +func TestArchivedAt_GetFrom(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + a := &ArchivedAt{From: &zeroValue} + a.GetFrom() + a = &ArchivedAt{} + a.GetFrom() + a = nil + a.GetFrom() +} + +func TestArchivedAt_GetTo(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + a := &ArchivedAt{To: &zeroValue} + a.GetTo() + a = &ArchivedAt{} + a.GetTo() + a = nil + a.GetTo() +} + +func TestArtifact_GetArchiveDownloadURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &Artifact{ArchiveDownloadURL: &zeroValue} + a.GetArchiveDownloadURL() + a = &Artifact{} + a.GetArchiveDownloadURL() + a = nil + a.GetArchiveDownloadURL() +} + +func TestArtifact_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + a := &Artifact{CreatedAt: &zeroValue} + a.GetCreatedAt() + a = &Artifact{} + a.GetCreatedAt() + a = nil + a.GetCreatedAt() +} + +func TestArtifact_GetDigest(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &Artifact{Digest: &zeroValue} + a.GetDigest() + a = &Artifact{} + a.GetDigest() + a = nil + a.GetDigest() +} + +func TestArtifact_GetExpired(tt *testing.T) { + tt.Parallel() + var zeroValue bool + a := &Artifact{Expired: &zeroValue} + a.GetExpired() + a = &Artifact{} + a.GetExpired() + a = nil + a.GetExpired() +} + +func TestArtifact_GetExpiresAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + a := &Artifact{ExpiresAt: &zeroValue} + a.GetExpiresAt() + a = &Artifact{} + a.GetExpiresAt() + a = nil + a.GetExpiresAt() +} + +func TestArtifact_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + a := &Artifact{ID: &zeroValue} + a.GetID() + a = &Artifact{} + a.GetID() + a = nil + a.GetID() +} + +func TestArtifact_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &Artifact{Name: &zeroValue} + a.GetName() + a = &Artifact{} + a.GetName() + a = nil + a.GetName() +} + +func TestArtifact_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &Artifact{NodeID: &zeroValue} + a.GetNodeID() + a = &Artifact{} + a.GetNodeID() + a = nil + a.GetNodeID() +} + +func TestArtifact_GetSizeInBytes(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + a := &Artifact{SizeInBytes: &zeroValue} + a.GetSizeInBytes() + a = &Artifact{} + a.GetSizeInBytes() + a = nil + a.GetSizeInBytes() +} + +func TestArtifact_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + a := &Artifact{UpdatedAt: &zeroValue} + a.GetUpdatedAt() + a = &Artifact{} + a.GetUpdatedAt() + a = nil + a.GetUpdatedAt() +} + +func TestArtifact_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &Artifact{URL: &zeroValue} + a.GetURL() + a = &Artifact{} + a.GetURL() + a = nil + a.GetURL() +} + +func TestArtifact_GetWorkflowRun(tt *testing.T) { + tt.Parallel() + a := &Artifact{} + a.GetWorkflowRun() + a = nil + a.GetWorkflowRun() +} + +func TestArtifactDeploymentRecord_GetAttestationID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + a := &ArtifactDeploymentRecord{AttestationID: &zeroValue} + a.GetAttestationID() + a = &ArtifactDeploymentRecord{} + a.GetAttestationID() + a = nil + a.GetAttestationID() +} + +func TestArtifactDeploymentRecord_GetCluster(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &ArtifactDeploymentRecord{Cluster: &zeroValue} + a.GetCluster() + a = &ArtifactDeploymentRecord{} + a.GetCluster() + a = nil + a.GetCluster() +} + +func TestArtifactDeploymentRecord_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + a := &ArtifactDeploymentRecord{CreatedAt: &zeroValue} + a.GetCreatedAt() + a = &ArtifactDeploymentRecord{} + a.GetCreatedAt() + a = nil + a.GetCreatedAt() +} + +func TestArtifactDeploymentRecord_GetDeploymentName(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &ArtifactDeploymentRecord{DeploymentName: &zeroValue} + a.GetDeploymentName() + a = &ArtifactDeploymentRecord{} + a.GetDeploymentName() + a = nil + a.GetDeploymentName() +} + +func TestArtifactDeploymentRecord_GetDigest(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &ArtifactDeploymentRecord{Digest: &zeroValue} + a.GetDigest() + a = &ArtifactDeploymentRecord{} + a.GetDigest() + a = nil + a.GetDigest() +} + +func TestArtifactDeploymentRecord_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + a := &ArtifactDeploymentRecord{ID: &zeroValue} + a.GetID() + a = &ArtifactDeploymentRecord{} + a.GetID() + a = nil + a.GetID() +} + +func TestArtifactDeploymentRecord_GetLogicalEnvironment(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &ArtifactDeploymentRecord{LogicalEnvironment: &zeroValue} + a.GetLogicalEnvironment() + a = &ArtifactDeploymentRecord{} + a.GetLogicalEnvironment() + a = nil + a.GetLogicalEnvironment() +} + +func TestArtifactDeploymentRecord_GetPhysicalEnvironment(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &ArtifactDeploymentRecord{PhysicalEnvironment: &zeroValue} + a.GetPhysicalEnvironment() + a = &ArtifactDeploymentRecord{} + a.GetPhysicalEnvironment() + a = nil + 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{} + a := &ArtifactDeploymentRecord{Tags: zeroValue} + a.GetTags() + a = &ArtifactDeploymentRecord{} + a.GetTags() + a = nil + a.GetTags() +} + +func TestArtifactDeploymentRecord_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + a := &ArtifactDeploymentRecord{UpdatedAt: &zeroValue} + a.GetUpdatedAt() + a = &ArtifactDeploymentRecord{} + a.GetUpdatedAt() + a = nil + 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 + a := &ArtifactDeploymentResponse{TotalCount: &zeroValue} + a.GetTotalCount() + a = &ArtifactDeploymentResponse{} + a.GetTotalCount() + a = nil + 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 + a := &ArtifactList{TotalCount: &zeroValue} + a.GetTotalCount() + a = &ArtifactList{} + a.GetTotalCount() + a = nil + a.GetTotalCount() +} + +func TestArtifactPeriod_GetDays(tt *testing.T) { + tt.Parallel() + var zeroValue int + a := &ArtifactPeriod{Days: &zeroValue} + a.GetDays() + a = &ArtifactPeriod{} + a.GetDays() + a = nil + a.GetDays() +} + +func TestArtifactPeriod_GetMaximumAllowedDays(tt *testing.T) { + tt.Parallel() + var zeroValue int + a := &ArtifactPeriod{MaximumAllowedDays: &zeroValue} + a.GetMaximumAllowedDays() + a = &ArtifactPeriod{} + a.GetMaximumAllowedDays() + a = nil + a.GetMaximumAllowedDays() +} + +func TestArtifactPeriodOpt_GetDays(tt *testing.T) { + tt.Parallel() + var zeroValue int + a := &ArtifactPeriodOpt{Days: &zeroValue} + a.GetDays() + a = &ArtifactPeriodOpt{} + a.GetDays() + a = nil + a.GetDays() +} + +func TestArtifactStorageRecord_GetArtifactURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &ArtifactStorageRecord{ArtifactURL: &zeroValue} + a.GetArtifactURL() + a = &ArtifactStorageRecord{} + a.GetArtifactURL() + a = nil + a.GetArtifactURL() +} + +func TestArtifactStorageRecord_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + a := &ArtifactStorageRecord{CreatedAt: &zeroValue} + a.GetCreatedAt() + a = &ArtifactStorageRecord{} + a.GetCreatedAt() + a = nil + a.GetCreatedAt() +} + +func TestArtifactStorageRecord_GetDigest(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &ArtifactStorageRecord{Digest: &zeroValue} + a.GetDigest() + a = &ArtifactStorageRecord{} + a.GetDigest() + a = nil + a.GetDigest() +} + +func TestArtifactStorageRecord_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + a := &ArtifactStorageRecord{ID: &zeroValue} + a.GetID() + a = &ArtifactStorageRecord{} + a.GetID() + a = nil + a.GetID() +} + +func TestArtifactStorageRecord_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &ArtifactStorageRecord{Name: &zeroValue} + a.GetName() + a = &ArtifactStorageRecord{} + a.GetName() + a = nil + a.GetName() +} + +func TestArtifactStorageRecord_GetRegistryURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &ArtifactStorageRecord{RegistryURL: &zeroValue} + a.GetRegistryURL() + a = &ArtifactStorageRecord{} + a.GetRegistryURL() + a = nil + a.GetRegistryURL() +} + +func TestArtifactStorageRecord_GetRepository(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &ArtifactStorageRecord{Repository: &zeroValue} + a.GetRepository() + a = &ArtifactStorageRecord{} + a.GetRepository() + a = nil + a.GetRepository() +} + +func TestArtifactStorageRecord_GetStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &ArtifactStorageRecord{Status: &zeroValue} + a.GetStatus() + a = &ArtifactStorageRecord{} + a.GetStatus() + a = nil + a.GetStatus() +} + +func TestArtifactStorageRecord_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + a := &ArtifactStorageRecord{UpdatedAt: &zeroValue} + a.GetUpdatedAt() + a = &ArtifactStorageRecord{} + a.GetUpdatedAt() + a = nil + 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 + a := &ArtifactStorageResponse{TotalCount: &zeroValue} + a.GetTotalCount() + a = &ArtifactStorageResponse{} + a.GetTotalCount() + a = nil + a.GetTotalCount() +} + +func TestArtifactWorkflowRun_GetHeadBranch(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &ArtifactWorkflowRun{HeadBranch: &zeroValue} + a.GetHeadBranch() + a = &ArtifactWorkflowRun{} + a.GetHeadBranch() + a = nil + a.GetHeadBranch() +} + +func TestArtifactWorkflowRun_GetHeadRepositoryID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + a := &ArtifactWorkflowRun{HeadRepositoryID: &zeroValue} + a.GetHeadRepositoryID() + a = &ArtifactWorkflowRun{} + a.GetHeadRepositoryID() + a = nil + a.GetHeadRepositoryID() +} + +func TestArtifactWorkflowRun_GetHeadSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &ArtifactWorkflowRun{HeadSHA: &zeroValue} + a.GetHeadSHA() + a = &ArtifactWorkflowRun{} + a.GetHeadSHA() + a = nil + a.GetHeadSHA() +} + +func TestArtifactWorkflowRun_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + a := &ArtifactWorkflowRun{ID: &zeroValue} + a.GetID() + a = &ArtifactWorkflowRun{} + a.GetID() + a = nil + a.GetID() +} + +func TestArtifactWorkflowRun_GetRepositoryID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + a := &ArtifactWorkflowRun{RepositoryID: &zeroValue} + a.GetRepositoryID() + a = &ArtifactWorkflowRun{} + a.GetRepositoryID() + a = nil + a.GetRepositoryID() +} + +func TestAssignmentGrade_GetAssignmentName(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AssignmentGrade{AssignmentName: &zeroValue} + a.GetAssignmentName() + a = &AssignmentGrade{} + a.GetAssignmentName() + a = nil + a.GetAssignmentName() +} + +func TestAssignmentGrade_GetAssignmentURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AssignmentGrade{AssignmentURL: &zeroValue} + a.GetAssignmentURL() + a = &AssignmentGrade{} + a.GetAssignmentURL() + a = nil + a.GetAssignmentURL() +} + +func TestAssignmentGrade_GetGithubUsername(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AssignmentGrade{GithubUsername: &zeroValue} + a.GetGithubUsername() + a = &AssignmentGrade{} + a.GetGithubUsername() + a = nil + a.GetGithubUsername() +} + +func TestAssignmentGrade_GetGroupName(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AssignmentGrade{GroupName: &zeroValue} + a.GetGroupName() + a = &AssignmentGrade{} + a.GetGroupName() + a = nil + a.GetGroupName() +} + +func TestAssignmentGrade_GetPointsAvailable(tt *testing.T) { + tt.Parallel() + var zeroValue int + a := &AssignmentGrade{PointsAvailable: &zeroValue} + a.GetPointsAvailable() + a = &AssignmentGrade{} + a.GetPointsAvailable() + a = nil + a.GetPointsAvailable() +} + +func TestAssignmentGrade_GetPointsAwarded(tt *testing.T) { + tt.Parallel() + var zeroValue int + a := &AssignmentGrade{PointsAwarded: &zeroValue} + a.GetPointsAwarded() + a = &AssignmentGrade{} + a.GetPointsAwarded() + a = nil + a.GetPointsAwarded() +} + +func TestAssignmentGrade_GetRosterIdentifier(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AssignmentGrade{RosterIdentifier: &zeroValue} + a.GetRosterIdentifier() + a = &AssignmentGrade{} + a.GetRosterIdentifier() + a = nil + a.GetRosterIdentifier() +} + +func TestAssignmentGrade_GetStarterCodeURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AssignmentGrade{StarterCodeURL: &zeroValue} + a.GetStarterCodeURL() + a = &AssignmentGrade{} + a.GetStarterCodeURL() + a = nil + a.GetStarterCodeURL() +} + +func TestAssignmentGrade_GetStudentRepositoryName(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AssignmentGrade{StudentRepositoryName: &zeroValue} + a.GetStudentRepositoryName() + a = &AssignmentGrade{} + a.GetStudentRepositoryName() + a = nil + a.GetStudentRepositoryName() +} + +func TestAssignmentGrade_GetStudentRepositoryURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AssignmentGrade{StudentRepositoryURL: &zeroValue} + a.GetStudentRepositoryURL() + a = &AssignmentGrade{} + a.GetStudentRepositoryURL() + a = nil + a.GetStudentRepositoryURL() +} + +func TestAssignmentGrade_GetSubmissionTimestamp(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + a := &AssignmentGrade{SubmissionTimestamp: &zeroValue} + a.GetSubmissionTimestamp() + a = &AssignmentGrade{} + a.GetSubmissionTimestamp() + a = nil + a.GetSubmissionTimestamp() +} + +func TestAttachment_GetBody(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &Attachment{Body: &zeroValue} + a.GetBody() + a = &Attachment{} + a.GetBody() + a = nil + a.GetBody() +} + +func TestAttachment_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + a := &Attachment{ID: &zeroValue} + a.GetID() + a = &Attachment{} + a.GetID() + a = nil + a.GetID() +} + +func TestAttachment_GetTitle(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &Attachment{Title: &zeroValue} + a.GetTitle() + a = &Attachment{} + a.GetTitle() + a = nil + a.GetTitle() +} + +func TestAttestation_GetBundle(tt *testing.T) { + tt.Parallel() + a := &Attestation{} + a.GetBundle() + a = nil + a.GetBundle() +} + +func TestAttestation_GetBundleURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &Attestation{BundleURL: &zeroValue} + a.GetBundleURL() + a = &Attestation{} + a.GetBundleURL() + a = nil + a.GetBundleURL() +} + +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 + a := &AuditEntry{Action: &zeroValue} + a.GetAction() + a = &AuditEntry{} + a.GetAction() + a = nil + a.GetAction() +} + +func TestAuditEntry_GetActor(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AuditEntry{Actor: &zeroValue} + a.GetActor() + a = &AuditEntry{} + a.GetActor() + a = nil + a.GetActor() +} + +func TestAuditEntry_GetActorID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + a := &AuditEntry{ActorID: &zeroValue} + a.GetActorID() + a = &AuditEntry{} + a.GetActorID() + a = nil + a.GetActorID() +} + +func TestAuditEntry_GetActorLocation(tt *testing.T) { + tt.Parallel() + a := &AuditEntry{} + a.GetActorLocation() + a = nil + a.GetActorLocation() +} + +func TestAuditEntry_GetAdditionalFields(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]any{} + a := &AuditEntry{AdditionalFields: zeroValue} + a.GetAdditionalFields() + a = &AuditEntry{} + a.GetAdditionalFields() + a = nil + a.GetAdditionalFields() +} + +func TestAuditEntry_GetBusiness(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AuditEntry{Business: &zeroValue} + a.GetBusiness() + a = &AuditEntry{} + a.GetBusiness() + a = nil + a.GetBusiness() +} + +func TestAuditEntry_GetBusinessID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + a := &AuditEntry{BusinessID: &zeroValue} + a.GetBusinessID() + a = &AuditEntry{} + a.GetBusinessID() + a = nil + a.GetBusinessID() +} + +func TestAuditEntry_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + a := &AuditEntry{CreatedAt: &zeroValue} + a.GetCreatedAt() + a = &AuditEntry{} + a.GetCreatedAt() + a = nil + a.GetCreatedAt() +} + +func TestAuditEntry_GetData(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]any{} + a := &AuditEntry{Data: zeroValue} + a.GetData() + a = &AuditEntry{} + a.GetData() + a = nil + a.GetData() +} + +func TestAuditEntry_GetDocumentID(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AuditEntry{DocumentID: &zeroValue} + a.GetDocumentID() + a = &AuditEntry{} + a.GetDocumentID() + a = nil + a.GetDocumentID() +} + +func TestAuditEntry_GetExternalIdentityNameID(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AuditEntry{ExternalIdentityNameID: &zeroValue} + a.GetExternalIdentityNameID() + a = &AuditEntry{} + a.GetExternalIdentityNameID() + a = nil + a.GetExternalIdentityNameID() +} + +func TestAuditEntry_GetExternalIdentityUsername(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AuditEntry{ExternalIdentityUsername: &zeroValue} + a.GetExternalIdentityUsername() + a = &AuditEntry{} + a.GetExternalIdentityUsername() + a = nil + a.GetExternalIdentityUsername() +} + +func TestAuditEntry_GetHashedToken(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AuditEntry{HashedToken: &zeroValue} + a.GetHashedToken() + a = &AuditEntry{} + a.GetHashedToken() + a = nil + a.GetHashedToken() +} + +func TestAuditEntry_GetOrg(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AuditEntry{Org: &zeroValue} + a.GetOrg() + a = &AuditEntry{} + a.GetOrg() + a = nil + a.GetOrg() +} + +func TestAuditEntry_GetOrgID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + a := &AuditEntry{OrgID: &zeroValue} + a.GetOrgID() + a = &AuditEntry{} + a.GetOrgID() + a = nil + a.GetOrgID() +} + +func TestAuditEntry_GetTimestamp(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + a := &AuditEntry{Timestamp: &zeroValue} + a.GetTimestamp() + a = &AuditEntry{} + a.GetTimestamp() + a = nil + a.GetTimestamp() +} + +func TestAuditEntry_GetTokenID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + a := &AuditEntry{TokenID: &zeroValue} + a.GetTokenID() + a = &AuditEntry{} + a.GetTokenID() + a = nil + a.GetTokenID() +} + +func TestAuditEntry_GetTokenScopes(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AuditEntry{TokenScopes: &zeroValue} + a.GetTokenScopes() + a = &AuditEntry{} + a.GetTokenScopes() + a = nil + a.GetTokenScopes() +} + +func TestAuditEntry_GetUser(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AuditEntry{User: &zeroValue} + a.GetUser() + a = &AuditEntry{} + a.GetUser() + a = nil + a.GetUser() +} + +func TestAuditEntry_GetUserID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + a := &AuditEntry{UserID: &zeroValue} + a.GetUserID() + a = &AuditEntry{} + a.GetUserID() + a = nil + 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 + a := &AuditLogStream{PausedAt: &zeroValue} + a.GetPausedAt() + a = &AuditLogStream{} + a.GetPausedAt() + a = nil + 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{} + a.GetApp() + a = nil + a.GetApp() +} + +func TestAuthorization_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + a := &Authorization{CreatedAt: &zeroValue} + a.GetCreatedAt() + a = &Authorization{} + a.GetCreatedAt() + a = nil + a.GetCreatedAt() +} + +func TestAuthorization_GetFingerprint(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &Authorization{Fingerprint: &zeroValue} + a.GetFingerprint() + a = &Authorization{} + a.GetFingerprint() + a = nil + a.GetFingerprint() +} + +func TestAuthorization_GetHashedToken(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &Authorization{HashedToken: &zeroValue} + a.GetHashedToken() + a = &Authorization{} + a.GetHashedToken() + a = nil + a.GetHashedToken() +} + +func TestAuthorization_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + a := &Authorization{ID: &zeroValue} + a.GetID() + a = &Authorization{} + a.GetID() + a = nil + a.GetID() +} + +func TestAuthorization_GetNote(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &Authorization{Note: &zeroValue} + a.GetNote() + a = &Authorization{} + a.GetNote() + a = nil + a.GetNote() +} + +func TestAuthorization_GetNoteURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &Authorization{NoteURL: &zeroValue} + a.GetNoteURL() + a = &Authorization{} + a.GetNoteURL() + a = nil + 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 + a := &Authorization{Token: &zeroValue} + a.GetToken() + a = &Authorization{} + a.GetToken() + a = nil + a.GetToken() +} + +func TestAuthorization_GetTokenLastEight(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &Authorization{TokenLastEight: &zeroValue} + a.GetTokenLastEight() + a = &Authorization{} + a.GetTokenLastEight() + a = nil + a.GetTokenLastEight() +} + +func TestAuthorization_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + a := &Authorization{UpdatedAt: &zeroValue} + a.GetUpdatedAt() + a = &Authorization{} + a.GetUpdatedAt() + a = nil + a.GetUpdatedAt() +} + +func TestAuthorization_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &Authorization{URL: &zeroValue} + a.GetURL() + a = &Authorization{} + a.GetURL() + a = nil + a.GetURL() +} + +func TestAuthorization_GetUser(tt *testing.T) { + tt.Parallel() + a := &Authorization{} + a.GetUser() + a = nil + a.GetUser() +} + +func TestAuthorizationApp_GetClientID(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AuthorizationApp{ClientID: &zeroValue} + a.GetClientID() + a = &AuthorizationApp{} + a.GetClientID() + a = nil + a.GetClientID() +} + +func TestAuthorizationApp_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AuthorizationApp{Name: &zeroValue} + a.GetName() + a = &AuthorizationApp{} + a.GetName() + a = nil + a.GetName() +} + +func TestAuthorizationApp_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AuthorizationApp{URL: &zeroValue} + a.GetURL() + a = &AuthorizationApp{} + a.GetURL() + a = nil + a.GetURL() +} + +func TestAuthorizationRequest_GetClientID(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AuthorizationRequest{ClientID: &zeroValue} + a.GetClientID() + a = &AuthorizationRequest{} + a.GetClientID() + a = nil + a.GetClientID() +} + +func TestAuthorizationRequest_GetClientSecret(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AuthorizationRequest{ClientSecret: &zeroValue} + a.GetClientSecret() + a = &AuthorizationRequest{} + a.GetClientSecret() + a = nil + a.GetClientSecret() +} + +func TestAuthorizationRequest_GetFingerprint(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AuthorizationRequest{Fingerprint: &zeroValue} + a.GetFingerprint() + a = &AuthorizationRequest{} + a.GetFingerprint() + a = nil + a.GetFingerprint() +} + +func TestAuthorizationRequest_GetNote(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AuthorizationRequest{Note: &zeroValue} + a.GetNote() + a = &AuthorizationRequest{} + a.GetNote() + a = nil + a.GetNote() +} + +func TestAuthorizationRequest_GetNoteURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AuthorizationRequest{NoteURL: &zeroValue} + a.GetNoteURL() + a = &AuthorizationRequest{} + a.GetNoteURL() + a = nil + 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 + a := &AuthorizationUpdateRequest{Fingerprint: &zeroValue} + a.GetFingerprint() + a = &AuthorizationUpdateRequest{} + a.GetFingerprint() + a = nil + a.GetFingerprint() +} + +func TestAuthorizationUpdateRequest_GetNote(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AuthorizationUpdateRequest{Note: &zeroValue} + a.GetNote() + a = &AuthorizationUpdateRequest{} + a.GetNote() + a = nil + a.GetNote() +} + +func TestAuthorizationUpdateRequest_GetNoteURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &AuthorizationUpdateRequest{NoteURL: &zeroValue} + a.GetNoteURL() + a = &AuthorizationUpdateRequest{} + a.GetNoteURL() + a = nil + 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 + a := &AuthorizedActorsOnly{From: &zeroValue} + a.GetFrom() + a = &AuthorizedActorsOnly{} + a.GetFrom() + a = nil + a.GetFrom() +} + +func TestAuthorizedDismissalActorsOnlyChanges_GetFrom(tt *testing.T) { + tt.Parallel() + var zeroValue bool + a := &AuthorizedDismissalActorsOnlyChanges{From: &zeroValue} + a.GetFrom() + a = &AuthorizedDismissalActorsOnlyChanges{} + a.GetFrom() + a = nil + a.GetFrom() +} + +func TestAutolink_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + a := &Autolink{ID: &zeroValue} + a.GetID() + a = &Autolink{} + a.GetID() + a = nil + a.GetID() +} + +func TestAutolink_GetIsAlphanumeric(tt *testing.T) { + tt.Parallel() + var zeroValue bool + a := &Autolink{IsAlphanumeric: &zeroValue} + a.GetIsAlphanumeric() + a = &Autolink{} + a.GetIsAlphanumeric() + a = nil + a.GetIsAlphanumeric() +} + +func TestAutolink_GetKeyPrefix(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &Autolink{KeyPrefix: &zeroValue} + a.GetKeyPrefix() + a = &Autolink{} + a.GetKeyPrefix() + a = nil + a.GetKeyPrefix() +} + +func TestAutolink_GetURLTemplate(tt *testing.T) { + tt.Parallel() + var zeroValue string + a := &Autolink{URLTemplate: &zeroValue} + a.GetURLTemplate() + a = &Autolink{} + a.GetURLTemplate() + a = nil + a.GetURLTemplate() +} + +func TestAutomatedSecurityFixes_GetEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + a := &AutomatedSecurityFixes{Enabled: &zeroValue} + a.GetEnabled() + a = &AutomatedSecurityFixes{} + a.GetEnabled() + a = nil + a.GetEnabled() +} + +func TestAutomatedSecurityFixes_GetPaused(tt *testing.T) { + tt.Parallel() + var zeroValue bool + a := &AutomatedSecurityFixes{Paused: &zeroValue} + a.GetPaused() + a = &AutomatedSecurityFixes{} + a.GetPaused() + a = nil + a.GetPaused() +} + +func TestAutoTriggerCheck_GetAppID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + a := &AutoTriggerCheck{AppID: &zeroValue} + a.GetAppID() + a = &AutoTriggerCheck{} + a.GetAppID() + a = nil + a.GetAppID() +} + +func TestAutoTriggerCheck_GetSetting(tt *testing.T) { + tt.Parallel() + var zeroValue bool + a := &AutoTriggerCheck{Setting: &zeroValue} + a.GetSetting() + a = &AutoTriggerCheck{} + a.GetSetting() + a = nil + 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 TestBillingCostCenter_GetID(tt *testing.T) { + tt.Parallel() + b := &BillingCostCenter{} + b.GetID() + b = nil + b.GetID() +} + +func TestBillingCostCenter_GetName(tt *testing.T) { + tt.Parallel() + b := &BillingCostCenter{} + b.GetName() + b = nil + b.GetName() +} + +func TestBlob_GetContent(tt *testing.T) { + tt.Parallel() + var zeroValue string + b := &Blob{Content: &zeroValue} + b.GetContent() + b = &Blob{} + b.GetContent() + b = nil + b.GetContent() +} + +func TestBlob_GetEncoding(tt *testing.T) { + tt.Parallel() + var zeroValue string + b := &Blob{Encoding: &zeroValue} + b.GetEncoding() + b = &Blob{} + b.GetEncoding() + b = nil + b.GetEncoding() +} + +func TestBlob_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + b := &Blob{NodeID: &zeroValue} + b.GetNodeID() + b = &Blob{} + b.GetNodeID() + b = nil + b.GetNodeID() +} + +func TestBlob_GetSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + b := &Blob{SHA: &zeroValue} + b.GetSHA() + b = &Blob{} + b.GetSHA() + b = nil + b.GetSHA() +} + +func TestBlob_GetSize(tt *testing.T) { + tt.Parallel() + var zeroValue int + b := &Blob{Size: &zeroValue} + b.GetSize() + b = &Blob{} + b.GetSize() + b = nil + b.GetSize() +} + +func TestBlob_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + b := &Blob{URL: &zeroValue} + b.GetURL() + b = &Blob{} + b.GetURL() + b = nil + b.GetURL() +} + +func TestBlockCreations_GetEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + b := &BlockCreations{Enabled: &zeroValue} + b.GetEnabled() + b = &BlockCreations{} + b.GetEnabled() + b = nil + b.GetEnabled() +} + +func TestBranch_GetCommit(tt *testing.T) { + tt.Parallel() + b := &Branch{} + b.GetCommit() + b = nil + b.GetCommit() +} + +func TestBranch_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + b := &Branch{Name: &zeroValue} + b.GetName() + b = &Branch{} + b.GetName() + b = nil + b.GetName() +} + +func TestBranch_GetProtected(tt *testing.T) { + tt.Parallel() + var zeroValue bool + b := &Branch{Protected: &zeroValue} + b.GetProtected() + b = &Branch{} + b.GetProtected() + b = nil + b.GetProtected() +} + +func TestBranch_GetProtection(tt *testing.T) { + tt.Parallel() + b := &Branch{} + b.GetProtection() + b = nil + b.GetProtection() +} + +func TestBranch_GetProtectionURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + b := &Branch{ProtectionURL: &zeroValue} + b.GetProtectionURL() + b = &Branch{} + b.GetProtectionURL() + b = nil + b.GetProtectionURL() +} + +func TestBranchCommit_GetCommit(tt *testing.T) { + tt.Parallel() + b := &BranchCommit{} + b.GetCommit() + b = nil + b.GetCommit() +} + +func TestBranchCommit_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + b := &BranchCommit{Name: &zeroValue} + b.GetName() + b = &BranchCommit{} + b.GetName() + b = nil + b.GetName() +} + +func TestBranchCommit_GetProtected(tt *testing.T) { + tt.Parallel() + var zeroValue bool + b := &BranchCommit{Protected: &zeroValue} + b.GetProtected() + b = &BranchCommit{} + b.GetProtected() + b = nil + b.GetProtected() +} + +func TestBranchListOptions_GetProtected(tt *testing.T) { + tt.Parallel() + var zeroValue bool + b := &BranchListOptions{Protected: &zeroValue} + b.GetProtected() + b = &BranchListOptions{} + b.GetProtected() + b = nil + b.GetProtected() +} + +func TestBranchPolicy_GetCustomBranchPolicies(tt *testing.T) { + tt.Parallel() + var zeroValue bool + b := &BranchPolicy{CustomBranchPolicies: &zeroValue} + b.GetCustomBranchPolicies() + b = &BranchPolicy{} + b.GetCustomBranchPolicies() + b = nil + b.GetCustomBranchPolicies() +} + +func TestBranchPolicy_GetProtectedBranches(tt *testing.T) { + tt.Parallel() + var zeroValue bool + b := &BranchPolicy{ProtectedBranches: &zeroValue} + b.GetProtectedBranches() + b = &BranchPolicy{} + b.GetProtectedBranches() + b = nil + b.GetProtectedBranches() +} + +func TestBranchProtectionConfigurationEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + b := &BranchProtectionConfigurationEvent{Action: &zeroValue} + b.GetAction() + b = &BranchProtectionConfigurationEvent{} + b.GetAction() + b = nil + b.GetAction() +} + +func TestBranchProtectionConfigurationEvent_GetEnterprise(tt *testing.T) { + tt.Parallel() + b := &BranchProtectionConfigurationEvent{} + b.GetEnterprise() + b = nil + b.GetEnterprise() +} + +func TestBranchProtectionConfigurationEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + b := &BranchProtectionConfigurationEvent{} + b.GetInstallation() + b = nil + b.GetInstallation() +} + +func TestBranchProtectionConfigurationEvent_GetOrg(tt *testing.T) { + tt.Parallel() + b := &BranchProtectionConfigurationEvent{} + b.GetOrg() + b = nil + b.GetOrg() +} + +func TestBranchProtectionConfigurationEvent_GetRepo(tt *testing.T) { + tt.Parallel() + b := &BranchProtectionConfigurationEvent{} + b.GetRepo() + b = nil + b.GetRepo() +} + +func TestBranchProtectionConfigurationEvent_GetSender(tt *testing.T) { + tt.Parallel() + b := &BranchProtectionConfigurationEvent{} + b.GetSender() + b = nil + b.GetSender() +} + +func TestBranchProtectionRule_GetAdminEnforced(tt *testing.T) { + tt.Parallel() + var zeroValue bool + b := &BranchProtectionRule{AdminEnforced: &zeroValue} + b.GetAdminEnforced() + b = &BranchProtectionRule{} + b.GetAdminEnforced() + b = nil + b.GetAdminEnforced() +} + +func TestBranchProtectionRule_GetAllowDeletionsEnforcementLevel(tt *testing.T) { + tt.Parallel() + var zeroValue string + b := &BranchProtectionRule{AllowDeletionsEnforcementLevel: &zeroValue} + b.GetAllowDeletionsEnforcementLevel() + b = &BranchProtectionRule{} + b.GetAllowDeletionsEnforcementLevel() + b = nil + b.GetAllowDeletionsEnforcementLevel() +} + +func TestBranchProtectionRule_GetAllowForcePushesEnforcementLevel(tt *testing.T) { + tt.Parallel() + var zeroValue string + b := &BranchProtectionRule{AllowForcePushesEnforcementLevel: &zeroValue} + b.GetAllowForcePushesEnforcementLevel() + b = &BranchProtectionRule{} + b.GetAllowForcePushesEnforcementLevel() + b = nil + 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 + b := &BranchProtectionRule{AuthorizedActorsOnly: &zeroValue} + b.GetAuthorizedActorsOnly() + b = &BranchProtectionRule{} + b.GetAuthorizedActorsOnly() + b = nil + b.GetAuthorizedActorsOnly() +} + +func TestBranchProtectionRule_GetAuthorizedDismissalActorsOnly(tt *testing.T) { + tt.Parallel() + var zeroValue bool + b := &BranchProtectionRule{AuthorizedDismissalActorsOnly: &zeroValue} + b.GetAuthorizedDismissalActorsOnly() + b = &BranchProtectionRule{} + b.GetAuthorizedDismissalActorsOnly() + b = nil + b.GetAuthorizedDismissalActorsOnly() +} + +func TestBranchProtectionRule_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + b := &BranchProtectionRule{CreatedAt: &zeroValue} + b.GetCreatedAt() + b = &BranchProtectionRule{} + b.GetCreatedAt() + b = nil + b.GetCreatedAt() +} + +func TestBranchProtectionRule_GetDismissStaleReviewsOnPush(tt *testing.T) { + tt.Parallel() + var zeroValue bool + b := &BranchProtectionRule{DismissStaleReviewsOnPush: &zeroValue} + b.GetDismissStaleReviewsOnPush() + b = &BranchProtectionRule{} + b.GetDismissStaleReviewsOnPush() + b = nil + b.GetDismissStaleReviewsOnPush() +} + +func TestBranchProtectionRule_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + b := &BranchProtectionRule{ID: &zeroValue} + b.GetID() + b = &BranchProtectionRule{} + b.GetID() + b = nil + b.GetID() +} + +func TestBranchProtectionRule_GetIgnoreApprovalsFromContributors(tt *testing.T) { + tt.Parallel() + var zeroValue bool + b := &BranchProtectionRule{IgnoreApprovalsFromContributors: &zeroValue} + b.GetIgnoreApprovalsFromContributors() + b = &BranchProtectionRule{} + b.GetIgnoreApprovalsFromContributors() + b = nil + b.GetIgnoreApprovalsFromContributors() +} + +func TestBranchProtectionRule_GetLinearHistoryRequirementEnforcementLevel(tt *testing.T) { + tt.Parallel() + var zeroValue string + b := &BranchProtectionRule{LinearHistoryRequirementEnforcementLevel: &zeroValue} + b.GetLinearHistoryRequirementEnforcementLevel() + b = &BranchProtectionRule{} + b.GetLinearHistoryRequirementEnforcementLevel() + b = nil + b.GetLinearHistoryRequirementEnforcementLevel() +} + +func TestBranchProtectionRule_GetMergeQueueEnforcementLevel(tt *testing.T) { + tt.Parallel() + var zeroValue string + b := &BranchProtectionRule{MergeQueueEnforcementLevel: &zeroValue} + b.GetMergeQueueEnforcementLevel() + b = &BranchProtectionRule{} + b.GetMergeQueueEnforcementLevel() + b = nil + b.GetMergeQueueEnforcementLevel() +} + +func TestBranchProtectionRule_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + b := &BranchProtectionRule{Name: &zeroValue} + b.GetName() + b = &BranchProtectionRule{} + b.GetName() + b = nil + b.GetName() +} + +func TestBranchProtectionRule_GetPullRequestReviewsEnforcementLevel(tt *testing.T) { + tt.Parallel() + var zeroValue string + b := &BranchProtectionRule{PullRequestReviewsEnforcementLevel: &zeroValue} + b.GetPullRequestReviewsEnforcementLevel() + b = &BranchProtectionRule{} + b.GetPullRequestReviewsEnforcementLevel() + b = nil + b.GetPullRequestReviewsEnforcementLevel() +} + +func TestBranchProtectionRule_GetRepositoryID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + b := &BranchProtectionRule{RepositoryID: &zeroValue} + b.GetRepositoryID() + b = &BranchProtectionRule{} + b.GetRepositoryID() + b = nil + b.GetRepositoryID() +} + +func TestBranchProtectionRule_GetRequireCodeOwnerReview(tt *testing.T) { + tt.Parallel() + var zeroValue bool + b := &BranchProtectionRule{RequireCodeOwnerReview: &zeroValue} + b.GetRequireCodeOwnerReview() + b = &BranchProtectionRule{} + b.GetRequireCodeOwnerReview() + b = nil + b.GetRequireCodeOwnerReview() +} + +func TestBranchProtectionRule_GetRequiredApprovingReviewCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + b := &BranchProtectionRule{RequiredApprovingReviewCount: &zeroValue} + b.GetRequiredApprovingReviewCount() + b = &BranchProtectionRule{} + b.GetRequiredApprovingReviewCount() + b = nil + b.GetRequiredApprovingReviewCount() +} + +func TestBranchProtectionRule_GetRequiredConversationResolutionLevel(tt *testing.T) { + tt.Parallel() + var zeroValue string + b := &BranchProtectionRule{RequiredConversationResolutionLevel: &zeroValue} + b.GetRequiredConversationResolutionLevel() + b = &BranchProtectionRule{} + b.GetRequiredConversationResolutionLevel() + b = nil + b.GetRequiredConversationResolutionLevel() +} + +func TestBranchProtectionRule_GetRequiredDeploymentsEnforcementLevel(tt *testing.T) { + tt.Parallel() + var zeroValue string + b := &BranchProtectionRule{RequiredDeploymentsEnforcementLevel: &zeroValue} + b.GetRequiredDeploymentsEnforcementLevel() + b = &BranchProtectionRule{} + b.GetRequiredDeploymentsEnforcementLevel() + b = nil + 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 + b := &BranchProtectionRule{RequiredStatusChecksEnforcementLevel: &zeroValue} + b.GetRequiredStatusChecksEnforcementLevel() + b = &BranchProtectionRule{} + b.GetRequiredStatusChecksEnforcementLevel() + b = nil + b.GetRequiredStatusChecksEnforcementLevel() +} + +func TestBranchProtectionRule_GetRequireLastPushApproval(tt *testing.T) { + tt.Parallel() + var zeroValue bool + b := &BranchProtectionRule{RequireLastPushApproval: &zeroValue} + b.GetRequireLastPushApproval() + b = &BranchProtectionRule{} + b.GetRequireLastPushApproval() + b = nil + b.GetRequireLastPushApproval() +} + +func TestBranchProtectionRule_GetSignatureRequirementEnforcementLevel(tt *testing.T) { + tt.Parallel() + var zeroValue string + b := &BranchProtectionRule{SignatureRequirementEnforcementLevel: &zeroValue} + b.GetSignatureRequirementEnforcementLevel() + b = &BranchProtectionRule{} + b.GetSignatureRequirementEnforcementLevel() + b = nil + b.GetSignatureRequirementEnforcementLevel() +} + +func TestBranchProtectionRule_GetStrictRequiredStatusChecksPolicy(tt *testing.T) { + tt.Parallel() + var zeroValue bool + b := &BranchProtectionRule{StrictRequiredStatusChecksPolicy: &zeroValue} + b.GetStrictRequiredStatusChecksPolicy() + b = &BranchProtectionRule{} + b.GetStrictRequiredStatusChecksPolicy() + b = nil + b.GetStrictRequiredStatusChecksPolicy() +} + +func TestBranchProtectionRule_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + b := &BranchProtectionRule{UpdatedAt: &zeroValue} + b.GetUpdatedAt() + b = &BranchProtectionRule{} + b.GetUpdatedAt() + b = nil + b.GetUpdatedAt() +} + +func TestBranchProtectionRuleEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + b := &BranchProtectionRuleEvent{Action: &zeroValue} + b.GetAction() + b = &BranchProtectionRuleEvent{} + b.GetAction() + b = nil + b.GetAction() +} + +func TestBranchProtectionRuleEvent_GetChanges(tt *testing.T) { + tt.Parallel() + b := &BranchProtectionRuleEvent{} + b.GetChanges() + b = nil + b.GetChanges() +} + +func TestBranchProtectionRuleEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + b := &BranchProtectionRuleEvent{} + b.GetInstallation() + b = nil + b.GetInstallation() +} + +func TestBranchProtectionRuleEvent_GetOrg(tt *testing.T) { + tt.Parallel() + b := &BranchProtectionRuleEvent{} + b.GetOrg() + b = nil + b.GetOrg() +} + +func TestBranchProtectionRuleEvent_GetRepo(tt *testing.T) { + tt.Parallel() + b := &BranchProtectionRuleEvent{} + b.GetRepo() + b = nil + b.GetRepo() +} + +func TestBranchProtectionRuleEvent_GetRule(tt *testing.T) { + tt.Parallel() + b := &BranchProtectionRuleEvent{} + b.GetRule() + b = nil + b.GetRule() +} + +func TestBranchProtectionRuleEvent_GetSender(tt *testing.T) { + tt.Parallel() + b := &BranchProtectionRuleEvent{} + b.GetSender() + b = nil + 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 + b := &BypassActor{ActorID: &zeroValue} + b.GetActorID() + b = &BypassActor{} + b.GetActorID() + b = nil + b.GetActorID() +} + +func TestBypassActor_GetActorType(tt *testing.T) { + tt.Parallel() + b := &BypassActor{} + b.GetActorType() + b = nil + b.GetActorType() +} + +func TestBypassActor_GetBypassMode(tt *testing.T) { + tt.Parallel() + b := &BypassActor{} + b.GetBypassMode() + b = nil + 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 + b := &BypassReviewer{SecurityConfigurationID: &zeroValue} + b.GetSecurityConfigurationID() + b = &BypassReviewer{} + b.GetSecurityConfigurationID() + b = nil + b.GetSecurityConfigurationID() +} + +func TestCheckRun_GetApp(tt *testing.T) { + tt.Parallel() + c := &CheckRun{} + c.GetApp() + c = nil + c.GetApp() +} + +func TestCheckRun_GetCheckSuite(tt *testing.T) { + tt.Parallel() + c := &CheckRun{} + c.GetCheckSuite() + c = nil + c.GetCheckSuite() +} + +func TestCheckRun_GetCompletedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CheckRun{CompletedAt: &zeroValue} + c.GetCompletedAt() + c = &CheckRun{} + c.GetCompletedAt() + c = nil + c.GetCompletedAt() +} + +func TestCheckRun_GetConclusion(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckRun{Conclusion: &zeroValue} + c.GetConclusion() + c = &CheckRun{} + c.GetConclusion() + c = nil + c.GetConclusion() +} + +func TestCheckRun_GetDetailsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckRun{DetailsURL: &zeroValue} + c.GetDetailsURL() + c = &CheckRun{} + c.GetDetailsURL() + c = nil + c.GetDetailsURL() +} + +func TestCheckRun_GetExternalID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckRun{ExternalID: &zeroValue} + c.GetExternalID() + c = &CheckRun{} + c.GetExternalID() + c = nil + c.GetExternalID() +} + +func TestCheckRun_GetHeadSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckRun{HeadSHA: &zeroValue} + c.GetHeadSHA() + c = &CheckRun{} + c.GetHeadSHA() + c = nil + c.GetHeadSHA() +} + +func TestCheckRun_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckRun{HTMLURL: &zeroValue} + c.GetHTMLURL() + c = &CheckRun{} + c.GetHTMLURL() + c = nil + c.GetHTMLURL() +} + +func TestCheckRun_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &CheckRun{ID: &zeroValue} + c.GetID() + c = &CheckRun{} + c.GetID() + c = nil + c.GetID() +} + +func TestCheckRun_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckRun{Name: &zeroValue} + c.GetName() + c = &CheckRun{} + c.GetName() + c = nil + c.GetName() +} + +func TestCheckRun_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckRun{NodeID: &zeroValue} + c.GetNodeID() + c = &CheckRun{} + c.GetNodeID() + c = nil + c.GetNodeID() +} + +func TestCheckRun_GetOutput(tt *testing.T) { + tt.Parallel() + c := &CheckRun{} + c.GetOutput() + c = nil + 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 + c := &CheckRun{StartedAt: &zeroValue} + c.GetStartedAt() + c = &CheckRun{} + c.GetStartedAt() + c = nil + c.GetStartedAt() +} + +func TestCheckRun_GetStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckRun{Status: &zeroValue} + c.GetStatus() + c = &CheckRun{} + c.GetStatus() + c = nil + c.GetStatus() +} + +func TestCheckRun_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckRun{URL: &zeroValue} + c.GetURL() + c = &CheckRun{} + c.GetURL() + c = nil + 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 + c := &CheckRunAnnotation{AnnotationLevel: &zeroValue} + c.GetAnnotationLevel() + c = &CheckRunAnnotation{} + c.GetAnnotationLevel() + c = nil + c.GetAnnotationLevel() +} + +func TestCheckRunAnnotation_GetEndColumn(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CheckRunAnnotation{EndColumn: &zeroValue} + c.GetEndColumn() + c = &CheckRunAnnotation{} + c.GetEndColumn() + c = nil + c.GetEndColumn() +} + +func TestCheckRunAnnotation_GetEndLine(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CheckRunAnnotation{EndLine: &zeroValue} + c.GetEndLine() + c = &CheckRunAnnotation{} + c.GetEndLine() + c = nil + c.GetEndLine() +} + +func TestCheckRunAnnotation_GetMessage(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckRunAnnotation{Message: &zeroValue} + c.GetMessage() + c = &CheckRunAnnotation{} + c.GetMessage() + c = nil + c.GetMessage() +} + +func TestCheckRunAnnotation_GetPath(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckRunAnnotation{Path: &zeroValue} + c.GetPath() + c = &CheckRunAnnotation{} + c.GetPath() + c = nil + c.GetPath() +} + +func TestCheckRunAnnotation_GetRawDetails(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckRunAnnotation{RawDetails: &zeroValue} + c.GetRawDetails() + c = &CheckRunAnnotation{} + c.GetRawDetails() + c = nil + c.GetRawDetails() +} + +func TestCheckRunAnnotation_GetStartColumn(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CheckRunAnnotation{StartColumn: &zeroValue} + c.GetStartColumn() + c = &CheckRunAnnotation{} + c.GetStartColumn() + c = nil + c.GetStartColumn() +} + +func TestCheckRunAnnotation_GetStartLine(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CheckRunAnnotation{StartLine: &zeroValue} + c.GetStartLine() + c = &CheckRunAnnotation{} + c.GetStartLine() + c = nil + c.GetStartLine() +} + +func TestCheckRunAnnotation_GetTitle(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckRunAnnotation{Title: &zeroValue} + c.GetTitle() + c = &CheckRunAnnotation{} + c.GetTitle() + c = nil + c.GetTitle() +} + +func TestCheckRunEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckRunEvent{Action: &zeroValue} + c.GetAction() + c = &CheckRunEvent{} + c.GetAction() + c = nil + c.GetAction() +} + +func TestCheckRunEvent_GetCheckRun(tt *testing.T) { + tt.Parallel() + c := &CheckRunEvent{} + c.GetCheckRun() + c = nil + c.GetCheckRun() +} + +func TestCheckRunEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + c := &CheckRunEvent{} + c.GetInstallation() + c = nil + c.GetInstallation() +} + +func TestCheckRunEvent_GetOrg(tt *testing.T) { + tt.Parallel() + c := &CheckRunEvent{} + c.GetOrg() + c = nil + c.GetOrg() +} + +func TestCheckRunEvent_GetRepo(tt *testing.T) { + tt.Parallel() + c := &CheckRunEvent{} + c.GetRepo() + c = nil + c.GetRepo() +} + +func TestCheckRunEvent_GetRequestedAction(tt *testing.T) { + tt.Parallel() + c := &CheckRunEvent{} + c.GetRequestedAction() + c = nil + c.GetRequestedAction() +} + +func TestCheckRunEvent_GetSender(tt *testing.T) { + tt.Parallel() + c := &CheckRunEvent{} + c.GetSender() + c = nil + c.GetSender() +} + +func TestCheckRunImage_GetAlt(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckRunImage{Alt: &zeroValue} + c.GetAlt() + c = &CheckRunImage{} + c.GetAlt() + c = nil + c.GetAlt() +} + +func TestCheckRunImage_GetCaption(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckRunImage{Caption: &zeroValue} + c.GetCaption() + c = &CheckRunImage{} + c.GetCaption() + c = nil + c.GetCaption() +} + +func TestCheckRunImage_GetImageURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckRunImage{ImageURL: &zeroValue} + c.GetImageURL() + c = &CheckRunImage{} + c.GetImageURL() + c = nil + 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 + c := &CheckRunOutput{AnnotationsCount: &zeroValue} + c.GetAnnotationsCount() + c = &CheckRunOutput{} + c.GetAnnotationsCount() + c = nil + c.GetAnnotationsCount() +} + +func TestCheckRunOutput_GetAnnotationsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckRunOutput{AnnotationsURL: &zeroValue} + c.GetAnnotationsURL() + c = &CheckRunOutput{} + c.GetAnnotationsURL() + c = nil + 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 + c := &CheckRunOutput{Summary: &zeroValue} + c.GetSummary() + c = &CheckRunOutput{} + c.GetSummary() + c = nil + c.GetSummary() +} + +func TestCheckRunOutput_GetText(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckRunOutput{Text: &zeroValue} + c.GetText() + c = &CheckRunOutput{} + c.GetText() + c = nil + c.GetText() +} + +func TestCheckRunOutput_GetTitle(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckRunOutput{Title: &zeroValue} + c.GetTitle() + c = &CheckRunOutput{} + c.GetTitle() + c = nil + c.GetTitle() +} + +func TestCheckSuite_GetAfterSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckSuite{AfterSHA: &zeroValue} + c.GetAfterSHA() + c = &CheckSuite{} + c.GetAfterSHA() + c = nil + c.GetAfterSHA() +} + +func TestCheckSuite_GetApp(tt *testing.T) { + tt.Parallel() + c := &CheckSuite{} + c.GetApp() + c = nil + c.GetApp() +} + +func TestCheckSuite_GetBeforeSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckSuite{BeforeSHA: &zeroValue} + c.GetBeforeSHA() + c = &CheckSuite{} + c.GetBeforeSHA() + c = nil + c.GetBeforeSHA() +} + +func TestCheckSuite_GetConclusion(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckSuite{Conclusion: &zeroValue} + c.GetConclusion() + c = &CheckSuite{} + c.GetConclusion() + c = nil + c.GetConclusion() +} + +func TestCheckSuite_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CheckSuite{CreatedAt: &zeroValue} + c.GetCreatedAt() + c = &CheckSuite{} + c.GetCreatedAt() + c = nil + c.GetCreatedAt() +} + +func TestCheckSuite_GetHeadBranch(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckSuite{HeadBranch: &zeroValue} + c.GetHeadBranch() + c = &CheckSuite{} + c.GetHeadBranch() + c = nil + c.GetHeadBranch() +} + +func TestCheckSuite_GetHeadCommit(tt *testing.T) { + tt.Parallel() + c := &CheckSuite{} + c.GetHeadCommit() + c = nil + c.GetHeadCommit() +} + +func TestCheckSuite_GetHeadSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckSuite{HeadSHA: &zeroValue} + c.GetHeadSHA() + c = &CheckSuite{} + c.GetHeadSHA() + c = nil + c.GetHeadSHA() +} + +func TestCheckSuite_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &CheckSuite{ID: &zeroValue} + c.GetID() + c = &CheckSuite{} + c.GetID() + c = nil + c.GetID() +} + +func TestCheckSuite_GetLatestCheckRunsCount(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &CheckSuite{LatestCheckRunsCount: &zeroValue} + c.GetLatestCheckRunsCount() + c = &CheckSuite{} + c.GetLatestCheckRunsCount() + c = nil + c.GetLatestCheckRunsCount() +} + +func TestCheckSuite_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckSuite{NodeID: &zeroValue} + c.GetNodeID() + c = &CheckSuite{} + c.GetNodeID() + c = nil + 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{} + c.GetRepository() + c = nil + c.GetRepository() +} + +func TestCheckSuite_GetRerequestable(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CheckSuite{Rerequestable: &zeroValue} + c.GetRerequestable() + c = &CheckSuite{} + c.GetRerequestable() + c = nil + c.GetRerequestable() +} + +func TestCheckSuite_GetRunsRerequestable(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CheckSuite{RunsRerequestable: &zeroValue} + c.GetRunsRerequestable() + c = &CheckSuite{} + c.GetRunsRerequestable() + c = nil + c.GetRunsRerequestable() +} + +func TestCheckSuite_GetStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckSuite{Status: &zeroValue} + c.GetStatus() + c = &CheckSuite{} + c.GetStatus() + c = nil + c.GetStatus() +} + +func TestCheckSuite_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CheckSuite{UpdatedAt: &zeroValue} + c.GetUpdatedAt() + c = &CheckSuite{} + c.GetUpdatedAt() + c = nil + c.GetUpdatedAt() +} + +func TestCheckSuite_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckSuite{URL: &zeroValue} + c.GetURL() + c = &CheckSuite{} + c.GetURL() + c = nil + c.GetURL() +} + +func TestCheckSuiteEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CheckSuiteEvent{Action: &zeroValue} + c.GetAction() + c = &CheckSuiteEvent{} + c.GetAction() + c = nil + c.GetAction() +} + +func TestCheckSuiteEvent_GetCheckSuite(tt *testing.T) { + tt.Parallel() + c := &CheckSuiteEvent{} + c.GetCheckSuite() + c = nil + c.GetCheckSuite() +} + +func TestCheckSuiteEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + c := &CheckSuiteEvent{} + c.GetInstallation() + c = nil + c.GetInstallation() +} + +func TestCheckSuiteEvent_GetOrg(tt *testing.T) { + tt.Parallel() + c := &CheckSuiteEvent{} + c.GetOrg() + c = nil + c.GetOrg() +} + +func TestCheckSuiteEvent_GetRepo(tt *testing.T) { + tt.Parallel() + c := &CheckSuiteEvent{} + c.GetRepo() + c = nil + c.GetRepo() +} + +func TestCheckSuiteEvent_GetSender(tt *testing.T) { + tt.Parallel() + c := &CheckSuiteEvent{} + c.GetSender() + c = nil + 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{} + c.GetPreferences() + c = nil + c.GetPreferences() +} + +func TestCheckSuitePreferenceResults_GetRepository(tt *testing.T) { + tt.Parallel() + c := &CheckSuitePreferenceResults{} + c.GetRepository() + c = nil + c.GetRepository() +} + +func TestClassroom_GetArchived(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &Classroom{Archived: &zeroValue} + c.GetArchived() + c = &Classroom{} + c.GetArchived() + c = nil + c.GetArchived() +} + +func TestClassroom_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &Classroom{ID: &zeroValue} + c.GetID() + c = &Classroom{} + c.GetID() + c = nil + c.GetID() +} + +func TestClassroom_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Classroom{Name: &zeroValue} + c.GetName() + c = &Classroom{} + c.GetName() + c = nil + c.GetName() +} + +func TestClassroom_GetOrganization(tt *testing.T) { + tt.Parallel() + c := &Classroom{} + c.GetOrganization() + c = nil + c.GetOrganization() +} + +func TestClassroom_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Classroom{URL: &zeroValue} + c.GetURL() + c = &Classroom{} + c.GetURL() + c = nil + c.GetURL() +} + +func TestClassroomAssignment_GetAccepted(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &ClassroomAssignment{Accepted: &zeroValue} + c.GetAccepted() + c = &ClassroomAssignment{} + c.GetAccepted() + c = nil + c.GetAccepted() +} + +func TestClassroomAssignment_GetClassroom(tt *testing.T) { + tt.Parallel() + c := &ClassroomAssignment{} + c.GetClassroom() + c = nil + c.GetClassroom() +} + +func TestClassroomAssignment_GetDeadline(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &ClassroomAssignment{Deadline: &zeroValue} + c.GetDeadline() + c = &ClassroomAssignment{} + c.GetDeadline() + c = nil + c.GetDeadline() +} + +func TestClassroomAssignment_GetEditor(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ClassroomAssignment{Editor: &zeroValue} + c.GetEditor() + c = &ClassroomAssignment{} + c.GetEditor() + c = nil + c.GetEditor() +} + +func TestClassroomAssignment_GetFeedbackPullRequestsEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ClassroomAssignment{FeedbackPullRequestsEnabled: &zeroValue} + c.GetFeedbackPullRequestsEnabled() + c = &ClassroomAssignment{} + c.GetFeedbackPullRequestsEnabled() + c = nil + c.GetFeedbackPullRequestsEnabled() +} + +func TestClassroomAssignment_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &ClassroomAssignment{ID: &zeroValue} + c.GetID() + c = &ClassroomAssignment{} + c.GetID() + c = nil + c.GetID() +} + +func TestClassroomAssignment_GetInvitationsEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ClassroomAssignment{InvitationsEnabled: &zeroValue} + c.GetInvitationsEnabled() + c = &ClassroomAssignment{} + c.GetInvitationsEnabled() + c = nil + c.GetInvitationsEnabled() +} + +func TestClassroomAssignment_GetInviteLink(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ClassroomAssignment{InviteLink: &zeroValue} + c.GetInviteLink() + c = &ClassroomAssignment{} + c.GetInviteLink() + c = nil + c.GetInviteLink() +} + +func TestClassroomAssignment_GetLanguage(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ClassroomAssignment{Language: &zeroValue} + c.GetLanguage() + c = &ClassroomAssignment{} + c.GetLanguage() + c = nil + c.GetLanguage() +} + +func TestClassroomAssignment_GetMaxMembers(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &ClassroomAssignment{MaxMembers: &zeroValue} + c.GetMaxMembers() + c = &ClassroomAssignment{} + c.GetMaxMembers() + c = nil + c.GetMaxMembers() +} + +func TestClassroomAssignment_GetMaxTeams(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &ClassroomAssignment{MaxTeams: &zeroValue} + c.GetMaxTeams() + c = &ClassroomAssignment{} + c.GetMaxTeams() + c = nil + c.GetMaxTeams() +} + +func TestClassroomAssignment_GetPassing(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &ClassroomAssignment{Passing: &zeroValue} + c.GetPassing() + c = &ClassroomAssignment{} + c.GetPassing() + c = nil + c.GetPassing() +} + +func TestClassroomAssignment_GetPublicRepo(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ClassroomAssignment{PublicRepo: &zeroValue} + c.GetPublicRepo() + c = &ClassroomAssignment{} + c.GetPublicRepo() + c = nil + c.GetPublicRepo() +} + +func TestClassroomAssignment_GetSlug(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ClassroomAssignment{Slug: &zeroValue} + c.GetSlug() + c = &ClassroomAssignment{} + c.GetSlug() + c = nil + c.GetSlug() +} + +func TestClassroomAssignment_GetStarterCodeRepository(tt *testing.T) { + tt.Parallel() + c := &ClassroomAssignment{} + c.GetStarterCodeRepository() + c = nil + c.GetStarterCodeRepository() +} + +func TestClassroomAssignment_GetStudentsAreRepoAdmins(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ClassroomAssignment{StudentsAreRepoAdmins: &zeroValue} + c.GetStudentsAreRepoAdmins() + c = &ClassroomAssignment{} + c.GetStudentsAreRepoAdmins() + c = nil + c.GetStudentsAreRepoAdmins() +} + +func TestClassroomAssignment_GetSubmitted(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &ClassroomAssignment{Submitted: &zeroValue} + c.GetSubmitted() + c = &ClassroomAssignment{} + c.GetSubmitted() + c = nil + c.GetSubmitted() +} + +func TestClassroomAssignment_GetTitle(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ClassroomAssignment{Title: &zeroValue} + c.GetTitle() + c = &ClassroomAssignment{} + c.GetTitle() + c = nil + c.GetTitle() +} + +func TestClassroomAssignment_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ClassroomAssignment{Type: &zeroValue} + c.GetType() + c = &ClassroomAssignment{} + c.GetType() + c = nil + c.GetType() +} + +func TestClassroomUser_GetAvatarURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ClassroomUser{AvatarURL: &zeroValue} + c.GetAvatarURL() + c = &ClassroomUser{} + c.GetAvatarURL() + c = nil + c.GetAvatarURL() +} + +func TestClassroomUser_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ClassroomUser{HTMLURL: &zeroValue} + c.GetHTMLURL() + c = &ClassroomUser{} + c.GetHTMLURL() + c = nil + c.GetHTMLURL() +} + +func TestClassroomUser_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &ClassroomUser{ID: &zeroValue} + c.GetID() + c = &ClassroomUser{} + c.GetID() + c = nil + c.GetID() +} + +func TestClassroomUser_GetLogin(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ClassroomUser{Login: &zeroValue} + c.GetLogin() + c = &ClassroomUser{} + c.GetLogin() + c = nil + 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 + c := &ClusterArtifactDeployment{GithubRepository: &zeroValue} + c.GetGithubRepository() + c = &ClusterArtifactDeployment{} + c.GetGithubRepository() + c = nil + 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{} + c := &ClusterArtifactDeployment{Tags: zeroValue} + c.GetTags() + c = &ClusterArtifactDeployment{} + c.GetTags() + c = nil + c.GetTags() +} + +func TestClusterArtifactDeployment_GetVersion(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ClusterArtifactDeployment{Version: &zeroValue} + c.GetVersion() + c = &ClusterArtifactDeployment{} + c.GetVersion() + c = nil + 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 + c := &ClusterDeploymentRecordsRequest{PhysicalEnvironment: &zeroValue} + c.GetPhysicalEnvironment() + c = &ClusterDeploymentRecordsRequest{} + c.GetPhysicalEnvironment() + c = nil + c.GetPhysicalEnvironment() +} + +func TestClusterSSHKey_GetFingerprint(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ClusterSSHKey{Fingerprint: &zeroValue} + c.GetFingerprint() + c = &ClusterSSHKey{} + c.GetFingerprint() + c = nil + c.GetFingerprint() +} + +func TestClusterSSHKey_GetKey(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ClusterSSHKey{Key: &zeroValue} + c.GetKey() + c = &ClusterSSHKey{} + c.GetKey() + c = nil + 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 + c := &ClusterStatus{Status: &zeroValue} + c.GetStatus() + c = &ClusterStatus{} + c.GetStatus() + c = nil + c.GetStatus() +} + +func TestClusterStatusNode_GetHostname(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ClusterStatusNode{Hostname: &zeroValue} + c.GetHostname() + c = &ClusterStatusNode{} + c.GetHostname() + c = nil + 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 + c := &ClusterStatusNode{Status: &zeroValue} + c.GetStatus() + c = &ClusterStatusNode{} + c.GetStatus() + c = nil + c.GetStatus() +} + +func TestClusterStatusNodeServiceItem_GetDetails(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ClusterStatusNodeServiceItem{Details: &zeroValue} + c.GetDetails() + c = &ClusterStatusNodeServiceItem{} + c.GetDetails() + c = nil + c.GetDetails() +} + +func TestClusterStatusNodeServiceItem_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ClusterStatusNodeServiceItem{Name: &zeroValue} + c.GetName() + c = &ClusterStatusNodeServiceItem{} + c.GetName() + c = nil + c.GetName() +} + +func TestClusterStatusNodeServiceItem_GetStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ClusterStatusNodeServiceItem{Status: &zeroValue} + c.GetStatus() + c = &ClusterStatusNodeServiceItem{} + c.GetStatus() + c = nil + c.GetStatus() +} + +func TestCodeOfConduct_GetBody(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeOfConduct{Body: &zeroValue} + c.GetBody() + c = &CodeOfConduct{} + c.GetBody() + c = nil + c.GetBody() +} + +func TestCodeOfConduct_GetKey(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeOfConduct{Key: &zeroValue} + c.GetKey() + c = &CodeOfConduct{} + c.GetKey() + c = nil + c.GetKey() +} + +func TestCodeOfConduct_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeOfConduct{Name: &zeroValue} + c.GetName() + c = &CodeOfConduct{} + c.GetName() + c = nil + c.GetName() +} + +func TestCodeOfConduct_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeOfConduct{URL: &zeroValue} + c.GetURL() + c = &CodeOfConduct{} + c.GetURL() + c = nil + 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 + c := &CodeownersError{Suggestion: &zeroValue} + c.GetSuggestion() + c = &CodeownersError{} + c.GetSuggestion() + c = nil + 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 + c := &CodeQLDatabase{ContentType: &zeroValue} + c.GetContentType() + c = &CodeQLDatabase{} + c.GetContentType() + c = nil + c.GetContentType() +} + +func TestCodeQLDatabase_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CodeQLDatabase{CreatedAt: &zeroValue} + c.GetCreatedAt() + c = &CodeQLDatabase{} + c.GetCreatedAt() + c = nil + c.GetCreatedAt() +} + +func TestCodeQLDatabase_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &CodeQLDatabase{ID: &zeroValue} + c.GetID() + c = &CodeQLDatabase{} + c.GetID() + c = nil + c.GetID() +} + +func TestCodeQLDatabase_GetLanguage(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeQLDatabase{Language: &zeroValue} + c.GetLanguage() + c = &CodeQLDatabase{} + c.GetLanguage() + c = nil + c.GetLanguage() +} + +func TestCodeQLDatabase_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeQLDatabase{Name: &zeroValue} + c.GetName() + c = &CodeQLDatabase{} + c.GetName() + c = nil + c.GetName() +} + +func TestCodeQLDatabase_GetSize(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &CodeQLDatabase{Size: &zeroValue} + c.GetSize() + c = &CodeQLDatabase{} + c.GetSize() + c = nil + c.GetSize() +} + +func TestCodeQLDatabase_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CodeQLDatabase{UpdatedAt: &zeroValue} + c.GetUpdatedAt() + c = &CodeQLDatabase{} + c.GetUpdatedAt() + c = nil + c.GetUpdatedAt() +} + +func TestCodeQLDatabase_GetUploader(tt *testing.T) { + tt.Parallel() + c := &CodeQLDatabase{} + c.GetUploader() + c = nil + c.GetUploader() +} + +func TestCodeQLDatabase_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeQLDatabase{URL: &zeroValue} + c.GetURL() + c = &CodeQLDatabase{} + c.GetURL() + c = nil + c.GetURL() +} + +func TestCodeQualityFinding_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CodeQualityFinding{CreatedAt: &zeroValue} + c.GetCreatedAt() + c = &CodeQualityFinding{} + c.GetCreatedAt() + c = nil + c.GetCreatedAt() +} + +func TestCodeQualityFinding_GetLocation(tt *testing.T) { + tt.Parallel() + c := &CodeQualityFinding{} + c.GetLocation() + c = nil + c.GetLocation() +} + +func TestCodeQualityFinding_GetMessage(tt *testing.T) { + tt.Parallel() + c := &CodeQualityFinding{} + c.GetMessage() + c = nil + c.GetMessage() +} + +func TestCodeQualityFinding_GetNumber(tt *testing.T) { + tt.Parallel() + c := &CodeQualityFinding{} + c.GetNumber() + c = nil + c.GetNumber() +} + +func TestCodeQualityFinding_GetRule(tt *testing.T) { + tt.Parallel() + c := &CodeQualityFinding{} + c.GetRule() + c = nil + c.GetRule() +} + +func TestCodeQualityFinding_GetState(tt *testing.T) { + tt.Parallel() + c := &CodeQualityFinding{} + c.GetState() + c = nil + c.GetState() +} + +func TestCodeQualityFinding_GetURL(tt *testing.T) { + tt.Parallel() + c := &CodeQualityFinding{} + c.GetURL() + c = nil + c.GetURL() +} + +func TestCodeQualityFindingLocation_GetEndColumn(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CodeQualityFindingLocation{EndColumn: &zeroValue} + c.GetEndColumn() + c = &CodeQualityFindingLocation{} + c.GetEndColumn() + c = nil + c.GetEndColumn() +} + +func TestCodeQualityFindingLocation_GetEndLine(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CodeQualityFindingLocation{EndLine: &zeroValue} + c.GetEndLine() + c = &CodeQualityFindingLocation{} + c.GetEndLine() + c = nil + c.GetEndLine() +} + +func TestCodeQualityFindingLocation_GetPath(tt *testing.T) { + tt.Parallel() + c := &CodeQualityFindingLocation{} + c.GetPath() + c = nil + c.GetPath() +} + +func TestCodeQualityFindingLocation_GetStartColumn(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CodeQualityFindingLocation{StartColumn: &zeroValue} + c.GetStartColumn() + c = &CodeQualityFindingLocation{} + c.GetStartColumn() + c = nil + c.GetStartColumn() +} + +func TestCodeQualityFindingLocation_GetStartLine(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CodeQualityFindingLocation{StartLine: &zeroValue} + c.GetStartLine() + c = &CodeQualityFindingLocation{} + c.GetStartLine() + c = nil + c.GetStartLine() +} + +func TestCodeQualityFindingMessage_GetMarkdown(tt *testing.T) { + tt.Parallel() + c := &CodeQualityFindingMessage{} + c.GetMarkdown() + c = nil + c.GetMarkdown() +} + +func TestCodeQualityFindingMessage_GetText(tt *testing.T) { + tt.Parallel() + c := &CodeQualityFindingMessage{} + c.GetText() + c = nil + c.GetText() +} + +func TestCodeQualityFindingRule_GetCategory(tt *testing.T) { + tt.Parallel() + c := &CodeQualityFindingRule{} + c.GetCategory() + c = nil + c.GetCategory() +} + +func TestCodeQualityFindingRule_GetDescription(tt *testing.T) { + tt.Parallel() + c := &CodeQualityFindingRule{} + c.GetDescription() + c = nil + c.GetDescription() +} + +func TestCodeQualityFindingRule_GetHelp(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeQualityFindingRule{Help: &zeroValue} + c.GetHelp() + c = &CodeQualityFindingRule{} + c.GetHelp() + c = nil + c.GetHelp() +} + +func TestCodeQualityFindingRule_GetID(tt *testing.T) { + tt.Parallel() + c := &CodeQualityFindingRule{} + c.GetID() + c = nil + c.GetID() +} + +func TestCodeQualityFindingRule_GetSeverity(tt *testing.T) { + tt.Parallel() + c := &CodeQualityFindingRule{} + c.GetSeverity() + c = nil + c.GetSeverity() +} + +func TestCodeQualityFindingRule_GetTitle(tt *testing.T) { + tt.Parallel() + c := &CodeQualityFindingRule{} + c.GetTitle() + c = nil + c.GetTitle() +} + +func TestCodeQualitySetupConfiguration_GetLanguages(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &CodeQualitySetupConfiguration{Languages: zeroValue} + c.GetLanguages() + c = &CodeQualitySetupConfiguration{} + c.GetLanguages() + c = nil + c.GetLanguages() +} + +func TestCodeQualitySetupConfiguration_GetRunnerLabel(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeQualitySetupConfiguration{RunnerLabel: &zeroValue} + c.GetRunnerLabel() + c = &CodeQualitySetupConfiguration{} + c.GetRunnerLabel() + c = nil + c.GetRunnerLabel() +} + +func TestCodeQualitySetupConfiguration_GetRunnerType(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeQualitySetupConfiguration{RunnerType: &zeroValue} + c.GetRunnerType() + c = &CodeQualitySetupConfiguration{} + c.GetRunnerType() + c = nil + c.GetRunnerType() +} + +func TestCodeQualitySetupConfiguration_GetSchedule(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeQualitySetupConfiguration{Schedule: &zeroValue} + c.GetSchedule() + c = &CodeQualitySetupConfiguration{} + c.GetSchedule() + c = nil + c.GetSchedule() +} + +func TestCodeQualitySetupConfiguration_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeQualitySetupConfiguration{State: &zeroValue} + c.GetState() + c = &CodeQualitySetupConfiguration{} + c.GetState() + c = nil + c.GetState() +} + +func TestCodeQualitySetupConfiguration_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CodeQualitySetupConfiguration{UpdatedAt: &zeroValue} + c.GetUpdatedAt() + c = &CodeQualitySetupConfiguration{} + c.GetUpdatedAt() + c = nil + c.GetUpdatedAt() +} + +func TestCodeQualityUpdateSetupRequest_GetLanguages(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &CodeQualityUpdateSetupRequest{Languages: zeroValue} + c.GetLanguages() + c = &CodeQualityUpdateSetupRequest{} + c.GetLanguages() + c = nil + c.GetLanguages() +} + +func TestCodeQualityUpdateSetupRequest_GetRunnerLabel(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeQualityUpdateSetupRequest{RunnerLabel: &zeroValue} + c.GetRunnerLabel() + c = &CodeQualityUpdateSetupRequest{} + c.GetRunnerLabel() + c = nil + c.GetRunnerLabel() +} + +func TestCodeQualityUpdateSetupRequest_GetRunnerType(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeQualityUpdateSetupRequest{RunnerType: &zeroValue} + c.GetRunnerType() + c = &CodeQualityUpdateSetupRequest{} + c.GetRunnerType() + c = nil + c.GetRunnerType() +} + +func TestCodeQualityUpdateSetupRequest_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeQualityUpdateSetupRequest{State: &zeroValue} + c.GetState() + c = &CodeQualityUpdateSetupRequest{} + c.GetState() + c = nil + c.GetState() +} + +func TestCodeQualityUpdateSetupResponse_GetRunID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &CodeQualityUpdateSetupResponse{RunID: &zeroValue} + c.GetRunID() + c = &CodeQualityUpdateSetupResponse{} + c.GetRunID() + c = nil + c.GetRunID() +} + +func TestCodeQualityUpdateSetupResponse_GetRunURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeQualityUpdateSetupResponse{RunURL: &zeroValue} + c.GetRunURL() + c = &CodeQualityUpdateSetupResponse{} + c.GetRunURL() + c = nil + c.GetRunURL() +} + +func TestCodeResult_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeResult{HTMLURL: &zeroValue} + c.GetHTMLURL() + c = &CodeResult{} + c.GetHTMLURL() + c = nil + c.GetHTMLURL() +} + +func TestCodeResult_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeResult{Name: &zeroValue} + c.GetName() + c = &CodeResult{} + c.GetName() + c = nil + c.GetName() +} + +func TestCodeResult_GetPath(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeResult{Path: &zeroValue} + c.GetPath() + c = &CodeResult{} + c.GetPath() + c = nil + c.GetPath() +} + +func TestCodeResult_GetRepository(tt *testing.T) { + tt.Parallel() + c := &CodeResult{} + c.GetRepository() + c = nil + c.GetRepository() +} + +func TestCodeResult_GetSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeResult{SHA: &zeroValue} + c.GetSHA() + c = &CodeResult{} + c.GetSHA() + c = nil + 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 + c := &CodeScanningAlertEvent{Action: &zeroValue} + c.GetAction() + c = &CodeScanningAlertEvent{} + c.GetAction() + c = nil + c.GetAction() +} + +func TestCodeScanningAlertEvent_GetAlert(tt *testing.T) { + tt.Parallel() + c := &CodeScanningAlertEvent{} + c.GetAlert() + c = nil + c.GetAlert() +} + +func TestCodeScanningAlertEvent_GetCommitOID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeScanningAlertEvent{CommitOID: &zeroValue} + c.GetCommitOID() + c = &CodeScanningAlertEvent{} + c.GetCommitOID() + c = nil + c.GetCommitOID() +} + +func TestCodeScanningAlertEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + c := &CodeScanningAlertEvent{} + c.GetInstallation() + c = nil + c.GetInstallation() +} + +func TestCodeScanningAlertEvent_GetOrg(tt *testing.T) { + tt.Parallel() + c := &CodeScanningAlertEvent{} + c.GetOrg() + c = nil + c.GetOrg() +} + +func TestCodeScanningAlertEvent_GetRef(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeScanningAlertEvent{Ref: &zeroValue} + c.GetRef() + c = &CodeScanningAlertEvent{} + c.GetRef() + c = nil + c.GetRef() +} + +func TestCodeScanningAlertEvent_GetRepo(tt *testing.T) { + tt.Parallel() + c := &CodeScanningAlertEvent{} + c.GetRepo() + c = nil + c.GetRepo() +} + +func TestCodeScanningAlertEvent_GetSender(tt *testing.T) { + tt.Parallel() + c := &CodeScanningAlertEvent{} + c.GetSender() + c = nil + c.GetSender() +} + +func TestCodeScanningAlertState_GetDismissedComment(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeScanningAlertState{DismissedComment: &zeroValue} + c.GetDismissedComment() + c = &CodeScanningAlertState{} + c.GetDismissedComment() + c = nil + c.GetDismissedComment() +} + +func TestCodeScanningAlertState_GetDismissedReason(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeScanningAlertState{DismissedReason: &zeroValue} + c.GetDismissedReason() + c = &CodeScanningAlertState{} + c.GetDismissedReason() + c = nil + 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 + c := &CodeScanningDefaultSetupOptions{RunnerLabel: &zeroValue} + c.GetRunnerLabel() + c = &CodeScanningDefaultSetupOptions{} + c.GetRunnerLabel() + c = nil + 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 + c := &CodeScanningOptions{AllowAdvanced: &zeroValue} + c.GetAllowAdvanced() + c = &CodeScanningOptions{} + c.GetAllowAdvanced() + c = nil + 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 + c := &CodeSearchResult{IncompleteResults: &zeroValue} + c.GetIncompleteResults() + c = &CodeSearchResult{} + c.GetIncompleteResults() + c = nil + c.GetIncompleteResults() +} + +func TestCodeSearchResult_GetTotal(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CodeSearchResult{Total: &zeroValue} + c.GetTotal() + c = &CodeSearchResult{} + c.GetTotal() + c = nil + c.GetTotal() +} + +func TestCodeSecurity_GetStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeSecurity{Status: &zeroValue} + c.GetStatus() + c = &CodeSecurity{} + c.GetStatus() + c = nil + c.GetStatus() +} + +func TestCodeSecurityConfiguration_GetAdvancedSecurity(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeSecurityConfiguration{AdvancedSecurity: &zeroValue} + c.GetAdvancedSecurity() + c = &CodeSecurityConfiguration{} + c.GetAdvancedSecurity() + c = nil + c.GetAdvancedSecurity() +} + +func TestCodeSecurityConfiguration_GetCodeScanningDefaultSetup(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeSecurityConfiguration{CodeScanningDefaultSetup: &zeroValue} + c.GetCodeScanningDefaultSetup() + c = &CodeSecurityConfiguration{} + c.GetCodeScanningDefaultSetup() + c = nil + c.GetCodeScanningDefaultSetup() +} + +func TestCodeSecurityConfiguration_GetCodeScanningDefaultSetupOptions(tt *testing.T) { + tt.Parallel() + c := &CodeSecurityConfiguration{} + c.GetCodeScanningDefaultSetupOptions() + c = nil + c.GetCodeScanningDefaultSetupOptions() +} + +func TestCodeSecurityConfiguration_GetCodeScanningDelegatedAlertDismissal(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeSecurityConfiguration{CodeScanningDelegatedAlertDismissal: &zeroValue} + c.GetCodeScanningDelegatedAlertDismissal() + c = &CodeSecurityConfiguration{} + c.GetCodeScanningDelegatedAlertDismissal() + c = nil + c.GetCodeScanningDelegatedAlertDismissal() +} + +func TestCodeSecurityConfiguration_GetCodeScanningOptions(tt *testing.T) { + tt.Parallel() + c := &CodeSecurityConfiguration{} + c.GetCodeScanningOptions() + c = nil + c.GetCodeScanningOptions() +} + +func TestCodeSecurityConfiguration_GetCodeSecurity(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeSecurityConfiguration{CodeSecurity: &zeroValue} + c.GetCodeSecurity() + c = &CodeSecurityConfiguration{} + c.GetCodeSecurity() + c = nil + c.GetCodeSecurity() +} + +func TestCodeSecurityConfiguration_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CodeSecurityConfiguration{CreatedAt: &zeroValue} + c.GetCreatedAt() + c = &CodeSecurityConfiguration{} + c.GetCreatedAt() + c = nil + c.GetCreatedAt() +} + +func TestCodeSecurityConfiguration_GetDependabotAlerts(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeSecurityConfiguration{DependabotAlerts: &zeroValue} + c.GetDependabotAlerts() + c = &CodeSecurityConfiguration{} + c.GetDependabotAlerts() + c = nil + c.GetDependabotAlerts() +} + +func TestCodeSecurityConfiguration_GetDependabotDelegatedAlertDismissal(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeSecurityConfiguration{DependabotDelegatedAlertDismissal: &zeroValue} + c.GetDependabotDelegatedAlertDismissal() + c = &CodeSecurityConfiguration{} + c.GetDependabotDelegatedAlertDismissal() + c = nil + c.GetDependabotDelegatedAlertDismissal() +} + +func TestCodeSecurityConfiguration_GetDependabotSecurityUpdates(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeSecurityConfiguration{DependabotSecurityUpdates: &zeroValue} + c.GetDependabotSecurityUpdates() + c = &CodeSecurityConfiguration{} + c.GetDependabotSecurityUpdates() + c = nil + c.GetDependabotSecurityUpdates() +} + +func TestCodeSecurityConfiguration_GetDependencyGraph(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeSecurityConfiguration{DependencyGraph: &zeroValue} + c.GetDependencyGraph() + c = &CodeSecurityConfiguration{} + c.GetDependencyGraph() + c = nil + c.GetDependencyGraph() +} + +func TestCodeSecurityConfiguration_GetDependencyGraphAutosubmitAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeSecurityConfiguration{DependencyGraphAutosubmitAction: &zeroValue} + c.GetDependencyGraphAutosubmitAction() + c = &CodeSecurityConfiguration{} + c.GetDependencyGraphAutosubmitAction() + c = nil + c.GetDependencyGraphAutosubmitAction() +} + +func TestCodeSecurityConfiguration_GetDependencyGraphAutosubmitActionOptions(tt *testing.T) { + tt.Parallel() + c := &CodeSecurityConfiguration{} + c.GetDependencyGraphAutosubmitActionOptions() + c = nil + 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 + c := &CodeSecurityConfiguration{Enforcement: &zeroValue} + c.GetEnforcement() + c = &CodeSecurityConfiguration{} + c.GetEnforcement() + c = nil + c.GetEnforcement() +} + +func TestCodeSecurityConfiguration_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeSecurityConfiguration{HTMLURL: &zeroValue} + c.GetHTMLURL() + c = &CodeSecurityConfiguration{} + c.GetHTMLURL() + c = nil + c.GetHTMLURL() +} + +func TestCodeSecurityConfiguration_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &CodeSecurityConfiguration{ID: &zeroValue} + c.GetID() + c = &CodeSecurityConfiguration{} + c.GetID() + c = nil + 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 + c := &CodeSecurityConfiguration{PrivateVulnerabilityReporting: &zeroValue} + c.GetPrivateVulnerabilityReporting() + c = &CodeSecurityConfiguration{} + c.GetPrivateVulnerabilityReporting() + c = nil + c.GetPrivateVulnerabilityReporting() +} + +func TestCodeSecurityConfiguration_GetSecretProtection(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeSecurityConfiguration{SecretProtection: &zeroValue} + c.GetSecretProtection() + c = &CodeSecurityConfiguration{} + c.GetSecretProtection() + c = nil + c.GetSecretProtection() +} + +func TestCodeSecurityConfiguration_GetSecretScanning(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeSecurityConfiguration{SecretScanning: &zeroValue} + c.GetSecretScanning() + c = &CodeSecurityConfiguration{} + c.GetSecretScanning() + c = nil + c.GetSecretScanning() +} + +func TestCodeSecurityConfiguration_GetSecretScanningDelegatedAlertDismissal(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeSecurityConfiguration{SecretScanningDelegatedAlertDismissal: &zeroValue} + c.GetSecretScanningDelegatedAlertDismissal() + c = &CodeSecurityConfiguration{} + c.GetSecretScanningDelegatedAlertDismissal() + c = nil + c.GetSecretScanningDelegatedAlertDismissal() +} + +func TestCodeSecurityConfiguration_GetSecretScanningDelegatedBypass(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeSecurityConfiguration{SecretScanningDelegatedBypass: &zeroValue} + c.GetSecretScanningDelegatedBypass() + c = &CodeSecurityConfiguration{} + c.GetSecretScanningDelegatedBypass() + c = nil + c.GetSecretScanningDelegatedBypass() +} + +func TestCodeSecurityConfiguration_GetSecretScanningDelegatedBypassOptions(tt *testing.T) { + tt.Parallel() + c := &CodeSecurityConfiguration{} + c.GetSecretScanningDelegatedBypassOptions() + c = nil + c.GetSecretScanningDelegatedBypassOptions() +} + +func TestCodeSecurityConfiguration_GetSecretScanningExtendedMetadata(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeSecurityConfiguration{SecretScanningExtendedMetadata: &zeroValue} + c.GetSecretScanningExtendedMetadata() + c = &CodeSecurityConfiguration{} + c.GetSecretScanningExtendedMetadata() + c = nil + c.GetSecretScanningExtendedMetadata() +} + +func TestCodeSecurityConfiguration_GetSecretScanningGenericSecrets(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeSecurityConfiguration{SecretScanningGenericSecrets: &zeroValue} + c.GetSecretScanningGenericSecrets() + c = &CodeSecurityConfiguration{} + c.GetSecretScanningGenericSecrets() + c = nil + c.GetSecretScanningGenericSecrets() +} + +func TestCodeSecurityConfiguration_GetSecretScanningNonProviderPatterns(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeSecurityConfiguration{SecretScanningNonProviderPatterns: &zeroValue} + c.GetSecretScanningNonProviderPatterns() + c = &CodeSecurityConfiguration{} + c.GetSecretScanningNonProviderPatterns() + c = nil + c.GetSecretScanningNonProviderPatterns() +} + +func TestCodeSecurityConfiguration_GetSecretScanningPushProtection(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeSecurityConfiguration{SecretScanningPushProtection: &zeroValue} + c.GetSecretScanningPushProtection() + c = &CodeSecurityConfiguration{} + c.GetSecretScanningPushProtection() + c = nil + c.GetSecretScanningPushProtection() +} + +func TestCodeSecurityConfiguration_GetSecretScanningValidityChecks(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeSecurityConfiguration{SecretScanningValidityChecks: &zeroValue} + c.GetSecretScanningValidityChecks() + c = &CodeSecurityConfiguration{} + c.GetSecretScanningValidityChecks() + c = nil + c.GetSecretScanningValidityChecks() +} + +func TestCodeSecurityConfiguration_GetTargetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeSecurityConfiguration{TargetType: &zeroValue} + c.GetTargetType() + c = &CodeSecurityConfiguration{} + c.GetTargetType() + c = nil + c.GetTargetType() +} + +func TestCodeSecurityConfiguration_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CodeSecurityConfiguration{UpdatedAt: &zeroValue} + c.GetUpdatedAt() + c = &CodeSecurityConfiguration{} + c.GetUpdatedAt() + c = nil + c.GetUpdatedAt() +} + +func TestCodeSecurityConfiguration_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeSecurityConfiguration{URL: &zeroValue} + c.GetURL() + c = &CodeSecurityConfiguration{} + c.GetURL() + c = nil + c.GetURL() +} + +func TestCodeSecurityConfigurationWithDefaultForNewRepos_GetConfiguration(tt *testing.T) { + tt.Parallel() + c := &CodeSecurityConfigurationWithDefaultForNewRepos{} + c.GetConfiguration() + c = nil + c.GetConfiguration() +} + +func TestCodeSecurityConfigurationWithDefaultForNewRepos_GetDefaultForNewRepos(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodeSecurityConfigurationWithDefaultForNewRepos{DefaultForNewRepos: &zeroValue} + c.GetDefaultForNewRepos() + c = &CodeSecurityConfigurationWithDefaultForNewRepos{} + c.GetDefaultForNewRepos() + c = nil + c.GetDefaultForNewRepos() +} + +func TestCodespace_GetBillableOwner(tt *testing.T) { + tt.Parallel() + c := &Codespace{} + c.GetBillableOwner() + c = nil + c.GetBillableOwner() +} + +func TestCodespace_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &Codespace{CreatedAt: &zeroValue} + c.GetCreatedAt() + c = &Codespace{} + c.GetCreatedAt() + c = nil + c.GetCreatedAt() +} + +func TestCodespace_GetDevcontainerPath(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Codespace{DevcontainerPath: &zeroValue} + c.GetDevcontainerPath() + c = &Codespace{} + c.GetDevcontainerPath() + c = nil + c.GetDevcontainerPath() +} + +func TestCodespace_GetDisplayName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Codespace{DisplayName: &zeroValue} + c.GetDisplayName() + c = &Codespace{} + c.GetDisplayName() + c = nil + c.GetDisplayName() +} + +func TestCodespace_GetEnvironmentID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Codespace{EnvironmentID: &zeroValue} + c.GetEnvironmentID() + c = &Codespace{} + c.GetEnvironmentID() + c = nil + c.GetEnvironmentID() +} + +func TestCodespace_GetGitStatus(tt *testing.T) { + tt.Parallel() + c := &Codespace{} + c.GetGitStatus() + c = nil + c.GetGitStatus() +} + +func TestCodespace_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &Codespace{ID: &zeroValue} + c.GetID() + c = &Codespace{} + c.GetID() + c = nil + c.GetID() +} + +func TestCodespace_GetIdleTimeoutMinutes(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &Codespace{IdleTimeoutMinutes: &zeroValue} + c.GetIdleTimeoutMinutes() + c = &Codespace{} + c.GetIdleTimeoutMinutes() + c = nil + c.GetIdleTimeoutMinutes() +} + +func TestCodespace_GetIdleTimeoutNotice(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Codespace{IdleTimeoutNotice: &zeroValue} + c.GetIdleTimeoutNotice() + c = &Codespace{} + c.GetIdleTimeoutNotice() + c = nil + c.GetIdleTimeoutNotice() +} + +func TestCodespace_GetLastKnownStopNotice(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Codespace{LastKnownStopNotice: &zeroValue} + c.GetLastKnownStopNotice() + c = &Codespace{} + c.GetLastKnownStopNotice() + c = nil + c.GetLastKnownStopNotice() +} + +func TestCodespace_GetLastUsedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &Codespace{LastUsedAt: &zeroValue} + c.GetLastUsedAt() + c = &Codespace{} + c.GetLastUsedAt() + c = nil + c.GetLastUsedAt() +} + +func TestCodespace_GetLocation(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Codespace{Location: &zeroValue} + c.GetLocation() + c = &Codespace{} + c.GetLocation() + c = nil + c.GetLocation() +} + +func TestCodespace_GetMachine(tt *testing.T) { + tt.Parallel() + c := &Codespace{} + c.GetMachine() + c = nil + c.GetMachine() +} + +func TestCodespace_GetMachinesURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Codespace{MachinesURL: &zeroValue} + c.GetMachinesURL() + c = &Codespace{} + c.GetMachinesURL() + c = nil + c.GetMachinesURL() +} + +func TestCodespace_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Codespace{Name: &zeroValue} + c.GetName() + c = &Codespace{} + c.GetName() + c = nil + c.GetName() +} + +func TestCodespace_GetOwner(tt *testing.T) { + tt.Parallel() + c := &Codespace{} + c.GetOwner() + c = nil + c.GetOwner() +} + +func TestCodespace_GetPendingOperation(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &Codespace{PendingOperation: &zeroValue} + c.GetPendingOperation() + c = &Codespace{} + c.GetPendingOperation() + c = nil + c.GetPendingOperation() +} + +func TestCodespace_GetPendingOperationDisabledReason(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Codespace{PendingOperationDisabledReason: &zeroValue} + c.GetPendingOperationDisabledReason() + c = &Codespace{} + c.GetPendingOperationDisabledReason() + c = nil + c.GetPendingOperationDisabledReason() +} + +func TestCodespace_GetPrebuild(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &Codespace{Prebuild: &zeroValue} + c.GetPrebuild() + c = &Codespace{} + c.GetPrebuild() + c = nil + c.GetPrebuild() +} + +func TestCodespace_GetPullsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Codespace{PullsURL: &zeroValue} + c.GetPullsURL() + c = &Codespace{} + c.GetPullsURL() + c = nil + 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{} + c.GetRepository() + c = nil + c.GetRepository() +} + +func TestCodespace_GetRetentionExpiresAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &Codespace{RetentionExpiresAt: &zeroValue} + c.GetRetentionExpiresAt() + c = &Codespace{} + c.GetRetentionExpiresAt() + c = nil + c.GetRetentionExpiresAt() +} + +func TestCodespace_GetRetentionPeriodMinutes(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &Codespace{RetentionPeriodMinutes: &zeroValue} + c.GetRetentionPeriodMinutes() + c = &Codespace{} + c.GetRetentionPeriodMinutes() + c = nil + c.GetRetentionPeriodMinutes() +} + +func TestCodespace_GetRuntimeConstraints(tt *testing.T) { + tt.Parallel() + c := &Codespace{} + c.GetRuntimeConstraints() + c = nil + c.GetRuntimeConstraints() +} + +func TestCodespace_GetStartURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Codespace{StartURL: &zeroValue} + c.GetStartURL() + c = &Codespace{} + c.GetStartURL() + c = nil + c.GetStartURL() +} + +func TestCodespace_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Codespace{State: &zeroValue} + c.GetState() + c = &Codespace{} + c.GetState() + c = nil + c.GetState() +} + +func TestCodespace_GetStopURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Codespace{StopURL: &zeroValue} + c.GetStopURL() + c = &Codespace{} + c.GetStopURL() + c = nil + c.GetStopURL() +} + +func TestCodespace_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &Codespace{UpdatedAt: &zeroValue} + c.GetUpdatedAt() + c = &Codespace{} + c.GetUpdatedAt() + c = nil + c.GetUpdatedAt() +} + +func TestCodespace_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Codespace{URL: &zeroValue} + c.GetURL() + c = &Codespace{} + c.GetURL() + c = nil + c.GetURL() +} + +func TestCodespace_GetWebURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Codespace{WebURL: &zeroValue} + c.GetWebURL() + c = &Codespace{} + c.GetWebURL() + c = nil + c.GetWebURL() +} + +func TestCodespaceCreateForUserOptions_GetClientIP(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodespaceCreateForUserOptions{ClientIP: &zeroValue} + c.GetClientIP() + c = &CodespaceCreateForUserOptions{} + c.GetClientIP() + c = nil + c.GetClientIP() +} + +func TestCodespaceCreateForUserOptions_GetDevcontainerPath(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodespaceCreateForUserOptions{DevcontainerPath: &zeroValue} + c.GetDevcontainerPath() + c = &CodespaceCreateForUserOptions{} + c.GetDevcontainerPath() + c = nil + c.GetDevcontainerPath() +} + +func TestCodespaceCreateForUserOptions_GetDisplayName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodespaceCreateForUserOptions{DisplayName: &zeroValue} + c.GetDisplayName() + c = &CodespaceCreateForUserOptions{} + c.GetDisplayName() + c = nil + c.GetDisplayName() +} + +func TestCodespaceCreateForUserOptions_GetGeo(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodespaceCreateForUserOptions{Geo: &zeroValue} + c.GetGeo() + c = &CodespaceCreateForUserOptions{} + c.GetGeo() + c = nil + c.GetGeo() +} + +func TestCodespaceCreateForUserOptions_GetIdleTimeoutMinutes(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CodespaceCreateForUserOptions{IdleTimeoutMinutes: &zeroValue} + c.GetIdleTimeoutMinutes() + c = &CodespaceCreateForUserOptions{} + c.GetIdleTimeoutMinutes() + c = nil + c.GetIdleTimeoutMinutes() +} + +func TestCodespaceCreateForUserOptions_GetLocation(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodespaceCreateForUserOptions{Location: &zeroValue} + c.GetLocation() + c = &CodespaceCreateForUserOptions{} + c.GetLocation() + c = nil + c.GetLocation() +} + +func TestCodespaceCreateForUserOptions_GetMachine(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodespaceCreateForUserOptions{Machine: &zeroValue} + c.GetMachine() + c = &CodespaceCreateForUserOptions{} + c.GetMachine() + c = nil + c.GetMachine() +} + +func TestCodespaceCreateForUserOptions_GetMultiRepoPermissionsOptOut(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CodespaceCreateForUserOptions{MultiRepoPermissionsOptOut: &zeroValue} + c.GetMultiRepoPermissionsOptOut() + c = &CodespaceCreateForUserOptions{} + c.GetMultiRepoPermissionsOptOut() + c = nil + c.GetMultiRepoPermissionsOptOut() +} + +func TestCodespaceCreateForUserOptions_GetPullRequest(tt *testing.T) { + tt.Parallel() + c := &CodespaceCreateForUserOptions{} + c.GetPullRequest() + c = nil + c.GetPullRequest() +} + +func TestCodespaceCreateForUserOptions_GetRef(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodespaceCreateForUserOptions{Ref: &zeroValue} + c.GetRef() + c = &CodespaceCreateForUserOptions{} + c.GetRef() + c = nil + 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 + c := &CodespaceCreateForUserOptions{RetentionPeriodMinutes: &zeroValue} + c.GetRetentionPeriodMinutes() + c = &CodespaceCreateForUserOptions{} + c.GetRetentionPeriodMinutes() + c = nil + c.GetRetentionPeriodMinutes() +} + +func TestCodespaceCreateForUserOptions_GetWorkingDirectory(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodespaceCreateForUserOptions{WorkingDirectory: &zeroValue} + c.GetWorkingDirectory() + c = &CodespaceCreateForUserOptions{} + c.GetWorkingDirectory() + c = nil + c.GetWorkingDirectory() +} + +func TestCodespaceDefaultAttributes_GetBillableOwner(tt *testing.T) { + tt.Parallel() + c := &CodespaceDefaultAttributes{} + c.GetBillableOwner() + c = nil + c.GetBillableOwner() +} + +func TestCodespaceDefaultAttributes_GetDefaults(tt *testing.T) { + tt.Parallel() + c := &CodespaceDefaultAttributes{} + c.GetDefaults() + c = nil + c.GetDefaults() +} + +func TestCodespaceDefaults_GetDevcontainerPath(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodespaceDefaults{DevcontainerPath: &zeroValue} + c.GetDevcontainerPath() + c = &CodespaceDefaults{} + c.GetDevcontainerPath() + c = nil + 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 + c := &CodespaceExport{Branch: &zeroValue} + c.GetBranch() + c = &CodespaceExport{} + c.GetBranch() + c = nil + c.GetBranch() +} + +func TestCodespaceExport_GetCompletedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CodespaceExport{CompletedAt: &zeroValue} + c.GetCompletedAt() + c = &CodespaceExport{} + c.GetCompletedAt() + c = nil + c.GetCompletedAt() +} + +func TestCodespaceExport_GetExportURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodespaceExport{ExportURL: &zeroValue} + c.GetExportURL() + c = &CodespaceExport{} + c.GetExportURL() + c = nil + c.GetExportURL() +} + +func TestCodespaceExport_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodespaceExport{HTMLURL: &zeroValue} + c.GetHTMLURL() + c = &CodespaceExport{} + c.GetHTMLURL() + c = nil + c.GetHTMLURL() +} + +func TestCodespaceExport_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodespaceExport{ID: &zeroValue} + c.GetID() + c = &CodespaceExport{} + c.GetID() + c = nil + c.GetID() +} + +func TestCodespaceExport_GetSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodespaceExport{SHA: &zeroValue} + c.GetSHA() + c = &CodespaceExport{} + c.GetSHA() + c = nil + c.GetSHA() +} + +func TestCodespaceExport_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodespaceExport{State: &zeroValue} + c.GetState() + c = &CodespaceExport{} + c.GetState() + c = nil + c.GetState() +} + +func TestCodespaceGetDefaultAttributesOptions_GetClientIP(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodespaceGetDefaultAttributesOptions{ClientIP: &zeroValue} + c.GetClientIP() + c = &CodespaceGetDefaultAttributesOptions{} + c.GetClientIP() + c = nil + c.GetClientIP() +} + +func TestCodespaceGetDefaultAttributesOptions_GetRef(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodespaceGetDefaultAttributesOptions{Ref: &zeroValue} + c.GetRef() + c = &CodespaceGetDefaultAttributesOptions{} + c.GetRef() + c = nil + 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 + c := &CodespacesGitStatus{Ahead: &zeroValue} + c.GetAhead() + c = &CodespacesGitStatus{} + c.GetAhead() + c = nil + c.GetAhead() +} + +func TestCodespacesGitStatus_GetBehind(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CodespacesGitStatus{Behind: &zeroValue} + c.GetBehind() + c = &CodespacesGitStatus{} + c.GetBehind() + c = nil + c.GetBehind() +} + +func TestCodespacesGitStatus_GetHasUncommittedChanges(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CodespacesGitStatus{HasUncommittedChanges: &zeroValue} + c.GetHasUncommittedChanges() + c = &CodespacesGitStatus{} + c.GetHasUncommittedChanges() + c = nil + c.GetHasUncommittedChanges() +} + +func TestCodespacesGitStatus_GetHasUnpushedChanges(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CodespacesGitStatus{HasUnpushedChanges: &zeroValue} + c.GetHasUnpushedChanges() + c = &CodespacesGitStatus{} + c.GetHasUnpushedChanges() + c = nil + c.GetHasUnpushedChanges() +} + +func TestCodespacesGitStatus_GetRef(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodespacesGitStatus{Ref: &zeroValue} + c.GetRef() + c = &CodespacesGitStatus{} + c.GetRef() + c = nil + c.GetRef() +} + +func TestCodespacesMachine_GetCPUs(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CodespacesMachine{CPUs: &zeroValue} + c.GetCPUs() + c = &CodespacesMachine{} + c.GetCPUs() + c = nil + c.GetCPUs() +} + +func TestCodespacesMachine_GetDisplayName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodespacesMachine{DisplayName: &zeroValue} + c.GetDisplayName() + c = &CodespacesMachine{} + c.GetDisplayName() + c = nil + c.GetDisplayName() +} + +func TestCodespacesMachine_GetMemoryInBytes(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &CodespacesMachine{MemoryInBytes: &zeroValue} + c.GetMemoryInBytes() + c = &CodespacesMachine{} + c.GetMemoryInBytes() + c = nil + c.GetMemoryInBytes() +} + +func TestCodespacesMachine_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodespacesMachine{Name: &zeroValue} + c.GetName() + c = &CodespacesMachine{} + c.GetName() + c = nil + c.GetName() +} + +func TestCodespacesMachine_GetOperatingSystem(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodespacesMachine{OperatingSystem: &zeroValue} + c.GetOperatingSystem() + c = &CodespacesMachine{} + c.GetOperatingSystem() + c = nil + c.GetOperatingSystem() +} + +func TestCodespacesMachine_GetPrebuildAvailability(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CodespacesMachine{PrebuildAvailability: &zeroValue} + c.GetPrebuildAvailability() + c = &CodespacesMachine{} + c.GetPrebuildAvailability() + c = nil + c.GetPrebuildAvailability() +} + +func TestCodespacesMachine_GetStorageInBytes(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &CodespacesMachine{StorageInBytes: &zeroValue} + c.GetStorageInBytes() + c = &CodespacesMachine{} + c.GetStorageInBytes() + c = nil + 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 + c := &CollaboratorInvitation{CreatedAt: &zeroValue} + c.GetCreatedAt() + c = &CollaboratorInvitation{} + c.GetCreatedAt() + c = nil + c.GetCreatedAt() +} + +func TestCollaboratorInvitation_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CollaboratorInvitation{HTMLURL: &zeroValue} + c.GetHTMLURL() + c = &CollaboratorInvitation{} + c.GetHTMLURL() + c = nil + c.GetHTMLURL() +} + +func TestCollaboratorInvitation_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &CollaboratorInvitation{ID: &zeroValue} + c.GetID() + c = &CollaboratorInvitation{} + c.GetID() + c = nil + c.GetID() +} + +func TestCollaboratorInvitation_GetInvitee(tt *testing.T) { + tt.Parallel() + c := &CollaboratorInvitation{} + c.GetInvitee() + c = nil + c.GetInvitee() +} + +func TestCollaboratorInvitation_GetInviter(tt *testing.T) { + tt.Parallel() + c := &CollaboratorInvitation{} + c.GetInviter() + c = nil + c.GetInviter() +} + +func TestCollaboratorInvitation_GetPermissions(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CollaboratorInvitation{Permissions: &zeroValue} + c.GetPermissions() + c = &CollaboratorInvitation{} + c.GetPermissions() + c = nil + c.GetPermissions() +} + +func TestCollaboratorInvitation_GetRepo(tt *testing.T) { + tt.Parallel() + c := &CollaboratorInvitation{} + c.GetRepo() + c = nil + c.GetRepo() +} + +func TestCollaboratorInvitation_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CollaboratorInvitation{URL: &zeroValue} + c.GetURL() + c = &CollaboratorInvitation{} + c.GetURL() + c = nil + c.GetURL() +} + +func TestCombinedStatus_GetCommitURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CombinedStatus{CommitURL: &zeroValue} + c.GetCommitURL() + c = &CombinedStatus{} + c.GetCommitURL() + c = nil + c.GetCommitURL() +} + +func TestCombinedStatus_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CombinedStatus{Name: &zeroValue} + c.GetName() + c = &CombinedStatus{} + c.GetName() + c = nil + c.GetName() +} + +func TestCombinedStatus_GetRepositoryURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CombinedStatus{RepositoryURL: &zeroValue} + c.GetRepositoryURL() + c = &CombinedStatus{} + c.GetRepositoryURL() + c = nil + c.GetRepositoryURL() +} + +func TestCombinedStatus_GetSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CombinedStatus{SHA: &zeroValue} + c.GetSHA() + c = &CombinedStatus{} + c.GetSHA() + c = nil + c.GetSHA() +} + +func TestCombinedStatus_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CombinedStatus{State: &zeroValue} + c.GetState() + c = &CombinedStatus{} + c.GetState() + c = nil + 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 + c := &CombinedStatus{TotalCount: &zeroValue} + c.GetTotalCount() + c = &CombinedStatus{} + c.GetTotalCount() + c = nil + 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 + c := &Comment{CreatedAt: &zeroValue} + c.GetCreatedAt() + c = &Comment{} + c.GetCreatedAt() + c = nil + c.GetCreatedAt() +} + +func TestCommentDiscussion_GetAuthorAssociation(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommentDiscussion{AuthorAssociation: &zeroValue} + c.GetAuthorAssociation() + c = &CommentDiscussion{} + c.GetAuthorAssociation() + c = nil + c.GetAuthorAssociation() +} + +func TestCommentDiscussion_GetBody(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommentDiscussion{Body: &zeroValue} + c.GetBody() + c = &CommentDiscussion{} + c.GetBody() + c = nil + c.GetBody() +} + +func TestCommentDiscussion_GetChildCommentCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CommentDiscussion{ChildCommentCount: &zeroValue} + c.GetChildCommentCount() + c = &CommentDiscussion{} + c.GetChildCommentCount() + c = nil + c.GetChildCommentCount() +} + +func TestCommentDiscussion_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CommentDiscussion{CreatedAt: &zeroValue} + c.GetCreatedAt() + c = &CommentDiscussion{} + c.GetCreatedAt() + c = nil + c.GetCreatedAt() +} + +func TestCommentDiscussion_GetDiscussionID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &CommentDiscussion{DiscussionID: &zeroValue} + c.GetDiscussionID() + c = &CommentDiscussion{} + c.GetDiscussionID() + c = nil + c.GetDiscussionID() +} + +func TestCommentDiscussion_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommentDiscussion{HTMLURL: &zeroValue} + c.GetHTMLURL() + c = &CommentDiscussion{} + c.GetHTMLURL() + c = nil + c.GetHTMLURL() +} + +func TestCommentDiscussion_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &CommentDiscussion{ID: &zeroValue} + c.GetID() + c = &CommentDiscussion{} + c.GetID() + c = nil + c.GetID() +} + +func TestCommentDiscussion_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommentDiscussion{NodeID: &zeroValue} + c.GetNodeID() + c = &CommentDiscussion{} + c.GetNodeID() + c = nil + c.GetNodeID() +} + +func TestCommentDiscussion_GetParentID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &CommentDiscussion{ParentID: &zeroValue} + c.GetParentID() + c = &CommentDiscussion{} + c.GetParentID() + c = nil + c.GetParentID() +} + +func TestCommentDiscussion_GetReactions(tt *testing.T) { + tt.Parallel() + c := &CommentDiscussion{} + c.GetReactions() + c = nil + c.GetReactions() +} + +func TestCommentDiscussion_GetRepositoryURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommentDiscussion{RepositoryURL: &zeroValue} + c.GetRepositoryURL() + c = &CommentDiscussion{} + c.GetRepositoryURL() + c = nil + c.GetRepositoryURL() +} + +func TestCommentDiscussion_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CommentDiscussion{UpdatedAt: &zeroValue} + c.GetUpdatedAt() + c = &CommentDiscussion{} + c.GetUpdatedAt() + c = nil + c.GetUpdatedAt() +} + +func TestCommentDiscussion_GetUser(tt *testing.T) { + tt.Parallel() + c := &CommentDiscussion{} + c.GetUser() + c = nil + c.GetUser() +} + +func TestCommentStats_GetTotalCommitComments(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CommentStats{TotalCommitComments: &zeroValue} + c.GetTotalCommitComments() + c = &CommentStats{} + c.GetTotalCommitComments() + c = nil + c.GetTotalCommitComments() +} + +func TestCommentStats_GetTotalGistComments(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CommentStats{TotalGistComments: &zeroValue} + c.GetTotalGistComments() + c = &CommentStats{} + c.GetTotalGistComments() + c = nil + c.GetTotalGistComments() +} + +func TestCommentStats_GetTotalIssueComments(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CommentStats{TotalIssueComments: &zeroValue} + c.GetTotalIssueComments() + c = &CommentStats{} + c.GetTotalIssueComments() + c = nil + c.GetTotalIssueComments() +} + +func TestCommentStats_GetTotalPullRequestComments(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CommentStats{TotalPullRequestComments: &zeroValue} + c.GetTotalPullRequestComments() + c = &CommentStats{} + c.GetTotalPullRequestComments() + c = nil + c.GetTotalPullRequestComments() +} + +func TestCommit_GetAuthor(tt *testing.T) { + tt.Parallel() + c := &Commit{} + c.GetAuthor() + c = nil + c.GetAuthor() +} + +func TestCommit_GetCommentCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &Commit{CommentCount: &zeroValue} + c.GetCommentCount() + c = &Commit{} + c.GetCommentCount() + c = nil + c.GetCommentCount() +} + +func TestCommit_GetCommitter(tt *testing.T) { + tt.Parallel() + c := &Commit{} + c.GetCommitter() + c = nil + c.GetCommitter() +} + +func TestCommit_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Commit{HTMLURL: &zeroValue} + c.GetHTMLURL() + c = &Commit{} + c.GetHTMLURL() + c = nil + c.GetHTMLURL() +} + +func TestCommit_GetMessage(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Commit{Message: &zeroValue} + c.GetMessage() + c = &Commit{} + c.GetMessage() + c = nil + c.GetMessage() +} + +func TestCommit_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Commit{NodeID: &zeroValue} + c.GetNodeID() + c = &Commit{} + c.GetNodeID() + c = nil + 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 + c := &Commit{SHA: &zeroValue} + c.GetSHA() + c = &Commit{} + c.GetSHA() + c = nil + c.GetSHA() +} + +func TestCommit_GetTree(tt *testing.T) { + tt.Parallel() + c := &Commit{} + c.GetTree() + c = nil + c.GetTree() +} + +func TestCommit_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Commit{URL: &zeroValue} + c.GetURL() + c = &Commit{} + c.GetURL() + c = nil + c.GetURL() +} + +func TestCommit_GetVerification(tt *testing.T) { + tt.Parallel() + c := &Commit{} + c.GetVerification() + c = nil + c.GetVerification() +} + +func TestCommitAuthor_GetDate(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CommitAuthor{Date: &zeroValue} + c.GetDate() + c = &CommitAuthor{} + c.GetDate() + c = nil + c.GetDate() +} + +func TestCommitAuthor_GetEmail(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommitAuthor{Email: &zeroValue} + c.GetEmail() + c = &CommitAuthor{} + c.GetEmail() + c = nil + c.GetEmail() +} + +func TestCommitAuthor_GetLogin(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommitAuthor{Login: &zeroValue} + c.GetLogin() + c = &CommitAuthor{} + c.GetLogin() + c = nil + c.GetLogin() +} + +func TestCommitAuthor_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommitAuthor{Name: &zeroValue} + c.GetName() + c = &CommitAuthor{} + c.GetName() + c = nil + c.GetName() +} + +func TestCommitCommentEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommitCommentEvent{Action: &zeroValue} + c.GetAction() + c = &CommitCommentEvent{} + c.GetAction() + c = nil + c.GetAction() +} + +func TestCommitCommentEvent_GetComment(tt *testing.T) { + tt.Parallel() + c := &CommitCommentEvent{} + c.GetComment() + c = nil + c.GetComment() +} + +func TestCommitCommentEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + c := &CommitCommentEvent{} + c.GetInstallation() + c = nil + c.GetInstallation() +} + +func TestCommitCommentEvent_GetOrg(tt *testing.T) { + tt.Parallel() + c := &CommitCommentEvent{} + c.GetOrg() + c = nil + c.GetOrg() +} + +func TestCommitCommentEvent_GetRepo(tt *testing.T) { + tt.Parallel() + c := &CommitCommentEvent{} + c.GetRepo() + c = nil + c.GetRepo() +} + +func TestCommitCommentEvent_GetSender(tt *testing.T) { + tt.Parallel() + c := &CommitCommentEvent{} + c.GetSender() + c = nil + c.GetSender() +} + +func TestCommitFile_GetAdditions(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CommitFile{Additions: &zeroValue} + c.GetAdditions() + c = &CommitFile{} + c.GetAdditions() + c = nil + c.GetAdditions() +} + +func TestCommitFile_GetBlobURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommitFile{BlobURL: &zeroValue} + c.GetBlobURL() + c = &CommitFile{} + c.GetBlobURL() + c = nil + c.GetBlobURL() +} + +func TestCommitFile_GetChanges(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CommitFile{Changes: &zeroValue} + c.GetChanges() + c = &CommitFile{} + c.GetChanges() + c = nil + c.GetChanges() +} + +func TestCommitFile_GetContentsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommitFile{ContentsURL: &zeroValue} + c.GetContentsURL() + c = &CommitFile{} + c.GetContentsURL() + c = nil + c.GetContentsURL() +} + +func TestCommitFile_GetDeletions(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CommitFile{Deletions: &zeroValue} + c.GetDeletions() + c = &CommitFile{} + c.GetDeletions() + c = nil + c.GetDeletions() +} + +func TestCommitFile_GetFilename(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommitFile{Filename: &zeroValue} + c.GetFilename() + c = &CommitFile{} + c.GetFilename() + c = nil + c.GetFilename() +} + +func TestCommitFile_GetPatch(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommitFile{Patch: &zeroValue} + c.GetPatch() + c = &CommitFile{} + c.GetPatch() + c = nil + c.GetPatch() +} + +func TestCommitFile_GetPreviousFilename(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommitFile{PreviousFilename: &zeroValue} + c.GetPreviousFilename() + c = &CommitFile{} + c.GetPreviousFilename() + c = nil + c.GetPreviousFilename() +} + +func TestCommitFile_GetRawURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommitFile{RawURL: &zeroValue} + c.GetRawURL() + c = &CommitFile{} + c.GetRawURL() + c = nil + c.GetRawURL() +} + +func TestCommitFile_GetSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommitFile{SHA: &zeroValue} + c.GetSHA() + c = &CommitFile{} + c.GetSHA() + c = nil + c.GetSHA() +} + +func TestCommitFile_GetStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommitFile{Status: &zeroValue} + c.GetStatus() + c = &CommitFile{} + c.GetStatus() + c = nil + c.GetStatus() +} + +func TestCommitResult_GetAuthor(tt *testing.T) { + tt.Parallel() + c := &CommitResult{} + c.GetAuthor() + c = nil + c.GetAuthor() +} + +func TestCommitResult_GetCommentsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommitResult{CommentsURL: &zeroValue} + c.GetCommentsURL() + c = &CommitResult{} + c.GetCommentsURL() + c = nil + c.GetCommentsURL() +} + +func TestCommitResult_GetCommit(tt *testing.T) { + tt.Parallel() + c := &CommitResult{} + c.GetCommit() + c = nil + c.GetCommit() +} + +func TestCommitResult_GetCommitter(tt *testing.T) { + tt.Parallel() + c := &CommitResult{} + c.GetCommitter() + c = nil + c.GetCommitter() +} + +func TestCommitResult_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommitResult{HTMLURL: &zeroValue} + c.GetHTMLURL() + c = &CommitResult{} + c.GetHTMLURL() + c = nil + 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{} + c.GetRepository() + c = nil + c.GetRepository() +} + +func TestCommitResult_GetScore(tt *testing.T) { + tt.Parallel() + var zeroValue float64 + c := &CommitResult{Score: &zeroValue} + c.GetScore() + c = &CommitResult{} + c.GetScore() + c = nil + c.GetScore() +} + +func TestCommitResult_GetSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommitResult{SHA: &zeroValue} + c.GetSHA() + c = &CommitResult{} + c.GetSHA() + c = nil + c.GetSHA() +} + +func TestCommitResult_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommitResult{URL: &zeroValue} + c.GetURL() + c = &CommitResult{} + c.GetURL() + c = nil + c.GetURL() +} + +func TestCommitsComparison_GetAheadBy(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CommitsComparison{AheadBy: &zeroValue} + c.GetAheadBy() + c = &CommitsComparison{} + c.GetAheadBy() + c = nil + c.GetAheadBy() +} + +func TestCommitsComparison_GetBaseCommit(tt *testing.T) { + tt.Parallel() + c := &CommitsComparison{} + c.GetBaseCommit() + c = nil + c.GetBaseCommit() +} + +func TestCommitsComparison_GetBehindBy(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CommitsComparison{BehindBy: &zeroValue} + c.GetBehindBy() + c = &CommitsComparison{} + c.GetBehindBy() + c = nil + 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 + c := &CommitsComparison{DiffURL: &zeroValue} + c.GetDiffURL() + c = &CommitsComparison{} + c.GetDiffURL() + c = nil + 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 + c := &CommitsComparison{HTMLURL: &zeroValue} + c.GetHTMLURL() + c = &CommitsComparison{} + c.GetHTMLURL() + c = nil + c.GetHTMLURL() +} + +func TestCommitsComparison_GetMergeBaseCommit(tt *testing.T) { + tt.Parallel() + c := &CommitsComparison{} + c.GetMergeBaseCommit() + c = nil + c.GetMergeBaseCommit() +} + +func TestCommitsComparison_GetPatchURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommitsComparison{PatchURL: &zeroValue} + c.GetPatchURL() + c = &CommitsComparison{} + c.GetPatchURL() + c = nil + c.GetPatchURL() +} + +func TestCommitsComparison_GetPermalinkURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommitsComparison{PermalinkURL: &zeroValue} + c.GetPermalinkURL() + c = &CommitsComparison{} + c.GetPermalinkURL() + c = nil + c.GetPermalinkURL() +} + +func TestCommitsComparison_GetStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommitsComparison{Status: &zeroValue} + c.GetStatus() + c = &CommitsComparison{} + c.GetStatus() + c = nil + c.GetStatus() +} + +func TestCommitsComparison_GetTotalCommits(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CommitsComparison{TotalCommits: &zeroValue} + c.GetTotalCommits() + c = &CommitsComparison{} + c.GetTotalCommits() + c = nil + c.GetTotalCommits() +} + +func TestCommitsComparison_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommitsComparison{URL: &zeroValue} + c.GetURL() + c = &CommitsComparison{} + c.GetURL() + c = nil + 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 + c := &CommitsSearchResult{IncompleteResults: &zeroValue} + c.GetIncompleteResults() + c = &CommitsSearchResult{} + c.GetIncompleteResults() + c = nil + c.GetIncompleteResults() +} + +func TestCommitsSearchResult_GetTotal(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CommitsSearchResult{Total: &zeroValue} + c.GetTotal() + c = &CommitsSearchResult{} + c.GetTotal() + c = nil + c.GetTotal() +} + +func TestCommitStats_GetAdditions(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CommitStats{Additions: &zeroValue} + c.GetAdditions() + c = &CommitStats{} + c.GetAdditions() + c = nil + c.GetAdditions() +} + +func TestCommitStats_GetDeletions(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CommitStats{Deletions: &zeroValue} + c.GetDeletions() + c = &CommitStats{} + c.GetDeletions() + c = nil + c.GetDeletions() +} + +func TestCommitStats_GetTotal(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CommitStats{Total: &zeroValue} + c.GetTotal() + c = &CommitStats{} + c.GetTotal() + c = nil + c.GetTotal() +} + +func TestCommunityHealthFiles_GetCodeOfConduct(tt *testing.T) { + tt.Parallel() + c := &CommunityHealthFiles{} + c.GetCodeOfConduct() + c = nil + c.GetCodeOfConduct() +} + +func TestCommunityHealthFiles_GetCodeOfConductFile(tt *testing.T) { + tt.Parallel() + c := &CommunityHealthFiles{} + c.GetCodeOfConductFile() + c = nil + c.GetCodeOfConductFile() +} + +func TestCommunityHealthFiles_GetContributing(tt *testing.T) { + tt.Parallel() + c := &CommunityHealthFiles{} + c.GetContributing() + c = nil + c.GetContributing() +} + +func TestCommunityHealthFiles_GetIssueTemplate(tt *testing.T) { + tt.Parallel() + c := &CommunityHealthFiles{} + c.GetIssueTemplate() + c = nil + c.GetIssueTemplate() +} + +func TestCommunityHealthFiles_GetLicense(tt *testing.T) { + tt.Parallel() + c := &CommunityHealthFiles{} + c.GetLicense() + c = nil + c.GetLicense() +} + +func TestCommunityHealthFiles_GetPullRequestTemplate(tt *testing.T) { + tt.Parallel() + c := &CommunityHealthFiles{} + c.GetPullRequestTemplate() + c = nil + c.GetPullRequestTemplate() +} + +func TestCommunityHealthFiles_GetReadme(tt *testing.T) { + tt.Parallel() + c := &CommunityHealthFiles{} + c.GetReadme() + c = nil + c.GetReadme() +} + +func TestCommunityHealthMetrics_GetContentReportsEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CommunityHealthMetrics{ContentReportsEnabled: &zeroValue} + c.GetContentReportsEnabled() + c = &CommunityHealthMetrics{} + c.GetContentReportsEnabled() + c = nil + c.GetContentReportsEnabled() +} + +func TestCommunityHealthMetrics_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommunityHealthMetrics{Description: &zeroValue} + c.GetDescription() + c = &CommunityHealthMetrics{} + c.GetDescription() + c = nil + c.GetDescription() +} + +func TestCommunityHealthMetrics_GetDocumentation(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CommunityHealthMetrics{Documentation: &zeroValue} + c.GetDocumentation() + c = &CommunityHealthMetrics{} + c.GetDocumentation() + c = nil + c.GetDocumentation() +} + +func TestCommunityHealthMetrics_GetFiles(tt *testing.T) { + tt.Parallel() + c := &CommunityHealthMetrics{} + c.GetFiles() + c = nil + c.GetFiles() +} + +func TestCommunityHealthMetrics_GetHealthPercentage(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CommunityHealthMetrics{HealthPercentage: &zeroValue} + c.GetHealthPercentage() + c = &CommunityHealthMetrics{} + c.GetHealthPercentage() + c = nil + c.GetHealthPercentage() +} + +func TestCommunityHealthMetrics_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CommunityHealthMetrics{UpdatedAt: &zeroValue} + c.GetUpdatedAt() + c = &CommunityHealthMetrics{} + c.GetUpdatedAt() + c = nil + 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 + c := &ConfigApplyEventsNode{LastRequestID: &zeroValue} + c.GetLastRequestID() + c = &ConfigApplyEventsNode{} + c.GetLastRequestID() + c = nil + c.GetLastRequestID() +} + +func TestConfigApplyEventsNode_GetNode(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigApplyEventsNode{Node: &zeroValue} + c.GetNode() + c = &ConfigApplyEventsNode{} + c.GetNode() + c = nil + c.GetNode() +} + +func TestConfigApplyEventsNodeEvent_GetBody(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigApplyEventsNodeEvent{Body: &zeroValue} + c.GetBody() + c = &ConfigApplyEventsNodeEvent{} + c.GetBody() + c = nil + c.GetBody() +} + +func TestConfigApplyEventsNodeEvent_GetConfigRunID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigApplyEventsNodeEvent{ConfigRunID: &zeroValue} + c.GetConfigRunID() + c = &ConfigApplyEventsNodeEvent{} + c.GetConfigRunID() + c = nil + c.GetConfigRunID() +} + +func TestConfigApplyEventsNodeEvent_GetEventName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigApplyEventsNodeEvent{EventName: &zeroValue} + c.GetEventName() + c = &ConfigApplyEventsNodeEvent{} + c.GetEventName() + c = nil + c.GetEventName() +} + +func TestConfigApplyEventsNodeEvent_GetHostname(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigApplyEventsNodeEvent{Hostname: &zeroValue} + c.GetHostname() + c = &ConfigApplyEventsNodeEvent{} + c.GetHostname() + c = nil + c.GetHostname() +} + +func TestConfigApplyEventsNodeEvent_GetSeverityText(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigApplyEventsNodeEvent{SeverityText: &zeroValue} + c.GetSeverityText() + c = &ConfigApplyEventsNodeEvent{} + c.GetSeverityText() + c = nil + c.GetSeverityText() +} + +func TestConfigApplyEventsNodeEvent_GetSpanDepth(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &ConfigApplyEventsNodeEvent{SpanDepth: &zeroValue} + c.GetSpanDepth() + c = &ConfigApplyEventsNodeEvent{} + c.GetSpanDepth() + c = nil + c.GetSpanDepth() +} + +func TestConfigApplyEventsNodeEvent_GetSpanID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigApplyEventsNodeEvent{SpanID: &zeroValue} + c.GetSpanID() + c = &ConfigApplyEventsNodeEvent{} + c.GetSpanID() + c = nil + c.GetSpanID() +} + +func TestConfigApplyEventsNodeEvent_GetSpanParentID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &ConfigApplyEventsNodeEvent{SpanParentID: &zeroValue} + c.GetSpanParentID() + c = &ConfigApplyEventsNodeEvent{} + c.GetSpanParentID() + c = nil + c.GetSpanParentID() +} + +func TestConfigApplyEventsNodeEvent_GetTimestamp(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &ConfigApplyEventsNodeEvent{Timestamp: &zeroValue} + c.GetTimestamp() + c = &ConfigApplyEventsNodeEvent{} + c.GetTimestamp() + c = nil + c.GetTimestamp() +} + +func TestConfigApplyEventsNodeEvent_GetTopology(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigApplyEventsNodeEvent{Topology: &zeroValue} + c.GetTopology() + c = &ConfigApplyEventsNodeEvent{} + c.GetTopology() + c = nil + c.GetTopology() +} + +func TestConfigApplyEventsNodeEvent_GetTraceID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigApplyEventsNodeEvent{TraceID: &zeroValue} + c.GetTraceID() + c = &ConfigApplyEventsNodeEvent{} + c.GetTraceID() + c = nil + c.GetTraceID() +} + +func TestConfigApplyEventsOptions_GetLastRequestID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigApplyEventsOptions{LastRequestID: &zeroValue} + c.GetLastRequestID() + c = &ConfigApplyEventsOptions{} + c.GetLastRequestID() + c = nil + c.GetLastRequestID() +} + +func TestConfigApplyOptions_GetRunID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigApplyOptions{RunID: &zeroValue} + c.GetRunID() + c = &ConfigApplyOptions{} + c.GetRunID() + c = nil + 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 + c := &ConfigApplyStatus{Running: &zeroValue} + c.GetRunning() + c = &ConfigApplyStatus{} + c.GetRunning() + c = nil + c.GetRunning() +} + +func TestConfigApplyStatus_GetSuccessful(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigApplyStatus{Successful: &zeroValue} + c.GetSuccessful() + c = &ConfigApplyStatus{} + c.GetSuccessful() + c = nil + c.GetSuccessful() +} + +func TestConfigApplyStatusNode_GetHostname(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigApplyStatusNode{Hostname: &zeroValue} + c.GetHostname() + c = &ConfigApplyStatusNode{} + c.GetHostname() + c = nil + c.GetHostname() +} + +func TestConfigApplyStatusNode_GetRunID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigApplyStatusNode{RunID: &zeroValue} + c.GetRunID() + c = &ConfigApplyStatusNode{} + c.GetRunID() + c = nil + c.GetRunID() +} + +func TestConfigApplyStatusNode_GetRunning(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigApplyStatusNode{Running: &zeroValue} + c.GetRunning() + c = &ConfigApplyStatusNode{} + c.GetRunning() + c = nil + c.GetRunning() +} + +func TestConfigApplyStatusNode_GetSuccessful(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigApplyStatusNode{Successful: &zeroValue} + c.GetSuccessful() + c = &ConfigApplyStatusNode{} + c.GetSuccessful() + c = nil + c.GetSuccessful() +} + +func TestConfigSettings_GetAdminPassword(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettings{AdminPassword: &zeroValue} + c.GetAdminPassword() + c = &ConfigSettings{} + c.GetAdminPassword() + c = nil + c.GetAdminPassword() +} + +func TestConfigSettings_GetAssets(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettings{Assets: &zeroValue} + c.GetAssets() + c = &ConfigSettings{} + c.GetAssets() + c = nil + c.GetAssets() +} + +func TestConfigSettings_GetAuthMode(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettings{AuthMode: &zeroValue} + c.GetAuthMode() + c = &ConfigSettings{} + c.GetAuthMode() + c = nil + c.GetAuthMode() +} + +func TestConfigSettings_GetAvatar(tt *testing.T) { + tt.Parallel() + c := &ConfigSettings{} + c.GetAvatar() + c = nil + c.GetAvatar() +} + +func TestConfigSettings_GetCAS(tt *testing.T) { + tt.Parallel() + c := &ConfigSettings{} + c.GetCAS() + c = nil + c.GetCAS() +} + +func TestConfigSettings_GetCollectd(tt *testing.T) { + tt.Parallel() + c := &ConfigSettings{} + c.GetCollectd() + c = nil + c.GetCollectd() +} + +func TestConfigSettings_GetConfigurationID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &ConfigSettings{ConfigurationID: &zeroValue} + c.GetConfigurationID() + c = &ConfigSettings{} + c.GetConfigurationID() + c = nil + c.GetConfigurationID() +} + +func TestConfigSettings_GetConfigurationRunCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &ConfigSettings{ConfigurationRunCount: &zeroValue} + c.GetConfigurationRunCount() + c = &ConfigSettings{} + c.GetConfigurationRunCount() + c = nil + c.GetConfigurationRunCount() +} + +func TestConfigSettings_GetCustomer(tt *testing.T) { + tt.Parallel() + c := &ConfigSettings{} + c.GetCustomer() + c = nil + c.GetCustomer() +} + +func TestConfigSettings_GetExpireSessions(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettings{ExpireSessions: &zeroValue} + c.GetExpireSessions() + c = &ConfigSettings{} + c.GetExpireSessions() + c = nil + c.GetExpireSessions() +} + +func TestConfigSettings_GetGithubHostname(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettings{GithubHostname: &zeroValue} + c.GetGithubHostname() + c = &ConfigSettings{} + c.GetGithubHostname() + c = nil + c.GetGithubHostname() +} + +func TestConfigSettings_GetGithubOAuth(tt *testing.T) { + tt.Parallel() + c := &ConfigSettings{} + c.GetGithubOAuth() + c = nil + c.GetGithubOAuth() +} + +func TestConfigSettings_GetGithubSSL(tt *testing.T) { + tt.Parallel() + c := &ConfigSettings{} + c.GetGithubSSL() + c = nil + c.GetGithubSSL() +} + +func TestConfigSettings_GetHTTPProxy(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettings{HTTPProxy: &zeroValue} + c.GetHTTPProxy() + c = &ConfigSettings{} + c.GetHTTPProxy() + c = nil + c.GetHTTPProxy() +} + +func TestConfigSettings_GetIdenticonsHost(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettings{IdenticonsHost: &zeroValue} + c.GetIdenticonsHost() + c = &ConfigSettings{} + c.GetIdenticonsHost() + c = nil + c.GetIdenticonsHost() +} + +func TestConfigSettings_GetLDAP(tt *testing.T) { + tt.Parallel() + c := &ConfigSettings{} + c.GetLDAP() + c = nil + c.GetLDAP() +} + +func TestConfigSettings_GetLicense(tt *testing.T) { + tt.Parallel() + c := &ConfigSettings{} + c.GetLicense() + c = nil + c.GetLicense() +} + +func TestConfigSettings_GetLoadBalancer(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettings{LoadBalancer: &zeroValue} + c.GetLoadBalancer() + c = &ConfigSettings{} + c.GetLoadBalancer() + c = nil + c.GetLoadBalancer() +} + +func TestConfigSettings_GetMapping(tt *testing.T) { + tt.Parallel() + c := &ConfigSettings{} + c.GetMapping() + c = nil + c.GetMapping() +} + +func TestConfigSettings_GetNTP(tt *testing.T) { + tt.Parallel() + c := &ConfigSettings{} + c.GetNTP() + c = nil + c.GetNTP() +} + +func TestConfigSettings_GetPages(tt *testing.T) { + tt.Parallel() + c := &ConfigSettings{} + c.GetPages() + c = nil + c.GetPages() +} + +func TestConfigSettings_GetPrivateMode(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettings{PrivateMode: &zeroValue} + c.GetPrivateMode() + c = &ConfigSettings{} + c.GetPrivateMode() + c = nil + c.GetPrivateMode() +} + +func TestConfigSettings_GetPublicPages(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettings{PublicPages: &zeroValue} + c.GetPublicPages() + c = &ConfigSettings{} + c.GetPublicPages() + c = nil + c.GetPublicPages() +} + +func TestConfigSettings_GetSAML(tt *testing.T) { + tt.Parallel() + c := &ConfigSettings{} + c.GetSAML() + c = nil + c.GetSAML() +} + +func TestConfigSettings_GetSignupEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettings{SignupEnabled: &zeroValue} + c.GetSignupEnabled() + c = &ConfigSettings{} + c.GetSignupEnabled() + c = nil + c.GetSignupEnabled() +} + +func TestConfigSettings_GetSMTP(tt *testing.T) { + tt.Parallel() + c := &ConfigSettings{} + c.GetSMTP() + c = nil + c.GetSMTP() +} + +func TestConfigSettings_GetSNMP(tt *testing.T) { + tt.Parallel() + c := &ConfigSettings{} + c.GetSNMP() + c = nil + c.GetSNMP() +} + +func TestConfigSettings_GetSubdomainIsolation(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettings{SubdomainIsolation: &zeroValue} + c.GetSubdomainIsolation() + c = &ConfigSettings{} + c.GetSubdomainIsolation() + c = nil + c.GetSubdomainIsolation() +} + +func TestConfigSettings_GetSyslog(tt *testing.T) { + tt.Parallel() + c := &ConfigSettings{} + c.GetSyslog() + c = nil + c.GetSyslog() +} + +func TestConfigSettings_GetTimezone(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettings{Timezone: &zeroValue} + c.GetTimezone() + c = &ConfigSettings{} + c.GetTimezone() + c = nil + c.GetTimezone() +} + +func TestConfigSettingsAvatar_GetEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettingsAvatar{Enabled: &zeroValue} + c.GetEnabled() + c = &ConfigSettingsAvatar{} + c.GetEnabled() + c = nil + c.GetEnabled() +} + +func TestConfigSettingsAvatar_GetURI(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsAvatar{URI: &zeroValue} + c.GetURI() + c = &ConfigSettingsAvatar{} + c.GetURI() + c = nil + c.GetURI() +} + +func TestConfigSettingsCAS_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsCAS{URL: &zeroValue} + c.GetURL() + c = &ConfigSettingsCAS{} + c.GetURL() + c = nil + c.GetURL() +} + +func TestConfigSettingsCollectd_GetEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettingsCollectd{Enabled: &zeroValue} + c.GetEnabled() + c = &ConfigSettingsCollectd{} + c.GetEnabled() + c = nil + c.GetEnabled() +} + +func TestConfigSettingsCollectd_GetEncryption(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsCollectd{Encryption: &zeroValue} + c.GetEncryption() + c = &ConfigSettingsCollectd{} + c.GetEncryption() + c = nil + c.GetEncryption() +} + +func TestConfigSettingsCollectd_GetPassword(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsCollectd{Password: &zeroValue} + c.GetPassword() + c = &ConfigSettingsCollectd{} + c.GetPassword() + c = nil + c.GetPassword() +} + +func TestConfigSettingsCollectd_GetPort(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &ConfigSettingsCollectd{Port: &zeroValue} + c.GetPort() + c = &ConfigSettingsCollectd{} + c.GetPort() + c = nil + c.GetPort() +} + +func TestConfigSettingsCollectd_GetServer(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsCollectd{Server: &zeroValue} + c.GetServer() + c = &ConfigSettingsCollectd{} + c.GetServer() + c = nil + c.GetServer() +} + +func TestConfigSettingsCollectd_GetUsername(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsCollectd{Username: &zeroValue} + c.GetUsername() + c = &ConfigSettingsCollectd{} + c.GetUsername() + c = nil + c.GetUsername() +} + +func TestConfigSettingsCustomer_GetEmail(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsCustomer{Email: &zeroValue} + c.GetEmail() + c = &ConfigSettingsCustomer{} + c.GetEmail() + c = nil + c.GetEmail() +} + +func TestConfigSettingsCustomer_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsCustomer{Name: &zeroValue} + c.GetName() + c = &ConfigSettingsCustomer{} + c.GetName() + c = nil + c.GetName() +} + +func TestConfigSettingsCustomer_GetPublicKeyData(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsCustomer{PublicKeyData: &zeroValue} + c.GetPublicKeyData() + c = &ConfigSettingsCustomer{} + c.GetPublicKeyData() + c = nil + c.GetPublicKeyData() +} + +func TestConfigSettingsCustomer_GetSecret(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsCustomer{Secret: &zeroValue} + c.GetSecret() + c = &ConfigSettingsCustomer{} + c.GetSecret() + c = nil + c.GetSecret() +} + +func TestConfigSettingsCustomer_GetUUID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsCustomer{UUID: &zeroValue} + c.GetUUID() + c = &ConfigSettingsCustomer{} + c.GetUUID() + c = nil + c.GetUUID() +} + +func TestConfigSettingsGithubOAuth_GetClientID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsGithubOAuth{ClientID: &zeroValue} + c.GetClientID() + c = &ConfigSettingsGithubOAuth{} + c.GetClientID() + c = nil + c.GetClientID() +} + +func TestConfigSettingsGithubOAuth_GetClientSecret(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsGithubOAuth{ClientSecret: &zeroValue} + c.GetClientSecret() + c = &ConfigSettingsGithubOAuth{} + c.GetClientSecret() + c = nil + c.GetClientSecret() +} + +func TestConfigSettingsGithubOAuth_GetOrganizationName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsGithubOAuth{OrganizationName: &zeroValue} + c.GetOrganizationName() + c = &ConfigSettingsGithubOAuth{} + c.GetOrganizationName() + c = nil + c.GetOrganizationName() +} + +func TestConfigSettingsGithubOAuth_GetOrganizationTeam(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsGithubOAuth{OrganizationTeam: &zeroValue} + c.GetOrganizationTeam() + c = &ConfigSettingsGithubOAuth{} + c.GetOrganizationTeam() + c = nil + c.GetOrganizationTeam() +} + +func TestConfigSettingsGithubSSL_GetCert(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsGithubSSL{Cert: &zeroValue} + c.GetCert() + c = &ConfigSettingsGithubSSL{} + c.GetCert() + c = nil + c.GetCert() +} + +func TestConfigSettingsGithubSSL_GetEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettingsGithubSSL{Enabled: &zeroValue} + c.GetEnabled() + c = &ConfigSettingsGithubSSL{} + c.GetEnabled() + c = nil + c.GetEnabled() +} + +func TestConfigSettingsGithubSSL_GetKey(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsGithubSSL{Key: &zeroValue} + c.GetKey() + c = &ConfigSettingsGithubSSL{} + c.GetKey() + c = nil + c.GetKey() +} + +func TestConfigSettingsLDAP_GetAdminGroup(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsLDAP{AdminGroup: &zeroValue} + c.GetAdminGroup() + c = &ConfigSettingsLDAP{} + c.GetAdminGroup() + c = nil + 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 + c := &ConfigSettingsLDAP{BindDN: &zeroValue} + c.GetBindDN() + c = &ConfigSettingsLDAP{} + c.GetBindDN() + c = nil + c.GetBindDN() +} + +func TestConfigSettingsLDAP_GetHost(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsLDAP{Host: &zeroValue} + c.GetHost() + c = &ConfigSettingsLDAP{} + c.GetHost() + c = nil + c.GetHost() +} + +func TestConfigSettingsLDAP_GetMethod(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsLDAP{Method: &zeroValue} + c.GetMethod() + c = &ConfigSettingsLDAP{} + c.GetMethod() + c = nil + c.GetMethod() +} + +func TestConfigSettingsLDAP_GetPassword(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsLDAP{Password: &zeroValue} + c.GetPassword() + c = &ConfigSettingsLDAP{} + c.GetPassword() + c = nil + c.GetPassword() +} + +func TestConfigSettingsLDAP_GetPort(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &ConfigSettingsLDAP{Port: &zeroValue} + c.GetPort() + c = &ConfigSettingsLDAP{} + c.GetPort() + c = nil + c.GetPort() +} + +func TestConfigSettingsLDAP_GetPosixSupport(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettingsLDAP{PosixSupport: &zeroValue} + c.GetPosixSupport() + c = &ConfigSettingsLDAP{} + c.GetPosixSupport() + c = nil + c.GetPosixSupport() +} + +func TestConfigSettingsLDAP_GetProfile(tt *testing.T) { + tt.Parallel() + c := &ConfigSettingsLDAP{} + c.GetProfile() + c = nil + c.GetProfile() +} + +func TestConfigSettingsLDAP_GetReconciliation(tt *testing.T) { + tt.Parallel() + c := &ConfigSettingsLDAP{} + c.GetReconciliation() + c = nil + c.GetReconciliation() +} + +func TestConfigSettingsLDAP_GetRecursiveGroupSearch(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettingsLDAP{RecursiveGroupSearch: &zeroValue} + c.GetRecursiveGroupSearch() + c = &ConfigSettingsLDAP{} + c.GetRecursiveGroupSearch() + c = nil + c.GetRecursiveGroupSearch() +} + +func TestConfigSettingsLDAP_GetSearchStrategy(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsLDAP{SearchStrategy: &zeroValue} + c.GetSearchStrategy() + c = &ConfigSettingsLDAP{} + c.GetSearchStrategy() + c = nil + c.GetSearchStrategy() +} + +func TestConfigSettingsLDAP_GetSyncEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettingsLDAP{SyncEnabled: &zeroValue} + c.GetSyncEnabled() + c = &ConfigSettingsLDAP{} + c.GetSyncEnabled() + c = nil + c.GetSyncEnabled() +} + +func TestConfigSettingsLDAP_GetTeamSyncInterval(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &ConfigSettingsLDAP{TeamSyncInterval: &zeroValue} + c.GetTeamSyncInterval() + c = &ConfigSettingsLDAP{} + c.GetTeamSyncInterval() + c = nil + c.GetTeamSyncInterval() +} + +func TestConfigSettingsLDAP_GetUID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsLDAP{UID: &zeroValue} + c.GetUID() + c = &ConfigSettingsLDAP{} + c.GetUID() + c = nil + 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 + c := &ConfigSettingsLDAP{UserSyncEmails: &zeroValue} + c.GetUserSyncEmails() + c = &ConfigSettingsLDAP{} + c.GetUserSyncEmails() + c = nil + c.GetUserSyncEmails() +} + +func TestConfigSettingsLDAP_GetUserSyncInterval(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &ConfigSettingsLDAP{UserSyncInterval: &zeroValue} + c.GetUserSyncInterval() + c = &ConfigSettingsLDAP{} + c.GetUserSyncInterval() + c = nil + c.GetUserSyncInterval() +} + +func TestConfigSettingsLDAP_GetUserSyncKeys(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettingsLDAP{UserSyncKeys: &zeroValue} + c.GetUserSyncKeys() + c = &ConfigSettingsLDAP{} + c.GetUserSyncKeys() + c = nil + c.GetUserSyncKeys() +} + +func TestConfigSettingsLDAP_GetVirtualAttributeEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettingsLDAP{VirtualAttributeEnabled: &zeroValue} + c.GetVirtualAttributeEnabled() + c = &ConfigSettingsLDAP{} + c.GetVirtualAttributeEnabled() + c = nil + c.GetVirtualAttributeEnabled() +} + +func TestConfigSettingsLDAPProfile_GetKey(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsLDAPProfile{Key: &zeroValue} + c.GetKey() + c = &ConfigSettingsLDAPProfile{} + c.GetKey() + c = nil + c.GetKey() +} + +func TestConfigSettingsLDAPProfile_GetMail(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsLDAPProfile{Mail: &zeroValue} + c.GetMail() + c = &ConfigSettingsLDAPProfile{} + c.GetMail() + c = nil + c.GetMail() +} + +func TestConfigSettingsLDAPProfile_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsLDAPProfile{Name: &zeroValue} + c.GetName() + c = &ConfigSettingsLDAPProfile{} + c.GetName() + c = nil + c.GetName() +} + +func TestConfigSettingsLDAPProfile_GetUID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsLDAPProfile{UID: &zeroValue} + c.GetUID() + c = &ConfigSettingsLDAPProfile{} + c.GetUID() + c = nil + c.GetUID() +} + +func TestConfigSettingsLDAPReconciliation_GetOrg(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsLDAPReconciliation{Org: &zeroValue} + c.GetOrg() + c = &ConfigSettingsLDAPReconciliation{} + c.GetOrg() + c = nil + c.GetOrg() +} + +func TestConfigSettingsLDAPReconciliation_GetUser(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsLDAPReconciliation{User: &zeroValue} + c.GetUser() + c = &ConfigSettingsLDAPReconciliation{} + c.GetUser() + c = nil + c.GetUser() +} + +func TestConfigSettingsLicenseSettings_GetClusterSupport(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettingsLicenseSettings{ClusterSupport: &zeroValue} + c.GetClusterSupport() + c = &ConfigSettingsLicenseSettings{} + c.GetClusterSupport() + c = nil + c.GetClusterSupport() +} + +func TestConfigSettingsLicenseSettings_GetEvaluation(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettingsLicenseSettings{Evaluation: &zeroValue} + c.GetEvaluation() + c = &ConfigSettingsLicenseSettings{} + c.GetEvaluation() + c = nil + c.GetEvaluation() +} + +func TestConfigSettingsLicenseSettings_GetExpireAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &ConfigSettingsLicenseSettings{ExpireAt: &zeroValue} + c.GetExpireAt() + c = &ConfigSettingsLicenseSettings{} + c.GetExpireAt() + c = nil + c.GetExpireAt() +} + +func TestConfigSettingsLicenseSettings_GetPerpetual(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettingsLicenseSettings{Perpetual: &zeroValue} + c.GetPerpetual() + c = &ConfigSettingsLicenseSettings{} + c.GetPerpetual() + c = nil + c.GetPerpetual() +} + +func TestConfigSettingsLicenseSettings_GetSeats(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &ConfigSettingsLicenseSettings{Seats: &zeroValue} + c.GetSeats() + c = &ConfigSettingsLicenseSettings{} + c.GetSeats() + c = nil + c.GetSeats() +} + +func TestConfigSettingsLicenseSettings_GetSSHAllowed(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettingsLicenseSettings{SSHAllowed: &zeroValue} + c.GetSSHAllowed() + c = &ConfigSettingsLicenseSettings{} + c.GetSSHAllowed() + c = nil + c.GetSSHAllowed() +} + +func TestConfigSettingsLicenseSettings_GetSupportKey(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsLicenseSettings{SupportKey: &zeroValue} + c.GetSupportKey() + c = &ConfigSettingsLicenseSettings{} + c.GetSupportKey() + c = nil + c.GetSupportKey() +} + +func TestConfigSettingsLicenseSettings_GetUnlimitedSeating(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettingsLicenseSettings{UnlimitedSeating: &zeroValue} + c.GetUnlimitedSeating() + c = &ConfigSettingsLicenseSettings{} + c.GetUnlimitedSeating() + c = nil + c.GetUnlimitedSeating() +} + +func TestConfigSettingsMapping_GetBasemap(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsMapping{Basemap: &zeroValue} + c.GetBasemap() + c = &ConfigSettingsMapping{} + c.GetBasemap() + c = nil + c.GetBasemap() +} + +func TestConfigSettingsMapping_GetEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettingsMapping{Enabled: &zeroValue} + c.GetEnabled() + c = &ConfigSettingsMapping{} + c.GetEnabled() + c = nil + c.GetEnabled() +} + +func TestConfigSettingsMapping_GetTileserver(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsMapping{Tileserver: &zeroValue} + c.GetTileserver() + c = &ConfigSettingsMapping{} + c.GetTileserver() + c = nil + c.GetTileserver() +} + +func TestConfigSettingsMapping_GetToken(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsMapping{Token: &zeroValue} + c.GetToken() + c = &ConfigSettingsMapping{} + c.GetToken() + c = nil + c.GetToken() +} + +func TestConfigSettingsNTP_GetPrimaryServer(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsNTP{PrimaryServer: &zeroValue} + c.GetPrimaryServer() + c = &ConfigSettingsNTP{} + c.GetPrimaryServer() + c = nil + c.GetPrimaryServer() +} + +func TestConfigSettingsNTP_GetSecondaryServer(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsNTP{SecondaryServer: &zeroValue} + c.GetSecondaryServer() + c = &ConfigSettingsNTP{} + c.GetSecondaryServer() + c = nil + c.GetSecondaryServer() +} + +func TestConfigSettingsPagesSettings_GetEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettingsPagesSettings{Enabled: &zeroValue} + c.GetEnabled() + c = &ConfigSettingsPagesSettings{} + c.GetEnabled() + c = nil + c.GetEnabled() +} + +func TestConfigSettingsSAML_GetCertificate(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsSAML{Certificate: &zeroValue} + c.GetCertificate() + c = &ConfigSettingsSAML{} + c.GetCertificate() + c = nil + c.GetCertificate() +} + +func TestConfigSettingsSAML_GetCertificatePath(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsSAML{CertificatePath: &zeroValue} + c.GetCertificatePath() + c = &ConfigSettingsSAML{} + c.GetCertificatePath() + c = nil + c.GetCertificatePath() +} + +func TestConfigSettingsSAML_GetDisableAdminDemote(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettingsSAML{DisableAdminDemote: &zeroValue} + c.GetDisableAdminDemote() + c = &ConfigSettingsSAML{} + c.GetDisableAdminDemote() + c = nil + c.GetDisableAdminDemote() +} + +func TestConfigSettingsSAML_GetIDPInitiatedSSO(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettingsSAML{IDPInitiatedSSO: &zeroValue} + c.GetIDPInitiatedSSO() + c = &ConfigSettingsSAML{} + c.GetIDPInitiatedSSO() + c = nil + c.GetIDPInitiatedSSO() +} + +func TestConfigSettingsSAML_GetIssuer(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsSAML{Issuer: &zeroValue} + c.GetIssuer() + c = &ConfigSettingsSAML{} + c.GetIssuer() + c = nil + c.GetIssuer() +} + +func TestConfigSettingsSAML_GetSSOURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsSAML{SSOURL: &zeroValue} + c.GetSSOURL() + c = &ConfigSettingsSAML{} + c.GetSSOURL() + c = nil + c.GetSSOURL() +} + +func TestConfigSettingsSMTP_GetAddress(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsSMTP{Address: &zeroValue} + c.GetAddress() + c = &ConfigSettingsSMTP{} + c.GetAddress() + c = nil + c.GetAddress() +} + +func TestConfigSettingsSMTP_GetAuthentication(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsSMTP{Authentication: &zeroValue} + c.GetAuthentication() + c = &ConfigSettingsSMTP{} + c.GetAuthentication() + c = nil + c.GetAuthentication() +} + +func TestConfigSettingsSMTP_GetDiscardToNoreplyAddress(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettingsSMTP{DiscardToNoreplyAddress: &zeroValue} + c.GetDiscardToNoreplyAddress() + c = &ConfigSettingsSMTP{} + c.GetDiscardToNoreplyAddress() + c = nil + c.GetDiscardToNoreplyAddress() +} + +func TestConfigSettingsSMTP_GetDomain(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsSMTP{Domain: &zeroValue} + c.GetDomain() + c = &ConfigSettingsSMTP{} + c.GetDomain() + c = nil + c.GetDomain() +} + +func TestConfigSettingsSMTP_GetEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettingsSMTP{Enabled: &zeroValue} + c.GetEnabled() + c = &ConfigSettingsSMTP{} + c.GetEnabled() + c = nil + c.GetEnabled() +} + +func TestConfigSettingsSMTP_GetEnableStarttlsAuto(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettingsSMTP{EnableStarttlsAuto: &zeroValue} + c.GetEnableStarttlsAuto() + c = &ConfigSettingsSMTP{} + c.GetEnableStarttlsAuto() + c = nil + c.GetEnableStarttlsAuto() +} + +func TestConfigSettingsSMTP_GetNoreplyAddress(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsSMTP{NoreplyAddress: &zeroValue} + c.GetNoreplyAddress() + c = &ConfigSettingsSMTP{} + c.GetNoreplyAddress() + c = nil + c.GetNoreplyAddress() +} + +func TestConfigSettingsSMTP_GetPassword(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsSMTP{Password: &zeroValue} + c.GetPassword() + c = &ConfigSettingsSMTP{} + c.GetPassword() + c = nil + c.GetPassword() +} + +func TestConfigSettingsSMTP_GetPort(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsSMTP{Port: &zeroValue} + c.GetPort() + c = &ConfigSettingsSMTP{} + c.GetPort() + c = nil + c.GetPort() +} + +func TestConfigSettingsSMTP_GetSupportAddress(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsSMTP{SupportAddress: &zeroValue} + c.GetSupportAddress() + c = &ConfigSettingsSMTP{} + c.GetSupportAddress() + c = nil + c.GetSupportAddress() +} + +func TestConfigSettingsSMTP_GetSupportAddressType(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsSMTP{SupportAddressType: &zeroValue} + c.GetSupportAddressType() + c = &ConfigSettingsSMTP{} + c.GetSupportAddressType() + c = nil + c.GetSupportAddressType() +} + +func TestConfigSettingsSMTP_GetUsername(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsSMTP{Username: &zeroValue} + c.GetUsername() + c = &ConfigSettingsSMTP{} + c.GetUsername() + c = nil + c.GetUsername() +} + +func TestConfigSettingsSMTP_GetUserName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsSMTP{UserName: &zeroValue} + c.GetUserName() + c = &ConfigSettingsSMTP{} + c.GetUserName() + c = nil + c.GetUserName() +} + +func TestConfigSettingsSNMP_GetCommunity(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsSNMP{Community: &zeroValue} + c.GetCommunity() + c = &ConfigSettingsSNMP{} + c.GetCommunity() + c = nil + c.GetCommunity() +} + +func TestConfigSettingsSNMP_GetEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettingsSNMP{Enabled: &zeroValue} + c.GetEnabled() + c = &ConfigSettingsSNMP{} + c.GetEnabled() + c = nil + c.GetEnabled() +} + +func TestConfigSettingsSyslog_GetEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &ConfigSettingsSyslog{Enabled: &zeroValue} + c.GetEnabled() + c = &ConfigSettingsSyslog{} + c.GetEnabled() + c = nil + c.GetEnabled() +} + +func TestConfigSettingsSyslog_GetProtocolName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsSyslog{ProtocolName: &zeroValue} + c.GetProtocolName() + c = &ConfigSettingsSyslog{} + c.GetProtocolName() + c = nil + c.GetProtocolName() +} + +func TestConfigSettingsSyslog_GetServer(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConfigSettingsSyslog{Server: &zeroValue} + c.GetServer() + c = &ConfigSettingsSyslog{} + c.GetServer() + c = nil + c.GetServer() +} + +func TestConnectionServiceItem_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ConnectionServiceItem{Name: &zeroValue} + c.GetName() + c = &ConnectionServiceItem{} + c.GetName() + c = nil + c.GetName() +} + +func TestConnectionServiceItem_GetNumber(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &ConnectionServiceItem{Number: &zeroValue} + c.GetNumber() + c = &ConnectionServiceItem{} + c.GetNumber() + c = nil + c.GetNumber() +} + +func TestContentReference_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &ContentReference{ID: &zeroValue} + c.GetID() + c = &ContentReference{} + c.GetID() + c = nil + c.GetID() +} + +func TestContentReference_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ContentReference{NodeID: &zeroValue} + c.GetNodeID() + c = &ContentReference{} + c.GetNodeID() + c = nil + c.GetNodeID() +} + +func TestContentReference_GetReference(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ContentReference{Reference: &zeroValue} + c.GetReference() + c = &ContentReference{} + c.GetReference() + c = nil + c.GetReference() +} + +func TestContentReferenceEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &ContentReferenceEvent{Action: &zeroValue} + c.GetAction() + c = &ContentReferenceEvent{} + c.GetAction() + c = nil + c.GetAction() +} + +func TestContentReferenceEvent_GetContentReference(tt *testing.T) { + tt.Parallel() + c := &ContentReferenceEvent{} + c.GetContentReference() + c = nil + c.GetContentReference() +} + +func TestContentReferenceEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + c := &ContentReferenceEvent{} + c.GetInstallation() + c = nil + c.GetInstallation() +} + +func TestContentReferenceEvent_GetRepo(tt *testing.T) { + tt.Parallel() + c := &ContentReferenceEvent{} + c.GetRepo() + c = nil + c.GetRepo() +} + +func TestContentReferenceEvent_GetSender(tt *testing.T) { + tt.Parallel() + c := &ContentReferenceEvent{} + c.GetSender() + c = nil + c.GetSender() +} + +func TestContributor_GetAvatarURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Contributor{AvatarURL: &zeroValue} + c.GetAvatarURL() + c = &Contributor{} + c.GetAvatarURL() + c = nil + c.GetAvatarURL() +} + +func TestContributor_GetContributions(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &Contributor{Contributions: &zeroValue} + c.GetContributions() + c = &Contributor{} + c.GetContributions() + c = nil + c.GetContributions() +} + +func TestContributor_GetEmail(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Contributor{Email: &zeroValue} + c.GetEmail() + c = &Contributor{} + c.GetEmail() + c = nil + c.GetEmail() +} + +func TestContributor_GetEventsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Contributor{EventsURL: &zeroValue} + c.GetEventsURL() + c = &Contributor{} + c.GetEventsURL() + c = nil + c.GetEventsURL() +} + +func TestContributor_GetFollowersURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Contributor{FollowersURL: &zeroValue} + c.GetFollowersURL() + c = &Contributor{} + c.GetFollowersURL() + c = nil + c.GetFollowersURL() +} + +func TestContributor_GetFollowingURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Contributor{FollowingURL: &zeroValue} + c.GetFollowingURL() + c = &Contributor{} + c.GetFollowingURL() + c = nil + c.GetFollowingURL() +} + +func TestContributor_GetGistsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Contributor{GistsURL: &zeroValue} + c.GetGistsURL() + c = &Contributor{} + c.GetGistsURL() + c = nil + c.GetGistsURL() +} + +func TestContributor_GetGravatarID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Contributor{GravatarID: &zeroValue} + c.GetGravatarID() + c = &Contributor{} + c.GetGravatarID() + c = nil + c.GetGravatarID() +} + +func TestContributor_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Contributor{HTMLURL: &zeroValue} + c.GetHTMLURL() + c = &Contributor{} + c.GetHTMLURL() + c = nil + c.GetHTMLURL() +} + +func TestContributor_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &Contributor{ID: &zeroValue} + c.GetID() + c = &Contributor{} + c.GetID() + c = nil + c.GetID() +} + +func TestContributor_GetLogin(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Contributor{Login: &zeroValue} + c.GetLogin() + c = &Contributor{} + c.GetLogin() + c = nil + c.GetLogin() +} + +func TestContributor_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Contributor{Name: &zeroValue} + c.GetName() + c = &Contributor{} + c.GetName() + c = nil + c.GetName() +} + +func TestContributor_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Contributor{NodeID: &zeroValue} + c.GetNodeID() + c = &Contributor{} + c.GetNodeID() + c = nil + c.GetNodeID() +} + +func TestContributor_GetOrganizationsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Contributor{OrganizationsURL: &zeroValue} + c.GetOrganizationsURL() + c = &Contributor{} + c.GetOrganizationsURL() + c = nil + c.GetOrganizationsURL() +} + +func TestContributor_GetReceivedEventsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Contributor{ReceivedEventsURL: &zeroValue} + c.GetReceivedEventsURL() + c = &Contributor{} + c.GetReceivedEventsURL() + c = nil + c.GetReceivedEventsURL() +} + +func TestContributor_GetReposURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Contributor{ReposURL: &zeroValue} + c.GetReposURL() + c = &Contributor{} + c.GetReposURL() + c = nil + c.GetReposURL() +} + +func TestContributor_GetSiteAdmin(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &Contributor{SiteAdmin: &zeroValue} + c.GetSiteAdmin() + c = &Contributor{} + c.GetSiteAdmin() + c = nil + c.GetSiteAdmin() +} + +func TestContributor_GetStarredURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Contributor{StarredURL: &zeroValue} + c.GetStarredURL() + c = &Contributor{} + c.GetStarredURL() + c = nil + c.GetStarredURL() +} + +func TestContributor_GetSubscriptionsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Contributor{SubscriptionsURL: &zeroValue} + c.GetSubscriptionsURL() + c = &Contributor{} + c.GetSubscriptionsURL() + c = nil + c.GetSubscriptionsURL() +} + +func TestContributor_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Contributor{Type: &zeroValue} + c.GetType() + c = &Contributor{} + c.GetType() + c = nil + c.GetType() +} + +func TestContributor_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &Contributor{URL: &zeroValue} + c.GetURL() + c = &Contributor{} + c.GetURL() + c = nil + 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{} + c.GetAuthor() + c = nil + c.GetAuthor() +} + +func TestContributorStats_GetTotal(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &ContributorStats{Total: &zeroValue} + c.GetTotal() + c = &ContributorStats{} + c.GetTotal() + c = nil + 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 TestCopilotCloudAgentConfiguration_GetCustomAllowlist(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &CopilotCloudAgentConfiguration{CustomAllowlist: zeroValue} + c.GetCustomAllowlist() + c = &CopilotCloudAgentConfiguration{} + c.GetCustomAllowlist() + c = nil + c.GetCustomAllowlist() +} + +func TestCopilotCloudAgentConfiguration_GetEnabledTools(tt *testing.T) { + tt.Parallel() + c := &CopilotCloudAgentConfiguration{} + c.GetEnabledTools() + c = nil + c.GetEnabledTools() +} + +func TestCopilotCloudAgentConfiguration_GetIsFirewallEnabled(tt *testing.T) { + tt.Parallel() + c := &CopilotCloudAgentConfiguration{} + c.GetIsFirewallEnabled() + c = nil + c.GetIsFirewallEnabled() +} + +func TestCopilotCloudAgentConfiguration_GetIsFirewallRecommendedAllowlistEnabled(tt *testing.T) { + tt.Parallel() + c := &CopilotCloudAgentConfiguration{} + c.GetIsFirewallRecommendedAllowlistEnabled() + c = nil + c.GetIsFirewallRecommendedAllowlistEnabled() +} + +func TestCopilotCloudAgentConfiguration_GetMCPConfiguration(tt *testing.T) { + tt.Parallel() + c := &CopilotCloudAgentConfiguration{} + c.GetMCPConfiguration() + c = nil + c.GetMCPConfiguration() +} + +func TestCopilotCloudAgentConfiguration_GetRequireActionsWorkflowApproval(tt *testing.T) { + tt.Parallel() + c := &CopilotCloudAgentConfiguration{} + c.GetRequireActionsWorkflowApproval() + c = nil + c.GetRequireActionsWorkflowApproval() +} + +func TestCopilotCloudAgentEnabledTools_GetCodeql(tt *testing.T) { + tt.Parallel() + c := &CopilotCloudAgentEnabledTools{} + c.GetCodeql() + c = nil + c.GetCodeql() +} + +func TestCopilotCloudAgentEnabledTools_GetCopilotCodeReview(tt *testing.T) { + tt.Parallel() + c := &CopilotCloudAgentEnabledTools{} + c.GetCopilotCodeReview() + c = nil + c.GetCopilotCodeReview() +} + +func TestCopilotCloudAgentEnabledTools_GetDependencyVulnerabilityChecks(tt *testing.T) { + tt.Parallel() + c := &CopilotCloudAgentEnabledTools{} + c.GetDependencyVulnerabilityChecks() + c = nil + c.GetDependencyVulnerabilityChecks() +} + +func TestCopilotCloudAgentEnabledTools_GetSecretScanning(tt *testing.T) { + tt.Parallel() + c := &CopilotCloudAgentEnabledTools{} + c.GetSecretScanning() + c = nil + c.GetSecretScanning() +} + +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 TestCopilotDailyMetrics_GetCodeAcceptanceActivityCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotDailyMetrics{CodeAcceptanceActivityCount: &zeroValue} + c.GetCodeAcceptanceActivityCount() + c = &CopilotDailyMetrics{} + c.GetCodeAcceptanceActivityCount() + c = nil + c.GetCodeAcceptanceActivityCount() +} + +func TestCopilotDailyMetrics_GetCodeGenerationActivityCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotDailyMetrics{CodeGenerationActivityCount: &zeroValue} + c.GetCodeGenerationActivityCount() + c = &CopilotDailyMetrics{} + c.GetCodeGenerationActivityCount() + c = nil + c.GetCodeGenerationActivityCount() +} + +func TestCopilotDailyMetrics_GetDailyActiveCLIUsers(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotDailyMetrics{DailyActiveCLIUsers: &zeroValue} + c.GetDailyActiveCLIUsers() + c = &CopilotDailyMetrics{} + c.GetDailyActiveCLIUsers() + c = nil + c.GetDailyActiveCLIUsers() +} + +func TestCopilotDailyMetrics_GetDailyActiveCopilotAppUsers(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotDailyMetrics{DailyActiveCopilotAppUsers: &zeroValue} + c.GetDailyActiveCopilotAppUsers() + c = &CopilotDailyMetrics{} + c.GetDailyActiveCopilotAppUsers() + c = nil + c.GetDailyActiveCopilotAppUsers() +} + +func TestCopilotDailyMetrics_GetDailyActiveCopilotCloudAgentUsers(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotDailyMetrics{DailyActiveCopilotCloudAgentUsers: &zeroValue} + c.GetDailyActiveCopilotCloudAgentUsers() + c = &CopilotDailyMetrics{} + c.GetDailyActiveCopilotCloudAgentUsers() + c = nil + c.GetDailyActiveCopilotCloudAgentUsers() +} + +func TestCopilotDailyMetrics_GetDailyActiveCopilotCodeReviewUsers(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotDailyMetrics{DailyActiveCopilotCodeReviewUsers: &zeroValue} + c.GetDailyActiveCopilotCodeReviewUsers() + c = &CopilotDailyMetrics{} + c.GetDailyActiveCopilotCodeReviewUsers() + c = nil + c.GetDailyActiveCopilotCodeReviewUsers() +} + +func TestCopilotDailyMetrics_GetDailyActiveUsers(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotDailyMetrics{DailyActiveUsers: &zeroValue} + c.GetDailyActiveUsers() + c = &CopilotDailyMetrics{} + c.GetDailyActiveUsers() + c = nil + c.GetDailyActiveUsers() +} + +func TestCopilotDailyMetrics_GetDailyPassiveCopilotCodeReviewUsers(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotDailyMetrics{DailyPassiveCopilotCodeReviewUsers: &zeroValue} + c.GetDailyPassiveCopilotCodeReviewUsers() + c = &CopilotDailyMetrics{} + c.GetDailyPassiveCopilotCodeReviewUsers() + c = nil + c.GetDailyPassiveCopilotCodeReviewUsers() +} + +func TestCopilotDailyMetrics_GetDay(tt *testing.T) { + tt.Parallel() + c := &CopilotDailyMetrics{} + c.GetDay() + c = nil + c.GetDay() +} + +func TestCopilotDailyMetrics_GetEnterpriseID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CopilotDailyMetrics{EnterpriseID: &zeroValue} + c.GetEnterpriseID() + c = &CopilotDailyMetrics{} + c.GetEnterpriseID() + c = nil + c.GetEnterpriseID() +} + +func TestCopilotDailyMetrics_GetLOCAddedSum(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotDailyMetrics{LOCAddedSum: &zeroValue} + c.GetLOCAddedSum() + c = &CopilotDailyMetrics{} + c.GetLOCAddedSum() + c = nil + c.GetLOCAddedSum() +} + +func TestCopilotDailyMetrics_GetLOCDeletedSum(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotDailyMetrics{LOCDeletedSum: &zeroValue} + c.GetLOCDeletedSum() + c = &CopilotDailyMetrics{} + c.GetLOCDeletedSum() + c = nil + c.GetLOCDeletedSum() +} + +func TestCopilotDailyMetrics_GetLOCSuggestedToAddSum(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotDailyMetrics{LOCSuggestedToAddSum: &zeroValue} + c.GetLOCSuggestedToAddSum() + c = &CopilotDailyMetrics{} + c.GetLOCSuggestedToAddSum() + c = nil + c.GetLOCSuggestedToAddSum() +} + +func TestCopilotDailyMetrics_GetLOCSuggestedToDeleteSum(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotDailyMetrics{LOCSuggestedToDeleteSum: &zeroValue} + c.GetLOCSuggestedToDeleteSum() + c = &CopilotDailyMetrics{} + c.GetLOCSuggestedToDeleteSum() + c = nil + c.GetLOCSuggestedToDeleteSum() +} + +func TestCopilotDailyMetrics_GetMonthlyActiveAgentUsers(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotDailyMetrics{MonthlyActiveAgentUsers: &zeroValue} + c.GetMonthlyActiveAgentUsers() + c = &CopilotDailyMetrics{} + c.GetMonthlyActiveAgentUsers() + c = nil + c.GetMonthlyActiveAgentUsers() +} + +func TestCopilotDailyMetrics_GetMonthlyActiveChatUsers(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotDailyMetrics{MonthlyActiveChatUsers: &zeroValue} + c.GetMonthlyActiveChatUsers() + c = &CopilotDailyMetrics{} + c.GetMonthlyActiveChatUsers() + c = nil + c.GetMonthlyActiveChatUsers() +} + +func TestCopilotDailyMetrics_GetMonthlyActiveCopilotCloudAgentUsers(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotDailyMetrics{MonthlyActiveCopilotCloudAgentUsers: &zeroValue} + c.GetMonthlyActiveCopilotCloudAgentUsers() + c = &CopilotDailyMetrics{} + c.GetMonthlyActiveCopilotCloudAgentUsers() + c = nil + c.GetMonthlyActiveCopilotCloudAgentUsers() +} + +func TestCopilotDailyMetrics_GetMonthlyActiveCopilotCodeReviewUsers(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotDailyMetrics{MonthlyActiveCopilotCodeReviewUsers: &zeroValue} + c.GetMonthlyActiveCopilotCodeReviewUsers() + c = &CopilotDailyMetrics{} + c.GetMonthlyActiveCopilotCodeReviewUsers() + c = nil + c.GetMonthlyActiveCopilotCodeReviewUsers() +} + +func TestCopilotDailyMetrics_GetMonthlyActiveUsers(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotDailyMetrics{MonthlyActiveUsers: &zeroValue} + c.GetMonthlyActiveUsers() + c = &CopilotDailyMetrics{} + c.GetMonthlyActiveUsers() + c = nil + c.GetMonthlyActiveUsers() +} + +func TestCopilotDailyMetrics_GetMonthlyPassiveCopilotCodeReviewUsers(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotDailyMetrics{MonthlyPassiveCopilotCodeReviewUsers: &zeroValue} + c.GetMonthlyPassiveCopilotCodeReviewUsers() + c = &CopilotDailyMetrics{} + c.GetMonthlyPassiveCopilotCodeReviewUsers() + c = nil + c.GetMonthlyPassiveCopilotCodeReviewUsers() +} + +func TestCopilotDailyMetrics_GetOrganizationID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CopilotDailyMetrics{OrganizationID: &zeroValue} + c.GetOrganizationID() + c = &CopilotDailyMetrics{} + c.GetOrganizationID() + c = nil + c.GetOrganizationID() +} + +func TestCopilotDailyMetrics_GetPullRequests(tt *testing.T) { + tt.Parallel() + c := &CopilotDailyMetrics{} + c.GetPullRequests() + c = nil + c.GetPullRequests() +} + +func TestCopilotDailyMetrics_GetTotalsBy3rdPartyAgent(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotMetricsThirdPartyAgent{} + c := &CopilotDailyMetrics{TotalsBy3rdPartyAgent: zeroValue} + c.GetTotalsBy3rdPartyAgent() + c = &CopilotDailyMetrics{} + c.GetTotalsBy3rdPartyAgent() + c = nil + c.GetTotalsBy3rdPartyAgent() +} + +func TestCopilotDailyMetrics_GetTotalsByAIAdoptionPhase(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotMetricsAIAdoptionPhaseTotals{} + c := &CopilotDailyMetrics{TotalsByAIAdoptionPhase: zeroValue} + c.GetTotalsByAIAdoptionPhase() + c = &CopilotDailyMetrics{} + c.GetTotalsByAIAdoptionPhase() + c = nil + c.GetTotalsByAIAdoptionPhase() +} + +func TestCopilotDailyMetrics_GetTotalsByCLI(tt *testing.T) { + tt.Parallel() + c := &CopilotDailyMetrics{} + c.GetTotalsByCLI() + c = nil + c.GetTotalsByCLI() +} + +func TestCopilotDailyMetrics_GetTotalsByCopilotApp(tt *testing.T) { + tt.Parallel() + c := &CopilotDailyMetrics{} + c.GetTotalsByCopilotApp() + c = nil + c.GetTotalsByCopilotApp() +} + +func TestCopilotDailyMetrics_GetTotalsByFeature(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotMetricsFeature{} + c := &CopilotDailyMetrics{TotalsByFeature: zeroValue} + c.GetTotalsByFeature() + c = &CopilotDailyMetrics{} + c.GetTotalsByFeature() + c = nil + c.GetTotalsByFeature() +} + +func TestCopilotDailyMetrics_GetTotalsByIDE(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotMetricsIDE{} + c := &CopilotDailyMetrics{TotalsByIDE: zeroValue} + c.GetTotalsByIDE() + c = &CopilotDailyMetrics{} + c.GetTotalsByIDE() + c = nil + c.GetTotalsByIDE() +} + +func TestCopilotDailyMetrics_GetTotalsByLanguageFeature(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotMetricsLanguageFeature{} + c := &CopilotDailyMetrics{TotalsByLanguageFeature: zeroValue} + c.GetTotalsByLanguageFeature() + c = &CopilotDailyMetrics{} + c.GetTotalsByLanguageFeature() + c = nil + c.GetTotalsByLanguageFeature() +} + +func TestCopilotDailyMetrics_GetTotalsByLanguageModel(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotMetricsLanguageModel{} + c := &CopilotDailyMetrics{TotalsByLanguageModel: zeroValue} + c.GetTotalsByLanguageModel() + c = &CopilotDailyMetrics{} + c.GetTotalsByLanguageModel() + c = nil + c.GetTotalsByLanguageModel() +} + +func TestCopilotDailyMetrics_GetTotalsByModelFeature(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotMetricsModelFeature{} + c := &CopilotDailyMetrics{TotalsByModelFeature: zeroValue} + c.GetTotalsByModelFeature() + c = &CopilotDailyMetrics{} + c.GetTotalsByModelFeature() + c = nil + c.GetTotalsByModelFeature() +} + +func TestCopilotDailyMetrics_GetUserInitiatedInteractionCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotDailyMetrics{UserInitiatedInteractionCount: &zeroValue} + c.GetUserInitiatedInteractionCount() + c = &CopilotDailyMetrics{} + c.GetUserInitiatedInteractionCount() + c = nil + c.GetUserInitiatedInteractionCount() +} + +func TestCopilotDailyMetrics_GetWeeklyActiveCopilotCloudAgentUsers(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotDailyMetrics{WeeklyActiveCopilotCloudAgentUsers: &zeroValue} + c.GetWeeklyActiveCopilotCloudAgentUsers() + c = &CopilotDailyMetrics{} + c.GetWeeklyActiveCopilotCloudAgentUsers() + c = nil + c.GetWeeklyActiveCopilotCloudAgentUsers() +} + +func TestCopilotDailyMetrics_GetWeeklyActiveCopilotCodeReviewUsers(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotDailyMetrics{WeeklyActiveCopilotCodeReviewUsers: &zeroValue} + c.GetWeeklyActiveCopilotCodeReviewUsers() + c = &CopilotDailyMetrics{} + c.GetWeeklyActiveCopilotCodeReviewUsers() + c = nil + c.GetWeeklyActiveCopilotCodeReviewUsers() +} + +func TestCopilotDailyMetrics_GetWeeklyActiveUsers(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotDailyMetrics{WeeklyActiveUsers: &zeroValue} + c.GetWeeklyActiveUsers() + c = &CopilotDailyMetrics{} + c.GetWeeklyActiveUsers() + c = nil + c.GetWeeklyActiveUsers() +} + +func TestCopilotDailyMetrics_GetWeeklyPassiveCopilotCodeReviewUsers(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotDailyMetrics{WeeklyPassiveCopilotCodeReviewUsers: &zeroValue} + c.GetWeeklyPassiveCopilotCodeReviewUsers() + c = &CopilotDailyMetrics{} + c.GetWeeklyPassiveCopilotCodeReviewUsers() + c = nil + c.GetWeeklyPassiveCopilotCodeReviewUsers() +} + +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 + c := &CopilotDotcomChatModel{CustomModelTrainingDate: &zeroValue} + c.GetCustomModelTrainingDate() + c = &CopilotDotcomChatModel{} + c.GetCustomModelTrainingDate() + c = nil + 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 + c := &CopilotDotcomPullRequestsModel{CustomModelTrainingDate: &zeroValue} + c.GetCustomModelTrainingDate() + c = &CopilotDotcomPullRequestsModel{} + c.GetCustomModelTrainingDate() + c = nil + 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 + c := &CopilotIDEChatModel{CustomModelTrainingDate: &zeroValue} + c.GetCustomModelTrainingDate() + c = &CopilotIDEChatModel{} + c.GetCustomModelTrainingDate() + c = nil + 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 + c := &CopilotIDECodeCompletionsModel{CustomModelTrainingDate: &zeroValue} + c.GetCustomModelTrainingDate() + c = &CopilotIDECodeCompletionsModel{} + c.GetCustomModelTrainingDate() + c = nil + 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{} + c.GetCopilotDotcomChat() + c = nil + c.GetCopilotDotcomChat() +} + +func TestCopilotMetrics_GetCopilotDotcomPullRequests(tt *testing.T) { + tt.Parallel() + c := &CopilotMetrics{} + c.GetCopilotDotcomPullRequests() + c = nil + c.GetCopilotDotcomPullRequests() +} + +func TestCopilotMetrics_GetCopilotIDEChat(tt *testing.T) { + tt.Parallel() + c := &CopilotMetrics{} + c.GetCopilotIDEChat() + c = nil + c.GetCopilotIDEChat() +} + +func TestCopilotMetrics_GetCopilotIDECodeCompletions(tt *testing.T) { + tt.Parallel() + c := &CopilotMetrics{} + c.GetCopilotIDECodeCompletions() + c = nil + 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 + c := &CopilotMetrics{TotalActiveUsers: &zeroValue} + c.GetTotalActiveUsers() + c = &CopilotMetrics{} + c.GetTotalActiveUsers() + c = nil + c.GetTotalActiveUsers() +} + +func TestCopilotMetrics_GetTotalEngagedUsers(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetrics{TotalEngagedUsers: &zeroValue} + c.GetTotalEngagedUsers() + c = &CopilotMetrics{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() +} + +func TestCopilotMetricsAIAdoptionPhase_GetPhase(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsAIAdoptionPhase{} + c.GetPhase() + c = nil + c.GetPhase() +} + +func TestCopilotMetricsAIAdoptionPhase_GetPhaseNumber(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsAIAdoptionPhase{} + c.GetPhaseNumber() + c = nil + c.GetPhaseNumber() +} + +func TestCopilotMetricsAIAdoptionPhase_GetVersion(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsAIAdoptionPhase{} + c.GetVersion() + c = nil + c.GetVersion() +} + +func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgCodeAcceptanceActivities(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetAvgCodeAcceptanceActivities() + c = nil + c.GetAvgCodeAcceptanceActivities() +} + +func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgCodeGenerationActivities(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetAvgCodeGenerationActivities() + c = nil + c.GetAvgCodeGenerationActivities() +} + +func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgLOCAdded(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetAvgLOCAdded() + c = nil c.GetAvgLOCAdded() } -func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgLOCDeleted(tt *testing.T) { +func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgLOCDeleted(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetAvgLOCDeleted() + c = nil + c.GetAvgLOCDeleted() +} + +func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgPullRequestsCreated(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetAvgPullRequestsCreated() + c = nil + c.GetAvgPullRequestsCreated() +} + +func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgPullRequestsMedianMinutesToMerge(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetAvgPullRequestsMedianMinutesToMerge() + c = nil + c.GetAvgPullRequestsMedianMinutesToMerge() +} + +func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgPullRequestsMerged(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetAvgPullRequestsMerged() + c = nil + c.GetAvgPullRequestsMerged() +} + +func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgPullRequestsMinutesToReview(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetAvgPullRequestsMinutesToReview() + c = nil + c.GetAvgPullRequestsMinutesToReview() +} + +func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgPullRequestsReviewCycles(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetAvgPullRequestsReviewCycles() + c = nil + c.GetAvgPullRequestsReviewCycles() +} + +func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgPullRequestsReviewed(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetAvgPullRequestsReviewed() + c = nil + c.GetAvgPullRequestsReviewed() +} + +func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgUserInitiatedInteractions(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetAvgUserInitiatedInteractions() + c = nil + c.GetAvgUserInitiatedInteractions() +} + +func TestCopilotMetricsAIAdoptionPhaseTotals_GetPhase(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetPhase() + c = nil + c.GetPhase() +} + +func TestCopilotMetricsAIAdoptionPhaseTotals_GetPhaseNumber(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetPhaseNumber() + c = nil + c.GetPhaseNumber() +} + +func TestCopilotMetricsAIAdoptionPhaseTotals_GetTotalEngagedUsers(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() +} + +func TestCopilotMetricsAIAdoptionPhaseTotals_GetTotalPullRequestsMerged(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsAIAdoptionPhaseTotals{} + c.GetTotalPullRequestsMerged() + c = nil + c.GetTotalPullRequestsMerged() +} + +func TestCopilotMetricsChatPanel_GetChatPanelAgentMode(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsChatPanel{ChatPanelAgentMode: &zeroValue} + c.GetChatPanelAgentMode() + c = &CopilotMetricsChatPanel{} + c.GetChatPanelAgentMode() + c = nil + c.GetChatPanelAgentMode() +} + +func TestCopilotMetricsChatPanel_GetChatPanelAskMode(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsChatPanel{ChatPanelAskMode: &zeroValue} + c.GetChatPanelAskMode() + c = &CopilotMetricsChatPanel{} + c.GetChatPanelAskMode() + c = nil + c.GetChatPanelAskMode() +} + +func TestCopilotMetricsChatPanel_GetChatPanelCustomMode(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsChatPanel{ChatPanelCustomMode: &zeroValue} + c.GetChatPanelCustomMode() + c = &CopilotMetricsChatPanel{} + c.GetChatPanelCustomMode() + c = nil + c.GetChatPanelCustomMode() +} + +func TestCopilotMetricsChatPanel_GetChatPanelEditMode(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsChatPanel{ChatPanelEditMode: &zeroValue} + c.GetChatPanelEditMode() + c = &CopilotMetricsChatPanel{} + c.GetChatPanelEditMode() + c = nil + c.GetChatPanelEditMode() +} + +func TestCopilotMetricsChatPanel_GetChatPanelUnknownMode(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsChatPanel{ChatPanelUnknownMode: &zeroValue} + c.GetChatPanelUnknownMode() + c = &CopilotMetricsChatPanel{} + c.GetChatPanelUnknownMode() + c = nil + c.GetChatPanelUnknownMode() +} + +func TestCopilotMetricsCLI_GetLastKnownCLIVersion(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsCLI{} + c.GetLastKnownCLIVersion() + c = nil + c.GetLastKnownCLIVersion() +} + +func TestCopilotMetricsCLI_GetPromptCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsCLI{PromptCount: &zeroValue} + c.GetPromptCount() + c = &CopilotMetricsCLI{} + c.GetPromptCount() + c = nil + c.GetPromptCount() +} + +func TestCopilotMetricsCLI_GetRequestCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsCLI{RequestCount: &zeroValue} + c.GetRequestCount() + c = &CopilotMetricsCLI{} + c.GetRequestCount() + c = nil + c.GetRequestCount() +} + +func TestCopilotMetricsCLI_GetSessionCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsCLI{SessionCount: &zeroValue} + c.GetSessionCount() + c = &CopilotMetricsCLI{} + c.GetSessionCount() + c = nil + c.GetSessionCount() +} + +func TestCopilotMetricsCLI_GetTokenUsage(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsCLI{} + c.GetTokenUsage() + c = nil + c.GetTokenUsage() +} + +func TestCopilotMetricsCLITokenUsage_GetAvgTokensPerRequest(tt *testing.T) { + tt.Parallel() + var zeroValue float64 + c := &CopilotMetricsCLITokenUsage{AvgTokensPerRequest: &zeroValue} + c.GetAvgTokensPerRequest() + c = &CopilotMetricsCLITokenUsage{} + c.GetAvgTokensPerRequest() + c = nil + c.GetAvgTokensPerRequest() +} + +func TestCopilotMetricsCLITokenUsage_GetOutputTokensSum(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsCLITokenUsage{OutputTokensSum: &zeroValue} + c.GetOutputTokensSum() + c = &CopilotMetricsCLITokenUsage{} + c.GetOutputTokensSum() + c = nil + c.GetOutputTokensSum() +} + +func TestCopilotMetricsCLITokenUsage_GetPromptTokensSum(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsCLITokenUsage{PromptTokensSum: &zeroValue} + c.GetPromptTokensSum() + c = &CopilotMetricsCLITokenUsage{} + c.GetPromptTokensSum() + c = nil + c.GetPromptTokensSum() +} + +func TestCopilotMetricsCLIVersion_GetCLIVersion(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsCLIVersion{} + c.GetCLIVersion() + c = nil + c.GetCLIVersion() +} + +func TestCopilotMetricsCLIVersion_GetSampledAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CopilotMetricsCLIVersion{SampledAt: &zeroValue} + c.GetSampledAt() + c = &CopilotMetricsCLIVersion{} + c.GetSampledAt() + c = nil + c.GetSampledAt() +} + +func TestCopilotMetricsCodeActivity_GetCodeAcceptanceActivityCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsCodeActivity{CodeAcceptanceActivityCount: &zeroValue} + c.GetCodeAcceptanceActivityCount() + c = &CopilotMetricsCodeActivity{} + c.GetCodeAcceptanceActivityCount() + c = nil + c.GetCodeAcceptanceActivityCount() +} + +func TestCopilotMetricsCodeActivity_GetCodeGenerationActivityCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsCodeActivity{CodeGenerationActivityCount: &zeroValue} + c.GetCodeGenerationActivityCount() + c = &CopilotMetricsCodeActivity{} + c.GetCodeGenerationActivityCount() + c = nil + c.GetCodeGenerationActivityCount() +} + +func TestCopilotMetricsCodeActivity_GetLOCAddedSum(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsCodeActivity{LOCAddedSum: &zeroValue} + c.GetLOCAddedSum() + c = &CopilotMetricsCodeActivity{} + c.GetLOCAddedSum() + c = nil + c.GetLOCAddedSum() +} + +func TestCopilotMetricsCodeActivity_GetLOCDeletedSum(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsCodeActivity{LOCDeletedSum: &zeroValue} + c.GetLOCDeletedSum() + c = &CopilotMetricsCodeActivity{} + c.GetLOCDeletedSum() + c = nil + c.GetLOCDeletedSum() +} + +func TestCopilotMetricsCodeActivity_GetLOCSuggestedToAddSum(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsCodeActivity{LOCSuggestedToAddSum: &zeroValue} + c.GetLOCSuggestedToAddSum() + c = &CopilotMetricsCodeActivity{} + c.GetLOCSuggestedToAddSum() + c = nil + c.GetLOCSuggestedToAddSum() +} + +func TestCopilotMetricsCodeActivity_GetLOCSuggestedToDeleteSum(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsCodeActivity{LOCSuggestedToDeleteSum: &zeroValue} + c.GetLOCSuggestedToDeleteSum() + c = &CopilotMetricsCodeActivity{} + c.GetLOCSuggestedToDeleteSum() + c = nil + c.GetLOCSuggestedToDeleteSum() +} + +func TestCopilotMetricsCopilotApp_GetPromptCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsCopilotApp{PromptCount: &zeroValue} + c.GetPromptCount() + c = &CopilotMetricsCopilotApp{} + c.GetPromptCount() + c = nil + c.GetPromptCount() +} + +func TestCopilotMetricsCopilotApp_GetRequestCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsCopilotApp{RequestCount: &zeroValue} + c.GetRequestCount() + c = &CopilotMetricsCopilotApp{} + c.GetRequestCount() + c = nil + c.GetRequestCount() +} + +func TestCopilotMetricsCopilotApp_GetSessionCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsCopilotApp{SessionCount: &zeroValue} + c.GetSessionCount() + c = &CopilotMetricsCopilotApp{} + c.GetSessionCount() + c = nil + c.GetSessionCount() +} + +func TestCopilotMetricsCopilotApp_GetTokenUsage(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsCopilotApp{} + c.GetTokenUsage() + c = nil + c.GetTokenUsage() +} + +func TestCopilotMetricsCopilotAppTokenUsage_GetAvgTokensPerRequest(tt *testing.T) { + tt.Parallel() + var zeroValue float64 + c := &CopilotMetricsCopilotAppTokenUsage{AvgTokensPerRequest: &zeroValue} + c.GetAvgTokensPerRequest() + c = &CopilotMetricsCopilotAppTokenUsage{} + c.GetAvgTokensPerRequest() + c = nil + c.GetAvgTokensPerRequest() +} + +func TestCopilotMetricsCopilotAppTokenUsage_GetOutputTokensSum(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsCopilotAppTokenUsage{OutputTokensSum: &zeroValue} + c.GetOutputTokensSum() + c = &CopilotMetricsCopilotAppTokenUsage{} + c.GetOutputTokensSum() + c = nil + c.GetOutputTokensSum() +} + +func TestCopilotMetricsCopilotAppTokenUsage_GetPromptTokensSum(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsCopilotAppTokenUsage{PromptTokensSum: &zeroValue} + c.GetPromptTokensSum() + c = &CopilotMetricsCopilotAppTokenUsage{} + c.GetPromptTokensSum() + c = nil + c.GetPromptTokensSum() +} + +func TestCopilotMetricsCopilotSuggestionByCommentType_GetCommentType(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsCopilotSuggestionByCommentType{} + c.GetCommentType() + c = nil + c.GetCommentType() +} + +func TestCopilotMetricsCopilotSuggestionByCommentType_GetTotalCopilotAppliedSuggestions(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsCopilotSuggestionByCommentType{TotalCopilotAppliedSuggestions: &zeroValue} + c.GetTotalCopilotAppliedSuggestions() + c = &CopilotMetricsCopilotSuggestionByCommentType{} + c.GetTotalCopilotAppliedSuggestions() + c = nil + c.GetTotalCopilotAppliedSuggestions() +} + +func TestCopilotMetricsCopilotSuggestionByCommentType_GetTotalCopilotSuggestions(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsCopilotSuggestionByCommentType{TotalCopilotSuggestions: &zeroValue} + c.GetTotalCopilotSuggestions() + c = &CopilotMetricsCopilotSuggestionByCommentType{} + c.GetTotalCopilotSuggestions() + c = nil + c.GetTotalCopilotSuggestions() +} + +func TestCopilotMetricsFeature_GetFeature(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsFeature{} + c.GetFeature() + c = nil + c.GetFeature() +} + +func TestCopilotMetricsFeature_GetUserInitiatedInteractionCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsFeature{UserInitiatedInteractionCount: &zeroValue} + c.GetUserInitiatedInteractionCount() + c = &CopilotMetricsFeature{} + c.GetUserInitiatedInteractionCount() + c = nil + c.GetUserInitiatedInteractionCount() +} + +func TestCopilotMetricsIDE_GetIDE(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsIDE{} + c.GetIDE() + c = nil + c.GetIDE() +} + +func TestCopilotMetricsIDE_GetUserInitiatedInteractionCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsIDE{UserInitiatedInteractionCount: &zeroValue} + c.GetUserInitiatedInteractionCount() + c = &CopilotMetricsIDE{} + c.GetUserInitiatedInteractionCount() + c = nil + c.GetUserInitiatedInteractionCount() +} + +func TestCopilotMetricsLanguageFeature_GetFeature(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsLanguageFeature{} + c.GetFeature() + c = nil + c.GetFeature() +} + +func TestCopilotMetricsLanguageFeature_GetLanguage(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsLanguageFeature{} + c.GetLanguage() + c = nil + c.GetLanguage() +} + +func TestCopilotMetricsLanguageModel_GetLanguage(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsLanguageModel{} + c.GetLanguage() + c = nil + c.GetLanguage() +} + +func TestCopilotMetricsLanguageModel_GetModel(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsLanguageModel{} + c.GetModel() + c = nil + c.GetModel() +} + +func TestCopilotMetricsListOptions_GetSince(tt *testing.T) { + tt.Parallel() + var zeroValue time.Time + c := &CopilotMetricsListOptions{Since: &zeroValue} + c.GetSince() + c = &CopilotMetricsListOptions{} + c.GetSince() + c = nil + c.GetSince() +} + +func TestCopilotMetricsListOptions_GetUntil(tt *testing.T) { + tt.Parallel() + var zeroValue time.Time + c := &CopilotMetricsListOptions{Until: &zeroValue} + c.GetUntil() + c = &CopilotMetricsListOptions{} + c.GetUntil() + c = nil + c.GetUntil() +} + +func TestCopilotMetricsModelFeature_GetFeature(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsModelFeature{} + c.GetFeature() + c = nil + c.GetFeature() +} + +func TestCopilotMetricsModelFeature_GetModel(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsModelFeature{} + c.GetModel() + c = nil + c.GetModel() +} + +func TestCopilotMetricsModelFeature_GetUserInitiatedInteractionCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsModelFeature{UserInitiatedInteractionCount: &zeroValue} + c.GetUserInitiatedInteractionCount() + c = &CopilotMetricsModelFeature{} + c.GetUserInitiatedInteractionCount() + c = nil + c.GetUserInitiatedInteractionCount() +} + +func TestCopilotMetricsPullRequests_GetCopilotSuggestionsByCommentType(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotMetricsCopilotSuggestionByCommentType{} + c := &CopilotMetricsPullRequests{CopilotSuggestionsByCommentType: zeroValue} + c.GetCopilotSuggestionsByCommentType() + c = &CopilotMetricsPullRequests{} + c.GetCopilotSuggestionsByCommentType() + c = nil + c.GetCopilotSuggestionsByCommentType() +} + +func TestCopilotMetricsPullRequests_GetMedianMinutesToMerge(tt *testing.T) { + tt.Parallel() + var zeroValue float64 + c := &CopilotMetricsPullRequests{MedianMinutesToMerge: &zeroValue} + c.GetMedianMinutesToMerge() + c = &CopilotMetricsPullRequests{} + c.GetMedianMinutesToMerge() + c = nil + c.GetMedianMinutesToMerge() +} + +func TestCopilotMetricsPullRequests_GetMedianMinutesToMergeCopilotAuthored(tt *testing.T) { + tt.Parallel() + var zeroValue float64 + c := &CopilotMetricsPullRequests{MedianMinutesToMergeCopilotAuthored: &zeroValue} + c.GetMedianMinutesToMergeCopilotAuthored() + c = &CopilotMetricsPullRequests{} + c.GetMedianMinutesToMergeCopilotAuthored() + c = nil + c.GetMedianMinutesToMergeCopilotAuthored() +} + +func TestCopilotMetricsPullRequests_GetMedianMinutesToMergeCopilotReviewed(tt *testing.T) { + tt.Parallel() + var zeroValue float64 + c := &CopilotMetricsPullRequests{MedianMinutesToMergeCopilotReviewed: &zeroValue} + c.GetMedianMinutesToMergeCopilotReviewed() + c = &CopilotMetricsPullRequests{} + c.GetMedianMinutesToMergeCopilotReviewed() + c = nil + c.GetMedianMinutesToMergeCopilotReviewed() +} + +func TestCopilotMetricsPullRequests_GetTotalAppliedSuggestions(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsPullRequests{TotalAppliedSuggestions: &zeroValue} + c.GetTotalAppliedSuggestions() + c = &CopilotMetricsPullRequests{} + c.GetTotalAppliedSuggestions() + c = nil + c.GetTotalAppliedSuggestions() +} + +func TestCopilotMetricsPullRequests_GetTotalCopilotAppliedSuggestions(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsPullRequests{TotalCopilotAppliedSuggestions: &zeroValue} + c.GetTotalCopilotAppliedSuggestions() + c = &CopilotMetricsPullRequests{} + c.GetTotalCopilotAppliedSuggestions() + c = nil + c.GetTotalCopilotAppliedSuggestions() +} + +func TestCopilotMetricsPullRequests_GetTotalCopilotSuggestions(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsPullRequests{TotalCopilotSuggestions: &zeroValue} + c.GetTotalCopilotSuggestions() + c = &CopilotMetricsPullRequests{} + c.GetTotalCopilotSuggestions() + c = nil + c.GetTotalCopilotSuggestions() +} + +func TestCopilotMetricsPullRequests_GetTotalCreated(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsPullRequests{TotalCreated: &zeroValue} + c.GetTotalCreated() + c = &CopilotMetricsPullRequests{} + c.GetTotalCreated() + c = nil + c.GetTotalCreated() +} + +func TestCopilotMetricsPullRequests_GetTotalCreatedByCopilot(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsPullRequests{TotalCreatedByCopilot: &zeroValue} + c.GetTotalCreatedByCopilot() + c = &CopilotMetricsPullRequests{} + c.GetTotalCreatedByCopilot() + c = nil + c.GetTotalCreatedByCopilot() +} + +func TestCopilotMetricsPullRequests_GetTotalMerged(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsPullRequests{TotalMerged: &zeroValue} + c.GetTotalMerged() + c = &CopilotMetricsPullRequests{} + c.GetTotalMerged() + c = nil + c.GetTotalMerged() +} + +func TestCopilotMetricsPullRequests_GetTotalMergedCreatedByCopilot(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsPullRequests{TotalMergedCreatedByCopilot: &zeroValue} + c.GetTotalMergedCreatedByCopilot() + c = &CopilotMetricsPullRequests{} + c.GetTotalMergedCreatedByCopilot() + c = nil + c.GetTotalMergedCreatedByCopilot() +} + +func TestCopilotMetricsPullRequests_GetTotalMergedReviewedByCopilot(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsPullRequests{TotalMergedReviewedByCopilot: &zeroValue} + c.GetTotalMergedReviewedByCopilot() + c = &CopilotMetricsPullRequests{} + c.GetTotalMergedReviewedByCopilot() + c = nil + c.GetTotalMergedReviewedByCopilot() +} + +func TestCopilotMetricsPullRequests_GetTotalReviewed(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsPullRequests{TotalReviewed: &zeroValue} + c.GetTotalReviewed() + c = &CopilotMetricsPullRequests{} + c.GetTotalReviewed() + c = nil + c.GetTotalReviewed() +} + +func TestCopilotMetricsPullRequests_GetTotalReviewedByCopilot(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsPullRequests{TotalReviewedByCopilot: &zeroValue} + c.GetTotalReviewedByCopilot() + c = &CopilotMetricsPullRequests{} + c.GetTotalReviewedByCopilot() + c = nil + c.GetTotalReviewedByCopilot() +} + +func TestCopilotMetricsPullRequests_GetTotalSuggestions(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsPullRequests{TotalSuggestions: &zeroValue} + c.GetTotalSuggestions() + c = &CopilotMetricsPullRequests{} + c.GetTotalSuggestions() + c = nil + c.GetTotalSuggestions() +} + +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 TestCopilotMetricsThirdPartyAgent_GetAgentID(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsThirdPartyAgent{} + c.GetAgentID() + c = nil + c.GetAgentID() +} + +func TestCopilotMetricsThirdPartyAgent_GetAgentName(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsThirdPartyAgent{} + c.GetAgentName() + c = nil + c.GetAgentName() +} + +func TestCopilotMetricsThirdPartyAgent_GetSessionCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsThirdPartyAgent{SessionCount: &zeroValue} + c.GetSessionCount() + c = &CopilotMetricsThirdPartyAgent{} + c.GetSessionCount() + c = nil + c.GetSessionCount() +} + +func TestCopilotMetricsThirdPartyAgent_GetUserInitiatedInteractionCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotMetricsThirdPartyAgent{UserInitiatedInteractionCount: &zeroValue} + c.GetUserInitiatedInteractionCount() + c = &CopilotMetricsThirdPartyAgent{} + c.GetUserInitiatedInteractionCount() + c = nil + c.GetUserInitiatedInteractionCount() +} + +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{} + c.GetSeatBreakdown() + c = nil + c.GetSeatBreakdown() +} + +func TestCopilotOrganizationDetails_GetSeatManagementSetting(tt *testing.T) { + tt.Parallel() + c := &CopilotOrganizationDetails{} + c.GetSeatManagementSetting() + c = nil + c.GetSeatManagementSetting() +} + +func TestCopilotPeriodicMetrics_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CopilotPeriodicMetrics{CreatedAt: &zeroValue} + c.GetCreatedAt() + c = &CopilotPeriodicMetrics{} + c.GetCreatedAt() + c = nil + c.GetCreatedAt() +} + +func TestCopilotPeriodicMetrics_GetDayTotals(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotDailyMetrics{} + c := &CopilotPeriodicMetrics{DayTotals: zeroValue} + c.GetDayTotals() + c = &CopilotPeriodicMetrics{} + c.GetDayTotals() + c = nil + c.GetDayTotals() +} + +func TestCopilotPeriodicMetrics_GetEnterpriseID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CopilotPeriodicMetrics{EnterpriseID: &zeroValue} + c.GetEnterpriseID() + c = &CopilotPeriodicMetrics{} + c.GetEnterpriseID() + c = nil + c.GetEnterpriseID() +} + +func TestCopilotPeriodicMetrics_GetOrganizationID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CopilotPeriodicMetrics{OrganizationID: &zeroValue} + c.GetOrganizationID() + c = &CopilotPeriodicMetrics{} + c.GetOrganizationID() + c = nil + c.GetOrganizationID() +} + +func TestCopilotPeriodicMetrics_GetReportEndDay(tt *testing.T) { + tt.Parallel() + c := &CopilotPeriodicMetrics{} + c.GetReportEndDay() + c = nil + c.GetReportEndDay() +} + +func TestCopilotPeriodicMetrics_GetReportStartDay(tt *testing.T) { + tt.Parallel() + c := &CopilotPeriodicMetrics{} + c.GetReportStartDay() + c = nil + c.GetReportStartDay() +} + +func TestCopilotRepositoryDailyMetrics_GetDay(tt *testing.T) { + tt.Parallel() + c := &CopilotRepositoryDailyMetrics{} + c.GetDay() + c = nil + c.GetDay() +} + +func TestCopilotRepositoryDailyMetrics_GetEnterpriseID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CopilotRepositoryDailyMetrics{EnterpriseID: &zeroValue} + c.GetEnterpriseID() + c = &CopilotRepositoryDailyMetrics{} + c.GetEnterpriseID() + c = nil + c.GetEnterpriseID() +} + +func TestCopilotRepositoryDailyMetrics_GetOrganizationID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CopilotRepositoryDailyMetrics{OrganizationID: &zeroValue} + c.GetOrganizationID() + c = &CopilotRepositoryDailyMetrics{} + c.GetOrganizationID() + c = nil + c.GetOrganizationID() +} + +func TestCopilotRepositoryDailyMetrics_GetPullRequests(tt *testing.T) { + tt.Parallel() + c := &CopilotRepositoryDailyMetrics{} + c.GetPullRequests() + c = nil + c.GetPullRequests() +} + +func TestCopilotRepositoryDailyMetrics_GetRepoID(tt *testing.T) { + tt.Parallel() + c := &CopilotRepositoryDailyMetrics{} + c.GetRepoID() + c = nil + c.GetRepoID() +} + +func TestCopilotRepositoryDailyMetrics_GetRepoName(tt *testing.T) { + tt.Parallel() + c := &CopilotRepositoryDailyMetrics{} + c.GetRepoName() + c = nil + c.GetRepoName() +} + +func TestCopilotRepositoryDailyMetrics_GetRepoOwnerName(tt *testing.T) { + tt.Parallel() + c := &CopilotRepositoryDailyMetrics{} + c.GetRepoOwnerName() + c = nil + c.GetRepoOwnerName() +} + +func TestCopilotRepositoryDailyMetrics_GetRepoVisibility(tt *testing.T) { + tt.Parallel() + c := &CopilotRepositoryDailyMetrics{} + c.GetRepoVisibility() + c = nil + c.GetRepoVisibility() +} + +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{} + c.GetAssigningTeam() + c = nil + c.GetAssigningTeam() +} + +func TestCopilotSeatDetails_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CopilotSeatDetails{CreatedAt: &zeroValue} + c.GetCreatedAt() + c = &CopilotSeatDetails{} + c.GetCreatedAt() + c = nil + c.GetCreatedAt() +} + +func TestCopilotSeatDetails_GetLastActivityAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CopilotSeatDetails{LastActivityAt: &zeroValue} + c.GetLastActivityAt() + c = &CopilotSeatDetails{} + c.GetLastActivityAt() + c = nil + c.GetLastActivityAt() +} + +func TestCopilotSeatDetails_GetLastActivityEditor(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CopilotSeatDetails{LastActivityEditor: &zeroValue} + c.GetLastActivityEditor() + c = &CopilotSeatDetails{} + c.GetLastActivityEditor() + c = nil + c.GetLastActivityEditor() +} + +func TestCopilotSeatDetails_GetPendingCancellationDate(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CopilotSeatDetails{PendingCancellationDate: &zeroValue} + c.GetPendingCancellationDate() + c = &CopilotSeatDetails{} + c.GetPendingCancellationDate() + c = nil + c.GetPendingCancellationDate() +} + +func TestCopilotSeatDetails_GetPlanType(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CopilotSeatDetails{PlanType: &zeroValue} + c.GetPlanType() + c = &CopilotSeatDetails{} + c.GetPlanType() + c = nil + c.GetPlanType() +} + +func TestCopilotSeatDetails_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CopilotSeatDetails{UpdatedAt: &zeroValue} + c.GetUpdatedAt() + c = &CopilotSeatDetails{} + c.GetUpdatedAt() + c = nil + c.GetUpdatedAt() +} + +func TestCopilotUserDailyMetrics_GetAIAdoptionPhase(tt *testing.T) { + tt.Parallel() + c := &CopilotUserDailyMetrics{} + c.GetAIAdoptionPhase() + c = nil + c.GetAIAdoptionPhase() +} + +func TestCopilotUserDailyMetrics_GetAICreditsUsed(tt *testing.T) { + tt.Parallel() + var zeroValue float64 + c := &CopilotUserDailyMetrics{AICreditsUsed: &zeroValue} + c.GetAICreditsUsed() + c = &CopilotUserDailyMetrics{} + c.GetAICreditsUsed() + c = nil + c.GetAICreditsUsed() +} + +func TestCopilotUserDailyMetrics_GetCodeAcceptanceActivityCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotUserDailyMetrics{CodeAcceptanceActivityCount: &zeroValue} + c.GetCodeAcceptanceActivityCount() + c = &CopilotUserDailyMetrics{} + c.GetCodeAcceptanceActivityCount() + c = nil + c.GetCodeAcceptanceActivityCount() +} + +func TestCopilotUserDailyMetrics_GetCodeGenerationActivityCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotUserDailyMetrics{CodeGenerationActivityCount: &zeroValue} + c.GetCodeGenerationActivityCount() + c = &CopilotUserDailyMetrics{} + c.GetCodeGenerationActivityCount() + c = nil + c.GetCodeGenerationActivityCount() +} + +func TestCopilotUserDailyMetrics_GetDay(tt *testing.T) { + tt.Parallel() + c := &CopilotUserDailyMetrics{} + c.GetDay() + c = nil + c.GetDay() +} + +func TestCopilotUserDailyMetrics_GetEnterpriseID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CopilotUserDailyMetrics{EnterpriseID: &zeroValue} + c.GetEnterpriseID() + c = &CopilotUserDailyMetrics{} + c.GetEnterpriseID() + c = nil + c.GetEnterpriseID() +} + +func TestCopilotUserDailyMetrics_GetLOCAddedSum(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotUserDailyMetrics{LOCAddedSum: &zeroValue} + c.GetLOCAddedSum() + c = &CopilotUserDailyMetrics{} + c.GetLOCAddedSum() + c = nil + c.GetLOCAddedSum() +} + +func TestCopilotUserDailyMetrics_GetLOCDeletedSum(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotUserDailyMetrics{LOCDeletedSum: &zeroValue} + c.GetLOCDeletedSum() + c = &CopilotUserDailyMetrics{} + c.GetLOCDeletedSum() + c = nil + c.GetLOCDeletedSum() +} + +func TestCopilotUserDailyMetrics_GetLOCSuggestedToAddSum(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotUserDailyMetrics{LOCSuggestedToAddSum: &zeroValue} + c.GetLOCSuggestedToAddSum() + c = &CopilotUserDailyMetrics{} + c.GetLOCSuggestedToAddSum() + c = nil + c.GetLOCSuggestedToAddSum() +} + +func TestCopilotUserDailyMetrics_GetLOCSuggestedToDeleteSum(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotUserDailyMetrics{LOCSuggestedToDeleteSum: &zeroValue} + c.GetLOCSuggestedToDeleteSum() + c = &CopilotUserDailyMetrics{} + c.GetLOCSuggestedToDeleteSum() + c = nil + c.GetLOCSuggestedToDeleteSum() +} + +func TestCopilotUserDailyMetrics_GetOrganizationID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CopilotUserDailyMetrics{OrganizationID: &zeroValue} + c.GetOrganizationID() + c = &CopilotUserDailyMetrics{} + c.GetOrganizationID() + c = nil + c.GetOrganizationID() +} + +func TestCopilotUserDailyMetrics_GetTotalsBy3rdPartyAgent(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotMetricsThirdPartyAgent{} + c := &CopilotUserDailyMetrics{TotalsBy3rdPartyAgent: zeroValue} + c.GetTotalsBy3rdPartyAgent() + c = &CopilotUserDailyMetrics{} + c.GetTotalsBy3rdPartyAgent() + c = nil + c.GetTotalsBy3rdPartyAgent() +} + +func TestCopilotUserDailyMetrics_GetTotalsByCLI(tt *testing.T) { + tt.Parallel() + c := &CopilotUserDailyMetrics{} + c.GetTotalsByCLI() + c = nil + c.GetTotalsByCLI() +} + +func TestCopilotUserDailyMetrics_GetTotalsByCopilotApp(tt *testing.T) { + tt.Parallel() + c := &CopilotUserDailyMetrics{} + c.GetTotalsByCopilotApp() + c = nil + c.GetTotalsByCopilotApp() +} + +func TestCopilotUserDailyMetrics_GetTotalsByFeature(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotMetricsFeature{} + c := &CopilotUserDailyMetrics{TotalsByFeature: zeroValue} + c.GetTotalsByFeature() + c = &CopilotUserDailyMetrics{} + c.GetTotalsByFeature() + c = nil + c.GetTotalsByFeature() +} + +func TestCopilotUserDailyMetrics_GetTotalsByIDE(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotUserMetricsIDE{} + c := &CopilotUserDailyMetrics{TotalsByIDE: zeroValue} + c.GetTotalsByIDE() + c = &CopilotUserDailyMetrics{} + c.GetTotalsByIDE() + c = nil + c.GetTotalsByIDE() +} + +func TestCopilotUserDailyMetrics_GetTotalsByLanguageFeature(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotMetricsLanguageFeature{} + c := &CopilotUserDailyMetrics{TotalsByLanguageFeature: zeroValue} + c.GetTotalsByLanguageFeature() + c = &CopilotUserDailyMetrics{} + c.GetTotalsByLanguageFeature() + c = nil + c.GetTotalsByLanguageFeature() +} + +func TestCopilotUserDailyMetrics_GetTotalsByLanguageModel(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotMetricsLanguageModel{} + c := &CopilotUserDailyMetrics{TotalsByLanguageModel: zeroValue} + c.GetTotalsByLanguageModel() + c = &CopilotUserDailyMetrics{} + c.GetTotalsByLanguageModel() + c = nil + c.GetTotalsByLanguageModel() +} + +func TestCopilotUserDailyMetrics_GetTotalsByModelFeature(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotMetricsModelFeature{} + c := &CopilotUserDailyMetrics{TotalsByModelFeature: zeroValue} + c.GetTotalsByModelFeature() + c = &CopilotUserDailyMetrics{} + c.GetTotalsByModelFeature() + c = nil + c.GetTotalsByModelFeature() +} + +func TestCopilotUserDailyMetrics_GetUsedAgent(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CopilotUserDailyMetrics{UsedAgent: &zeroValue} + c.GetUsedAgent() + c = &CopilotUserDailyMetrics{} + c.GetUsedAgent() + c = nil + c.GetUsedAgent() +} + +func TestCopilotUserDailyMetrics_GetUsedChat(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CopilotUserDailyMetrics{UsedChat: &zeroValue} + c.GetUsedChat() + c = &CopilotUserDailyMetrics{} + c.GetUsedChat() + c = nil + c.GetUsedChat() +} + +func TestCopilotUserDailyMetrics_GetUsedCLI(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CopilotUserDailyMetrics{UsedCLI: &zeroValue} + c.GetUsedCLI() + c = &CopilotUserDailyMetrics{} + c.GetUsedCLI() + c = nil + c.GetUsedCLI() +} + +func TestCopilotUserDailyMetrics_GetUsedCopilotApp(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CopilotUserDailyMetrics{UsedCopilotApp: &zeroValue} + c.GetUsedCopilotApp() + c = &CopilotUserDailyMetrics{} + c.GetUsedCopilotApp() + c = nil + c.GetUsedCopilotApp() +} + +func TestCopilotUserDailyMetrics_GetUsedCopilotCloudAgent(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CopilotUserDailyMetrics{UsedCopilotCloudAgent: &zeroValue} + c.GetUsedCopilotCloudAgent() + c = &CopilotUserDailyMetrics{} + c.GetUsedCopilotCloudAgent() + c = nil + c.GetUsedCopilotCloudAgent() +} + +func TestCopilotUserDailyMetrics_GetUsedCopilotCodeReviewActive(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CopilotUserDailyMetrics{UsedCopilotCodeReviewActive: &zeroValue} + c.GetUsedCopilotCodeReviewActive() + c = &CopilotUserDailyMetrics{} + c.GetUsedCopilotCodeReviewActive() + c = nil + c.GetUsedCopilotCodeReviewActive() +} + +func TestCopilotUserDailyMetrics_GetUsedCopilotCodeReviewPassive(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CopilotUserDailyMetrics{UsedCopilotCodeReviewPassive: &zeroValue} + c.GetUsedCopilotCodeReviewPassive() + c = &CopilotUserDailyMetrics{} + c.GetUsedCopilotCodeReviewPassive() + c = nil + c.GetUsedCopilotCodeReviewPassive() +} + +func TestCopilotUserDailyMetrics_GetUsedCopilotCodingAgent(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CopilotUserDailyMetrics{UsedCopilotCodingAgent: &zeroValue} + c.GetUsedCopilotCodingAgent() + c = &CopilotUserDailyMetrics{} + c.GetUsedCopilotCodingAgent() + c = nil + c.GetUsedCopilotCodingAgent() +} + +func TestCopilotUserDailyMetrics_GetUserID(tt *testing.T) { + tt.Parallel() + c := &CopilotUserDailyMetrics{} + c.GetUserID() + c = nil + c.GetUserID() +} + +func TestCopilotUserDailyMetrics_GetUserInitiatedInteractionCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotUserDailyMetrics{UserInitiatedInteractionCount: &zeroValue} + c.GetUserInitiatedInteractionCount() + c = &CopilotUserDailyMetrics{} + c.GetUserInitiatedInteractionCount() + c = nil + c.GetUserInitiatedInteractionCount() +} + +func TestCopilotUserDailyMetrics_GetUserLogin(tt *testing.T) { + tt.Parallel() + c := &CopilotUserDailyMetrics{} + c.GetUserLogin() + c = nil + c.GetUserLogin() +} + +func TestCopilotUserMetricsIDE_GetIDE(tt *testing.T) { + tt.Parallel() + c := &CopilotUserMetricsIDE{} + c.GetIDE() + c = nil + c.GetIDE() +} + +func TestCopilotUserMetricsIDE_GetLastKnownIDEVersion(tt *testing.T) { + tt.Parallel() + c := &CopilotUserMetricsIDE{} + c.GetLastKnownIDEVersion() + c = nil + c.GetLastKnownIDEVersion() +} + +func TestCopilotUserMetricsIDE_GetLastKnownPluginVersion(tt *testing.T) { + tt.Parallel() + c := &CopilotUserMetricsIDE{} + c.GetLastKnownPluginVersion() + c = nil + c.GetLastKnownPluginVersion() +} + +func TestCopilotUserMetricsIDE_GetUserInitiatedInteractionCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotUserMetricsIDE{UserInitiatedInteractionCount: &zeroValue} + c.GetUserInitiatedInteractionCount() + c = &CopilotUserMetricsIDE{} + c.GetUserInitiatedInteractionCount() + c = nil + c.GetUserInitiatedInteractionCount() +} + +func TestCopilotUserMetricsIDEVersion_GetIDEVersion(tt *testing.T) { + tt.Parallel() + c := &CopilotUserMetricsIDEVersion{} + c.GetIDEVersion() + c = nil + c.GetIDEVersion() +} + +func TestCopilotUserMetricsIDEVersion_GetSampledAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CopilotUserMetricsIDEVersion{SampledAt: &zeroValue} + c.GetSampledAt() + c = &CopilotUserMetricsIDEVersion{} + c.GetSampledAt() + c = nil + c.GetSampledAt() +} + +func TestCopilotUserMetricsPluginVersion_GetPlugin(tt *testing.T) { + tt.Parallel() + c := &CopilotUserMetricsPluginVersion{} + c.GetPlugin() + c = nil + c.GetPlugin() +} + +func TestCopilotUserMetricsPluginVersion_GetPluginVersion(tt *testing.T) { + tt.Parallel() + c := &CopilotUserMetricsPluginVersion{} + c.GetPluginVersion() + c = nil + c.GetPluginVersion() +} + +func TestCopilotUserMetricsPluginVersion_GetSampledAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CopilotUserMetricsPluginVersion{SampledAt: &zeroValue} + c.GetSampledAt() + c = &CopilotUserMetricsPluginVersion{} + c.GetSampledAt() + c = nil + c.GetSampledAt() +} + +func TestCopilotUserPeriodicMetrics_GetAIAdoptionPhase(tt *testing.T) { + tt.Parallel() + c := &CopilotUserPeriodicMetrics{} + c.GetAIAdoptionPhase() + c = nil + c.GetAIAdoptionPhase() +} + +func TestCopilotUserPeriodicMetrics_GetAICreditsUsed(tt *testing.T) { + tt.Parallel() + var zeroValue float64 + c := &CopilotUserPeriodicMetrics{AICreditsUsed: &zeroValue} + c.GetAICreditsUsed() + c = &CopilotUserPeriodicMetrics{} + c.GetAICreditsUsed() + c = nil + c.GetAICreditsUsed() +} + +func TestCopilotUserPeriodicMetrics_GetCodeAcceptanceActivityCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotUserPeriodicMetrics{CodeAcceptanceActivityCount: &zeroValue} + c.GetCodeAcceptanceActivityCount() + c = &CopilotUserPeriodicMetrics{} + c.GetCodeAcceptanceActivityCount() + c = nil + c.GetCodeAcceptanceActivityCount() +} + +func TestCopilotUserPeriodicMetrics_GetCodeGenerationActivityCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotUserPeriodicMetrics{CodeGenerationActivityCount: &zeroValue} + c.GetCodeGenerationActivityCount() + c = &CopilotUserPeriodicMetrics{} + c.GetCodeGenerationActivityCount() + c = nil + c.GetCodeGenerationActivityCount() +} + +func TestCopilotUserPeriodicMetrics_GetDay(tt *testing.T) { + tt.Parallel() + c := &CopilotUserPeriodicMetrics{} + c.GetDay() + c = nil + c.GetDay() +} + +func TestCopilotUserPeriodicMetrics_GetEnterpriseID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CopilotUserPeriodicMetrics{EnterpriseID: &zeroValue} + c.GetEnterpriseID() + c = &CopilotUserPeriodicMetrics{} + c.GetEnterpriseID() + c = nil + c.GetEnterpriseID() +} + +func TestCopilotUserPeriodicMetrics_GetLOCAddedSum(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotUserPeriodicMetrics{LOCAddedSum: &zeroValue} + c.GetLOCAddedSum() + c = &CopilotUserPeriodicMetrics{} + c.GetLOCAddedSum() + c = nil + c.GetLOCAddedSum() +} + +func TestCopilotUserPeriodicMetrics_GetLOCDeletedSum(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotUserPeriodicMetrics{LOCDeletedSum: &zeroValue} + c.GetLOCDeletedSum() + c = &CopilotUserPeriodicMetrics{} + c.GetLOCDeletedSum() + c = nil + c.GetLOCDeletedSum() +} + +func TestCopilotUserPeriodicMetrics_GetLOCSuggestedToAddSum(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotUserPeriodicMetrics{LOCSuggestedToAddSum: &zeroValue} + c.GetLOCSuggestedToAddSum() + c = &CopilotUserPeriodicMetrics{} + c.GetLOCSuggestedToAddSum() + c = nil + c.GetLOCSuggestedToAddSum() +} + +func TestCopilotUserPeriodicMetrics_GetLOCSuggestedToDeleteSum(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotUserPeriodicMetrics{LOCSuggestedToDeleteSum: &zeroValue} + c.GetLOCSuggestedToDeleteSum() + c = &CopilotUserPeriodicMetrics{} + c.GetLOCSuggestedToDeleteSum() + c = nil + c.GetLOCSuggestedToDeleteSum() +} + +func TestCopilotUserPeriodicMetrics_GetOrganizationID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CopilotUserPeriodicMetrics{OrganizationID: &zeroValue} + c.GetOrganizationID() + c = &CopilotUserPeriodicMetrics{} + c.GetOrganizationID() + c = nil + c.GetOrganizationID() +} + +func TestCopilotUserPeriodicMetrics_GetReportEndDay(tt *testing.T) { + tt.Parallel() + c := &CopilotUserPeriodicMetrics{} + c.GetReportEndDay() + c = nil + c.GetReportEndDay() +} + +func TestCopilotUserPeriodicMetrics_GetReportStartDay(tt *testing.T) { + tt.Parallel() + c := &CopilotUserPeriodicMetrics{} + c.GetReportStartDay() + c = nil + c.GetReportStartDay() +} + +func TestCopilotUserPeriodicMetrics_GetTotalsBy3rdPartyAgent(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotMetricsThirdPartyAgent{} + c := &CopilotUserPeriodicMetrics{TotalsBy3rdPartyAgent: zeroValue} + c.GetTotalsBy3rdPartyAgent() + c = &CopilotUserPeriodicMetrics{} + c.GetTotalsBy3rdPartyAgent() + c = nil + c.GetTotalsBy3rdPartyAgent() +} + +func TestCopilotUserPeriodicMetrics_GetTotalsByCLI(tt *testing.T) { + tt.Parallel() + c := &CopilotUserPeriodicMetrics{} + c.GetTotalsByCLI() + c = nil + c.GetTotalsByCLI() +} + +func TestCopilotUserPeriodicMetrics_GetTotalsByCopilotApp(tt *testing.T) { + tt.Parallel() + c := &CopilotUserPeriodicMetrics{} + c.GetTotalsByCopilotApp() + c = nil + c.GetTotalsByCopilotApp() +} + +func TestCopilotUserPeriodicMetrics_GetTotalsByFeature(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotMetricsFeature{} + c := &CopilotUserPeriodicMetrics{TotalsByFeature: zeroValue} + c.GetTotalsByFeature() + c = &CopilotUserPeriodicMetrics{} + c.GetTotalsByFeature() + c = nil + c.GetTotalsByFeature() +} + +func TestCopilotUserPeriodicMetrics_GetTotalsByIDE(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotUserMetricsIDE{} + c := &CopilotUserPeriodicMetrics{TotalsByIDE: zeroValue} + c.GetTotalsByIDE() + c = &CopilotUserPeriodicMetrics{} + c.GetTotalsByIDE() + c = nil + c.GetTotalsByIDE() +} + +func TestCopilotUserPeriodicMetrics_GetTotalsByLanguageFeature(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotMetricsLanguageFeature{} + c := &CopilotUserPeriodicMetrics{TotalsByLanguageFeature: zeroValue} + c.GetTotalsByLanguageFeature() + c = &CopilotUserPeriodicMetrics{} + c.GetTotalsByLanguageFeature() + c = nil + c.GetTotalsByLanguageFeature() +} + +func TestCopilotUserPeriodicMetrics_GetTotalsByLanguageModel(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotMetricsLanguageModel{} + c := &CopilotUserPeriodicMetrics{TotalsByLanguageModel: zeroValue} + c.GetTotalsByLanguageModel() + c = &CopilotUserPeriodicMetrics{} + c.GetTotalsByLanguageModel() + c = nil + c.GetTotalsByLanguageModel() +} + +func TestCopilotUserPeriodicMetrics_GetTotalsByModelFeature(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotMetricsModelFeature{} + c := &CopilotUserPeriodicMetrics{TotalsByModelFeature: zeroValue} + c.GetTotalsByModelFeature() + c = &CopilotUserPeriodicMetrics{} + c.GetTotalsByModelFeature() + c = nil + c.GetTotalsByModelFeature() +} + +func TestCopilotUserPeriodicMetrics_GetUsedAgent(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CopilotUserPeriodicMetrics{UsedAgent: &zeroValue} + c.GetUsedAgent() + c = &CopilotUserPeriodicMetrics{} + c.GetUsedAgent() + c = nil + c.GetUsedAgent() +} + +func TestCopilotUserPeriodicMetrics_GetUsedChat(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CopilotUserPeriodicMetrics{UsedChat: &zeroValue} + c.GetUsedChat() + c = &CopilotUserPeriodicMetrics{} + c.GetUsedChat() + c = nil + c.GetUsedChat() +} + +func TestCopilotUserPeriodicMetrics_GetUsedCLI(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CopilotUserPeriodicMetrics{UsedCLI: &zeroValue} + c.GetUsedCLI() + c = &CopilotUserPeriodicMetrics{} + c.GetUsedCLI() + c = nil + c.GetUsedCLI() +} + +func TestCopilotUserPeriodicMetrics_GetUsedCopilotApp(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CopilotUserPeriodicMetrics{UsedCopilotApp: &zeroValue} + c.GetUsedCopilotApp() + c = &CopilotUserPeriodicMetrics{} + c.GetUsedCopilotApp() + c = nil + c.GetUsedCopilotApp() +} + +func TestCopilotUserPeriodicMetrics_GetUsedCopilotCloudAgent(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CopilotUserPeriodicMetrics{UsedCopilotCloudAgent: &zeroValue} + c.GetUsedCopilotCloudAgent() + c = &CopilotUserPeriodicMetrics{} + c.GetUsedCopilotCloudAgent() + c = nil + c.GetUsedCopilotCloudAgent() +} + +func TestCopilotUserPeriodicMetrics_GetUsedCopilotCodeReviewActive(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CopilotUserPeriodicMetrics{UsedCopilotCodeReviewActive: &zeroValue} + c.GetUsedCopilotCodeReviewActive() + c = &CopilotUserPeriodicMetrics{} + c.GetUsedCopilotCodeReviewActive() + c = nil + c.GetUsedCopilotCodeReviewActive() +} + +func TestCopilotUserPeriodicMetrics_GetUsedCopilotCodeReviewPassive(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CopilotUserPeriodicMetrics{UsedCopilotCodeReviewPassive: &zeroValue} + c.GetUsedCopilotCodeReviewPassive() + c = &CopilotUserPeriodicMetrics{} + c.GetUsedCopilotCodeReviewPassive() + c = nil + c.GetUsedCopilotCodeReviewPassive() +} + +func TestCopilotUserPeriodicMetrics_GetUsedCopilotCodingAgent(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CopilotUserPeriodicMetrics{UsedCopilotCodingAgent: &zeroValue} + c.GetUsedCopilotCodingAgent() + c = &CopilotUserPeriodicMetrics{} + c.GetUsedCopilotCodingAgent() + c = nil + c.GetUsedCopilotCodingAgent() +} + +func TestCopilotUserPeriodicMetrics_GetUserID(tt *testing.T) { + tt.Parallel() + c := &CopilotUserPeriodicMetrics{} + c.GetUserID() + c = nil + c.GetUserID() +} + +func TestCopilotUserPeriodicMetrics_GetUserInitiatedInteractionCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CopilotUserPeriodicMetrics{UserInitiatedInteractionCount: &zeroValue} + c.GetUserInitiatedInteractionCount() + c = &CopilotUserPeriodicMetrics{} + c.GetUserInitiatedInteractionCount() + c = nil + c.GetUserInitiatedInteractionCount() +} + +func TestCopilotUserPeriodicMetrics_GetUserLogin(tt *testing.T) { + tt.Parallel() + c := &CopilotUserPeriodicMetrics{} + c.GetUserLogin() + c = nil + c.GetUserLogin() +} + +func TestCostCenter_GetAzureSubscription(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CostCenter{AzureSubscription: &zeroValue} + c.GetAzureSubscription() + c = &CostCenter{} + c.GetAzureSubscription() + c = nil + 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 + c := &CostCenter{State: &zeroValue} + c.GetState() + c = &CostCenter{} + c.GetState() + c = nil + 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 TestCreateAgentTaskRequest_GetBaseRef(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateAgentTaskRequest{BaseRef: &zeroValue} + c.GetBaseRef() + c = &CreateAgentTaskRequest{} + c.GetBaseRef() + c = nil + c.GetBaseRef() +} + +func TestCreateAgentTaskRequest_GetCreatePullRequest(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CreateAgentTaskRequest{CreatePullRequest: &zeroValue} + c.GetCreatePullRequest() + c = &CreateAgentTaskRequest{} + c.GetCreatePullRequest() + c = nil + c.GetCreatePullRequest() +} + +func TestCreateAgentTaskRequest_GetHeadRef(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateAgentTaskRequest{HeadRef: &zeroValue} + c.GetHeadRef() + c = &CreateAgentTaskRequest{} + c.GetHeadRef() + c = nil + c.GetHeadRef() +} + +func TestCreateAgentTaskRequest_GetModel(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateAgentTaskRequest{Model: &zeroValue} + c.GetModel() + c = &CreateAgentTaskRequest{} + c.GetModel() + c = nil + c.GetModel() +} + +func TestCreateAgentTaskRequest_GetPrompt(tt *testing.T) { + tt.Parallel() + c := &CreateAgentTaskRequest{} + c.GetPrompt() + c = nil + c.GetPrompt() +} + +func TestCreateArtifactDeploymentRequest_GetCluster(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateArtifactDeploymentRequest{Cluster: &zeroValue} + c.GetCluster() + c = &CreateArtifactDeploymentRequest{} + c.GetCluster() + c = nil + 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 + c := &CreateArtifactDeploymentRequest{GithubRepository: &zeroValue} + c.GetGithubRepository() + c = &CreateArtifactDeploymentRequest{} + c.GetGithubRepository() + c = nil + 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 + c := &CreateArtifactDeploymentRequest{PhysicalEnvironment: &zeroValue} + c.GetPhysicalEnvironment() + c = &CreateArtifactDeploymentRequest{} + c.GetPhysicalEnvironment() + c = nil + 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{} + c := &CreateArtifactDeploymentRequest{Tags: zeroValue} + c.GetTags() + c = &CreateArtifactDeploymentRequest{} + c.GetTags() + c = nil + c.GetTags() +} + +func TestCreateArtifactDeploymentRequest_GetVersion(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateArtifactDeploymentRequest{Version: &zeroValue} + c.GetVersion() + c = &CreateArtifactDeploymentRequest{} + c.GetVersion() + c = nil + c.GetVersion() +} + +func TestCreateArtifactStorageRequest_GetArtifactURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateArtifactStorageRequest{ArtifactURL: &zeroValue} + c.GetArtifactURL() + c = &CreateArtifactStorageRequest{} + c.GetArtifactURL() + c = nil + 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 + c := &CreateArtifactStorageRequest{GithubRepository: &zeroValue} + c.GetGithubRepository() + c = &CreateArtifactStorageRequest{} + c.GetGithubRepository() + c = nil + 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 + c := &CreateArtifactStorageRequest{Path: &zeroValue} + c.GetPath() + c = &CreateArtifactStorageRequest{} + c.GetPath() + c = nil + 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 + c := &CreateArtifactStorageRequest{Repository: &zeroValue} + c.GetRepository() + c = &CreateArtifactStorageRequest{} + c.GetRepository() + c = nil + c.GetRepository() +} + +func TestCreateArtifactStorageRequest_GetStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateArtifactStorageRequest{Status: &zeroValue} + c.GetStatus() + c = &CreateArtifactStorageRequest{} + c.GetStatus() + c = nil + c.GetStatus() +} + +func TestCreateArtifactStorageRequest_GetVersion(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateArtifactStorageRequest{Version: &zeroValue} + c.GetVersion() + c = &CreateArtifactStorageRequest{} + c.GetVersion() + c = nil + c.GetVersion() +} + +func TestCreateAutolinkRequest_GetIsAlphanumeric(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CreateAutolinkRequest{IsAlphanumeric: &zeroValue} + c.GetIsAlphanumeric() + c = &CreateAutolinkRequest{} + c.GetIsAlphanumeric() + c = nil + c.GetIsAlphanumeric() +} + +func TestCreateAutolinkRequest_GetKeyPrefix(tt *testing.T) { + tt.Parallel() + c := &CreateAutolinkRequest{} + c.GetKeyPrefix() + c = nil + c.GetKeyPrefix() +} + +func TestCreateAutolinkRequest_GetURLTemplate(tt *testing.T) { + tt.Parallel() + c := &CreateAutolinkRequest{} + c.GetURLTemplate() + c = nil + c.GetURLTemplate() +} + +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 + c := &CreateCheckRunOptions{CompletedAt: &zeroValue} + c.GetCompletedAt() + c = &CreateCheckRunOptions{} + c.GetCompletedAt() + c = nil + c.GetCompletedAt() +} + +func TestCreateCheckRunOptions_GetConclusion(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateCheckRunOptions{Conclusion: &zeroValue} + c.GetConclusion() + c = &CreateCheckRunOptions{} + c.GetConclusion() + c = nil + c.GetConclusion() +} + +func TestCreateCheckRunOptions_GetDetailsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateCheckRunOptions{DetailsURL: &zeroValue} + c.GetDetailsURL() + c = &CreateCheckRunOptions{} + c.GetDetailsURL() + c = nil + c.GetDetailsURL() +} + +func TestCreateCheckRunOptions_GetExternalID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateCheckRunOptions{ExternalID: &zeroValue} + c.GetExternalID() + c = &CreateCheckRunOptions{} + c.GetExternalID() + c = nil + 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{} + c.GetOutput() + c = nil + c.GetOutput() +} + +func TestCreateCheckRunOptions_GetStartedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CreateCheckRunOptions{StartedAt: &zeroValue} + c.GetStartedAt() + c = &CreateCheckRunOptions{} + c.GetStartedAt() + c = nil + c.GetStartedAt() +} + +func TestCreateCheckRunOptions_GetStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateCheckRunOptions{Status: &zeroValue} + c.GetStatus() + c = &CreateCheckRunOptions{} + c.GetStatus() + c = nil + c.GetStatus() +} + +func TestCreateCheckSuiteOptions_GetHeadBranch(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateCheckSuiteOptions{HeadBranch: &zeroValue} + c.GetHeadBranch() + c = &CreateCheckSuiteOptions{} + c.GetHeadBranch() + c = nil + 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 + c := &CreateCodespaceOptions{ClientIP: &zeroValue} + c.GetClientIP() + c = &CreateCodespaceOptions{} + c.GetClientIP() + c = nil + c.GetClientIP() +} + +func TestCreateCodespaceOptions_GetDevcontainerPath(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateCodespaceOptions{DevcontainerPath: &zeroValue} + c.GetDevcontainerPath() + c = &CreateCodespaceOptions{} + c.GetDevcontainerPath() + c = nil + c.GetDevcontainerPath() +} + +func TestCreateCodespaceOptions_GetDisplayName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateCodespaceOptions{DisplayName: &zeroValue} + c.GetDisplayName() + c = &CreateCodespaceOptions{} + c.GetDisplayName() + c = nil + c.GetDisplayName() +} + +func TestCreateCodespaceOptions_GetGeo(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateCodespaceOptions{Geo: &zeroValue} + c.GetGeo() + c = &CreateCodespaceOptions{} + c.GetGeo() + c = nil + c.GetGeo() +} + +func TestCreateCodespaceOptions_GetIdleTimeoutMinutes(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CreateCodespaceOptions{IdleTimeoutMinutes: &zeroValue} + c.GetIdleTimeoutMinutes() + c = &CreateCodespaceOptions{} + c.GetIdleTimeoutMinutes() + c = nil + c.GetIdleTimeoutMinutes() +} + +func TestCreateCodespaceOptions_GetLocation(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateCodespaceOptions{Location: &zeroValue} + c.GetLocation() + c = &CreateCodespaceOptions{} + c.GetLocation() + c = nil + c.GetLocation() +} + +func TestCreateCodespaceOptions_GetMachine(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateCodespaceOptions{Machine: &zeroValue} + c.GetMachine() + c = &CreateCodespaceOptions{} + c.GetMachine() + c = nil + c.GetMachine() +} + +func TestCreateCodespaceOptions_GetMultiRepoPermissionsOptOut(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CreateCodespaceOptions{MultiRepoPermissionsOptOut: &zeroValue} + c.GetMultiRepoPermissionsOptOut() + c = &CreateCodespaceOptions{} + c.GetMultiRepoPermissionsOptOut() + c = nil + c.GetMultiRepoPermissionsOptOut() +} + +func TestCreateCodespaceOptions_GetRef(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateCodespaceOptions{Ref: &zeroValue} + c.GetRef() + c = &CreateCodespaceOptions{} + c.GetRef() + c = nil + c.GetRef() +} + +func TestCreateCodespaceOptions_GetRetentionPeriodMinutes(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CreateCodespaceOptions{RetentionPeriodMinutes: &zeroValue} + c.GetRetentionPeriodMinutes() + c = &CreateCodespaceOptions{} + c.GetRetentionPeriodMinutes() + c = nil + c.GetRetentionPeriodMinutes() +} + +func TestCreateCodespaceOptions_GetWorkingDirectory(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateCodespaceOptions{WorkingDirectory: &zeroValue} + c.GetWorkingDirectory() + c = &CreateCodespaceOptions{} + c.GetWorkingDirectory() + c = nil + c.GetWorkingDirectory() +} + +func TestCreateCommitCommentRequest_GetBody(tt *testing.T) { + tt.Parallel() + c := &CreateCommitCommentRequest{} + c.GetBody() + c = nil + c.GetBody() +} + +func TestCreateCommitCommentRequest_GetLine(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CreateCommitCommentRequest{Line: &zeroValue} + c.GetLine() + c = &CreateCommitCommentRequest{} + c.GetLine() + c = nil + c.GetLine() +} + +func TestCreateCommitCommentRequest_GetPath(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateCommitCommentRequest{Path: &zeroValue} + c.GetPath() + c = &CreateCommitCommentRequest{} + c.GetPath() + c = nil + c.GetPath() +} + +func TestCreateCommitCommentRequest_GetPosition(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CreateCommitCommentRequest{Position: &zeroValue} + c.GetPosition() + c = &CreateCommitCommentRequest{} + c.GetPosition() + c = nil + c.GetPosition() +} + +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 + c := &CreateCustomOrgRoleRequest{BaseRole: &zeroValue} + c.GetBaseRole() + c = &CreateCustomOrgRoleRequest{} + c.GetBaseRole() + c = nil + c.GetBaseRole() +} + +func TestCreateCustomOrgRoleRequest_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateCustomOrgRoleRequest{Description: &zeroValue} + c.GetDescription() + c = &CreateCustomOrgRoleRequest{} + c.GetDescription() + c = nil + 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 TestCreateCustomRepoRoleRequest_GetBaseRole(tt *testing.T) { + tt.Parallel() + c := &CreateCustomRepoRoleRequest{} + c.GetBaseRole() + c = nil + c.GetBaseRole() +} + +func TestCreateCustomRepoRoleRequest_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateCustomRepoRoleRequest{Description: &zeroValue} + c.GetDescription() + c = &CreateCustomRepoRoleRequest{} + c.GetDescription() + c = nil + c.GetDescription() +} + +func TestCreateCustomRepoRoleRequest_GetName(tt *testing.T) { + tt.Parallel() + c := &CreateCustomRepoRoleRequest{} + c.GetName() + c = nil + c.GetName() +} + +func TestCreateCustomRepoRoleRequest_GetPermissions(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &CreateCustomRepoRoleRequest{Permissions: zeroValue} + c.GetPermissions() + c = &CreateCustomRepoRoleRequest{} + c.GetPermissions() + c = nil + c.GetPermissions() +} + +func TestCreateDeployKeyRequest_GetKey(tt *testing.T) { + tt.Parallel() + c := &CreateDeployKeyRequest{} + c.GetKey() + c = nil + c.GetKey() +} + +func TestCreateDeployKeyRequest_GetReadOnly(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CreateDeployKeyRequest{ReadOnly: &zeroValue} + c.GetReadOnly() + c = &CreateDeployKeyRequest{} + c.GetReadOnly() + c = nil + c.GetReadOnly() +} + +func TestCreateDeployKeyRequest_GetTitle(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateDeployKeyRequest{Title: &zeroValue} + c.GetTitle() + c = &CreateDeployKeyRequest{} + c.GetTitle() + c = nil + c.GetTitle() +} + +func TestCreateDeploymentBranchPolicyRequest_GetName(tt *testing.T) { + tt.Parallel() + c := &CreateDeploymentBranchPolicyRequest{} + c.GetName() + c = nil + c.GetName() +} + +func TestCreateDeploymentBranchPolicyRequest_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateDeploymentBranchPolicyRequest{Type: &zeroValue} + c.GetType() + c = &CreateDeploymentBranchPolicyRequest{} + c.GetType() + c = nil + c.GetType() +} + +func TestCreateEnterpriseRunnerGroupRequest_GetAllowsPublicRepositories(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CreateEnterpriseRunnerGroupRequest{AllowsPublicRepositories: &zeroValue} + c.GetAllowsPublicRepositories() + c = &CreateEnterpriseRunnerGroupRequest{} + c.GetAllowsPublicRepositories() + c = nil + c.GetAllowsPublicRepositories() +} + +func TestCreateEnterpriseRunnerGroupRequest_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateEnterpriseRunnerGroupRequest{Name: &zeroValue} + c.GetName() + c = &CreateEnterpriseRunnerGroupRequest{} + c.GetName() + c = nil + c.GetName() +} + +func TestCreateEnterpriseRunnerGroupRequest_GetNetworkConfigurationID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateEnterpriseRunnerGroupRequest{NetworkConfigurationID: &zeroValue} + c.GetNetworkConfigurationID() + c = &CreateEnterpriseRunnerGroupRequest{} + c.GetNetworkConfigurationID() + c = nil + c.GetNetworkConfigurationID() +} + +func TestCreateEnterpriseRunnerGroupRequest_GetRestrictedToWorkflows(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CreateEnterpriseRunnerGroupRequest{RestrictedToWorkflows: &zeroValue} + c.GetRestrictedToWorkflows() + c = &CreateEnterpriseRunnerGroupRequest{} + c.GetRestrictedToWorkflows() + c = nil + 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 + c := &CreateEnterpriseRunnerGroupRequest{Visibility: &zeroValue} + c.GetVisibility() + c = &CreateEnterpriseRunnerGroupRequest{} + c.GetVisibility() + c = nil + c.GetVisibility() +} + +func TestCreateEvent_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateEvent{Description: &zeroValue} + c.GetDescription() + c = &CreateEvent{} + c.GetDescription() + c = nil + c.GetDescription() +} + +func TestCreateEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + c := &CreateEvent{} + c.GetInstallation() + c = nil + c.GetInstallation() +} + +func TestCreateEvent_GetMasterBranch(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateEvent{MasterBranch: &zeroValue} + c.GetMasterBranch() + c = &CreateEvent{} + c.GetMasterBranch() + c = nil + c.GetMasterBranch() +} + +func TestCreateEvent_GetOrg(tt *testing.T) { + tt.Parallel() + c := &CreateEvent{} + c.GetOrg() + c = nil + c.GetOrg() +} + +func TestCreateEvent_GetPusherType(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateEvent{PusherType: &zeroValue} + c.GetPusherType() + c = &CreateEvent{} + c.GetPusherType() + c = nil + c.GetPusherType() +} + +func TestCreateEvent_GetRef(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateEvent{Ref: &zeroValue} + c.GetRef() + c = &CreateEvent{} + c.GetRef() + c = nil + c.GetRef() +} + +func TestCreateEvent_GetRefType(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateEvent{RefType: &zeroValue} + c.GetRefType() + c = &CreateEvent{} + c.GetRefType() + c = nil + c.GetRefType() +} + +func TestCreateEvent_GetRepo(tt *testing.T) { + tt.Parallel() + c := &CreateEvent{} + c.GetRepo() + c = nil + c.GetRepo() +} + +func TestCreateEvent_GetSender(tt *testing.T) { + tt.Parallel() + c := &CreateEvent{} + c.GetSender() + c = nil + c.GetSender() +} + +func TestCreateGistCommentRequest_GetBody(tt *testing.T) { + tt.Parallel() + c := &CreateGistCommentRequest{} + c.GetBody() + c = nil + c.GetBody() +} + +func TestCreateGistFile_GetContent(tt *testing.T) { + tt.Parallel() + c := &CreateGistFile{} + c.GetContent() + c = nil + c.GetContent() +} + +func TestCreateGistRequest_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateGistRequest{Description: &zeroValue} + c.GetDescription() + c = &CreateGistRequest{} + c.GetDescription() + c = nil + c.GetDescription() +} + +func TestCreateGistRequest_GetPublic(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CreateGistRequest{Public: &zeroValue} + c.GetPublic() + c = &CreateGistRequest{} + c.GetPublic() + c = nil + c.GetPublic() +} + +func TestCreateHostedRunnerRequest_GetEnableStaticIP(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CreateHostedRunnerRequest{EnableStaticIP: &zeroValue} + c.GetEnableStaticIP() + c = &CreateHostedRunnerRequest{} + c.GetEnableStaticIP() + c = nil + 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 + c := &CreateHostedRunnerRequest{ImageGen: &zeroValue} + c.GetImageGen() + c = &CreateHostedRunnerRequest{} + c.GetImageGen() + c = nil + c.GetImageGen() +} + +func TestCreateHostedRunnerRequest_GetMaximumRunners(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &CreateHostedRunnerRequest{MaximumRunners: &zeroValue} + c.GetMaximumRunners() + c = &CreateHostedRunnerRequest{} + c.GetMaximumRunners() + c = nil + 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 TestCreateIssueLabelRequest_GetColor(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateIssueLabelRequest{Color: &zeroValue} + c.GetColor() + c = &CreateIssueLabelRequest{} + c.GetColor() + c = nil + c.GetColor() +} + +func TestCreateIssueLabelRequest_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateIssueLabelRequest{Description: &zeroValue} + c.GetDescription() + c = &CreateIssueLabelRequest{} + c.GetDescription() + c = nil + c.GetDescription() +} + +func TestCreateIssueLabelRequest_GetName(tt *testing.T) { + tt.Parallel() + c := &CreateIssueLabelRequest{} + c.GetName() + c = nil + c.GetName() +} + +func TestCreateIssueRequest_GetAssignee(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateIssueRequest{Assignee: &zeroValue} + c.GetAssignee() + c = &CreateIssueRequest{} + c.GetAssignee() + c = nil + c.GetAssignee() +} + +func TestCreateIssueRequest_GetAssignees(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &CreateIssueRequest{Assignees: zeroValue} + c.GetAssignees() + c = &CreateIssueRequest{} + c.GetAssignees() + c = nil + c.GetAssignees() +} + +func TestCreateIssueRequest_GetBody(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateIssueRequest{Body: &zeroValue} + c.GetBody() + c = &CreateIssueRequest{} + c.GetBody() + c = nil + c.GetBody() +} + +func TestCreateIssueRequest_GetIssueFieldValues(tt *testing.T) { + tt.Parallel() + zeroValue := []*IssueRequestFieldValue{} + c := &CreateIssueRequest{IssueFieldValues: zeroValue} + c.GetIssueFieldValues() + c = &CreateIssueRequest{} + c.GetIssueFieldValues() + c = nil + c.GetIssueFieldValues() +} + +func TestCreateIssueRequest_GetLabels(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &CreateIssueRequest{Labels: zeroValue} + c.GetLabels() + c = &CreateIssueRequest{} + c.GetLabels() + c = nil + c.GetLabels() +} + +func TestCreateIssueRequest_GetMilestone(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CreateIssueRequest{Milestone: &zeroValue} + c.GetMilestone() + c = &CreateIssueRequest{} + c.GetMilestone() + c = nil + c.GetMilestone() +} + +func TestCreateIssueRequest_GetTitle(tt *testing.T) { + tt.Parallel() + c := &CreateIssueRequest{} + c.GetTitle() + c = nil + c.GetTitle() +} + +func TestCreateIssueRequest_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateIssueRequest{Type: &zeroValue} + c.GetType() + c = &CreateIssueRequest{} + c.GetType() + c = nil + c.GetType() +} + +func TestCreateJITConfigRequest_GetLabels(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &CreateJITConfigRequest{Labels: zeroValue} + c.GetLabels() + c = &CreateJITConfigRequest{} + c.GetLabels() + c = nil + c.GetLabels() +} + +func TestCreateJITConfigRequest_GetName(tt *testing.T) { + tt.Parallel() + c := &CreateJITConfigRequest{} + c.GetName() + c = nil + c.GetName() +} + +func TestCreateJITConfigRequest_GetRunnerGroupID(tt *testing.T) { + tt.Parallel() + c := &CreateJITConfigRequest{} + c.GetRunnerGroupID() + c = nil + c.GetRunnerGroupID() +} + +func TestCreateJITConfigRequest_GetWorkFolder(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateJITConfigRequest{WorkFolder: &zeroValue} + c.GetWorkFolder() + c = &CreateJITConfigRequest{} + c.GetWorkFolder() + c = nil + c.GetWorkFolder() +} + +func TestCreateMilestoneRequest_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateMilestoneRequest{Description: &zeroValue} + c.GetDescription() + c = &CreateMilestoneRequest{} + c.GetDescription() + c = nil + c.GetDescription() +} + +func TestCreateMilestoneRequest_GetDueOn(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CreateMilestoneRequest{DueOn: &zeroValue} + c.GetDueOn() + c = &CreateMilestoneRequest{} + c.GetDueOn() + c = nil + c.GetDueOn() +} + +func TestCreateMilestoneRequest_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateMilestoneRequest{State: &zeroValue} + c.GetState() + c = &CreateMilestoneRequest{} + c.GetState() + c = nil + c.GetState() +} + +func TestCreateMilestoneRequest_GetTitle(tt *testing.T) { + tt.Parallel() + c := &CreateMilestoneRequest{} + c.GetTitle() + c = nil + c.GetTitle() +} + +func TestCreateOrganizationPrivateRegistry_GetAccountID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateOrganizationPrivateRegistry{AccountID: &zeroValue} + c.GetAccountID() + c = &CreateOrganizationPrivateRegistry{} + c.GetAccountID() + c = nil + c.GetAccountID() +} + +func TestCreateOrganizationPrivateRegistry_GetAudience(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateOrganizationPrivateRegistry{Audience: &zeroValue} + c.GetAudience() + c = &CreateOrganizationPrivateRegistry{} + c.GetAudience() + c = nil + c.GetAudience() +} + +func TestCreateOrganizationPrivateRegistry_GetAuthType(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateOrganizationPrivateRegistry{AuthType: &zeroValue} + c.GetAuthType() + c = &CreateOrganizationPrivateRegistry{} + c.GetAuthType() + c = nil + c.GetAuthType() +} + +func TestCreateOrganizationPrivateRegistry_GetAWSRegion(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateOrganizationPrivateRegistry{AWSRegion: &zeroValue} + c.GetAWSRegion() + c = &CreateOrganizationPrivateRegistry{} + c.GetAWSRegion() + c = nil + c.GetAWSRegion() +} + +func TestCreateOrganizationPrivateRegistry_GetClientID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateOrganizationPrivateRegistry{ClientID: &zeroValue} + c.GetClientID() + c = &CreateOrganizationPrivateRegistry{} + c.GetClientID() + c = nil + c.GetClientID() +} + +func TestCreateOrganizationPrivateRegistry_GetDomain(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateOrganizationPrivateRegistry{Domain: &zeroValue} + c.GetDomain() + c = &CreateOrganizationPrivateRegistry{} + c.GetDomain() + c = nil + c.GetDomain() +} + +func TestCreateOrganizationPrivateRegistry_GetDomainOwner(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateOrganizationPrivateRegistry{DomainOwner: &zeroValue} + c.GetDomainOwner() + c = &CreateOrganizationPrivateRegistry{} + c.GetDomainOwner() + c = nil + c.GetDomainOwner() +} + +func TestCreateOrganizationPrivateRegistry_GetEncryptedValue(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateOrganizationPrivateRegistry{EncryptedValue: &zeroValue} + c.GetEncryptedValue() + c = &CreateOrganizationPrivateRegistry{} + c.GetEncryptedValue() + c = nil + c.GetEncryptedValue() +} + +func TestCreateOrganizationPrivateRegistry_GetIdentityMappingName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateOrganizationPrivateRegistry{IdentityMappingName: &zeroValue} + c.GetIdentityMappingName() + c = &CreateOrganizationPrivateRegistry{} + c.GetIdentityMappingName() + c = nil + c.GetIdentityMappingName() +} + +func TestCreateOrganizationPrivateRegistry_GetJFrogOIDCProviderName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateOrganizationPrivateRegistry{JFrogOIDCProviderName: &zeroValue} + c.GetJFrogOIDCProviderName() + c = &CreateOrganizationPrivateRegistry{} + c.GetJFrogOIDCProviderName() + c = nil + c.GetJFrogOIDCProviderName() +} + +func TestCreateOrganizationPrivateRegistry_GetKeyID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateOrganizationPrivateRegistry{KeyID: &zeroValue} + c.GetKeyID() + 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_GetReplacesBase(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CreateOrganizationPrivateRegistry{ReplacesBase: &zeroValue} + c.GetReplacesBase() + c = &CreateOrganizationPrivateRegistry{} + c.GetReplacesBase() + c = nil + c.GetReplacesBase() +} + +func TestCreateOrganizationPrivateRegistry_GetRoleName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateOrganizationPrivateRegistry{RoleName: &zeroValue} + c.GetRoleName() + c = &CreateOrganizationPrivateRegistry{} + c.GetRoleName() + c = nil + c.GetRoleName() +} + +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_GetTenantID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateOrganizationPrivateRegistry{TenantID: &zeroValue} + c.GetTenantID() + c = &CreateOrganizationPrivateRegistry{} + c.GetTenantID() + c = nil + c.GetTenantID() +} + +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 + c := &CreateOrganizationPrivateRegistry{Username: &zeroValue} + c.GetUsername() + c = &CreateOrganizationPrivateRegistry{} + c.GetUsername() + c = nil + 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 + c := &CreateOrgInvitationOptions{Email: &zeroValue} + c.GetEmail() + c = &CreateOrgInvitationOptions{} + c.GetEmail() + c = nil + c.GetEmail() +} + +func TestCreateOrgInvitationOptions_GetInviteeID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &CreateOrgInvitationOptions{InviteeID: &zeroValue} + c.GetInviteeID() + c = &CreateOrgInvitationOptions{} + c.GetInviteeID() + c = nil + c.GetInviteeID() +} + +func TestCreateOrgInvitationOptions_GetRole(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateOrgInvitationOptions{Role: &zeroValue} + c.GetRole() + c = &CreateOrgInvitationOptions{} + c.GetRole() + c = nil + 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 TestCreateOrUpdateIssueTypesOptions_GetColor(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateOrUpdateIssueTypesOptions{Color: &zeroValue} + c.GetColor() + c = &CreateOrUpdateIssueTypesOptions{} + c.GetColor() + c = nil + c.GetColor() +} + +func TestCreateOrUpdateIssueTypesOptions_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateOrUpdateIssueTypesOptions{Description: &zeroValue} + c.GetDescription() + c = &CreateOrUpdateIssueTypesOptions{} + c.GetDescription() + c = nil + 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 + c := &CreateOrUpdateIssueTypesOptions{IsPrivate: &zeroValue} + c.GetIsPrivate() + c = &CreateOrUpdateIssueTypesOptions{} + c.GetIsPrivate() + c = nil + c.GetIsPrivate() +} + +func TestCreateOrUpdateIssueTypesOptions_GetName(tt *testing.T) { + tt.Parallel() + c := &CreateOrUpdateIssueTypesOptions{} + c.GetName() + c = nil + c.GetName() +} + +func TestCreateProjectV2DraftItemRequest_GetBody(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateProjectV2DraftItemRequest{Body: &zeroValue} + c.GetBody() + c = &CreateProjectV2DraftItemRequest{} + c.GetBody() + c = nil + c.GetBody() +} + +func TestCreateProjectV2DraftItemRequest_GetTitle(tt *testing.T) { + tt.Parallel() + c := &CreateProjectV2DraftItemRequest{} + c.GetTitle() + c = nil + c.GetTitle() +} + +func TestCreateProjectV2ViewRequest_GetFilter(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateProjectV2ViewRequest{Filter: &zeroValue} + c.GetFilter() + c = &CreateProjectV2ViewRequest{} + c.GetFilter() + c = nil + c.GetFilter() +} + +func TestCreateProjectV2ViewRequest_GetLayout(tt *testing.T) { + tt.Parallel() + c := &CreateProjectV2ViewRequest{} + c.GetLayout() + c = nil + c.GetLayout() +} + +func TestCreateProjectV2ViewRequest_GetName(tt *testing.T) { + tt.Parallel() + c := &CreateProjectV2ViewRequest{} + c.GetName() + c = nil + c.GetName() +} + +func TestCreateProjectV2ViewRequest_GetVisibleFields(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + c := &CreateProjectV2ViewRequest{VisibleFields: zeroValue} + c.GetVisibleFields() + c = &CreateProjectV2ViewRequest{} + c.GetVisibleFields() + c = nil + c.GetVisibleFields() +} + +func TestCreateProtectedChanges_GetFrom(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CreateProtectedChanges{From: &zeroValue} + c.GetFrom() + c = &CreateProtectedChanges{} + c.GetFrom() + c = nil + c.GetFrom() +} + +func TestCreatePullRequest_GetBase(tt *testing.T) { + tt.Parallel() + c := &CreatePullRequest{} + c.GetBase() + c = nil + c.GetBase() +} + +func TestCreatePullRequest_GetBody(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreatePullRequest{Body: &zeroValue} + c.GetBody() + c = &CreatePullRequest{} + c.GetBody() + c = nil + c.GetBody() +} + +func TestCreatePullRequest_GetDraft(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CreatePullRequest{Draft: &zeroValue} + c.GetDraft() + c = &CreatePullRequest{} + c.GetDraft() + c = nil + c.GetDraft() +} + +func TestCreatePullRequest_GetHead(tt *testing.T) { + tt.Parallel() + c := &CreatePullRequest{} + c.GetHead() + c = nil + c.GetHead() +} + +func TestCreatePullRequest_GetHeadRepo(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreatePullRequest{HeadRepo: &zeroValue} + c.GetHeadRepo() + c = &CreatePullRequest{} + c.GetHeadRepo() + c = nil + c.GetHeadRepo() +} + +func TestCreatePullRequest_GetIssue(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CreatePullRequest{Issue: &zeroValue} + c.GetIssue() + c = &CreatePullRequest{} + c.GetIssue() + c = nil + c.GetIssue() +} + +func TestCreatePullRequest_GetMaintainerCanModify(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CreatePullRequest{MaintainerCanModify: &zeroValue} + c.GetMaintainerCanModify() + c = &CreatePullRequest{} + c.GetMaintainerCanModify() + c = nil + c.GetMaintainerCanModify() +} + +func TestCreatePullRequest_GetTitle(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreatePullRequest{Title: &zeroValue} + c.GetTitle() + c = &CreatePullRequest{} + c.GetTitle() + c = nil + c.GetTitle() +} + +func TestCreatePullRequestCommentRequest_GetBody(tt *testing.T) { + tt.Parallel() + c := &CreatePullRequestCommentRequest{} + c.GetBody() + c = nil + c.GetBody() +} + +func TestCreatePullRequestCommentRequest_GetCommitID(tt *testing.T) { + tt.Parallel() + c := &CreatePullRequestCommentRequest{} + c.GetCommitID() + c = nil + c.GetCommitID() +} + +func TestCreatePullRequestCommentRequest_GetInReplyTo(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &CreatePullRequestCommentRequest{InReplyTo: &zeroValue} + c.GetInReplyTo() + c = &CreatePullRequestCommentRequest{} + c.GetInReplyTo() + c = nil + c.GetInReplyTo() +} + +func TestCreatePullRequestCommentRequest_GetLine(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CreatePullRequestCommentRequest{Line: &zeroValue} + c.GetLine() + c = &CreatePullRequestCommentRequest{} + c.GetLine() + c = nil + c.GetLine() +} + +func TestCreatePullRequestCommentRequest_GetPath(tt *testing.T) { + tt.Parallel() + c := &CreatePullRequestCommentRequest{} + c.GetPath() + c = nil + c.GetPath() +} + +func TestCreatePullRequestCommentRequest_GetPosition(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CreatePullRequestCommentRequest{Position: &zeroValue} + c.GetPosition() + c = &CreatePullRequestCommentRequest{} + c.GetPosition() + c = nil + c.GetPosition() +} + +func TestCreatePullRequestCommentRequest_GetSide(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreatePullRequestCommentRequest{Side: &zeroValue} + c.GetSide() + c = &CreatePullRequestCommentRequest{} + c.GetSide() + c = nil + c.GetSide() +} + +func TestCreatePullRequestCommentRequest_GetStartLine(tt *testing.T) { + tt.Parallel() + var zeroValue int + c := &CreatePullRequestCommentRequest{StartLine: &zeroValue} + c.GetStartLine() + c = &CreatePullRequestCommentRequest{} + c.GetStartLine() + c = nil + c.GetStartLine() +} + +func TestCreatePullRequestCommentRequest_GetStartSide(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreatePullRequestCommentRequest{StartSide: &zeroValue} + c.GetStartSide() + c = &CreatePullRequestCommentRequest{} + c.GetStartSide() + c = nil + c.GetStartSide() +} + +func TestCreatePullRequestCommentRequest_GetSubjectType(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreatePullRequestCommentRequest{SubjectType: &zeroValue} + c.GetSubjectType() + c = &CreatePullRequestCommentRequest{} + c.GetSubjectType() + c = nil + c.GetSubjectType() +} + +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 TestCreateReleaseRequest_GetBody(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateReleaseRequest{Body: &zeroValue} + c.GetBody() + c = &CreateReleaseRequest{} + c.GetBody() + c = nil + c.GetBody() +} + +func TestCreateReleaseRequest_GetDiscussionCategoryName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateReleaseRequest{DiscussionCategoryName: &zeroValue} + c.GetDiscussionCategoryName() + c = &CreateReleaseRequest{} + c.GetDiscussionCategoryName() + c = nil + c.GetDiscussionCategoryName() +} + +func TestCreateReleaseRequest_GetDraft(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CreateReleaseRequest{Draft: &zeroValue} + c.GetDraft() + c = &CreateReleaseRequest{} + c.GetDraft() + c = nil + c.GetDraft() +} + +func TestCreateReleaseRequest_GetGenerateReleaseNotes(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CreateReleaseRequest{GenerateReleaseNotes: &zeroValue} + c.GetGenerateReleaseNotes() + c = &CreateReleaseRequest{} + c.GetGenerateReleaseNotes() + c = nil + c.GetGenerateReleaseNotes() +} + +func TestCreateReleaseRequest_GetMakeLatest(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateReleaseRequest{MakeLatest: &zeroValue} + c.GetMakeLatest() + c = &CreateReleaseRequest{} + c.GetMakeLatest() + c = nil + c.GetMakeLatest() +} + +func TestCreateReleaseRequest_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateReleaseRequest{Name: &zeroValue} + c.GetName() + c = &CreateReleaseRequest{} + c.GetName() + c = nil + c.GetName() +} + +func TestCreateReleaseRequest_GetPrerelease(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CreateReleaseRequest{Prerelease: &zeroValue} + c.GetPrerelease() + c = &CreateReleaseRequest{} + c.GetPrerelease() + c = nil + c.GetPrerelease() +} + +func TestCreateReleaseRequest_GetTagName(tt *testing.T) { + tt.Parallel() + c := &CreateReleaseRequest{} + c.GetTagName() + c = nil + c.GetTagName() +} + +func TestCreateReleaseRequest_GetTargetCommitish(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateReleaseRequest{TargetCommitish: &zeroValue} + c.GetTargetCommitish() + c = &CreateReleaseRequest{} + c.GetTargetCommitish() + c = nil + c.GetTargetCommitish() +} + +func TestCreateRunnerGroupRequest_GetAllowsPublicRepositories(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CreateRunnerGroupRequest{AllowsPublicRepositories: &zeroValue} + c.GetAllowsPublicRepositories() + c = &CreateRunnerGroupRequest{} + c.GetAllowsPublicRepositories() + c = nil + c.GetAllowsPublicRepositories() +} + +func TestCreateRunnerGroupRequest_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateRunnerGroupRequest{Name: &zeroValue} + c.GetName() + c = &CreateRunnerGroupRequest{} + c.GetName() + c = nil + c.GetName() +} + +func TestCreateRunnerGroupRequest_GetNetworkConfigurationID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateRunnerGroupRequest{NetworkConfigurationID: &zeroValue} + c.GetNetworkConfigurationID() + c = &CreateRunnerGroupRequest{} + c.GetNetworkConfigurationID() + c = nil + c.GetNetworkConfigurationID() +} + +func TestCreateRunnerGroupRequest_GetRestrictedToWorkflows(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CreateRunnerGroupRequest{RestrictedToWorkflows: &zeroValue} + c.GetRestrictedToWorkflows() + c = &CreateRunnerGroupRequest{} + c.GetRestrictedToWorkflows() + c = nil + 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 + c := &CreateRunnerGroupRequest{Visibility: &zeroValue} + c.GetVisibility() + c = &CreateRunnerGroupRequest{} + c.GetVisibility() + c = nil + c.GetVisibility() +} + +func TestCreateSSHSigningKeyRequest_GetKey(tt *testing.T) { + tt.Parallel() + c := &CreateSSHSigningKeyRequest{} + c.GetKey() + c = nil + c.GetKey() +} + +func TestCreateSSHSigningKeyRequest_GetTitle(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateSSHSigningKeyRequest{Title: &zeroValue} + c.GetTitle() + c = &CreateSSHSigningKeyRequest{} + c.GetTitle() + c = nil + c.GetTitle() +} + +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{} + c.GetTagger() + c = nil + c.GetTagger() +} + +func TestCreateTag_GetType(tt *testing.T) { + tt.Parallel() + c := &CreateTag{} + c.GetType() + c = nil + c.GetType() +} + +func TestCreateTeamRequest_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateTeamRequest{Description: &zeroValue} + c.GetDescription() + c = &CreateTeamRequest{} + c.GetDescription() + c = nil + c.GetDescription() +} + +func TestCreateTeamRequest_GetMaintainers(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &CreateTeamRequest{Maintainers: zeroValue} + c.GetMaintainers() + c = &CreateTeamRequest{} + c.GetMaintainers() + c = nil + c.GetMaintainers() +} + +func TestCreateTeamRequest_GetName(tt *testing.T) { + tt.Parallel() + c := &CreateTeamRequest{} + c.GetName() + c = nil + c.GetName() +} + +func TestCreateTeamRequest_GetNotificationSetting(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateTeamRequest{NotificationSetting: &zeroValue} + c.GetNotificationSetting() + c = &CreateTeamRequest{} + c.GetNotificationSetting() + c = nil + c.GetNotificationSetting() +} + +func TestCreateTeamRequest_GetParentTeamID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &CreateTeamRequest{ParentTeamID: &zeroValue} + c.GetParentTeamID() + c = &CreateTeamRequest{} + c.GetParentTeamID() + c = nil + c.GetParentTeamID() +} + +func TestCreateTeamRequest_GetParentTeamSlug(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateTeamRequest{ParentTeamSlug: &zeroValue} + c.GetParentTeamSlug() + c = &CreateTeamRequest{} + c.GetParentTeamSlug() + c = nil + c.GetParentTeamSlug() +} + +func TestCreateTeamRequest_GetPermission(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateTeamRequest{Permission: &zeroValue} + c.GetPermission() + c = &CreateTeamRequest{} + c.GetPermission() + c = nil + c.GetPermission() +} + +func TestCreateTeamRequest_GetPrivacy(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateTeamRequest{Privacy: &zeroValue} + c.GetPrivacy() + c = &CreateTeamRequest{} + c.GetPrivacy() + c = nil + c.GetPrivacy() +} + +func TestCreateTeamRequest_GetRepoNames(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &CreateTeamRequest{RepoNames: zeroValue} + c.GetRepoNames() + c = &CreateTeamRequest{} + c.GetRepoNames() + c = nil + c.GetRepoNames() +} + +func TestCreateUpdateEnvironment_GetCanAdminsBypass(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CreateUpdateEnvironment{CanAdminsBypass: &zeroValue} + c.GetCanAdminsBypass() + c = &CreateUpdateEnvironment{} + c.GetCanAdminsBypass() + c = nil + c.GetCanAdminsBypass() +} + +func TestCreateUpdateEnvironment_GetDeploymentBranchPolicy(tt *testing.T) { + tt.Parallel() + c := &CreateUpdateEnvironment{} + c.GetDeploymentBranchPolicy() + c = nil + c.GetDeploymentBranchPolicy() +} + +func TestCreateUpdateEnvironment_GetPreventSelfReview(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CreateUpdateEnvironment{PreventSelfReview: &zeroValue} + c.GetPreventSelfReview() + c = &CreateUpdateEnvironment{} + c.GetPreventSelfReview() + c = nil + 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 + c := &CreateUpdateEnvironment{WaitTimer: &zeroValue} + c.GetWaitTimer() + c = &CreateUpdateEnvironment{} + c.GetWaitTimer() + c = nil + c.GetWaitTimer() +} + +func TestCreateUserImpersonationRequest_GetScopes(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &CreateUserImpersonationRequest{Scopes: zeroValue} + c.GetScopes() + c = &CreateUserImpersonationRequest{} + c.GetScopes() + c = nil + c.GetScopes() +} + +func TestCreateUserKeyRequest_GetKey(tt *testing.T) { + tt.Parallel() + c := &CreateUserKeyRequest{} + c.GetKey() + c = nil + c.GetKey() +} + +func TestCreateUserKeyRequest_GetTitle(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateUserKeyRequest{Title: &zeroValue} + c.GetTitle() + c = &CreateUserKeyRequest{} + c.GetTitle() + c = nil + c.GetTitle() +} + +func TestCreateUserRequest_GetEmail(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CreateUserRequest{Email: &zeroValue} + c.GetEmail() + c = &CreateUserRequest{} + c.GetEmail() + c = nil + 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 + c := &CreateUserRequest{Suspended: &zeroValue} + c.GetSuspended() + c = &CreateUserRequest{} + c.GetSuspended() + c = nil + c.GetSuspended() +} + +func TestCreateWorkflowDispatchEventRequest_GetInputs(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]any{} + c := &CreateWorkflowDispatchEventRequest{Inputs: zeroValue} + c.GetInputs() + c = &CreateWorkflowDispatchEventRequest{} + c.GetInputs() + c = nil + 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 + c := &CreateWorkflowDispatchEventRequest{ReturnRunDetails: &zeroValue} + c.GetReturnRunDetails() + c = &CreateWorkflowDispatchEventRequest{} + c.GetReturnRunDetails() + c = nil + c.GetReturnRunDetails() +} + +func TestCreationInfo_GetCreated(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CreationInfo{Created: &zeroValue} + c.GetCreated() + c = &CreationInfo{} + c.GetCreated() + c = nil + 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 + c := &CredentialAuthorization{AuthorizedCredentialExpiresAt: &zeroValue} + c.GetAuthorizedCredentialExpiresAt() + c = &CredentialAuthorization{} + c.GetAuthorizedCredentialExpiresAt() + c = nil + c.GetAuthorizedCredentialExpiresAt() +} + +func TestCredentialAuthorization_GetAuthorizedCredentialID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &CredentialAuthorization{AuthorizedCredentialID: &zeroValue} + c.GetAuthorizedCredentialID() + c = &CredentialAuthorization{} + c.GetAuthorizedCredentialID() + c = nil + c.GetAuthorizedCredentialID() +} + +func TestCredentialAuthorization_GetAuthorizedCredentialNote(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CredentialAuthorization{AuthorizedCredentialNote: &zeroValue} + c.GetAuthorizedCredentialNote() + c = &CredentialAuthorization{} + c.GetAuthorizedCredentialNote() + c = nil + c.GetAuthorizedCredentialNote() +} + +func TestCredentialAuthorization_GetAuthorizedCredentialTitle(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CredentialAuthorization{AuthorizedCredentialTitle: &zeroValue} + c.GetAuthorizedCredentialTitle() + c = &CredentialAuthorization{} + c.GetAuthorizedCredentialTitle() + c = nil + c.GetAuthorizedCredentialTitle() +} + +func TestCredentialAuthorization_GetCredentialAccessedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CredentialAuthorization{CredentialAccessedAt: &zeroValue} + c.GetCredentialAccessedAt() + c = &CredentialAuthorization{} + c.GetCredentialAccessedAt() + c = nil + c.GetCredentialAccessedAt() +} + +func TestCredentialAuthorization_GetCredentialAuthorizedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CredentialAuthorization{CredentialAuthorizedAt: &zeroValue} + c.GetCredentialAuthorizedAt() + c = &CredentialAuthorization{} + c.GetCredentialAuthorizedAt() + c = nil + c.GetCredentialAuthorizedAt() +} + +func TestCredentialAuthorization_GetCredentialID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &CredentialAuthorization{CredentialID: &zeroValue} + c.GetCredentialID() + c = &CredentialAuthorization{} + c.GetCredentialID() + c = nil + c.GetCredentialID() +} + +func TestCredentialAuthorization_GetCredentialType(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CredentialAuthorization{CredentialType: &zeroValue} + c.GetCredentialType() + c = &CredentialAuthorization{} + c.GetCredentialType() + c = nil + c.GetCredentialType() +} + +func TestCredentialAuthorization_GetFingerprint(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CredentialAuthorization{Fingerprint: &zeroValue} + c.GetFingerprint() + c = &CredentialAuthorization{} + c.GetFingerprint() + c = nil + c.GetFingerprint() +} + +func TestCredentialAuthorization_GetLogin(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CredentialAuthorization{Login: &zeroValue} + c.GetLogin() + c = &CredentialAuthorization{} + c.GetLogin() + c = nil + 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 + c := &CredentialAuthorization{TokenLastEight: &zeroValue} + c.GetTokenLastEight() + c = &CredentialAuthorization{} + c.GetTokenLastEight() + c = nil + 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 + c := &Credit{Type: &zeroValue} + c.GetType() + c = &Credit{} + c.GetType() + c = nil + c.GetType() +} + +func TestCredit_GetUser(tt *testing.T) { + tt.Parallel() + c := &Credit{} + c.GetUser() + c = nil + c.GetUser() +} + +func TestCustomDeploymentProtectionRule_GetApp(tt *testing.T) { + tt.Parallel() + c := &CustomDeploymentProtectionRule{} + c.GetApp() + c = nil + c.GetApp() +} + +func TestCustomDeploymentProtectionRule_GetEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CustomDeploymentProtectionRule{Enabled: &zeroValue} + c.GetEnabled() + c = &CustomDeploymentProtectionRule{} + c.GetEnabled() + c = nil + c.GetEnabled() +} + +func TestCustomDeploymentProtectionRule_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &CustomDeploymentProtectionRule{ID: &zeroValue} + c.GetID() + c = &CustomDeploymentProtectionRule{} + c.GetID() + c = nil + c.GetID() +} + +func TestCustomDeploymentProtectionRule_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CustomDeploymentProtectionRule{NodeID: &zeroValue} + c.GetNodeID() + c = &CustomDeploymentProtectionRule{} + c.GetNodeID() + c = nil + c.GetNodeID() +} + +func TestCustomDeploymentProtectionRuleApp_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &CustomDeploymentProtectionRuleApp{ID: &zeroValue} + c.GetID() + c = &CustomDeploymentProtectionRuleApp{} + c.GetID() + c = nil + c.GetID() +} + +func TestCustomDeploymentProtectionRuleApp_GetIntegrationURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CustomDeploymentProtectionRuleApp{IntegrationURL: &zeroValue} + c.GetIntegrationURL() + c = &CustomDeploymentProtectionRuleApp{} + c.GetIntegrationURL() + c = nil + c.GetIntegrationURL() +} + +func TestCustomDeploymentProtectionRuleApp_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CustomDeploymentProtectionRuleApp{NodeID: &zeroValue} + c.GetNodeID() + c = &CustomDeploymentProtectionRuleApp{} + c.GetNodeID() + c = nil + c.GetNodeID() +} + +func TestCustomDeploymentProtectionRuleApp_GetSlug(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CustomDeploymentProtectionRuleApp{Slug: &zeroValue} + c.GetSlug() + c = &CustomDeploymentProtectionRuleApp{} + c.GetSlug() + c = nil + c.GetSlug() +} + +func TestCustomDeploymentProtectionRuleRequest_GetIntegrationID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &CustomDeploymentProtectionRuleRequest{IntegrationID: &zeroValue} + c.GetIntegrationID() + c = &CustomDeploymentProtectionRuleRequest{} + c.GetIntegrationID() + c = nil + c.GetIntegrationID() +} + +func TestCustomOrgRole_GetBaseRole(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CustomOrgRole{BaseRole: &zeroValue} + c.GetBaseRole() + c = &CustomOrgRole{} + c.GetBaseRole() + c = nil + c.GetBaseRole() +} + +func TestCustomOrgRole_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CustomOrgRole{CreatedAt: &zeroValue} + c.GetCreatedAt() + c = &CustomOrgRole{} + c.GetCreatedAt() + c = nil + c.GetCreatedAt() +} + +func TestCustomOrgRole_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CustomOrgRole{Description: &zeroValue} + c.GetDescription() + c = &CustomOrgRole{} + c.GetDescription() + c = nil + c.GetDescription() +} + +func TestCustomOrgRole_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &CustomOrgRole{ID: &zeroValue} + c.GetID() + c = &CustomOrgRole{} + c.GetID() + c = nil + c.GetID() +} + +func TestCustomOrgRole_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CustomOrgRole{Name: &zeroValue} + c.GetName() + c = &CustomOrgRole{} + c.GetName() + c = nil + c.GetName() +} + +func TestCustomOrgRole_GetOrg(tt *testing.T) { + tt.Parallel() + c := &CustomOrgRole{} + c.GetOrg() + c = nil + 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 + c := &CustomOrgRole{Source: &zeroValue} + c.GetSource() + c = &CustomOrgRole{} + c.GetSource() + c = nil + c.GetSource() +} + +func TestCustomOrgRole_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CustomOrgRole{UpdatedAt: &zeroValue} + c.GetUpdatedAt() + c = &CustomOrgRole{} + c.GetUpdatedAt() + c = nil + c.GetUpdatedAt() +} + +func TestCustomPatternBackfillScan_GetPatternScope(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CustomPatternBackfillScan{PatternScope: &zeroValue} + c.GetPatternScope() + c = &CustomPatternBackfillScan{} + c.GetPatternScope() + c = nil + c.GetPatternScope() +} + +func TestCustomPatternBackfillScan_GetPatternSlug(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CustomPatternBackfillScan{PatternSlug: &zeroValue} + c.GetPatternSlug() + c = &CustomPatternBackfillScan{} + c.GetPatternSlug() + c = nil + 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 + c := &CustomProperty{Description: &zeroValue} + c.GetDescription() + c = &CustomProperty{} + c.GetDescription() + c = nil + c.GetDescription() +} + +func TestCustomProperty_GetPropertyName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CustomProperty{PropertyName: &zeroValue} + c.GetPropertyName() + c = &CustomProperty{} + c.GetPropertyName() + c = nil + c.GetPropertyName() +} + +func TestCustomProperty_GetRequired(tt *testing.T) { + tt.Parallel() + var zeroValue bool + c := &CustomProperty{Required: &zeroValue} + c.GetRequired() + c = &CustomProperty{} + c.GetRequired() + c = nil + c.GetRequired() +} + +func TestCustomProperty_GetSourceType(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CustomProperty{SourceType: &zeroValue} + c.GetSourceType() + c = &CustomProperty{} + c.GetSourceType() + c = nil + c.GetSourceType() +} + +func TestCustomProperty_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CustomProperty{URL: &zeroValue} + c.GetURL() + c = &CustomProperty{} + c.GetURL() + c = nil + c.GetURL() +} + +func TestCustomProperty_GetValuesEditableBy(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CustomProperty{ValuesEditableBy: &zeroValue} + c.GetValuesEditableBy() + c = &CustomProperty{} + c.GetValuesEditableBy() + c = nil + 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 + c := &CustomPropertyEvent{Action: &zeroValue} + c.GetAction() + c = &CustomPropertyEvent{} + c.GetAction() + c = nil + c.GetAction() +} + +func TestCustomPropertyEvent_GetDefinition(tt *testing.T) { + tt.Parallel() + c := &CustomPropertyEvent{} + c.GetDefinition() + c = nil + c.GetDefinition() +} + +func TestCustomPropertyEvent_GetEnterprise(tt *testing.T) { + tt.Parallel() + c := &CustomPropertyEvent{} + c.GetEnterprise() + c = nil + c.GetEnterprise() +} + +func TestCustomPropertyEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + c := &CustomPropertyEvent{} + c.GetInstallation() + c = nil + c.GetInstallation() +} + +func TestCustomPropertyEvent_GetOrg(tt *testing.T) { + tt.Parallel() + c := &CustomPropertyEvent{} + c.GetOrg() + c = nil + c.GetOrg() +} + +func TestCustomPropertyEvent_GetSender(tt *testing.T) { + tt.Parallel() + c := &CustomPropertyEvent{} + c.GetSender() + c = nil + 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 + c := &CustomPropertyValuesEvent{Action: &zeroValue} + c.GetAction() + c = &CustomPropertyValuesEvent{} + c.GetAction() + c = nil + c.GetAction() +} + +func TestCustomPropertyValuesEvent_GetEnterprise(tt *testing.T) { + tt.Parallel() + c := &CustomPropertyValuesEvent{} + c.GetEnterprise() + c = nil + c.GetEnterprise() +} + +func TestCustomPropertyValuesEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + c := &CustomPropertyValuesEvent{} + c.GetInstallation() + c = nil + 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{} + c.GetOrg() + c = nil + c.GetOrg() +} + +func TestCustomPropertyValuesEvent_GetRepo(tt *testing.T) { + tt.Parallel() + c := &CustomPropertyValuesEvent{} + c.GetRepo() + c = nil + c.GetRepo() +} + +func TestCustomPropertyValuesEvent_GetSender(tt *testing.T) { + tt.Parallel() + c := &CustomPropertyValuesEvent{} + c.GetSender() + c = nil + c.GetSender() +} + +func TestCustomRepoRoles_GetBaseRole(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CustomRepoRoles{BaseRole: &zeroValue} + c.GetBaseRole() + c = &CustomRepoRoles{} + c.GetBaseRole() + c = nil + c.GetBaseRole() +} + +func TestCustomRepoRoles_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + c := &CustomRepoRoles{CreatedAt: &zeroValue} + c.GetCreatedAt() + c = &CustomRepoRoles{} + c.GetCreatedAt() + c = nil + c.GetCreatedAt() +} + +func TestCustomRepoRoles_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CustomRepoRoles{Description: &zeroValue} + c.GetDescription() + c = &CustomRepoRoles{} + c.GetDescription() + c = nil + c.GetDescription() +} + +func TestCustomRepoRoles_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + c := &CustomRepoRoles{ID: &zeroValue} + c.GetID() + c = &CustomRepoRoles{} + c.GetID() + c = nil + c.GetID() +} + +func TestCustomRepoRoles_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + c := &CustomRepoRoles{Name: &zeroValue} + c.GetName() + c = &CustomRepoRoles{} + c.GetName() + c = nil + c.GetName() +} + +func TestCustomRepoRoles_GetOrg(tt *testing.T) { + tt.Parallel() + c := &CustomRepoRoles{} + c.GetOrg() + c = nil + 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 + c := &CustomRepoRoles{UpdatedAt: &zeroValue} + c.GetUpdatedAt() + c = &CustomRepoRoles{} + c.GetUpdatedAt() + c = nil + 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 + d := &DefaultSetupConfiguration{QuerySuite: &zeroValue} + d.GetQuerySuite() + d = &DefaultSetupConfiguration{} + d.GetQuerySuite() + d = nil + d.GetQuerySuite() +} + +func TestDefaultSetupConfiguration_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DefaultSetupConfiguration{State: &zeroValue} + d.GetState() + d = &DefaultSetupConfiguration{} + d.GetState() + d = nil + d.GetState() +} + +func TestDefaultSetupConfiguration_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + d := &DefaultSetupConfiguration{UpdatedAt: &zeroValue} + d.GetUpdatedAt() + d = &DefaultSetupConfiguration{} + d.GetUpdatedAt() + d = nil + d.GetUpdatedAt() +} + +func TestDefaultWorkflowPermissionEnterprise_GetCanApprovePullRequestReviews(tt *testing.T) { + tt.Parallel() + var zeroValue bool + d := &DefaultWorkflowPermissionEnterprise{CanApprovePullRequestReviews: &zeroValue} + d.GetCanApprovePullRequestReviews() + d = &DefaultWorkflowPermissionEnterprise{} + d.GetCanApprovePullRequestReviews() + d = nil + d.GetCanApprovePullRequestReviews() +} + +func TestDefaultWorkflowPermissionEnterprise_GetDefaultWorkflowPermissions(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DefaultWorkflowPermissionEnterprise{DefaultWorkflowPermissions: &zeroValue} + d.GetDefaultWorkflowPermissions() + d = &DefaultWorkflowPermissionEnterprise{} + d.GetDefaultWorkflowPermissions() + d = nil + d.GetDefaultWorkflowPermissions() +} + +func TestDefaultWorkflowPermissionOrganization_GetCanApprovePullRequestReviews(tt *testing.T) { + tt.Parallel() + var zeroValue bool + d := &DefaultWorkflowPermissionOrganization{CanApprovePullRequestReviews: &zeroValue} + d.GetCanApprovePullRequestReviews() + d = &DefaultWorkflowPermissionOrganization{} + d.GetCanApprovePullRequestReviews() + d = nil + d.GetCanApprovePullRequestReviews() +} + +func TestDefaultWorkflowPermissionOrganization_GetDefaultWorkflowPermissions(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DefaultWorkflowPermissionOrganization{DefaultWorkflowPermissions: &zeroValue} + d.GetDefaultWorkflowPermissions() + d = &DefaultWorkflowPermissionOrganization{} + d.GetDefaultWorkflowPermissions() + d = nil + d.GetDefaultWorkflowPermissions() +} + +func TestDefaultWorkflowPermissionRepository_GetCanApprovePullRequestReviews(tt *testing.T) { + tt.Parallel() + var zeroValue bool + d := &DefaultWorkflowPermissionRepository{CanApprovePullRequestReviews: &zeroValue} + d.GetCanApprovePullRequestReviews() + d = &DefaultWorkflowPermissionRepository{} + d.GetCanApprovePullRequestReviews() + d = nil + d.GetCanApprovePullRequestReviews() +} + +func TestDefaultWorkflowPermissionRepository_GetDefaultWorkflowPermissions(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DefaultWorkflowPermissionRepository{DefaultWorkflowPermissions: &zeroValue} + d.GetDefaultWorkflowPermissions() + d = &DefaultWorkflowPermissionRepository{} + d.GetDefaultWorkflowPermissions() + d = nil + d.GetDefaultWorkflowPermissions() +} + +func TestDeleteAnalysis_GetConfirmDeleteURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeleteAnalysis{ConfirmDeleteURL: &zeroValue} + d.GetConfirmDeleteURL() + d = &DeleteAnalysis{} + d.GetConfirmDeleteURL() + d = nil + d.GetConfirmDeleteURL() +} + +func TestDeleteAnalysis_GetNextAnalysisURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeleteAnalysis{NextAnalysisURL: &zeroValue} + d.GetNextAnalysisURL() + d = &DeleteAnalysis{} + d.GetNextAnalysisURL() + d = nil + 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{} + d.GetInstallation() + d = nil + d.GetInstallation() +} + +func TestDeleteEvent_GetOrg(tt *testing.T) { + tt.Parallel() + d := &DeleteEvent{} + d.GetOrg() + d = nil + d.GetOrg() +} + +func TestDeleteEvent_GetPusherType(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeleteEvent{PusherType: &zeroValue} + d.GetPusherType() + d = &DeleteEvent{} + d.GetPusherType() + d = nil + d.GetPusherType() +} + +func TestDeleteEvent_GetRef(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeleteEvent{Ref: &zeroValue} + d.GetRef() + d = &DeleteEvent{} + d.GetRef() + d = nil + d.GetRef() +} + +func TestDeleteEvent_GetRefType(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeleteEvent{RefType: &zeroValue} + d.GetRefType() + d = &DeleteEvent{} + d.GetRefType() + d = nil + d.GetRefType() +} + +func TestDeleteEvent_GetRepo(tt *testing.T) { + tt.Parallel() + d := &DeleteEvent{} + d.GetRepo() + d = nil + d.GetRepo() +} + +func TestDeleteEvent_GetSender(tt *testing.T) { + tt.Parallel() + d := &DeleteEvent{} + d.GetSender() + d = nil + d.GetSender() +} + +func TestDependabotAlert_GetAutoDismissedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + d := &DependabotAlert{AutoDismissedAt: &zeroValue} + d.GetAutoDismissedAt() + d = &DependabotAlert{} + d.GetAutoDismissedAt() + d = nil + d.GetAutoDismissedAt() +} + +func TestDependabotAlert_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + d := &DependabotAlert{CreatedAt: &zeroValue} + d.GetCreatedAt() + d = &DependabotAlert{} + d.GetCreatedAt() + d = nil + d.GetCreatedAt() +} + +func TestDependabotAlert_GetDependency(tt *testing.T) { + tt.Parallel() + d := &DependabotAlert{} + d.GetDependency() + d = nil + d.GetDependency() +} + +func TestDependabotAlert_GetDismissedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + d := &DependabotAlert{DismissedAt: &zeroValue} + d.GetDismissedAt() + d = &DependabotAlert{} + d.GetDismissedAt() + d = nil + d.GetDismissedAt() +} + +func TestDependabotAlert_GetDismissedBy(tt *testing.T) { + tt.Parallel() + d := &DependabotAlert{} + d.GetDismissedBy() + d = nil + d.GetDismissedBy() +} + +func TestDependabotAlert_GetDismissedComment(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependabotAlert{DismissedComment: &zeroValue} + d.GetDismissedComment() + d = &DependabotAlert{} + d.GetDismissedComment() + d = nil + d.GetDismissedComment() +} + +func TestDependabotAlert_GetDismissedReason(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependabotAlert{DismissedReason: &zeroValue} + d.GetDismissedReason() + d = &DependabotAlert{} + d.GetDismissedReason() + d = nil + d.GetDismissedReason() +} + +func TestDependabotAlert_GetFixedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + d := &DependabotAlert{FixedAt: &zeroValue} + d.GetFixedAt() + d = &DependabotAlert{} + d.GetFixedAt() + d = nil + d.GetFixedAt() +} + +func TestDependabotAlert_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependabotAlert{HTMLURL: &zeroValue} + d.GetHTMLURL() + d = &DependabotAlert{} + d.GetHTMLURL() + d = nil + d.GetHTMLURL() +} + +func TestDependabotAlert_GetNumber(tt *testing.T) { + tt.Parallel() + var zeroValue int + d := &DependabotAlert{Number: &zeroValue} + d.GetNumber() + d = &DependabotAlert{} + d.GetNumber() + d = nil + d.GetNumber() +} + +func TestDependabotAlert_GetRepository(tt *testing.T) { + tt.Parallel() + d := &DependabotAlert{} + d.GetRepository() + d = nil + d.GetRepository() +} + +func TestDependabotAlert_GetSecurityAdvisory(tt *testing.T) { + tt.Parallel() + d := &DependabotAlert{} + d.GetSecurityAdvisory() + d = nil + d.GetSecurityAdvisory() +} + +func TestDependabotAlert_GetSecurityVulnerability(tt *testing.T) { + tt.Parallel() + d := &DependabotAlert{} + d.GetSecurityVulnerability() + d = nil + d.GetSecurityVulnerability() +} + +func TestDependabotAlert_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependabotAlert{State: &zeroValue} + d.GetState() + d = &DependabotAlert{} + d.GetState() + d = nil + d.GetState() +} + +func TestDependabotAlert_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + d := &DependabotAlert{UpdatedAt: &zeroValue} + d.GetUpdatedAt() + d = &DependabotAlert{} + d.GetUpdatedAt() + d = nil + d.GetUpdatedAt() +} + +func TestDependabotAlert_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependabotAlert{URL: &zeroValue} + d.GetURL() + d = &DependabotAlert{} + d.GetURL() + d = nil + d.GetURL() +} + +func TestDependabotAlertEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependabotAlertEvent{Action: &zeroValue} + d.GetAction() + d = &DependabotAlertEvent{} + d.GetAction() + d = nil + d.GetAction() +} + +func TestDependabotAlertEvent_GetAlert(tt *testing.T) { + tt.Parallel() + d := &DependabotAlertEvent{} + d.GetAlert() + d = nil + d.GetAlert() +} + +func TestDependabotAlertEvent_GetEnterprise(tt *testing.T) { + tt.Parallel() + d := &DependabotAlertEvent{} + d.GetEnterprise() + d = nil + d.GetEnterprise() +} + +func TestDependabotAlertEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + d := &DependabotAlertEvent{} + d.GetInstallation() + d = nil + d.GetInstallation() +} + +func TestDependabotAlertEvent_GetOrganization(tt *testing.T) { + tt.Parallel() + d := &DependabotAlertEvent{} + d.GetOrganization() + d = nil + d.GetOrganization() +} + +func TestDependabotAlertEvent_GetRepo(tt *testing.T) { + tt.Parallel() + d := &DependabotAlertEvent{} + d.GetRepo() + d = nil + d.GetRepo() +} + +func TestDependabotAlertEvent_GetSender(tt *testing.T) { + tt.Parallel() + d := &DependabotAlertEvent{} + d.GetSender() + d = nil + d.GetSender() +} + +func TestDependabotAlertState_GetDismissedComment(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependabotAlertState{DismissedComment: &zeroValue} + d.GetDismissedComment() + d = &DependabotAlertState{} + d.GetDismissedComment() + d = nil + d.GetDismissedComment() +} + +func TestDependabotAlertState_GetDismissedReason(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependabotAlertState{DismissedReason: &zeroValue} + d.GetDismissedReason() + d = &DependabotAlertState{} + d.GetDismissedReason() + d = nil + d.GetDismissedReason() +} + +func TestDependabotAlertState_GetState(tt *testing.T) { + tt.Parallel() + d := &DependabotAlertState{} + d.GetState() + d = nil + d.GetState() +} + +func TestDependabotSecurityAdvisory_GetClassification(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependabotSecurityAdvisory{Classification: &zeroValue} + d.GetClassification() + d = &DependabotSecurityAdvisory{} + d.GetClassification() + d = nil + d.GetClassification() +} + +func TestDependabotSecurityAdvisory_GetCVEID(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependabotSecurityAdvisory{CVEID: &zeroValue} + d.GetCVEID() + d = &DependabotSecurityAdvisory{} + d.GetCVEID() + d = nil + d.GetCVEID() +} + +func TestDependabotSecurityAdvisory_GetCVSS(tt *testing.T) { + tt.Parallel() + d := &DependabotSecurityAdvisory{} + d.GetCVSS() + d = nil + d.GetCVSS() +} + +func TestDependabotSecurityAdvisory_GetCVSSSeverities(tt *testing.T) { + tt.Parallel() + d := &DependabotSecurityAdvisory{} + d.GetCVSSSeverities() + d = nil + d.GetCVSSSeverities() +} + +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 + d := &DependabotSecurityAdvisory{Description: &zeroValue} + d.GetDescription() + d = &DependabotSecurityAdvisory{} + d.GetDescription() + d = nil + d.GetDescription() +} + +func TestDependabotSecurityAdvisory_GetEPSS(tt *testing.T) { + tt.Parallel() + d := &DependabotSecurityAdvisory{} + d.GetEPSS() + d = nil + d.GetEPSS() +} + +func TestDependabotSecurityAdvisory_GetGHSAID(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependabotSecurityAdvisory{GHSAID: &zeroValue} + d.GetGHSAID() + d = &DependabotSecurityAdvisory{} + d.GetGHSAID() + d = nil + 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 + d := &DependabotSecurityAdvisory{PublishedAt: &zeroValue} + d.GetPublishedAt() + d = &DependabotSecurityAdvisory{} + d.GetPublishedAt() + d = nil + 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 + d := &DependabotSecurityAdvisory{Severity: &zeroValue} + d.GetSeverity() + d = &DependabotSecurityAdvisory{} + d.GetSeverity() + d = nil + d.GetSeverity() +} + +func TestDependabotSecurityAdvisory_GetSummary(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependabotSecurityAdvisory{Summary: &zeroValue} + d.GetSummary() + d = &DependabotSecurityAdvisory{} + d.GetSummary() + d = nil + d.GetSummary() +} + +func TestDependabotSecurityAdvisory_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + d := &DependabotSecurityAdvisory{UpdatedAt: &zeroValue} + d.GetUpdatedAt() + d = &DependabotSecurityAdvisory{} + d.GetUpdatedAt() + d = nil + 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 + d := &DependabotSecurityAdvisory{WithdrawnAt: &zeroValue} + d.GetWithdrawnAt() + d = &DependabotSecurityAdvisory{} + d.GetWithdrawnAt() + d = nil + d.GetWithdrawnAt() +} + +func TestDependabotSecurityUpdates_GetStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependabotSecurityUpdates{Status: &zeroValue} + d.GetStatus() + d = &DependabotSecurityUpdates{} + d.GetStatus() + d = nil + d.GetStatus() +} + +func TestDependency_GetManifestPath(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &Dependency{ManifestPath: &zeroValue} + d.GetManifestPath() + d = &Dependency{} + d.GetManifestPath() + d = nil + d.GetManifestPath() +} + +func TestDependency_GetPackage(tt *testing.T) { + tt.Parallel() + d := &Dependency{} + d.GetPackage() + d = nil + d.GetPackage() +} + +func TestDependency_GetScope(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &Dependency{Scope: &zeroValue} + d.GetScope() + d = &Dependency{} + d.GetScope() + d = nil + d.GetScope() +} + +func TestDependencyGraphAutosubmitActionOptions_GetLabeledRunners(tt *testing.T) { + tt.Parallel() + var zeroValue bool + d := &DependencyGraphAutosubmitActionOptions{LabeledRunners: &zeroValue} + d.GetLabeledRunners() + d = &DependencyGraphAutosubmitActionOptions{} + d.GetLabeledRunners() + d = nil + d.GetLabeledRunners() +} + +func TestDependencyGraphSnapshot_GetDetector(tt *testing.T) { + tt.Parallel() + d := &DependencyGraphSnapshot{} + d.GetDetector() + d = nil + d.GetDetector() +} + +func TestDependencyGraphSnapshot_GetJob(tt *testing.T) { + tt.Parallel() + d := &DependencyGraphSnapshot{} + d.GetJob() + d = nil + d.GetJob() +} + +func TestDependencyGraphSnapshot_GetMetadata(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]any{} + d := &DependencyGraphSnapshot{Metadata: zeroValue} + d.GetMetadata() + d = &DependencyGraphSnapshot{} + d.GetMetadata() + d = nil + d.GetMetadata() +} + +func TestDependencyGraphSnapshot_GetRef(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependencyGraphSnapshot{Ref: &zeroValue} + d.GetRef() + d = &DependencyGraphSnapshot{} + d.GetRef() + d = nil + d.GetRef() +} + +func TestDependencyGraphSnapshot_GetScanned(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + d := &DependencyGraphSnapshot{Scanned: &zeroValue} + d.GetScanned() + d = &DependencyGraphSnapshot{} + d.GetScanned() + d = nil + d.GetScanned() +} + +func TestDependencyGraphSnapshot_GetSha(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependencyGraphSnapshot{Sha: &zeroValue} + d.GetSha() + d = &DependencyGraphSnapshot{} + d.GetSha() + d = nil + 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 + d := &DependencyGraphSnapshotCreationData{CreatedAt: &zeroValue} + d.GetCreatedAt() + d = &DependencyGraphSnapshotCreationData{} + d.GetCreatedAt() + d = nil + 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 + d := &DependencyGraphSnapshotCreationData{Message: &zeroValue} + d.GetMessage() + d = &DependencyGraphSnapshotCreationData{} + d.GetMessage() + d = nil + d.GetMessage() +} + +func TestDependencyGraphSnapshotCreationData_GetResult(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependencyGraphSnapshotCreationData{Result: &zeroValue} + d.GetResult() + d = &DependencyGraphSnapshotCreationData{} + d.GetResult() + d = nil + d.GetResult() +} + +func TestDependencyGraphSnapshotDetector_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependencyGraphSnapshotDetector{Name: &zeroValue} + d.GetName() + d = &DependencyGraphSnapshotDetector{} + d.GetName() + d = nil + d.GetName() +} + +func TestDependencyGraphSnapshotDetector_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependencyGraphSnapshotDetector{URL: &zeroValue} + d.GetURL() + d = &DependencyGraphSnapshotDetector{} + d.GetURL() + d = nil + d.GetURL() +} + +func TestDependencyGraphSnapshotDetector_GetVersion(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependencyGraphSnapshotDetector{Version: &zeroValue} + d.GetVersion() + d = &DependencyGraphSnapshotDetector{} + d.GetVersion() + d = nil + d.GetVersion() +} + +func TestDependencyGraphSnapshotJob_GetCorrelator(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependencyGraphSnapshotJob{Correlator: &zeroValue} + d.GetCorrelator() + d = &DependencyGraphSnapshotJob{} + d.GetCorrelator() + d = nil + d.GetCorrelator() +} + +func TestDependencyGraphSnapshotJob_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependencyGraphSnapshotJob{HTMLURL: &zeroValue} + d.GetHTMLURL() + d = &DependencyGraphSnapshotJob{} + d.GetHTMLURL() + d = nil + d.GetHTMLURL() +} + +func TestDependencyGraphSnapshotJob_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependencyGraphSnapshotJob{ID: &zeroValue} + d.GetID() + d = &DependencyGraphSnapshotJob{} + d.GetID() + d = nil + d.GetID() +} + +func TestDependencyGraphSnapshotManifest_GetFile(tt *testing.T) { + tt.Parallel() + d := &DependencyGraphSnapshotManifest{} + d.GetFile() + d = nil + d.GetFile() +} + +func TestDependencyGraphSnapshotManifest_GetMetadata(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]any{} + d := &DependencyGraphSnapshotManifest{Metadata: zeroValue} + d.GetMetadata() + d = &DependencyGraphSnapshotManifest{} + d.GetMetadata() + d = nil + d.GetMetadata() +} + +func TestDependencyGraphSnapshotManifest_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependencyGraphSnapshotManifest{Name: &zeroValue} + d.GetName() + d = &DependencyGraphSnapshotManifest{} + d.GetName() + d = nil + d.GetName() +} + +func TestDependencyGraphSnapshotManifestFile_GetSourceLocation(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependencyGraphSnapshotManifestFile{SourceLocation: &zeroValue} + d.GetSourceLocation() + d = &DependencyGraphSnapshotManifestFile{} + d.GetSourceLocation() + d = nil + 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{} + d := &DependencyGraphSnapshotResolvedDependency{Metadata: zeroValue} + d.GetMetadata() + d = &DependencyGraphSnapshotResolvedDependency{} + d.GetMetadata() + d = nil + d.GetMetadata() +} + +func TestDependencyGraphSnapshotResolvedDependency_GetPackageURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependencyGraphSnapshotResolvedDependency{PackageURL: &zeroValue} + d.GetPackageURL() + d = &DependencyGraphSnapshotResolvedDependency{} + d.GetPackageURL() + d = nil + d.GetPackageURL() +} + +func TestDependencyGraphSnapshotResolvedDependency_GetRelationship(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependencyGraphSnapshotResolvedDependency{Relationship: &zeroValue} + d.GetRelationship() + d = &DependencyGraphSnapshotResolvedDependency{} + d.GetRelationship() + d = nil + d.GetRelationship() +} + +func TestDependencyGraphSnapshotResolvedDependency_GetScope(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DependencyGraphSnapshotResolvedDependency{Scope: &zeroValue} + d.GetScope() + d = &DependencyGraphSnapshotResolvedDependency{} + d.GetScope() + d = nil + d.GetScope() +} + +func TestDeployKeyEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeployKeyEvent{Action: &zeroValue} + d.GetAction() + d = &DeployKeyEvent{} + d.GetAction() + d = nil + d.GetAction() +} + +func TestDeployKeyEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + d := &DeployKeyEvent{} + d.GetInstallation() + d = nil + d.GetInstallation() +} + +func TestDeployKeyEvent_GetKey(tt *testing.T) { + tt.Parallel() + d := &DeployKeyEvent{} + d.GetKey() + d = nil + d.GetKey() +} + +func TestDeployKeyEvent_GetOrganization(tt *testing.T) { + tt.Parallel() + d := &DeployKeyEvent{} + d.GetOrganization() + d = nil + d.GetOrganization() +} + +func TestDeployKeyEvent_GetRepo(tt *testing.T) { + tt.Parallel() + d := &DeployKeyEvent{} + d.GetRepo() + d = nil + d.GetRepo() +} + +func TestDeployKeyEvent_GetSender(tt *testing.T) { + tt.Parallel() + d := &DeployKeyEvent{} + d.GetSender() + d = nil + d.GetSender() +} + +func TestDeployment_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + d := &Deployment{CreatedAt: &zeroValue} + d.GetCreatedAt() + d = &Deployment{} + d.GetCreatedAt() + d = nil + d.GetCreatedAt() +} + +func TestDeployment_GetCreator(tt *testing.T) { + tt.Parallel() + d := &Deployment{} + d.GetCreator() + d = nil + d.GetCreator() +} + +func TestDeployment_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &Deployment{Description: &zeroValue} + d.GetDescription() + d = &Deployment{} + d.GetDescription() + d = nil + d.GetDescription() +} + +func TestDeployment_GetEnvironment(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &Deployment{Environment: &zeroValue} + d.GetEnvironment() + d = &Deployment{} + d.GetEnvironment() + d = nil + d.GetEnvironment() +} + +func TestDeployment_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + d := &Deployment{ID: &zeroValue} + d.GetID() + d = &Deployment{} + d.GetID() + d = nil + d.GetID() +} + +func TestDeployment_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &Deployment{NodeID: &zeroValue} + d.GetNodeID() + d = &Deployment{} + d.GetNodeID() + d = nil + 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 + d := &Deployment{Ref: &zeroValue} + d.GetRef() + d = &Deployment{} + d.GetRef() + d = nil + d.GetRef() +} + +func TestDeployment_GetRepositoryURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &Deployment{RepositoryURL: &zeroValue} + d.GetRepositoryURL() + d = &Deployment{} + d.GetRepositoryURL() + d = nil + d.GetRepositoryURL() +} + +func TestDeployment_GetSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &Deployment{SHA: &zeroValue} + d.GetSHA() + d = &Deployment{} + d.GetSHA() + d = nil + d.GetSHA() +} + +func TestDeployment_GetStatusesURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &Deployment{StatusesURL: &zeroValue} + d.GetStatusesURL() + d = &Deployment{} + d.GetStatusesURL() + d = nil + d.GetStatusesURL() +} + +func TestDeployment_GetTask(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &Deployment{Task: &zeroValue} + d.GetTask() + d = &Deployment{} + d.GetTask() + d = nil + d.GetTask() +} + +func TestDeployment_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + d := &Deployment{UpdatedAt: &zeroValue} + d.GetUpdatedAt() + d = &Deployment{} + d.GetUpdatedAt() + d = nil + d.GetUpdatedAt() +} + +func TestDeployment_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &Deployment{URL: &zeroValue} + d.GetURL() + d = &Deployment{} + d.GetURL() + d = nil + d.GetURL() +} + +func TestDeploymentBranchPolicy_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + d := &DeploymentBranchPolicy{ID: &zeroValue} + d.GetID() + d = &DeploymentBranchPolicy{} + d.GetID() + d = nil + d.GetID() +} + +func TestDeploymentBranchPolicy_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentBranchPolicy{Name: &zeroValue} + d.GetName() + d = &DeploymentBranchPolicy{} + d.GetName() + d = nil + d.GetName() +} + +func TestDeploymentBranchPolicy_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentBranchPolicy{NodeID: &zeroValue} + d.GetNodeID() + d = &DeploymentBranchPolicy{} + d.GetNodeID() + d = nil + d.GetNodeID() +} + +func TestDeploymentBranchPolicy_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentBranchPolicy{Type: &zeroValue} + d.GetType() + d = &DeploymentBranchPolicy{} + d.GetType() + d = nil + 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 + d := &DeploymentBranchPolicyResponse{TotalCount: &zeroValue} + d.GetTotalCount() + d = &DeploymentBranchPolicyResponse{} + d.GetTotalCount() + d = nil + d.GetTotalCount() +} + +func TestDeploymentEvent_GetDeployment(tt *testing.T) { + tt.Parallel() + d := &DeploymentEvent{} + d.GetDeployment() + d = nil + d.GetDeployment() +} + +func TestDeploymentEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + d := &DeploymentEvent{} + d.GetInstallation() + d = nil + d.GetInstallation() +} + +func TestDeploymentEvent_GetOrg(tt *testing.T) { + tt.Parallel() + d := &DeploymentEvent{} + d.GetOrg() + d = nil + d.GetOrg() +} + +func TestDeploymentEvent_GetRepo(tt *testing.T) { + tt.Parallel() + d := &DeploymentEvent{} + d.GetRepo() + d = nil + d.GetRepo() +} + +func TestDeploymentEvent_GetSender(tt *testing.T) { + tt.Parallel() + d := &DeploymentEvent{} + d.GetSender() + d = nil + d.GetSender() +} + +func TestDeploymentEvent_GetWorkflow(tt *testing.T) { + tt.Parallel() + d := &DeploymentEvent{} + d.GetWorkflow() + d = nil + d.GetWorkflow() +} + +func TestDeploymentEvent_GetWorkflowRun(tt *testing.T) { + tt.Parallel() + d := &DeploymentEvent{} + d.GetWorkflowRun() + d = nil + d.GetWorkflowRun() +} + +func TestDeploymentProtectionRuleEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentProtectionRuleEvent{Action: &zeroValue} + d.GetAction() + d = &DeploymentProtectionRuleEvent{} + d.GetAction() + d = nil + d.GetAction() +} + +func TestDeploymentProtectionRuleEvent_GetDeployment(tt *testing.T) { + tt.Parallel() + d := &DeploymentProtectionRuleEvent{} + d.GetDeployment() + d = nil + d.GetDeployment() +} + +func TestDeploymentProtectionRuleEvent_GetDeploymentCallbackURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentProtectionRuleEvent{DeploymentCallbackURL: &zeroValue} + d.GetDeploymentCallbackURL() + d = &DeploymentProtectionRuleEvent{} + d.GetDeploymentCallbackURL() + d = nil + d.GetDeploymentCallbackURL() +} + +func TestDeploymentProtectionRuleEvent_GetEnvironment(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentProtectionRuleEvent{Environment: &zeroValue} + d.GetEnvironment() + d = &DeploymentProtectionRuleEvent{} + d.GetEnvironment() + d = nil + d.GetEnvironment() +} + +func TestDeploymentProtectionRuleEvent_GetEvent(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentProtectionRuleEvent{Event: &zeroValue} + d.GetEvent() + d = &DeploymentProtectionRuleEvent{} + d.GetEvent() + d = nil + d.GetEvent() +} + +func TestDeploymentProtectionRuleEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + d := &DeploymentProtectionRuleEvent{} + d.GetInstallation() + d = nil + d.GetInstallation() +} + +func TestDeploymentProtectionRuleEvent_GetOrganization(tt *testing.T) { + tt.Parallel() + d := &DeploymentProtectionRuleEvent{} + d.GetOrganization() + d = nil + 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{} + d.GetRepo() + d = nil + d.GetRepo() +} + +func TestDeploymentProtectionRuleEvent_GetSender(tt *testing.T) { + tt.Parallel() + d := &DeploymentProtectionRuleEvent{} + d.GetSender() + d = nil + d.GetSender() +} + +func TestDeploymentRequest_GetAutoMerge(tt *testing.T) { + tt.Parallel() + var zeroValue bool + d := &DeploymentRequest{AutoMerge: &zeroValue} + d.GetAutoMerge() + d = &DeploymentRequest{} + d.GetAutoMerge() + d = nil + d.GetAutoMerge() +} + +func TestDeploymentRequest_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentRequest{Description: &zeroValue} + d.GetDescription() + d = &DeploymentRequest{} + d.GetDescription() + d = nil + d.GetDescription() +} + +func TestDeploymentRequest_GetEnvironment(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentRequest{Environment: &zeroValue} + d.GetEnvironment() + d = &DeploymentRequest{} + d.GetEnvironment() + d = nil + 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 + d := &DeploymentRequest{ProductionEnvironment: &zeroValue} + d.GetProductionEnvironment() + d = &DeploymentRequest{} + d.GetProductionEnvironment() + d = nil + d.GetProductionEnvironment() +} + +func TestDeploymentRequest_GetRef(tt *testing.T) { + tt.Parallel() + d := &DeploymentRequest{} + d.GetRef() + d = nil + d.GetRef() +} + +func TestDeploymentRequest_GetRequiredContexts(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + d := &DeploymentRequest{RequiredContexts: zeroValue} + d.GetRequiredContexts() + d = &DeploymentRequest{} + d.GetRequiredContexts() + d = nil + d.GetRequiredContexts() +} + +func TestDeploymentRequest_GetTask(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentRequest{Task: &zeroValue} + d.GetTask() + d = &DeploymentRequest{} + d.GetTask() + d = nil + d.GetTask() +} + +func TestDeploymentRequest_GetTransientEnvironment(tt *testing.T) { + tt.Parallel() + var zeroValue bool + d := &DeploymentRequest{TransientEnvironment: &zeroValue} + d.GetTransientEnvironment() + d = &DeploymentRequest{} + d.GetTransientEnvironment() + d = nil + d.GetTransientEnvironment() +} + +func TestDeploymentReviewEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentReviewEvent{Action: &zeroValue} + d.GetAction() + d = &DeploymentReviewEvent{} + d.GetAction() + d = nil + d.GetAction() +} + +func TestDeploymentReviewEvent_GetApprover(tt *testing.T) { + tt.Parallel() + d := &DeploymentReviewEvent{} + d.GetApprover() + d = nil + d.GetApprover() +} + +func TestDeploymentReviewEvent_GetComment(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentReviewEvent{Comment: &zeroValue} + d.GetComment() + d = &DeploymentReviewEvent{} + d.GetComment() + d = nil + d.GetComment() +} + +func TestDeploymentReviewEvent_GetEnterprise(tt *testing.T) { + tt.Parallel() + d := &DeploymentReviewEvent{} + d.GetEnterprise() + d = nil + d.GetEnterprise() +} + +func TestDeploymentReviewEvent_GetEnvironment(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentReviewEvent{Environment: &zeroValue} + d.GetEnvironment() + d = &DeploymentReviewEvent{} + d.GetEnvironment() + d = nil + d.GetEnvironment() +} + +func TestDeploymentReviewEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + d := &DeploymentReviewEvent{} + d.GetInstallation() + d = nil + d.GetInstallation() +} + +func TestDeploymentReviewEvent_GetOrganization(tt *testing.T) { + tt.Parallel() + d := &DeploymentReviewEvent{} + d.GetOrganization() + d = nil + d.GetOrganization() +} + +func TestDeploymentReviewEvent_GetRepo(tt *testing.T) { + tt.Parallel() + d := &DeploymentReviewEvent{} + d.GetRepo() + d = nil + d.GetRepo() +} + +func TestDeploymentReviewEvent_GetRequester(tt *testing.T) { + tt.Parallel() + d := &DeploymentReviewEvent{} + d.GetRequester() + d = nil + 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{} + d.GetSender() + d = nil + d.GetSender() +} + +func TestDeploymentReviewEvent_GetSince(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentReviewEvent{Since: &zeroValue} + d.GetSince() + d = &DeploymentReviewEvent{} + d.GetSince() + d = nil + d.GetSince() +} + +func TestDeploymentReviewEvent_GetWorkflowJobRun(tt *testing.T) { + tt.Parallel() + d := &DeploymentReviewEvent{} + d.GetWorkflowJobRun() + d = nil + 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{} + d.GetWorkflowRun() + d = nil + 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 + d := &DeploymentStatus{CreatedAt: &zeroValue} + d.GetCreatedAt() + d = &DeploymentStatus{} + d.GetCreatedAt() + d = nil + d.GetCreatedAt() +} + +func TestDeploymentStatus_GetCreator(tt *testing.T) { + tt.Parallel() + d := &DeploymentStatus{} + d.GetCreator() + d = nil + d.GetCreator() +} + +func TestDeploymentStatus_GetDeploymentURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentStatus{DeploymentURL: &zeroValue} + d.GetDeploymentURL() + d = &DeploymentStatus{} + d.GetDeploymentURL() + d = nil + d.GetDeploymentURL() +} + +func TestDeploymentStatus_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentStatus{Description: &zeroValue} + d.GetDescription() + d = &DeploymentStatus{} + d.GetDescription() + d = nil + d.GetDescription() +} + +func TestDeploymentStatus_GetEnvironment(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentStatus{Environment: &zeroValue} + d.GetEnvironment() + d = &DeploymentStatus{} + d.GetEnvironment() + d = nil + d.GetEnvironment() +} + +func TestDeploymentStatus_GetEnvironmentURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentStatus{EnvironmentURL: &zeroValue} + d.GetEnvironmentURL() + d = &DeploymentStatus{} + d.GetEnvironmentURL() + d = nil + d.GetEnvironmentURL() +} + +func TestDeploymentStatus_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + d := &DeploymentStatus{ID: &zeroValue} + d.GetID() + d = &DeploymentStatus{} + d.GetID() + d = nil + d.GetID() +} + +func TestDeploymentStatus_GetLogURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentStatus{LogURL: &zeroValue} + d.GetLogURL() + d = &DeploymentStatus{} + d.GetLogURL() + d = nil + d.GetLogURL() +} + +func TestDeploymentStatus_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentStatus{NodeID: &zeroValue} + d.GetNodeID() + d = &DeploymentStatus{} + d.GetNodeID() + d = nil + d.GetNodeID() +} + +func TestDeploymentStatus_GetRepositoryURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentStatus{RepositoryURL: &zeroValue} + d.GetRepositoryURL() + d = &DeploymentStatus{} + d.GetRepositoryURL() + d = nil + d.GetRepositoryURL() +} + +func TestDeploymentStatus_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentStatus{State: &zeroValue} + d.GetState() + d = &DeploymentStatus{} + d.GetState() + d = nil + d.GetState() +} + +func TestDeploymentStatus_GetTargetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentStatus{TargetURL: &zeroValue} + d.GetTargetURL() + d = &DeploymentStatus{} + d.GetTargetURL() + d = nil + d.GetTargetURL() +} + +func TestDeploymentStatus_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + d := &DeploymentStatus{UpdatedAt: &zeroValue} + d.GetUpdatedAt() + d = &DeploymentStatus{} + d.GetUpdatedAt() + d = nil + d.GetUpdatedAt() +} + +func TestDeploymentStatus_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentStatus{URL: &zeroValue} + d.GetURL() + d = &DeploymentStatus{} + d.GetURL() + d = nil + d.GetURL() +} + +func TestDeploymentStatusEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentStatusEvent{Action: &zeroValue} + d.GetAction() + d = &DeploymentStatusEvent{} + d.GetAction() + d = nil + d.GetAction() +} + +func TestDeploymentStatusEvent_GetDeployment(tt *testing.T) { + tt.Parallel() + d := &DeploymentStatusEvent{} + d.GetDeployment() + d = nil + d.GetDeployment() +} + +func TestDeploymentStatusEvent_GetDeploymentStatus(tt *testing.T) { + tt.Parallel() + d := &DeploymentStatusEvent{} + d.GetDeploymentStatus() + d = nil + d.GetDeploymentStatus() +} + +func TestDeploymentStatusEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + d := &DeploymentStatusEvent{} + d.GetInstallation() + d = nil + d.GetInstallation() +} + +func TestDeploymentStatusEvent_GetOrg(tt *testing.T) { + tt.Parallel() + d := &DeploymentStatusEvent{} + d.GetOrg() + d = nil + d.GetOrg() +} + +func TestDeploymentStatusEvent_GetRepo(tt *testing.T) { + tt.Parallel() + d := &DeploymentStatusEvent{} + d.GetRepo() + d = nil + d.GetRepo() +} + +func TestDeploymentStatusEvent_GetSender(tt *testing.T) { + tt.Parallel() + d := &DeploymentStatusEvent{} + d.GetSender() + d = nil + d.GetSender() +} + +func TestDeploymentStatusRequest_GetAutoInactive(tt *testing.T) { + tt.Parallel() + var zeroValue bool + d := &DeploymentStatusRequest{AutoInactive: &zeroValue} + d.GetAutoInactive() + d = &DeploymentStatusRequest{} + d.GetAutoInactive() + d = nil + d.GetAutoInactive() +} + +func TestDeploymentStatusRequest_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentStatusRequest{Description: &zeroValue} + d.GetDescription() + d = &DeploymentStatusRequest{} + d.GetDescription() + d = nil + d.GetDescription() +} + +func TestDeploymentStatusRequest_GetEnvironment(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentStatusRequest{Environment: &zeroValue} + d.GetEnvironment() + d = &DeploymentStatusRequest{} + d.GetEnvironment() + d = nil + d.GetEnvironment() +} + +func TestDeploymentStatusRequest_GetEnvironmentURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentStatusRequest{EnvironmentURL: &zeroValue} + d.GetEnvironmentURL() + d = &DeploymentStatusRequest{} + d.GetEnvironmentURL() + d = nil + d.GetEnvironmentURL() +} + +func TestDeploymentStatusRequest_GetLogURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentStatusRequest{LogURL: &zeroValue} + d.GetLogURL() + d = &DeploymentStatusRequest{} + d.GetLogURL() + d = nil + d.GetLogURL() +} + +func TestDeploymentStatusRequest_GetState(tt *testing.T) { + tt.Parallel() + d := &DeploymentStatusRequest{} + d.GetState() + d = nil + d.GetState() +} + +func TestDeploymentStatusRequest_GetTargetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DeploymentStatusRequest{TargetURL: &zeroValue} + d.GetTargetURL() + d = &DeploymentStatusRequest{} + d.GetTargetURL() + d = nil + d.GetTargetURL() +} + +func TestDevContainer_GetDisplayName(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DevContainer{DisplayName: &zeroValue} + d.GetDisplayName() + d = &DevContainer{} + d.GetDisplayName() + d = nil + d.GetDisplayName() +} + +func TestDevContainer_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DevContainer{Name: &zeroValue} + d.GetName() + d = &DevContainer{} + d.GetName() + d = nil + 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 + d := &Discussion{ActiveLockReason: &zeroValue} + d.GetActiveLockReason() + d = &Discussion{} + d.GetActiveLockReason() + d = nil + d.GetActiveLockReason() +} + +func TestDiscussion_GetAnswerChosenAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + d := &Discussion{AnswerChosenAt: &zeroValue} + d.GetAnswerChosenAt() + d = &Discussion{} + d.GetAnswerChosenAt() + d = nil + d.GetAnswerChosenAt() +} + +func TestDiscussion_GetAnswerChosenBy(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &Discussion{AnswerChosenBy: &zeroValue} + d.GetAnswerChosenBy() + d = &Discussion{} + d.GetAnswerChosenBy() + d = nil + d.GetAnswerChosenBy() +} + +func TestDiscussion_GetAnswerHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &Discussion{AnswerHTMLURL: &zeroValue} + d.GetAnswerHTMLURL() + d = &Discussion{} + d.GetAnswerHTMLURL() + d = nil + d.GetAnswerHTMLURL() +} + +func TestDiscussion_GetAuthorAssociation(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &Discussion{AuthorAssociation: &zeroValue} + d.GetAuthorAssociation() + d = &Discussion{} + d.GetAuthorAssociation() + d = nil + d.GetAuthorAssociation() +} + +func TestDiscussion_GetBody(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &Discussion{Body: &zeroValue} + d.GetBody() + d = &Discussion{} + d.GetBody() + d = nil + d.GetBody() +} + +func TestDiscussion_GetComments(tt *testing.T) { + tt.Parallel() + var zeroValue int + d := &Discussion{Comments: &zeroValue} + d.GetComments() + d = &Discussion{} + d.GetComments() + d = nil + d.GetComments() +} + +func TestDiscussion_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + d := &Discussion{CreatedAt: &zeroValue} + d.GetCreatedAt() + d = &Discussion{} + d.GetCreatedAt() + d = nil + d.GetCreatedAt() +} + +func TestDiscussion_GetDiscussionCategory(tt *testing.T) { + tt.Parallel() + d := &Discussion{} + d.GetDiscussionCategory() + d = nil + d.GetDiscussionCategory() +} + +func TestDiscussion_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &Discussion{HTMLURL: &zeroValue} + d.GetHTMLURL() + d = &Discussion{} + d.GetHTMLURL() + d = nil + d.GetHTMLURL() +} + +func TestDiscussion_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + d := &Discussion{ID: &zeroValue} + d.GetID() + d = &Discussion{} + d.GetID() + d = nil + d.GetID() +} + +func TestDiscussion_GetLocked(tt *testing.T) { + tt.Parallel() + var zeroValue bool + d := &Discussion{Locked: &zeroValue} + d.GetLocked() + d = &Discussion{} + d.GetLocked() + d = nil + d.GetLocked() +} + +func TestDiscussion_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &Discussion{NodeID: &zeroValue} + d.GetNodeID() + d = &Discussion{} + d.GetNodeID() + d = nil + d.GetNodeID() +} + +func TestDiscussion_GetNumber(tt *testing.T) { + tt.Parallel() + var zeroValue int + d := &Discussion{Number: &zeroValue} + d.GetNumber() + d = &Discussion{} + d.GetNumber() + d = nil + d.GetNumber() +} + +func TestDiscussion_GetRepositoryURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &Discussion{RepositoryURL: &zeroValue} + d.GetRepositoryURL() + d = &Discussion{} + d.GetRepositoryURL() + d = nil + d.GetRepositoryURL() +} + +func TestDiscussion_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &Discussion{State: &zeroValue} + d.GetState() + d = &Discussion{} + d.GetState() + d = nil + d.GetState() +} + +func TestDiscussion_GetTitle(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &Discussion{Title: &zeroValue} + d.GetTitle() + d = &Discussion{} + d.GetTitle() + d = nil + d.GetTitle() +} + +func TestDiscussion_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + d := &Discussion{UpdatedAt: &zeroValue} + d.GetUpdatedAt() + d = &Discussion{} + d.GetUpdatedAt() + d = nil + d.GetUpdatedAt() +} + +func TestDiscussion_GetUser(tt *testing.T) { + tt.Parallel() + d := &Discussion{} + d.GetUser() + d = nil + d.GetUser() +} + +func TestDiscussionCategory_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + d := &DiscussionCategory{CreatedAt: &zeroValue} + d.GetCreatedAt() + d = &DiscussionCategory{} + d.GetCreatedAt() + d = nil + d.GetCreatedAt() +} + +func TestDiscussionCategory_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DiscussionCategory{Description: &zeroValue} + d.GetDescription() + d = &DiscussionCategory{} + d.GetDescription() + d = nil + d.GetDescription() +} + +func TestDiscussionCategory_GetEmoji(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DiscussionCategory{Emoji: &zeroValue} + d.GetEmoji() + d = &DiscussionCategory{} + d.GetEmoji() + d = nil + d.GetEmoji() +} + +func TestDiscussionCategory_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + d := &DiscussionCategory{ID: &zeroValue} + d.GetID() + d = &DiscussionCategory{} + d.GetID() + d = nil + d.GetID() +} + +func TestDiscussionCategory_GetIsAnswerable(tt *testing.T) { + tt.Parallel() + var zeroValue bool + d := &DiscussionCategory{IsAnswerable: &zeroValue} + d.GetIsAnswerable() + d = &DiscussionCategory{} + d.GetIsAnswerable() + d = nil + d.GetIsAnswerable() +} + +func TestDiscussionCategory_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DiscussionCategory{Name: &zeroValue} + d.GetName() + d = &DiscussionCategory{} + d.GetName() + d = nil + d.GetName() +} + +func TestDiscussionCategory_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DiscussionCategory{NodeID: &zeroValue} + d.GetNodeID() + d = &DiscussionCategory{} + d.GetNodeID() + d = nil + d.GetNodeID() +} + +func TestDiscussionCategory_GetRepositoryID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + d := &DiscussionCategory{RepositoryID: &zeroValue} + d.GetRepositoryID() + d = &DiscussionCategory{} + d.GetRepositoryID() + d = nil + d.GetRepositoryID() +} + +func TestDiscussionCategory_GetSlug(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DiscussionCategory{Slug: &zeroValue} + d.GetSlug() + d = &DiscussionCategory{} + d.GetSlug() + d = nil + d.GetSlug() +} + +func TestDiscussionCategory_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + d := &DiscussionCategory{UpdatedAt: &zeroValue} + d.GetUpdatedAt() + d = &DiscussionCategory{} + d.GetUpdatedAt() + d = nil + d.GetUpdatedAt() +} + +func TestDiscussionComment_GetAuthor(tt *testing.T) { + tt.Parallel() + d := &DiscussionComment{} + d.GetAuthor() + d = nil + d.GetAuthor() +} + +func TestDiscussionComment_GetBody(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DiscussionComment{Body: &zeroValue} + d.GetBody() + d = &DiscussionComment{} + d.GetBody() + d = nil + d.GetBody() +} + +func TestDiscussionComment_GetBodyHTML(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DiscussionComment{BodyHTML: &zeroValue} + d.GetBodyHTML() + d = &DiscussionComment{} + d.GetBodyHTML() + d = nil + d.GetBodyHTML() +} + +func TestDiscussionComment_GetBodyVersion(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DiscussionComment{BodyVersion: &zeroValue} + d.GetBodyVersion() + d = &DiscussionComment{} + d.GetBodyVersion() + d = nil + d.GetBodyVersion() +} + +func TestDiscussionComment_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + d := &DiscussionComment{CreatedAt: &zeroValue} + d.GetCreatedAt() + d = &DiscussionComment{} + d.GetCreatedAt() + d = nil + d.GetCreatedAt() +} + +func TestDiscussionComment_GetDiscussionURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DiscussionComment{DiscussionURL: &zeroValue} + d.GetDiscussionURL() + d = &DiscussionComment{} + d.GetDiscussionURL() + d = nil + d.GetDiscussionURL() +} + +func TestDiscussionComment_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DiscussionComment{HTMLURL: &zeroValue} + d.GetHTMLURL() + d = &DiscussionComment{} + d.GetHTMLURL() + d = nil + d.GetHTMLURL() +} + +func TestDiscussionComment_GetLastEditedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + d := &DiscussionComment{LastEditedAt: &zeroValue} + d.GetLastEditedAt() + d = &DiscussionComment{} + d.GetLastEditedAt() + d = nil + d.GetLastEditedAt() +} + +func TestDiscussionComment_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DiscussionComment{NodeID: &zeroValue} + d.GetNodeID() + d = &DiscussionComment{} + d.GetNodeID() + d = nil + d.GetNodeID() +} + +func TestDiscussionComment_GetNumber(tt *testing.T) { + tt.Parallel() + var zeroValue int + d := &DiscussionComment{Number: &zeroValue} + d.GetNumber() + d = &DiscussionComment{} + d.GetNumber() + d = nil + d.GetNumber() +} + +func TestDiscussionComment_GetReactions(tt *testing.T) { + tt.Parallel() + d := &DiscussionComment{} + d.GetReactions() + d = nil + d.GetReactions() +} + +func TestDiscussionComment_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + d := &DiscussionComment{UpdatedAt: &zeroValue} + d.GetUpdatedAt() + d = &DiscussionComment{} + d.GetUpdatedAt() + d = nil + d.GetUpdatedAt() +} + +func TestDiscussionComment_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DiscussionComment{URL: &zeroValue} + d.GetURL() + d = &DiscussionComment{} + d.GetURL() + d = nil + d.GetURL() +} + +func TestDiscussionCommentEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DiscussionCommentEvent{Action: &zeroValue} + d.GetAction() + d = &DiscussionCommentEvent{} + d.GetAction() + d = nil + d.GetAction() +} + +func TestDiscussionCommentEvent_GetComment(tt *testing.T) { + tt.Parallel() + d := &DiscussionCommentEvent{} + d.GetComment() + d = nil + d.GetComment() +} + +func TestDiscussionCommentEvent_GetDiscussion(tt *testing.T) { + tt.Parallel() + d := &DiscussionCommentEvent{} + d.GetDiscussion() + d = nil + d.GetDiscussion() +} + +func TestDiscussionCommentEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + d := &DiscussionCommentEvent{} + d.GetInstallation() + d = nil + d.GetInstallation() +} + +func TestDiscussionCommentEvent_GetOrg(tt *testing.T) { + tt.Parallel() + d := &DiscussionCommentEvent{} + d.GetOrg() + d = nil + d.GetOrg() +} + +func TestDiscussionCommentEvent_GetRepo(tt *testing.T) { + tt.Parallel() + d := &DiscussionCommentEvent{} + d.GetRepo() + d = nil + d.GetRepo() +} + +func TestDiscussionCommentEvent_GetSender(tt *testing.T) { + tt.Parallel() + d := &DiscussionCommentEvent{} + d.GetSender() + d = nil + 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 + d := &DiscussionEvent{Action: &zeroValue} + d.GetAction() + d = &DiscussionEvent{} + d.GetAction() + d = nil + d.GetAction() +} + +func TestDiscussionEvent_GetDiscussion(tt *testing.T) { + tt.Parallel() + d := &DiscussionEvent{} + d.GetDiscussion() + d = nil + d.GetDiscussion() +} + +func TestDiscussionEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + d := &DiscussionEvent{} + d.GetInstallation() + d = nil + d.GetInstallation() +} + +func TestDiscussionEvent_GetOrg(tt *testing.T) { + tt.Parallel() + d := &DiscussionEvent{} + d.GetOrg() + d = nil + d.GetOrg() +} + +func TestDiscussionEvent_GetRepo(tt *testing.T) { + tt.Parallel() + d := &DiscussionEvent{} + d.GetRepo() + d = nil + d.GetRepo() +} + +func TestDiscussionEvent_GetSender(tt *testing.T) { + tt.Parallel() + d := &DiscussionEvent{} + d.GetSender() + d = nil + 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 + d := &DismissalRestrictionsRequest{Apps: &zeroValue} + d.GetApps() + d = &DismissalRestrictionsRequest{} + d.GetApps() + d = nil + d.GetApps() +} + +func TestDismissalRestrictionsRequest_GetTeams(tt *testing.T) { + tt.Parallel() + var zeroValue []string + d := &DismissalRestrictionsRequest{Teams: &zeroValue} + d.GetTeams() + d = &DismissalRestrictionsRequest{} + d.GetTeams() + d = nil + d.GetTeams() +} + +func TestDismissalRestrictionsRequest_GetUsers(tt *testing.T) { + tt.Parallel() + var zeroValue []string + d := &DismissalRestrictionsRequest{Users: &zeroValue} + d.GetUsers() + d = &DismissalRestrictionsRequest{} + d.GetUsers() + d = nil + d.GetUsers() +} + +func TestDismissedReview_GetDismissalCommitID(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DismissedReview{DismissalCommitID: &zeroValue} + d.GetDismissalCommitID() + d = &DismissedReview{} + d.GetDismissalCommitID() + d = nil + d.GetDismissalCommitID() +} + +func TestDismissedReview_GetDismissalMessage(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DismissedReview{DismissalMessage: &zeroValue} + d.GetDismissalMessage() + d = &DismissedReview{} + d.GetDismissalMessage() + d = nil + d.GetDismissalMessage() +} + +func TestDismissedReview_GetReviewID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + d := &DismissedReview{ReviewID: &zeroValue} + d.GetReviewID() + d = &DismissedReview{} + d.GetReviewID() + d = nil + d.GetReviewID() +} + +func TestDismissedReview_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DismissedReview{State: &zeroValue} + d.GetState() + d = &DismissedReview{} + d.GetState() + d = nil + d.GetState() +} + +func TestDismissStaleReviewsOnPushChanges_GetFrom(tt *testing.T) { + tt.Parallel() + var zeroValue bool + d := &DismissStaleReviewsOnPushChanges{From: &zeroValue} + d.GetFrom() + d = &DismissStaleReviewsOnPushChanges{} + d.GetFrom() + d = nil + d.GetFrom() +} + +func TestDispatchRequestOptions_GetClientPayload(tt *testing.T) { + tt.Parallel() + var zeroValue json.RawMessage + d := &DispatchRequestOptions{ClientPayload: &zeroValue} + d.GetClientPayload() + d = &DispatchRequestOptions{} + d.GetClientPayload() + d = nil + 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 + d := &DraftReviewComment{Body: &zeroValue} + d.GetBody() + d = &DraftReviewComment{} + d.GetBody() + d = nil + d.GetBody() +} + +func TestDraftReviewComment_GetLine(tt *testing.T) { + tt.Parallel() + var zeroValue int + d := &DraftReviewComment{Line: &zeroValue} + d.GetLine() + d = &DraftReviewComment{} + d.GetLine() + d = nil + d.GetLine() +} + +func TestDraftReviewComment_GetPath(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DraftReviewComment{Path: &zeroValue} + d.GetPath() + d = &DraftReviewComment{} + d.GetPath() + d = nil + d.GetPath() +} + +func TestDraftReviewComment_GetPosition(tt *testing.T) { + tt.Parallel() + var zeroValue int + d := &DraftReviewComment{Position: &zeroValue} + d.GetPosition() + d = &DraftReviewComment{} + d.GetPosition() + d = nil + d.GetPosition() +} + +func TestDraftReviewComment_GetSide(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DraftReviewComment{Side: &zeroValue} + d.GetSide() + d = &DraftReviewComment{} + d.GetSide() + d = nil + d.GetSide() +} + +func TestDraftReviewComment_GetStartLine(tt *testing.T) { + tt.Parallel() + var zeroValue int + d := &DraftReviewComment{StartLine: &zeroValue} + d.GetStartLine() + d = &DraftReviewComment{} + d.GetStartLine() + d = nil + d.GetStartLine() +} + +func TestDraftReviewComment_GetStartSide(tt *testing.T) { + tt.Parallel() + var zeroValue string + d := &DraftReviewComment{StartSide: &zeroValue} + d.GetStartSide() + d = &DraftReviewComment{} + d.GetStartSide() + d = nil + d.GetStartSide() +} + +func TestEditBase_GetRef(tt *testing.T) { + tt.Parallel() + e := &EditBase{} + e.GetRef() + e = nil + e.GetRef() +} + +func TestEditBase_GetSHA(tt *testing.T) { + tt.Parallel() + e := &EditBase{} + e.GetSHA() + e = nil + e.GetSHA() +} + +func TestEditBody_GetFrom(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EditBody{From: &zeroValue} + e.GetFrom() + e = &EditBody{} + e.GetFrom() + e = nil + e.GetFrom() +} + +func TestEditChange_GetBase(tt *testing.T) { + tt.Parallel() + e := &EditChange{} + e.GetBase() + e = nil + e.GetBase() +} + +func TestEditChange_GetBody(tt *testing.T) { + tt.Parallel() + e := &EditChange{} + e.GetBody() + e = nil + e.GetBody() +} + +func TestEditChange_GetDefaultBranch(tt *testing.T) { + tt.Parallel() + e := &EditChange{} + e.GetDefaultBranch() + e = nil + e.GetDefaultBranch() +} + +func TestEditChange_GetOwner(tt *testing.T) { + tt.Parallel() + e := &EditChange{} + e.GetOwner() + e = nil + e.GetOwner() +} + +func TestEditChange_GetRepo(tt *testing.T) { + tt.Parallel() + e := &EditChange{} + e.GetRepo() + e = nil + e.GetRepo() +} + +func TestEditChange_GetTitle(tt *testing.T) { + tt.Parallel() + e := &EditChange{} + e.GetTitle() + e = nil + e.GetTitle() +} + +func TestEditChange_GetTopics(tt *testing.T) { + tt.Parallel() + e := &EditChange{} + e.GetTopics() + e = nil + e.GetTopics() +} + +func TestEditDefaultBranch_GetFrom(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EditDefaultBranch{From: &zeroValue} + e.GetFrom() + e = &EditDefaultBranch{} + e.GetFrom() + e = nil + e.GetFrom() +} + +func TestEditOwner_GetOwnerInfo(tt *testing.T) { + tt.Parallel() + e := &EditOwner{} + e.GetOwnerInfo() + e = nil + e.GetOwnerInfo() +} + +func TestEditRef_GetFrom(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EditRef{From: &zeroValue} + e.GetFrom() + e = &EditRef{} + e.GetFrom() + e = nil + e.GetFrom() +} + +func TestEditRepo_GetName(tt *testing.T) { + tt.Parallel() + e := &EditRepo{} + e.GetName() + e = nil + e.GetName() +} + +func TestEditSHA_GetFrom(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EditSHA{From: &zeroValue} + e.GetFrom() + e = &EditSHA{} + e.GetFrom() + e = nil + e.GetFrom() +} + +func TestEditTitle_GetFrom(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EditTitle{From: &zeroValue} + e.GetFrom() + e = &EditTitle{} + e.GetFrom() + e = nil + 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 + e := &Enterprise{AvatarURL: &zeroValue} + e.GetAvatarURL() + e = &Enterprise{} + e.GetAvatarURL() + e = nil + e.GetAvatarURL() +} + +func TestEnterprise_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + e := &Enterprise{CreatedAt: &zeroValue} + e.GetCreatedAt() + e = &Enterprise{} + e.GetCreatedAt() + e = nil + e.GetCreatedAt() +} + +func TestEnterprise_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &Enterprise{Description: &zeroValue} + e.GetDescription() + e = &Enterprise{} + e.GetDescription() + e = nil + e.GetDescription() +} + +func TestEnterprise_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &Enterprise{HTMLURL: &zeroValue} + e.GetHTMLURL() + e = &Enterprise{} + e.GetHTMLURL() + e = nil + e.GetHTMLURL() +} + +func TestEnterprise_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int + e := &Enterprise{ID: &zeroValue} + e.GetID() + e = &Enterprise{} + e.GetID() + e = nil + e.GetID() +} + +func TestEnterprise_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &Enterprise{Name: &zeroValue} + e.GetName() + e = &Enterprise{} + e.GetName() + e = nil + e.GetName() +} + +func TestEnterprise_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &Enterprise{NodeID: &zeroValue} + e.GetNodeID() + e = &Enterprise{} + e.GetNodeID() + e = nil + e.GetNodeID() +} + +func TestEnterprise_GetSlug(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &Enterprise{Slug: &zeroValue} + e.GetSlug() + e = &Enterprise{} + e.GetSlug() + e = nil + e.GetSlug() +} + +func TestEnterprise_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + e := &Enterprise{UpdatedAt: &zeroValue} + e.GetUpdatedAt() + e = &Enterprise{} + e.GetUpdatedAt() + e = nil + e.GetUpdatedAt() +} + +func TestEnterprise_GetWebsiteURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &Enterprise{WebsiteURL: &zeroValue} + e.GetWebsiteURL() + e = &Enterprise{} + e.GetWebsiteURL() + e = nil + e.GetWebsiteURL() +} + +func TestEnterpriseAggregatedUsageItem_GetDiscountAmount(tt *testing.T) { + tt.Parallel() + e := &EnterpriseAggregatedUsageItem{} + e.GetDiscountAmount() + e = nil + e.GetDiscountAmount() +} + +func TestEnterpriseAggregatedUsageItem_GetDiscountQuantity(tt *testing.T) { + tt.Parallel() + e := &EnterpriseAggregatedUsageItem{} + e.GetDiscountQuantity() + e = nil + e.GetDiscountQuantity() +} + +func TestEnterpriseAggregatedUsageItem_GetGrossAmount(tt *testing.T) { + tt.Parallel() + e := &EnterpriseAggregatedUsageItem{} + e.GetGrossAmount() + e = nil + e.GetGrossAmount() +} + +func TestEnterpriseAggregatedUsageItem_GetGrossQuantity(tt *testing.T) { + tt.Parallel() + e := &EnterpriseAggregatedUsageItem{} + e.GetGrossQuantity() + e = nil + e.GetGrossQuantity() +} + +func TestEnterpriseAggregatedUsageItem_GetModel(tt *testing.T) { + tt.Parallel() + e := &EnterpriseAggregatedUsageItem{} + e.GetModel() + e = nil + e.GetModel() +} + +func TestEnterpriseAggregatedUsageItem_GetNetAmount(tt *testing.T) { + tt.Parallel() + e := &EnterpriseAggregatedUsageItem{} + e.GetNetAmount() + e = nil + e.GetNetAmount() +} + +func TestEnterpriseAggregatedUsageItem_GetNetQuantity(tt *testing.T) { + tt.Parallel() + e := &EnterpriseAggregatedUsageItem{} + e.GetNetQuantity() + e = nil + e.GetNetQuantity() +} + +func TestEnterpriseAggregatedUsageItem_GetPricePerUnit(tt *testing.T) { + tt.Parallel() + e := &EnterpriseAggregatedUsageItem{} + e.GetPricePerUnit() + e = nil + e.GetPricePerUnit() +} + +func TestEnterpriseAggregatedUsageItem_GetProduct(tt *testing.T) { + tt.Parallel() + e := &EnterpriseAggregatedUsageItem{} + e.GetProduct() + e = nil + e.GetProduct() +} + +func TestEnterpriseAggregatedUsageItem_GetSKU(tt *testing.T) { + tt.Parallel() + e := &EnterpriseAggregatedUsageItem{} + e.GetSKU() + e = nil + e.GetSKU() +} + +func TestEnterpriseAggregatedUsageItem_GetUnitType(tt *testing.T) { + tt.Parallel() + e := &EnterpriseAggregatedUsageItem{} + e.GetUnitType() + e = nil + e.GetUnitType() +} + +func TestEnterpriseAggregatedUsageReport_GetCostCenter(tt *testing.T) { + tt.Parallel() + e := &EnterpriseAggregatedUsageReport{} + e.GetCostCenter() + e = nil + e.GetCostCenter() +} + +func TestEnterpriseAggregatedUsageReport_GetEnterprise(tt *testing.T) { + tt.Parallel() + e := &EnterpriseAggregatedUsageReport{} + e.GetEnterprise() + e = nil + e.GetEnterprise() +} + +func TestEnterpriseAggregatedUsageReport_GetModel(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseAggregatedUsageReport{Model: &zeroValue} + e.GetModel() + e = &EnterpriseAggregatedUsageReport{} + e.GetModel() + e = nil + e.GetModel() +} + +func TestEnterpriseAggregatedUsageReport_GetOrganization(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseAggregatedUsageReport{Organization: &zeroValue} + e.GetOrganization() + e = &EnterpriseAggregatedUsageReport{} + e.GetOrganization() + e = nil + e.GetOrganization() +} + +func TestEnterpriseAggregatedUsageReport_GetProduct(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseAggregatedUsageReport{Product: &zeroValue} + e.GetProduct() + e = &EnterpriseAggregatedUsageReport{} + e.GetProduct() + e = nil + e.GetProduct() +} + +func TestEnterpriseAggregatedUsageReport_GetTimePeriod(tt *testing.T) { + tt.Parallel() + e := &EnterpriseAggregatedUsageReport{} + e.GetTimePeriod() + e = nil + e.GetTimePeriod() +} + +func TestEnterpriseAggregatedUsageReport_GetUsageItems(tt *testing.T) { + tt.Parallel() + zeroValue := []*EnterpriseAggregatedUsageItem{} + e := &EnterpriseAggregatedUsageReport{UsageItems: zeroValue} + e.GetUsageItems() + e = &EnterpriseAggregatedUsageReport{} + e.GetUsageItems() + e = nil + e.GetUsageItems() +} + +func TestEnterpriseAggregatedUsageReport_GetUser(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseAggregatedUsageReport{User: &zeroValue} + e.GetUser() + e = &EnterpriseAggregatedUsageReport{} + e.GetUser() + e = nil + e.GetUser() +} + +func TestEnterpriseBudget_GetBudgetAlerting(tt *testing.T) { + tt.Parallel() + e := &EnterpriseBudget{} + e.GetBudgetAlerting() + e = nil + e.GetBudgetAlerting() +} + +func TestEnterpriseBudget_GetBudgetAmount(tt *testing.T) { + tt.Parallel() + var zeroValue int + e := &EnterpriseBudget{BudgetAmount: &zeroValue} + e.GetBudgetAmount() + e = &EnterpriseBudget{} + e.GetBudgetAmount() + e = nil + e.GetBudgetAmount() +} + +func TestEnterpriseBudget_GetBudgetEntityName(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseBudget{BudgetEntityName: &zeroValue} + e.GetBudgetEntityName() + e = &EnterpriseBudget{} + e.GetBudgetEntityName() + e = nil + e.GetBudgetEntityName() +} + +func TestEnterpriseBudget_GetBudgetProductSKU(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseBudget{BudgetProductSKU: &zeroValue} + e.GetBudgetProductSKU() + e = &EnterpriseBudget{} + e.GetBudgetProductSKU() + e = nil + e.GetBudgetProductSKU() +} + +func TestEnterpriseBudget_GetBudgetScope(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseBudget{BudgetScope: &zeroValue} + e.GetBudgetScope() + e = &EnterpriseBudget{} + e.GetBudgetScope() + e = nil + e.GetBudgetScope() +} + +func TestEnterpriseBudget_GetBudgetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseBudget{BudgetType: &zeroValue} + e.GetBudgetType() + e = &EnterpriseBudget{} + e.GetBudgetType() + e = nil + e.GetBudgetType() +} + +func TestEnterpriseBudget_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseBudget{ID: &zeroValue} + e.GetID() + e = &EnterpriseBudget{} + e.GetID() + e = nil + e.GetID() +} + +func TestEnterpriseBudget_GetPreventFurtherUsage(tt *testing.T) { + tt.Parallel() + var zeroValue bool + e := &EnterpriseBudget{PreventFurtherUsage: &zeroValue} + e.GetPreventFurtherUsage() + e = &EnterpriseBudget{} + e.GetPreventFurtherUsage() + e = nil + 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 + e := &EnterpriseBudgetAlerting{WillAlert: &zeroValue} + e.GetWillAlert() + e = &EnterpriseBudgetAlerting{} + e.GetWillAlert() + e = nil + e.GetWillAlert() +} + +func TestEnterpriseBudgetUserState_GetConsumedAmount(tt *testing.T) { + tt.Parallel() + e := &EnterpriseBudgetUserState{} + e.GetConsumedAmount() + e = nil + e.GetConsumedAmount() +} + +func TestEnterpriseBudgetUserState_GetOverrideBudgetID(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseBudgetUserState{OverrideBudgetID: &zeroValue} + e.GetOverrideBudgetID() + e = &EnterpriseBudgetUserState{} + e.GetOverrideBudgetID() + e = nil + e.GetOverrideBudgetID() +} + +func TestEnterpriseBudgetUserState_GetTargetAmount(tt *testing.T) { + tt.Parallel() + e := &EnterpriseBudgetUserState{} + e.GetTargetAmount() + e = nil + e.GetTargetAmount() +} + +func TestEnterpriseBudgetUserState_GetUser(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseBudgetUserState{User: &zeroValue} + e.GetUser() + e = &EnterpriseBudgetUserState{} + e.GetUser() + e = nil + e.GetUser() +} + +func TestEnterpriseBudgetUserStates_GetHasNextPage(tt *testing.T) { + tt.Parallel() + e := &EnterpriseBudgetUserStates{} + e.GetHasNextPage() + e = nil + e.GetHasNextPage() +} + +func TestEnterpriseBudgetUserStates_GetTotalCount(tt *testing.T) { + tt.Parallel() + e := &EnterpriseBudgetUserStates{} + e.GetTotalCount() + e = nil + e.GetTotalCount() +} + +func TestEnterpriseBudgetUserStates_GetUserStates(tt *testing.T) { + tt.Parallel() + zeroValue := []*EnterpriseBudgetUserState{} + e := &EnterpriseBudgetUserStates{UserStates: zeroValue} + e.GetUserStates() + e = &EnterpriseBudgetUserStates{} + e.GetUserStates() + e = nil + e.GetUserStates() +} + +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{} + e.GetBudgetAlerting() + e = nil + 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 + e := &EnterpriseCreateBudget{BudgetEntityName: &zeroValue} + e.GetBudgetEntityName() + e = &EnterpriseCreateBudget{} + e.GetBudgetEntityName() + e = nil + e.GetBudgetEntityName() +} + +func TestEnterpriseCreateBudget_GetBudgetProductSKU(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseCreateBudget{BudgetProductSKU: &zeroValue} + e.GetBudgetProductSKU() + e = &EnterpriseCreateBudget{} + e.GetBudgetProductSKU() + e = nil + 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{} + e.GetBudget() + e = nil + 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 + e := &EnterpriseCustomPropertiesValues{OrganizationID: &zeroValue} + e.GetOrganizationID() + e = &EnterpriseCustomPropertiesValues{} + e.GetOrganizationID() + e = nil + e.GetOrganizationID() +} + +func TestEnterpriseCustomPropertiesValues_GetOrganizationLogin(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseCustomPropertiesValues{OrganizationLogin: &zeroValue} + e.GetOrganizationLogin() + e = &EnterpriseCustomPropertiesValues{} + e.GetOrganizationLogin() + e = nil + 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 TestEnterpriseGetUserStatesOptions_GetSortOrder(tt *testing.T) { + tt.Parallel() + e := &EnterpriseGetUserStatesOptions{} + e.GetSortOrder() + e = nil + e.GetSortOrder() +} + +func TestEnterpriseGetUserStatesOptions_GetThresholdLowerBound(tt *testing.T) { + tt.Parallel() + e := &EnterpriseGetUserStatesOptions{} + e.GetThresholdLowerBound() + e = nil + e.GetThresholdLowerBound() +} + +func TestEnterpriseGetUserStatesOptions_GetThresholdUpperBound(tt *testing.T) { + tt.Parallel() + e := &EnterpriseGetUserStatesOptions{} + e.GetThresholdUpperBound() + e = nil + e.GetThresholdUpperBound() +} + +func TestEnterpriseGetUserStatesOptions_GetUser(tt *testing.T) { + tt.Parallel() + e := &EnterpriseGetUserStatesOptions{} + e.GetUser() + e = nil + e.GetUser() +} + +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 + e := &EnterpriseLicensedUsers{EnterpriseServerUser: &zeroValue} + e.GetEnterpriseServerUser() + e = &EnterpriseLicensedUsers{} + e.GetEnterpriseServerUser() + e = nil + 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 + e := &EnterpriseLicensedUsers{GithubComName: &zeroValue} + e.GetGithubComName() + e = &EnterpriseLicensedUsers{} + e.GetGithubComName() + e = nil + 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 + e := &EnterpriseLicensedUsers{GithubComProfile: &zeroValue} + e.GetGithubComProfile() + e = &EnterpriseLicensedUsers{} + e.GetGithubComProfile() + e = nil + e.GetGithubComProfile() +} + +func TestEnterpriseLicensedUsers_GetGithubComSamlNameID(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseLicensedUsers{GithubComSamlNameID: &zeroValue} + e.GetGithubComSamlNameID() + e = &EnterpriseLicensedUsers{} + e.GetGithubComSamlNameID() + e = nil + e.GetGithubComSamlNameID() +} + +func TestEnterpriseLicensedUsers_GetGithubComTwoFactorAuth(tt *testing.T) { + tt.Parallel() + var zeroValue bool + e := &EnterpriseLicensedUsers{GithubComTwoFactorAuth: &zeroValue} + e.GetGithubComTwoFactorAuth() + e = &EnterpriseLicensedUsers{} + e.GetGithubComTwoFactorAuth() + e = nil + 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 + e := &EnterpriseLicensedUsers{VisualStudioLicenseStatus: &zeroValue} + e.GetVisualStudioLicenseStatus() + e = &EnterpriseLicensedUsers{} + e.GetVisualStudioLicenseStatus() + e = nil + e.GetVisualStudioLicenseStatus() +} + +func TestEnterpriseLicensedUsers_GetVisualStudioSubscriptionEmail(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseLicensedUsers{VisualStudioSubscriptionEmail: &zeroValue} + e.GetVisualStudioSubscriptionEmail() + e = &EnterpriseLicensedUsers{} + e.GetVisualStudioSubscriptionEmail() + e = nil + 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{} + e.GetProperties() + e = nil + 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 + e := &EnterpriseListBudgets{HasNextPage: &zeroValue} + e.GetHasNextPage() + e = &EnterpriseListBudgets{} + e.GetHasNextPage() + e = nil + e.GetHasNextPage() +} + +func TestEnterpriseListBudgets_GetTotalCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + e := &EnterpriseListBudgets{TotalCount: &zeroValue} + e.GetTotalCount() + e = &EnterpriseListBudgets{} + e.GetTotalCount() + e = nil + e.GetTotalCount() +} + +func TestEnterpriseListBudgetsOptions_GetScope(tt *testing.T) { + tt.Parallel() + e := &EnterpriseListBudgetsOptions{} + e.GetScope() + e = nil + e.GetScope() +} + +func TestEnterpriseListBudgetsOptions_GetUser(tt *testing.T) { + tt.Parallel() + e := &EnterpriseListBudgetsOptions{} + e.GetUser() + e = nil + e.GetUser() +} + +func TestEnterprisePremiumRequestUsageReportOptions_GetModel(tt *testing.T) { + tt.Parallel() + e := &EnterprisePremiumRequestUsageReportOptions{} + e.GetModel() + e = nil + e.GetModel() +} + +func TestEnterprisePremiumRequestUsageReportOptions_GetOrganization(tt *testing.T) { + tt.Parallel() + e := &EnterprisePremiumRequestUsageReportOptions{} + e.GetOrganization() + e = nil + e.GetOrganization() +} + +func TestEnterprisePremiumRequestUsageReportOptions_GetProduct(tt *testing.T) { + tt.Parallel() + e := &EnterprisePremiumRequestUsageReportOptions{} + e.GetProduct() + e = nil + e.GetProduct() +} + +func TestEnterprisePremiumRequestUsageReportOptions_GetUser(tt *testing.T) { + tt.Parallel() + e := &EnterprisePremiumRequestUsageReportOptions{} + e.GetUser() + e = nil + e.GetUser() +} + +func TestEnterpriseRunnerGroup_GetAllowsPublicRepositories(tt *testing.T) { + tt.Parallel() + var zeroValue bool + e := &EnterpriseRunnerGroup{AllowsPublicRepositories: &zeroValue} + e.GetAllowsPublicRepositories() + e = &EnterpriseRunnerGroup{} + e.GetAllowsPublicRepositories() + e = nil + e.GetAllowsPublicRepositories() +} + +func TestEnterpriseRunnerGroup_GetDefault(tt *testing.T) { + tt.Parallel() + var zeroValue bool + e := &EnterpriseRunnerGroup{Default: &zeroValue} + e.GetDefault() + e = &EnterpriseRunnerGroup{} + e.GetDefault() + e = nil + e.GetDefault() +} + +func TestEnterpriseRunnerGroup_GetHostedRunnersURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseRunnerGroup{HostedRunnersURL: &zeroValue} + e.GetHostedRunnersURL() + e = &EnterpriseRunnerGroup{} + e.GetHostedRunnersURL() + e = nil + e.GetHostedRunnersURL() +} + +func TestEnterpriseRunnerGroup_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + e := &EnterpriseRunnerGroup{ID: &zeroValue} + e.GetID() + e = &EnterpriseRunnerGroup{} + e.GetID() + e = nil + e.GetID() +} + +func TestEnterpriseRunnerGroup_GetInherited(tt *testing.T) { + tt.Parallel() + var zeroValue bool + e := &EnterpriseRunnerGroup{Inherited: &zeroValue} + e.GetInherited() + e = &EnterpriseRunnerGroup{} + e.GetInherited() + e = nil + e.GetInherited() +} + +func TestEnterpriseRunnerGroup_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseRunnerGroup{Name: &zeroValue} + e.GetName() + e = &EnterpriseRunnerGroup{} + e.GetName() + e = nil + e.GetName() +} + +func TestEnterpriseRunnerGroup_GetNetworkConfigurationID(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseRunnerGroup{NetworkConfigurationID: &zeroValue} + e.GetNetworkConfigurationID() + e = &EnterpriseRunnerGroup{} + e.GetNetworkConfigurationID() + e = nil + e.GetNetworkConfigurationID() +} + +func TestEnterpriseRunnerGroup_GetRestrictedToWorkflows(tt *testing.T) { + tt.Parallel() + var zeroValue bool + e := &EnterpriseRunnerGroup{RestrictedToWorkflows: &zeroValue} + e.GetRestrictedToWorkflows() + e = &EnterpriseRunnerGroup{} + e.GetRestrictedToWorkflows() + e = nil + e.GetRestrictedToWorkflows() +} + +func TestEnterpriseRunnerGroup_GetRunnersURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseRunnerGroup{RunnersURL: &zeroValue} + e.GetRunnersURL() + e = &EnterpriseRunnerGroup{} + e.GetRunnersURL() + e = nil + e.GetRunnersURL() +} + +func TestEnterpriseRunnerGroup_GetSelectedOrganizationsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseRunnerGroup{SelectedOrganizationsURL: &zeroValue} + e.GetSelectedOrganizationsURL() + e = &EnterpriseRunnerGroup{} + e.GetSelectedOrganizationsURL() + e = nil + 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 + e := &EnterpriseRunnerGroup{Visibility: &zeroValue} + e.GetVisibility() + e = &EnterpriseRunnerGroup{} + e.GetVisibility() + e = nil + e.GetVisibility() +} + +func TestEnterpriseRunnerGroup_GetWorkflowRestrictionsReadOnly(tt *testing.T) { + tt.Parallel() + var zeroValue bool + e := &EnterpriseRunnerGroup{WorkflowRestrictionsReadOnly: &zeroValue} + e.GetWorkflowRestrictionsReadOnly() + e = &EnterpriseRunnerGroup{} + e.GetWorkflowRestrictionsReadOnly() + e = nil + 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 + e := &EnterpriseRunnerGroups{TotalCount: &zeroValue} + e.GetTotalCount() + e = &EnterpriseRunnerGroups{} + e.GetTotalCount() + e = nil + e.GetTotalCount() +} + +func TestEnterpriseSecurityAnalysisSettings_GetAdvancedSecurityEnabledForNewRepositories(tt *testing.T) { + tt.Parallel() + var zeroValue bool + e := &EnterpriseSecurityAnalysisSettings{AdvancedSecurityEnabledForNewRepositories: &zeroValue} + e.GetAdvancedSecurityEnabledForNewRepositories() + e = &EnterpriseSecurityAnalysisSettings{} + e.GetAdvancedSecurityEnabledForNewRepositories() + e = nil + e.GetAdvancedSecurityEnabledForNewRepositories() +} + +func TestEnterpriseSecurityAnalysisSettings_GetSecretScanningEnabledForNewRepositories(tt *testing.T) { + tt.Parallel() + var zeroValue bool + e := &EnterpriseSecurityAnalysisSettings{SecretScanningEnabledForNewRepositories: &zeroValue} + e.GetSecretScanningEnabledForNewRepositories() + e = &EnterpriseSecurityAnalysisSettings{} + e.GetSecretScanningEnabledForNewRepositories() + e = nil + e.GetSecretScanningEnabledForNewRepositories() +} + +func TestEnterpriseSecurityAnalysisSettings_GetSecretScanningPushProtectionCustomLink(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseSecurityAnalysisSettings{SecretScanningPushProtectionCustomLink: &zeroValue} + e.GetSecretScanningPushProtectionCustomLink() + e = &EnterpriseSecurityAnalysisSettings{} + e.GetSecretScanningPushProtectionCustomLink() + e = nil + e.GetSecretScanningPushProtectionCustomLink() +} + +func TestEnterpriseSecurityAnalysisSettings_GetSecretScanningPushProtectionEnabledForNewRepositories(tt *testing.T) { + tt.Parallel() + var zeroValue bool + e := &EnterpriseSecurityAnalysisSettings{SecretScanningPushProtectionEnabledForNewRepositories: &zeroValue} + e.GetSecretScanningPushProtectionEnabledForNewRepositories() + e = &EnterpriseSecurityAnalysisSettings{} + e.GetSecretScanningPushProtectionEnabledForNewRepositories() + e = nil + e.GetSecretScanningPushProtectionEnabledForNewRepositories() +} + +func TestEnterpriseSecurityAnalysisSettings_GetSecretScanningValidityChecksEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + e := &EnterpriseSecurityAnalysisSettings{SecretScanningValidityChecksEnabled: &zeroValue} + e.GetSecretScanningValidityChecksEnabled() + e = &EnterpriseSecurityAnalysisSettings{} + e.GetSecretScanningValidityChecksEnabled() + e = nil + 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 + e := &EnterpriseTeam{Description: &zeroValue} + e.GetDescription() + e = &EnterpriseTeam{} + e.GetDescription() + e = nil + 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 + e := &EnterpriseTeam{OrganizationSelectionType: &zeroValue} + e.GetOrganizationSelectionType() + e = &EnterpriseTeam{} + e.GetOrganizationSelectionType() + e = nil + 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 + e := &EnterpriseTeamCreateOrUpdateRequest{Description: &zeroValue} + e.GetDescription() + e = &EnterpriseTeamCreateOrUpdateRequest{} + e.GetDescription() + e = nil + e.GetDescription() +} + +func TestEnterpriseTeamCreateOrUpdateRequest_GetGroupID(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseTeamCreateOrUpdateRequest{GroupID: &zeroValue} + e.GetGroupID() + e = &EnterpriseTeamCreateOrUpdateRequest{} + e.GetGroupID() + e = nil + 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 + e := &EnterpriseTeamCreateOrUpdateRequest{OrganizationSelectionType: &zeroValue} + e.GetOrganizationSelectionType() + e = &EnterpriseTeamCreateOrUpdateRequest{} + e.GetOrganizationSelectionType() + e = nil + e.GetOrganizationSelectionType() +} + +func TestEnterpriseUpdateBudget_GetBudgetAlerting(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUpdateBudget{} + e.GetBudgetAlerting() + e = nil + e.GetBudgetAlerting() +} + +func TestEnterpriseUpdateBudget_GetBudgetAmount(tt *testing.T) { + tt.Parallel() + var zeroValue int + e := &EnterpriseUpdateBudget{BudgetAmount: &zeroValue} + e.GetBudgetAmount() + e = &EnterpriseUpdateBudget{} + e.GetBudgetAmount() + e = nil + e.GetBudgetAmount() +} + +func TestEnterpriseUpdateBudget_GetBudgetEntityName(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseUpdateBudget{BudgetEntityName: &zeroValue} + e.GetBudgetEntityName() + e = &EnterpriseUpdateBudget{} + e.GetBudgetEntityName() + e = nil + e.GetBudgetEntityName() +} + +func TestEnterpriseUpdateBudget_GetBudgetProductSKU(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseUpdateBudget{BudgetProductSKU: &zeroValue} + e.GetBudgetProductSKU() + e = &EnterpriseUpdateBudget{} + e.GetBudgetProductSKU() + e = nil + e.GetBudgetProductSKU() +} + +func TestEnterpriseUpdateBudget_GetBudgetScope(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseUpdateBudget{BudgetScope: &zeroValue} + e.GetBudgetScope() + e = &EnterpriseUpdateBudget{} + e.GetBudgetScope() + e = nil + e.GetBudgetScope() +} + +func TestEnterpriseUpdateBudget_GetBudgetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseUpdateBudget{BudgetType: &zeroValue} + e.GetBudgetType() + e = &EnterpriseUpdateBudget{} + e.GetBudgetType() + e = nil + e.GetBudgetType() +} + +func TestEnterpriseUpdateBudget_GetPreventFurtherUsage(tt *testing.T) { + tt.Parallel() + var zeroValue bool + e := &EnterpriseUpdateBudget{PreventFurtherUsage: &zeroValue} + e.GetPreventFurtherUsage() + e = &EnterpriseUpdateBudget{} + e.GetPreventFurtherUsage() + e = nil + e.GetPreventFurtherUsage() +} + +func TestEnterpriseUsageItem_GetDate(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageItem{} + e.GetDate() + e = nil + e.GetDate() +} + +func TestEnterpriseUsageItem_GetDiscountAmount(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageItem{} + e.GetDiscountAmount() + e = nil + e.GetDiscountAmount() +} + +func TestEnterpriseUsageItem_GetGrossAmount(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageItem{} + e.GetGrossAmount() + e = nil + e.GetGrossAmount() +} + +func TestEnterpriseUsageItem_GetNetAmount(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageItem{} + e.GetNetAmount() + e = nil + e.GetNetAmount() +} + +func TestEnterpriseUsageItem_GetOrganizationName(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageItem{} + e.GetOrganizationName() + e = nil + e.GetOrganizationName() +} + +func TestEnterpriseUsageItem_GetPricePerUnit(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageItem{} + e.GetPricePerUnit() + e = nil + e.GetPricePerUnit() +} + +func TestEnterpriseUsageItem_GetProduct(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageItem{} + e.GetProduct() + e = nil + e.GetProduct() +} + +func TestEnterpriseUsageItem_GetQuantity(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageItem{} + e.GetQuantity() + e = nil + e.GetQuantity() +} + +func TestEnterpriseUsageItem_GetRepositoryName(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseUsageItem{RepositoryName: &zeroValue} + e.GetRepositoryName() + e = &EnterpriseUsageItem{} + e.GetRepositoryName() + e = nil + e.GetRepositoryName() +} + +func TestEnterpriseUsageItem_GetSKU(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageItem{} + e.GetSKU() + e = nil + e.GetSKU() +} + +func TestEnterpriseUsageItem_GetUnitType(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageItem{} + e.GetUnitType() + e = nil + e.GetUnitType() +} + +func TestEnterpriseUsageReport_GetUsageItems(tt *testing.T) { + tt.Parallel() + zeroValue := []*EnterpriseUsageItem{} + e := &EnterpriseUsageReport{UsageItems: zeroValue} + e.GetUsageItems() + e = &EnterpriseUsageReport{} + e.GetUsageItems() + e = nil + e.GetUsageItems() +} + +func TestEnterpriseUsageReportOptions_GetCostCenterID(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageReportOptions{} + e.GetCostCenterID() + e = nil + e.GetCostCenterID() +} + +func TestEnterpriseUsageReportOptions_GetDay(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageReportOptions{} + e.GetDay() + e = nil + e.GetDay() +} + +func TestEnterpriseUsageReportOptions_GetMonth(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageReportOptions{} + e.GetMonth() + e = nil + e.GetMonth() +} + +func TestEnterpriseUsageReportOptions_GetYear(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageReportOptions{} + e.GetYear() + e = nil + e.GetYear() +} + +func TestEnterpriseUsageSummaryItem_GetDiscountAmount(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageSummaryItem{} + e.GetDiscountAmount() + e = nil + e.GetDiscountAmount() +} + +func TestEnterpriseUsageSummaryItem_GetDiscountQuantity(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageSummaryItem{} + e.GetDiscountQuantity() + e = nil + e.GetDiscountQuantity() +} + +func TestEnterpriseUsageSummaryItem_GetGrossAmount(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageSummaryItem{} + e.GetGrossAmount() + e = nil + e.GetGrossAmount() +} + +func TestEnterpriseUsageSummaryItem_GetGrossQuantity(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageSummaryItem{} + e.GetGrossQuantity() + e = nil + e.GetGrossQuantity() +} + +func TestEnterpriseUsageSummaryItem_GetNetAmount(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageSummaryItem{} + e.GetNetAmount() + e = nil + e.GetNetAmount() +} + +func TestEnterpriseUsageSummaryItem_GetNetQuantity(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageSummaryItem{} + e.GetNetQuantity() + e = nil + e.GetNetQuantity() +} + +func TestEnterpriseUsageSummaryItem_GetPricePerUnit(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageSummaryItem{} + e.GetPricePerUnit() + e = nil + e.GetPricePerUnit() +} + +func TestEnterpriseUsageSummaryItem_GetProduct(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageSummaryItem{} + e.GetProduct() + e = nil + e.GetProduct() +} + +func TestEnterpriseUsageSummaryItem_GetSKU(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageSummaryItem{} + e.GetSKU() + e = nil + e.GetSKU() +} + +func TestEnterpriseUsageSummaryItem_GetUnitType(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageSummaryItem{} + e.GetUnitType() + e = nil + e.GetUnitType() +} + +func TestEnterpriseUsageSummaryOptions_GetOrganization(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageSummaryOptions{} + e.GetOrganization() + e = nil + e.GetOrganization() +} + +func TestEnterpriseUsageSummaryOptions_GetProduct(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageSummaryOptions{} + e.GetProduct() + e = nil + e.GetProduct() +} + +func TestEnterpriseUsageSummaryOptions_GetRepository(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageSummaryOptions{} + e.GetRepository() + e = nil + e.GetRepository() +} + +func TestEnterpriseUsageSummaryOptions_GetSKU(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageSummaryOptions{} + e.GetSKU() + e = nil + e.GetSKU() +} + +func TestEnterpriseUsageSummaryReport_GetCostCenter(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageSummaryReport{} + e.GetCostCenter() + e = nil + e.GetCostCenter() +} + +func TestEnterpriseUsageSummaryReport_GetEnterprise(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageSummaryReport{} + e.GetEnterprise() + e = nil + e.GetEnterprise() +} + +func TestEnterpriseUsageSummaryReport_GetOrganization(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseUsageSummaryReport{Organization: &zeroValue} + e.GetOrganization() + e = &EnterpriseUsageSummaryReport{} + e.GetOrganization() + e = nil + e.GetOrganization() +} + +func TestEnterpriseUsageSummaryReport_GetProduct(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseUsageSummaryReport{Product: &zeroValue} + e.GetProduct() + e = &EnterpriseUsageSummaryReport{} + e.GetProduct() + e = nil + e.GetProduct() +} + +func TestEnterpriseUsageSummaryReport_GetRepository(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseUsageSummaryReport{Repository: &zeroValue} + e.GetRepository() + e = &EnterpriseUsageSummaryReport{} + e.GetRepository() + e = nil + e.GetRepository() +} + +func TestEnterpriseUsageSummaryReport_GetSKU(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnterpriseUsageSummaryReport{SKU: &zeroValue} + e.GetSKU() + e = &EnterpriseUsageSummaryReport{} + e.GetSKU() + e = nil + e.GetSKU() +} + +func TestEnterpriseUsageSummaryReport_GetTimePeriod(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageSummaryReport{} + e.GetTimePeriod() + e = nil + e.GetTimePeriod() +} + +func TestEnterpriseUsageSummaryReport_GetUsageItems(tt *testing.T) { + tt.Parallel() + zeroValue := []*EnterpriseUsageSummaryItem{} + e := &EnterpriseUsageSummaryReport{UsageItems: zeroValue} + e.GetUsageItems() + e = &EnterpriseUsageSummaryReport{} + e.GetUsageItems() + e = nil + e.GetUsageItems() +} + +func TestEnterpriseUsageTimePeriod_GetDay(tt *testing.T) { + tt.Parallel() + var zeroValue int + e := &EnterpriseUsageTimePeriod{Day: &zeroValue} + e.GetDay() + e = &EnterpriseUsageTimePeriod{} + e.GetDay() + e = nil + e.GetDay() +} + +func TestEnterpriseUsageTimePeriod_GetMonth(tt *testing.T) { + tt.Parallel() + var zeroValue int + e := &EnterpriseUsageTimePeriod{Month: &zeroValue} + e.GetMonth() + e = &EnterpriseUsageTimePeriod{} + e.GetMonth() + e = nil + e.GetMonth() +} + +func TestEnterpriseUsageTimePeriod_GetYear(tt *testing.T) { + tt.Parallel() + e := &EnterpriseUsageTimePeriod{} + e.GetYear() + e = nil + e.GetYear() +} + +func TestEnvironment_GetCanAdminsBypass(tt *testing.T) { + tt.Parallel() + var zeroValue bool + e := &Environment{CanAdminsBypass: &zeroValue} + e.GetCanAdminsBypass() + e = &Environment{} + e.GetCanAdminsBypass() + e = nil + e.GetCanAdminsBypass() +} + +func TestEnvironment_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + e := &Environment{CreatedAt: &zeroValue} + e.GetCreatedAt() + e = &Environment{} + e.GetCreatedAt() + e = nil + e.GetCreatedAt() +} + +func TestEnvironment_GetDeploymentBranchPolicy(tt *testing.T) { + tt.Parallel() + e := &Environment{} + e.GetDeploymentBranchPolicy() + e = nil + e.GetDeploymentBranchPolicy() +} + +func TestEnvironment_GetEnvironmentName(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &Environment{EnvironmentName: &zeroValue} + e.GetEnvironmentName() + e = &Environment{} + e.GetEnvironmentName() + e = nil + e.GetEnvironmentName() +} + +func TestEnvironment_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &Environment{HTMLURL: &zeroValue} + e.GetHTMLURL() + e = &Environment{} + e.GetHTMLURL() + e = nil + e.GetHTMLURL() +} + +func TestEnvironment_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + e := &Environment{ID: &zeroValue} + e.GetID() + e = &Environment{} + e.GetID() + e = nil + e.GetID() +} + +func TestEnvironment_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &Environment{Name: &zeroValue} + e.GetName() + e = &Environment{} + e.GetName() + e = nil + e.GetName() +} + +func TestEnvironment_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &Environment{NodeID: &zeroValue} + e.GetNodeID() + e = &Environment{} + e.GetNodeID() + e = nil + e.GetNodeID() +} + +func TestEnvironment_GetOwner(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &Environment{Owner: &zeroValue} + e.GetOwner() + e = &Environment{} + e.GetOwner() + e = nil + 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 + e := &Environment{Repo: &zeroValue} + e.GetRepo() + e = &Environment{} + e.GetRepo() + e = nil + 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 + e := &Environment{UpdatedAt: &zeroValue} + e.GetUpdatedAt() + e = &Environment{} + e.GetUpdatedAt() + e = nil + e.GetUpdatedAt() +} + +func TestEnvironment_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &Environment{URL: &zeroValue} + e.GetURL() + e = &Environment{} + e.GetURL() + e = nil + e.GetURL() +} + +func TestEnvironment_GetWaitTimer(tt *testing.T) { + tt.Parallel() + var zeroValue int + e := &Environment{WaitTimer: &zeroValue} + e.GetWaitTimer() + e = &Environment{} + e.GetWaitTimer() + e = nil + 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 + e := &EnvResponse{TotalCount: &zeroValue} + e.GetTotalCount() + e = &EnvResponse{} + e.GetTotalCount() + e = nil + e.GetTotalCount() +} + +func TestEnvReviewers_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + e := &EnvReviewers{ID: &zeroValue} + e.GetID() + e = &EnvReviewers{} + e.GetID() + e = nil + e.GetID() +} + +func TestEnvReviewers_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &EnvReviewers{Type: &zeroValue} + e.GetType() + e = &EnvReviewers{} + e.GetType() + e = nil + 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 + e := &ErrorBlock{CreatedAt: &zeroValue} + e.GetCreatedAt() + e = &ErrorBlock{} + e.GetCreatedAt() + e = nil + 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{} + e.GetBlock() + e = nil + 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{} + e.GetActor() + e = nil + e.GetActor() +} + +func TestEvent_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + e := &Event{CreatedAt: &zeroValue} + e.GetCreatedAt() + e = &Event{} + e.GetCreatedAt() + e = nil + e.GetCreatedAt() +} + +func TestEvent_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &Event{ID: &zeroValue} + e.GetID() + e = &Event{} + e.GetID() + e = nil + e.GetID() +} + +func TestEvent_GetOrg(tt *testing.T) { + tt.Parallel() + e := &Event{} + e.GetOrg() + e = nil + e.GetOrg() +} + +func TestEvent_GetPublic(tt *testing.T) { + tt.Parallel() + var zeroValue bool + e := &Event{Public: &zeroValue} + e.GetPublic() + e = &Event{} + e.GetPublic() + e = nil + e.GetPublic() +} + +func TestEvent_GetRawPayload(tt *testing.T) { + tt.Parallel() + var zeroValue json.RawMessage + e := &Event{RawPayload: &zeroValue} + e.GetRawPayload() + e = &Event{} + e.GetRawPayload() + e = nil + e.GetRawPayload() +} + +func TestEvent_GetRepo(tt *testing.T) { + tt.Parallel() + e := &Event{} + e.GetRepo() + e = nil + e.GetRepo() +} + +func TestEvent_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &Event{Type: &zeroValue} + e.GetType() + e = &Event{} + e.GetType() + e = nil + e.GetType() +} + +func TestExternalGroup_GetGroupID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + e := &ExternalGroup{GroupID: &zeroValue} + e.GetGroupID() + e = &ExternalGroup{} + e.GetGroupID() + e = nil + e.GetGroupID() +} + +func TestExternalGroup_GetGroupName(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &ExternalGroup{GroupName: &zeroValue} + e.GetGroupName() + e = &ExternalGroup{} + e.GetGroupName() + e = nil + 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 + e := &ExternalGroup{UpdatedAt: &zeroValue} + e.GetUpdatedAt() + e = &ExternalGroup{} + e.GetUpdatedAt() + e = nil + 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 + e := &ExternalGroupMember{MemberEmail: &zeroValue} + e.GetMemberEmail() + e = &ExternalGroupMember{} + e.GetMemberEmail() + e = nil + e.GetMemberEmail() +} + +func TestExternalGroupMember_GetMemberID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + e := &ExternalGroupMember{MemberID: &zeroValue} + e.GetMemberID() + e = &ExternalGroupMember{} + e.GetMemberID() + e = nil + e.GetMemberID() +} + +func TestExternalGroupMember_GetMemberLogin(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &ExternalGroupMember{MemberLogin: &zeroValue} + e.GetMemberLogin() + e = &ExternalGroupMember{} + e.GetMemberLogin() + e = nil + e.GetMemberLogin() +} + +func TestExternalGroupMember_GetMemberName(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &ExternalGroupMember{MemberName: &zeroValue} + e.GetMemberName() + e = &ExternalGroupMember{} + e.GetMemberName() + e = nil + e.GetMemberName() +} + +func TestExternalGroupTeam_GetTeamID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + e := &ExternalGroupTeam{TeamID: &zeroValue} + e.GetTeamID() + e = &ExternalGroupTeam{} + e.GetTeamID() + e = nil + e.GetTeamID() +} + +func TestExternalGroupTeam_GetTeamName(tt *testing.T) { + tt.Parallel() + var zeroValue string + e := &ExternalGroupTeam{TeamName: &zeroValue} + e.GetTeamName() + e = &ExternalGroupTeam{} + e.GetTeamName() + e = nil + e.GetTeamName() +} + +func TestFeedLink_GetHRef(tt *testing.T) { + tt.Parallel() + var zeroValue string + f := &FeedLink{HRef: &zeroValue} + f.GetHRef() + f = &FeedLink{} + f.GetHRef() + f = nil + f.GetHRef() +} + +func TestFeedLink_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + f := &FeedLink{Type: &zeroValue} + f.GetType() + f = &FeedLink{} + f.GetType() + f = nil + f.GetType() +} + +func TestFeedLinks_GetCurrentUser(tt *testing.T) { + tt.Parallel() + f := &FeedLinks{} + f.GetCurrentUser() + f = nil + f.GetCurrentUser() +} + +func TestFeedLinks_GetCurrentUserActor(tt *testing.T) { + tt.Parallel() + f := &FeedLinks{} + f.GetCurrentUserActor() + f = nil + f.GetCurrentUserActor() +} + +func TestFeedLinks_GetCurrentUserOrganization(tt *testing.T) { + tt.Parallel() + f := &FeedLinks{} + f.GetCurrentUserOrganization() + f = nil + 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{} + f.GetCurrentUserPublic() + f = nil + f.GetCurrentUserPublic() +} + +func TestFeedLinks_GetTimeline(tt *testing.T) { + tt.Parallel() + f := &FeedLinks{} + f.GetTimeline() + f = nil + f.GetTimeline() +} + +func TestFeedLinks_GetUser(tt *testing.T) { + tt.Parallel() + f := &FeedLinks{} + f.GetUser() + f = nil + f.GetUser() +} + +func TestFeeds_GetCurrentUserActorURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + f := &Feeds{CurrentUserActorURL: &zeroValue} + f.GetCurrentUserActorURL() + f = &Feeds{} + f.GetCurrentUserActorURL() + f = nil + f.GetCurrentUserActorURL() +} + +func TestFeeds_GetCurrentUserOrganizationURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + f := &Feeds{CurrentUserOrganizationURL: &zeroValue} + f.GetCurrentUserOrganizationURL() + f = &Feeds{} + f.GetCurrentUserOrganizationURL() + f = nil + 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 + f := &Feeds{CurrentUserPublicURL: &zeroValue} + f.GetCurrentUserPublicURL() + f = &Feeds{} + f.GetCurrentUserPublicURL() + f = nil + f.GetCurrentUserPublicURL() +} + +func TestFeeds_GetCurrentUserURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + f := &Feeds{CurrentUserURL: &zeroValue} + f.GetCurrentUserURL() + f = &Feeds{} + f.GetCurrentUserURL() + f = nil + f.GetCurrentUserURL() +} + +func TestFeeds_GetLinks(tt *testing.T) { + tt.Parallel() + f := &Feeds{} + f.GetLinks() + f = nil + f.GetLinks() +} + +func TestFeeds_GetTimelineURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + f := &Feeds{TimelineURL: &zeroValue} + f.GetTimelineURL() + f = &Feeds{} + f.GetTimelineURL() + f = nil + f.GetTimelineURL() +} + +func TestFeeds_GetUserURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + f := &Feeds{UserURL: &zeroValue} + f.GetUserURL() + f = &Feeds{} + f.GetUserURL() + f = nil + f.GetUserURL() +} + +func TestFieldValue_GetFieldName(tt *testing.T) { + tt.Parallel() + var zeroValue string + f := &FieldValue{FieldName: &zeroValue} + f.GetFieldName() + f = &FieldValue{} + f.GetFieldName() + f = nil + f.GetFieldName() +} + +func TestFieldValue_GetFieldNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + f := &FieldValue{FieldNodeID: &zeroValue} + f.GetFieldNodeID() + f = &FieldValue{} + f.GetFieldNodeID() + f = nil + f.GetFieldNodeID() +} + +func TestFieldValue_GetFieldType(tt *testing.T) { + tt.Parallel() + var zeroValue string + f := &FieldValue{FieldType: &zeroValue} + f.GetFieldType() + f = &FieldValue{} + f.GetFieldType() + f = nil + 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 + f := &FieldValue{ProjectNumber: &zeroValue} + f.GetProjectNumber() + f = &FieldValue{} + f.GetProjectNumber() + f = nil + 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 + f := &FineGrainedPersonalAccessTokenRequest{CreatedAt: &zeroValue} + f.GetCreatedAt() + f = &FineGrainedPersonalAccessTokenRequest{} + f.GetCreatedAt() + f = nil + 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 + f := &FineGrainedPersonalAccessTokenRequest{TokenExpiresAt: &zeroValue} + f.GetTokenExpiresAt() + f = &FineGrainedPersonalAccessTokenRequest{} + f.GetTokenExpiresAt() + f = nil + 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 + f := &FineGrainedPersonalAccessTokenRequest{TokenLastUsedAt: &zeroValue} + f.GetTokenLastUsedAt() + f = &FineGrainedPersonalAccessTokenRequest{} + f.GetTokenLastUsedAt() + f = nil + 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 + f := &FirstPatchedVersion{Identifier: &zeroValue} + f.GetIdentifier() + f = &FirstPatchedVersion{} + f.GetIdentifier() + f = nil + f.GetIdentifier() +} + +func TestForkEvent_GetForkee(tt *testing.T) { + tt.Parallel() + f := &ForkEvent{} + f.GetForkee() + f = nil + f.GetForkee() +} + +func TestForkEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + f := &ForkEvent{} + f.GetInstallation() + f = nil + f.GetInstallation() +} + +func TestForkEvent_GetRepo(tt *testing.T) { + tt.Parallel() + f := &ForkEvent{} + f.GetRepo() + f = nil + f.GetRepo() +} + +func TestForkEvent_GetSender(tt *testing.T) { + tt.Parallel() + f := &ForkEvent{} + f.GetSender() + f = nil + f.GetSender() +} + +func TestGenerateNotesRequest_GetConfigurationFilePath(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GenerateNotesRequest{ConfigurationFilePath: &zeroValue} + g.GetConfigurationFilePath() + g = &GenerateNotesRequest{} + g.GetConfigurationFilePath() + g = nil + g.GetConfigurationFilePath() +} + +func TestGenerateNotesRequest_GetPreviousTagName(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GenerateNotesRequest{PreviousTagName: &zeroValue} + g.GetPreviousTagName() + g = &GenerateNotesRequest{} + g.GetPreviousTagName() + g = nil + g.GetPreviousTagName() +} + +func TestGenerateNotesRequest_GetTagName(tt *testing.T) { + tt.Parallel() + g := &GenerateNotesRequest{} + g.GetTagName() + g = nil + g.GetTagName() +} + +func TestGenerateNotesRequest_GetTargetCommitish(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GenerateNotesRequest{TargetCommitish: &zeroValue} + g.GetTargetCommitish() + g = &GenerateNotesRequest{} + g.GetTargetCommitish() + g = nil + g.GetTargetCommitish() +} + +func TestGetAuditLogOptions_GetInclude(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GetAuditLogOptions{Include: &zeroValue} + g.GetInclude() + g = &GetAuditLogOptions{} + g.GetInclude() + g = nil + g.GetInclude() +} + +func TestGetAuditLogOptions_GetOrder(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GetAuditLogOptions{Order: &zeroValue} + g.GetOrder() + g = &GetAuditLogOptions{} + g.GetOrder() + g = nil + g.GetOrder() +} + +func TestGetAuditLogOptions_GetPhrase(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GetAuditLogOptions{Phrase: &zeroValue} + g.GetPhrase() + g = &GetAuditLogOptions{} + g.GetPhrase() + g = nil + 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 + g := &GetProvisionedSCIMGroupEnterpriseOptions{ExcludedAttributes: &zeroValue} + g.GetExcludedAttributes() + g = &GetProvisionedSCIMGroupEnterpriseOptions{} + g.GetExcludedAttributes() + g = nil + g.GetExcludedAttributes() +} + +func TestGist_GetComments(tt *testing.T) { + tt.Parallel() + var zeroValue int + g := &Gist{Comments: &zeroValue} + g.GetComments() + g = &Gist{} + g.GetComments() + g = nil + g.GetComments() +} + +func TestGist_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + g := &Gist{CreatedAt: &zeroValue} + g.GetCreatedAt() + g = &Gist{} + g.GetCreatedAt() + g = nil + g.GetCreatedAt() +} + +func TestGist_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &Gist{Description: &zeroValue} + g.GetDescription() + g = &Gist{} + g.GetDescription() + g = nil + g.GetDescription() +} + +func TestGist_GetFiles(tt *testing.T) { + tt.Parallel() + zeroValue := map[GistFilename]GistFile{} + g := &Gist{Files: zeroValue} + g.GetFiles() + g = &Gist{} + g.GetFiles() + g = nil + g.GetFiles() +} + +func TestGist_GetGitPullURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &Gist{GitPullURL: &zeroValue} + g.GetGitPullURL() + g = &Gist{} + g.GetGitPullURL() + g = nil + g.GetGitPullURL() +} + +func TestGist_GetGitPushURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &Gist{GitPushURL: &zeroValue} + g.GetGitPushURL() + g = &Gist{} + g.GetGitPushURL() + g = nil + g.GetGitPushURL() +} + +func TestGist_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &Gist{HTMLURL: &zeroValue} + g.GetHTMLURL() + g = &Gist{} + g.GetHTMLURL() + g = nil + g.GetHTMLURL() +} + +func TestGist_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &Gist{ID: &zeroValue} + g.GetID() + g = &Gist{} + g.GetID() + g = nil + g.GetID() +} + +func TestGist_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &Gist{NodeID: &zeroValue} + g.GetNodeID() + g = &Gist{} + g.GetNodeID() + g = nil + g.GetNodeID() +} + +func TestGist_GetOwner(tt *testing.T) { + tt.Parallel() + g := &Gist{} + g.GetOwner() + g = nil + g.GetOwner() +} + +func TestGist_GetPublic(tt *testing.T) { + tt.Parallel() + var zeroValue bool + g := &Gist{Public: &zeroValue} + g.GetPublic() + g = &Gist{} + g.GetPublic() + g = nil + g.GetPublic() +} + +func TestGist_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + g := &Gist{UpdatedAt: &zeroValue} + g.GetUpdatedAt() + g = &Gist{} + g.GetUpdatedAt() + g = nil + g.GetUpdatedAt() +} + +func TestGistComment_GetBody(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GistComment{Body: &zeroValue} + g.GetBody() + g = &GistComment{} + g.GetBody() + g = nil + g.GetBody() +} + +func TestGistComment_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + g := &GistComment{CreatedAt: &zeroValue} + g.GetCreatedAt() + g = &GistComment{} + g.GetCreatedAt() + g = nil + g.GetCreatedAt() +} + +func TestGistComment_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + g := &GistComment{ID: &zeroValue} + g.GetID() + g = &GistComment{} + g.GetID() + g = nil + g.GetID() +} + +func TestGistComment_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GistComment{URL: &zeroValue} + g.GetURL() + g = &GistComment{} + g.GetURL() + g = nil + g.GetURL() +} + +func TestGistComment_GetUser(tt *testing.T) { + tt.Parallel() + g := &GistComment{} + g.GetUser() + g = nil + g.GetUser() +} + +func TestGistCommit_GetChangeStatus(tt *testing.T) { + tt.Parallel() + g := &GistCommit{} + g.GetChangeStatus() + g = nil + g.GetChangeStatus() +} + +func TestGistCommit_GetCommittedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + g := &GistCommit{CommittedAt: &zeroValue} + g.GetCommittedAt() + g = &GistCommit{} + g.GetCommittedAt() + g = nil + g.GetCommittedAt() +} + +func TestGistCommit_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GistCommit{NodeID: &zeroValue} + g.GetNodeID() + g = &GistCommit{} + g.GetNodeID() + g = nil + g.GetNodeID() +} + +func TestGistCommit_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GistCommit{URL: &zeroValue} + g.GetURL() + g = &GistCommit{} + g.GetURL() + g = nil + g.GetURL() +} + +func TestGistCommit_GetUser(tt *testing.T) { + tt.Parallel() + g := &GistCommit{} + g.GetUser() + g = nil + g.GetUser() +} + +func TestGistCommit_GetVersion(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GistCommit{Version: &zeroValue} + g.GetVersion() + g = &GistCommit{} + g.GetVersion() + g = nil + g.GetVersion() +} + +func TestGistFile_GetContent(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GistFile{Content: &zeroValue} + g.GetContent() + g = &GistFile{} + g.GetContent() + g = nil + g.GetContent() +} + +func TestGistFile_GetFilename(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GistFile{Filename: &zeroValue} + g.GetFilename() + g = &GistFile{} + g.GetFilename() + g = nil + g.GetFilename() +} + +func TestGistFile_GetLanguage(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GistFile{Language: &zeroValue} + g.GetLanguage() + g = &GistFile{} + g.GetLanguage() + g = nil + g.GetLanguage() +} + +func TestGistFile_GetRawURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GistFile{RawURL: &zeroValue} + g.GetRawURL() + g = &GistFile{} + g.GetRawURL() + g = nil + g.GetRawURL() +} + +func TestGistFile_GetSize(tt *testing.T) { + tt.Parallel() + var zeroValue int + g := &GistFile{Size: &zeroValue} + g.GetSize() + g = &GistFile{} + g.GetSize() + g = nil + g.GetSize() +} + +func TestGistFile_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GistFile{Type: &zeroValue} + g.GetType() + g = &GistFile{} + g.GetType() + g = nil + g.GetType() +} + +func TestGistFork_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + g := &GistFork{CreatedAt: &zeroValue} + g.GetCreatedAt() + g = &GistFork{} + g.GetCreatedAt() + g = nil + g.GetCreatedAt() +} + +func TestGistFork_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GistFork{ID: &zeroValue} + g.GetID() + g = &GistFork{} + g.GetID() + g = nil + g.GetID() +} + +func TestGistFork_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GistFork{NodeID: &zeroValue} + g.GetNodeID() + g = &GistFork{} + g.GetNodeID() + g = nil + g.GetNodeID() +} + +func TestGistFork_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + g := &GistFork{UpdatedAt: &zeroValue} + g.GetUpdatedAt() + g = &GistFork{} + g.GetUpdatedAt() + g = nil + g.GetUpdatedAt() +} + +func TestGistFork_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GistFork{URL: &zeroValue} + g.GetURL() + g = &GistFork{} + g.GetURL() + g = nil + g.GetURL() +} + +func TestGistFork_GetUser(tt *testing.T) { + tt.Parallel() + g := &GistFork{} + g.GetUser() + g = nil + 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 + g := &GistStats{PrivateGists: &zeroValue} + g.GetPrivateGists() + g = &GistStats{} + g.GetPrivateGists() + g = nil + g.GetPrivateGists() +} + +func TestGistStats_GetPublicGists(tt *testing.T) { + tt.Parallel() + var zeroValue int + g := &GistStats{PublicGists: &zeroValue} + g.GetPublicGists() + g = &GistStats{} + g.GetPublicGists() + g = nil + g.GetPublicGists() +} + +func TestGistStats_GetTotalGists(tt *testing.T) { + tt.Parallel() + var zeroValue int + g := &GistStats{TotalGists: &zeroValue} + g.GetTotalGists() + g = &GistStats{} + g.GetTotalGists() + g = nil + g.GetTotalGists() +} + +func TestGitHubAppAuthorizationEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GitHubAppAuthorizationEvent{Action: &zeroValue} + g.GetAction() + g = &GitHubAppAuthorizationEvent{} + g.GetAction() + g = nil + g.GetAction() +} + +func TestGitHubAppAuthorizationEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + g := &GitHubAppAuthorizationEvent{} + g.GetInstallation() + g = nil + g.GetInstallation() +} + +func TestGitHubAppAuthorizationEvent_GetSender(tt *testing.T) { + tt.Parallel() + g := &GitHubAppAuthorizationEvent{} + g.GetSender() + g = nil + g.GetSender() +} + +func TestGitignore_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &Gitignore{Name: &zeroValue} + g.GetName() + g = &Gitignore{} + g.GetName() + g = nil + g.GetName() +} + +func TestGitignore_GetSource(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &Gitignore{Source: &zeroValue} + g.GetSource() + g = &Gitignore{} + g.GetSource() + g = nil + g.GetSource() +} + +func TestGitObject_GetSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GitObject{SHA: &zeroValue} + g.GetSHA() + g = &GitObject{} + g.GetSHA() + g = nil + g.GetSHA() +} + +func TestGitObject_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GitObject{Type: &zeroValue} + g.GetType() + g = &GitObject{} + g.GetType() + g = nil + g.GetType() +} + +func TestGitObject_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GitObject{URL: &zeroValue} + g.GetURL() + g = &GitObject{} + g.GetURL() + g = nil + 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 + g := &GlobalSecurityAdvisory{GithubReviewedAt: &zeroValue} + g.GetGithubReviewedAt() + g = &GlobalSecurityAdvisory{} + g.GetGithubReviewedAt() + g = nil + g.GetGithubReviewedAt() +} + +func TestGlobalSecurityAdvisory_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + g := &GlobalSecurityAdvisory{ID: &zeroValue} + g.GetID() + g = &GlobalSecurityAdvisory{} + g.GetID() + g = nil + g.GetID() +} + +func TestGlobalSecurityAdvisory_GetNVDPublishedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + g := &GlobalSecurityAdvisory{NVDPublishedAt: &zeroValue} + g.GetNVDPublishedAt() + g = &GlobalSecurityAdvisory{} + g.GetNVDPublishedAt() + g = nil + 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 + g := &GlobalSecurityAdvisory{RepositoryAdvisoryURL: &zeroValue} + g.GetRepositoryAdvisoryURL() + g = &GlobalSecurityAdvisory{} + g.GetRepositoryAdvisoryURL() + g = nil + g.GetRepositoryAdvisoryURL() +} + +func TestGlobalSecurityAdvisory_GetSourceCodeLocation(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GlobalSecurityAdvisory{SourceCodeLocation: &zeroValue} + g.GetSourceCodeLocation() + g = &GlobalSecurityAdvisory{} + g.GetSourceCodeLocation() + g = nil + g.GetSourceCodeLocation() +} + +func TestGlobalSecurityAdvisory_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GlobalSecurityAdvisory{Type: &zeroValue} + g.GetType() + g = &GlobalSecurityAdvisory{} + g.GetType() + g = nil + 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 + g := &GlobalSecurityVulnerability{FirstPatchedVersion: &zeroValue} + g.GetFirstPatchedVersion() + g = &GlobalSecurityVulnerability{} + g.GetFirstPatchedVersion() + g = nil + g.GetFirstPatchedVersion() +} + +func TestGlobalSecurityVulnerability_GetPackage(tt *testing.T) { + tt.Parallel() + g := &GlobalSecurityVulnerability{} + g.GetPackage() + g = nil + 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 + g := &GlobalSecurityVulnerability{VulnerableVersionRange: &zeroValue} + g.GetVulnerableVersionRange() + g = &GlobalSecurityVulnerability{} + g.GetVulnerableVersionRange() + g = nil + g.GetVulnerableVersionRange() +} + +func TestGollumEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + g := &GollumEvent{} + g.GetInstallation() + g = nil + g.GetInstallation() +} + +func TestGollumEvent_GetOrg(tt *testing.T) { + tt.Parallel() + g := &GollumEvent{} + g.GetOrg() + g = nil + 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{} + g.GetRepo() + g = nil + g.GetRepo() +} + +func TestGollumEvent_GetSender(tt *testing.T) { + tt.Parallel() + g := &GollumEvent{} + g.GetSender() + g = nil + 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 + g := &GPGEmail{Email: &zeroValue} + g.GetEmail() + g = &GPGEmail{} + g.GetEmail() + g = nil + g.GetEmail() +} + +func TestGPGEmail_GetVerified(tt *testing.T) { + tt.Parallel() + var zeroValue bool + g := &GPGEmail{Verified: &zeroValue} + g.GetVerified() + g = &GPGEmail{} + g.GetVerified() + g = nil + g.GetVerified() +} + +func TestGPGKey_GetCanCertify(tt *testing.T) { + tt.Parallel() + var zeroValue bool + g := &GPGKey{CanCertify: &zeroValue} + g.GetCanCertify() + g = &GPGKey{} + g.GetCanCertify() + g = nil + g.GetCanCertify() +} + +func TestGPGKey_GetCanEncryptComms(tt *testing.T) { + tt.Parallel() + var zeroValue bool + g := &GPGKey{CanEncryptComms: &zeroValue} + g.GetCanEncryptComms() + g = &GPGKey{} + g.GetCanEncryptComms() + g = nil + g.GetCanEncryptComms() +} + +func TestGPGKey_GetCanEncryptStorage(tt *testing.T) { + tt.Parallel() + var zeroValue bool + g := &GPGKey{CanEncryptStorage: &zeroValue} + g.GetCanEncryptStorage() + g = &GPGKey{} + g.GetCanEncryptStorage() + g = nil + g.GetCanEncryptStorage() +} + +func TestGPGKey_GetCanSign(tt *testing.T) { + tt.Parallel() + var zeroValue bool + g := &GPGKey{CanSign: &zeroValue} + g.GetCanSign() + g = &GPGKey{} + g.GetCanSign() + g = nil + g.GetCanSign() +} + +func TestGPGKey_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + g := &GPGKey{CreatedAt: &zeroValue} + g.GetCreatedAt() + g = &GPGKey{} + g.GetCreatedAt() + g = nil + 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 + g := &GPGKey{ExpiresAt: &zeroValue} + g.GetExpiresAt() + g = &GPGKey{} + g.GetExpiresAt() + g = nil + g.GetExpiresAt() +} + +func TestGPGKey_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + g := &GPGKey{ID: &zeroValue} + g.GetID() + g = &GPGKey{} + g.GetID() + g = nil + g.GetID() +} + +func TestGPGKey_GetKeyID(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GPGKey{KeyID: &zeroValue} + g.GetKeyID() + g = &GPGKey{} + g.GetKeyID() + g = nil + g.GetKeyID() +} + +func TestGPGKey_GetPrimaryKeyID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + g := &GPGKey{PrimaryKeyID: &zeroValue} + g.GetPrimaryKeyID() + g = &GPGKey{} + g.GetPrimaryKeyID() + g = nil + g.GetPrimaryKeyID() +} + +func TestGPGKey_GetPublicKey(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GPGKey{PublicKey: &zeroValue} + g.GetPublicKey() + g = &GPGKey{} + g.GetPublicKey() + g = nil + g.GetPublicKey() +} + +func TestGPGKey_GetRawKey(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &GPGKey{RawKey: &zeroValue} + g.GetRawKey() + g = &GPGKey{} + g.GetRawKey() + g = nil + 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{} + g.GetApp() + g = nil + g.GetApp() +} + +func TestGrant_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + g := &Grant{CreatedAt: &zeroValue} + g.GetCreatedAt() + g = &Grant{} + g.GetCreatedAt() + g = nil + g.GetCreatedAt() +} + +func TestGrant_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + g := &Grant{ID: &zeroValue} + g.GetID() + g = &Grant{} + g.GetID() + g = nil + 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 + g := &Grant{UpdatedAt: &zeroValue} + g.GetUpdatedAt() + g = &Grant{} + g.GetUpdatedAt() + g = nil + g.GetUpdatedAt() +} + +func TestGrant_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + g := &Grant{URL: &zeroValue} + g.GetURL() + g = &Grant{} + g.GetURL() + g = nil + 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{} + h.GetAuthor() + h = nil + h.GetAuthor() +} + +func TestHeadCommit_GetCommitter(tt *testing.T) { + tt.Parallel() + h := &HeadCommit{} + h.GetCommitter() + h = nil + h.GetCommitter() +} + +func TestHeadCommit_GetDistinct(tt *testing.T) { + tt.Parallel() + var zeroValue bool + h := &HeadCommit{Distinct: &zeroValue} + h.GetDistinct() + h = &HeadCommit{} + h.GetDistinct() + h = nil + h.GetDistinct() +} + +func TestHeadCommit_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue string + h := &HeadCommit{ID: &zeroValue} + h.GetID() + h = &HeadCommit{} + h.GetID() + h = nil + h.GetID() +} + +func TestHeadCommit_GetMessage(tt *testing.T) { + tt.Parallel() + var zeroValue string + h := &HeadCommit{Message: &zeroValue} + h.GetMessage() + h = &HeadCommit{} + h.GetMessage() + h = nil + 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 + h := &HeadCommit{SHA: &zeroValue} + h.GetSHA() + h = &HeadCommit{} + h.GetSHA() + h = nil + h.GetSHA() +} + +func TestHeadCommit_GetTimestamp(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + h := &HeadCommit{Timestamp: &zeroValue} + h.GetTimestamp() + h = &HeadCommit{} + h.GetTimestamp() + h = nil + h.GetTimestamp() +} + +func TestHeadCommit_GetTreeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + h := &HeadCommit{TreeID: &zeroValue} + h.GetTreeID() + h = &HeadCommit{} + h.GetTreeID() + h = nil + h.GetTreeID() +} + +func TestHeadCommit_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + h := &HeadCommit{URL: &zeroValue} + h.GetURL() + h = &HeadCommit{} + h.GetURL() + h = nil + 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 + h := &Hook{Active: &zeroValue} + h.GetActive() + h = &Hook{} + h.GetActive() + h = nil + h.GetActive() +} + +func TestHook_GetConfig(tt *testing.T) { + tt.Parallel() + h := &Hook{} + h.GetConfig() + h = nil + h.GetConfig() +} + +func TestHook_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + h := &Hook{CreatedAt: &zeroValue} + h.GetCreatedAt() + h = &Hook{} + h.GetCreatedAt() + h = nil + 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 + h := &Hook{ID: &zeroValue} + h.GetID() + h = &Hook{} + h.GetID() + h = nil + h.GetID() +} + +func TestHook_GetLastResponse(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]any{} + h := &Hook{LastResponse: zeroValue} + h.GetLastResponse() + h = &Hook{} + h.GetLastResponse() + h = nil + h.GetLastResponse() +} + +func TestHook_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + h := &Hook{Name: &zeroValue} + h.GetName() + h = &Hook{} + h.GetName() + h = nil + h.GetName() +} + +func TestHook_GetPingURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + h := &Hook{PingURL: &zeroValue} + h.GetPingURL() + h = &Hook{} + h.GetPingURL() + h = nil + h.GetPingURL() +} + +func TestHook_GetTestURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + h := &Hook{TestURL: &zeroValue} + h.GetTestURL() + h = &Hook{} + h.GetTestURL() + h = nil + h.GetTestURL() +} + +func TestHook_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + h := &Hook{Type: &zeroValue} + h.GetType() + h = &Hook{} + h.GetType() + h = nil + h.GetType() +} + +func TestHook_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + h := &Hook{UpdatedAt: &zeroValue} + h.GetUpdatedAt() + h = &Hook{} + h.GetUpdatedAt() + h = nil + h.GetUpdatedAt() +} + +func TestHook_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + h := &Hook{URL: &zeroValue} + h.GetURL() + h = &Hook{} + h.GetURL() + h = nil + h.GetURL() +} + +func TestHookConfig_GetContentType(tt *testing.T) { + tt.Parallel() + var zeroValue string + h := &HookConfig{ContentType: &zeroValue} + h.GetContentType() + h = &HookConfig{} + h.GetContentType() + h = nil + h.GetContentType() +} + +func TestHookConfig_GetInsecureSSL(tt *testing.T) { + tt.Parallel() + var zeroValue string + h := &HookConfig{InsecureSSL: &zeroValue} + h.GetInsecureSSL() + h = &HookConfig{} + h.GetInsecureSSL() + h = nil + h.GetInsecureSSL() +} + +func TestHookConfig_GetSecret(tt *testing.T) { + tt.Parallel() + var zeroValue string + h := &HookConfig{Secret: &zeroValue} + h.GetSecret() + h = &HookConfig{} + h.GetSecret() + h = nil + h.GetSecret() +} + +func TestHookConfig_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + h := &HookConfig{URL: &zeroValue} + h.GetURL() + h = &HookConfig{} + h.GetURL() + h = nil + h.GetURL() +} + +func TestHookDelivery_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + h := &HookDelivery{Action: &zeroValue} + h.GetAction() + h = &HookDelivery{} + h.GetAction() + h = nil + h.GetAction() +} + +func TestHookDelivery_GetDeliveredAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + h := &HookDelivery{DeliveredAt: &zeroValue} + h.GetDeliveredAt() + h = &HookDelivery{} + h.GetDeliveredAt() + h = nil + h.GetDeliveredAt() +} + +func TestHookDelivery_GetDuration(tt *testing.T) { + tt.Parallel() + var zeroValue float64 + h := &HookDelivery{Duration: &zeroValue} + h.GetDuration() + h = &HookDelivery{} + h.GetDuration() + h = nil + h.GetDuration() +} + +func TestHookDelivery_GetEvent(tt *testing.T) { + tt.Parallel() + var zeroValue string + h := &HookDelivery{Event: &zeroValue} + h.GetEvent() + h = &HookDelivery{} + h.GetEvent() + h = nil + h.GetEvent() +} + +func TestHookDelivery_GetGUID(tt *testing.T) { + tt.Parallel() + var zeroValue string + h := &HookDelivery{GUID: &zeroValue} + h.GetGUID() + h = &HookDelivery{} + h.GetGUID() + h = nil + h.GetGUID() +} + +func TestHookDelivery_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + h := &HookDelivery{ID: &zeroValue} + h.GetID() + h = &HookDelivery{} + h.GetID() + h = nil + h.GetID() +} + +func TestHookDelivery_GetInstallationID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + h := &HookDelivery{InstallationID: &zeroValue} + h.GetInstallationID() + h = &HookDelivery{} + h.GetInstallationID() + h = nil + h.GetInstallationID() +} + +func TestHookDelivery_GetRedelivery(tt *testing.T) { + tt.Parallel() + var zeroValue bool + h := &HookDelivery{Redelivery: &zeroValue} + h.GetRedelivery() + h = &HookDelivery{} + h.GetRedelivery() + h = nil + h.GetRedelivery() +} + +func TestHookDelivery_GetRepositoryID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + h := &HookDelivery{RepositoryID: &zeroValue} + h.GetRepositoryID() + h = &HookDelivery{} + h.GetRepositoryID() + h = nil + h.GetRepositoryID() +} + +func TestHookDelivery_GetRequest(tt *testing.T) { + tt.Parallel() + h := &HookDelivery{} + h.GetRequest() + h = nil + h.GetRequest() +} + +func TestHookDelivery_GetResponse(tt *testing.T) { + tt.Parallel() + h := &HookDelivery{} + h.GetResponse() + h = nil + h.GetResponse() +} + +func TestHookDelivery_GetStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + h := &HookDelivery{Status: &zeroValue} + h.GetStatus() + h = &HookDelivery{} + h.GetStatus() + h = nil + h.GetStatus() +} + +func TestHookDelivery_GetStatusCode(tt *testing.T) { + tt.Parallel() + var zeroValue int + h := &HookDelivery{StatusCode: &zeroValue} + h.GetStatusCode() + h = &HookDelivery{} + h.GetStatusCode() + h = nil + h.GetStatusCode() +} + +func TestHookDelivery_GetThrottledAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + h := &HookDelivery{ThrottledAt: &zeroValue} + h.GetThrottledAt() + h = &HookDelivery{} + h.GetThrottledAt() + h = nil + h.GetThrottledAt() +} + +func TestHookRequest_GetHeaders(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]string{} + h := &HookRequest{Headers: zeroValue} + h.GetHeaders() + h = &HookRequest{} + h.GetHeaders() + h = nil + h.GetHeaders() +} + +func TestHookRequest_GetRawPayload(tt *testing.T) { + tt.Parallel() + var zeroValue json.RawMessage + h := &HookRequest{RawPayload: &zeroValue} + h.GetRawPayload() + h = &HookRequest{} + h.GetRawPayload() + h = nil + h.GetRawPayload() +} + +func TestHookResponse_GetHeaders(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]string{} + h := &HookResponse{Headers: zeroValue} + h.GetHeaders() + h = &HookResponse{} + h.GetHeaders() + h = nil + h.GetHeaders() +} + +func TestHookResponse_GetRawPayload(tt *testing.T) { + tt.Parallel() + var zeroValue json.RawMessage + h := &HookResponse{RawPayload: &zeroValue} + h.GetRawPayload() + h = &HookResponse{} + h.GetRawPayload() + h = nil + h.GetRawPayload() +} + +func TestHookStats_GetActiveHooks(tt *testing.T) { + tt.Parallel() + var zeroValue int + h := &HookStats{ActiveHooks: &zeroValue} + h.GetActiveHooks() + h = &HookStats{} + h.GetActiveHooks() + h = nil + h.GetActiveHooks() +} + +func TestHookStats_GetInactiveHooks(tt *testing.T) { + tt.Parallel() + var zeroValue int + h := &HookStats{InactiveHooks: &zeroValue} + h.GetInactiveHooks() + h = &HookStats{} + h.GetInactiveHooks() + h = nil + h.GetInactiveHooks() +} + +func TestHookStats_GetTotalHooks(tt *testing.T) { + tt.Parallel() + var zeroValue int + h := &HookStats{TotalHooks: &zeroValue} + h.GetTotalHooks() + h = &HookStats{} + h.GetTotalHooks() + h = nil + h.GetTotalHooks() +} + +func TestHostedRunner_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + h := &HostedRunner{ID: &zeroValue} + h.GetID() + h = &HostedRunner{} + h.GetID() + h = nil + h.GetID() +} + +func TestHostedRunner_GetImageDetails(tt *testing.T) { + tt.Parallel() + h := &HostedRunner{} + h.GetImageDetails() + h = nil + h.GetImageDetails() +} + +func TestHostedRunner_GetLastActiveOn(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + h := &HostedRunner{LastActiveOn: &zeroValue} + h.GetLastActiveOn() + h = &HostedRunner{} + h.GetLastActiveOn() + h = nil + h.GetLastActiveOn() +} + +func TestHostedRunner_GetMachineSizeDetails(tt *testing.T) { + tt.Parallel() + h := &HostedRunner{} + h.GetMachineSizeDetails() + h = nil + h.GetMachineSizeDetails() +} + +func TestHostedRunner_GetMaximumRunners(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + h := &HostedRunner{MaximumRunners: &zeroValue} + h.GetMaximumRunners() + h = &HostedRunner{} + h.GetMaximumRunners() + h = nil + h.GetMaximumRunners() +} + +func TestHostedRunner_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + h := &HostedRunner{Name: &zeroValue} + h.GetName() + h = &HostedRunner{} + h.GetName() + h = nil + h.GetName() +} + +func TestHostedRunner_GetPlatform(tt *testing.T) { + tt.Parallel() + var zeroValue string + h := &HostedRunner{Platform: &zeroValue} + h.GetPlatform() + h = &HostedRunner{} + h.GetPlatform() + h = nil + h.GetPlatform() +} + +func TestHostedRunner_GetPublicIPEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + h := &HostedRunner{PublicIPEnabled: &zeroValue} + h.GetPublicIPEnabled() + h = &HostedRunner{} + h.GetPublicIPEnabled() + h = nil + 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 + h := &HostedRunner{RunnerGroupID: &zeroValue} + h.GetRunnerGroupID() + h = &HostedRunner{} + h.GetRunnerGroupID() + h = nil + h.GetRunnerGroupID() +} + +func TestHostedRunner_GetStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + h := &HostedRunner{Status: &zeroValue} + h.GetStatus() + h = &HostedRunner{} + h.GetStatus() + h = nil + h.GetStatus() +} + +func TestHostedRunnerCustomImage_GetID(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerCustomImage{} + h.GetID() + h = nil + h.GetID() +} + +func TestHostedRunnerCustomImage_GetLatestVersion(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerCustomImage{} + h.GetLatestVersion() + h = nil + h.GetLatestVersion() +} + +func TestHostedRunnerCustomImage_GetName(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerCustomImage{} + h.GetName() + h = nil + h.GetName() +} + +func TestHostedRunnerCustomImage_GetPlatform(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerCustomImage{} + h.GetPlatform() + h = nil + h.GetPlatform() +} + +func TestHostedRunnerCustomImage_GetSource(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerCustomImage{} + h.GetSource() + h = nil + h.GetSource() +} + +func TestHostedRunnerCustomImage_GetState(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerCustomImage{} + h.GetState() + h = nil + h.GetState() +} + +func TestHostedRunnerCustomImage_GetTotalVersionsSize(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerCustomImage{} + h.GetTotalVersionsSize() + h = nil + h.GetTotalVersionsSize() +} + +func TestHostedRunnerCustomImage_GetVersionsCount(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerCustomImage{} + h.GetVersionsCount() + h = nil + h.GetVersionsCount() +} + +func TestHostedRunnerCustomImages_GetImages(tt *testing.T) { + tt.Parallel() + zeroValue := []*HostedRunnerCustomImage{} + h := &HostedRunnerCustomImages{Images: zeroValue} + h.GetImages() + h = &HostedRunnerCustomImages{} + h.GetImages() + h = nil + h.GetImages() +} + +func TestHostedRunnerCustomImages_GetTotalCount(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerCustomImages{} + h.GetTotalCount() + h = nil + h.GetTotalCount() +} + +func TestHostedRunnerCustomImageVersion_GetCreatedOn(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerCustomImageVersion{} + h.GetCreatedOn() + h = nil + h.GetCreatedOn() +} + +func TestHostedRunnerCustomImageVersion_GetSizeGB(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerCustomImageVersion{} + h.GetSizeGB() + h = nil + h.GetSizeGB() +} + +func TestHostedRunnerCustomImageVersion_GetState(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerCustomImageVersion{} + h.GetState() + h = nil + h.GetState() +} + +func TestHostedRunnerCustomImageVersion_GetStateDetails(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerCustomImageVersion{} + h.GetStateDetails() + h = nil + h.GetStateDetails() +} + +func TestHostedRunnerCustomImageVersion_GetVersion(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerCustomImageVersion{} + h.GetVersion() + h = nil + h.GetVersion() +} + +func TestHostedRunnerCustomImageVersions_GetImageVersions(tt *testing.T) { + tt.Parallel() + zeroValue := []*HostedRunnerCustomImageVersion{} + h := &HostedRunnerCustomImageVersions{ImageVersions: zeroValue} + h.GetImageVersions() + h = &HostedRunnerCustomImageVersions{} + h.GetImageVersions() + h = nil + h.GetImageVersions() +} + +func TestHostedRunnerCustomImageVersions_GetTotalCount(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerCustomImageVersions{} + h.GetTotalCount() + h = nil + h.GetTotalCount() +} + +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 + h := &HostedRunnerImage{Version: &zeroValue} + h.GetVersion() + h = &HostedRunnerImage{} + h.GetVersion() + h = nil + h.GetVersion() +} + +func TestHostedRunnerImageDetail_GetDisplayName(tt *testing.T) { + tt.Parallel() + var zeroValue string + h := &HostedRunnerImageDetail{DisplayName: &zeroValue} + h.GetDisplayName() + h = &HostedRunnerImageDetail{} + h.GetDisplayName() + h = nil + h.GetDisplayName() +} + +func TestHostedRunnerImageDetail_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue string + h := &HostedRunnerImageDetail{ID: &zeroValue} + h.GetID() + h = &HostedRunnerImageDetail{} + h.GetID() + h = nil + h.GetID() +} + +func TestHostedRunnerImageDetail_GetSizeGB(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + h := &HostedRunnerImageDetail{SizeGB: &zeroValue} + h.GetSizeGB() + h = &HostedRunnerImageDetail{} + h.GetSizeGB() + h = nil + h.GetSizeGB() +} + +func TestHostedRunnerImageDetail_GetSource(tt *testing.T) { + tt.Parallel() + var zeroValue string + h := &HostedRunnerImageDetail{Source: &zeroValue} + h.GetSource() + h = &HostedRunnerImageDetail{} + h.GetSource() + h = nil + h.GetSource() +} + +func TestHostedRunnerImageDetail_GetVersion(tt *testing.T) { + tt.Parallel() + var zeroValue string + h := &HostedRunnerImageDetail{Version: &zeroValue} + h.GetVersion() + h = &HostedRunnerImageDetail{} + h.GetVersion() + h = nil + 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{} + h.GetPublicIPs() + h = nil + 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 + i := &IDPGroup{GroupDescription: &zeroValue} + i.GetGroupDescription() + i = &IDPGroup{} + i.GetGroupDescription() + i = nil + i.GetGroupDescription() +} + +func TestIDPGroup_GetGroupID(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IDPGroup{GroupID: &zeroValue} + i.GetGroupID() + i = &IDPGroup{} + i.GetGroupID() + i = nil + i.GetGroupID() +} + +func TestIDPGroup_GetGroupName(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IDPGroup{GroupName: &zeroValue} + i.GetGroupName() + i = &IDPGroup{} + i.GetGroupName() + i = nil + 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 + i := &ImmutableReleasePolicy{EnforcedRepositories: &zeroValue} + i.GetEnforcedRepositories() + i = &ImmutableReleasePolicy{} + i.GetEnforcedRepositories() + i = nil + 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 + i := &ImmutableReleaseSettings{EnforcedRepositories: &zeroValue} + i.GetEnforcedRepositories() + i = &ImmutableReleaseSettings{} + i.GetEnforcedRepositories() + i = nil + i.GetEnforcedRepositories() +} + +func TestImmutableReleaseSettings_GetSelectedRepositoriesURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &ImmutableReleaseSettings{SelectedRepositoriesURL: &zeroValue} + i.GetSelectedRepositoriesURL() + i = &ImmutableReleaseSettings{} + i.GetSelectedRepositoriesURL() + i = nil + i.GetSelectedRepositoriesURL() +} + +func TestImport_GetAuthorsCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + i := &Import{AuthorsCount: &zeroValue} + i.GetAuthorsCount() + i = &Import{} + i.GetAuthorsCount() + i = nil + i.GetAuthorsCount() +} + +func TestImport_GetAuthorsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Import{AuthorsURL: &zeroValue} + i.GetAuthorsURL() + i = &Import{} + i.GetAuthorsURL() + i = nil + i.GetAuthorsURL() +} + +func TestImport_GetCommitCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + i := &Import{CommitCount: &zeroValue} + i.GetCommitCount() + i = &Import{} + i.GetCommitCount() + i = nil + i.GetCommitCount() +} + +func TestImport_GetFailedStep(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Import{FailedStep: &zeroValue} + i.GetFailedStep() + i = &Import{} + i.GetFailedStep() + i = nil + i.GetFailedStep() +} + +func TestImport_GetHasLargeFiles(tt *testing.T) { + tt.Parallel() + var zeroValue bool + i := &Import{HasLargeFiles: &zeroValue} + i.GetHasLargeFiles() + i = &Import{} + i.GetHasLargeFiles() + i = nil + i.GetHasLargeFiles() +} + +func TestImport_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Import{HTMLURL: &zeroValue} + i.GetHTMLURL() + i = &Import{} + i.GetHTMLURL() + i = nil + i.GetHTMLURL() +} + +func TestImport_GetHumanName(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Import{HumanName: &zeroValue} + i.GetHumanName() + i = &Import{} + i.GetHumanName() + i = nil + i.GetHumanName() +} + +func TestImport_GetLargeFilesCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + i := &Import{LargeFilesCount: &zeroValue} + i.GetLargeFilesCount() + i = &Import{} + i.GetLargeFilesCount() + i = nil + i.GetLargeFilesCount() +} + +func TestImport_GetLargeFilesSize(tt *testing.T) { + tt.Parallel() + var zeroValue int + i := &Import{LargeFilesSize: &zeroValue} + i.GetLargeFilesSize() + i = &Import{} + i.GetLargeFilesSize() + i = nil + i.GetLargeFilesSize() +} + +func TestImport_GetMessage(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Import{Message: &zeroValue} + i.GetMessage() + i = &Import{} + i.GetMessage() + i = nil + i.GetMessage() +} + +func TestImport_GetPercent(tt *testing.T) { + tt.Parallel() + var zeroValue int + i := &Import{Percent: &zeroValue} + i.GetPercent() + i = &Import{} + i.GetPercent() + i = nil + 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 + i := &Import{PushPercent: &zeroValue} + i.GetPushPercent() + i = &Import{} + i.GetPushPercent() + i = nil + i.GetPushPercent() +} + +func TestImport_GetRepositoryURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Import{RepositoryURL: &zeroValue} + i.GetRepositoryURL() + i = &Import{} + i.GetRepositoryURL() + i = nil + i.GetRepositoryURL() +} + +func TestImport_GetStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Import{Status: &zeroValue} + i.GetStatus() + i = &Import{} + i.GetStatus() + i = nil + i.GetStatus() +} + +func TestImport_GetStatusText(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Import{StatusText: &zeroValue} + i.GetStatusText() + i = &Import{} + i.GetStatusText() + i = nil + i.GetStatusText() +} + +func TestImport_GetTFVCProject(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Import{TFVCProject: &zeroValue} + i.GetTFVCProject() + i = &Import{} + i.GetTFVCProject() + i = nil + i.GetTFVCProject() +} + +func TestImport_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Import{URL: &zeroValue} + i.GetURL() + i = &Import{} + i.GetURL() + i = nil + i.GetURL() +} + +func TestImport_GetUseLFS(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Import{UseLFS: &zeroValue} + i.GetUseLFS() + i = &Import{} + i.GetUseLFS() + i = nil + i.GetUseLFS() +} + +func TestImport_GetVCS(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Import{VCS: &zeroValue} + i.GetVCS() + i = &Import{} + i.GetVCS() + i = nil + i.GetVCS() +} + +func TestImport_GetVCSPassword(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Import{VCSPassword: &zeroValue} + i.GetVCSPassword() + i = &Import{} + i.GetVCSPassword() + i = nil + i.GetVCSPassword() +} + +func TestImport_GetVCSURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Import{VCSURL: &zeroValue} + i.GetVCSURL() + i = &Import{} + i.GetVCSURL() + i = nil + i.GetVCSURL() +} + +func TestImport_GetVCSUsername(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Import{VCSUsername: &zeroValue} + i.GetVCSUsername() + i = &Import{} + i.GetVCSUsername() + i = nil + 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 + i := &InstallableOrganization{AccessibleRepositoriesURL: &zeroValue} + i.GetAccessibleRepositoriesURL() + i = &InstallableOrganization{} + i.GetAccessibleRepositoriesURL() + i = nil + 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 + i := &Installation{AccessTokensURL: &zeroValue} + i.GetAccessTokensURL() + i = &Installation{} + i.GetAccessTokensURL() + i = nil + i.GetAccessTokensURL() +} + +func TestInstallation_GetAccount(tt *testing.T) { + tt.Parallel() + i := &Installation{} + i.GetAccount() + i = nil + i.GetAccount() +} + +func TestInstallation_GetAppID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + i := &Installation{AppID: &zeroValue} + i.GetAppID() + i = &Installation{} + i.GetAppID() + i = nil + i.GetAppID() +} + +func TestInstallation_GetAppSlug(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Installation{AppSlug: &zeroValue} + i.GetAppSlug() + i = &Installation{} + i.GetAppSlug() + i = nil + i.GetAppSlug() +} + +func TestInstallation_GetClientID(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Installation{ClientID: &zeroValue} + i.GetClientID() + i = &Installation{} + i.GetClientID() + i = nil + i.GetClientID() +} + +func TestInstallation_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + i := &Installation{CreatedAt: &zeroValue} + i.GetCreatedAt() + i = &Installation{} + i.GetCreatedAt() + i = nil + 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 + i := &Installation{HasMultipleSingleFiles: &zeroValue} + i.GetHasMultipleSingleFiles() + i = &Installation{} + i.GetHasMultipleSingleFiles() + i = nil + i.GetHasMultipleSingleFiles() +} + +func TestInstallation_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Installation{HTMLURL: &zeroValue} + i.GetHTMLURL() + i = &Installation{} + i.GetHTMLURL() + i = nil + i.GetHTMLURL() +} + +func TestInstallation_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + i := &Installation{ID: &zeroValue} + i.GetID() + i = &Installation{} + i.GetID() + i = nil + i.GetID() +} + +func TestInstallation_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Installation{NodeID: &zeroValue} + i.GetNodeID() + i = &Installation{} + i.GetNodeID() + i = nil + i.GetNodeID() +} + +func TestInstallation_GetPermissions(tt *testing.T) { + tt.Parallel() + i := &Installation{} + i.GetPermissions() + i = nil + i.GetPermissions() +} + +func TestInstallation_GetRepositoriesURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Installation{RepositoriesURL: &zeroValue} + i.GetRepositoriesURL() + i = &Installation{} + i.GetRepositoriesURL() + i = nil + i.GetRepositoriesURL() +} + +func TestInstallation_GetRepositorySelection(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Installation{RepositorySelection: &zeroValue} + i.GetRepositorySelection() + i = &Installation{} + i.GetRepositorySelection() + i = nil + i.GetRepositorySelection() +} + +func TestInstallation_GetSingleFileName(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Installation{SingleFileName: &zeroValue} + i.GetSingleFileName() + i = &Installation{} + i.GetSingleFileName() + i = nil + 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 + i := &Installation{SuspendedAt: &zeroValue} + i.GetSuspendedAt() + i = &Installation{} + i.GetSuspendedAt() + i = nil + i.GetSuspendedAt() +} + +func TestInstallation_GetSuspendedBy(tt *testing.T) { + tt.Parallel() + i := &Installation{} + i.GetSuspendedBy() + i = nil + i.GetSuspendedBy() +} + +func TestInstallation_GetTargetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + i := &Installation{TargetID: &zeroValue} + i.GetTargetID() + i = &Installation{} + i.GetTargetID() + i = nil + i.GetTargetID() +} + +func TestInstallation_GetTargetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Installation{TargetType: &zeroValue} + i.GetTargetType() + i = &Installation{} + i.GetTargetType() + i = nil + i.GetTargetType() +} + +func TestInstallation_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + i := &Installation{UpdatedAt: &zeroValue} + i.GetUpdatedAt() + i = &Installation{} + i.GetUpdatedAt() + i = nil + i.GetUpdatedAt() +} + +func TestInstallationChanges_GetLogin(tt *testing.T) { + tt.Parallel() + i := &InstallationChanges{} + i.GetLogin() + i = nil + i.GetLogin() +} + +func TestInstallationChanges_GetSlug(tt *testing.T) { + tt.Parallel() + i := &InstallationChanges{} + i.GetSlug() + i = nil + i.GetSlug() +} + +func TestInstallationEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationEvent{Action: &zeroValue} + i.GetAction() + i = &InstallationEvent{} + i.GetAction() + i = nil + i.GetAction() +} + +func TestInstallationEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + i := &InstallationEvent{} + i.GetInstallation() + i = nil + i.GetInstallation() +} + +func TestInstallationEvent_GetOrg(tt *testing.T) { + tt.Parallel() + i := &InstallationEvent{} + i.GetOrg() + i = nil + 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{} + i.GetRequester() + i = nil + i.GetRequester() +} + +func TestInstallationEvent_GetSender(tt *testing.T) { + tt.Parallel() + i := &InstallationEvent{} + i.GetSender() + i = nil + i.GetSender() +} + +func TestInstallationLoginChange_GetFrom(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationLoginChange{From: &zeroValue} + i.GetFrom() + i = &InstallationLoginChange{} + i.GetFrom() + i = nil + i.GetFrom() +} + +func TestInstallationPermissions_GetActions(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Actions: &zeroValue} + i.GetActions() + i = &InstallationPermissions{} + i.GetActions() + i = nil + i.GetActions() +} + +func TestInstallationPermissions_GetActionsVariables(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{ActionsVariables: &zeroValue} + i.GetActionsVariables() + i = &InstallationPermissions{} + i.GetActionsVariables() + i = nil + i.GetActionsVariables() +} + +func TestInstallationPermissions_GetAdministration(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Administration: &zeroValue} + i.GetAdministration() + i = &InstallationPermissions{} + i.GetAdministration() + i = nil + i.GetAdministration() +} + +func TestInstallationPermissions_GetAttestations(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Attestations: &zeroValue} + i.GetAttestations() + i = &InstallationPermissions{} + i.GetAttestations() + i = nil + i.GetAttestations() +} + +func TestInstallationPermissions_GetBlocking(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Blocking: &zeroValue} + i.GetBlocking() + i = &InstallationPermissions{} + i.GetBlocking() + i = nil + i.GetBlocking() +} + +func TestInstallationPermissions_GetChecks(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Checks: &zeroValue} + i.GetChecks() + i = &InstallationPermissions{} + i.GetChecks() + i = nil + i.GetChecks() +} + +func TestInstallationPermissions_GetCodespaces(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Codespaces: &zeroValue} + i.GetCodespaces() + i = &InstallationPermissions{} + i.GetCodespaces() + i = nil + i.GetCodespaces() +} + +func TestInstallationPermissions_GetCodespacesLifecycleAdmin(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{CodespacesLifecycleAdmin: &zeroValue} + i.GetCodespacesLifecycleAdmin() + i = &InstallationPermissions{} + i.GetCodespacesLifecycleAdmin() + i = nil + i.GetCodespacesLifecycleAdmin() +} + +func TestInstallationPermissions_GetCodespacesMetadata(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{CodespacesMetadata: &zeroValue} + i.GetCodespacesMetadata() + i = &InstallationPermissions{} + i.GetCodespacesMetadata() + i = nil + i.GetCodespacesMetadata() +} + +func TestInstallationPermissions_GetCodespacesSecrets(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{CodespacesSecrets: &zeroValue} + i.GetCodespacesSecrets() + i = &InstallationPermissions{} + i.GetCodespacesSecrets() + i = nil + i.GetCodespacesSecrets() +} + +func TestInstallationPermissions_GetCodespacesUserSecrets(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{CodespacesUserSecrets: &zeroValue} + i.GetCodespacesUserSecrets() + i = &InstallationPermissions{} + i.GetCodespacesUserSecrets() + i = nil + i.GetCodespacesUserSecrets() +} + +func TestInstallationPermissions_GetContentReferences(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{ContentReferences: &zeroValue} + i.GetContentReferences() + i = &InstallationPermissions{} + i.GetContentReferences() + i = nil + i.GetContentReferences() +} + +func TestInstallationPermissions_GetContents(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Contents: &zeroValue} + i.GetContents() + i = &InstallationPermissions{} + i.GetContents() + i = nil + i.GetContents() +} + +func TestInstallationPermissions_GetCopilotMessages(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{CopilotMessages: &zeroValue} + i.GetCopilotMessages() + i = &InstallationPermissions{} + i.GetCopilotMessages() + i = nil + i.GetCopilotMessages() +} + +func TestInstallationPermissions_GetDependabotSecrets(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{DependabotSecrets: &zeroValue} + i.GetDependabotSecrets() + i = &InstallationPermissions{} + i.GetDependabotSecrets() + i = nil + i.GetDependabotSecrets() +} + +func TestInstallationPermissions_GetDeployments(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Deployments: &zeroValue} + i.GetDeployments() + i = &InstallationPermissions{} + i.GetDeployments() + i = nil + i.GetDeployments() +} + +func TestInstallationPermissions_GetDiscussions(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Discussions: &zeroValue} + i.GetDiscussions() + i = &InstallationPermissions{} + i.GetDiscussions() + i = nil + i.GetDiscussions() +} + +func TestInstallationPermissions_GetEmails(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Emails: &zeroValue} + i.GetEmails() + i = &InstallationPermissions{} + i.GetEmails() + i = nil + i.GetEmails() +} + +func TestInstallationPermissions_GetEnterpriseAIControls(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{EnterpriseAIControls: &zeroValue} + i.GetEnterpriseAIControls() + i = &InstallationPermissions{} + i.GetEnterpriseAIControls() + i = nil + i.GetEnterpriseAIControls() +} + +func TestInstallationPermissions_GetEnterpriseCopilotMetrics(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{EnterpriseCopilotMetrics: &zeroValue} + i.GetEnterpriseCopilotMetrics() + i = &InstallationPermissions{} + i.GetEnterpriseCopilotMetrics() + i = nil + i.GetEnterpriseCopilotMetrics() +} + +func TestInstallationPermissions_GetEnterpriseCredentials(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{EnterpriseCredentials: &zeroValue} + i.GetEnterpriseCredentials() + i = &InstallationPermissions{} + i.GetEnterpriseCredentials() + i = nil + i.GetEnterpriseCredentials() +} + +func TestInstallationPermissions_GetEnterpriseCustomEnterpriseRoles(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{EnterpriseCustomEnterpriseRoles: &zeroValue} + i.GetEnterpriseCustomEnterpriseRoles() + i = &InstallationPermissions{} + i.GetEnterpriseCustomEnterpriseRoles() + i = nil + i.GetEnterpriseCustomEnterpriseRoles() +} + +func TestInstallationPermissions_GetEnterpriseCustomOrgRoles(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{EnterpriseCustomOrgRoles: &zeroValue} + i.GetEnterpriseCustomOrgRoles() + i = &InstallationPermissions{} + i.GetEnterpriseCustomOrgRoles() + i = nil + i.GetEnterpriseCustomOrgRoles() +} + +func TestInstallationPermissions_GetEnterpriseCustomProperties(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{EnterpriseCustomProperties: &zeroValue} + i.GetEnterpriseCustomProperties() + i = &InstallationPermissions{} + i.GetEnterpriseCustomProperties() + i = nil + i.GetEnterpriseCustomProperties() +} + +func TestInstallationPermissions_GetEnterpriseCustomPropertiesForOrgs(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{EnterpriseCustomPropertiesForOrgs: &zeroValue} + i.GetEnterpriseCustomPropertiesForOrgs() + i = &InstallationPermissions{} + i.GetEnterpriseCustomPropertiesForOrgs() + i = nil + i.GetEnterpriseCustomPropertiesForOrgs() +} + +func TestInstallationPermissions_GetEnterpriseOrganizationInstallations(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{EnterpriseOrganizationInstallations: &zeroValue} + i.GetEnterpriseOrganizationInstallations() + i = &InstallationPermissions{} + i.GetEnterpriseOrganizationInstallations() + i = nil + i.GetEnterpriseOrganizationInstallations() +} + +func TestInstallationPermissions_GetEnterpriseOrganizations(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{EnterpriseOrganizations: &zeroValue} + i.GetEnterpriseOrganizations() + i = &InstallationPermissions{} + i.GetEnterpriseOrganizations() + i = nil + i.GetEnterpriseOrganizations() +} + +func TestInstallationPermissions_GetEnterpriseOrgInstallationRepos(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{EnterpriseOrgInstallationRepos: &zeroValue} + i.GetEnterpriseOrgInstallationRepos() + i = &InstallationPermissions{} + i.GetEnterpriseOrgInstallationRepos() + i = nil + i.GetEnterpriseOrgInstallationRepos() +} + +func TestInstallationPermissions_GetEnterprisePeople(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{EnterprisePeople: &zeroValue} + i.GetEnterprisePeople() + i = &InstallationPermissions{} + i.GetEnterprisePeople() + i = nil + i.GetEnterprisePeople() +} + +func TestInstallationPermissions_GetEnterpriseSSO(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{EnterpriseSSO: &zeroValue} + i.GetEnterpriseSSO() + i = &InstallationPermissions{} + i.GetEnterpriseSSO() + i = nil + i.GetEnterpriseSSO() +} + +func TestInstallationPermissions_GetEnterpriseTeams(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{EnterpriseTeams: &zeroValue} + i.GetEnterpriseTeams() + i = &InstallationPermissions{} + i.GetEnterpriseTeams() + i = nil + i.GetEnterpriseTeams() +} + +func TestInstallationPermissions_GetEnvironments(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Environments: &zeroValue} + i.GetEnvironments() + i = &InstallationPermissions{} + i.GetEnvironments() + i = nil + i.GetEnvironments() +} + +func TestInstallationPermissions_GetFollowers(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Followers: &zeroValue} + i.GetFollowers() + i = &InstallationPermissions{} + i.GetFollowers() + i = nil + i.GetFollowers() +} + +func TestInstallationPermissions_GetGists(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Gists: &zeroValue} + i.GetGists() + i = &InstallationPermissions{} + i.GetGists() + i = nil + i.GetGists() +} + +func TestInstallationPermissions_GetGitSigningSSHPublicKeys(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{GitSigningSSHPublicKeys: &zeroValue} + i.GetGitSigningSSHPublicKeys() + i = &InstallationPermissions{} + i.GetGitSigningSSHPublicKeys() + i = nil + i.GetGitSigningSSHPublicKeys() +} + +func TestInstallationPermissions_GetGPGKeys(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{GPGKeys: &zeroValue} + i.GetGPGKeys() + i = &InstallationPermissions{} + i.GetGPGKeys() + i = nil + i.GetGPGKeys() +} + +func TestInstallationPermissions_GetInteractionLimits(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{InteractionLimits: &zeroValue} + i.GetInteractionLimits() + i = &InstallationPermissions{} + i.GetInteractionLimits() + i = nil + i.GetInteractionLimits() +} + +func TestInstallationPermissions_GetIssues(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Issues: &zeroValue} + i.GetIssues() + i = &InstallationPermissions{} + i.GetIssues() + i = nil + i.GetIssues() +} + +func TestInstallationPermissions_GetKeys(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Keys: &zeroValue} + i.GetKeys() + i = &InstallationPermissions{} + i.GetKeys() + i = nil + i.GetKeys() +} + +func TestInstallationPermissions_GetMembers(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Members: &zeroValue} + i.GetMembers() + i = &InstallationPermissions{} + i.GetMembers() + i = nil + i.GetMembers() +} + +func TestInstallationPermissions_GetMergeQueues(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{MergeQueues: &zeroValue} + i.GetMergeQueues() + i = &InstallationPermissions{} + i.GetMergeQueues() + i = nil + i.GetMergeQueues() +} + +func TestInstallationPermissions_GetMetadata(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Metadata: &zeroValue} + i.GetMetadata() + i = &InstallationPermissions{} + i.GetMetadata() + i = nil + i.GetMetadata() +} + +func TestInstallationPermissions_GetOrganizationActionsVariables(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationActionsVariables: &zeroValue} + i.GetOrganizationActionsVariables() + i = &InstallationPermissions{} + i.GetOrganizationActionsVariables() + i = nil + i.GetOrganizationActionsVariables() +} + +func TestInstallationPermissions_GetOrganizationAdministration(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationAdministration: &zeroValue} + i.GetOrganizationAdministration() + i = &InstallationPermissions{} + i.GetOrganizationAdministration() + i = nil + i.GetOrganizationAdministration() +} + +func TestInstallationPermissions_GetOrganizationAnnouncementBanners(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationAnnouncementBanners: &zeroValue} + i.GetOrganizationAnnouncementBanners() + i = &InstallationPermissions{} + i.GetOrganizationAnnouncementBanners() + i = nil + i.GetOrganizationAnnouncementBanners() +} + +func TestInstallationPermissions_GetOrganizationAPIInsights(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationAPIInsights: &zeroValue} + i.GetOrganizationAPIInsights() + i = &InstallationPermissions{} + i.GetOrganizationAPIInsights() + i = nil + i.GetOrganizationAPIInsights() +} + +func TestInstallationPermissions_GetOrganizationCodespaces(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationCodespaces: &zeroValue} + i.GetOrganizationCodespaces() + i = &InstallationPermissions{} + i.GetOrganizationCodespaces() + i = nil + i.GetOrganizationCodespaces() +} + +func TestInstallationPermissions_GetOrganizationCodespacesSecrets(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationCodespacesSecrets: &zeroValue} + i.GetOrganizationCodespacesSecrets() + i = &InstallationPermissions{} + i.GetOrganizationCodespacesSecrets() + i = nil + i.GetOrganizationCodespacesSecrets() +} + +func TestInstallationPermissions_GetOrganizationCodespacesSettings(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationCodespacesSettings: &zeroValue} + i.GetOrganizationCodespacesSettings() + i = &InstallationPermissions{} + i.GetOrganizationCodespacesSettings() + i = nil + i.GetOrganizationCodespacesSettings() +} + +func TestInstallationPermissions_GetOrganizationCopilotMetrics(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationCopilotMetrics: &zeroValue} + i.GetOrganizationCopilotMetrics() + i = &InstallationPermissions{} + i.GetOrganizationCopilotMetrics() + i = nil + i.GetOrganizationCopilotMetrics() +} + +func TestInstallationPermissions_GetOrganizationCopilotSeatManagement(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationCopilotSeatManagement: &zeroValue} + i.GetOrganizationCopilotSeatManagement() + i = &InstallationPermissions{} + i.GetOrganizationCopilotSeatManagement() + i = nil + i.GetOrganizationCopilotSeatManagement() +} + +func TestInstallationPermissions_GetOrganizationCustomOrgRoles(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationCustomOrgRoles: &zeroValue} + i.GetOrganizationCustomOrgRoles() + i = &InstallationPermissions{} + i.GetOrganizationCustomOrgRoles() + i = nil + i.GetOrganizationCustomOrgRoles() +} + +func TestInstallationPermissions_GetOrganizationCustomProperties(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationCustomProperties: &zeroValue} + i.GetOrganizationCustomProperties() + i = &InstallationPermissions{} + i.GetOrganizationCustomProperties() + i = nil + i.GetOrganizationCustomProperties() +} + +func TestInstallationPermissions_GetOrganizationCustomRoles(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationCustomRoles: &zeroValue} + i.GetOrganizationCustomRoles() + i = &InstallationPermissions{} + i.GetOrganizationCustomRoles() + i = nil + i.GetOrganizationCustomRoles() +} + +func TestInstallationPermissions_GetOrganizationDependabotSecrets(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationDependabotSecrets: &zeroValue} + i.GetOrganizationDependabotSecrets() + i = &InstallationPermissions{} + i.GetOrganizationDependabotSecrets() + i = nil + i.GetOrganizationDependabotSecrets() +} + +func TestInstallationPermissions_GetOrganizationEvents(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationEvents: &zeroValue} + i.GetOrganizationEvents() + i = &InstallationPermissions{} + i.GetOrganizationEvents() + i = nil + i.GetOrganizationEvents() +} + +func TestInstallationPermissions_GetOrganizationHooks(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationHooks: &zeroValue} + i.GetOrganizationHooks() + i = &InstallationPermissions{} + i.GetOrganizationHooks() + i = nil + i.GetOrganizationHooks() +} + +func TestInstallationPermissions_GetOrganizationKnowledgeBases(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationKnowledgeBases: &zeroValue} + i.GetOrganizationKnowledgeBases() + i = &InstallationPermissions{} + i.GetOrganizationKnowledgeBases() + i = nil + i.GetOrganizationKnowledgeBases() +} + +func TestInstallationPermissions_GetOrganizationPackages(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationPackages: &zeroValue} + i.GetOrganizationPackages() + i = &InstallationPermissions{} + i.GetOrganizationPackages() + i = nil + i.GetOrganizationPackages() +} + +func TestInstallationPermissions_GetOrganizationPersonalAccessTokenRequests(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationPersonalAccessTokenRequests: &zeroValue} + i.GetOrganizationPersonalAccessTokenRequests() + i = &InstallationPermissions{} + i.GetOrganizationPersonalAccessTokenRequests() + i = nil + i.GetOrganizationPersonalAccessTokenRequests() +} + +func TestInstallationPermissions_GetOrganizationPersonalAccessTokens(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationPersonalAccessTokens: &zeroValue} + i.GetOrganizationPersonalAccessTokens() + i = &InstallationPermissions{} + i.GetOrganizationPersonalAccessTokens() + i = nil + i.GetOrganizationPersonalAccessTokens() +} + +func TestInstallationPermissions_GetOrganizationPlan(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationPlan: &zeroValue} + i.GetOrganizationPlan() + i = &InstallationPermissions{} + i.GetOrganizationPlan() + i = nil + i.GetOrganizationPlan() +} + +func TestInstallationPermissions_GetOrganizationPreReceiveHooks(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationPreReceiveHooks: &zeroValue} + i.GetOrganizationPreReceiveHooks() + i = &InstallationPermissions{} + i.GetOrganizationPreReceiveHooks() + i = nil + i.GetOrganizationPreReceiveHooks() +} + +func TestInstallationPermissions_GetOrganizationProjects(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationProjects: &zeroValue} + i.GetOrganizationProjects() + i = &InstallationPermissions{} + i.GetOrganizationProjects() + i = nil + i.GetOrganizationProjects() +} + +func TestInstallationPermissions_GetOrganizationSecrets(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationSecrets: &zeroValue} + i.GetOrganizationSecrets() + i = &InstallationPermissions{} + i.GetOrganizationSecrets() + i = nil + i.GetOrganizationSecrets() +} + +func TestInstallationPermissions_GetOrganizationSelfHostedRunners(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationSelfHostedRunners: &zeroValue} + i.GetOrganizationSelfHostedRunners() + i = &InstallationPermissions{} + i.GetOrganizationSelfHostedRunners() + i = nil + i.GetOrganizationSelfHostedRunners() +} + +func TestInstallationPermissions_GetOrganizationUserBlocking(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationUserBlocking: &zeroValue} + i.GetOrganizationUserBlocking() + i = &InstallationPermissions{} + i.GetOrganizationUserBlocking() + i = nil + i.GetOrganizationUserBlocking() +} + +func TestInstallationPermissions_GetPackages(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Packages: &zeroValue} + i.GetPackages() + i = &InstallationPermissions{} + i.GetPackages() + i = nil + i.GetPackages() +} + +func TestInstallationPermissions_GetPages(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Pages: &zeroValue} + i.GetPages() + i = &InstallationPermissions{} + i.GetPages() + i = nil + i.GetPages() +} + +func TestInstallationPermissions_GetPlan(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Plan: &zeroValue} + i.GetPlan() + i = &InstallationPermissions{} + i.GetPlan() + i = nil + i.GetPlan() +} + +func TestInstallationPermissions_GetProfile(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Profile: &zeroValue} + i.GetProfile() + i = &InstallationPermissions{} + i.GetProfile() + i = nil + i.GetProfile() +} + +func TestInstallationPermissions_GetPullRequests(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{PullRequests: &zeroValue} + i.GetPullRequests() + i = &InstallationPermissions{} + i.GetPullRequests() + i = nil + i.GetPullRequests() +} + +func TestInstallationPermissions_GetRepositoryAdvisories(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{RepositoryAdvisories: &zeroValue} + i.GetRepositoryAdvisories() + i = &InstallationPermissions{} + i.GetRepositoryAdvisories() + i = nil + i.GetRepositoryAdvisories() +} + +func TestInstallationPermissions_GetRepositoryCustomProperties(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{RepositoryCustomProperties: &zeroValue} + i.GetRepositoryCustomProperties() + i = &InstallationPermissions{} + i.GetRepositoryCustomProperties() + i = nil + i.GetRepositoryCustomProperties() +} + +func TestInstallationPermissions_GetRepositoryHooks(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{RepositoryHooks: &zeroValue} + i.GetRepositoryHooks() + i = &InstallationPermissions{} + i.GetRepositoryHooks() + i = nil + i.GetRepositoryHooks() +} + +func TestInstallationPermissions_GetRepositoryPreReceiveHooks(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{RepositoryPreReceiveHooks: &zeroValue} + i.GetRepositoryPreReceiveHooks() + i = &InstallationPermissions{} + i.GetRepositoryPreReceiveHooks() + i = nil + i.GetRepositoryPreReceiveHooks() +} + +func TestInstallationPermissions_GetRepositoryProjects(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{RepositoryProjects: &zeroValue} + i.GetRepositoryProjects() + i = &InstallationPermissions{} + i.GetRepositoryProjects() + i = nil + i.GetRepositoryProjects() +} + +func TestInstallationPermissions_GetSecrets(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Secrets: &zeroValue} + i.GetSecrets() + i = &InstallationPermissions{} + i.GetSecrets() + i = nil + i.GetSecrets() +} + +func TestInstallationPermissions_GetSecretScanningAlerts(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{SecretScanningAlerts: &zeroValue} + i.GetSecretScanningAlerts() + i = &InstallationPermissions{} + i.GetSecretScanningAlerts() + i = nil + i.GetSecretScanningAlerts() +} + +func TestInstallationPermissions_GetSecurityEvents(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{SecurityEvents: &zeroValue} + i.GetSecurityEvents() + i = &InstallationPermissions{} + i.GetSecurityEvents() + i = nil + i.GetSecurityEvents() +} + +func TestInstallationPermissions_GetSingleFile(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{SingleFile: &zeroValue} + i.GetSingleFile() + i = &InstallationPermissions{} + i.GetSingleFile() + i = nil + i.GetSingleFile() +} + +func TestInstallationPermissions_GetStarring(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Starring: &zeroValue} + i.GetStarring() + i = &InstallationPermissions{} + i.GetStarring() + i = nil + i.GetStarring() +} + +func TestInstallationPermissions_GetStatuses(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Statuses: &zeroValue} + i.GetStatuses() + i = &InstallationPermissions{} + i.GetStatuses() + i = nil + i.GetStatuses() +} + +func TestInstallationPermissions_GetTeamDiscussions(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{TeamDiscussions: &zeroValue} + i.GetTeamDiscussions() + i = &InstallationPermissions{} + i.GetTeamDiscussions() + i = nil + i.GetTeamDiscussions() +} + +func TestInstallationPermissions_GetUserEvents(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{UserEvents: &zeroValue} + i.GetUserEvents() + i = &InstallationPermissions{} + i.GetUserEvents() + i = nil + i.GetUserEvents() +} + +func TestInstallationPermissions_GetVulnerabilityAlerts(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{VulnerabilityAlerts: &zeroValue} + i.GetVulnerabilityAlerts() + i = &InstallationPermissions{} + i.GetVulnerabilityAlerts() + i = nil + i.GetVulnerabilityAlerts() +} + +func TestInstallationPermissions_GetWatching(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Watching: &zeroValue} + i.GetWatching() + i = &InstallationPermissions{} + i.GetWatching() + i = nil + i.GetWatching() +} + +func TestInstallationPermissions_GetWorkflows(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Workflows: &zeroValue} + i.GetWorkflows() + i = &InstallationPermissions{} + i.GetWorkflows() + i = nil + i.GetWorkflows() +} + +func TestInstallationRepositoriesEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationRepositoriesEvent{Action: &zeroValue} + i.GetAction() + i = &InstallationRepositoriesEvent{} + i.GetAction() + i = nil + i.GetAction() +} + +func TestInstallationRepositoriesEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + i := &InstallationRepositoriesEvent{} + i.GetInstallation() + i = nil + i.GetInstallation() +} + +func TestInstallationRepositoriesEvent_GetOrg(tt *testing.T) { + tt.Parallel() + i := &InstallationRepositoriesEvent{} + i.GetOrg() + i = nil + 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 + i := &InstallationRepositoriesEvent{RepositorySelection: &zeroValue} + i.GetRepositorySelection() + i = &InstallationRepositoriesEvent{} + i.GetRepositorySelection() + i = nil + i.GetRepositorySelection() +} + +func TestInstallationRepositoriesEvent_GetSender(tt *testing.T) { + tt.Parallel() + i := &InstallationRepositoriesEvent{} + i.GetSender() + i = nil + i.GetSender() +} + +func TestInstallationRequest_GetAccount(tt *testing.T) { + tt.Parallel() + i := &InstallationRequest{} + i.GetAccount() + i = nil + i.GetAccount() +} + +func TestInstallationRequest_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + i := &InstallationRequest{CreatedAt: &zeroValue} + i.GetCreatedAt() + i = &InstallationRequest{} + i.GetCreatedAt() + i = nil + i.GetCreatedAt() +} + +func TestInstallationRequest_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + i := &InstallationRequest{ID: &zeroValue} + i.GetID() + i = &InstallationRequest{} + i.GetID() + i = nil + i.GetID() +} + +func TestInstallationRequest_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationRequest{NodeID: &zeroValue} + i.GetNodeID() + i = &InstallationRequest{} + i.GetNodeID() + i = nil + i.GetNodeID() +} + +func TestInstallationRequest_GetRequester(tt *testing.T) { + tt.Parallel() + i := &InstallationRequest{} + i.GetRequester() + i = nil + i.GetRequester() +} + +func TestInstallationSlugChange_GetFrom(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationSlugChange{From: &zeroValue} + i.GetFrom() + i = &InstallationSlugChange{} + i.GetFrom() + i = nil + i.GetFrom() +} + +func TestInstallationTargetEvent_GetAccount(tt *testing.T) { + tt.Parallel() + i := &InstallationTargetEvent{} + i.GetAccount() + i = nil + i.GetAccount() +} + +func TestInstallationTargetEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationTargetEvent{Action: &zeroValue} + i.GetAction() + i = &InstallationTargetEvent{} + i.GetAction() + i = nil + i.GetAction() +} + +func TestInstallationTargetEvent_GetChanges(tt *testing.T) { + tt.Parallel() + i := &InstallationTargetEvent{} + i.GetChanges() + i = nil + i.GetChanges() +} + +func TestInstallationTargetEvent_GetEnterprise(tt *testing.T) { + tt.Parallel() + i := &InstallationTargetEvent{} + i.GetEnterprise() + i = nil + i.GetEnterprise() +} + +func TestInstallationTargetEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + i := &InstallationTargetEvent{} + i.GetInstallation() + i = nil + i.GetInstallation() +} + +func TestInstallationTargetEvent_GetOrganization(tt *testing.T) { + tt.Parallel() + i := &InstallationTargetEvent{} + i.GetOrganization() + i = nil + i.GetOrganization() +} + +func TestInstallationTargetEvent_GetRepository(tt *testing.T) { + tt.Parallel() + i := &InstallationTargetEvent{} + i.GetRepository() + i = nil + i.GetRepository() +} + +func TestInstallationTargetEvent_GetSender(tt *testing.T) { + tt.Parallel() + i := &InstallationTargetEvent{} + i.GetSender() + i = nil + i.GetSender() +} + +func TestInstallationTargetEvent_GetTargetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationTargetEvent{TargetType: &zeroValue} + i.GetTargetType() + i = &InstallationTargetEvent{} + i.GetTargetType() + i = nil + i.GetTargetType() +} + +func TestInstallationToken_GetExpiresAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + i := &InstallationToken{ExpiresAt: &zeroValue} + i.GetExpiresAt() + i = &InstallationToken{} + i.GetExpiresAt() + i = nil + i.GetExpiresAt() +} + +func TestInstallationToken_GetPermissions(tt *testing.T) { + tt.Parallel() + i := &InstallationToken{} + i.GetPermissions() + i = nil + 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 + i := &InstallationToken{Token: &zeroValue} + i.GetToken() + i = &InstallationToken{} + i.GetToken() + i = nil + i.GetToken() +} + +func TestInstallationTokenListRepoOptions_GetPermissions(tt *testing.T) { + tt.Parallel() + i := &InstallationTokenListRepoOptions{} + i.GetPermissions() + i = nil + 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{} + i.GetPermissions() + i = nil + 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 + i := &InteractionRestriction{ExpiresAt: &zeroValue} + i.GetExpiresAt() + i = &InteractionRestriction{} + i.GetExpiresAt() + i = nil + i.GetExpiresAt() +} + +func TestInteractionRestriction_GetLimit(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InteractionRestriction{Limit: &zeroValue} + i.GetLimit() + i = &InteractionRestriction{} + i.GetLimit() + i = nil + i.GetLimit() +} + +func TestInteractionRestriction_GetOrigin(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InteractionRestriction{Origin: &zeroValue} + i.GetOrigin() + i = &InteractionRestriction{} + i.GetOrigin() + i = nil + i.GetOrigin() +} + +func TestInvitation_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + i := &Invitation{CreatedAt: &zeroValue} + i.GetCreatedAt() + i = &Invitation{} + i.GetCreatedAt() + i = nil + i.GetCreatedAt() +} + +func TestInvitation_GetEmail(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Invitation{Email: &zeroValue} + i.GetEmail() + i = &Invitation{} + i.GetEmail() + i = nil + i.GetEmail() +} + +func TestInvitation_GetFailedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + i := &Invitation{FailedAt: &zeroValue} + i.GetFailedAt() + i = &Invitation{} + i.GetFailedAt() + i = nil + i.GetFailedAt() +} + +func TestInvitation_GetFailedReason(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Invitation{FailedReason: &zeroValue} + i.GetFailedReason() + i = &Invitation{} + i.GetFailedReason() + i = nil + i.GetFailedReason() +} + +func TestInvitation_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + i := &Invitation{ID: &zeroValue} + i.GetID() + i = &Invitation{} + i.GetID() + i = nil + i.GetID() +} + +func TestInvitation_GetInvitationTeamURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Invitation{InvitationTeamURL: &zeroValue} + i.GetInvitationTeamURL() + i = &Invitation{} + i.GetInvitationTeamURL() + i = nil + i.GetInvitationTeamURL() +} + +func TestInvitation_GetInviter(tt *testing.T) { + tt.Parallel() + i := &Invitation{} + i.GetInviter() + i = nil + i.GetInviter() +} + +func TestInvitation_GetLogin(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Invitation{Login: &zeroValue} + i.GetLogin() + i = &Invitation{} + i.GetLogin() + i = nil + i.GetLogin() +} + +func TestInvitation_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Invitation{NodeID: &zeroValue} + i.GetNodeID() + i = &Invitation{} + i.GetNodeID() + i = nil + i.GetNodeID() +} + +func TestInvitation_GetRole(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Invitation{Role: &zeroValue} + i.GetRole() + i = &Invitation{} + i.GetRole() + i = nil + i.GetRole() +} + +func TestInvitation_GetTeamCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + i := &Invitation{TeamCount: &zeroValue} + i.GetTeamCount() + i = &Invitation{} + i.GetTeamCount() + i = nil + i.GetTeamCount() +} + +func TestIssue_GetActiveLockReason(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Issue{ActiveLockReason: &zeroValue} + i.GetActiveLockReason() + i = &Issue{} + i.GetActiveLockReason() + i = nil + i.GetActiveLockReason() +} + +func TestIssue_GetAssignee(tt *testing.T) { + tt.Parallel() + i := &Issue{} + i.GetAssignee() + i = nil + 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 + i := &Issue{AuthorAssociation: &zeroValue} + i.GetAuthorAssociation() + i = &Issue{} + i.GetAuthorAssociation() + i = nil + i.GetAuthorAssociation() +} + +func TestIssue_GetBody(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Issue{Body: &zeroValue} + i.GetBody() + i = &Issue{} + i.GetBody() + i = nil + i.GetBody() +} + +func TestIssue_GetClosedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + i := &Issue{ClosedAt: &zeroValue} + i.GetClosedAt() + i = &Issue{} + i.GetClosedAt() + i = nil + i.GetClosedAt() +} + +func TestIssue_GetClosedBy(tt *testing.T) { + tt.Parallel() + i := &Issue{} + i.GetClosedBy() + i = nil + i.GetClosedBy() +} + +func TestIssue_GetComments(tt *testing.T) { + tt.Parallel() + var zeroValue int + i := &Issue{Comments: &zeroValue} + i.GetComments() + i = &Issue{} + i.GetComments() + i = nil + i.GetComments() +} + +func TestIssue_GetCommentsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Issue{CommentsURL: &zeroValue} + i.GetCommentsURL() + i = &Issue{} + i.GetCommentsURL() + i = nil + i.GetCommentsURL() +} + +func TestIssue_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + i := &Issue{CreatedAt: &zeroValue} + i.GetCreatedAt() + i = &Issue{} + i.GetCreatedAt() + i = nil + i.GetCreatedAt() +} + +func TestIssue_GetDraft(tt *testing.T) { + tt.Parallel() + var zeroValue bool + i := &Issue{Draft: &zeroValue} + i.GetDraft() + i = &Issue{} + i.GetDraft() + i = nil + i.GetDraft() +} + +func TestIssue_GetEventsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Issue{EventsURL: &zeroValue} + i.GetEventsURL() + i = &Issue{} + i.GetEventsURL() + i = nil + i.GetEventsURL() +} + +func TestIssue_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Issue{HTMLURL: &zeroValue} + i.GetHTMLURL() + i = &Issue{} + i.GetHTMLURL() + i = nil + i.GetHTMLURL() +} + +func TestIssue_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + i := &Issue{ID: &zeroValue} + i.GetID() + i = &Issue{} + i.GetID() + i = nil + i.GetID() +} + +func TestIssue_GetIssueDependenciesSummary(tt *testing.T) { + tt.Parallel() + i := &Issue{} + i.GetIssueDependenciesSummary() + i = nil + i.GetIssueDependenciesSummary() +} + +func TestIssue_GetIssueFieldValues(tt *testing.T) { + tt.Parallel() + zeroValue := []*IssueFieldValue{} + i := &Issue{IssueFieldValues: zeroValue} + i.GetIssueFieldValues() + i = &Issue{} + i.GetIssueFieldValues() + i = nil + i.GetIssueFieldValues() +} + +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 + i := &Issue{LabelsURL: &zeroValue} + i.GetLabelsURL() + i = &Issue{} + i.GetLabelsURL() + i = nil + i.GetLabelsURL() +} + +func TestIssue_GetLocked(tt *testing.T) { + tt.Parallel() + var zeroValue bool + i := &Issue{Locked: &zeroValue} + i.GetLocked() + i = &Issue{} + i.GetLocked() + i = nil + i.GetLocked() +} + +func TestIssue_GetMilestone(tt *testing.T) { + tt.Parallel() + i := &Issue{} + i.GetMilestone() + i = nil + i.GetMilestone() +} + +func TestIssue_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Issue{NodeID: &zeroValue} + i.GetNodeID() + i = &Issue{} + i.GetNodeID() + i = nil + i.GetNodeID() +} + +func TestIssue_GetNumber(tt *testing.T) { + tt.Parallel() + var zeroValue int + i := &Issue{Number: &zeroValue} + i.GetNumber() + i = &Issue{} + i.GetNumber() + i = nil + i.GetNumber() +} + +func TestIssue_GetParentIssueURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Issue{ParentIssueURL: &zeroValue} + i.GetParentIssueURL() + i = &Issue{} + i.GetParentIssueURL() + i = nil + i.GetParentIssueURL() +} + +func TestIssue_GetPerformedViaGithubApp(tt *testing.T) { + tt.Parallel() + i := &Issue{} + i.GetPerformedViaGithubApp() + i = nil + i.GetPerformedViaGithubApp() +} + +func TestIssue_GetPinnedComment(tt *testing.T) { + tt.Parallel() + i := &Issue{} + i.GetPinnedComment() + i = nil + i.GetPinnedComment() +} + +func TestIssue_GetPullRequestLinks(tt *testing.T) { + tt.Parallel() + i := &Issue{} + i.GetPullRequestLinks() + i = nil + i.GetPullRequestLinks() +} + +func TestIssue_GetReactions(tt *testing.T) { + tt.Parallel() + i := &Issue{} + i.GetReactions() + i = nil + i.GetReactions() +} + +func TestIssue_GetRepository(tt *testing.T) { + tt.Parallel() + i := &Issue{} + i.GetRepository() + i = nil + i.GetRepository() +} + +func TestIssue_GetRepositoryURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Issue{RepositoryURL: &zeroValue} + i.GetRepositoryURL() + i = &Issue{} + i.GetRepositoryURL() + i = nil + i.GetRepositoryURL() +} + +func TestIssue_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Issue{State: &zeroValue} + i.GetState() + i = &Issue{} + i.GetState() + i = nil + i.GetState() +} + +func TestIssue_GetStateReason(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Issue{StateReason: &zeroValue} + i.GetStateReason() + i = &Issue{} + i.GetStateReason() + i = nil + i.GetStateReason() +} + +func TestIssue_GetSubIssuesSummary(tt *testing.T) { + tt.Parallel() + i := &Issue{} + i.GetSubIssuesSummary() + i = nil + i.GetSubIssuesSummary() +} + +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 + i := &Issue{Title: &zeroValue} + i.GetTitle() + i = &Issue{} + i.GetTitle() + i = nil + i.GetTitle() +} + +func TestIssue_GetType(tt *testing.T) { + tt.Parallel() + i := &Issue{} + i.GetType() + i = nil + i.GetType() +} + +func TestIssue_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + i := &Issue{UpdatedAt: &zeroValue} + i.GetUpdatedAt() + i = &Issue{} + i.GetUpdatedAt() + i = nil + i.GetUpdatedAt() +} + +func TestIssue_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &Issue{URL: &zeroValue} + i.GetURL() + i = &Issue{} + i.GetURL() + i = nil + i.GetURL() +} + +func TestIssue_GetUser(tt *testing.T) { + tt.Parallel() + i := &Issue{} + i.GetUser() + i = nil + i.GetUser() +} + +func TestIssueComment_GetAuthorAssociation(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueComment{AuthorAssociation: &zeroValue} + i.GetAuthorAssociation() + i = &IssueComment{} + i.GetAuthorAssociation() + i = nil + i.GetAuthorAssociation() +} + +func TestIssueComment_GetBody(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueComment{Body: &zeroValue} + i.GetBody() + i = &IssueComment{} + i.GetBody() + i = nil + i.GetBody() +} + +func TestIssueComment_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + i := &IssueComment{CreatedAt: &zeroValue} + i.GetCreatedAt() + i = &IssueComment{} + i.GetCreatedAt() + i = nil + i.GetCreatedAt() +} + +func TestIssueComment_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueComment{HTMLURL: &zeroValue} + i.GetHTMLURL() + i = &IssueComment{} + i.GetHTMLURL() + i = nil + i.GetHTMLURL() +} + +func TestIssueComment_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + i := &IssueComment{ID: &zeroValue} + i.GetID() + i = &IssueComment{} + i.GetID() + i = nil + i.GetID() +} + +func TestIssueComment_GetIssueURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueComment{IssueURL: &zeroValue} + i.GetIssueURL() + i = &IssueComment{} + i.GetIssueURL() + i = nil + i.GetIssueURL() +} + +func TestIssueComment_GetMinimized(tt *testing.T) { + tt.Parallel() + i := &IssueComment{} + i.GetMinimized() + i = nil + i.GetMinimized() +} + +func TestIssueComment_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueComment{NodeID: &zeroValue} + i.GetNodeID() + i = &IssueComment{} + i.GetNodeID() + i = nil + i.GetNodeID() +} + +func TestIssueComment_GetPerformedViaGithubApp(tt *testing.T) { + tt.Parallel() + i := &IssueComment{} + i.GetPerformedViaGithubApp() + i = nil + i.GetPerformedViaGithubApp() +} + +func TestIssueComment_GetPin(tt *testing.T) { + tt.Parallel() + i := &IssueComment{} + i.GetPin() + i = nil + i.GetPin() +} + +func TestIssueComment_GetReactions(tt *testing.T) { + tt.Parallel() + i := &IssueComment{} + i.GetReactions() + i = nil + i.GetReactions() +} + +func TestIssueComment_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + i := &IssueComment{UpdatedAt: &zeroValue} + i.GetUpdatedAt() + i = &IssueComment{} + i.GetUpdatedAt() + i = nil + i.GetUpdatedAt() +} + +func TestIssueComment_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueComment{URL: &zeroValue} + i.GetURL() + i = &IssueComment{} + i.GetURL() + i = nil + i.GetURL() +} + +func TestIssueComment_GetUser(tt *testing.T) { + tt.Parallel() + i := &IssueComment{} + i.GetUser() + i = nil + i.GetUser() +} + +func TestIssueCommentEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueCommentEvent{Action: &zeroValue} + i.GetAction() + i = &IssueCommentEvent{} + i.GetAction() + i = nil + i.GetAction() +} + +func TestIssueCommentEvent_GetChanges(tt *testing.T) { + tt.Parallel() + i := &IssueCommentEvent{} + i.GetChanges() + i = nil + i.GetChanges() +} + +func TestIssueCommentEvent_GetComment(tt *testing.T) { + tt.Parallel() + i := &IssueCommentEvent{} + i.GetComment() + i = nil + i.GetComment() +} + +func TestIssueCommentEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + i := &IssueCommentEvent{} + i.GetInstallation() + i = nil + i.GetInstallation() +} + +func TestIssueCommentEvent_GetIssue(tt *testing.T) { + tt.Parallel() + i := &IssueCommentEvent{} + i.GetIssue() + i = nil + i.GetIssue() +} + +func TestIssueCommentEvent_GetOrganization(tt *testing.T) { + tt.Parallel() + i := &IssueCommentEvent{} + i.GetOrganization() + i = nil + i.GetOrganization() +} + +func TestIssueCommentEvent_GetRepo(tt *testing.T) { + tt.Parallel() + i := &IssueCommentEvent{} + i.GetRepo() + i = nil + i.GetRepo() +} + +func TestIssueCommentEvent_GetSender(tt *testing.T) { + tt.Parallel() + i := &IssueCommentEvent{} + i.GetSender() + i = nil + i.GetSender() +} + +func TestIssueCommentRequest_GetBody(tt *testing.T) { + tt.Parallel() + i := &IssueCommentRequest{} + i.GetBody() + i = nil + i.GetBody() +} + +func TestIssueDependenciesSummary_GetBlockedBy(tt *testing.T) { + tt.Parallel() + var zeroValue int + i := &IssueDependenciesSummary{BlockedBy: &zeroValue} + i.GetBlockedBy() + i = &IssueDependenciesSummary{} + i.GetBlockedBy() + i = nil + i.GetBlockedBy() +} + +func TestIssueDependenciesSummary_GetBlocking(tt *testing.T) { + tt.Parallel() + var zeroValue int + i := &IssueDependenciesSummary{Blocking: &zeroValue} + i.GetBlocking() + i = &IssueDependenciesSummary{} + i.GetBlocking() + i = nil + i.GetBlocking() +} + +func TestIssueDependenciesSummary_GetTotalBlockedBy(tt *testing.T) { + tt.Parallel() + var zeroValue int + i := &IssueDependenciesSummary{TotalBlockedBy: &zeroValue} + i.GetTotalBlockedBy() + i = &IssueDependenciesSummary{} + i.GetTotalBlockedBy() + i = nil + i.GetTotalBlockedBy() +} + +func TestIssueDependenciesSummary_GetTotalBlocking(tt *testing.T) { + tt.Parallel() + var zeroValue int + i := &IssueDependenciesSummary{TotalBlocking: &zeroValue} + i.GetTotalBlocking() + i = &IssueDependenciesSummary{} + i.GetTotalBlocking() + i = nil + i.GetTotalBlocking() +} + +func TestIssueDependencyRequest_GetIssueID(tt *testing.T) { + tt.Parallel() + i := &IssueDependencyRequest{} + i.GetIssueID() + i = nil + i.GetIssueID() +} + +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{} + i.GetActor() + i = nil + i.GetActor() +} + +func TestIssueEvent_GetAssignee(tt *testing.T) { + tt.Parallel() + i := &IssueEvent{} + i.GetAssignee() + i = nil + i.GetAssignee() +} + +func TestIssueEvent_GetAssigner(tt *testing.T) { + tt.Parallel() + i := &IssueEvent{} + i.GetAssigner() + i = nil + i.GetAssigner() +} + +func TestIssueEvent_GetCommitID(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueEvent{CommitID: &zeroValue} + i.GetCommitID() + i = &IssueEvent{} + i.GetCommitID() + i = nil + i.GetCommitID() +} + +func TestIssueEvent_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + i := &IssueEvent{CreatedAt: &zeroValue} + i.GetCreatedAt() + i = &IssueEvent{} + i.GetCreatedAt() + i = nil + i.GetCreatedAt() +} + +func TestIssueEvent_GetDismissedReview(tt *testing.T) { + tt.Parallel() + i := &IssueEvent{} + i.GetDismissedReview() + i = nil + i.GetDismissedReview() +} + +func TestIssueEvent_GetEvent(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueEvent{Event: &zeroValue} + i.GetEvent() + i = &IssueEvent{} + i.GetEvent() + i = nil + i.GetEvent() +} + +func TestIssueEvent_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + i := &IssueEvent{ID: &zeroValue} + i.GetID() + i = &IssueEvent{} + i.GetID() + i = nil + i.GetID() +} + +func TestIssueEvent_GetIssue(tt *testing.T) { + tt.Parallel() + i := &IssueEvent{} + i.GetIssue() + i = nil + i.GetIssue() +} + +func TestIssueEvent_GetLabel(tt *testing.T) { + tt.Parallel() + i := &IssueEvent{} + i.GetLabel() + i = nil + i.GetLabel() +} + +func TestIssueEvent_GetLockReason(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueEvent{LockReason: &zeroValue} + i.GetLockReason() + i = &IssueEvent{} + i.GetLockReason() + i = nil + i.GetLockReason() +} + +func TestIssueEvent_GetMilestone(tt *testing.T) { + tt.Parallel() + i := &IssueEvent{} + i.GetMilestone() + i = nil + i.GetMilestone() +} + +func TestIssueEvent_GetPerformedViaGithubApp(tt *testing.T) { + tt.Parallel() + i := &IssueEvent{} + i.GetPerformedViaGithubApp() + i = nil + i.GetPerformedViaGithubApp() +} + +func TestIssueEvent_GetRename(tt *testing.T) { + tt.Parallel() + i := &IssueEvent{} + i.GetRename() + i = nil + i.GetRename() +} + +func TestIssueEvent_GetRepository(tt *testing.T) { + tt.Parallel() + i := &IssueEvent{} + i.GetRepository() + i = nil + i.GetRepository() +} + +func TestIssueEvent_GetRequestedReviewer(tt *testing.T) { + tt.Parallel() + i := &IssueEvent{} + i.GetRequestedReviewer() + i = nil + i.GetRequestedReviewer() +} + +func TestIssueEvent_GetRequestedTeam(tt *testing.T) { + tt.Parallel() + i := &IssueEvent{} + i.GetRequestedTeam() + i = nil + i.GetRequestedTeam() +} + +func TestIssueEvent_GetReviewRequester(tt *testing.T) { + tt.Parallel() + i := &IssueEvent{} + i.GetReviewRequester() + i = nil + i.GetReviewRequester() +} + +func TestIssueEvent_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueEvent{URL: &zeroValue} + i.GetURL() + i = &IssueEvent{} + i.GetURL() + i = nil + i.GetURL() +} + +func TestIssueFieldValue_GetDataType(tt *testing.T) { + tt.Parallel() + i := &IssueFieldValue{} + i.GetDataType() + i = nil + i.GetDataType() +} + +func TestIssueFieldValue_GetIssueFieldID(tt *testing.T) { + tt.Parallel() + i := &IssueFieldValue{} + i.GetIssueFieldID() + i = nil + i.GetIssueFieldID() +} + +func TestIssueFieldValue_GetNodeID(tt *testing.T) { + tt.Parallel() + i := &IssueFieldValue{} + i.GetNodeID() + i = nil + i.GetNodeID() +} + +func TestIssueFieldValue_GetSingleSelectOption(tt *testing.T) { + tt.Parallel() + i := &IssueFieldValue{} + i.GetSingleSelectOption() + i = nil + i.GetSingleSelectOption() +} + +func TestIssueFieldValue_GetValue(tt *testing.T) { + tt.Parallel() + i := &IssueFieldValue{} + i.GetValue() + i = nil + i.GetValue() +} + +func TestIssueFieldValueSingleSelectOption_GetColor(tt *testing.T) { + tt.Parallel() + i := &IssueFieldValueSingleSelectOption{} + i.GetColor() + i = nil + i.GetColor() +} + +func TestIssueFieldValueSingleSelectOption_GetID(tt *testing.T) { + tt.Parallel() + i := &IssueFieldValueSingleSelectOption{} + i.GetID() + i = nil + i.GetID() +} + +func TestIssueFieldValueSingleSelectOption_GetName(tt *testing.T) { + tt.Parallel() + i := &IssueFieldValueSingleSelectOption{} + i.GetName() + i = nil + i.GetName() +} + +func TestIssueImport_GetAssignee(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueImport{Assignee: &zeroValue} + i.GetAssignee() + i = &IssueImport{} + i.GetAssignee() + i = nil + 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 + i := &IssueImport{Closed: &zeroValue} + i.GetClosed() + i = &IssueImport{} + i.GetClosed() + i = nil + i.GetClosed() +} + +func TestIssueImport_GetClosedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + i := &IssueImport{ClosedAt: &zeroValue} + i.GetClosedAt() + i = &IssueImport{} + i.GetClosedAt() + i = nil + i.GetClosedAt() +} + +func TestIssueImport_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + i := &IssueImport{CreatedAt: &zeroValue} + i.GetCreatedAt() + i = &IssueImport{} + i.GetCreatedAt() + i = nil + 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 + i := &IssueImport{Milestone: &zeroValue} + i.GetMilestone() + i = &IssueImport{} + i.GetMilestone() + i = nil + 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 + i := &IssueImport{UpdatedAt: &zeroValue} + i.GetUpdatedAt() + i = &IssueImport{} + i.GetUpdatedAt() + i = nil + i.GetUpdatedAt() +} + +func TestIssueImportError_GetCode(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueImportError{Code: &zeroValue} + i.GetCode() + i = &IssueImportError{} + i.GetCode() + i = nil + i.GetCode() +} + +func TestIssueImportError_GetField(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueImportError{Field: &zeroValue} + i.GetField() + i = &IssueImportError{} + i.GetField() + i = nil + i.GetField() +} + +func TestIssueImportError_GetLocation(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueImportError{Location: &zeroValue} + i.GetLocation() + i = &IssueImportError{} + i.GetLocation() + i = nil + i.GetLocation() +} + +func TestIssueImportError_GetResource(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueImportError{Resource: &zeroValue} + i.GetResource() + i = &IssueImportError{} + i.GetResource() + i = nil + i.GetResource() +} + +func TestIssueImportError_GetValue(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueImportError{Value: &zeroValue} + i.GetValue() + i = &IssueImportError{} + i.GetValue() + i = nil + 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 + i := &IssueImportResponse{CreatedAt: &zeroValue} + i.GetCreatedAt() + i = &IssueImportResponse{} + i.GetCreatedAt() + i = nil + i.GetCreatedAt() +} + +func TestIssueImportResponse_GetDocumentationURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueImportResponse{DocumentationURL: &zeroValue} + i.GetDocumentationURL() + i = &IssueImportResponse{} + i.GetDocumentationURL() + i = nil + 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 + i := &IssueImportResponse{ID: &zeroValue} + i.GetID() + i = &IssueImportResponse{} + i.GetID() + i = nil + i.GetID() +} + +func TestIssueImportResponse_GetImportIssuesURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueImportResponse{ImportIssuesURL: &zeroValue} + i.GetImportIssuesURL() + i = &IssueImportResponse{} + i.GetImportIssuesURL() + i = nil + i.GetImportIssuesURL() +} + +func TestIssueImportResponse_GetMessage(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueImportResponse{Message: &zeroValue} + i.GetMessage() + i = &IssueImportResponse{} + i.GetMessage() + i = nil + i.GetMessage() +} + +func TestIssueImportResponse_GetRepositoryURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueImportResponse{RepositoryURL: &zeroValue} + i.GetRepositoryURL() + i = &IssueImportResponse{} + i.GetRepositoryURL() + i = nil + i.GetRepositoryURL() +} + +func TestIssueImportResponse_GetStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueImportResponse{Status: &zeroValue} + i.GetStatus() + i = &IssueImportResponse{} + i.GetStatus() + i = nil + i.GetStatus() +} + +func TestIssueImportResponse_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + i := &IssueImportResponse{UpdatedAt: &zeroValue} + i.GetUpdatedAt() + i = &IssueImportResponse{} + i.GetUpdatedAt() + i = nil + i.GetUpdatedAt() +} + +func TestIssueImportResponse_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueImportResponse{URL: &zeroValue} + i.GetURL() + i = &IssueImportResponse{} + i.GetURL() + i = nil + 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 + i := &IssueListCommentsOptions{Direction: &zeroValue} + i.GetDirection() + i = &IssueListCommentsOptions{} + i.GetDirection() + i = nil + i.GetDirection() +} + +func TestIssueListCommentsOptions_GetSince(tt *testing.T) { + tt.Parallel() + var zeroValue time.Time + i := &IssueListCommentsOptions{Since: &zeroValue} + i.GetSince() + i = &IssueListCommentsOptions{} + i.GetSince() + i = nil + i.GetSince() +} + +func TestIssueListCommentsOptions_GetSort(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueListCommentsOptions{Sort: &zeroValue} + i.GetSort() + i = &IssueListCommentsOptions{} + i.GetSort() + i = nil + i.GetSort() +} + +func TestIssueRequestFieldValue_GetFieldID(tt *testing.T) { + tt.Parallel() + i := &IssueRequestFieldValue{} + i.GetFieldID() + i = nil + i.GetFieldID() +} + +func TestIssueRequestFieldValue_GetValue(tt *testing.T) { + tt.Parallel() + i := &IssueRequestFieldValue{} + i.GetValue() + i = nil + i.GetValue() +} + +func TestIssuesEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssuesEvent{Action: &zeroValue} + i.GetAction() + i = &IssuesEvent{} + i.GetAction() + i = nil + i.GetAction() +} + +func TestIssuesEvent_GetAssignee(tt *testing.T) { + tt.Parallel() + i := &IssuesEvent{} + i.GetAssignee() + i = nil + i.GetAssignee() +} + +func TestIssuesEvent_GetChanges(tt *testing.T) { + tt.Parallel() + i := &IssuesEvent{} + i.GetChanges() + i = nil + i.GetChanges() +} + +func TestIssuesEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + i := &IssuesEvent{} + i.GetInstallation() + i = nil + i.GetInstallation() +} + +func TestIssuesEvent_GetIssue(tt *testing.T) { + tt.Parallel() + i := &IssuesEvent{} + i.GetIssue() + i = nil + i.GetIssue() +} + +func TestIssuesEvent_GetLabel(tt *testing.T) { + tt.Parallel() + i := &IssuesEvent{} + i.GetLabel() + i = nil + i.GetLabel() +} + +func TestIssuesEvent_GetMilestone(tt *testing.T) { + tt.Parallel() + i := &IssuesEvent{} + i.GetMilestone() + i = nil + i.GetMilestone() +} + +func TestIssuesEvent_GetOrg(tt *testing.T) { + tt.Parallel() + i := &IssuesEvent{} + i.GetOrg() + i = nil + i.GetOrg() +} + +func TestIssuesEvent_GetRepo(tt *testing.T) { + tt.Parallel() + i := &IssuesEvent{} + i.GetRepo() + i = nil + i.GetRepo() +} + +func TestIssuesEvent_GetSender(tt *testing.T) { + tt.Parallel() + i := &IssuesEvent{} + i.GetSender() + i = nil + i.GetSender() +} + +func TestIssuesSearchResult_GetIncompleteResults(tt *testing.T) { + tt.Parallel() + var zeroValue bool + i := &IssuesSearchResult{IncompleteResults: &zeroValue} + i.GetIncompleteResults() + i = &IssuesSearchResult{} + i.GetIncompleteResults() + i = nil + 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_GetSearchType(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssuesSearchResult{SearchType: &zeroValue} + i.GetSearchType() + i = &IssuesSearchResult{} + i.GetSearchType() + i = nil + i.GetSearchType() +} + +func TestIssuesSearchResult_GetTotal(tt *testing.T) { + tt.Parallel() + var zeroValue int + i := &IssuesSearchResult{Total: &zeroValue} + i.GetTotal() + i = &IssuesSearchResult{} + i.GetTotal() + i = nil + i.GetTotal() +} + +func TestIssueStats_GetClosedIssues(tt *testing.T) { + tt.Parallel() + var zeroValue int + i := &IssueStats{ClosedIssues: &zeroValue} + i.GetClosedIssues() + i = &IssueStats{} + i.GetClosedIssues() + i = nil + i.GetClosedIssues() +} + +func TestIssueStats_GetOpenIssues(tt *testing.T) { + tt.Parallel() + var zeroValue int + i := &IssueStats{OpenIssues: &zeroValue} + i.GetOpenIssues() + i = &IssueStats{} + i.GetOpenIssues() + i = nil + i.GetOpenIssues() +} + +func TestIssueStats_GetTotalIssues(tt *testing.T) { + tt.Parallel() + var zeroValue int + i := &IssueStats{TotalIssues: &zeroValue} + i.GetTotalIssues() + i = &IssueStats{} + i.GetTotalIssues() + i = nil + i.GetTotalIssues() +} + +func TestIssueType_GetColor(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueType{Color: &zeroValue} + i.GetColor() + i = &IssueType{} + i.GetColor() + i = nil + i.GetColor() +} + +func TestIssueType_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + i := &IssueType{CreatedAt: &zeroValue} + i.GetCreatedAt() + i = &IssueType{} + i.GetCreatedAt() + i = nil + i.GetCreatedAt() +} + +func TestIssueType_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueType{Description: &zeroValue} + i.GetDescription() + i = &IssueType{} + i.GetDescription() + i = nil + i.GetDescription() +} + +func TestIssueType_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + i := &IssueType{ID: &zeroValue} + i.GetID() + i = &IssueType{} + i.GetID() + i = nil + i.GetID() +} + +func TestIssueType_GetIsEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + i := &IssueType{IsEnabled: &zeroValue} + i.GetIsEnabled() + i = &IssueType{} + i.GetIsEnabled() + i = nil + i.GetIsEnabled() +} + +func TestIssueType_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueType{Name: &zeroValue} + i.GetName() + i = &IssueType{} + i.GetName() + i = nil + i.GetName() +} + +func TestIssueType_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &IssueType{NodeID: &zeroValue} + i.GetNodeID() + i = &IssueType{} + i.GetNodeID() + i = nil + i.GetNodeID() +} + +func TestIssueType_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + i := &IssueType{UpdatedAt: &zeroValue} + i.GetUpdatedAt() + i = &IssueType{} + i.GetUpdatedAt() + i = nil + i.GetUpdatedAt() +} + +func TestJITRunnerConfig_GetEncodedJITConfig(tt *testing.T) { + tt.Parallel() + var zeroValue string + j := &JITRunnerConfig{EncodedJITConfig: &zeroValue} + j.GetEncodedJITConfig() + j = &JITRunnerConfig{} + j.GetEncodedJITConfig() + j = nil + j.GetEncodedJITConfig() +} + +func TestJITRunnerConfig_GetRunner(tt *testing.T) { + tt.Parallel() + j := &JITRunnerConfig{} + j.GetRunner() + j = nil + 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 + j := &Jobs{TotalCount: &zeroValue} + j.GetTotalCount() + j = &Jobs{} + j.GetTotalCount() + j = nil + j.GetTotalCount() +} + +func TestKey_GetAddedBy(tt *testing.T) { + tt.Parallel() + var zeroValue string + k := &Key{AddedBy: &zeroValue} + k.GetAddedBy() + k = &Key{} + k.GetAddedBy() + k = nil + k.GetAddedBy() +} + +func TestKey_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + k := &Key{CreatedAt: &zeroValue} + k.GetCreatedAt() + k = &Key{} + k.GetCreatedAt() + k = nil + k.GetCreatedAt() +} + +func TestKey_GetEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + k := &Key{Enabled: &zeroValue} + k.GetEnabled() + k = &Key{} + k.GetEnabled() + k = nil + k.GetEnabled() +} + +func TestKey_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + k := &Key{ID: &zeroValue} + k.GetID() + k = &Key{} + k.GetID() + k = nil + k.GetID() +} + +func TestKey_GetKey(tt *testing.T) { + tt.Parallel() + var zeroValue string + k := &Key{Key: &zeroValue} + k.GetKey() + k = &Key{} + k.GetKey() + k = nil + k.GetKey() +} + +func TestKey_GetLastUsed(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + k := &Key{LastUsed: &zeroValue} + k.GetLastUsed() + k = &Key{} + k.GetLastUsed() + k = nil + k.GetLastUsed() +} + +func TestKey_GetReadOnly(tt *testing.T) { + tt.Parallel() + var zeroValue bool + k := &Key{ReadOnly: &zeroValue} + k.GetReadOnly() + k = &Key{} + k.GetReadOnly() + k = nil + k.GetReadOnly() +} + +func TestKey_GetTitle(tt *testing.T) { + tt.Parallel() + var zeroValue string + k := &Key{Title: &zeroValue} + k.GetTitle() + k = &Key{} + k.GetTitle() + k = nil + k.GetTitle() +} + +func TestKey_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + k := &Key{URL: &zeroValue} + k.GetURL() + k = &Key{} + k.GetURL() + k = nil + k.GetURL() +} + +func TestKey_GetVerified(tt *testing.T) { + tt.Parallel() + var zeroValue bool + k := &Key{Verified: &zeroValue} + k.GetVerified() + k = &Key{} + k.GetVerified() + k = nil + k.GetVerified() +} + +func TestLabel_GetColor(tt *testing.T) { + tt.Parallel() + l := &Label{} + l.GetColor() + l = nil + l.GetColor() +} + +func TestLabel_GetDefault(tt *testing.T) { + tt.Parallel() + l := &Label{} + l.GetDefault() + l = nil + l.GetDefault() +} + +func TestLabel_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &Label{Description: &zeroValue} + l.GetDescription() + l = &Label{} + l.GetDescription() + l = nil + l.GetDescription() +} + +func TestLabel_GetID(tt *testing.T) { + tt.Parallel() + l := &Label{} + l.GetID() + l = nil + l.GetID() +} + +func TestLabel_GetName(tt *testing.T) { + tt.Parallel() + l := &Label{} + l.GetName() + l = nil + l.GetName() +} + +func TestLabel_GetNodeID(tt *testing.T) { + tt.Parallel() + l := &Label{} + l.GetNodeID() + l = nil + l.GetNodeID() +} + +func TestLabel_GetURL(tt *testing.T) { + tt.Parallel() + l := &Label{} + l.GetURL() + l = nil + l.GetURL() +} + +func TestLabelEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &LabelEvent{Action: &zeroValue} + l.GetAction() + l = &LabelEvent{} + l.GetAction() + l = nil + l.GetAction() +} + +func TestLabelEvent_GetChanges(tt *testing.T) { + tt.Parallel() + l := &LabelEvent{} + l.GetChanges() + l = nil + l.GetChanges() +} + +func TestLabelEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + l := &LabelEvent{} + l.GetInstallation() + l = nil + l.GetInstallation() +} + +func TestLabelEvent_GetLabel(tt *testing.T) { + tt.Parallel() + l := &LabelEvent{} + l.GetLabel() + l = nil + l.GetLabel() +} + +func TestLabelEvent_GetOrg(tt *testing.T) { + tt.Parallel() + l := &LabelEvent{} + l.GetOrg() + l = nil + l.GetOrg() +} + +func TestLabelEvent_GetRepo(tt *testing.T) { + tt.Parallel() + l := &LabelEvent{} + l.GetRepo() + l = nil + l.GetRepo() +} + +func TestLabelEvent_GetSender(tt *testing.T) { + tt.Parallel() + l := &LabelEvent{} + l.GetSender() + l = nil + l.GetSender() +} + +func TestLabelResult_GetColor(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &LabelResult{Color: &zeroValue} + l.GetColor() + l = &LabelResult{} + l.GetColor() + l = nil + l.GetColor() +} + +func TestLabelResult_GetDefault(tt *testing.T) { + tt.Parallel() + var zeroValue bool + l := &LabelResult{Default: &zeroValue} + l.GetDefault() + l = &LabelResult{} + l.GetDefault() + l = nil + l.GetDefault() +} + +func TestLabelResult_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &LabelResult{Description: &zeroValue} + l.GetDescription() + l = &LabelResult{} + l.GetDescription() + l = nil + l.GetDescription() +} + +func TestLabelResult_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + l := &LabelResult{ID: &zeroValue} + l.GetID() + l = &LabelResult{} + l.GetID() + l = nil + l.GetID() +} + +func TestLabelResult_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &LabelResult{Name: &zeroValue} + l.GetName() + l = &LabelResult{} + l.GetName() + l = nil + l.GetName() +} + +func TestLabelResult_GetScore(tt *testing.T) { + tt.Parallel() + var zeroValue float64 + l := &LabelResult{Score: &zeroValue} + l.GetScore() + l = &LabelResult{} + l.GetScore() + l = nil + l.GetScore() +} + +func TestLabelResult_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &LabelResult{URL: &zeroValue} + l.GetURL() + l = &LabelResult{} + l.GetURL() + l = nil + l.GetURL() +} + +func TestLabelsSearchResult_GetIncompleteResults(tt *testing.T) { + tt.Parallel() + var zeroValue bool + l := &LabelsSearchResult{IncompleteResults: &zeroValue} + l.GetIncompleteResults() + l = &LabelsSearchResult{} + l.GetIncompleteResults() + l = nil + 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 + l := &LabelsSearchResult{Total: &zeroValue} + l.GetTotal() + l = &LabelsSearchResult{} + l.GetTotal() + l = nil + l.GetTotal() +} + +func TestLargeFile_GetOID(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &LargeFile{OID: &zeroValue} + l.GetOID() + l = &LargeFile{} + l.GetOID() + l = nil + l.GetOID() +} + +func TestLargeFile_GetPath(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &LargeFile{Path: &zeroValue} + l.GetPath() + l = &LargeFile{} + l.GetPath() + l = nil + l.GetPath() +} + +func TestLargeFile_GetRefName(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &LargeFile{RefName: &zeroValue} + l.GetRefName() + l = &LargeFile{} + l.GetRefName() + l = nil + l.GetRefName() +} + +func TestLargeFile_GetSize(tt *testing.T) { + tt.Parallel() + var zeroValue int + l := &LargeFile{Size: &zeroValue} + l.GetSize() + l = &LargeFile{} + l.GetSize() + l = nil + l.GetSize() +} + +func TestLastLicenseSync_GetProperties(tt *testing.T) { + tt.Parallel() + l := &LastLicenseSync{} + l.GetProperties() + l = nil + 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 + l := &LastLicenseSyncProperties{Date: &zeroValue} + l.GetDate() + l = &LastLicenseSyncProperties{} + l.GetDate() + l = nil + 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 + l := &License{Body: &zeroValue} + l.GetBody() + l = &License{} + l.GetBody() + l = nil + l.GetBody() +} + +func TestLicense_GetConditions(tt *testing.T) { + tt.Parallel() + var zeroValue []string + l := &License{Conditions: &zeroValue} + l.GetConditions() + l = &License{} + l.GetConditions() + l = nil + l.GetConditions() +} + +func TestLicense_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &License{Description: &zeroValue} + l.GetDescription() + l = &License{} + l.GetDescription() + l = nil + l.GetDescription() +} + +func TestLicense_GetFeatured(tt *testing.T) { + tt.Parallel() + var zeroValue bool + l := &License{Featured: &zeroValue} + l.GetFeatured() + l = &License{} + l.GetFeatured() + l = nil + l.GetFeatured() +} + +func TestLicense_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &License{HTMLURL: &zeroValue} + l.GetHTMLURL() + l = &License{} + l.GetHTMLURL() + l = nil + l.GetHTMLURL() +} + +func TestLicense_GetImplementation(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &License{Implementation: &zeroValue} + l.GetImplementation() + l = &License{} + l.GetImplementation() + l = nil + l.GetImplementation() +} + +func TestLicense_GetKey(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &License{Key: &zeroValue} + l.GetKey() + l = &License{} + l.GetKey() + l = nil + l.GetKey() +} + +func TestLicense_GetLimitations(tt *testing.T) { + tt.Parallel() + var zeroValue []string + l := &License{Limitations: &zeroValue} + l.GetLimitations() + l = &License{} + l.GetLimitations() + l = nil + l.GetLimitations() +} + +func TestLicense_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &License{Name: &zeroValue} + l.GetName() + l = &License{} + l.GetName() + l = nil + l.GetName() +} + +func TestLicense_GetPermissions(tt *testing.T) { + tt.Parallel() + var zeroValue []string + l := &License{Permissions: &zeroValue} + l.GetPermissions() + l = &License{} + l.GetPermissions() + l = nil + l.GetPermissions() +} + +func TestLicense_GetSPDXID(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &License{SPDXID: &zeroValue} + l.GetSPDXID() + l = &License{} + l.GetSPDXID() + l = nil + l.GetSPDXID() +} + +func TestLicense_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &License{URL: &zeroValue} + l.GetURL() + l = &License{} + l.GetURL() + l = nil + l.GetURL() +} + +func TestLicenseCheck_GetStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &LicenseCheck{Status: &zeroValue} + l.GetStatus() + l = &LicenseCheck{} + l.GetStatus() + l = nil + l.GetStatus() +} + +func TestLicenseStatus_GetAdvancedSecurityEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + l := &LicenseStatus{AdvancedSecurityEnabled: &zeroValue} + l.GetAdvancedSecurityEnabled() + l = &LicenseStatus{} + l.GetAdvancedSecurityEnabled() + l = nil + l.GetAdvancedSecurityEnabled() +} + +func TestLicenseStatus_GetAdvancedSecuritySeats(tt *testing.T) { + tt.Parallel() + var zeroValue int + l := &LicenseStatus{AdvancedSecuritySeats: &zeroValue} + l.GetAdvancedSecuritySeats() + l = &LicenseStatus{} + l.GetAdvancedSecuritySeats() + l = nil + l.GetAdvancedSecuritySeats() +} + +func TestLicenseStatus_GetClusterSupport(tt *testing.T) { + tt.Parallel() + var zeroValue bool + l := &LicenseStatus{ClusterSupport: &zeroValue} + l.GetClusterSupport() + l = &LicenseStatus{} + l.GetClusterSupport() + l = nil + l.GetClusterSupport() +} + +func TestLicenseStatus_GetCompany(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &LicenseStatus{Company: &zeroValue} + l.GetCompany() + l = &LicenseStatus{} + l.GetCompany() + l = nil + l.GetCompany() +} + +func TestLicenseStatus_GetCroquetSupport(tt *testing.T) { + tt.Parallel() + var zeroValue bool + l := &LicenseStatus{CroquetSupport: &zeroValue} + l.GetCroquetSupport() + l = &LicenseStatus{} + l.GetCroquetSupport() + l = nil + l.GetCroquetSupport() +} + +func TestLicenseStatus_GetCustomTerms(tt *testing.T) { + tt.Parallel() + var zeroValue bool + l := &LicenseStatus{CustomTerms: &zeroValue} + l.GetCustomTerms() + l = &LicenseStatus{} + l.GetCustomTerms() + l = nil + l.GetCustomTerms() +} + +func TestLicenseStatus_GetEvaluation(tt *testing.T) { + tt.Parallel() + var zeroValue bool + l := &LicenseStatus{Evaluation: &zeroValue} + l.GetEvaluation() + l = &LicenseStatus{} + l.GetEvaluation() + l = nil + l.GetEvaluation() +} + +func TestLicenseStatus_GetExpireAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + l := &LicenseStatus{ExpireAt: &zeroValue} + l.GetExpireAt() + l = &LicenseStatus{} + l.GetExpireAt() + l = nil + l.GetExpireAt() +} + +func TestLicenseStatus_GetInsightsEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + l := &LicenseStatus{InsightsEnabled: &zeroValue} + l.GetInsightsEnabled() + l = &LicenseStatus{} + l.GetInsightsEnabled() + l = nil + l.GetInsightsEnabled() +} + +func TestLicenseStatus_GetInsightsExpireAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + l := &LicenseStatus{InsightsExpireAt: &zeroValue} + l.GetInsightsExpireAt() + l = &LicenseStatus{} + l.GetInsightsExpireAt() + l = nil + l.GetInsightsExpireAt() +} + +func TestLicenseStatus_GetLearningLabEvaluationExpires(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + l := &LicenseStatus{LearningLabEvaluationExpires: &zeroValue} + l.GetLearningLabEvaluationExpires() + l = &LicenseStatus{} + l.GetLearningLabEvaluationExpires() + l = nil + l.GetLearningLabEvaluationExpires() +} + +func TestLicenseStatus_GetLearningLabSeats(tt *testing.T) { + tt.Parallel() + var zeroValue int + l := &LicenseStatus{LearningLabSeats: &zeroValue} + l.GetLearningLabSeats() + l = &LicenseStatus{} + l.GetLearningLabSeats() + l = nil + l.GetLearningLabSeats() +} + +func TestLicenseStatus_GetPerpetual(tt *testing.T) { + tt.Parallel() + var zeroValue bool + l := &LicenseStatus{Perpetual: &zeroValue} + l.GetPerpetual() + l = &LicenseStatus{} + l.GetPerpetual() + l = nil + l.GetPerpetual() +} + +func TestLicenseStatus_GetReferenceNumber(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &LicenseStatus{ReferenceNumber: &zeroValue} + l.GetReferenceNumber() + l = &LicenseStatus{} + l.GetReferenceNumber() + l = nil + l.GetReferenceNumber() +} + +func TestLicenseStatus_GetSeats(tt *testing.T) { + tt.Parallel() + var zeroValue int + l := &LicenseStatus{Seats: &zeroValue} + l.GetSeats() + l = &LicenseStatus{} + l.GetSeats() + l = nil + l.GetSeats() +} + +func TestLicenseStatus_GetSSHAllowed(tt *testing.T) { + tt.Parallel() + var zeroValue bool + l := &LicenseStatus{SSHAllowed: &zeroValue} + l.GetSSHAllowed() + l = &LicenseStatus{} + l.GetSSHAllowed() + l = nil + l.GetSSHAllowed() +} + +func TestLicenseStatus_GetSupportKey(tt *testing.T) { + tt.Parallel() + var zeroValue bool + l := &LicenseStatus{SupportKey: &zeroValue} + l.GetSupportKey() + l = &LicenseStatus{} + l.GetSupportKey() + l = nil + l.GetSupportKey() +} + +func TestLicenseStatus_GetUnlimitedSeating(tt *testing.T) { + tt.Parallel() + var zeroValue bool + l := &LicenseStatus{UnlimitedSeating: &zeroValue} + l.GetUnlimitedSeating() + l = &LicenseStatus{} + l.GetUnlimitedSeating() + l = nil + l.GetUnlimitedSeating() +} + +func TestLinearHistoryRequirementEnforcementLevelChanges_GetFrom(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &LinearHistoryRequirementEnforcementLevelChanges{From: &zeroValue} + l.GetFrom() + l = &LinearHistoryRequirementEnforcementLevelChanges{} + l.GetFrom() + l = nil + l.GetFrom() +} + +func TestListAlertsOptions_GetDirection(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &ListAlertsOptions{Direction: &zeroValue} + l.GetDirection() + l = &ListAlertsOptions{} + l.GetDirection() + l = nil + l.GetDirection() +} + +func TestListAlertsOptions_GetEcosystem(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &ListAlertsOptions{Ecosystem: &zeroValue} + l.GetEcosystem() + l = &ListAlertsOptions{} + l.GetEcosystem() + l = nil + l.GetEcosystem() +} + +func TestListAlertsOptions_GetPackage(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &ListAlertsOptions{Package: &zeroValue} + l.GetPackage() + l = &ListAlertsOptions{} + l.GetPackage() + l = nil + l.GetPackage() +} + +func TestListAlertsOptions_GetScope(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &ListAlertsOptions{Scope: &zeroValue} + l.GetScope() + l = &ListAlertsOptions{} + l.GetScope() + l = nil + l.GetScope() +} + +func TestListAlertsOptions_GetSeverity(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &ListAlertsOptions{Severity: &zeroValue} + l.GetSeverity() + l = &ListAlertsOptions{} + l.GetSeverity() + l = nil + l.GetSeverity() +} + +func TestListAlertsOptions_GetSort(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &ListAlertsOptions{Sort: &zeroValue} + l.GetSort() + l = &ListAlertsOptions{} + l.GetSort() + l = nil + l.GetSort() +} + +func TestListAlertsOptions_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &ListAlertsOptions{State: &zeroValue} + l.GetState() + l = &ListAlertsOptions{} + l.GetState() + l = nil + 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 + l := &ListArtifactsOptions{Name: &zeroValue} + l.GetName() + l = &ListArtifactsOptions{} + l.GetName() + l = nil + l.GetName() +} + +func TestListCheckRunsOptions_GetAppID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + l := &ListCheckRunsOptions{AppID: &zeroValue} + l.GetAppID() + l = &ListCheckRunsOptions{} + l.GetAppID() + l = nil + l.GetAppID() +} + +func TestListCheckRunsOptions_GetCheckName(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &ListCheckRunsOptions{CheckName: &zeroValue} + l.GetCheckName() + l = &ListCheckRunsOptions{} + l.GetCheckName() + l = nil + l.GetCheckName() +} + +func TestListCheckRunsOptions_GetFilter(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &ListCheckRunsOptions{Filter: &zeroValue} + l.GetFilter() + l = &ListCheckRunsOptions{} + l.GetFilter() + l = nil + l.GetFilter() +} + +func TestListCheckRunsOptions_GetStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &ListCheckRunsOptions{Status: &zeroValue} + l.GetStatus() + l = &ListCheckRunsOptions{} + l.GetStatus() + l = nil + 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 + l := &ListCheckRunsResults{Total: &zeroValue} + l.GetTotal() + l = &ListCheckRunsResults{} + l.GetTotal() + l = nil + l.GetTotal() +} + +func TestListCheckSuiteOptions_GetAppID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + l := &ListCheckSuiteOptions{AppID: &zeroValue} + l.GetAppID() + l = &ListCheckSuiteOptions{} + l.GetAppID() + l = nil + l.GetAppID() +} + +func TestListCheckSuiteOptions_GetCheckName(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &ListCheckSuiteOptions{CheckName: &zeroValue} + l.GetCheckName() + l = &ListCheckSuiteOptions{} + l.GetCheckName() + l = nil + 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 + l := &ListCheckSuiteResults{Total: &zeroValue} + l.GetTotal() + l = &ListCheckSuiteResults{} + l.GetTotal() + l = nil + l.GetTotal() +} + +func TestListCodeQualityFindingsOptions_GetDirection(tt *testing.T) { + tt.Parallel() + l := &ListCodeQualityFindingsOptions{} + l.GetDirection() + l = nil + l.GetDirection() +} + +func TestListCodeQualityFindingsOptions_GetState(tt *testing.T) { + tt.Parallel() + l := &ListCodeQualityFindingsOptions{} + l.GetState() + l = nil + l.GetState() +} + +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 + l := &ListCodespaces{TotalCount: &zeroValue} + l.GetTotalCount() + l = &ListCodespaces{} + l.GetTotalCount() + l = nil + 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 + l := &ListCostCenterOptions{State: &zeroValue} + l.GetState() + l = &ListCostCenterOptions{} + l.GetState() + l = nil + 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 + l := &ListCustomDeploymentRuleIntegrationsResponse{TotalCount: &zeroValue} + l.GetTotalCount() + l = &ListCustomDeploymentRuleIntegrationsResponse{} + l.GetTotalCount() + l = nil + 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 + l := &ListDeploymentProtectionRuleResponse{TotalCount: &zeroValue} + l.GetTotalCount() + l = &ListDeploymentProtectionRuleResponse{} + l.GetTotalCount() + l = nil + 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 + l := &ListExternalGroupsOptions{DisplayName: &zeroValue} + l.GetDisplayName() + l = &ListExternalGroupsOptions{} + l.GetDisplayName() + l = nil + 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 + l := &ListGlobalSecurityAdvisoriesOptions{Affects: &zeroValue} + l.GetAffects() + l = &ListGlobalSecurityAdvisoriesOptions{} + l.GetAffects() + l = nil + l.GetAffects() +} + +func TestListGlobalSecurityAdvisoriesOptions_GetCVEID(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &ListGlobalSecurityAdvisoriesOptions{CVEID: &zeroValue} + l.GetCVEID() + l = &ListGlobalSecurityAdvisoriesOptions{} + l.GetCVEID() + l = nil + 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 + l := &ListGlobalSecurityAdvisoriesOptions{Ecosystem: &zeroValue} + l.GetEcosystem() + l = &ListGlobalSecurityAdvisoriesOptions{} + l.GetEcosystem() + l = nil + l.GetEcosystem() +} + +func TestListGlobalSecurityAdvisoriesOptions_GetGHSAID(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &ListGlobalSecurityAdvisoriesOptions{GHSAID: &zeroValue} + l.GetGHSAID() + l = &ListGlobalSecurityAdvisoriesOptions{} + l.GetGHSAID() + l = nil + l.GetGHSAID() +} + +func TestListGlobalSecurityAdvisoriesOptions_GetIsWithdrawn(tt *testing.T) { + tt.Parallel() + var zeroValue bool + l := &ListGlobalSecurityAdvisoriesOptions{IsWithdrawn: &zeroValue} + l.GetIsWithdrawn() + l = &ListGlobalSecurityAdvisoriesOptions{} + l.GetIsWithdrawn() + l = nil + l.GetIsWithdrawn() +} + +func TestListGlobalSecurityAdvisoriesOptions_GetModified(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &ListGlobalSecurityAdvisoriesOptions{Modified: &zeroValue} + l.GetModified() + l = &ListGlobalSecurityAdvisoriesOptions{} + l.GetModified() + l = nil + l.GetModified() +} + +func TestListGlobalSecurityAdvisoriesOptions_GetPublished(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &ListGlobalSecurityAdvisoriesOptions{Published: &zeroValue} + l.GetPublished() + l = &ListGlobalSecurityAdvisoriesOptions{} + l.GetPublished() + l = nil + l.GetPublished() +} + +func TestListGlobalSecurityAdvisoriesOptions_GetSeverity(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &ListGlobalSecurityAdvisoriesOptions{Severity: &zeroValue} + l.GetSeverity() + l = &ListGlobalSecurityAdvisoriesOptions{} + l.GetSeverity() + l = nil + l.GetSeverity() +} + +func TestListGlobalSecurityAdvisoriesOptions_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &ListGlobalSecurityAdvisoriesOptions{Type: &zeroValue} + l.GetType() + l = &ListGlobalSecurityAdvisoriesOptions{} + l.GetType() + l = nil + l.GetType() +} + +func TestListGlobalSecurityAdvisoriesOptions_GetUpdated(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &ListGlobalSecurityAdvisoriesOptions{Updated: &zeroValue} + l.GetUpdated() + l = &ListGlobalSecurityAdvisoriesOptions{} + l.GetUpdated() + l = nil + 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 + l := &ListLicensesOptions{Featured: &zeroValue} + l.GetFeatured() + l = &ListLicensesOptions{} + l.GetFeatured() + l = nil + 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 TestListOrganizationCopilotCodingAgentRepositoriesResponse_GetRepositories(tt *testing.T) { + tt.Parallel() + zeroValue := []*Repository{} + l := &ListOrganizationCopilotCodingAgentRepositoriesResponse{Repositories: zeroValue} + l.GetRepositories() + l = &ListOrganizationCopilotCodingAgentRepositoriesResponse{} + l.GetRepositories() + l = nil + l.GetRepositories() +} + +func TestListOrganizationCopilotCodingAgentRepositoriesResponse_GetTotalCount(tt *testing.T) { + tt.Parallel() + l := &ListOrganizationCopilotCodingAgentRepositoriesResponse{} + l.GetTotalCount() + l = nil + l.GetTotalCount() +} + +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 + l := &ListOrganizations{TotalCount: &zeroValue} + l.GetTotalCount() + l = &ListOrganizations{} + l.GetTotalCount() + l = nil + 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 + l := &ListProvisionedSCIMGroupsEnterpriseOptions{Count: &zeroValue} + l.GetCount() + l = &ListProvisionedSCIMGroupsEnterpriseOptions{} + l.GetCount() + l = nil + l.GetCount() +} + +func TestListProvisionedSCIMGroupsEnterpriseOptions_GetExcludedAttributes(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &ListProvisionedSCIMGroupsEnterpriseOptions{ExcludedAttributes: &zeroValue} + l.GetExcludedAttributes() + l = &ListProvisionedSCIMGroupsEnterpriseOptions{} + l.GetExcludedAttributes() + l = nil + l.GetExcludedAttributes() +} + +func TestListProvisionedSCIMGroupsEnterpriseOptions_GetFilter(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &ListProvisionedSCIMGroupsEnterpriseOptions{Filter: &zeroValue} + l.GetFilter() + l = &ListProvisionedSCIMGroupsEnterpriseOptions{} + l.GetFilter() + l = nil + l.GetFilter() +} + +func TestListProvisionedSCIMGroupsEnterpriseOptions_GetStartIndex(tt *testing.T) { + tt.Parallel() + var zeroValue int + l := &ListProvisionedSCIMGroupsEnterpriseOptions{StartIndex: &zeroValue} + l.GetStartIndex() + l = &ListProvisionedSCIMGroupsEnterpriseOptions{} + l.GetStartIndex() + l = nil + l.GetStartIndex() +} + +func TestListProvisionedSCIMUsersEnterpriseOptions_GetCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + l := &ListProvisionedSCIMUsersEnterpriseOptions{Count: &zeroValue} + l.GetCount() + l = &ListProvisionedSCIMUsersEnterpriseOptions{} + l.GetCount() + l = nil + l.GetCount() +} + +func TestListProvisionedSCIMUsersEnterpriseOptions_GetFilter(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &ListProvisionedSCIMUsersEnterpriseOptions{Filter: &zeroValue} + l.GetFilter() + l = &ListProvisionedSCIMUsersEnterpriseOptions{} + l.GetFilter() + l = nil + l.GetFilter() +} + +func TestListProvisionedSCIMUsersEnterpriseOptions_GetStartIndex(tt *testing.T) { + tt.Parallel() + var zeroValue int + l := &ListProvisionedSCIMUsersEnterpriseOptions{StartIndex: &zeroValue} + l.GetStartIndex() + l = &ListProvisionedSCIMUsersEnterpriseOptions{} + l.GetStartIndex() + l = nil + 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 + l := &ListRepoMachineTypesOptions{ClientIP: &zeroValue} + l.GetClientIP() + l = &ListRepoMachineTypesOptions{} + l.GetClientIP() + l = nil + l.GetClientIP() +} + +func TestListRepoMachineTypesOptions_GetLocation(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &ListRepoMachineTypesOptions{Location: &zeroValue} + l.GetLocation() + l = &ListRepoMachineTypesOptions{} + l.GetLocation() + l = nil + l.GetLocation() +} + +func TestListRepoMachineTypesOptions_GetRef(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &ListRepoMachineTypesOptions{Ref: &zeroValue} + l.GetRef() + l = &ListRepoMachineTypesOptions{} + l.GetRef() + l = nil + 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 + l := &ListRepositories{TotalCount: &zeroValue} + l.GetTotalCount() + l = &ListRepositories{} + l.GetTotalCount() + l = nil + 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 + l := &ListRunnersOptions{Name: &zeroValue} + l.GetName() + l = &ListRunnersOptions{} + l.GetName() + l = nil + l.GetName() +} + +func TestListSCIMProvisionedIdentitiesOptions_GetCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + l := &ListSCIMProvisionedIdentitiesOptions{Count: &zeroValue} + l.GetCount() + l = &ListSCIMProvisionedIdentitiesOptions{} + l.GetCount() + l = nil + l.GetCount() +} + +func TestListSCIMProvisionedIdentitiesOptions_GetFilter(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &ListSCIMProvisionedIdentitiesOptions{Filter: &zeroValue} + l.GetFilter() + l = &ListSCIMProvisionedIdentitiesOptions{} + l.GetFilter() + l = nil + l.GetFilter() +} + +func TestListSCIMProvisionedIdentitiesOptions_GetStartIndex(tt *testing.T) { + tt.Parallel() + var zeroValue int + l := &ListSCIMProvisionedIdentitiesOptions{StartIndex: &zeroValue} + l.GetStartIndex() + l = &ListSCIMProvisionedIdentitiesOptions{} + l.GetStartIndex() + l = nil + 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 TestListVisualStudioSubscriptionsOptions_GetIsUnmatchedOnly(tt *testing.T) { + tt.Parallel() + l := &ListVisualStudioSubscriptionsOptions{} + l.GetIsUnmatchedOnly() + l = nil + l.GetIsUnmatchedOnly() +} + +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 + l := &Location{EndColumn: &zeroValue} + l.GetEndColumn() + l = &Location{} + l.GetEndColumn() + l = nil + l.GetEndColumn() +} + +func TestLocation_GetEndLine(tt *testing.T) { + tt.Parallel() + var zeroValue int + l := &Location{EndLine: &zeroValue} + l.GetEndLine() + l = &Location{} + l.GetEndLine() + l = nil + l.GetEndLine() +} + +func TestLocation_GetPath(tt *testing.T) { + tt.Parallel() + var zeroValue string + l := &Location{Path: &zeroValue} + l.GetPath() + l = &Location{} + l.GetPath() + l = nil + l.GetPath() +} + +func TestLocation_GetStartColumn(tt *testing.T) { + tt.Parallel() + var zeroValue int + l := &Location{StartColumn: &zeroValue} + l.GetStartColumn() + l = &Location{} + l.GetStartColumn() + l = nil + l.GetStartColumn() +} + +func TestLocation_GetStartLine(tt *testing.T) { + tt.Parallel() + var zeroValue int + l := &Location{StartLine: &zeroValue} + l.GetStartLine() + l = &Location{} + l.GetStartLine() + l = nil + l.GetStartLine() +} + +func TestLockBranch_GetEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + l := &LockBranch{Enabled: &zeroValue} + l.GetEnabled() + l = &LockBranch{} + l.GetEnabled() + l = nil + 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 + m := &MaintenanceOperationStatus{Hostname: &zeroValue} + m.GetHostname() + m = &MaintenanceOperationStatus{} + m.GetHostname() + m = nil + m.GetHostname() +} + +func TestMaintenanceOperationStatus_GetMessage(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MaintenanceOperationStatus{Message: &zeroValue} + m.GetMessage() + m = &MaintenanceOperationStatus{} + m.GetMessage() + m = nil + m.GetMessage() +} + +func TestMaintenanceOperationStatus_GetUUID(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MaintenanceOperationStatus{UUID: &zeroValue} + m.GetUUID() + m = &MaintenanceOperationStatus{} + m.GetUUID() + m = nil + 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 + m := &MaintenanceOptions{MaintenanceModeMessage: &zeroValue} + m.GetMaintenanceModeMessage() + m = &MaintenanceOptions{} + m.GetMaintenanceModeMessage() + m = nil + m.GetMaintenanceModeMessage() +} + +func TestMaintenanceOptions_GetUUID(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MaintenanceOptions{UUID: &zeroValue} + m.GetUUID() + m = &MaintenanceOptions{} + m.GetUUID() + m = nil + m.GetUUID() +} + +func TestMaintenanceOptions_GetWhen(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MaintenanceOptions{When: &zeroValue} + m.GetWhen() + m = &MaintenanceOptions{} + m.GetWhen() + m = nil + m.GetWhen() +} + +func TestMaintenanceStatus_GetCanUnsetMaintenance(tt *testing.T) { + tt.Parallel() + var zeroValue bool + m := &MaintenanceStatus{CanUnsetMaintenance: &zeroValue} + m.GetCanUnsetMaintenance() + m = &MaintenanceStatus{} + m.GetCanUnsetMaintenance() + m = nil + 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 + m := &MaintenanceStatus{Hostname: &zeroValue} + m.GetHostname() + m = &MaintenanceStatus{} + m.GetHostname() + m = nil + 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 + m := &MaintenanceStatus{MaintenanceModeMessage: &zeroValue} + m.GetMaintenanceModeMessage() + m = &MaintenanceStatus{} + m.GetMaintenanceModeMessage() + m = nil + m.GetMaintenanceModeMessage() +} + +func TestMaintenanceStatus_GetScheduledTime(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + m := &MaintenanceStatus{ScheduledTime: &zeroValue} + m.GetScheduledTime() + m = &MaintenanceStatus{} + m.GetScheduledTime() + m = nil + m.GetScheduledTime() +} + +func TestMaintenanceStatus_GetStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MaintenanceStatus{Status: &zeroValue} + m.GetStatus() + m = &MaintenanceStatus{} + m.GetStatus() + m = nil + m.GetStatus() +} + +func TestMaintenanceStatus_GetUUID(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MaintenanceStatus{UUID: &zeroValue} + m.GetUUID() + m = &MaintenanceStatus{} + m.GetUUID() + m = nil + 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 + m := &MarketplacePendingChange{EffectiveDate: &zeroValue} + m.GetEffectiveDate() + m = &MarketplacePendingChange{} + m.GetEffectiveDate() + m = nil + m.GetEffectiveDate() +} + +func TestMarketplacePendingChange_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + m := &MarketplacePendingChange{ID: &zeroValue} + m.GetID() + m = &MarketplacePendingChange{} + m.GetID() + m = nil + m.GetID() +} + +func TestMarketplacePendingChange_GetPlan(tt *testing.T) { + tt.Parallel() + m := &MarketplacePendingChange{} + m.GetPlan() + m = nil + m.GetPlan() +} + +func TestMarketplacePendingChange_GetUnitCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + m := &MarketplacePendingChange{UnitCount: &zeroValue} + m.GetUnitCount() + m = &MarketplacePendingChange{} + m.GetUnitCount() + m = nil + m.GetUnitCount() +} + +func TestMarketplacePlan_GetAccountsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MarketplacePlan{AccountsURL: &zeroValue} + m.GetAccountsURL() + m = &MarketplacePlan{} + m.GetAccountsURL() + m = nil + m.GetAccountsURL() +} + +func TestMarketplacePlan_GetBullets(tt *testing.T) { + tt.Parallel() + var zeroValue []string + m := &MarketplacePlan{Bullets: &zeroValue} + m.GetBullets() + m = &MarketplacePlan{} + m.GetBullets() + m = nil + m.GetBullets() +} + +func TestMarketplacePlan_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MarketplacePlan{Description: &zeroValue} + m.GetDescription() + m = &MarketplacePlan{} + m.GetDescription() + m = nil + m.GetDescription() +} + +func TestMarketplacePlan_GetHasFreeTrial(tt *testing.T) { + tt.Parallel() + var zeroValue bool + m := &MarketplacePlan{HasFreeTrial: &zeroValue} + m.GetHasFreeTrial() + m = &MarketplacePlan{} + m.GetHasFreeTrial() + m = nil + m.GetHasFreeTrial() +} + +func TestMarketplacePlan_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + m := &MarketplacePlan{ID: &zeroValue} + m.GetID() + m = &MarketplacePlan{} + m.GetID() + m = nil + m.GetID() +} + +func TestMarketplacePlan_GetMonthlyPriceInCents(tt *testing.T) { + tt.Parallel() + var zeroValue int + m := &MarketplacePlan{MonthlyPriceInCents: &zeroValue} + m.GetMonthlyPriceInCents() + m = &MarketplacePlan{} + m.GetMonthlyPriceInCents() + m = nil + m.GetMonthlyPriceInCents() +} + +func TestMarketplacePlan_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MarketplacePlan{Name: &zeroValue} + m.GetName() + m = &MarketplacePlan{} + m.GetName() + m = nil + m.GetName() +} + +func TestMarketplacePlan_GetNumber(tt *testing.T) { + tt.Parallel() + var zeroValue int + m := &MarketplacePlan{Number: &zeroValue} + m.GetNumber() + m = &MarketplacePlan{} + m.GetNumber() + m = nil + m.GetNumber() +} + +func TestMarketplacePlan_GetPriceModel(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MarketplacePlan{PriceModel: &zeroValue} + m.GetPriceModel() + m = &MarketplacePlan{} + m.GetPriceModel() + m = nil + m.GetPriceModel() +} + +func TestMarketplacePlan_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MarketplacePlan{State: &zeroValue} + m.GetState() + m = &MarketplacePlan{} + m.GetState() + m = nil + m.GetState() +} + +func TestMarketplacePlan_GetUnitName(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MarketplacePlan{UnitName: &zeroValue} + m.GetUnitName() + m = &MarketplacePlan{} + m.GetUnitName() + m = nil + m.GetUnitName() +} + +func TestMarketplacePlan_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MarketplacePlan{URL: &zeroValue} + m.GetURL() + m = &MarketplacePlan{} + m.GetURL() + m = nil + m.GetURL() +} + +func TestMarketplacePlan_GetYearlyPriceInCents(tt *testing.T) { + tt.Parallel() + var zeroValue int + m := &MarketplacePlan{YearlyPriceInCents: &zeroValue} + m.GetYearlyPriceInCents() + m = &MarketplacePlan{} + m.GetYearlyPriceInCents() + m = nil + m.GetYearlyPriceInCents() +} + +func TestMarketplacePlanAccount_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + m := &MarketplacePlanAccount{ID: &zeroValue} + m.GetID() + m = &MarketplacePlanAccount{} + m.GetID() + m = nil + m.GetID() +} + +func TestMarketplacePlanAccount_GetLogin(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MarketplacePlanAccount{Login: &zeroValue} + m.GetLogin() + m = &MarketplacePlanAccount{} + m.GetLogin() + m = nil + m.GetLogin() +} + +func TestMarketplacePlanAccount_GetMarketplacePendingChange(tt *testing.T) { + tt.Parallel() + m := &MarketplacePlanAccount{} + m.GetMarketplacePendingChange() + m = nil + m.GetMarketplacePendingChange() +} + +func TestMarketplacePlanAccount_GetMarketplacePurchase(tt *testing.T) { + tt.Parallel() + m := &MarketplacePlanAccount{} + m.GetMarketplacePurchase() + m = nil + m.GetMarketplacePurchase() +} + +func TestMarketplacePlanAccount_GetOrganizationBillingEmail(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MarketplacePlanAccount{OrganizationBillingEmail: &zeroValue} + m.GetOrganizationBillingEmail() + m = &MarketplacePlanAccount{} + m.GetOrganizationBillingEmail() + m = nil + m.GetOrganizationBillingEmail() +} + +func TestMarketplacePlanAccount_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MarketplacePlanAccount{Type: &zeroValue} + m.GetType() + m = &MarketplacePlanAccount{} + m.GetType() + m = nil + m.GetType() +} + +func TestMarketplacePlanAccount_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MarketplacePlanAccount{URL: &zeroValue} + m.GetURL() + m = &MarketplacePlanAccount{} + m.GetURL() + m = nil + m.GetURL() +} + +func TestMarketplacePurchase_GetAccount(tt *testing.T) { + tt.Parallel() + m := &MarketplacePurchase{} + m.GetAccount() + m = nil + m.GetAccount() +} + +func TestMarketplacePurchase_GetBillingCycle(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MarketplacePurchase{BillingCycle: &zeroValue} + m.GetBillingCycle() + m = &MarketplacePurchase{} + m.GetBillingCycle() + m = nil + m.GetBillingCycle() +} + +func TestMarketplacePurchase_GetFreeTrialEndsOn(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + m := &MarketplacePurchase{FreeTrialEndsOn: &zeroValue} + m.GetFreeTrialEndsOn() + m = &MarketplacePurchase{} + m.GetFreeTrialEndsOn() + m = nil + m.GetFreeTrialEndsOn() +} + +func TestMarketplacePurchase_GetNextBillingDate(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + m := &MarketplacePurchase{NextBillingDate: &zeroValue} + m.GetNextBillingDate() + m = &MarketplacePurchase{} + m.GetNextBillingDate() + m = nil + m.GetNextBillingDate() +} + +func TestMarketplacePurchase_GetOnFreeTrial(tt *testing.T) { + tt.Parallel() + var zeroValue bool + m := &MarketplacePurchase{OnFreeTrial: &zeroValue} + m.GetOnFreeTrial() + m = &MarketplacePurchase{} + m.GetOnFreeTrial() + m = nil + m.GetOnFreeTrial() +} + +func TestMarketplacePurchase_GetPlan(tt *testing.T) { + tt.Parallel() + m := &MarketplacePurchase{} + m.GetPlan() + m = nil + m.GetPlan() +} + +func TestMarketplacePurchase_GetUnitCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + m := &MarketplacePurchase{UnitCount: &zeroValue} + m.GetUnitCount() + m = &MarketplacePurchase{} + m.GetUnitCount() + m = nil + m.GetUnitCount() +} + +func TestMarketplacePurchase_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + m := &MarketplacePurchase{UpdatedAt: &zeroValue} + m.GetUpdatedAt() + m = &MarketplacePurchase{} + m.GetUpdatedAt() + m = nil + m.GetUpdatedAt() +} + +func TestMarketplacePurchaseAccount_GetEmail(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MarketplacePurchaseAccount{Email: &zeroValue} + m.GetEmail() + m = &MarketplacePurchaseAccount{} + m.GetEmail() + m = nil + m.GetEmail() +} + +func TestMarketplacePurchaseAccount_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + m := &MarketplacePurchaseAccount{ID: &zeroValue} + m.GetID() + m = &MarketplacePurchaseAccount{} + m.GetID() + m = nil + m.GetID() +} + +func TestMarketplacePurchaseAccount_GetLogin(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MarketplacePurchaseAccount{Login: &zeroValue} + m.GetLogin() + m = &MarketplacePurchaseAccount{} + m.GetLogin() + m = nil + m.GetLogin() +} + +func TestMarketplacePurchaseAccount_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MarketplacePurchaseAccount{NodeID: &zeroValue} + m.GetNodeID() + m = &MarketplacePurchaseAccount{} + m.GetNodeID() + m = nil + m.GetNodeID() +} + +func TestMarketplacePurchaseAccount_GetOrganizationBillingEmail(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MarketplacePurchaseAccount{OrganizationBillingEmail: &zeroValue} + m.GetOrganizationBillingEmail() + m = &MarketplacePurchaseAccount{} + m.GetOrganizationBillingEmail() + m = nil + m.GetOrganizationBillingEmail() +} + +func TestMarketplacePurchaseAccount_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MarketplacePurchaseAccount{Type: &zeroValue} + m.GetType() + m = &MarketplacePurchaseAccount{} + m.GetType() + m = nil + m.GetType() +} + +func TestMarketplacePurchaseAccount_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MarketplacePurchaseAccount{URL: &zeroValue} + m.GetURL() + m = &MarketplacePurchaseAccount{} + m.GetURL() + m = nil + m.GetURL() +} + +func TestMarketplacePurchaseEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MarketplacePurchaseEvent{Action: &zeroValue} + m.GetAction() + m = &MarketplacePurchaseEvent{} + m.GetAction() + m = nil + m.GetAction() +} + +func TestMarketplacePurchaseEvent_GetEffectiveDate(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + m := &MarketplacePurchaseEvent{EffectiveDate: &zeroValue} + m.GetEffectiveDate() + m = &MarketplacePurchaseEvent{} + m.GetEffectiveDate() + m = nil + m.GetEffectiveDate() +} + +func TestMarketplacePurchaseEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + m := &MarketplacePurchaseEvent{} + m.GetInstallation() + m = nil + m.GetInstallation() +} + +func TestMarketplacePurchaseEvent_GetMarketplacePurchase(tt *testing.T) { + tt.Parallel() + m := &MarketplacePurchaseEvent{} + m.GetMarketplacePurchase() + m = nil + m.GetMarketplacePurchase() +} + +func TestMarketplacePurchaseEvent_GetOrg(tt *testing.T) { + tt.Parallel() + m := &MarketplacePurchaseEvent{} + m.GetOrg() + m = nil + m.GetOrg() +} + +func TestMarketplacePurchaseEvent_GetPreviousMarketplacePurchase(tt *testing.T) { + tt.Parallel() + m := &MarketplacePurchaseEvent{} + m.GetPreviousMarketplacePurchase() + m = nil + m.GetPreviousMarketplacePurchase() +} + +func TestMarketplacePurchaseEvent_GetSender(tt *testing.T) { + tt.Parallel() + m := &MarketplacePurchaseEvent{} + m.GetSender() + m = nil + 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 + m := &Match{Text: &zeroValue} + m.GetText() + m = &Match{} + m.GetText() + m = nil + 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{} + m.GetPermission() + m = nil + m.GetPermission() +} + +func TestMemberChanges_GetRoleName(tt *testing.T) { + tt.Parallel() + m := &MemberChanges{} + m.GetRoleName() + m = nil + m.GetRoleName() +} + +func TestMemberChangesPermission_GetFrom(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MemberChangesPermission{From: &zeroValue} + m.GetFrom() + m = &MemberChangesPermission{} + m.GetFrom() + m = nil + m.GetFrom() +} + +func TestMemberChangesPermission_GetTo(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MemberChangesPermission{To: &zeroValue} + m.GetTo() + m = &MemberChangesPermission{} + m.GetTo() + m = nil + m.GetTo() +} + +func TestMemberChangesRoleName_GetFrom(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MemberChangesRoleName{From: &zeroValue} + m.GetFrom() + m = &MemberChangesRoleName{} + m.GetFrom() + m = nil + m.GetFrom() +} + +func TestMemberChangesRoleName_GetTo(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MemberChangesRoleName{To: &zeroValue} + m.GetTo() + m = &MemberChangesRoleName{} + m.GetTo() + m = nil + m.GetTo() +} + +func TestMemberEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MemberEvent{Action: &zeroValue} + m.GetAction() + m = &MemberEvent{} + m.GetAction() + m = nil + m.GetAction() +} + +func TestMemberEvent_GetChanges(tt *testing.T) { + tt.Parallel() + m := &MemberEvent{} + m.GetChanges() + m = nil + m.GetChanges() +} + +func TestMemberEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + m := &MemberEvent{} + m.GetInstallation() + m = nil + m.GetInstallation() +} + +func TestMemberEvent_GetMember(tt *testing.T) { + tt.Parallel() + m := &MemberEvent{} + m.GetMember() + m = nil + m.GetMember() +} + +func TestMemberEvent_GetOrg(tt *testing.T) { + tt.Parallel() + m := &MemberEvent{} + m.GetOrg() + m = nil + m.GetOrg() +} + +func TestMemberEvent_GetRepo(tt *testing.T) { + tt.Parallel() + m := &MemberEvent{} + m.GetRepo() + m = nil + m.GetRepo() +} + +func TestMemberEvent_GetSender(tt *testing.T) { + tt.Parallel() + m := &MemberEvent{} + m.GetSender() + m = nil + m.GetSender() +} + +func TestMembership_GetOrganization(tt *testing.T) { + tt.Parallel() + m := &Membership{} + m.GetOrganization() + m = nil + m.GetOrganization() +} + +func TestMembership_GetOrganizationURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &Membership{OrganizationURL: &zeroValue} + m.GetOrganizationURL() + m = &Membership{} + m.GetOrganizationURL() + m = nil + m.GetOrganizationURL() +} + +func TestMembership_GetRole(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &Membership{Role: &zeroValue} + m.GetRole() + m = &Membership{} + m.GetRole() + m = nil + m.GetRole() +} + +func TestMembership_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &Membership{State: &zeroValue} + m.GetState() + m = &Membership{} + m.GetState() + m = nil + m.GetState() +} + +func TestMembership_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &Membership{URL: &zeroValue} + m.GetURL() + m = &Membership{} + m.GetURL() + m = nil + m.GetURL() +} + +func TestMembership_GetUser(tt *testing.T) { + tt.Parallel() + m := &Membership{} + m.GetUser() + m = nil + m.GetUser() +} + +func TestMembershipEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MembershipEvent{Action: &zeroValue} + m.GetAction() + m = &MembershipEvent{} + m.GetAction() + m = nil + m.GetAction() +} + +func TestMembershipEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + m := &MembershipEvent{} + m.GetInstallation() + m = nil + m.GetInstallation() +} + +func TestMembershipEvent_GetMember(tt *testing.T) { + tt.Parallel() + m := &MembershipEvent{} + m.GetMember() + m = nil + m.GetMember() +} + +func TestMembershipEvent_GetOrg(tt *testing.T) { + tt.Parallel() + m := &MembershipEvent{} + m.GetOrg() + m = nil + m.GetOrg() +} + +func TestMembershipEvent_GetScope(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MembershipEvent{Scope: &zeroValue} + m.GetScope() + m = &MembershipEvent{} + m.GetScope() + m = nil + m.GetScope() +} + +func TestMembershipEvent_GetSender(tt *testing.T) { + tt.Parallel() + m := &MembershipEvent{} + m.GetSender() + m = nil + m.GetSender() +} + +func TestMembershipEvent_GetTeam(tt *testing.T) { + tt.Parallel() + m := &MembershipEvent{} + m.GetTeam() + m = nil + m.GetTeam() +} + +func TestMergeGroup_GetBaseRef(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MergeGroup{BaseRef: &zeroValue} + m.GetBaseRef() + m = &MergeGroup{} + m.GetBaseRef() + m = nil + m.GetBaseRef() +} + +func TestMergeGroup_GetBaseSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MergeGroup{BaseSHA: &zeroValue} + m.GetBaseSHA() + m = &MergeGroup{} + m.GetBaseSHA() + m = nil + m.GetBaseSHA() +} + +func TestMergeGroup_GetHeadCommit(tt *testing.T) { + tt.Parallel() + m := &MergeGroup{} + m.GetHeadCommit() + m = nil + m.GetHeadCommit() +} + +func TestMergeGroup_GetHeadRef(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MergeGroup{HeadRef: &zeroValue} + m.GetHeadRef() + m = &MergeGroup{} + m.GetHeadRef() + m = nil + m.GetHeadRef() +} + +func TestMergeGroup_GetHeadSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MergeGroup{HeadSHA: &zeroValue} + m.GetHeadSHA() + m = &MergeGroup{} + m.GetHeadSHA() + m = nil + m.GetHeadSHA() +} + +func TestMergeGroupEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MergeGroupEvent{Action: &zeroValue} + m.GetAction() + m = &MergeGroupEvent{} + m.GetAction() + m = nil + m.GetAction() +} + +func TestMergeGroupEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + m := &MergeGroupEvent{} + m.GetInstallation() + m = nil + m.GetInstallation() +} + +func TestMergeGroupEvent_GetMergeGroup(tt *testing.T) { + tt.Parallel() + m := &MergeGroupEvent{} + m.GetMergeGroup() + m = nil + m.GetMergeGroup() +} + +func TestMergeGroupEvent_GetOrg(tt *testing.T) { + tt.Parallel() + m := &MergeGroupEvent{} + m.GetOrg() + m = nil + m.GetOrg() +} + +func TestMergeGroupEvent_GetReason(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MergeGroupEvent{Reason: &zeroValue} + m.GetReason() + m = &MergeGroupEvent{} + m.GetReason() + m = nil + m.GetReason() +} + +func TestMergeGroupEvent_GetRepo(tt *testing.T) { + tt.Parallel() + m := &MergeGroupEvent{} + m.GetRepo() + m = nil + m.GetRepo() +} + +func TestMergeGroupEvent_GetSender(tt *testing.T) { + tt.Parallel() + m := &MergeGroupEvent{} + m.GetSender() + m = nil + 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 + m := &Message{Text: &zeroValue} + m.GetText() + m = &Message{} + m.GetText() + m = nil + m.GetText() +} + +func TestMetaEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MetaEvent{Action: &zeroValue} + m.GetAction() + m = &MetaEvent{} + m.GetAction() + m = nil + m.GetAction() +} + +func TestMetaEvent_GetHook(tt *testing.T) { + tt.Parallel() + m := &MetaEvent{} + m.GetHook() + m = nil + m.GetHook() +} + +func TestMetaEvent_GetHookID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + m := &MetaEvent{HookID: &zeroValue} + m.GetHookID() + m = &MetaEvent{} + m.GetHookID() + m = nil + m.GetHookID() +} + +func TestMetaEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + m := &MetaEvent{} + m.GetInstallation() + m = nil + m.GetInstallation() +} + +func TestMetaEvent_GetOrg(tt *testing.T) { + tt.Parallel() + m := &MetaEvent{} + m.GetOrg() + m = nil + m.GetOrg() +} + +func TestMetaEvent_GetRepo(tt *testing.T) { + tt.Parallel() + m := &MetaEvent{} + m.GetRepo() + m = nil + m.GetRepo() +} + +func TestMetaEvent_GetSender(tt *testing.T) { + tt.Parallel() + m := &MetaEvent{} + m.GetSender() + m = nil + m.GetSender() +} + +func TestMetric_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &Metric{HTMLURL: &zeroValue} + m.GetHTMLURL() + m = &Metric{} + m.GetHTMLURL() + m = nil + m.GetHTMLURL() +} + +func TestMetric_GetKey(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &Metric{Key: &zeroValue} + m.GetKey() + m = &Metric{} + m.GetKey() + m = nil + m.GetKey() +} + +func TestMetric_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &Metric{Name: &zeroValue} + m.GetName() + m = &Metric{} + m.GetName() + m = nil + m.GetName() +} + +func TestMetric_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &Metric{NodeID: &zeroValue} + m.GetNodeID() + m = &Metric{} + m.GetNodeID() + m = nil + m.GetNodeID() +} + +func TestMetric_GetSPDXID(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &Metric{SPDXID: &zeroValue} + m.GetSPDXID() + m = &Metric{} + m.GetSPDXID() + m = nil + m.GetSPDXID() +} + +func TestMetric_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &Metric{URL: &zeroValue} + m.GetURL() + m = &Metric{} + m.GetURL() + m = nil + m.GetURL() +} + +func TestMigration_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &Migration{CreatedAt: &zeroValue} + m.GetCreatedAt() + m = &Migration{} + m.GetCreatedAt() + m = nil + m.GetCreatedAt() +} + +func TestMigration_GetExcludeAttachments(tt *testing.T) { + tt.Parallel() + var zeroValue bool + m := &Migration{ExcludeAttachments: &zeroValue} + m.GetExcludeAttachments() + m = &Migration{} + m.GetExcludeAttachments() + m = nil + m.GetExcludeAttachments() +} + +func TestMigration_GetGUID(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &Migration{GUID: &zeroValue} + m.GetGUID() + m = &Migration{} + m.GetGUID() + m = nil + m.GetGUID() +} + +func TestMigration_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + m := &Migration{ID: &zeroValue} + m.GetID() + m = &Migration{} + m.GetID() + m = nil + m.GetID() +} + +func TestMigration_GetLockRepositories(tt *testing.T) { + tt.Parallel() + var zeroValue bool + m := &Migration{LockRepositories: &zeroValue} + m.GetLockRepositories() + m = &Migration{} + m.GetLockRepositories() + m = nil + 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 + m := &Migration{State: &zeroValue} + m.GetState() + m = &Migration{} + m.GetState() + m = nil + m.GetState() +} + +func TestMigration_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &Migration{UpdatedAt: &zeroValue} + m.GetUpdatedAt() + m = &Migration{} + m.GetUpdatedAt() + m = nil + m.GetUpdatedAt() +} + +func TestMigration_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &Migration{URL: &zeroValue} + m.GetURL() + m = &Migration{} + m.GetURL() + m = nil + 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 + m := &Milestone{ClosedAt: &zeroValue} + m.GetClosedAt() + m = &Milestone{} + m.GetClosedAt() + m = nil + m.GetClosedAt() +} + +func TestMilestone_GetClosedIssues(tt *testing.T) { + tt.Parallel() + var zeroValue int + m := &Milestone{ClosedIssues: &zeroValue} + m.GetClosedIssues() + m = &Milestone{} + m.GetClosedIssues() + m = nil + m.GetClosedIssues() +} + +func TestMilestone_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + m := &Milestone{CreatedAt: &zeroValue} + m.GetCreatedAt() + m = &Milestone{} + m.GetCreatedAt() + m = nil + m.GetCreatedAt() +} + +func TestMilestone_GetCreator(tt *testing.T) { + tt.Parallel() + m := &Milestone{} + m.GetCreator() + m = nil + m.GetCreator() +} + +func TestMilestone_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &Milestone{Description: &zeroValue} + m.GetDescription() + m = &Milestone{} + m.GetDescription() + m = nil + m.GetDescription() +} + +func TestMilestone_GetDueOn(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + m := &Milestone{DueOn: &zeroValue} + m.GetDueOn() + m = &Milestone{} + m.GetDueOn() + m = nil + m.GetDueOn() +} + +func TestMilestone_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &Milestone{HTMLURL: &zeroValue} + m.GetHTMLURL() + m = &Milestone{} + m.GetHTMLURL() + m = nil + m.GetHTMLURL() +} + +func TestMilestone_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + m := &Milestone{ID: &zeroValue} + m.GetID() + m = &Milestone{} + m.GetID() + m = nil + m.GetID() +} + +func TestMilestone_GetLabelsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &Milestone{LabelsURL: &zeroValue} + m.GetLabelsURL() + m = &Milestone{} + m.GetLabelsURL() + m = nil + m.GetLabelsURL() +} + +func TestMilestone_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &Milestone{NodeID: &zeroValue} + m.GetNodeID() + m = &Milestone{} + m.GetNodeID() + m = nil + m.GetNodeID() +} + +func TestMilestone_GetNumber(tt *testing.T) { + tt.Parallel() + var zeroValue int + m := &Milestone{Number: &zeroValue} + m.GetNumber() + m = &Milestone{} + m.GetNumber() + m = nil + m.GetNumber() +} + +func TestMilestone_GetOpenIssues(tt *testing.T) { + tt.Parallel() + var zeroValue int + m := &Milestone{OpenIssues: &zeroValue} + m.GetOpenIssues() + m = &Milestone{} + m.GetOpenIssues() + m = nil + m.GetOpenIssues() +} + +func TestMilestone_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &Milestone{State: &zeroValue} + m.GetState() + m = &Milestone{} + m.GetState() + m = nil + m.GetState() +} + +func TestMilestone_GetTitle(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &Milestone{Title: &zeroValue} + m.GetTitle() + m = &Milestone{} + m.GetTitle() + m = nil + m.GetTitle() +} + +func TestMilestone_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + m := &Milestone{UpdatedAt: &zeroValue} + m.GetUpdatedAt() + m = &Milestone{} + m.GetUpdatedAt() + m = nil + m.GetUpdatedAt() +} + +func TestMilestone_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &Milestone{URL: &zeroValue} + m.GetURL() + m = &Milestone{} + m.GetURL() + m = nil + m.GetURL() +} + +func TestMilestoneEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MilestoneEvent{Action: &zeroValue} + m.GetAction() + m = &MilestoneEvent{} + m.GetAction() + m = nil + m.GetAction() +} + +func TestMilestoneEvent_GetChanges(tt *testing.T) { + tt.Parallel() + m := &MilestoneEvent{} + m.GetChanges() + m = nil + m.GetChanges() +} + +func TestMilestoneEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + m := &MilestoneEvent{} + m.GetInstallation() + m = nil + m.GetInstallation() +} + +func TestMilestoneEvent_GetMilestone(tt *testing.T) { + tt.Parallel() + m := &MilestoneEvent{} + m.GetMilestone() + m = nil + m.GetMilestone() +} + +func TestMilestoneEvent_GetOrg(tt *testing.T) { + tt.Parallel() + m := &MilestoneEvent{} + m.GetOrg() + m = nil + m.GetOrg() +} + +func TestMilestoneEvent_GetRepo(tt *testing.T) { + tt.Parallel() + m := &MilestoneEvent{} + m.GetRepo() + m = nil + m.GetRepo() +} + +func TestMilestoneEvent_GetSender(tt *testing.T) { + tt.Parallel() + m := &MilestoneEvent{} + m.GetSender() + m = nil + 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 + m := &MilestoneStats{ClosedMilestones: &zeroValue} + m.GetClosedMilestones() + m = &MilestoneStats{} + m.GetClosedMilestones() + m = nil + m.GetClosedMilestones() +} + +func TestMilestoneStats_GetOpenMilestones(tt *testing.T) { + tt.Parallel() + var zeroValue int + m := &MilestoneStats{OpenMilestones: &zeroValue} + m.GetOpenMilestones() + m = &MilestoneStats{} + m.GetOpenMilestones() + m = nil + m.GetOpenMilestones() +} + +func TestMilestoneStats_GetTotalMilestones(tt *testing.T) { + tt.Parallel() + var zeroValue int + m := &MilestoneStats{TotalMilestones: &zeroValue} + m.GetTotalMilestones() + m = &MilestoneStats{} + m.GetTotalMilestones() + m = nil + m.GetTotalMilestones() +} + +func TestMinimizedIssueComment_GetReason(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MinimizedIssueComment{Reason: &zeroValue} + m.GetReason() + m = &MinimizedIssueComment{} + m.GetReason() + m = nil + m.GetReason() +} + +func TestMostRecentInstance_GetAnalysisKey(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MostRecentInstance{AnalysisKey: &zeroValue} + m.GetAnalysisKey() + m = &MostRecentInstance{} + m.GetAnalysisKey() + m = nil + m.GetAnalysisKey() +} + +func TestMostRecentInstance_GetCategory(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MostRecentInstance{Category: &zeroValue} + m.GetCategory() + m = &MostRecentInstance{} + m.GetCategory() + m = nil + 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 + m := &MostRecentInstance{CommitSHA: &zeroValue} + m.GetCommitSHA() + m = &MostRecentInstance{} + m.GetCommitSHA() + m = nil + m.GetCommitSHA() +} + +func TestMostRecentInstance_GetEnvironment(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MostRecentInstance{Environment: &zeroValue} + m.GetEnvironment() + m = &MostRecentInstance{} + m.GetEnvironment() + m = nil + m.GetEnvironment() +} + +func TestMostRecentInstance_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MostRecentInstance{HTMLURL: &zeroValue} + m.GetHTMLURL() + m = &MostRecentInstance{} + m.GetHTMLURL() + m = nil + m.GetHTMLURL() +} + +func TestMostRecentInstance_GetLocation(tt *testing.T) { + tt.Parallel() + m := &MostRecentInstance{} + m.GetLocation() + m = nil + m.GetLocation() +} + +func TestMostRecentInstance_GetMessage(tt *testing.T) { + tt.Parallel() + m := &MostRecentInstance{} + m.GetMessage() + m = nil + m.GetMessage() +} + +func TestMostRecentInstance_GetRef(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MostRecentInstance{Ref: &zeroValue} + m.GetRef() + m = &MostRecentInstance{} + m.GetRef() + m = nil + m.GetRef() +} + +func TestMostRecentInstance_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + m := &MostRecentInstance{State: &zeroValue} + m.GetState() + m = &MostRecentInstance{} + m.GetState() + m = nil + m.GetState() +} + +func TestNetworkConfiguration_GetComputeService(tt *testing.T) { + tt.Parallel() + n := &NetworkConfiguration{} + n.GetComputeService() + n = nil + n.GetComputeService() +} + +func TestNetworkConfiguration_GetCreatedOn(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + n := &NetworkConfiguration{CreatedOn: &zeroValue} + n.GetCreatedOn() + n = &NetworkConfiguration{} + n.GetCreatedOn() + n = nil + n.GetCreatedOn() +} + +func TestNetworkConfiguration_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue string + n := &NetworkConfiguration{ID: &zeroValue} + n.GetID() + n = &NetworkConfiguration{} + n.GetID() + n = nil + n.GetID() +} + +func TestNetworkConfiguration_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + n := &NetworkConfiguration{Name: &zeroValue} + n.GetName() + n = &NetworkConfiguration{} + n.GetName() + n = nil + 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{} + n.GetComputeService() + n = nil + n.GetComputeService() +} + +func TestNetworkConfigurationRequest_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + n := &NetworkConfigurationRequest{Name: &zeroValue} + n.GetName() + n = &NetworkConfigurationRequest{} + n.GetName() + n = nil + 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 + n := &NetworkConfigurations{TotalCount: &zeroValue} + n.GetTotalCount() + n = &NetworkConfigurations{} + n.GetTotalCount() + n = nil + n.GetTotalCount() +} + +func TestNetworkSettingsResource_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue string + n := &NetworkSettingsResource{ID: &zeroValue} + n.GetID() + n = &NetworkSettingsResource{} + n.GetID() + n = nil + n.GetID() +} + +func TestNetworkSettingsResource_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + n := &NetworkSettingsResource{Name: &zeroValue} + n.GetName() + n = &NetworkSettingsResource{} + n.GetName() + n = nil + n.GetName() +} + +func TestNetworkSettingsResource_GetNetworkConfigurationID(tt *testing.T) { + tt.Parallel() + var zeroValue string + n := &NetworkSettingsResource{NetworkConfigurationID: &zeroValue} + n.GetNetworkConfigurationID() + n = &NetworkSettingsResource{} + n.GetNetworkConfigurationID() + n = nil + n.GetNetworkConfigurationID() +} + +func TestNetworkSettingsResource_GetRegion(tt *testing.T) { + tt.Parallel() + var zeroValue string + n := &NetworkSettingsResource{Region: &zeroValue} + n.GetRegion() + n = &NetworkSettingsResource{} + n.GetRegion() + n = nil + n.GetRegion() +} + +func TestNetworkSettingsResource_GetSubnetID(tt *testing.T) { + tt.Parallel() + var zeroValue string + n := &NetworkSettingsResource{SubnetID: &zeroValue} + n.GetSubnetID() + n = &NetworkSettingsResource{} + n.GetSubnetID() + n = nil + n.GetSubnetID() +} + +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 + n := &NodeDetails{Hostname: &zeroValue} + n.GetHostname() + n = &NodeDetails{} + n.GetHostname() + n = nil + n.GetHostname() +} + +func TestNodeDetails_GetUUID(tt *testing.T) { + tt.Parallel() + var zeroValue string + n := &NodeDetails{UUID: &zeroValue} + n.GetUUID() + n = &NodeDetails{} + n.GetUUID() + n = nil + 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 + n := &NodeMetadataStatus{Topology: &zeroValue} + n.GetTopology() + n = &NodeMetadataStatus{} + n.GetTopology() + n = nil + n.GetTopology() +} + +func TestNodeQueryOptions_GetClusterRoles(tt *testing.T) { + tt.Parallel() + var zeroValue string + n := &NodeQueryOptions{ClusterRoles: &zeroValue} + n.GetClusterRoles() + n = &NodeQueryOptions{} + n.GetClusterRoles() + n = nil + n.GetClusterRoles() +} + +func TestNodeQueryOptions_GetUUID(tt *testing.T) { + tt.Parallel() + var zeroValue string + n := &NodeQueryOptions{UUID: &zeroValue} + n.GetUUID() + n = &NodeQueryOptions{} + n.GetUUID() + n = nil + n.GetUUID() +} + +func TestNodeReleaseVersion_GetHostname(tt *testing.T) { + tt.Parallel() + var zeroValue string + n := &NodeReleaseVersion{Hostname: &zeroValue} + n.GetHostname() + n = &NodeReleaseVersion{} + n.GetHostname() + n = nil + n.GetHostname() +} + +func TestNodeReleaseVersion_GetVersion(tt *testing.T) { + tt.Parallel() + n := &NodeReleaseVersion{} + n.GetVersion() + n = nil + n.GetVersion() +} + +func TestNotification_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue string + n := &Notification{ID: &zeroValue} + n.GetID() + n = &Notification{} + n.GetID() + n = nil + n.GetID() +} + +func TestNotification_GetLastReadAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + n := &Notification{LastReadAt: &zeroValue} + n.GetLastReadAt() + n = &Notification{} + n.GetLastReadAt() + n = nil + n.GetLastReadAt() +} + +func TestNotification_GetReason(tt *testing.T) { + tt.Parallel() + var zeroValue string + n := &Notification{Reason: &zeroValue} + n.GetReason() + n = &Notification{} + n.GetReason() + n = nil + n.GetReason() +} + +func TestNotification_GetRepository(tt *testing.T) { + tt.Parallel() + n := &Notification{} + n.GetRepository() + n = nil + n.GetRepository() +} + +func TestNotification_GetSubject(tt *testing.T) { + tt.Parallel() + n := &Notification{} + n.GetSubject() + n = nil + n.GetSubject() +} + +func TestNotification_GetUnread(tt *testing.T) { + tt.Parallel() + var zeroValue bool + n := &Notification{Unread: &zeroValue} + n.GetUnread() + n = &Notification{} + n.GetUnread() + n = nil + n.GetUnread() +} + +func TestNotification_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + n := &Notification{UpdatedAt: &zeroValue} + n.GetUpdatedAt() + n = &Notification{} + n.GetUpdatedAt() + n = nil + n.GetUpdatedAt() +} + +func TestNotification_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + n := &Notification{URL: &zeroValue} + n.GetURL() + n = &Notification{} + n.GetURL() + n = nil + 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 + n := &NotificationSubject{LatestCommentURL: &zeroValue} + n.GetLatestCommentURL() + n = &NotificationSubject{} + n.GetLatestCommentURL() + n = nil + n.GetLatestCommentURL() +} + +func TestNotificationSubject_GetTitle(tt *testing.T) { + tt.Parallel() + var zeroValue string + n := &NotificationSubject{Title: &zeroValue} + n.GetTitle() + n = &NotificationSubject{} + n.GetTitle() + n = nil + n.GetTitle() +} + +func TestNotificationSubject_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + n := &NotificationSubject{Type: &zeroValue} + n.GetType() + n = &NotificationSubject{} + n.GetType() + n = nil + n.GetType() +} + +func TestNotificationSubject_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + n := &NotificationSubject{URL: &zeroValue} + n.GetURL() + n = &NotificationSubject{} + n.GetURL() + n = nil + n.GetURL() +} + +func TestOAuthAPP_GetClientID(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &OAuthAPP{ClientID: &zeroValue} + o.GetClientID() + o = &OAuthAPP{} + o.GetClientID() + o = nil + o.GetClientID() +} + +func TestOAuthAPP_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &OAuthAPP{Name: &zeroValue} + o.GetName() + o = &OAuthAPP{} + o.GetName() + o = nil + o.GetName() +} + +func TestOAuthAPP_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &OAuthAPP{URL: &zeroValue} + o.GetURL() + o = &OAuthAPP{} + o.GetURL() + o = nil + o.GetURL() +} + +func TestOIDCCustomPropertyClaim_GetCustomPropertyName(tt *testing.T) { + tt.Parallel() + o := &OIDCCustomPropertyClaim{} + o.GetCustomPropertyName() + o = nil + o.GetCustomPropertyName() +} + +func TestOIDCCustomPropertyClaimResponse_GetInclusionSource(tt *testing.T) { + tt.Parallel() + o := &OIDCCustomPropertyClaimResponse{} + o.GetInclusionSource() + o = nil + o.GetInclusionSource() +} + +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_GetSubClaimPrefix(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &OIDCSubjectClaimCustomTemplate{SubClaimPrefix: &zeroValue} + o.GetSubClaimPrefix() + o = &OIDCSubjectClaimCustomTemplate{} + o.GetSubClaimPrefix() + o = nil + o.GetSubClaimPrefix() +} + +func TestOIDCSubjectClaimCustomTemplate_GetUseDefault(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &OIDCSubjectClaimCustomTemplate{UseDefault: &zeroValue} + o.GetUseDefault() + o = &OIDCSubjectClaimCustomTemplate{} + o.GetUseDefault() + o = nil + o.GetUseDefault() +} + +func TestOIDCSubjectClaimCustomTemplate_GetUseImmutableSubject(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &OIDCSubjectClaimCustomTemplate{UseImmutableSubject: &zeroValue} + o.GetUseImmutableSubject() + o = &OIDCSubjectClaimCustomTemplate{} + o.GetUseImmutableSubject() + o = nil + o.GetUseImmutableSubject() +} + +func TestOrganization_GetAdvancedSecurityEnabledForNewRepos(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{AdvancedSecurityEnabledForNewRepos: &zeroValue} + o.GetAdvancedSecurityEnabledForNewRepos() + o = &Organization{} + o.GetAdvancedSecurityEnabledForNewRepos() + o = nil + o.GetAdvancedSecurityEnabledForNewRepos() +} + +func TestOrganization_GetArchivedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + o := &Organization{ArchivedAt: &zeroValue} + o.GetArchivedAt() + o = &Organization{} + o.GetArchivedAt() + o = nil + o.GetArchivedAt() +} + +func TestOrganization_GetAvatarURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &Organization{AvatarURL: &zeroValue} + o.GetAvatarURL() + o = &Organization{} + o.GetAvatarURL() + o = nil + o.GetAvatarURL() +} + +func TestOrganization_GetBillingEmail(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &Organization{BillingEmail: &zeroValue} + o.GetBillingEmail() + o = &Organization{} + o.GetBillingEmail() + o = nil + o.GetBillingEmail() +} + +func TestOrganization_GetBlog(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &Organization{Blog: &zeroValue} + o.GetBlog() + o = &Organization{} + o.GetBlog() + o = nil + o.GetBlog() +} + +func TestOrganization_GetCollaborators(tt *testing.T) { + tt.Parallel() + var zeroValue int + o := &Organization{Collaborators: &zeroValue} + o.GetCollaborators() + o = &Organization{} + o.GetCollaborators() + o = nil + o.GetCollaborators() +} + +func TestOrganization_GetCompany(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &Organization{Company: &zeroValue} + o.GetCompany() + o = &Organization{} + o.GetCompany() + o = nil + o.GetCompany() +} + +func TestOrganization_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + o := &Organization{CreatedAt: &zeroValue} + o.GetCreatedAt() + o = &Organization{} + o.GetCreatedAt() + o = nil + o.GetCreatedAt() +} + +func TestOrganization_GetDefaultRepoPermission(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &Organization{DefaultRepoPermission: &zeroValue} + o.GetDefaultRepoPermission() + o = &Organization{} + o.GetDefaultRepoPermission() + o = nil + o.GetDefaultRepoPermission() +} + +func TestOrganization_GetDefaultRepoSettings(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &Organization{DefaultRepoSettings: &zeroValue} + o.GetDefaultRepoSettings() + o = &Organization{} + o.GetDefaultRepoSettings() + o = nil + o.GetDefaultRepoSettings() +} + +func TestOrganization_GetDefaultRepositoryBranch(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &Organization{DefaultRepositoryBranch: &zeroValue} + o.GetDefaultRepositoryBranch() + o = &Organization{} + o.GetDefaultRepositoryBranch() + o = nil + o.GetDefaultRepositoryBranch() +} + +func TestOrganization_GetDependabotAlertsEnabledForNewRepos(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{DependabotAlertsEnabledForNewRepos: &zeroValue} + o.GetDependabotAlertsEnabledForNewRepos() + o = &Organization{} + o.GetDependabotAlertsEnabledForNewRepos() + o = nil + o.GetDependabotAlertsEnabledForNewRepos() +} + +func TestOrganization_GetDependabotSecurityUpdatesEnabledForNewRepos(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{DependabotSecurityUpdatesEnabledForNewRepos: &zeroValue} + o.GetDependabotSecurityUpdatesEnabledForNewRepos() + o = &Organization{} + o.GetDependabotSecurityUpdatesEnabledForNewRepos() + o = nil + o.GetDependabotSecurityUpdatesEnabledForNewRepos() +} + +func TestOrganization_GetDependencyGraphEnabledForNewRepos(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{DependencyGraphEnabledForNewRepos: &zeroValue} + o.GetDependencyGraphEnabledForNewRepos() + o = &Organization{} + o.GetDependencyGraphEnabledForNewRepos() + o = nil + o.GetDependencyGraphEnabledForNewRepos() +} + +func TestOrganization_GetDeployKeysEnabledForRepositories(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{DeployKeysEnabledForRepositories: &zeroValue} + o.GetDeployKeysEnabledForRepositories() + o = &Organization{} + o.GetDeployKeysEnabledForRepositories() + o = nil + o.GetDeployKeysEnabledForRepositories() +} + +func TestOrganization_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &Organization{Description: &zeroValue} + o.GetDescription() + o = &Organization{} + o.GetDescription() + o = nil + o.GetDescription() +} + +func TestOrganization_GetDiskUsage(tt *testing.T) { + tt.Parallel() + var zeroValue int + o := &Organization{DiskUsage: &zeroValue} + o.GetDiskUsage() + o = &Organization{} + o.GetDiskUsage() + o = nil + o.GetDiskUsage() +} + +func TestOrganization_GetDisplayCommenterFullNameSettingEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{DisplayCommenterFullNameSettingEnabled: &zeroValue} + o.GetDisplayCommenterFullNameSettingEnabled() + o = &Organization{} + o.GetDisplayCommenterFullNameSettingEnabled() + o = nil + o.GetDisplayCommenterFullNameSettingEnabled() +} + +func TestOrganization_GetEmail(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &Organization{Email: &zeroValue} + o.GetEmail() + o = &Organization{} + o.GetEmail() + o = nil + o.GetEmail() +} + +func TestOrganization_GetEventsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &Organization{EventsURL: &zeroValue} + o.GetEventsURL() + o = &Organization{} + o.GetEventsURL() + o = nil + o.GetEventsURL() +} + +func TestOrganization_GetFollowers(tt *testing.T) { + tt.Parallel() + var zeroValue int + o := &Organization{Followers: &zeroValue} + o.GetFollowers() + o = &Organization{} + o.GetFollowers() + o = nil + o.GetFollowers() +} + +func TestOrganization_GetFollowing(tt *testing.T) { + tt.Parallel() + var zeroValue int + o := &Organization{Following: &zeroValue} + o.GetFollowing() + o = &Organization{} + o.GetFollowing() + o = nil + o.GetFollowing() +} + +func TestOrganization_GetHasOrganizationProjects(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{HasOrganizationProjects: &zeroValue} + o.GetHasOrganizationProjects() + o = &Organization{} + o.GetHasOrganizationProjects() + o = nil + o.GetHasOrganizationProjects() +} + +func TestOrganization_GetHasRepositoryProjects(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{HasRepositoryProjects: &zeroValue} + o.GetHasRepositoryProjects() + o = &Organization{} + o.GetHasRepositoryProjects() + o = nil + o.GetHasRepositoryProjects() +} + +func TestOrganization_GetHooksURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &Organization{HooksURL: &zeroValue} + o.GetHooksURL() + o = &Organization{} + o.GetHooksURL() + o = nil + o.GetHooksURL() +} + +func TestOrganization_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &Organization{HTMLURL: &zeroValue} + o.GetHTMLURL() + o = &Organization{} + o.GetHTMLURL() + o = nil + o.GetHTMLURL() +} + +func TestOrganization_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + o := &Organization{ID: &zeroValue} + o.GetID() + o = &Organization{} + o.GetID() + o = nil + o.GetID() +} + +func TestOrganization_GetIssuesURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &Organization{IssuesURL: &zeroValue} + o.GetIssuesURL() + o = &Organization{} + o.GetIssuesURL() + o = nil + o.GetIssuesURL() +} + +func TestOrganization_GetIsVerified(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{IsVerified: &zeroValue} + o.GetIsVerified() + o = &Organization{} + o.GetIsVerified() + o = nil + o.GetIsVerified() +} + +func TestOrganization_GetLocation(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &Organization{Location: &zeroValue} + o.GetLocation() + o = &Organization{} + o.GetLocation() + o = nil + o.GetLocation() +} + +func TestOrganization_GetLogin(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &Organization{Login: &zeroValue} + o.GetLogin() + o = &Organization{} + o.GetLogin() + o = nil + o.GetLogin() +} + +func TestOrganization_GetMembersAllowedRepositoryCreationType(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &Organization{MembersAllowedRepositoryCreationType: &zeroValue} + o.GetMembersAllowedRepositoryCreationType() + o = &Organization{} + o.GetMembersAllowedRepositoryCreationType() + o = nil + o.GetMembersAllowedRepositoryCreationType() +} + +func TestOrganization_GetMembersCanChangeRepoVisibility(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{MembersCanChangeRepoVisibility: &zeroValue} + o.GetMembersCanChangeRepoVisibility() + o = &Organization{} + o.GetMembersCanChangeRepoVisibility() + o = nil + o.GetMembersCanChangeRepoVisibility() +} + +func TestOrganization_GetMembersCanCreateInternalRepos(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{MembersCanCreateInternalRepos: &zeroValue} + o.GetMembersCanCreateInternalRepos() + o = &Organization{} + o.GetMembersCanCreateInternalRepos() + o = nil + o.GetMembersCanCreateInternalRepos() +} + +func TestOrganization_GetMembersCanCreatePages(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{MembersCanCreatePages: &zeroValue} + o.GetMembersCanCreatePages() + o = &Organization{} + o.GetMembersCanCreatePages() + o = nil + o.GetMembersCanCreatePages() +} + +func TestOrganization_GetMembersCanCreatePrivatePages(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{MembersCanCreatePrivatePages: &zeroValue} + o.GetMembersCanCreatePrivatePages() + o = &Organization{} + o.GetMembersCanCreatePrivatePages() + o = nil + o.GetMembersCanCreatePrivatePages() +} + +func TestOrganization_GetMembersCanCreatePrivateRepos(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{MembersCanCreatePrivateRepos: &zeroValue} + o.GetMembersCanCreatePrivateRepos() + o = &Organization{} + o.GetMembersCanCreatePrivateRepos() + o = nil + o.GetMembersCanCreatePrivateRepos() +} + +func TestOrganization_GetMembersCanCreatePublicPages(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{MembersCanCreatePublicPages: &zeroValue} + o.GetMembersCanCreatePublicPages() + o = &Organization{} + o.GetMembersCanCreatePublicPages() + o = nil + o.GetMembersCanCreatePublicPages() +} + +func TestOrganization_GetMembersCanCreatePublicRepos(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{MembersCanCreatePublicRepos: &zeroValue} + o.GetMembersCanCreatePublicRepos() + o = &Organization{} + o.GetMembersCanCreatePublicRepos() + o = nil + o.GetMembersCanCreatePublicRepos() +} + +func TestOrganization_GetMembersCanCreateRepos(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{MembersCanCreateRepos: &zeroValue} + o.GetMembersCanCreateRepos() + o = &Organization{} + o.GetMembersCanCreateRepos() + o = nil + o.GetMembersCanCreateRepos() +} + +func TestOrganization_GetMembersCanCreateTeams(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{MembersCanCreateTeams: &zeroValue} + o.GetMembersCanCreateTeams() + o = &Organization{} + o.GetMembersCanCreateTeams() + o = nil + o.GetMembersCanCreateTeams() +} + +func TestOrganization_GetMembersCanDeleteIssues(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{MembersCanDeleteIssues: &zeroValue} + o.GetMembersCanDeleteIssues() + o = &Organization{} + o.GetMembersCanDeleteIssues() + o = nil + o.GetMembersCanDeleteIssues() +} + +func TestOrganization_GetMembersCanDeleteRepositories(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{MembersCanDeleteRepositories: &zeroValue} + o.GetMembersCanDeleteRepositories() + o = &Organization{} + o.GetMembersCanDeleteRepositories() + o = nil + o.GetMembersCanDeleteRepositories() +} + +func TestOrganization_GetMembersCanForkPrivateRepos(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{MembersCanForkPrivateRepos: &zeroValue} + o.GetMembersCanForkPrivateRepos() + o = &Organization{} + o.GetMembersCanForkPrivateRepos() + o = nil + o.GetMembersCanForkPrivateRepos() +} + +func TestOrganization_GetMembersCanInviteOutsideCollaborators(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{MembersCanInviteOutsideCollaborators: &zeroValue} + o.GetMembersCanInviteOutsideCollaborators() + o = &Organization{} + o.GetMembersCanInviteOutsideCollaborators() + o = nil + o.GetMembersCanInviteOutsideCollaborators() +} + +func TestOrganization_GetMembersCanViewDependencyInsights(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{MembersCanViewDependencyInsights: &zeroValue} + o.GetMembersCanViewDependencyInsights() + o = &Organization{} + o.GetMembersCanViewDependencyInsights() + o = nil + o.GetMembersCanViewDependencyInsights() +} + +func TestOrganization_GetMembersURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &Organization{MembersURL: &zeroValue} + o.GetMembersURL() + o = &Organization{} + o.GetMembersURL() + o = nil + o.GetMembersURL() +} + +func TestOrganization_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &Organization{Name: &zeroValue} + o.GetName() + o = &Organization{} + o.GetName() + o = nil + o.GetName() +} + +func TestOrganization_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &Organization{NodeID: &zeroValue} + o.GetNodeID() + o = &Organization{} + o.GetNodeID() + o = nil + o.GetNodeID() +} + +func TestOrganization_GetOwnedPrivateRepos(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + o := &Organization{OwnedPrivateRepos: &zeroValue} + o.GetOwnedPrivateRepos() + o = &Organization{} + o.GetOwnedPrivateRepos() + o = nil + o.GetOwnedPrivateRepos() +} + +func TestOrganization_GetPlan(tt *testing.T) { + tt.Parallel() + o := &Organization{} + o.GetPlan() + o = nil + o.GetPlan() +} + +func TestOrganization_GetPrivateGists(tt *testing.T) { + tt.Parallel() + var zeroValue int + o := &Organization{PrivateGists: &zeroValue} + o.GetPrivateGists() + o = &Organization{} + o.GetPrivateGists() + o = nil + o.GetPrivateGists() +} + +func TestOrganization_GetPublicGists(tt *testing.T) { + tt.Parallel() + var zeroValue int + o := &Organization{PublicGists: &zeroValue} + o.GetPublicGists() + o = &Organization{} + o.GetPublicGists() + o = nil + o.GetPublicGists() +} + +func TestOrganization_GetPublicMembersURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &Organization{PublicMembersURL: &zeroValue} + o.GetPublicMembersURL() + o = &Organization{} + o.GetPublicMembersURL() + o = nil + o.GetPublicMembersURL() +} + +func TestOrganization_GetPublicRepos(tt *testing.T) { + tt.Parallel() + var zeroValue int + o := &Organization{PublicRepos: &zeroValue} + o.GetPublicRepos() + o = &Organization{} + o.GetPublicRepos() + o = nil + o.GetPublicRepos() +} + +func TestOrganization_GetReadersCanCreateDiscussions(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{ReadersCanCreateDiscussions: &zeroValue} + o.GetReadersCanCreateDiscussions() + o = &Organization{} + o.GetReadersCanCreateDiscussions() + o = nil + o.GetReadersCanCreateDiscussions() +} + +func TestOrganization_GetReposURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &Organization{ReposURL: &zeroValue} + o.GetReposURL() + o = &Organization{} + o.GetReposURL() + o = nil + o.GetReposURL() +} + +func TestOrganization_GetSecretScanningEnabledForNewRepos(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{SecretScanningEnabledForNewRepos: &zeroValue} + o.GetSecretScanningEnabledForNewRepos() + o = &Organization{} + o.GetSecretScanningEnabledForNewRepos() + o = nil + o.GetSecretScanningEnabledForNewRepos() +} + +func TestOrganization_GetSecretScanningPushProtectionCustomLink(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &Organization{SecretScanningPushProtectionCustomLink: &zeroValue} + o.GetSecretScanningPushProtectionCustomLink() + o = &Organization{} + o.GetSecretScanningPushProtectionCustomLink() + o = nil + o.GetSecretScanningPushProtectionCustomLink() +} + +func TestOrganization_GetSecretScanningPushProtectionCustomLinkEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{SecretScanningPushProtectionCustomLinkEnabled: &zeroValue} + o.GetSecretScanningPushProtectionCustomLinkEnabled() + o = &Organization{} + o.GetSecretScanningPushProtectionCustomLinkEnabled() + o = nil + o.GetSecretScanningPushProtectionCustomLinkEnabled() +} + +func TestOrganization_GetSecretScanningPushProtectionEnabledForNewRepos(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{SecretScanningPushProtectionEnabledForNewRepos: &zeroValue} + o.GetSecretScanningPushProtectionEnabledForNewRepos() + o = &Organization{} + o.GetSecretScanningPushProtectionEnabledForNewRepos() + o = nil + o.GetSecretScanningPushProtectionEnabledForNewRepos() +} + +func TestOrganization_GetSecretScanningValidityChecksEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{SecretScanningValidityChecksEnabled: &zeroValue} + o.GetSecretScanningValidityChecksEnabled() + o = &Organization{} + o.GetSecretScanningValidityChecksEnabled() + o = nil + o.GetSecretScanningValidityChecksEnabled() +} + +func TestOrganization_GetTotalPrivateRepos(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + o := &Organization{TotalPrivateRepos: &zeroValue} + o.GetTotalPrivateRepos() + o = &Organization{} + o.GetTotalPrivateRepos() + o = nil + o.GetTotalPrivateRepos() +} + +func TestOrganization_GetTwitterUsername(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &Organization{TwitterUsername: &zeroValue} + o.GetTwitterUsername() + o = &Organization{} + o.GetTwitterUsername() + o = nil + o.GetTwitterUsername() +} + +func TestOrganization_GetTwoFactorRequirementEnabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{TwoFactorRequirementEnabled: &zeroValue} + o.GetTwoFactorRequirementEnabled() + o = &Organization{} + o.GetTwoFactorRequirementEnabled() + o = nil + o.GetTwoFactorRequirementEnabled() +} + +func TestOrganization_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &Organization{Type: &zeroValue} + o.GetType() + o = &Organization{} + o.GetType() + o = nil + o.GetType() +} + +func TestOrganization_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + o := &Organization{UpdatedAt: &zeroValue} + o.GetUpdatedAt() + o = &Organization{} + o.GetUpdatedAt() + o = nil + o.GetUpdatedAt() +} + +func TestOrganization_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &Organization{URL: &zeroValue} + o.GetURL() + o = &Organization{} + o.GetURL() + o = nil + o.GetURL() +} + +func TestOrganization_GetWebCommitSignoffRequired(tt *testing.T) { + tt.Parallel() + var zeroValue bool + o := &Organization{WebCommitSignoffRequired: &zeroValue} + o.GetWebCommitSignoffRequired() + o = &Organization{} + o.GetWebCommitSignoffRequired() + o = nil + 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 + o := &OrganizationCustomRepoRoles{TotalCount: &zeroValue} + o.GetTotalCount() + o = &OrganizationCustomRepoRoles{} + o.GetTotalCount() + o = nil + 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 + o := &OrganizationCustomRoles{TotalCount: &zeroValue} + o.GetTotalCount() + o = &OrganizationCustomRoles{} + o.GetTotalCount() + o = nil + o.GetTotalCount() +} + +func TestOrganizationEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + o := &OrganizationEvent{Action: &zeroValue} + o.GetAction() + o = &OrganizationEvent{} + o.GetAction() + o = nil + o.GetAction() +} + +func TestOrganizationEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + o := &OrganizationEvent{} + o.GetInstallation() + o = nil + o.GetInstallation() +} + +func TestOrganizationEvent_GetInvitation(tt *testing.T) { + tt.Parallel() + o := &OrganizationEvent{} + o.GetInvitation() + o = nil + o.GetInvitation() +} + +func TestOrganizationEvent_GetMembership(tt *testing.T) { + tt.Parallel() + o := &OrganizationEvent{} + o.GetMembership() + o = nil + o.GetMembership() +} + +func TestOrganizationEvent_GetOrganization(tt *testing.T) { + tt.Parallel() + o := &OrganizationEvent{} + o.GetOrganization() + o = nil + o.GetOrganization() +} + +func TestOrganizationEvent_GetSender(tt *testing.T) { + tt.Parallel() + o := &OrganizationEvent{} + o.GetSender() + o = nil + 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 + o := &OrganizationInstallations{TotalCount: &zeroValue} + o.GetTotalCount() + o = &OrganizationInstallations{} + o.GetTotalCount() + o = nil + 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 + o := &OrgBlockEvent{Action: &zeroValue} + o.GetAction() + o = &OrgBlockEvent{} + o.GetAction() + o = nil + o.GetAction() +} + +func TestOrgBlockEvent_GetBlockedUser(tt *testing.T) { + tt.Parallel() + o := &OrgBlockEvent{} + o.GetBlockedUser() + o = nil + o.GetBlockedUser() +} + +func TestOrgBlockEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + o := &OrgBlockEvent{} + o.GetInstallation() + o = nil + o.GetInstallation() +} + +func TestOrgBlockEvent_GetOrganization(tt *testing.T) { + tt.Parallel() + o := &OrgBlockEvent{} + o.GetOrganization() + o = nil + o.GetOrganization() +} + +func TestOrgBlockEvent_GetSender(tt *testing.T) { + tt.Parallel() + o := &OrgBlockEvent{} + o.GetSender() + o = nil + o.GetSender() +} + +func TestOrgStats_GetDisabledOrgs(tt *testing.T) { + tt.Parallel() + var zeroValue int + o := &OrgStats{DisabledOrgs: &zeroValue} + o.GetDisabledOrgs() + o = &OrgStats{} + o.GetDisabledOrgs() + o = nil + o.GetDisabledOrgs() +} + +func TestOrgStats_GetTotalOrgs(tt *testing.T) { + tt.Parallel() + var zeroValue int + o := &OrgStats{TotalOrgs: &zeroValue} + o.GetTotalOrgs() + o = &OrgStats{} + o.GetTotalOrgs() + o = nil + o.GetTotalOrgs() +} + +func TestOrgStats_GetTotalTeamMembers(tt *testing.T) { + tt.Parallel() + var zeroValue int + o := &OrgStats{TotalTeamMembers: &zeroValue} + o.GetTotalTeamMembers() + o = &OrgStats{} + o.GetTotalTeamMembers() + o = nil + o.GetTotalTeamMembers() +} + +func TestOrgStats_GetTotalTeams(tt *testing.T) { + tt.Parallel() + var zeroValue int + o := &OrgStats{TotalTeams: &zeroValue} + o.GetTotalTeams() + o = &OrgStats{} + o.GetTotalTeams() + o = nil + o.GetTotalTeams() +} + +func TestOwnerInfo_GetOrg(tt *testing.T) { + tt.Parallel() + o := &OwnerInfo{} + o.GetOrg() + o = nil + o.GetOrg() +} + +func TestOwnerInfo_GetUser(tt *testing.T) { + tt.Parallel() + o := &OwnerInfo{} + o.GetUser() + o = nil + o.GetUser() +} + +func TestPackage_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &Package{CreatedAt: &zeroValue} + p.GetCreatedAt() + p = &Package{} + p.GetCreatedAt() + p = nil + p.GetCreatedAt() +} + +func TestPackage_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &Package{Description: &zeroValue} + p.GetDescription() + p = &Package{} + p.GetDescription() + p = nil + p.GetDescription() +} + +func TestPackage_GetEcosystem(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &Package{Ecosystem: &zeroValue} + p.GetEcosystem() + p = &Package{} + p.GetEcosystem() + p = nil + p.GetEcosystem() +} + +func TestPackage_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &Package{HTMLURL: &zeroValue} + p.GetHTMLURL() + p = &Package{} + p.GetHTMLURL() + p = nil + p.GetHTMLURL() +} + +func TestPackage_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &Package{ID: &zeroValue} + p.GetID() + p = &Package{} + p.GetID() + p = nil + p.GetID() +} + +func TestPackage_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &Package{Name: &zeroValue} + p.GetName() + p = &Package{} + p.GetName() + p = nil + p.GetName() +} + +func TestPackage_GetNamespace(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &Package{Namespace: &zeroValue} + p.GetNamespace() + p = &Package{} + p.GetNamespace() + p = nil + p.GetNamespace() +} + +func TestPackage_GetOwner(tt *testing.T) { + tt.Parallel() + p := &Package{} + p.GetOwner() + p = nil + p.GetOwner() +} + +func TestPackage_GetPackageType(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &Package{PackageType: &zeroValue} + p.GetPackageType() + p = &Package{} + p.GetPackageType() + p = nil + p.GetPackageType() +} + +func TestPackage_GetPackageVersion(tt *testing.T) { + tt.Parallel() + p := &Package{} + p.GetPackageVersion() + p = nil + p.GetPackageVersion() +} + +func TestPackage_GetRegistry(tt *testing.T) { + tt.Parallel() + p := &Package{} + p.GetRegistry() + p = nil + p.GetRegistry() +} + +func TestPackage_GetRepository(tt *testing.T) { + tt.Parallel() + p := &Package{} + p.GetRepository() + p = nil + p.GetRepository() +} + +func TestPackage_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &Package{UpdatedAt: &zeroValue} + p.GetUpdatedAt() + p = &Package{} + p.GetUpdatedAt() + p = nil + p.GetUpdatedAt() +} + +func TestPackage_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &Package{URL: &zeroValue} + p.GetURL() + p = &Package{} + p.GetURL() + p = nil + p.GetURL() +} + +func TestPackage_GetVersionCount(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &Package{VersionCount: &zeroValue} + p.GetVersionCount() + p = &Package{} + p.GetVersionCount() + p = nil + p.GetVersionCount() +} + +func TestPackage_GetVisibility(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &Package{Visibility: &zeroValue} + p.GetVisibility() + p = &Package{} + p.GetVisibility() + p = nil + 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 + p := &PackageEvent{Action: &zeroValue} + p.GetAction() + p = &PackageEvent{} + p.GetAction() + p = nil + p.GetAction() +} + +func TestPackageEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + p := &PackageEvent{} + p.GetInstallation() + p = nil + p.GetInstallation() +} + +func TestPackageEvent_GetOrg(tt *testing.T) { + tt.Parallel() + p := &PackageEvent{} + p.GetOrg() + p = nil + p.GetOrg() +} + +func TestPackageEvent_GetPackage(tt *testing.T) { + tt.Parallel() + p := &PackageEvent{} + p.GetPackage() + p = nil + p.GetPackage() +} + +func TestPackageEvent_GetRepo(tt *testing.T) { + tt.Parallel() + p := &PackageEvent{} + p.GetRepo() + p = nil + p.GetRepo() +} + +func TestPackageEvent_GetSender(tt *testing.T) { + tt.Parallel() + p := &PackageEvent{} + p.GetSender() + p = nil + p.GetSender() +} + +func TestPackageEventContainerMetadata_GetLabels(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]any{} + p := &PackageEventContainerMetadata{Labels: zeroValue} + p.GetLabels() + p = &PackageEventContainerMetadata{} + p.GetLabels() + p = nil + p.GetLabels() +} + +func TestPackageEventContainerMetadata_GetManifest(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]any{} + p := &PackageEventContainerMetadata{Manifest: zeroValue} + p.GetManifest() + p = &PackageEventContainerMetadata{} + p.GetManifest() + p = nil + p.GetManifest() +} + +func TestPackageEventContainerMetadata_GetTag(tt *testing.T) { + tt.Parallel() + p := &PackageEventContainerMetadata{} + p.GetTag() + p = nil + p.GetTag() +} + +func TestPackageEventContainerMetadataTag_GetDigest(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageEventContainerMetadataTag{Digest: &zeroValue} + p.GetDigest() + p = &PackageEventContainerMetadataTag{} + p.GetDigest() + p = nil + p.GetDigest() +} + +func TestPackageEventContainerMetadataTag_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageEventContainerMetadataTag{Name: &zeroValue} + p.GetName() + p = &PackageEventContainerMetadataTag{} + p.GetName() + p = nil + 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{} + p.GetAuthor() + p = nil + p.GetAuthor() +} + +func TestPackageFile_GetContentType(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageFile{ContentType: &zeroValue} + p.GetContentType() + p = &PackageFile{} + p.GetContentType() + p = nil + p.GetContentType() +} + +func TestPackageFile_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PackageFile{CreatedAt: &zeroValue} + p.GetCreatedAt() + p = &PackageFile{} + p.GetCreatedAt() + p = nil + p.GetCreatedAt() +} + +func TestPackageFile_GetDownloadURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageFile{DownloadURL: &zeroValue} + p.GetDownloadURL() + p = &PackageFile{} + p.GetDownloadURL() + p = nil + p.GetDownloadURL() +} + +func TestPackageFile_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &PackageFile{ID: &zeroValue} + p.GetID() + p = &PackageFile{} + p.GetID() + p = nil + p.GetID() +} + +func TestPackageFile_GetMD5(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageFile{MD5: &zeroValue} + p.GetMD5() + p = &PackageFile{} + p.GetMD5() + p = nil + p.GetMD5() +} + +func TestPackageFile_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageFile{Name: &zeroValue} + p.GetName() + p = &PackageFile{} + p.GetName() + p = nil + p.GetName() +} + +func TestPackageFile_GetSHA1(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageFile{SHA1: &zeroValue} + p.GetSHA1() + p = &PackageFile{} + p.GetSHA1() + p = nil + p.GetSHA1() +} + +func TestPackageFile_GetSHA256(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageFile{SHA256: &zeroValue} + p.GetSHA256() + p = &PackageFile{} + p.GetSHA256() + p = nil + p.GetSHA256() +} + +func TestPackageFile_GetSize(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &PackageFile{Size: &zeroValue} + p.GetSize() + p = &PackageFile{} + p.GetSize() + p = nil + p.GetSize() +} + +func TestPackageFile_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageFile{State: &zeroValue} + p.GetState() + p = &PackageFile{} + p.GetState() + p = nil + p.GetState() +} + +func TestPackageFile_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PackageFile{UpdatedAt: &zeroValue} + p.GetUpdatedAt() + p = &PackageFile{} + p.GetUpdatedAt() + p = nil + p.GetUpdatedAt() +} + +func TestPackageListOptions_GetPackageType(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageListOptions{PackageType: &zeroValue} + p.GetPackageType() + p = &PackageListOptions{} + p.GetPackageType() + p = nil + p.GetPackageType() +} + +func TestPackageListOptions_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageListOptions{State: &zeroValue} + p.GetState() + p = &PackageListOptions{} + p.GetState() + p = nil + p.GetState() +} + +func TestPackageListOptions_GetVisibility(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageListOptions{Visibility: &zeroValue} + p.GetVisibility() + p = &PackageListOptions{} + p.GetVisibility() + p = nil + p.GetVisibility() +} + +func TestPackageMetadata_GetContainer(tt *testing.T) { + tt.Parallel() + p := &PackageMetadata{} + p.GetContainer() + p = nil + p.GetContainer() +} + +func TestPackageMetadata_GetPackageType(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageMetadata{PackageType: &zeroValue} + p.GetPackageType() + p = &PackageMetadata{} + p.GetPackageType() + p = nil + p.GetPackageType() +} + +func TestPackageNPMMetadata_GetAuthor(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]string{} + p := &PackageNPMMetadata{Author: zeroValue} + p.GetAuthor() + p = &PackageNPMMetadata{} + p.GetAuthor() + p = nil + p.GetAuthor() +} + +func TestPackageNPMMetadata_GetBin(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]any{} + p := &PackageNPMMetadata{Bin: zeroValue} + p.GetBin() + p = &PackageNPMMetadata{} + p.GetBin() + p = nil + p.GetBin() +} + +func TestPackageNPMMetadata_GetBugs(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]string{} + p := &PackageNPMMetadata{Bugs: zeroValue} + p.GetBugs() + p = &PackageNPMMetadata{} + p.GetBugs() + p = nil + p.GetBugs() +} + +func TestPackageNPMMetadata_GetCommitOID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageNPMMetadata{CommitOID: &zeroValue} + p.GetCommitOID() + p = &PackageNPMMetadata{} + p.GetCommitOID() + p = nil + 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 + p := &PackageNPMMetadata{DeletedByID: &zeroValue} + p.GetDeletedByID() + p = &PackageNPMMetadata{} + p.GetDeletedByID() + p = nil + p.GetDeletedByID() +} + +func TestPackageNPMMetadata_GetDependencies(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]string{} + p := &PackageNPMMetadata{Dependencies: zeroValue} + p.GetDependencies() + p = &PackageNPMMetadata{} + p.GetDependencies() + p = nil + p.GetDependencies() +} + +func TestPackageNPMMetadata_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageNPMMetadata{Description: &zeroValue} + p.GetDescription() + p = &PackageNPMMetadata{} + p.GetDescription() + p = nil + p.GetDescription() +} + +func TestPackageNPMMetadata_GetDevDependencies(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]string{} + p := &PackageNPMMetadata{DevDependencies: zeroValue} + p.GetDevDependencies() + p = &PackageNPMMetadata{} + p.GetDevDependencies() + p = nil + p.GetDevDependencies() +} + +func TestPackageNPMMetadata_GetDirectories(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]string{} + p := &PackageNPMMetadata{Directories: zeroValue} + p.GetDirectories() + p = &PackageNPMMetadata{} + p.GetDirectories() + p = nil + p.GetDirectories() +} + +func TestPackageNPMMetadata_GetDist(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]string{} + p := &PackageNPMMetadata{Dist: zeroValue} + p.GetDist() + p = &PackageNPMMetadata{} + p.GetDist() + p = nil + p.GetDist() +} + +func TestPackageNPMMetadata_GetEngines(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]string{} + p := &PackageNPMMetadata{Engines: zeroValue} + p.GetEngines() + p = &PackageNPMMetadata{} + p.GetEngines() + p = nil + 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 + p := &PackageNPMMetadata{GitHead: &zeroValue} + p.GetGitHead() + p = &PackageNPMMetadata{} + p.GetGitHead() + p = nil + p.GetGitHead() +} + +func TestPackageNPMMetadata_GetHasShrinkwrap(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PackageNPMMetadata{HasShrinkwrap: &zeroValue} + p.GetHasShrinkwrap() + p = &PackageNPMMetadata{} + p.GetHasShrinkwrap() + p = nil + p.GetHasShrinkwrap() +} + +func TestPackageNPMMetadata_GetHomepage(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageNPMMetadata{Homepage: &zeroValue} + p.GetHomepage() + p = &PackageNPMMetadata{} + p.GetHomepage() + p = nil + p.GetHomepage() +} + +func TestPackageNPMMetadata_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageNPMMetadata{ID: &zeroValue} + p.GetID() + p = &PackageNPMMetadata{} + p.GetID() + p = nil + p.GetID() +} + +func TestPackageNPMMetadata_GetInstallationCommand(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageNPMMetadata{InstallationCommand: &zeroValue} + p.GetInstallationCommand() + p = &PackageNPMMetadata{} + p.GetInstallationCommand() + p = nil + 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 + p := &PackageNPMMetadata{License: &zeroValue} + p.GetLicense() + p = &PackageNPMMetadata{} + p.GetLicense() + p = nil + p.GetLicense() +} + +func TestPackageNPMMetadata_GetMain(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageNPMMetadata{Main: &zeroValue} + p.GetMain() + p = &PackageNPMMetadata{} + p.GetMain() + p = nil + 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{} + p := &PackageNPMMetadata{Man: zeroValue} + p.GetMan() + p = &PackageNPMMetadata{} + p.GetMan() + p = nil + p.GetMan() +} + +func TestPackageNPMMetadata_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageNPMMetadata{Name: &zeroValue} + p.GetName() + p = &PackageNPMMetadata{} + p.GetName() + p = nil + p.GetName() +} + +func TestPackageNPMMetadata_GetNodeVersion(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageNPMMetadata{NodeVersion: &zeroValue} + p.GetNodeVersion() + p = &PackageNPMMetadata{} + p.GetNodeVersion() + p = nil + p.GetNodeVersion() +} + +func TestPackageNPMMetadata_GetNPMUser(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageNPMMetadata{NPMUser: &zeroValue} + p.GetNPMUser() + p = &PackageNPMMetadata{} + p.GetNPMUser() + p = nil + p.GetNPMUser() +} + +func TestPackageNPMMetadata_GetNPMVersion(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageNPMMetadata{NPMVersion: &zeroValue} + p.GetNPMVersion() + p = &PackageNPMMetadata{} + p.GetNPMVersion() + p = nil + p.GetNPMVersion() +} + +func TestPackageNPMMetadata_GetOptionalDependencies(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]string{} + p := &PackageNPMMetadata{OptionalDependencies: zeroValue} + p.GetOptionalDependencies() + p = &PackageNPMMetadata{} + p.GetOptionalDependencies() + p = nil + 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{} + p := &PackageNPMMetadata{PeerDependencies: zeroValue} + p.GetPeerDependencies() + p = &PackageNPMMetadata{} + p.GetPeerDependencies() + p = nil + p.GetPeerDependencies() +} + +func TestPackageNPMMetadata_GetPublishedViaActions(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PackageNPMMetadata{PublishedViaActions: &zeroValue} + p.GetPublishedViaActions() + p = &PackageNPMMetadata{} + p.GetPublishedViaActions() + p = nil + p.GetPublishedViaActions() +} + +func TestPackageNPMMetadata_GetReadme(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageNPMMetadata{Readme: &zeroValue} + p.GetReadme() + p = &PackageNPMMetadata{} + p.GetReadme() + p = nil + p.GetReadme() +} + +func TestPackageNPMMetadata_GetReleaseID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &PackageNPMMetadata{ReleaseID: &zeroValue} + p.GetReleaseID() + p = &PackageNPMMetadata{} + p.GetReleaseID() + p = nil + p.GetReleaseID() +} + +func TestPackageNPMMetadata_GetRepository(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]string{} + p := &PackageNPMMetadata{Repository: zeroValue} + p.GetRepository() + p = &PackageNPMMetadata{} + p.GetRepository() + p = nil + p.GetRepository() +} + +func TestPackageNPMMetadata_GetScripts(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]any{} + p := &PackageNPMMetadata{Scripts: zeroValue} + p.GetScripts() + p = &PackageNPMMetadata{} + p.GetScripts() + p = nil + p.GetScripts() +} + +func TestPackageNPMMetadata_GetVersion(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageNPMMetadata{Version: &zeroValue} + p.GetVersion() + p = &PackageNPMMetadata{} + p.GetVersion() + p = nil + 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 + p := &PackageNugetMetadata{Name: &zeroValue} + p.GetName() + p = &PackageNugetMetadata{} + p.GetName() + p = nil + 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 + p := &PackageRegistry{AboutURL: &zeroValue} + p.GetAboutURL() + p = &PackageRegistry{} + p.GetAboutURL() + p = nil + p.GetAboutURL() +} + +func TestPackageRegistry_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageRegistry{Name: &zeroValue} + p.GetName() + p = &PackageRegistry{} + p.GetName() + p = nil + p.GetName() +} + +func TestPackageRegistry_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageRegistry{Type: &zeroValue} + p.GetType() + p = &PackageRegistry{} + p.GetType() + p = nil + p.GetType() +} + +func TestPackageRegistry_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageRegistry{URL: &zeroValue} + p.GetURL() + p = &PackageRegistry{} + p.GetURL() + p = nil + p.GetURL() +} + +func TestPackageRegistry_GetVendor(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageRegistry{Vendor: &zeroValue} + p.GetVendor() + p = &PackageRegistry{} + p.GetVendor() + p = nil + p.GetVendor() +} + +func TestPackageRelease_GetAuthor(tt *testing.T) { + tt.Parallel() + p := &PackageRelease{} + p.GetAuthor() + p = nil + p.GetAuthor() +} + +func TestPackageRelease_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PackageRelease{CreatedAt: &zeroValue} + p.GetCreatedAt() + p = &PackageRelease{} + p.GetCreatedAt() + p = nil + p.GetCreatedAt() +} + +func TestPackageRelease_GetDraft(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PackageRelease{Draft: &zeroValue} + p.GetDraft() + p = &PackageRelease{} + p.GetDraft() + p = nil + p.GetDraft() +} + +func TestPackageRelease_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageRelease{HTMLURL: &zeroValue} + p.GetHTMLURL() + p = &PackageRelease{} + p.GetHTMLURL() + p = nil + p.GetHTMLURL() +} + +func TestPackageRelease_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &PackageRelease{ID: &zeroValue} + p.GetID() + p = &PackageRelease{} + p.GetID() + p = nil + p.GetID() +} + +func TestPackageRelease_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageRelease{Name: &zeroValue} + p.GetName() + p = &PackageRelease{} + p.GetName() + p = nil + p.GetName() +} + +func TestPackageRelease_GetPrerelease(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PackageRelease{Prerelease: &zeroValue} + p.GetPrerelease() + p = &PackageRelease{} + p.GetPrerelease() + p = nil + p.GetPrerelease() +} + +func TestPackageRelease_GetPublishedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PackageRelease{PublishedAt: &zeroValue} + p.GetPublishedAt() + p = &PackageRelease{} + p.GetPublishedAt() + p = nil + p.GetPublishedAt() +} + +func TestPackageRelease_GetTagName(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageRelease{TagName: &zeroValue} + p.GetTagName() + p = &PackageRelease{} + p.GetTagName() + p = nil + p.GetTagName() +} + +func TestPackageRelease_GetTargetCommitish(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageRelease{TargetCommitish: &zeroValue} + p.GetTargetCommitish() + p = &PackageRelease{} + p.GetTargetCommitish() + p = nil + p.GetTargetCommitish() +} + +func TestPackageRelease_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageRelease{URL: &zeroValue} + p.GetURL() + p = &PackageRelease{} + p.GetURL() + p = nil + 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{} + p.GetAuthor() + p = nil + p.GetAuthor() +} + +func TestPackageVersion_GetBodyHTML(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageVersion{BodyHTML: &zeroValue} + p.GetBodyHTML() + p = &PackageVersion{} + p.GetBodyHTML() + p = nil + p.GetBodyHTML() +} + +func TestPackageVersion_GetContainerMetadata(tt *testing.T) { + tt.Parallel() + p := &PackageVersion{} + p.GetContainerMetadata() + p = nil + p.GetContainerMetadata() +} + +func TestPackageVersion_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PackageVersion{CreatedAt: &zeroValue} + p.GetCreatedAt() + p = &PackageVersion{} + p.GetCreatedAt() + p = nil + p.GetCreatedAt() +} + +func TestPackageVersion_GetDeletedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PackageVersion{DeletedAt: &zeroValue} + p.GetDeletedAt() + p = &PackageVersion{} + p.GetDeletedAt() + p = nil + p.GetDeletedAt() +} + +func TestPackageVersion_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageVersion{Description: &zeroValue} + p.GetDescription() + p = &PackageVersion{} + p.GetDescription() + p = nil + 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 + p := &PackageVersion{Draft: &zeroValue} + p.GetDraft() + p = &PackageVersion{} + p.GetDraft() + p = nil + p.GetDraft() +} + +func TestPackageVersion_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageVersion{HTMLURL: &zeroValue} + p.GetHTMLURL() + p = &PackageVersion{} + p.GetHTMLURL() + p = nil + p.GetHTMLURL() +} + +func TestPackageVersion_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &PackageVersion{ID: &zeroValue} + p.GetID() + p = &PackageVersion{} + p.GetID() + p = nil + p.GetID() +} + +func TestPackageVersion_GetInstallationCommand(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageVersion{InstallationCommand: &zeroValue} + p.GetInstallationCommand() + p = &PackageVersion{} + p.GetInstallationCommand() + p = nil + p.GetInstallationCommand() +} + +func TestPackageVersion_GetLicense(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageVersion{License: &zeroValue} + p.GetLicense() + p = &PackageVersion{} + p.GetLicense() + p = nil + p.GetLicense() +} + +func TestPackageVersion_GetManifest(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageVersion{Manifest: &zeroValue} + p.GetManifest() + p = &PackageVersion{} + p.GetManifest() + p = nil + p.GetManifest() +} + +func TestPackageVersion_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageVersion{Name: &zeroValue} + p.GetName() + p = &PackageVersion{} + p.GetName() + p = nil + p.GetName() +} + +func TestPackageVersion_GetNPMMetadata(tt *testing.T) { + tt.Parallel() + p := &PackageVersion{} + p.GetNPMMetadata() + p = nil + 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 + p := &PackageVersion{PackageHTMLURL: &zeroValue} + p.GetPackageHTMLURL() + p = &PackageVersion{} + p.GetPackageHTMLURL() + p = nil + p.GetPackageHTMLURL() +} + +func TestPackageVersion_GetPackageURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageVersion{PackageURL: &zeroValue} + p.GetPackageURL() + p = &PackageVersion{} + p.GetPackageURL() + p = nil + p.GetPackageURL() +} + +func TestPackageVersion_GetPrerelease(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PackageVersion{Prerelease: &zeroValue} + p.GetPrerelease() + p = &PackageVersion{} + p.GetPrerelease() + p = nil + p.GetPrerelease() +} + +func TestPackageVersion_GetRelease(tt *testing.T) { + tt.Parallel() + p := &PackageVersion{} + p.GetRelease() + p = nil + p.GetRelease() +} + +func TestPackageVersion_GetRubyMetadata(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]any{} + p := &PackageVersion{RubyMetadata: zeroValue} + p.GetRubyMetadata() + p = &PackageVersion{} + p.GetRubyMetadata() + p = nil + p.GetRubyMetadata() +} + +func TestPackageVersion_GetSourceURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageVersion{SourceURL: &zeroValue} + p.GetSourceURL() + p = &PackageVersion{} + p.GetSourceURL() + p = nil + p.GetSourceURL() +} + +func TestPackageVersion_GetSummary(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageVersion{Summary: &zeroValue} + p.GetSummary() + p = &PackageVersion{} + p.GetSummary() + p = nil + p.GetSummary() +} + +func TestPackageVersion_GetTagName(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageVersion{TagName: &zeroValue} + p.GetTagName() + p = &PackageVersion{} + p.GetTagName() + p = nil + p.GetTagName() +} + +func TestPackageVersion_GetTargetCommitish(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageVersion{TargetCommitish: &zeroValue} + p.GetTargetCommitish() + p = &PackageVersion{} + p.GetTargetCommitish() + p = nil + p.GetTargetCommitish() +} + +func TestPackageVersion_GetTargetOID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageVersion{TargetOID: &zeroValue} + p.GetTargetOID() + p = &PackageVersion{} + p.GetTargetOID() + p = nil + p.GetTargetOID() +} + +func TestPackageVersion_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PackageVersion{UpdatedAt: &zeroValue} + p.GetUpdatedAt() + p = &PackageVersion{} + p.GetUpdatedAt() + p = nil + p.GetUpdatedAt() +} + +func TestPackageVersion_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageVersion{URL: &zeroValue} + p.GetURL() + p = &PackageVersion{} + p.GetURL() + p = nil + p.GetURL() +} + +func TestPackageVersion_GetVersion(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageVersion{Version: &zeroValue} + p.GetVersion() + p = &PackageVersion{} + p.GetVersion() + p = nil + p.GetVersion() +} + +func TestPackageVersionBody_GetInfo(tt *testing.T) { + tt.Parallel() + p := &PackageVersionBody{} + p.GetInfo() + p = nil + p.GetInfo() +} + +func TestPackageVersionBody_GetRepo(tt *testing.T) { + tt.Parallel() + p := &PackageVersionBody{} + p.GetRepo() + p = nil + p.GetRepo() +} + +func TestPackageVersionBodyInfo_GetCollection(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PackageVersionBodyInfo{Collection: &zeroValue} + p.GetCollection() + p = &PackageVersionBodyInfo{} + p.GetCollection() + p = nil + p.GetCollection() +} + +func TestPackageVersionBodyInfo_GetMode(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &PackageVersionBodyInfo{Mode: &zeroValue} + p.GetMode() + p = &PackageVersionBodyInfo{} + p.GetMode() + p = nil + p.GetMode() +} + +func TestPackageVersionBodyInfo_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageVersionBodyInfo{Name: &zeroValue} + p.GetName() + p = &PackageVersionBodyInfo{} + p.GetName() + p = nil + p.GetName() +} + +func TestPackageVersionBodyInfo_GetOID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageVersionBodyInfo{OID: &zeroValue} + p.GetOID() + p = &PackageVersionBodyInfo{} + p.GetOID() + p = nil + p.GetOID() +} + +func TestPackageVersionBodyInfo_GetPath(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageVersionBodyInfo{Path: &zeroValue} + p.GetPath() + p = &PackageVersionBodyInfo{} + p.GetPath() + p = nil + p.GetPath() +} + +func TestPackageVersionBodyInfo_GetSize(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &PackageVersionBodyInfo{Size: &zeroValue} + p.GetSize() + p = &PackageVersionBodyInfo{} + p.GetSize() + p = nil + p.GetSize() +} + +func TestPackageVersionBodyInfo_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PackageVersionBodyInfo{Type: &zeroValue} + p.GetType() + p = &PackageVersionBodyInfo{} + p.GetType() + p = nil + p.GetType() +} + +func TestPage_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &Page{Action: &zeroValue} + p.GetAction() + p = &Page{} + p.GetAction() + p = nil + p.GetAction() +} + +func TestPage_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &Page{HTMLURL: &zeroValue} + p.GetHTMLURL() + p = &Page{} + p.GetHTMLURL() + p = nil + p.GetHTMLURL() +} + +func TestPage_GetPageName(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &Page{PageName: &zeroValue} + p.GetPageName() + p = &Page{} + p.GetPageName() + p = nil + p.GetPageName() +} + +func TestPage_GetSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &Page{SHA: &zeroValue} + p.GetSHA() + p = &Page{} + p.GetSHA() + p = nil + p.GetSHA() +} + +func TestPage_GetSummary(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &Page{Summary: &zeroValue} + p.GetSummary() + p = &Page{} + p.GetSummary() + p = nil + p.GetSummary() +} + +func TestPage_GetTitle(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &Page{Title: &zeroValue} + p.GetTitle() + p = &Page{} + p.GetTitle() + p = nil + p.GetTitle() +} + +func TestPageBuildEvent_GetBuild(tt *testing.T) { + tt.Parallel() + p := &PageBuildEvent{} + p.GetBuild() + p = nil + p.GetBuild() +} + +func TestPageBuildEvent_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &PageBuildEvent{ID: &zeroValue} + p.GetID() + p = &PageBuildEvent{} + p.GetID() + p = nil + p.GetID() +} + +func TestPageBuildEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + p := &PageBuildEvent{} + p.GetInstallation() + p = nil + p.GetInstallation() +} + +func TestPageBuildEvent_GetOrg(tt *testing.T) { + tt.Parallel() + p := &PageBuildEvent{} + p.GetOrg() + p = nil + p.GetOrg() +} + +func TestPageBuildEvent_GetRepo(tt *testing.T) { + tt.Parallel() + p := &PageBuildEvent{} + p.GetRepo() + p = nil + p.GetRepo() +} + +func TestPageBuildEvent_GetSender(tt *testing.T) { + tt.Parallel() + p := &PageBuildEvent{} + p.GetSender() + p = nil + p.GetSender() +} + +func TestPages_GetBuildType(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &Pages{BuildType: &zeroValue} + p.GetBuildType() + p = &Pages{} + p.GetBuildType() + p = nil + p.GetBuildType() +} + +func TestPages_GetCNAME(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &Pages{CNAME: &zeroValue} + p.GetCNAME() + p = &Pages{} + p.GetCNAME() + p = nil + p.GetCNAME() +} + +func TestPages_GetCustom404(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &Pages{Custom404: &zeroValue} + p.GetCustom404() + p = &Pages{} + p.GetCustom404() + p = nil + p.GetCustom404() +} + +func TestPages_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &Pages{HTMLURL: &zeroValue} + p.GetHTMLURL() + p = &Pages{} + p.GetHTMLURL() + p = nil + p.GetHTMLURL() +} + +func TestPages_GetHTTPSCertificate(tt *testing.T) { + tt.Parallel() + p := &Pages{} + p.GetHTTPSCertificate() + p = nil + p.GetHTTPSCertificate() +} + +func TestPages_GetHTTPSEnforced(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &Pages{HTTPSEnforced: &zeroValue} + p.GetHTTPSEnforced() + p = &Pages{} + p.GetHTTPSEnforced() + p = nil + p.GetHTTPSEnforced() +} + +func TestPages_GetPublic(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &Pages{Public: &zeroValue} + p.GetPublic() + p = &Pages{} + p.GetPublic() + p = nil + p.GetPublic() +} + +func TestPages_GetSource(tt *testing.T) { + tt.Parallel() + p := &Pages{} + p.GetSource() + p = nil + p.GetSource() +} + +func TestPages_GetStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &Pages{Status: &zeroValue} + p.GetStatus() + p = &Pages{} + p.GetStatus() + p = nil + p.GetStatus() +} + +func TestPages_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &Pages{URL: &zeroValue} + p.GetURL() + p = &Pages{} + p.GetURL() + p = nil + p.GetURL() +} + +func TestPagesBuild_GetCommit(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PagesBuild{Commit: &zeroValue} + p.GetCommit() + p = &PagesBuild{} + p.GetCommit() + p = nil + p.GetCommit() +} + +func TestPagesBuild_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PagesBuild{CreatedAt: &zeroValue} + p.GetCreatedAt() + p = &PagesBuild{} + p.GetCreatedAt() + p = nil + p.GetCreatedAt() +} + +func TestPagesBuild_GetDuration(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PagesBuild{Duration: &zeroValue} + p.GetDuration() + p = &PagesBuild{} + p.GetDuration() + p = nil + p.GetDuration() +} + +func TestPagesBuild_GetError(tt *testing.T) { + tt.Parallel() + p := &PagesBuild{} + p.GetError() + p = nil + p.GetError() +} + +func TestPagesBuild_GetPusher(tt *testing.T) { + tt.Parallel() + p := &PagesBuild{} + p.GetPusher() + p = nil + p.GetPusher() +} + +func TestPagesBuild_GetStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PagesBuild{Status: &zeroValue} + p.GetStatus() + p = &PagesBuild{} + p.GetStatus() + p = nil + p.GetStatus() +} + +func TestPagesBuild_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PagesBuild{UpdatedAt: &zeroValue} + p.GetUpdatedAt() + p = &PagesBuild{} + p.GetUpdatedAt() + p = nil + p.GetUpdatedAt() +} + +func TestPagesBuild_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PagesBuild{URL: &zeroValue} + p.GetURL() + p = &PagesBuild{} + p.GetURL() + p = nil + p.GetURL() +} + +func TestPagesDomain_GetCAAError(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PagesDomain{CAAError: &zeroValue} + p.GetCAAError() + p = &PagesDomain{} + p.GetCAAError() + p = nil + p.GetCAAError() +} + +func TestPagesDomain_GetDNSResolves(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesDomain{DNSResolves: &zeroValue} + p.GetDNSResolves() + p = &PagesDomain{} + p.GetDNSResolves() + p = nil + p.GetDNSResolves() +} + +func TestPagesDomain_GetEnforcesHTTPS(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesDomain{EnforcesHTTPS: &zeroValue} + p.GetEnforcesHTTPS() + p = &PagesDomain{} + p.GetEnforcesHTTPS() + p = nil + p.GetEnforcesHTTPS() +} + +func TestPagesDomain_GetHasCNAMERecord(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesDomain{HasCNAMERecord: &zeroValue} + p.GetHasCNAMERecord() + p = &PagesDomain{} + p.GetHasCNAMERecord() + p = nil + p.GetHasCNAMERecord() +} + +func TestPagesDomain_GetHasMXRecordsPresent(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesDomain{HasMXRecordsPresent: &zeroValue} + p.GetHasMXRecordsPresent() + p = &PagesDomain{} + p.GetHasMXRecordsPresent() + p = nil + p.GetHasMXRecordsPresent() +} + +func TestPagesDomain_GetHost(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PagesDomain{Host: &zeroValue} + p.GetHost() + p = &PagesDomain{} + p.GetHost() + p = nil + p.GetHost() +} + +func TestPagesDomain_GetHTTPSError(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PagesDomain{HTTPSError: &zeroValue} + p.GetHTTPSError() + p = &PagesDomain{} + p.GetHTTPSError() + p = nil + p.GetHTTPSError() +} + +func TestPagesDomain_GetIsApexDomain(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesDomain{IsApexDomain: &zeroValue} + p.GetIsApexDomain() + p = &PagesDomain{} + p.GetIsApexDomain() + p = nil + p.GetIsApexDomain() +} + +func TestPagesDomain_GetIsARecord(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesDomain{IsARecord: &zeroValue} + p.GetIsARecord() + p = &PagesDomain{} + p.GetIsARecord() + p = nil + p.GetIsARecord() +} + +func TestPagesDomain_GetIsCloudflareIP(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesDomain{IsCloudflareIP: &zeroValue} + p.GetIsCloudflareIP() + p = &PagesDomain{} + p.GetIsCloudflareIP() + p = nil + p.GetIsCloudflareIP() +} + +func TestPagesDomain_GetIsCNAMEToFastly(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesDomain{IsCNAMEToFastly: &zeroValue} + p.GetIsCNAMEToFastly() + p = &PagesDomain{} + p.GetIsCNAMEToFastly() + p = nil + p.GetIsCNAMEToFastly() +} + +func TestPagesDomain_GetIsCNAMEToGithubUserDomain(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesDomain{IsCNAMEToGithubUserDomain: &zeroValue} + p.GetIsCNAMEToGithubUserDomain() + p = &PagesDomain{} + p.GetIsCNAMEToGithubUserDomain() + p = nil + p.GetIsCNAMEToGithubUserDomain() +} + +func TestPagesDomain_GetIsCNAMEToPagesDotGithubDotCom(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesDomain{IsCNAMEToPagesDotGithubDotCom: &zeroValue} + p.GetIsCNAMEToPagesDotGithubDotCom() + p = &PagesDomain{} + p.GetIsCNAMEToPagesDotGithubDotCom() + p = nil + p.GetIsCNAMEToPagesDotGithubDotCom() +} + +func TestPagesDomain_GetIsFastlyIP(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesDomain{IsFastlyIP: &zeroValue} + p.GetIsFastlyIP() + p = &PagesDomain{} + p.GetIsFastlyIP() + p = nil + p.GetIsFastlyIP() +} + +func TestPagesDomain_GetIsHTTPSEligible(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesDomain{IsHTTPSEligible: &zeroValue} + p.GetIsHTTPSEligible() + p = &PagesDomain{} + p.GetIsHTTPSEligible() + p = nil + p.GetIsHTTPSEligible() +} + +func TestPagesDomain_GetIsNonGithubPagesIPPresent(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesDomain{IsNonGithubPagesIPPresent: &zeroValue} + p.GetIsNonGithubPagesIPPresent() + p = &PagesDomain{} + p.GetIsNonGithubPagesIPPresent() + p = nil + p.GetIsNonGithubPagesIPPresent() +} + +func TestPagesDomain_GetIsOldIPAddress(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesDomain{IsOldIPAddress: &zeroValue} + p.GetIsOldIPAddress() + p = &PagesDomain{} + p.GetIsOldIPAddress() + p = nil + p.GetIsOldIPAddress() +} + +func TestPagesDomain_GetIsPagesDomain(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesDomain{IsPagesDomain: &zeroValue} + p.GetIsPagesDomain() + p = &PagesDomain{} + p.GetIsPagesDomain() + p = nil + p.GetIsPagesDomain() +} + +func TestPagesDomain_GetIsPointedToGithubPagesIP(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesDomain{IsPointedToGithubPagesIP: &zeroValue} + p.GetIsPointedToGithubPagesIP() + p = &PagesDomain{} + p.GetIsPointedToGithubPagesIP() + p = nil + p.GetIsPointedToGithubPagesIP() +} + +func TestPagesDomain_GetIsProxied(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesDomain{IsProxied: &zeroValue} + p.GetIsProxied() + p = &PagesDomain{} + p.GetIsProxied() + p = nil + p.GetIsProxied() +} + +func TestPagesDomain_GetIsServedByPages(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesDomain{IsServedByPages: &zeroValue} + p.GetIsServedByPages() + p = &PagesDomain{} + p.GetIsServedByPages() + p = nil + p.GetIsServedByPages() +} + +func TestPagesDomain_GetIsValid(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesDomain{IsValid: &zeroValue} + p.GetIsValid() + p = &PagesDomain{} + p.GetIsValid() + p = nil + p.GetIsValid() +} + +func TestPagesDomain_GetIsValidDomain(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesDomain{IsValidDomain: &zeroValue} + p.GetIsValidDomain() + p = &PagesDomain{} + p.GetIsValidDomain() + p = nil + p.GetIsValidDomain() +} + +func TestPagesDomain_GetNameservers(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PagesDomain{Nameservers: &zeroValue} + p.GetNameservers() + p = &PagesDomain{} + p.GetNameservers() + p = nil + p.GetNameservers() +} + +func TestPagesDomain_GetReason(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PagesDomain{Reason: &zeroValue} + p.GetReason() + p = &PagesDomain{} + p.GetReason() + p = nil + p.GetReason() +} + +func TestPagesDomain_GetRespondsToHTTPS(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesDomain{RespondsToHTTPS: &zeroValue} + p.GetRespondsToHTTPS() + p = &PagesDomain{} + p.GetRespondsToHTTPS() + p = nil + p.GetRespondsToHTTPS() +} + +func TestPagesDomain_GetShouldBeARecord(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesDomain{ShouldBeARecord: &zeroValue} + p.GetShouldBeARecord() + p = &PagesDomain{} + p.GetShouldBeARecord() + p = nil + p.GetShouldBeARecord() +} + +func TestPagesDomain_GetURI(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PagesDomain{URI: &zeroValue} + p.GetURI() + p = &PagesDomain{} + p.GetURI() + p = nil + p.GetURI() +} + +func TestPagesError_GetMessage(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PagesError{Message: &zeroValue} + p.GetMessage() + p = &PagesError{} + p.GetMessage() + p = nil + p.GetMessage() +} + +func TestPagesHealthCheckResponse_GetAltDomain(tt *testing.T) { + tt.Parallel() + p := &PagesHealthCheckResponse{} + p.GetAltDomain() + p = nil + p.GetAltDomain() +} + +func TestPagesHealthCheckResponse_GetDomain(tt *testing.T) { + tt.Parallel() + p := &PagesHealthCheckResponse{} + p.GetDomain() + p = nil + p.GetDomain() +} + +func TestPagesHTTPSCertificate_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PagesHTTPSCertificate{Description: &zeroValue} + p.GetDescription() + p = &PagesHTTPSCertificate{} + p.GetDescription() + p = nil + 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 + p := &PagesHTTPSCertificate{ExpiresAt: &zeroValue} + p.GetExpiresAt() + p = &PagesHTTPSCertificate{} + p.GetExpiresAt() + p = nil + p.GetExpiresAt() +} + +func TestPagesHTTPSCertificate_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PagesHTTPSCertificate{State: &zeroValue} + p.GetState() + p = &PagesHTTPSCertificate{} + p.GetState() + p = nil + p.GetState() +} + +func TestPagesSource_GetBranch(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PagesSource{Branch: &zeroValue} + p.GetBranch() + p = &PagesSource{} + p.GetBranch() + p = nil + p.GetBranch() +} + +func TestPagesSource_GetPath(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PagesSource{Path: &zeroValue} + p.GetPath() + p = &PagesSource{} + p.GetPath() + p = nil + p.GetPath() +} + +func TestPageStats_GetTotalPages(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PageStats{TotalPages: &zeroValue} + p.GetTotalPages() + p = &PageStats{} + p.GetTotalPages() + p = nil + p.GetTotalPages() +} + +func TestPagesUpdate_GetBuildType(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PagesUpdate{BuildType: &zeroValue} + p.GetBuildType() + p = &PagesUpdate{} + p.GetBuildType() + p = nil + p.GetBuildType() +} + +func TestPagesUpdate_GetCNAME(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PagesUpdate{CNAME: &zeroValue} + p.GetCNAME() + p = &PagesUpdate{} + p.GetCNAME() + p = nil + p.GetCNAME() +} + +func TestPagesUpdate_GetHTTPSEnforced(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesUpdate{HTTPSEnforced: &zeroValue} + p.GetHTTPSEnforced() + p = &PagesUpdate{} + p.GetHTTPSEnforced() + p = nil + p.GetHTTPSEnforced() +} + +func TestPagesUpdate_GetPublic(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesUpdate{Public: &zeroValue} + p.GetPublic() + p = &PagesUpdate{} + p.GetPublic() + p = nil + p.GetPublic() +} + +func TestPagesUpdate_GetSource(tt *testing.T) { + tt.Parallel() + p := &PagesUpdate{} + p.GetSource() + p = nil + p.GetSource() +} + +func TestPagesUpdateWithoutCNAME_GetBuildType(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PagesUpdateWithoutCNAME{BuildType: &zeroValue} + p.GetBuildType() + p = &PagesUpdateWithoutCNAME{} + p.GetBuildType() + p = nil + p.GetBuildType() +} + +func TestPagesUpdateWithoutCNAME_GetHTTPSEnforced(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesUpdateWithoutCNAME{HTTPSEnforced: &zeroValue} + p.GetHTTPSEnforced() + p = &PagesUpdateWithoutCNAME{} + p.GetHTTPSEnforced() + p = nil + p.GetHTTPSEnforced() +} + +func TestPagesUpdateWithoutCNAME_GetPublic(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PagesUpdateWithoutCNAME{Public: &zeroValue} + p.GetPublic() + p = &PagesUpdateWithoutCNAME{} + p.GetPublic() + p = nil + p.GetPublic() +} + +func TestPagesUpdateWithoutCNAME_GetSource(tt *testing.T) { + tt.Parallel() + p := &PagesUpdateWithoutCNAME{} + p.GetSource() + p = nil + 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 + p := &PatternRuleParameters{Name: &zeroValue} + p.GetName() + p = &PatternRuleParameters{} + p.GetName() + p = nil + p.GetName() +} + +func TestPatternRuleParameters_GetNegate(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PatternRuleParameters{Negate: &zeroValue} + p.GetNegate() + p = &PatternRuleParameters{} + p.GetNegate() + p = nil + 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 + p := &PendingDeployment{CurrentUserCanApprove: &zeroValue} + p.GetCurrentUserCanApprove() + p = &PendingDeployment{} + p.GetCurrentUserCanApprove() + p = nil + p.GetCurrentUserCanApprove() +} + +func TestPendingDeployment_GetEnvironment(tt *testing.T) { + tt.Parallel() + p := &PendingDeployment{} + p.GetEnvironment() + p = nil + 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 + p := &PendingDeployment{WaitTimer: &zeroValue} + p.GetWaitTimer() + p = &PendingDeployment{} + p.GetWaitTimer() + p = nil + p.GetWaitTimer() +} + +func TestPendingDeployment_GetWaitTimerStartedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PendingDeployment{WaitTimerStartedAt: &zeroValue} + p.GetWaitTimerStartedAt() + p = &PendingDeployment{} + p.GetWaitTimerStartedAt() + p = nil + p.GetWaitTimerStartedAt() +} + +func TestPendingDeploymentEnvironment_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PendingDeploymentEnvironment{HTMLURL: &zeroValue} + p.GetHTMLURL() + p = &PendingDeploymentEnvironment{} + p.GetHTMLURL() + p = nil + p.GetHTMLURL() +} + +func TestPendingDeploymentEnvironment_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &PendingDeploymentEnvironment{ID: &zeroValue} + p.GetID() + p = &PendingDeploymentEnvironment{} + p.GetID() + p = nil + p.GetID() +} + +func TestPendingDeploymentEnvironment_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PendingDeploymentEnvironment{Name: &zeroValue} + p.GetName() + p = &PendingDeploymentEnvironment{} + p.GetName() + p = nil + p.GetName() +} + +func TestPendingDeploymentEnvironment_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PendingDeploymentEnvironment{NodeID: &zeroValue} + p.GetNodeID() + p = &PendingDeploymentEnvironment{} + p.GetNodeID() + p = nil + p.GetNodeID() +} + +func TestPendingDeploymentEnvironment_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PendingDeploymentEnvironment{URL: &zeroValue} + p.GetURL() + p = &PendingDeploymentEnvironment{} + p.GetURL() + p = nil + 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 + p := &PersonalAccessToken{AccessGrantedAt: &zeroValue} + p.GetAccessGrantedAt() + p = &PersonalAccessToken{} + p.GetAccessGrantedAt() + p = nil + p.GetAccessGrantedAt() +} + +func TestPersonalAccessToken_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &PersonalAccessToken{ID: &zeroValue} + p.GetID() + p = &PersonalAccessToken{} + p.GetID() + p = nil + p.GetID() +} + +func TestPersonalAccessToken_GetOwner(tt *testing.T) { + tt.Parallel() + p := &PersonalAccessToken{} + p.GetOwner() + p = nil + p.GetOwner() +} + +func TestPersonalAccessToken_GetPermissions(tt *testing.T) { + tt.Parallel() + p := &PersonalAccessToken{} + p.GetPermissions() + p = nil + p.GetPermissions() +} + +func TestPersonalAccessToken_GetRepositoriesURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PersonalAccessToken{RepositoriesURL: &zeroValue} + p.GetRepositoriesURL() + p = &PersonalAccessToken{} + p.GetRepositoriesURL() + p = nil + p.GetRepositoriesURL() +} + +func TestPersonalAccessToken_GetRepositorySelection(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PersonalAccessToken{RepositorySelection: &zeroValue} + p.GetRepositorySelection() + p = &PersonalAccessToken{} + p.GetRepositorySelection() + p = nil + p.GetRepositorySelection() +} + +func TestPersonalAccessToken_GetTokenExpired(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PersonalAccessToken{TokenExpired: &zeroValue} + p.GetTokenExpired() + p = &PersonalAccessToken{} + p.GetTokenExpired() + p = nil + p.GetTokenExpired() +} + +func TestPersonalAccessToken_GetTokenExpiresAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PersonalAccessToken{TokenExpiresAt: &zeroValue} + p.GetTokenExpiresAt() + p = &PersonalAccessToken{} + p.GetTokenExpiresAt() + p = nil + p.GetTokenExpiresAt() +} + +func TestPersonalAccessToken_GetTokenID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &PersonalAccessToken{TokenID: &zeroValue} + p.GetTokenID() + p = &PersonalAccessToken{} + p.GetTokenID() + p = nil + p.GetTokenID() +} + +func TestPersonalAccessToken_GetTokenLastUsedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PersonalAccessToken{TokenLastUsedAt: &zeroValue} + p.GetTokenLastUsedAt() + p = &PersonalAccessToken{} + p.GetTokenLastUsedAt() + p = nil + p.GetTokenLastUsedAt() +} + +func TestPersonalAccessToken_GetTokenName(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PersonalAccessToken{TokenName: &zeroValue} + p.GetTokenName() + p = &PersonalAccessToken{} + p.GetTokenName() + p = nil + p.GetTokenName() +} + +func TestPersonalAccessTokenPermissions_GetOrg(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]string{} + p := &PersonalAccessTokenPermissions{Org: zeroValue} + p.GetOrg() + p = &PersonalAccessTokenPermissions{} + p.GetOrg() + p = nil + p.GetOrg() +} + +func TestPersonalAccessTokenPermissions_GetOther(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]string{} + p := &PersonalAccessTokenPermissions{Other: zeroValue} + p.GetOther() + p = &PersonalAccessTokenPermissions{} + p.GetOther() + p = nil + p.GetOther() +} + +func TestPersonalAccessTokenPermissions_GetRepo(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]string{} + p := &PersonalAccessTokenPermissions{Repo: zeroValue} + p.GetRepo() + p = &PersonalAccessTokenPermissions{} + p.GetRepo() + p = nil + p.GetRepo() +} + +func TestPersonalAccessTokenRequest_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PersonalAccessTokenRequest{CreatedAt: &zeroValue} + p.GetCreatedAt() + p = &PersonalAccessTokenRequest{} + p.GetCreatedAt() + p = nil + p.GetCreatedAt() +} + +func TestPersonalAccessTokenRequest_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &PersonalAccessTokenRequest{ID: &zeroValue} + p.GetID() + p = &PersonalAccessTokenRequest{} + p.GetID() + p = nil + p.GetID() +} + +func TestPersonalAccessTokenRequest_GetOrg(tt *testing.T) { + tt.Parallel() + p := &PersonalAccessTokenRequest{} + p.GetOrg() + p = nil + p.GetOrg() +} + +func TestPersonalAccessTokenRequest_GetOwner(tt *testing.T) { + tt.Parallel() + p := &PersonalAccessTokenRequest{} + p.GetOwner() + p = nil + p.GetOwner() +} + +func TestPersonalAccessTokenRequest_GetPermissionsAdded(tt *testing.T) { + tt.Parallel() + p := &PersonalAccessTokenRequest{} + p.GetPermissionsAdded() + p = nil + p.GetPermissionsAdded() +} + +func TestPersonalAccessTokenRequest_GetPermissionsResult(tt *testing.T) { + tt.Parallel() + p := &PersonalAccessTokenRequest{} + p.GetPermissionsResult() + p = nil + p.GetPermissionsResult() +} + +func TestPersonalAccessTokenRequest_GetPermissionsUpgraded(tt *testing.T) { + tt.Parallel() + p := &PersonalAccessTokenRequest{} + p.GetPermissionsUpgraded() + p = nil + 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 + p := &PersonalAccessTokenRequest{RepositoryCount: &zeroValue} + p.GetRepositoryCount() + p = &PersonalAccessTokenRequest{} + p.GetRepositoryCount() + p = nil + p.GetRepositoryCount() +} + +func TestPersonalAccessTokenRequest_GetRepositorySelection(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PersonalAccessTokenRequest{RepositorySelection: &zeroValue} + p.GetRepositorySelection() + p = &PersonalAccessTokenRequest{} + p.GetRepositorySelection() + p = nil + p.GetRepositorySelection() +} + +func TestPersonalAccessTokenRequest_GetTokenExpired(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PersonalAccessTokenRequest{TokenExpired: &zeroValue} + p.GetTokenExpired() + p = &PersonalAccessTokenRequest{} + p.GetTokenExpired() + p = nil + p.GetTokenExpired() +} + +func TestPersonalAccessTokenRequest_GetTokenExpiresAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PersonalAccessTokenRequest{TokenExpiresAt: &zeroValue} + p.GetTokenExpiresAt() + p = &PersonalAccessTokenRequest{} + p.GetTokenExpiresAt() + p = nil + p.GetTokenExpiresAt() +} + +func TestPersonalAccessTokenRequest_GetTokenLastUsedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PersonalAccessTokenRequest{TokenLastUsedAt: &zeroValue} + p.GetTokenLastUsedAt() + p = &PersonalAccessTokenRequest{} + p.GetTokenLastUsedAt() + p = nil + p.GetTokenLastUsedAt() +} + +func TestPersonalAccessTokenRequestEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PersonalAccessTokenRequestEvent{Action: &zeroValue} + p.GetAction() + p = &PersonalAccessTokenRequestEvent{} + p.GetAction() + p = nil + p.GetAction() +} + +func TestPersonalAccessTokenRequestEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + p := &PersonalAccessTokenRequestEvent{} + p.GetInstallation() + p = nil + p.GetInstallation() +} + +func TestPersonalAccessTokenRequestEvent_GetOrg(tt *testing.T) { + tt.Parallel() + p := &PersonalAccessTokenRequestEvent{} + p.GetOrg() + p = nil + p.GetOrg() +} + +func TestPersonalAccessTokenRequestEvent_GetPersonalAccessTokenRequest(tt *testing.T) { + tt.Parallel() + p := &PersonalAccessTokenRequestEvent{} + p.GetPersonalAccessTokenRequest() + p = nil + p.GetPersonalAccessTokenRequest() +} + +func TestPersonalAccessTokenRequestEvent_GetSender(tt *testing.T) { + tt.Parallel() + p := &PersonalAccessTokenRequestEvent{} + p.GetSender() + p = nil + p.GetSender() +} + +func TestPingEvent_GetHook(tt *testing.T) { + tt.Parallel() + p := &PingEvent{} + p.GetHook() + p = nil + p.GetHook() +} + +func TestPingEvent_GetHookID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &PingEvent{HookID: &zeroValue} + p.GetHookID() + p = &PingEvent{} + p.GetHookID() + p = nil + p.GetHookID() +} + +func TestPingEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + p := &PingEvent{} + p.GetInstallation() + p = nil + p.GetInstallation() +} + +func TestPingEvent_GetOrg(tt *testing.T) { + tt.Parallel() + p := &PingEvent{} + p.GetOrg() + p = nil + p.GetOrg() +} + +func TestPingEvent_GetRepo(tt *testing.T) { + tt.Parallel() + p := &PingEvent{} + p.GetRepo() + p = nil + p.GetRepo() +} + +func TestPingEvent_GetSender(tt *testing.T) { + tt.Parallel() + p := &PingEvent{} + p.GetSender() + p = nil + p.GetSender() +} + +func TestPingEvent_GetZen(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PingEvent{Zen: &zeroValue} + p.GetZen() + p = &PingEvent{} + p.GetZen() + p = nil + p.GetZen() +} + +func TestPinnedIssueComment_GetPinnedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PinnedIssueComment{PinnedAt: &zeroValue} + p.GetPinnedAt() + p = &PinnedIssueComment{} + p.GetPinnedAt() + p = nil + p.GetPinnedAt() +} + +func TestPinnedIssueComment_GetPinnedBy(tt *testing.T) { + tt.Parallel() + p := &PinnedIssueComment{} + p.GetPinnedBy() + p = nil + p.GetPinnedBy() +} + +func TestPlan_GetCollaborators(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &Plan{Collaborators: &zeroValue} + p.GetCollaborators() + p = &Plan{} + p.GetCollaborators() + p = nil + p.GetCollaborators() +} + +func TestPlan_GetFilledSeats(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &Plan{FilledSeats: &zeroValue} + p.GetFilledSeats() + p = &Plan{} + p.GetFilledSeats() + p = nil + p.GetFilledSeats() +} + +func TestPlan_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &Plan{Name: &zeroValue} + p.GetName() + p = &Plan{} + p.GetName() + p = nil + p.GetName() +} + +func TestPlan_GetPrivateRepos(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &Plan{PrivateRepos: &zeroValue} + p.GetPrivateRepos() + p = &Plan{} + p.GetPrivateRepos() + p = nil + p.GetPrivateRepos() +} + +func TestPlan_GetSeats(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &Plan{Seats: &zeroValue} + p.GetSeats() + p = &Plan{} + p.GetSeats() + p = nil + p.GetSeats() +} + +func TestPlan_GetSpace(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &Plan{Space: &zeroValue} + p.GetSpace() + p = &Plan{} + p.GetSpace() + p = nil + 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 + p := &PremiumRequestUsageReport{Model: &zeroValue} + p.GetModel() + p = &PremiumRequestUsageReport{} + p.GetModel() + p = nil + p.GetModel() +} + +func TestPremiumRequestUsageReport_GetOrganization(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PremiumRequestUsageReport{Organization: &zeroValue} + p.GetOrganization() + p = &PremiumRequestUsageReport{} + p.GetOrganization() + p = nil + p.GetOrganization() +} + +func TestPremiumRequestUsageReport_GetProduct(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PremiumRequestUsageReport{Product: &zeroValue} + p.GetProduct() + p = &PremiumRequestUsageReport{} + p.GetProduct() + p = nil + 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 + p := &PremiumRequestUsageReport{User: &zeroValue} + p.GetUser() + p = &PremiumRequestUsageReport{} + p.GetUser() + p = nil + p.GetUser() +} + +func TestPremiumRequestUsageReportOptions_GetDay(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PremiumRequestUsageReportOptions{Day: &zeroValue} + p.GetDay() + p = &PremiumRequestUsageReportOptions{} + p.GetDay() + p = nil + p.GetDay() +} + +func TestPremiumRequestUsageReportOptions_GetModel(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PremiumRequestUsageReportOptions{Model: &zeroValue} + p.GetModel() + p = &PremiumRequestUsageReportOptions{} + p.GetModel() + p = nil + p.GetModel() +} + +func TestPremiumRequestUsageReportOptions_GetMonth(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PremiumRequestUsageReportOptions{Month: &zeroValue} + p.GetMonth() + p = &PremiumRequestUsageReportOptions{} + p.GetMonth() + p = nil + p.GetMonth() +} + +func TestPremiumRequestUsageReportOptions_GetProduct(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PremiumRequestUsageReportOptions{Product: &zeroValue} + p.GetProduct() + p = &PremiumRequestUsageReportOptions{} + p.GetProduct() + p = nil + p.GetProduct() +} + +func TestPremiumRequestUsageReportOptions_GetUser(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PremiumRequestUsageReportOptions{User: &zeroValue} + p.GetUser() + p = &PremiumRequestUsageReportOptions{} + p.GetUser() + p = nil + p.GetUser() +} + +func TestPremiumRequestUsageReportOptions_GetYear(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PremiumRequestUsageReportOptions{Year: &zeroValue} + p.GetYear() + p = &PremiumRequestUsageReportOptions{} + p.GetYear() + p = nil + p.GetYear() +} + +func TestPremiumRequestUsageTimePeriod_GetDay(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PremiumRequestUsageTimePeriod{Day: &zeroValue} + p.GetDay() + p = &PremiumRequestUsageTimePeriod{} + p.GetDay() + p = nil + p.GetDay() +} + +func TestPremiumRequestUsageTimePeriod_GetMonth(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PremiumRequestUsageTimePeriod{Month: &zeroValue} + p.GetMonth() + p = &PremiumRequestUsageTimePeriod{} + p.GetMonth() + p = nil + 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 + p := &PreReceiveHook{ConfigURL: &zeroValue} + p.GetConfigURL() + p = &PreReceiveHook{} + p.GetConfigURL() + p = nil + p.GetConfigURL() +} + +func TestPreReceiveHook_GetEnforcement(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PreReceiveHook{Enforcement: &zeroValue} + p.GetEnforcement() + p = &PreReceiveHook{} + p.GetEnforcement() + p = nil + p.GetEnforcement() +} + +func TestPreReceiveHook_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &PreReceiveHook{ID: &zeroValue} + p.GetID() + p = &PreReceiveHook{} + p.GetID() + p = nil + p.GetID() +} + +func TestPreReceiveHook_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PreReceiveHook{Name: &zeroValue} + p.GetName() + p = &PreReceiveHook{} + p.GetName() + p = nil + 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 + p := &PrivateRegistries{TotalCount: &zeroValue} + p.GetTotalCount() + p = &PrivateRegistries{} + p.GetTotalCount() + p = nil + p.GetTotalCount() +} + +func TestPrivateRegistry_GetAccountID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PrivateRegistry{AccountID: &zeroValue} + p.GetAccountID() + p = &PrivateRegistry{} + p.GetAccountID() + p = nil + p.GetAccountID() +} + +func TestPrivateRegistry_GetAudience(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PrivateRegistry{Audience: &zeroValue} + p.GetAudience() + p = &PrivateRegistry{} + p.GetAudience() + p = nil + p.GetAudience() +} + +func TestPrivateRegistry_GetAuthType(tt *testing.T) { + tt.Parallel() + p := &PrivateRegistry{} + p.GetAuthType() + p = nil + p.GetAuthType() +} + +func TestPrivateRegistry_GetAWSRegion(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PrivateRegistry{AWSRegion: &zeroValue} + p.GetAWSRegion() + p = &PrivateRegistry{} + p.GetAWSRegion() + p = nil + p.GetAWSRegion() +} + +func TestPrivateRegistry_GetClientID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PrivateRegistry{ClientID: &zeroValue} + p.GetClientID() + p = &PrivateRegistry{} + p.GetClientID() + p = nil + p.GetClientID() +} + +func TestPrivateRegistry_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PrivateRegistry{CreatedAt: &zeroValue} + p.GetCreatedAt() + p = &PrivateRegistry{} + p.GetCreatedAt() + p = nil + p.GetCreatedAt() +} + +func TestPrivateRegistry_GetDomain(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PrivateRegistry{Domain: &zeroValue} + p.GetDomain() + p = &PrivateRegistry{} + p.GetDomain() + p = nil + p.GetDomain() +} + +func TestPrivateRegistry_GetDomainOwner(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PrivateRegistry{DomainOwner: &zeroValue} + p.GetDomainOwner() + p = &PrivateRegistry{} + p.GetDomainOwner() + p = nil + p.GetDomainOwner() +} + +func TestPrivateRegistry_GetIdentityMappingName(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PrivateRegistry{IdentityMappingName: &zeroValue} + p.GetIdentityMappingName() + p = &PrivateRegistry{} + p.GetIdentityMappingName() + p = nil + p.GetIdentityMappingName() +} + +func TestPrivateRegistry_GetJFrogOIDCProviderName(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PrivateRegistry{JFrogOIDCProviderName: &zeroValue} + p.GetJFrogOIDCProviderName() + p = &PrivateRegistry{} + p.GetJFrogOIDCProviderName() + p = nil + p.GetJFrogOIDCProviderName() +} + +func TestPrivateRegistry_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PrivateRegistry{Name: &zeroValue} + p.GetName() + p = &PrivateRegistry{} + p.GetName() + p = nil + p.GetName() +} + +func TestPrivateRegistry_GetRegistryType(tt *testing.T) { + tt.Parallel() + p := &PrivateRegistry{} + p.GetRegistryType() + p = nil + p.GetRegistryType() +} + +func TestPrivateRegistry_GetReplacesBase(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PrivateRegistry{ReplacesBase: &zeroValue} + p.GetReplacesBase() + p = &PrivateRegistry{} + p.GetReplacesBase() + p = nil + p.GetReplacesBase() +} + +func TestPrivateRegistry_GetRoleName(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PrivateRegistry{RoleName: &zeroValue} + p.GetRoleName() + p = &PrivateRegistry{} + p.GetRoleName() + p = nil + p.GetRoleName() +} + +func TestPrivateRegistry_GetSelectedRepositoryIDs(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + p := &PrivateRegistry{SelectedRepositoryIDs: zeroValue} + p.GetSelectedRepositoryIDs() + p = &PrivateRegistry{} + p.GetSelectedRepositoryIDs() + p = nil + p.GetSelectedRepositoryIDs() +} + +func TestPrivateRegistry_GetTenantID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PrivateRegistry{TenantID: &zeroValue} + p.GetTenantID() + p = &PrivateRegistry{} + p.GetTenantID() + p = nil + p.GetTenantID() +} + +func TestPrivateRegistry_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PrivateRegistry{UpdatedAt: &zeroValue} + p.GetUpdatedAt() + p = &PrivateRegistry{} + p.GetUpdatedAt() + p = nil + p.GetUpdatedAt() +} + +func TestPrivateRegistry_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PrivateRegistry{URL: &zeroValue} + p.GetURL() + p = &PrivateRegistry{} + p.GetURL() + p = nil + p.GetURL() +} + +func TestPrivateRegistry_GetUsername(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PrivateRegistry{Username: &zeroValue} + p.GetUsername() + p = &PrivateRegistry{} + p.GetUsername() + p = nil + p.GetUsername() +} + +func TestPrivateRegistry_GetVisibility(tt *testing.T) { + tt.Parallel() + p := &PrivateRegistry{} + p.GetVisibility() + p = nil + p.GetVisibility() +} + +func TestPRLink_GetHRef(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PRLink{HRef: &zeroValue} + p.GetHRef() + p = &PRLink{} + p.GetHRef() + p = nil + p.GetHRef() +} + +func TestPRLinks_GetComments(tt *testing.T) { + tt.Parallel() + p := &PRLinks{} + p.GetComments() + p = nil + p.GetComments() +} + +func TestPRLinks_GetCommits(tt *testing.T) { + tt.Parallel() + p := &PRLinks{} + p.GetCommits() + p = nil + p.GetCommits() +} + +func TestPRLinks_GetHTML(tt *testing.T) { + tt.Parallel() + p := &PRLinks{} + p.GetHTML() + p = nil + p.GetHTML() +} + +func TestPRLinks_GetIssue(tt *testing.T) { + tt.Parallel() + p := &PRLinks{} + p.GetIssue() + p = nil + p.GetIssue() +} + +func TestPRLinks_GetReviewComment(tt *testing.T) { + tt.Parallel() + p := &PRLinks{} + p.GetReviewComment() + p = nil + p.GetReviewComment() +} + +func TestPRLinks_GetReviewComments(tt *testing.T) { + tt.Parallel() + p := &PRLinks{} + p.GetReviewComments() + p = nil + p.GetReviewComments() +} + +func TestPRLinks_GetSelf(tt *testing.T) { + tt.Parallel() + p := &PRLinks{} + p.GetSelf() + p = nil + p.GetSelf() +} + +func TestPRLinks_GetStatuses(tt *testing.T) { + tt.Parallel() + p := &PRLinks{} + p.GetStatuses() + p = nil + p.GetStatuses() +} + +func TestProjectBody_GetFrom(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectBody{From: &zeroValue} + p.GetFrom() + p = &ProjectBody{} + p.GetFrom() + p = nil + p.GetFrom() +} + +func TestProjectCardChange_GetNote(tt *testing.T) { + tt.Parallel() + p := &ProjectCardChange{} + p.GetNote() + p = nil + p.GetNote() +} + +func TestProjectCardNote_GetFrom(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectCardNote{From: &zeroValue} + p.GetFrom() + p = &ProjectCardNote{} + p.GetFrom() + p = nil + p.GetFrom() +} + +func TestProjectChange_GetBody(tt *testing.T) { + tt.Parallel() + p := &ProjectChange{} + p.GetBody() + p = nil + p.GetBody() +} + +func TestProjectChange_GetName(tt *testing.T) { + tt.Parallel() + p := &ProjectChange{} + p.GetName() + p = nil + p.GetName() +} + +func TestProjectColumnChange_GetName(tt *testing.T) { + tt.Parallel() + p := &ProjectColumnChange{} + p.GetName() + p = nil + p.GetName() +} + +func TestProjectColumnName_GetFrom(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectColumnName{From: &zeroValue} + p.GetFrom() + p = &ProjectColumnName{} + p.GetFrom() + p = nil + p.GetFrom() +} + +func TestProjectName_GetFrom(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectName{From: &zeroValue} + p.GetFrom() + p = &ProjectName{} + p.GetFrom() + p = nil + p.GetFrom() +} + +func TestProjectV2_GetBody(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2{Body: &zeroValue} + p.GetBody() + p = &ProjectV2{} + p.GetBody() + p = nil + p.GetBody() +} + +func TestProjectV2_GetClosedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &ProjectV2{ClosedAt: &zeroValue} + p.GetClosedAt() + p = &ProjectV2{} + p.GetClosedAt() + p = nil + p.GetClosedAt() +} + +func TestProjectV2_GetColumnsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2{ColumnsURL: &zeroValue} + p.GetColumnsURL() + p = &ProjectV2{} + p.GetColumnsURL() + p = nil + p.GetColumnsURL() +} + +func TestProjectV2_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &ProjectV2{CreatedAt: &zeroValue} + p.GetCreatedAt() + p = &ProjectV2{} + p.GetCreatedAt() + p = nil + p.GetCreatedAt() +} + +func TestProjectV2_GetCreator(tt *testing.T) { + tt.Parallel() + p := &ProjectV2{} + p.GetCreator() + p = nil + p.GetCreator() +} + +func TestProjectV2_GetDeletedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &ProjectV2{DeletedAt: &zeroValue} + p.GetDeletedAt() + p = &ProjectV2{} + p.GetDeletedAt() + p = nil + p.GetDeletedAt() +} + +func TestProjectV2_GetDeletedBy(tt *testing.T) { + tt.Parallel() + p := &ProjectV2{} + p.GetDeletedBy() + p = nil + p.GetDeletedBy() +} + +func TestProjectV2_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2{Description: &zeroValue} + p.GetDescription() + p = &ProjectV2{} + p.GetDescription() + p = nil + p.GetDescription() +} + +func TestProjectV2_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2{HTMLURL: &zeroValue} + p.GetHTMLURL() + p = &ProjectV2{} + p.GetHTMLURL() + p = nil + p.GetHTMLURL() +} + +func TestProjectV2_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &ProjectV2{ID: &zeroValue} + p.GetID() + p = &ProjectV2{} + p.GetID() + p = nil + p.GetID() +} + +func TestProjectV2_GetIsTemplate(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &ProjectV2{IsTemplate: &zeroValue} + p.GetIsTemplate() + p = &ProjectV2{} + p.GetIsTemplate() + p = nil + p.GetIsTemplate() +} + +func TestProjectV2_GetLatestStatusUpdate(tt *testing.T) { + tt.Parallel() + p := &ProjectV2{} + p.GetLatestStatusUpdate() + p = nil + p.GetLatestStatusUpdate() +} + +func TestProjectV2_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2{Name: &zeroValue} + p.GetName() + p = &ProjectV2{} + p.GetName() + p = nil + p.GetName() +} + +func TestProjectV2_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2{NodeID: &zeroValue} + p.GetNodeID() + p = &ProjectV2{} + p.GetNodeID() + p = nil + p.GetNodeID() +} + +func TestProjectV2_GetNumber(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &ProjectV2{Number: &zeroValue} + p.GetNumber() + p = &ProjectV2{} + p.GetNumber() + p = nil + p.GetNumber() +} + +func TestProjectV2_GetOrganizationPermission(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2{OrganizationPermission: &zeroValue} + p.GetOrganizationPermission() + p = &ProjectV2{} + p.GetOrganizationPermission() + p = nil + p.GetOrganizationPermission() +} + +func TestProjectV2_GetOwner(tt *testing.T) { + tt.Parallel() + p := &ProjectV2{} + p.GetOwner() + p = nil + p.GetOwner() +} + +func TestProjectV2_GetOwnerURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2{OwnerURL: &zeroValue} + p.GetOwnerURL() + p = &ProjectV2{} + p.GetOwnerURL() + p = nil + p.GetOwnerURL() +} + +func TestProjectV2_GetPrivate(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &ProjectV2{Private: &zeroValue} + p.GetPrivate() + p = &ProjectV2{} + p.GetPrivate() + p = nil + p.GetPrivate() +} + +func TestProjectV2_GetPublic(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &ProjectV2{Public: &zeroValue} + p.GetPublic() + p = &ProjectV2{} + p.GetPublic() + p = nil + p.GetPublic() +} + +func TestProjectV2_GetShortDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2{ShortDescription: &zeroValue} + p.GetShortDescription() + p = &ProjectV2{} + p.GetShortDescription() + p = nil + p.GetShortDescription() +} + +func TestProjectV2_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2{State: &zeroValue} + p.GetState() + p = &ProjectV2{} + p.GetState() + p = nil + p.GetState() +} + +func TestProjectV2_GetTitle(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2{Title: &zeroValue} + p.GetTitle() + p = &ProjectV2{} + p.GetTitle() + p = nil + p.GetTitle() +} + +func TestProjectV2_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &ProjectV2{UpdatedAt: &zeroValue} + p.GetUpdatedAt() + p = &ProjectV2{} + p.GetUpdatedAt() + p = nil + p.GetUpdatedAt() +} + +func TestProjectV2_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2{URL: &zeroValue} + p.GetURL() + p = &ProjectV2{} + p.GetURL() + p = nil + p.GetURL() +} + +func TestProjectV2DraftIssue_GetBody(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2DraftIssue{Body: &zeroValue} + p.GetBody() + p = &ProjectV2DraftIssue{} + p.GetBody() + p = nil + p.GetBody() +} + +func TestProjectV2DraftIssue_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &ProjectV2DraftIssue{CreatedAt: &zeroValue} + p.GetCreatedAt() + p = &ProjectV2DraftIssue{} + p.GetCreatedAt() + p = nil + p.GetCreatedAt() +} + +func TestProjectV2DraftIssue_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &ProjectV2DraftIssue{ID: &zeroValue} + p.GetID() + p = &ProjectV2DraftIssue{} + p.GetID() + p = nil + p.GetID() +} + +func TestProjectV2DraftIssue_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2DraftIssue{NodeID: &zeroValue} + p.GetNodeID() + p = &ProjectV2DraftIssue{} + p.GetNodeID() + p = nil + p.GetNodeID() +} + +func TestProjectV2DraftIssue_GetTitle(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2DraftIssue{Title: &zeroValue} + p.GetTitle() + p = &ProjectV2DraftIssue{} + p.GetTitle() + p = nil + p.GetTitle() +} + +func TestProjectV2DraftIssue_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &ProjectV2DraftIssue{UpdatedAt: &zeroValue} + p.GetUpdatedAt() + p = &ProjectV2DraftIssue{} + p.GetUpdatedAt() + p = nil + p.GetUpdatedAt() +} + +func TestProjectV2DraftIssue_GetUser(tt *testing.T) { + tt.Parallel() + p := &ProjectV2DraftIssue{} + p.GetUser() + p = nil + p.GetUser() +} + +func TestProjectV2Event_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2Event{Action: &zeroValue} + p.GetAction() + p = &ProjectV2Event{} + p.GetAction() + p = nil + p.GetAction() +} + +func TestProjectV2Event_GetInstallation(tt *testing.T) { + tt.Parallel() + p := &ProjectV2Event{} + p.GetInstallation() + p = nil + p.GetInstallation() +} + +func TestProjectV2Event_GetOrg(tt *testing.T) { + tt.Parallel() + p := &ProjectV2Event{} + p.GetOrg() + p = nil + p.GetOrg() +} + +func TestProjectV2Event_GetProjectsV2(tt *testing.T) { + tt.Parallel() + p := &ProjectV2Event{} + p.GetProjectsV2() + p = nil + p.GetProjectsV2() +} + +func TestProjectV2Event_GetSender(tt *testing.T) { + tt.Parallel() + p := &ProjectV2Event{} + p.GetSender() + p = nil + p.GetSender() +} + +func TestProjectV2Field_GetConfiguration(tt *testing.T) { + tt.Parallel() + p := &ProjectV2Field{} + p.GetConfiguration() + p = nil + p.GetConfiguration() +} + +func TestProjectV2Field_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &ProjectV2Field{CreatedAt: &zeroValue} + p.GetCreatedAt() + p = &ProjectV2Field{} + p.GetCreatedAt() + p = nil + p.GetCreatedAt() +} + +func TestProjectV2Field_GetDataType(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2Field{DataType: &zeroValue} + p.GetDataType() + p = &ProjectV2Field{} + p.GetDataType() + p = nil + p.GetDataType() +} + +func TestProjectV2Field_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &ProjectV2Field{ID: &zeroValue} + p.GetID() + p = &ProjectV2Field{} + p.GetID() + p = nil + p.GetID() +} + +func TestProjectV2Field_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2Field{Name: &zeroValue} + p.GetName() + p = &ProjectV2Field{} + p.GetName() + p = nil + p.GetName() +} + +func TestProjectV2Field_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2Field{NodeID: &zeroValue} + p.GetNodeID() + p = &ProjectV2Field{} + p.GetNodeID() + p = nil + 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 + p := &ProjectV2Field{ProjectURL: &zeroValue} + p.GetProjectURL() + p = &ProjectV2Field{} + p.GetProjectURL() + p = nil + p.GetProjectURL() +} + +func TestProjectV2Field_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &ProjectV2Field{UpdatedAt: &zeroValue} + p.GetUpdatedAt() + p = &ProjectV2Field{} + p.GetUpdatedAt() + p = nil + p.GetUpdatedAt() +} + +func TestProjectV2FieldConfiguration_GetDuration(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &ProjectV2FieldConfiguration{Duration: &zeroValue} + p.GetDuration() + p = &ProjectV2FieldConfiguration{} + p.GetDuration() + p = nil + 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 + p := &ProjectV2FieldConfiguration{StartDay: &zeroValue} + p.GetStartDay() + p = &ProjectV2FieldConfiguration{} + p.GetStartDay() + p = nil + p.GetStartDay() +} + +func TestProjectV2FieldIteration_GetDuration(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &ProjectV2FieldIteration{Duration: &zeroValue} + p.GetDuration() + p = &ProjectV2FieldIteration{} + p.GetDuration() + p = nil + p.GetDuration() +} + +func TestProjectV2FieldIteration_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2FieldIteration{ID: &zeroValue} + p.GetID() + p = &ProjectV2FieldIteration{} + p.GetID() + p = nil + p.GetID() +} + +func TestProjectV2FieldIteration_GetStartDate(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2FieldIteration{StartDate: &zeroValue} + p.GetStartDate() + p = &ProjectV2FieldIteration{} + p.GetStartDate() + p = nil + p.GetStartDate() +} + +func TestProjectV2FieldIteration_GetTitle(tt *testing.T) { + tt.Parallel() + p := &ProjectV2FieldIteration{} + p.GetTitle() + p = nil + p.GetTitle() +} + +func TestProjectV2FieldIterationConfiguration_GetDuration(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &ProjectV2FieldIterationConfiguration{Duration: &zeroValue} + p.GetDuration() + p = &ProjectV2FieldIterationConfiguration{} + p.GetDuration() + p = nil + p.GetDuration() +} + +func TestProjectV2FieldIterationConfiguration_GetIterations(tt *testing.T) { + tt.Parallel() + zeroValue := []*ProjectV2FieldIterationConfigurationIteration{} + p := &ProjectV2FieldIterationConfiguration{Iterations: zeroValue} + p.GetIterations() + p = &ProjectV2FieldIterationConfiguration{} + p.GetIterations() + p = nil + p.GetIterations() +} + +func TestProjectV2FieldIterationConfiguration_GetStartDate(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2FieldIterationConfiguration{StartDate: &zeroValue} + p.GetStartDate() + p = &ProjectV2FieldIterationConfiguration{} + p.GetStartDate() + p = nil + p.GetStartDate() +} + +func TestProjectV2FieldIterationConfigurationIteration_GetDuration(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &ProjectV2FieldIterationConfigurationIteration{Duration: &zeroValue} + p.GetDuration() + p = &ProjectV2FieldIterationConfigurationIteration{} + p.GetDuration() + p = nil + p.GetDuration() +} + +func TestProjectV2FieldIterationConfigurationIteration_GetStartDate(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2FieldIterationConfigurationIteration{StartDate: &zeroValue} + p.GetStartDate() + p = &ProjectV2FieldIterationConfigurationIteration{} + p.GetStartDate() + p = nil + p.GetStartDate() +} + +func TestProjectV2FieldIterationConfigurationIteration_GetTitle(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2FieldIterationConfigurationIteration{Title: &zeroValue} + p.GetTitle() + p = &ProjectV2FieldIterationConfigurationIteration{} + p.GetTitle() + p = nil + p.GetTitle() +} + +func TestProjectV2FieldOption_GetColor(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2FieldOption{Color: &zeroValue} + p.GetColor() + p = &ProjectV2FieldOption{} + p.GetColor() + p = nil + p.GetColor() +} + +func TestProjectV2FieldOption_GetDescription(tt *testing.T) { + tt.Parallel() + p := &ProjectV2FieldOption{} + p.GetDescription() + p = nil + p.GetDescription() +} + +func TestProjectV2FieldOption_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2FieldOption{ID: &zeroValue} + p.GetID() + p = &ProjectV2FieldOption{} + p.GetID() + p = nil + p.GetID() +} + +func TestProjectV2FieldOption_GetName(tt *testing.T) { + tt.Parallel() + p := &ProjectV2FieldOption{} + p.GetName() + p = nil + p.GetName() +} + +func TestProjectV2FieldSingleSelectOption_GetColor(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2FieldSingleSelectOption{Color: &zeroValue} + p.GetColor() + p = &ProjectV2FieldSingleSelectOption{} + p.GetColor() + p = nil + p.GetColor() +} + +func TestProjectV2FieldSingleSelectOption_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2FieldSingleSelectOption{Description: &zeroValue} + p.GetDescription() + p = &ProjectV2FieldSingleSelectOption{} + p.GetDescription() + p = nil + p.GetDescription() +} + +func TestProjectV2FieldSingleSelectOption_GetName(tt *testing.T) { + tt.Parallel() + p := &ProjectV2FieldSingleSelectOption{} + p.GetName() + p = nil + p.GetName() +} + +func TestProjectV2Item_GetArchivedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &ProjectV2Item{ArchivedAt: &zeroValue} + p.GetArchivedAt() + p = &ProjectV2Item{} + p.GetArchivedAt() + p = nil + p.GetArchivedAt() +} + +func TestProjectV2Item_GetContent(tt *testing.T) { + tt.Parallel() + p := &ProjectV2Item{} + p.GetContent() + p = nil + p.GetContent() +} + +func TestProjectV2Item_GetContentNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2Item{ContentNodeID: &zeroValue} + p.GetContentNodeID() + p = &ProjectV2Item{} + p.GetContentNodeID() + p = nil + p.GetContentNodeID() +} + +func TestProjectV2Item_GetContentType(tt *testing.T) { + tt.Parallel() + p := &ProjectV2Item{} + p.GetContentType() + p = nil + p.GetContentType() +} + +func TestProjectV2Item_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &ProjectV2Item{CreatedAt: &zeroValue} + p.GetCreatedAt() + p = &ProjectV2Item{} + p.GetCreatedAt() + p = nil + p.GetCreatedAt() +} + +func TestProjectV2Item_GetCreator(tt *testing.T) { + tt.Parallel() + p := &ProjectV2Item{} + p.GetCreator() + p = nil + 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 + p := &ProjectV2Item{ID: &zeroValue} + p.GetID() + p = &ProjectV2Item{} + p.GetID() + p = nil + p.GetID() +} + +func TestProjectV2Item_GetItemURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2Item{ItemURL: &zeroValue} + p.GetItemURL() + p = &ProjectV2Item{} + p.GetItemURL() + p = nil + p.GetItemURL() +} + +func TestProjectV2Item_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2Item{NodeID: &zeroValue} + p.GetNodeID() + p = &ProjectV2Item{} + p.GetNodeID() + p = nil + p.GetNodeID() +} + +func TestProjectV2Item_GetProjectNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2Item{ProjectNodeID: &zeroValue} + p.GetProjectNodeID() + p = &ProjectV2Item{} + p.GetProjectNodeID() + p = nil + p.GetProjectNodeID() +} + +func TestProjectV2Item_GetProjectURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2Item{ProjectURL: &zeroValue} + p.GetProjectURL() + p = &ProjectV2Item{} + p.GetProjectURL() + p = nil + p.GetProjectURL() +} + +func TestProjectV2Item_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &ProjectV2Item{UpdatedAt: &zeroValue} + p.GetUpdatedAt() + p = &ProjectV2Item{} + p.GetUpdatedAt() + p = nil + p.GetUpdatedAt() +} + +func TestProjectV2ItemChange_GetArchivedAt(tt *testing.T) { + tt.Parallel() + p := &ProjectV2ItemChange{} + p.GetArchivedAt() + p = nil + p.GetArchivedAt() +} + +func TestProjectV2ItemChange_GetFieldValue(tt *testing.T) { + tt.Parallel() + p := &ProjectV2ItemChange{} + p.GetFieldValue() + p = nil + p.GetFieldValue() +} + +func TestProjectV2ItemContent_GetDraftIssue(tt *testing.T) { + tt.Parallel() + p := &ProjectV2ItemContent{} + p.GetDraftIssue() + p = nil + p.GetDraftIssue() +} + +func TestProjectV2ItemContent_GetIssue(tt *testing.T) { + tt.Parallel() + p := &ProjectV2ItemContent{} + p.GetIssue() + p = nil + p.GetIssue() +} + +func TestProjectV2ItemContent_GetPullRequest(tt *testing.T) { + tt.Parallel() + p := &ProjectV2ItemContent{} + p.GetPullRequest() + p = nil + p.GetPullRequest() +} + +func TestProjectV2ItemEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2ItemEvent{Action: &zeroValue} + p.GetAction() + p = &ProjectV2ItemEvent{} + p.GetAction() + p = nil + p.GetAction() +} + +func TestProjectV2ItemEvent_GetChanges(tt *testing.T) { + tt.Parallel() + p := &ProjectV2ItemEvent{} + p.GetChanges() + p = nil + p.GetChanges() +} + +func TestProjectV2ItemEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + p := &ProjectV2ItemEvent{} + p.GetInstallation() + p = nil + p.GetInstallation() +} + +func TestProjectV2ItemEvent_GetOrg(tt *testing.T) { + tt.Parallel() + p := &ProjectV2ItemEvent{} + p.GetOrg() + p = nil + p.GetOrg() +} + +func TestProjectV2ItemEvent_GetProjectV2Item(tt *testing.T) { + tt.Parallel() + p := &ProjectV2ItemEvent{} + p.GetProjectV2Item() + p = nil + p.GetProjectV2Item() +} + +func TestProjectV2ItemEvent_GetSender(tt *testing.T) { + tt.Parallel() + p := &ProjectV2ItemEvent{} + p.GetSender() + p = nil + p.GetSender() +} + +func TestProjectV2ItemFieldValue_GetDataType(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2ItemFieldValue{DataType: &zeroValue} + p.GetDataType() + p = &ProjectV2ItemFieldValue{} + p.GetDataType() + p = nil + p.GetDataType() +} + +func TestProjectV2ItemFieldValue_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &ProjectV2ItemFieldValue{ID: &zeroValue} + p.GetID() + p = &ProjectV2ItemFieldValue{} + p.GetID() + p = nil + p.GetID() +} + +func TestProjectV2ItemFieldValue_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2ItemFieldValue{Name: &zeroValue} + p.GetName() + p = &ProjectV2ItemFieldValue{} + p.GetName() + p = nil + 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 + p := &ProjectV2StatusUpdate{Body: &zeroValue} + p.GetBody() + p = &ProjectV2StatusUpdate{} + p.GetBody() + p = nil + p.GetBody() +} + +func TestProjectV2StatusUpdate_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &ProjectV2StatusUpdate{CreatedAt: &zeroValue} + p.GetCreatedAt() + p = &ProjectV2StatusUpdate{} + p.GetCreatedAt() + p = nil + p.GetCreatedAt() +} + +func TestProjectV2StatusUpdate_GetCreator(tt *testing.T) { + tt.Parallel() + p := &ProjectV2StatusUpdate{} + p.GetCreator() + p = nil + p.GetCreator() +} + +func TestProjectV2StatusUpdate_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &ProjectV2StatusUpdate{ID: &zeroValue} + p.GetID() + p = &ProjectV2StatusUpdate{} + p.GetID() + p = nil + p.GetID() +} + +func TestProjectV2StatusUpdate_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2StatusUpdate{NodeID: &zeroValue} + p.GetNodeID() + p = &ProjectV2StatusUpdate{} + p.GetNodeID() + p = nil + p.GetNodeID() +} + +func TestProjectV2StatusUpdate_GetProjectNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2StatusUpdate{ProjectNodeID: &zeroValue} + p.GetProjectNodeID() + p = &ProjectV2StatusUpdate{} + p.GetProjectNodeID() + p = nil + p.GetProjectNodeID() +} + +func TestProjectV2StatusUpdate_GetStartDate(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2StatusUpdate{StartDate: &zeroValue} + p.GetStartDate() + p = &ProjectV2StatusUpdate{} + p.GetStartDate() + p = nil + p.GetStartDate() +} + +func TestProjectV2StatusUpdate_GetStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2StatusUpdate{Status: &zeroValue} + p.GetStatus() + p = &ProjectV2StatusUpdate{} + p.GetStatus() + p = nil + p.GetStatus() +} + +func TestProjectV2StatusUpdate_GetTargetDate(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2StatusUpdate{TargetDate: &zeroValue} + p.GetTargetDate() + p = &ProjectV2StatusUpdate{} + p.GetTargetDate() + p = nil + p.GetTargetDate() +} + +func TestProjectV2StatusUpdate_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &ProjectV2StatusUpdate{UpdatedAt: &zeroValue} + p.GetUpdatedAt() + p = &ProjectV2StatusUpdate{} + p.GetUpdatedAt() + p = nil + p.GetUpdatedAt() +} + +func TestProjectV2TextContent_GetHTML(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2TextContent{HTML: &zeroValue} + p.GetHTML() + p = &ProjectV2TextContent{} + p.GetHTML() + p = nil + p.GetHTML() +} + +func TestProjectV2TextContent_GetRaw(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2TextContent{Raw: &zeroValue} + p.GetRaw() + p = &ProjectV2TextContent{} + p.GetRaw() + p = nil + p.GetRaw() +} + +func TestProjectV2View_GetCreatedAt(tt *testing.T) { + tt.Parallel() + p := &ProjectV2View{} + p.GetCreatedAt() + p = nil + p.GetCreatedAt() +} + +func TestProjectV2View_GetCreator(tt *testing.T) { + tt.Parallel() + p := &ProjectV2View{} + p.GetCreator() + p = nil + p.GetCreator() +} + +func TestProjectV2View_GetFilter(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2View{Filter: &zeroValue} + p.GetFilter() + p = &ProjectV2View{} + p.GetFilter() + p = nil + p.GetFilter() +} + +func TestProjectV2View_GetGroupBy(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + p := &ProjectV2View{GroupBy: zeroValue} + p.GetGroupBy() + p = &ProjectV2View{} + p.GetGroupBy() + p = nil + p.GetGroupBy() +} + +func TestProjectV2View_GetHTMLURL(tt *testing.T) { + tt.Parallel() + p := &ProjectV2View{} + p.GetHTMLURL() + p = nil + p.GetHTMLURL() +} + +func TestProjectV2View_GetID(tt *testing.T) { + tt.Parallel() + p := &ProjectV2View{} + p.GetID() + p = nil + p.GetID() +} + +func TestProjectV2View_GetLayout(tt *testing.T) { + tt.Parallel() + p := &ProjectV2View{} + p.GetLayout() + p = nil + p.GetLayout() +} + +func TestProjectV2View_GetName(tt *testing.T) { + tt.Parallel() + p := &ProjectV2View{} + p.GetName() + p = nil + p.GetName() +} + +func TestProjectV2View_GetNodeID(tt *testing.T) { + tt.Parallel() + p := &ProjectV2View{} + p.GetNodeID() + p = nil + p.GetNodeID() +} + +func TestProjectV2View_GetNumber(tt *testing.T) { + tt.Parallel() + p := &ProjectV2View{} + p.GetNumber() + p = nil + p.GetNumber() +} + +func TestProjectV2View_GetProjectURL(tt *testing.T) { + tt.Parallel() + p := &ProjectV2View{} + p.GetProjectURL() + p = nil + p.GetProjectURL() +} + +func TestProjectV2View_GetSortBy(tt *testing.T) { + tt.Parallel() + zeroValue := []*ProjectV2ViewSortBy{} + p := &ProjectV2View{SortBy: zeroValue} + p.GetSortBy() + p = &ProjectV2View{} + p.GetSortBy() + p = nil + p.GetSortBy() +} + +func TestProjectV2View_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + p := &ProjectV2View{} + p.GetUpdatedAt() + p = nil + p.GetUpdatedAt() +} + +func TestProjectV2View_GetVerticalGroupBy(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + p := &ProjectV2View{VerticalGroupBy: zeroValue} + p.GetVerticalGroupBy() + p = &ProjectV2View{} + p.GetVerticalGroupBy() + p = nil + p.GetVerticalGroupBy() +} + +func TestProjectV2View_GetVisibleFields(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + p := &ProjectV2View{VisibleFields: zeroValue} + p.GetVisibleFields() + p = &ProjectV2View{} + p.GetVisibleFields() + p = nil + p.GetVisibleFields() +} + +func TestProjectV2ViewSortBy_GetDirection(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProjectV2ViewSortBy{Direction: &zeroValue} + p.GetDirection() + p = &ProjectV2ViewSortBy{} + p.GetDirection() + p = nil + p.GetDirection() +} + +func TestProjectV2ViewSortBy_GetFieldID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &ProjectV2ViewSortBy{FieldID: &zeroValue} + p.GetFieldID() + p = &ProjectV2ViewSortBy{} + p.GetFieldID() + p = nil + p.GetFieldID() +} + +func TestProtection_GetAllowDeletions(tt *testing.T) { + tt.Parallel() + p := &Protection{} + p.GetAllowDeletions() + p = nil + p.GetAllowDeletions() +} + +func TestProtection_GetAllowForcePushes(tt *testing.T) { + tt.Parallel() + p := &Protection{} + p.GetAllowForcePushes() + p = nil + p.GetAllowForcePushes() +} + +func TestProtection_GetAllowForkSyncing(tt *testing.T) { + tt.Parallel() + p := &Protection{} + p.GetAllowForkSyncing() + p = nil + p.GetAllowForkSyncing() +} + +func TestProtection_GetBlockCreations(tt *testing.T) { + tt.Parallel() + p := &Protection{} + p.GetBlockCreations() + p = nil + p.GetBlockCreations() +} + +func TestProtection_GetEnforceAdmins(tt *testing.T) { + tt.Parallel() + p := &Protection{} + p.GetEnforceAdmins() + p = nil + p.GetEnforceAdmins() +} + +func TestProtection_GetLockBranch(tt *testing.T) { + tt.Parallel() + p := &Protection{} + p.GetLockBranch() + p = nil + p.GetLockBranch() +} + +func TestProtection_GetRequiredConversationResolution(tt *testing.T) { + tt.Parallel() + p := &Protection{} + p.GetRequiredConversationResolution() + p = nil + p.GetRequiredConversationResolution() +} + +func TestProtection_GetRequiredPullRequestReviews(tt *testing.T) { + tt.Parallel() + p := &Protection{} + p.GetRequiredPullRequestReviews() + p = nil + p.GetRequiredPullRequestReviews() +} + +func TestProtection_GetRequiredSignatures(tt *testing.T) { + tt.Parallel() + p := &Protection{} + p.GetRequiredSignatures() + p = nil + p.GetRequiredSignatures() +} + +func TestProtection_GetRequiredStatusChecks(tt *testing.T) { + tt.Parallel() + p := &Protection{} + p.GetRequiredStatusChecks() + p = nil + p.GetRequiredStatusChecks() +} + +func TestProtection_GetRequireLinearHistory(tt *testing.T) { + tt.Parallel() + p := &Protection{} + p.GetRequireLinearHistory() + p = nil + p.GetRequireLinearHistory() +} + +func TestProtection_GetRestrictions(tt *testing.T) { + tt.Parallel() + p := &Protection{} + p.GetRestrictions() + p = nil + p.GetRestrictions() +} + +func TestProtection_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &Protection{URL: &zeroValue} + p.GetURL() + p = &Protection{} + p.GetURL() + p = nil + p.GetURL() +} + +func TestProtectionChanges_GetAdminEnforced(tt *testing.T) { + tt.Parallel() + p := &ProtectionChanges{} + p.GetAdminEnforced() + p = nil + p.GetAdminEnforced() +} + +func TestProtectionChanges_GetAllowDeletionsEnforcementLevel(tt *testing.T) { + tt.Parallel() + p := &ProtectionChanges{} + p.GetAllowDeletionsEnforcementLevel() + p = nil + p.GetAllowDeletionsEnforcementLevel() +} + +func TestProtectionChanges_GetAuthorizedActorNames(tt *testing.T) { + tt.Parallel() + p := &ProtectionChanges{} + p.GetAuthorizedActorNames() + p = nil + p.GetAuthorizedActorNames() +} + +func TestProtectionChanges_GetAuthorizedActorsOnly(tt *testing.T) { + tt.Parallel() + p := &ProtectionChanges{} + p.GetAuthorizedActorsOnly() + p = nil + p.GetAuthorizedActorsOnly() +} + +func TestProtectionChanges_GetAuthorizedDismissalActorsOnly(tt *testing.T) { + tt.Parallel() + p := &ProtectionChanges{} + p.GetAuthorizedDismissalActorsOnly() + p = nil + p.GetAuthorizedDismissalActorsOnly() +} + +func TestProtectionChanges_GetCreateProtected(tt *testing.T) { + tt.Parallel() + p := &ProtectionChanges{} + p.GetCreateProtected() + p = nil + p.GetCreateProtected() +} + +func TestProtectionChanges_GetDismissStaleReviewsOnPush(tt *testing.T) { + tt.Parallel() + p := &ProtectionChanges{} + p.GetDismissStaleReviewsOnPush() + p = nil + p.GetDismissStaleReviewsOnPush() +} + +func TestProtectionChanges_GetLinearHistoryRequirementEnforcementLevel(tt *testing.T) { + tt.Parallel() + p := &ProtectionChanges{} + p.GetLinearHistoryRequirementEnforcementLevel() + p = nil + p.GetLinearHistoryRequirementEnforcementLevel() +} + +func TestProtectionChanges_GetPullRequestReviewsEnforcementLevel(tt *testing.T) { + tt.Parallel() + p := &ProtectionChanges{} + p.GetPullRequestReviewsEnforcementLevel() + p = nil + p.GetPullRequestReviewsEnforcementLevel() +} + +func TestProtectionChanges_GetRequireCodeOwnerReview(tt *testing.T) { + tt.Parallel() + p := &ProtectionChanges{} + p.GetRequireCodeOwnerReview() + p = nil + p.GetRequireCodeOwnerReview() +} + +func TestProtectionChanges_GetRequiredConversationResolutionLevel(tt *testing.T) { + tt.Parallel() + p := &ProtectionChanges{} + p.GetRequiredConversationResolutionLevel() + p = nil + p.GetRequiredConversationResolutionLevel() +} + +func TestProtectionChanges_GetRequiredDeploymentsEnforcementLevel(tt *testing.T) { + tt.Parallel() + p := &ProtectionChanges{} + p.GetRequiredDeploymentsEnforcementLevel() + p = nil + p.GetRequiredDeploymentsEnforcementLevel() +} + +func TestProtectionChanges_GetRequiredStatusChecks(tt *testing.T) { + tt.Parallel() + p := &ProtectionChanges{} + p.GetRequiredStatusChecks() + p = nil + p.GetRequiredStatusChecks() +} + +func TestProtectionChanges_GetRequiredStatusChecksEnforcementLevel(tt *testing.T) { + tt.Parallel() + p := &ProtectionChanges{} + p.GetRequiredStatusChecksEnforcementLevel() + p = nil + p.GetRequiredStatusChecksEnforcementLevel() +} + +func TestProtectionChanges_GetRequireLastPushApproval(tt *testing.T) { + tt.Parallel() + p := &ProtectionChanges{} + p.GetRequireLastPushApproval() + p = nil + p.GetRequireLastPushApproval() +} + +func TestProtectionChanges_GetSignatureRequirementEnforcementLevel(tt *testing.T) { + tt.Parallel() + p := &ProtectionChanges{} + p.GetSignatureRequirementEnforcementLevel() + p = nil + p.GetSignatureRequirementEnforcementLevel() +} + +func TestProtectionRequest_GetAllowDeletions(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &ProtectionRequest{AllowDeletions: &zeroValue} + p.GetAllowDeletions() + p = &ProtectionRequest{} + p.GetAllowDeletions() + p = nil + p.GetAllowDeletions() +} + +func TestProtectionRequest_GetAllowForcePushes(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &ProtectionRequest{AllowForcePushes: &zeroValue} + p.GetAllowForcePushes() + p = &ProtectionRequest{} + p.GetAllowForcePushes() + p = nil + p.GetAllowForcePushes() +} + +func TestProtectionRequest_GetAllowForkSyncing(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &ProtectionRequest{AllowForkSyncing: &zeroValue} + p.GetAllowForkSyncing() + p = &ProtectionRequest{} + p.GetAllowForkSyncing() + p = nil + p.GetAllowForkSyncing() +} + +func TestProtectionRequest_GetBlockCreations(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &ProtectionRequest{BlockCreations: &zeroValue} + p.GetBlockCreations() + p = &ProtectionRequest{} + p.GetBlockCreations() + p = nil + 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 + p := &ProtectionRequest{LockBranch: &zeroValue} + p.GetLockBranch() + p = &ProtectionRequest{} + p.GetLockBranch() + p = nil + p.GetLockBranch() +} + +func TestProtectionRequest_GetRequiredConversationResolution(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &ProtectionRequest{RequiredConversationResolution: &zeroValue} + p.GetRequiredConversationResolution() + p = &ProtectionRequest{} + p.GetRequiredConversationResolution() + p = nil + p.GetRequiredConversationResolution() +} + +func TestProtectionRequest_GetRequiredPullRequestReviews(tt *testing.T) { + tt.Parallel() + p := &ProtectionRequest{} + p.GetRequiredPullRequestReviews() + p = nil + p.GetRequiredPullRequestReviews() +} + +func TestProtectionRequest_GetRequiredStatusChecks(tt *testing.T) { + tt.Parallel() + p := &ProtectionRequest{} + p.GetRequiredStatusChecks() + p = nil + p.GetRequiredStatusChecks() +} + +func TestProtectionRequest_GetRequireLinearHistory(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &ProtectionRequest{RequireLinearHistory: &zeroValue} + p.GetRequireLinearHistory() + p = &ProtectionRequest{} + p.GetRequireLinearHistory() + p = nil + p.GetRequireLinearHistory() +} + +func TestProtectionRequest_GetRestrictions(tt *testing.T) { + tt.Parallel() + p := &ProtectionRequest{} + p.GetRestrictions() + p = nil + p.GetRestrictions() +} + +func TestProtectionRule_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &ProtectionRule{ID: &zeroValue} + p.GetID() + p = &ProtectionRule{} + p.GetID() + p = nil + p.GetID() +} + +func TestProtectionRule_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &ProtectionRule{NodeID: &zeroValue} + p.GetNodeID() + p = &ProtectionRule{} + p.GetNodeID() + p = nil + p.GetNodeID() +} + +func TestProtectionRule_GetPreventSelfReview(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &ProtectionRule{PreventSelfReview: &zeroValue} + p.GetPreventSelfReview() + p = &ProtectionRule{} + p.GetPreventSelfReview() + p = nil + 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 + p := &ProtectionRule{Type: &zeroValue} + p.GetType() + p = &ProtectionRule{} + p.GetType() + p = nil + p.GetType() +} + +func TestProtectionRule_GetWaitTimer(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &ProtectionRule{WaitTimer: &zeroValue} + p.GetWaitTimer() + p = &ProtectionRule{} + p.GetWaitTimer() + p = nil + p.GetWaitTimer() +} + +func TestPublicEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + p := &PublicEvent{} + p.GetInstallation() + p = nil + p.GetInstallation() +} + +func TestPublicEvent_GetOrg(tt *testing.T) { + tt.Parallel() + p := &PublicEvent{} + p.GetOrg() + p = nil + p.GetOrg() +} + +func TestPublicEvent_GetRepo(tt *testing.T) { + tt.Parallel() + p := &PublicEvent{} + p.GetRepo() + p = nil + p.GetRepo() +} + +func TestPublicEvent_GetSender(tt *testing.T) { + tt.Parallel() + p := &PublicEvent{} + p.GetSender() + p = nil + 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 + p := &PublicKey{Key: &zeroValue} + p.GetKey() + p = &PublicKey{} + p.GetKey() + p = nil + p.GetKey() +} + +func TestPublicKey_GetKeyID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PublicKey{KeyID: &zeroValue} + p.GetKeyID() + p = &PublicKey{} + p.GetKeyID() + p = nil + p.GetKeyID() +} + +func TestPublishCodespaceOptions_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PublishCodespaceOptions{Name: &zeroValue} + p.GetName() + p = &PublishCodespaceOptions{} + p.GetName() + p = nil + p.GetName() +} + +func TestPublishCodespaceOptions_GetPrivate(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PublishCodespaceOptions{Private: &zeroValue} + p.GetPrivate() + p = &PublishCodespaceOptions{} + p.GetPrivate() + p = nil + p.GetPrivate() +} + +func TestPullRequest_GetActiveLockReason(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequest{ActiveLockReason: &zeroValue} + p.GetActiveLockReason() + p = &PullRequest{} + p.GetActiveLockReason() + p = nil + p.GetActiveLockReason() +} + +func TestPullRequest_GetAdditions(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PullRequest{Additions: &zeroValue} + p.GetAdditions() + p = &PullRequest{} + p.GetAdditions() + p = nil + p.GetAdditions() +} + +func TestPullRequest_GetAssignee(tt *testing.T) { + tt.Parallel() + p := &PullRequest{} + p.GetAssignee() + p = nil + 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 + p := &PullRequest{AuthorAssociation: &zeroValue} + p.GetAuthorAssociation() + p = &PullRequest{} + p.GetAuthorAssociation() + p = nil + p.GetAuthorAssociation() +} + +func TestPullRequest_GetAutoMerge(tt *testing.T) { + tt.Parallel() + p := &PullRequest{} + p.GetAutoMerge() + p = nil + p.GetAutoMerge() +} + +func TestPullRequest_GetBase(tt *testing.T) { + tt.Parallel() + p := &PullRequest{} + p.GetBase() + p = nil + p.GetBase() +} + +func TestPullRequest_GetBody(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequest{Body: &zeroValue} + p.GetBody() + p = &PullRequest{} + p.GetBody() + p = nil + p.GetBody() +} + +func TestPullRequest_GetChangedFiles(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PullRequest{ChangedFiles: &zeroValue} + p.GetChangedFiles() + p = &PullRequest{} + p.GetChangedFiles() + p = nil + p.GetChangedFiles() +} + +func TestPullRequest_GetClosedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PullRequest{ClosedAt: &zeroValue} + p.GetClosedAt() + p = &PullRequest{} + p.GetClosedAt() + p = nil + p.GetClosedAt() +} + +func TestPullRequest_GetComments(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PullRequest{Comments: &zeroValue} + p.GetComments() + p = &PullRequest{} + p.GetComments() + p = nil + p.GetComments() +} + +func TestPullRequest_GetCommentsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequest{CommentsURL: &zeroValue} + p.GetCommentsURL() + p = &PullRequest{} + p.GetCommentsURL() + p = nil + p.GetCommentsURL() +} + +func TestPullRequest_GetCommits(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PullRequest{Commits: &zeroValue} + p.GetCommits() + p = &PullRequest{} + p.GetCommits() + p = nil + p.GetCommits() +} + +func TestPullRequest_GetCommitsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequest{CommitsURL: &zeroValue} + p.GetCommitsURL() + p = &PullRequest{} + p.GetCommitsURL() + p = nil + p.GetCommitsURL() +} + +func TestPullRequest_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PullRequest{CreatedAt: &zeroValue} + p.GetCreatedAt() + p = &PullRequest{} + p.GetCreatedAt() + p = nil + p.GetCreatedAt() +} + +func TestPullRequest_GetDeletions(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PullRequest{Deletions: &zeroValue} + p.GetDeletions() + p = &PullRequest{} + p.GetDeletions() + p = nil + p.GetDeletions() +} + +func TestPullRequest_GetDiffURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequest{DiffURL: &zeroValue} + p.GetDiffURL() + p = &PullRequest{} + p.GetDiffURL() + p = nil + p.GetDiffURL() +} + +func TestPullRequest_GetDraft(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PullRequest{Draft: &zeroValue} + p.GetDraft() + p = &PullRequest{} + p.GetDraft() + p = nil + p.GetDraft() +} + +func TestPullRequest_GetHead(tt *testing.T) { + tt.Parallel() + p := &PullRequest{} + p.GetHead() + p = nil + p.GetHead() +} + +func TestPullRequest_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequest{HTMLURL: &zeroValue} + p.GetHTMLURL() + p = &PullRequest{} + p.GetHTMLURL() + p = nil + p.GetHTMLURL() +} + +func TestPullRequest_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &PullRequest{ID: &zeroValue} + p.GetID() + p = &PullRequest{} + p.GetID() + p = nil + p.GetID() +} + +func TestPullRequest_GetIssueURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequest{IssueURL: &zeroValue} + p.GetIssueURL() + p = &PullRequest{} + p.GetIssueURL() + p = nil + 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{} + p.GetLinks() + p = nil + p.GetLinks() +} + +func TestPullRequest_GetLocked(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PullRequest{Locked: &zeroValue} + p.GetLocked() + p = &PullRequest{} + p.GetLocked() + p = nil + p.GetLocked() +} + +func TestPullRequest_GetMaintainerCanModify(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PullRequest{MaintainerCanModify: &zeroValue} + p.GetMaintainerCanModify() + p = &PullRequest{} + p.GetMaintainerCanModify() + p = nil + p.GetMaintainerCanModify() +} + +func TestPullRequest_GetMergeable(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PullRequest{Mergeable: &zeroValue} + p.GetMergeable() + p = &PullRequest{} + p.GetMergeable() + p = nil + p.GetMergeable() +} + +func TestPullRequest_GetMergeableState(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequest{MergeableState: &zeroValue} + p.GetMergeableState() + p = &PullRequest{} + p.GetMergeableState() + p = nil + p.GetMergeableState() +} + +func TestPullRequest_GetMergeCommitSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequest{MergeCommitSHA: &zeroValue} + p.GetMergeCommitSHA() + p = &PullRequest{} + p.GetMergeCommitSHA() + p = nil + p.GetMergeCommitSHA() +} + +func TestPullRequest_GetMerged(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PullRequest{Merged: &zeroValue} + p.GetMerged() + p = &PullRequest{} + p.GetMerged() + p = nil + p.GetMerged() +} + +func TestPullRequest_GetMergedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PullRequest{MergedAt: &zeroValue} + p.GetMergedAt() + p = &PullRequest{} + p.GetMergedAt() + p = nil + p.GetMergedAt() +} + +func TestPullRequest_GetMergedBy(tt *testing.T) { + tt.Parallel() + p := &PullRequest{} + p.GetMergedBy() + p = nil + p.GetMergedBy() +} + +func TestPullRequest_GetMilestone(tt *testing.T) { + tt.Parallel() + p := &PullRequest{} + p.GetMilestone() + p = nil + p.GetMilestone() +} + +func TestPullRequest_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequest{NodeID: &zeroValue} + p.GetNodeID() + p = &PullRequest{} + p.GetNodeID() + p = nil + p.GetNodeID() +} + +func TestPullRequest_GetNumber(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PullRequest{Number: &zeroValue} + p.GetNumber() + p = &PullRequest{} + p.GetNumber() + p = nil + p.GetNumber() +} + +func TestPullRequest_GetPatchURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequest{PatchURL: &zeroValue} + p.GetPatchURL() + p = &PullRequest{} + p.GetPatchURL() + p = nil + p.GetPatchURL() +} + +func TestPullRequest_GetRebaseable(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PullRequest{Rebaseable: &zeroValue} + p.GetRebaseable() + p = &PullRequest{} + p.GetRebaseable() + p = nil + 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 + p := &PullRequest{ReviewComments: &zeroValue} + p.GetReviewComments() + p = &PullRequest{} + p.GetReviewComments() + p = nil + p.GetReviewComments() +} + +func TestPullRequest_GetReviewCommentsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequest{ReviewCommentsURL: &zeroValue} + p.GetReviewCommentsURL() + p = &PullRequest{} + p.GetReviewCommentsURL() + p = nil + p.GetReviewCommentsURL() +} + +func TestPullRequest_GetReviewCommentURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequest{ReviewCommentURL: &zeroValue} + p.GetReviewCommentURL() + p = &PullRequest{} + p.GetReviewCommentURL() + p = nil + p.GetReviewCommentURL() +} + +func TestPullRequest_GetStack(tt *testing.T) { + tt.Parallel() + p := &PullRequest{} + p.GetStack() + p = nil + p.GetStack() +} + +func TestPullRequest_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequest{State: &zeroValue} + p.GetState() + p = &PullRequest{} + p.GetState() + p = nil + p.GetState() +} + +func TestPullRequest_GetStatusesURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequest{StatusesURL: &zeroValue} + p.GetStatusesURL() + p = &PullRequest{} + p.GetStatusesURL() + p = nil + p.GetStatusesURL() +} + +func TestPullRequest_GetTitle(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequest{Title: &zeroValue} + p.GetTitle() + p = &PullRequest{} + p.GetTitle() + p = nil + p.GetTitle() +} + +func TestPullRequest_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PullRequest{UpdatedAt: &zeroValue} + p.GetUpdatedAt() + p = &PullRequest{} + p.GetUpdatedAt() + p = nil + p.GetUpdatedAt() +} + +func TestPullRequest_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequest{URL: &zeroValue} + p.GetURL() + p = &PullRequest{} + p.GetURL() + p = nil + p.GetURL() +} + +func TestPullRequest_GetUser(tt *testing.T) { + tt.Parallel() + p := &PullRequest{} + p.GetUser() + p = nil + p.GetUser() +} + +func TestPullRequestAutoMerge_GetCommitMessage(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestAutoMerge{CommitMessage: &zeroValue} + p.GetCommitMessage() + p = &PullRequestAutoMerge{} + p.GetCommitMessage() + p = nil + p.GetCommitMessage() +} + +func TestPullRequestAutoMerge_GetCommitTitle(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestAutoMerge{CommitTitle: &zeroValue} + p.GetCommitTitle() + p = &PullRequestAutoMerge{} + p.GetCommitTitle() + p = nil + p.GetCommitTitle() +} + +func TestPullRequestAutoMerge_GetEnabledBy(tt *testing.T) { + tt.Parallel() + p := &PullRequestAutoMerge{} + p.GetEnabledBy() + p = nil + p.GetEnabledBy() +} + +func TestPullRequestAutoMerge_GetMergeMethod(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestAutoMerge{MergeMethod: &zeroValue} + p.GetMergeMethod() + p = &PullRequestAutoMerge{} + p.GetMergeMethod() + p = nil + p.GetMergeMethod() +} + +func TestPullRequestBranch_GetLabel(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestBranch{Label: &zeroValue} + p.GetLabel() + p = &PullRequestBranch{} + p.GetLabel() + p = nil + p.GetLabel() +} + +func TestPullRequestBranch_GetRef(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestBranch{Ref: &zeroValue} + p.GetRef() + p = &PullRequestBranch{} + p.GetRef() + p = nil + p.GetRef() +} + +func TestPullRequestBranch_GetRepo(tt *testing.T) { + tt.Parallel() + p := &PullRequestBranch{} + p.GetRepo() + p = nil + p.GetRepo() +} + +func TestPullRequestBranch_GetSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestBranch{SHA: &zeroValue} + p.GetSHA() + p = &PullRequestBranch{} + p.GetSHA() + p = nil + p.GetSHA() +} + +func TestPullRequestBranch_GetUser(tt *testing.T) { + tt.Parallel() + p := &PullRequestBranch{} + p.GetUser() + p = nil + 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 + p := &PullRequestBranchUpdateOptions{ExpectedHeadSHA: &zeroValue} + p.GetExpectedHeadSHA() + p = &PullRequestBranchUpdateOptions{} + p.GetExpectedHeadSHA() + p = nil + p.GetExpectedHeadSHA() +} + +func TestPullRequestBranchUpdateResponse_GetMessage(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestBranchUpdateResponse{Message: &zeroValue} + p.GetMessage() + p = &PullRequestBranchUpdateResponse{} + p.GetMessage() + p = nil + p.GetMessage() +} + +func TestPullRequestBranchUpdateResponse_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestBranchUpdateResponse{URL: &zeroValue} + p.GetURL() + p = &PullRequestBranchUpdateResponse{} + p.GetURL() + p = nil + p.GetURL() +} + +func TestPullRequestComment_GetAuthorAssociation(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestComment{AuthorAssociation: &zeroValue} + p.GetAuthorAssociation() + p = &PullRequestComment{} + p.GetAuthorAssociation() + p = nil + p.GetAuthorAssociation() +} + +func TestPullRequestComment_GetBody(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestComment{Body: &zeroValue} + p.GetBody() + p = &PullRequestComment{} + p.GetBody() + p = nil + p.GetBody() +} + +func TestPullRequestComment_GetBodyHTML(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestComment{BodyHTML: &zeroValue} + p.GetBodyHTML() + p = &PullRequestComment{} + p.GetBodyHTML() + p = nil + p.GetBodyHTML() +} + +func TestPullRequestComment_GetBodyText(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestComment{BodyText: &zeroValue} + p.GetBodyText() + p = &PullRequestComment{} + p.GetBodyText() + p = nil + p.GetBodyText() +} + +func TestPullRequestComment_GetCommitID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestComment{CommitID: &zeroValue} + p.GetCommitID() + p = &PullRequestComment{} + p.GetCommitID() + p = nil + p.GetCommitID() +} + +func TestPullRequestComment_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PullRequestComment{CreatedAt: &zeroValue} + p.GetCreatedAt() + p = &PullRequestComment{} + p.GetCreatedAt() + p = nil + p.GetCreatedAt() +} + +func TestPullRequestComment_GetDiffHunk(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestComment{DiffHunk: &zeroValue} + p.GetDiffHunk() + p = &PullRequestComment{} + p.GetDiffHunk() + p = nil + p.GetDiffHunk() +} + +func TestPullRequestComment_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestComment{HTMLURL: &zeroValue} + p.GetHTMLURL() + p = &PullRequestComment{} + p.GetHTMLURL() + p = nil + p.GetHTMLURL() +} + +func TestPullRequestComment_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &PullRequestComment{ID: &zeroValue} + p.GetID() + p = &PullRequestComment{} + p.GetID() + p = nil + p.GetID() +} + +func TestPullRequestComment_GetInReplyTo(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &PullRequestComment{InReplyTo: &zeroValue} + p.GetInReplyTo() + p = &PullRequestComment{} + p.GetInReplyTo() + p = nil + p.GetInReplyTo() +} + +func TestPullRequestComment_GetLine(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PullRequestComment{Line: &zeroValue} + p.GetLine() + p = &PullRequestComment{} + p.GetLine() + p = nil + p.GetLine() +} + +func TestPullRequestComment_GetLinks(tt *testing.T) { + tt.Parallel() + p := &PullRequestComment{} + p.GetLinks() + p = nil + p.GetLinks() +} + +func TestPullRequestComment_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestComment{NodeID: &zeroValue} + p.GetNodeID() + p = &PullRequestComment{} + p.GetNodeID() + p = nil + p.GetNodeID() +} + +func TestPullRequestComment_GetOriginalCommitID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestComment{OriginalCommitID: &zeroValue} + p.GetOriginalCommitID() + p = &PullRequestComment{} + p.GetOriginalCommitID() + p = nil + p.GetOriginalCommitID() +} + +func TestPullRequestComment_GetOriginalLine(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PullRequestComment{OriginalLine: &zeroValue} + p.GetOriginalLine() + p = &PullRequestComment{} + p.GetOriginalLine() + p = nil + p.GetOriginalLine() +} + +func TestPullRequestComment_GetOriginalPosition(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PullRequestComment{OriginalPosition: &zeroValue} + p.GetOriginalPosition() + p = &PullRequestComment{} + p.GetOriginalPosition() + p = nil + p.GetOriginalPosition() +} + +func TestPullRequestComment_GetOriginalStartLine(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PullRequestComment{OriginalStartLine: &zeroValue} + p.GetOriginalStartLine() + p = &PullRequestComment{} + p.GetOriginalStartLine() + p = nil + p.GetOriginalStartLine() +} + +func TestPullRequestComment_GetPath(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestComment{Path: &zeroValue} + p.GetPath() + p = &PullRequestComment{} + p.GetPath() + p = nil + p.GetPath() +} + +func TestPullRequestComment_GetPosition(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PullRequestComment{Position: &zeroValue} + p.GetPosition() + p = &PullRequestComment{} + p.GetPosition() + p = nil + p.GetPosition() +} + +func TestPullRequestComment_GetPullRequestReviewID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &PullRequestComment{PullRequestReviewID: &zeroValue} + p.GetPullRequestReviewID() + p = &PullRequestComment{} + p.GetPullRequestReviewID() + p = nil + p.GetPullRequestReviewID() +} + +func TestPullRequestComment_GetPullRequestURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestComment{PullRequestURL: &zeroValue} + p.GetPullRequestURL() + p = &PullRequestComment{} + p.GetPullRequestURL() + p = nil + p.GetPullRequestURL() +} + +func TestPullRequestComment_GetReactions(tt *testing.T) { + tt.Parallel() + p := &PullRequestComment{} + p.GetReactions() + p = nil + p.GetReactions() +} + +func TestPullRequestComment_GetSide(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestComment{Side: &zeroValue} + p.GetSide() + p = &PullRequestComment{} + p.GetSide() + p = nil + p.GetSide() +} + +func TestPullRequestComment_GetStartLine(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PullRequestComment{StartLine: &zeroValue} + p.GetStartLine() + p = &PullRequestComment{} + p.GetStartLine() + p = nil + p.GetStartLine() +} + +func TestPullRequestComment_GetStartSide(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestComment{StartSide: &zeroValue} + p.GetStartSide() + p = &PullRequestComment{} + p.GetStartSide() + p = nil + p.GetStartSide() +} + +func TestPullRequestComment_GetSubjectType(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestComment{SubjectType: &zeroValue} + p.GetSubjectType() + p = &PullRequestComment{} + p.GetSubjectType() + p = nil + p.GetSubjectType() +} + +func TestPullRequestComment_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PullRequestComment{UpdatedAt: &zeroValue} + p.GetUpdatedAt() + p = &PullRequestComment{} + p.GetUpdatedAt() + p = nil + p.GetUpdatedAt() +} + +func TestPullRequestComment_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestComment{URL: &zeroValue} + p.GetURL() + p = &PullRequestComment{} + p.GetURL() + p = nil + p.GetURL() +} + +func TestPullRequestComment_GetUser(tt *testing.T) { + tt.Parallel() + p := &PullRequestComment{} + p.GetUser() + p = nil + p.GetUser() +} + +func TestPullRequestCommentLinks_GetHTML(tt *testing.T) { + tt.Parallel() + p := &PullRequestCommentLinks{} + p.GetHTML() + p = nil + p.GetHTML() +} + +func TestPullRequestCommentLinks_GetPullRequest(tt *testing.T) { + tt.Parallel() + p := &PullRequestCommentLinks{} + p.GetPullRequest() + p = nil + p.GetPullRequest() +} + +func TestPullRequestCommentLinks_GetSelf(tt *testing.T) { + tt.Parallel() + p := &PullRequestCommentLinks{} + p.GetSelf() + p = nil + p.GetSelf() +} + +func TestPullRequestDismissReviewRequest_GetEvent(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestDismissReviewRequest{Event: &zeroValue} + p.GetEvent() + p = &PullRequestDismissReviewRequest{} + p.GetEvent() + p = nil + p.GetEvent() +} + +func TestPullRequestDismissReviewRequest_GetMessage(tt *testing.T) { + tt.Parallel() + p := &PullRequestDismissReviewRequest{} + p.GetMessage() + p = nil + p.GetMessage() +} + +func TestPullRequestEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestEvent{Action: &zeroValue} + p.GetAction() + p = &PullRequestEvent{} + p.GetAction() + p = nil + p.GetAction() +} + +func TestPullRequestEvent_GetAfter(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestEvent{After: &zeroValue} + p.GetAfter() + p = &PullRequestEvent{} + p.GetAfter() + p = nil + p.GetAfter() +} + +func TestPullRequestEvent_GetAssignee(tt *testing.T) { + tt.Parallel() + p := &PullRequestEvent{} + p.GetAssignee() + p = nil + p.GetAssignee() +} + +func TestPullRequestEvent_GetBefore(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestEvent{Before: &zeroValue} + p.GetBefore() + p = &PullRequestEvent{} + p.GetBefore() + p = nil + p.GetBefore() +} + +func TestPullRequestEvent_GetChanges(tt *testing.T) { + tt.Parallel() + p := &PullRequestEvent{} + p.GetChanges() + p = nil + p.GetChanges() +} + +func TestPullRequestEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + p := &PullRequestEvent{} + p.GetInstallation() + p = nil + p.GetInstallation() +} + +func TestPullRequestEvent_GetLabel(tt *testing.T) { + tt.Parallel() + p := &PullRequestEvent{} + p.GetLabel() + p = nil + p.GetLabel() +} + +func TestPullRequestEvent_GetNumber(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PullRequestEvent{Number: &zeroValue} + p.GetNumber() + p = &PullRequestEvent{} + p.GetNumber() + p = nil + p.GetNumber() +} + +func TestPullRequestEvent_GetOrganization(tt *testing.T) { + tt.Parallel() + p := &PullRequestEvent{} + p.GetOrganization() + p = nil + p.GetOrganization() +} + +func TestPullRequestEvent_GetPerformedViaGithubApp(tt *testing.T) { + tt.Parallel() + p := &PullRequestEvent{} + p.GetPerformedViaGithubApp() + p = nil + p.GetPerformedViaGithubApp() +} + +func TestPullRequestEvent_GetPullRequest(tt *testing.T) { + tt.Parallel() + p := &PullRequestEvent{} + p.GetPullRequest() + p = nil + p.GetPullRequest() +} + +func TestPullRequestEvent_GetReason(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestEvent{Reason: &zeroValue} + p.GetReason() + p = &PullRequestEvent{} + p.GetReason() + p = nil + p.GetReason() +} + +func TestPullRequestEvent_GetRepo(tt *testing.T) { + tt.Parallel() + p := &PullRequestEvent{} + p.GetRepo() + p = nil + p.GetRepo() +} + +func TestPullRequestEvent_GetRequestedReviewer(tt *testing.T) { + tt.Parallel() + p := &PullRequestEvent{} + p.GetRequestedReviewer() + p = nil + p.GetRequestedReviewer() +} + +func TestPullRequestEvent_GetRequestedTeam(tt *testing.T) { + tt.Parallel() + p := &PullRequestEvent{} + p.GetRequestedTeam() + p = nil + p.GetRequestedTeam() +} + +func TestPullRequestEvent_GetSender(tt *testing.T) { + tt.Parallel() + p := &PullRequestEvent{} + p.GetSender() + p = nil + p.GetSender() +} + +func TestPullRequestLinks_GetDiffURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestLinks{DiffURL: &zeroValue} + p.GetDiffURL() + p = &PullRequestLinks{} + p.GetDiffURL() + p = nil + p.GetDiffURL() +} + +func TestPullRequestLinks_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestLinks{HTMLURL: &zeroValue} + p.GetHTMLURL() + p = &PullRequestLinks{} + p.GetHTMLURL() + p = nil + p.GetHTMLURL() +} + +func TestPullRequestLinks_GetMergedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PullRequestLinks{MergedAt: &zeroValue} + p.GetMergedAt() + p = &PullRequestLinks{} + p.GetMergedAt() + p = nil + p.GetMergedAt() +} + +func TestPullRequestLinks_GetPatchURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestLinks{PatchURL: &zeroValue} + p.GetPatchURL() + p = &PullRequestLinks{} + p.GetPatchURL() + p = nil + p.GetPatchURL() +} + +func TestPullRequestLinks_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestLinks{URL: &zeroValue} + p.GetURL() + p = &PullRequestLinks{} + p.GetURL() + p = nil + 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 TestPullRequestMergeAsyncDetails_GetExpectedHeadSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestMergeAsyncDetails{ExpectedHeadSHA: &zeroValue} + p.GetExpectedHeadSHA() + p = &PullRequestMergeAsyncDetails{} + p.GetExpectedHeadSHA() + p = nil + p.GetExpectedHeadSHA() +} + +func TestPullRequestMergeAsyncDetails_GetMergeAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestMergeAsyncDetails{MergeAction: &zeroValue} + p.GetMergeAction() + p = &PullRequestMergeAsyncDetails{} + p.GetMergeAction() + p = nil + p.GetMergeAction() +} + +func TestPullRequestMergeAsyncDetails_GetMergeMethod(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestMergeAsyncDetails{MergeMethod: &zeroValue} + p.GetMergeMethod() + p = &PullRequestMergeAsyncDetails{} + p.GetMergeMethod() + p = nil + p.GetMergeMethod() +} + +func TestPullRequestMergeAsyncDetails_GetMessage(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestMergeAsyncDetails{Message: &zeroValue} + p.GetMessage() + p = &PullRequestMergeAsyncDetails{} + p.GetMessage() + p = nil + p.GetMessage() +} + +func TestPullRequestMergeAsyncDetails_GetSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestMergeAsyncDetails{SHA: &zeroValue} + p.GetSHA() + p = &PullRequestMergeAsyncDetails{} + p.GetSHA() + p = nil + p.GetSHA() +} + +func TestPullRequestMergeAsyncDetails_GetUUID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestMergeAsyncDetails{UUID: &zeroValue} + p.GetUUID() + p = &PullRequestMergeAsyncDetails{} + p.GetUUID() + p = nil + p.GetUUID() +} + +func TestPullRequestMergeAsyncRequest_GetCommitMessage(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestMergeAsyncRequest{CommitMessage: &zeroValue} + p.GetCommitMessage() + p = &PullRequestMergeAsyncRequest{} + p.GetCommitMessage() + p = nil + p.GetCommitMessage() +} + +func TestPullRequestMergeAsyncRequest_GetCommitTitle(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestMergeAsyncRequest{CommitTitle: &zeroValue} + p.GetCommitTitle() + p = &PullRequestMergeAsyncRequest{} + p.GetCommitTitle() + p = nil + p.GetCommitTitle() +} + +func TestPullRequestMergeAsyncRequest_GetMergeAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestMergeAsyncRequest{MergeAction: &zeroValue} + p.GetMergeAction() + p = &PullRequestMergeAsyncRequest{} + p.GetMergeAction() + p = nil + p.GetMergeAction() +} + +func TestPullRequestMergeAsyncRequest_GetMergeMethod(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestMergeAsyncRequest{MergeMethod: &zeroValue} + p.GetMergeMethod() + p = &PullRequestMergeAsyncRequest{} + p.GetMergeMethod() + p = nil + p.GetMergeMethod() +} + +func TestPullRequestMergeAsyncRequest_GetSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestMergeAsyncRequest{SHA: &zeroValue} + p.GetSHA() + p = &PullRequestMergeAsyncRequest{} + p.GetSHA() + p = nil + p.GetSHA() +} + +func TestPullRequestMergeAsyncResult_GetDetails(tt *testing.T) { + tt.Parallel() + p := &PullRequestMergeAsyncResult{} + p.GetDetails() + p = nil + p.GetDetails() +} + +func TestPullRequestMergeAsyncResult_GetStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestMergeAsyncResult{Status: &zeroValue} + p.GetStatus() + p = &PullRequestMergeAsyncResult{} + p.GetStatus() + p = nil + p.GetStatus() +} + +func TestPullRequestMergeResult_GetMerged(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PullRequestMergeResult{Merged: &zeroValue} + p.GetMerged() + p = &PullRequestMergeResult{} + p.GetMerged() + p = nil + p.GetMerged() +} + +func TestPullRequestMergeResult_GetMessage(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestMergeResult{Message: &zeroValue} + p.GetMessage() + p = &PullRequestMergeResult{} + p.GetMessage() + p = nil + p.GetMessage() +} + +func TestPullRequestMergeResult_GetSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestMergeResult{SHA: &zeroValue} + p.GetSHA() + p = &PullRequestMergeResult{} + p.GetSHA() + p = nil + 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 + p := &PullRequestReview{AuthorAssociation: &zeroValue} + p.GetAuthorAssociation() + p = &PullRequestReview{} + p.GetAuthorAssociation() + p = nil + p.GetAuthorAssociation() +} + +func TestPullRequestReview_GetBody(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestReview{Body: &zeroValue} + p.GetBody() + p = &PullRequestReview{} + p.GetBody() + p = nil + p.GetBody() +} + +func TestPullRequestReview_GetCommitID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestReview{CommitID: &zeroValue} + p.GetCommitID() + p = &PullRequestReview{} + p.GetCommitID() + p = nil + p.GetCommitID() +} + +func TestPullRequestReview_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestReview{HTMLURL: &zeroValue} + p.GetHTMLURL() + p = &PullRequestReview{} + p.GetHTMLURL() + p = nil + p.GetHTMLURL() +} + +func TestPullRequestReview_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &PullRequestReview{ID: &zeroValue} + p.GetID() + p = &PullRequestReview{} + p.GetID() + p = nil + p.GetID() +} + +func TestPullRequestReview_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestReview{NodeID: &zeroValue} + p.GetNodeID() + p = &PullRequestReview{} + p.GetNodeID() + p = nil + p.GetNodeID() +} + +func TestPullRequestReview_GetPullRequestURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestReview{PullRequestURL: &zeroValue} + p.GetPullRequestURL() + p = &PullRequestReview{} + p.GetPullRequestURL() + p = nil + p.GetPullRequestURL() +} + +func TestPullRequestReview_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestReview{State: &zeroValue} + p.GetState() + p = &PullRequestReview{} + p.GetState() + p = nil + p.GetState() +} + +func TestPullRequestReview_GetSubmittedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PullRequestReview{SubmittedAt: &zeroValue} + p.GetSubmittedAt() + p = &PullRequestReview{} + p.GetSubmittedAt() + p = nil + p.GetSubmittedAt() +} + +func TestPullRequestReview_GetUser(tt *testing.T) { + tt.Parallel() + p := &PullRequestReview{} + p.GetUser() + p = nil + p.GetUser() +} + +func TestPullRequestReviewCommentEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestReviewCommentEvent{Action: &zeroValue} + p.GetAction() + p = &PullRequestReviewCommentEvent{} + p.GetAction() + p = nil + p.GetAction() +} + +func TestPullRequestReviewCommentEvent_GetChanges(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewCommentEvent{} + p.GetChanges() + p = nil + p.GetChanges() +} + +func TestPullRequestReviewCommentEvent_GetComment(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewCommentEvent{} + p.GetComment() + p = nil + p.GetComment() +} + +func TestPullRequestReviewCommentEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewCommentEvent{} + p.GetInstallation() + p = nil + p.GetInstallation() +} + +func TestPullRequestReviewCommentEvent_GetOrg(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewCommentEvent{} + p.GetOrg() + p = nil + p.GetOrg() +} + +func TestPullRequestReviewCommentEvent_GetPullRequest(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewCommentEvent{} + p.GetPullRequest() + p = nil + p.GetPullRequest() +} + +func TestPullRequestReviewCommentEvent_GetRepo(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewCommentEvent{} + p.GetRepo() + p = nil + p.GetRepo() +} + +func TestPullRequestReviewCommentEvent_GetSender(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewCommentEvent{} + p.GetSender() + p = nil + p.GetSender() +} + +func TestPullRequestReviewEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestReviewEvent{Action: &zeroValue} + p.GetAction() + p = &PullRequestReviewEvent{} + p.GetAction() + p = nil + p.GetAction() +} + +func TestPullRequestReviewEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewEvent{} + p.GetInstallation() + p = nil + p.GetInstallation() +} + +func TestPullRequestReviewEvent_GetOrganization(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewEvent{} + p.GetOrganization() + p = nil + p.GetOrganization() +} + +func TestPullRequestReviewEvent_GetPullRequest(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewEvent{} + p.GetPullRequest() + p = nil + p.GetPullRequest() +} + +func TestPullRequestReviewEvent_GetRepo(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewEvent{} + p.GetRepo() + p = nil + p.GetRepo() +} + +func TestPullRequestReviewEvent_GetReview(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewEvent{} + p.GetReview() + p = nil + p.GetReview() +} + +func TestPullRequestReviewEvent_GetSender(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewEvent{} + p.GetSender() + p = nil + p.GetSender() +} + +func TestPullRequestReviewRequest_GetBody(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestReviewRequest{Body: &zeroValue} + p.GetBody() + p = &PullRequestReviewRequest{} + p.GetBody() + p = nil + 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 + p := &PullRequestReviewRequest{CommitID: &zeroValue} + p.GetCommitID() + p = &PullRequestReviewRequest{} + p.GetCommitID() + p = nil + p.GetCommitID() +} + +func TestPullRequestReviewRequest_GetEvent(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestReviewRequest{Event: &zeroValue} + p.GetEvent() + p = &PullRequestReviewRequest{} + p.GetEvent() + p = nil + p.GetEvent() +} + +func TestPullRequestReviewRequest_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestReviewRequest{NodeID: &zeroValue} + p.GetNodeID() + p = &PullRequestReviewRequest{} + p.GetNodeID() + p = nil + p.GetNodeID() +} + +func TestPullRequestReviewsEnforcement_GetBypassPullRequestAllowances(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewsEnforcement{} + p.GetBypassPullRequestAllowances() + p = nil + p.GetBypassPullRequestAllowances() +} + +func TestPullRequestReviewsEnforcement_GetDismissalRestrictions(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewsEnforcement{} + p.GetDismissalRestrictions() + p = nil + 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 + p := &PullRequestReviewsEnforcementLevelChanges{From: &zeroValue} + p.GetFrom() + p = &PullRequestReviewsEnforcementLevelChanges{} + p.GetFrom() + p = nil + p.GetFrom() +} + +func TestPullRequestReviewsEnforcementRequest_GetBypassPullRequestAllowancesRequest(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewsEnforcementRequest{} + p.GetBypassPullRequestAllowancesRequest() + p = nil + p.GetBypassPullRequestAllowancesRequest() +} + +func TestPullRequestReviewsEnforcementRequest_GetDismissalRestrictionsRequest(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewsEnforcementRequest{} + p.GetDismissalRestrictionsRequest() + p = nil + 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 + p := &PullRequestReviewsEnforcementRequest{RequireLastPushApproval: &zeroValue} + p.GetRequireLastPushApproval() + p = &PullRequestReviewsEnforcementRequest{} + p.GetRequireLastPushApproval() + p = nil + p.GetRequireLastPushApproval() +} + +func TestPullRequestReviewsEnforcementUpdate_GetBypassPullRequestAllowancesRequest(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewsEnforcementUpdate{} + p.GetBypassPullRequestAllowancesRequest() + p = nil + p.GetBypassPullRequestAllowancesRequest() +} + +func TestPullRequestReviewsEnforcementUpdate_GetDismissalRestrictionsRequest(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewsEnforcementUpdate{} + p.GetDismissalRestrictionsRequest() + p = nil + p.GetDismissalRestrictionsRequest() +} + +func TestPullRequestReviewsEnforcementUpdate_GetDismissStaleReviews(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PullRequestReviewsEnforcementUpdate{DismissStaleReviews: &zeroValue} + p.GetDismissStaleReviews() + p = &PullRequestReviewsEnforcementUpdate{} + p.GetDismissStaleReviews() + p = nil + p.GetDismissStaleReviews() +} + +func TestPullRequestReviewsEnforcementUpdate_GetRequireCodeOwnerReviews(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PullRequestReviewsEnforcementUpdate{RequireCodeOwnerReviews: &zeroValue} + p.GetRequireCodeOwnerReviews() + p = &PullRequestReviewsEnforcementUpdate{} + p.GetRequireCodeOwnerReviews() + p = nil + 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 + p := &PullRequestReviewsEnforcementUpdate{RequireLastPushApproval: &zeroValue} + p.GetRequireLastPushApproval() + p = &PullRequestReviewsEnforcementUpdate{} + p.GetRequireLastPushApproval() + p = nil + p.GetRequireLastPushApproval() +} + +func TestPullRequestReviewThreadEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestReviewThreadEvent{Action: &zeroValue} + p.GetAction() + p = &PullRequestReviewThreadEvent{} + p.GetAction() + p = nil + p.GetAction() +} + +func TestPullRequestReviewThreadEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewThreadEvent{} + p.GetInstallation() + p = nil + p.GetInstallation() +} + +func TestPullRequestReviewThreadEvent_GetOrg(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewThreadEvent{} + p.GetOrg() + p = nil + p.GetOrg() +} + +func TestPullRequestReviewThreadEvent_GetPullRequest(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewThreadEvent{} + p.GetPullRequest() + p = nil + p.GetPullRequest() +} + +func TestPullRequestReviewThreadEvent_GetRepo(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewThreadEvent{} + p.GetRepo() + p = nil + p.GetRepo() +} + +func TestPullRequestReviewThreadEvent_GetSender(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewThreadEvent{} + p.GetSender() + p = nil + p.GetSender() +} + +func TestPullRequestReviewThreadEvent_GetThread(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewThreadEvent{} + p.GetThread() + p = nil + 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 TestPullRequestStack_GetBase(tt *testing.T) { + tt.Parallel() + p := &PullRequestStack{} + p.GetBase() + p = nil + p.GetBase() +} + +func TestPullRequestStack_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &PullRequestStack{ID: &zeroValue} + p.GetID() + p = &PullRequestStack{} + p.GetID() + p = nil + p.GetID() +} + +func TestPullRequestStack_GetNumber(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PullRequestStack{Number: &zeroValue} + p.GetNumber() + p = &PullRequestStack{} + p.GetNumber() + p = nil + p.GetNumber() +} + +func TestPullRequestStack_GetPosition(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PullRequestStack{Position: &zeroValue} + p.GetPosition() + p = &PullRequestStack{} + p.GetPosition() + p = nil + p.GetPosition() +} + +func TestPullRequestStack_GetSize(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PullRequestStack{Size: &zeroValue} + p.GetSize() + p = &PullRequestStack{} + p.GetSize() + p = nil + p.GetSize() +} + +func TestPullRequestStackBase_GetRef(tt *testing.T) { + tt.Parallel() + p := &PullRequestStackBase{} + p.GetRef() + p = nil + p.GetRef() +} + +func TestPullRequestStackBase_GetSHA(tt *testing.T) { + tt.Parallel() + p := &PullRequestStackBase{} + p.GetSHA() + p = nil + p.GetSHA() +} + +func TestPullRequestSubmitReviewRequest_GetBody(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestSubmitReviewRequest{Body: &zeroValue} + p.GetBody() + p = &PullRequestSubmitReviewRequest{} + p.GetBody() + p = nil + p.GetBody() +} + +func TestPullRequestSubmitReviewRequest_GetEvent(tt *testing.T) { + tt.Parallel() + p := &PullRequestSubmitReviewRequest{} + p.GetEvent() + p = nil + p.GetEvent() +} + +func TestPullRequestTargetEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestTargetEvent{Action: &zeroValue} + p.GetAction() + p = &PullRequestTargetEvent{} + p.GetAction() + p = nil + p.GetAction() +} + +func TestPullRequestTargetEvent_GetAfter(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestTargetEvent{After: &zeroValue} + p.GetAfter() + p = &PullRequestTargetEvent{} + p.GetAfter() + p = nil + p.GetAfter() +} + +func TestPullRequestTargetEvent_GetAssignee(tt *testing.T) { + tt.Parallel() + p := &PullRequestTargetEvent{} + p.GetAssignee() + p = nil + p.GetAssignee() +} + +func TestPullRequestTargetEvent_GetBefore(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestTargetEvent{Before: &zeroValue} + p.GetBefore() + p = &PullRequestTargetEvent{} + p.GetBefore() + p = nil + p.GetBefore() +} + +func TestPullRequestTargetEvent_GetChanges(tt *testing.T) { + tt.Parallel() + p := &PullRequestTargetEvent{} + p.GetChanges() + p = nil + p.GetChanges() +} + +func TestPullRequestTargetEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + p := &PullRequestTargetEvent{} + p.GetInstallation() + p = nil + p.GetInstallation() +} + +func TestPullRequestTargetEvent_GetLabel(tt *testing.T) { + tt.Parallel() + p := &PullRequestTargetEvent{} + p.GetLabel() + p = nil + p.GetLabel() +} + +func TestPullRequestTargetEvent_GetNumber(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PullRequestTargetEvent{Number: &zeroValue} + p.GetNumber() + p = &PullRequestTargetEvent{} + p.GetNumber() + p = nil + p.GetNumber() +} + +func TestPullRequestTargetEvent_GetOrganization(tt *testing.T) { + tt.Parallel() + p := &PullRequestTargetEvent{} + p.GetOrganization() + p = nil + p.GetOrganization() +} + +func TestPullRequestTargetEvent_GetPerformedViaGithubApp(tt *testing.T) { + tt.Parallel() + p := &PullRequestTargetEvent{} + p.GetPerformedViaGithubApp() + p = nil + p.GetPerformedViaGithubApp() +} + +func TestPullRequestTargetEvent_GetPullRequest(tt *testing.T) { + tt.Parallel() + p := &PullRequestTargetEvent{} + p.GetPullRequest() + p = nil + p.GetPullRequest() +} + +func TestPullRequestTargetEvent_GetRepo(tt *testing.T) { + tt.Parallel() + p := &PullRequestTargetEvent{} + p.GetRepo() + p = nil + p.GetRepo() +} + +func TestPullRequestTargetEvent_GetRequestedReviewer(tt *testing.T) { + tt.Parallel() + p := &PullRequestTargetEvent{} + p.GetRequestedReviewer() + p = nil + p.GetRequestedReviewer() +} + +func TestPullRequestTargetEvent_GetRequestedTeam(tt *testing.T) { + tt.Parallel() + p := &PullRequestTargetEvent{} + p.GetRequestedTeam() + p = nil + p.GetRequestedTeam() +} + +func TestPullRequestTargetEvent_GetSender(tt *testing.T) { + tt.Parallel() + p := &PullRequestTargetEvent{} + p.GetSender() + p = nil + 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 + p := &PullRequestThread{ID: &zeroValue} + p.GetID() + p = &PullRequestThread{} + p.GetID() + p = nil + p.GetID() +} + +func TestPullRequestThread_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PullRequestThread{NodeID: &zeroValue} + p.GetNodeID() + p = &PullRequestThread{} + p.GetNodeID() + p = nil + p.GetNodeID() +} + +func TestPullStats_GetMergeablePulls(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PullStats{MergeablePulls: &zeroValue} + p.GetMergeablePulls() + p = &PullStats{} + p.GetMergeablePulls() + p = nil + p.GetMergeablePulls() +} + +func TestPullStats_GetMergedPulls(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PullStats{MergedPulls: &zeroValue} + p.GetMergedPulls() + p = &PullStats{} + p.GetMergedPulls() + p = nil + p.GetMergedPulls() +} + +func TestPullStats_GetTotalPulls(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PullStats{TotalPulls: &zeroValue} + p.GetTotalPulls() + p = &PullStats{} + p.GetTotalPulls() + p = nil + p.GetTotalPulls() +} + +func TestPullStats_GetUnmergeablePulls(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PullStats{UnmergeablePulls: &zeroValue} + p.GetUnmergeablePulls() + p = &PullStats{} + p.GetUnmergeablePulls() + p = nil + p.GetUnmergeablePulls() +} + +func TestPunchCard_GetCommits(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PunchCard{Commits: &zeroValue} + p.GetCommits() + p = &PunchCard{} + p.GetCommits() + p = nil + p.GetCommits() +} + +func TestPunchCard_GetDay(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PunchCard{Day: &zeroValue} + p.GetDay() + p = &PunchCard{} + p.GetDay() + p = nil + p.GetDay() +} + +func TestPunchCard_GetHour(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PunchCard{Hour: &zeroValue} + p.GetHour() + p = &PunchCard{} + p.GetHour() + p = nil + p.GetHour() +} + +func TestPushEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEvent{Action: &zeroValue} + p.GetAction() + p = &PushEvent{} + p.GetAction() + p = nil + p.GetAction() +} + +func TestPushEvent_GetAfter(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEvent{After: &zeroValue} + p.GetAfter() + p = &PushEvent{} + p.GetAfter() + p = nil + p.GetAfter() +} + +func TestPushEvent_GetBaseRef(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEvent{BaseRef: &zeroValue} + p.GetBaseRef() + p = &PushEvent{} + p.GetBaseRef() + p = nil + p.GetBaseRef() +} + +func TestPushEvent_GetBefore(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEvent{Before: &zeroValue} + p.GetBefore() + p = &PushEvent{} + p.GetBefore() + p = nil + p.GetBefore() +} + +func TestPushEvent_GetCommits(tt *testing.T) { + tt.Parallel() + zeroValue := []*HeadCommit{} + p := &PushEvent{Commits: zeroValue} + p.GetCommits() + p = &PushEvent{} + p.GetCommits() + p = nil + p.GetCommits() +} + +func TestPushEvent_GetCompare(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEvent{Compare: &zeroValue} + p.GetCompare() + p = &PushEvent{} + p.GetCompare() + p = nil + p.GetCompare() +} + +func TestPushEvent_GetCreated(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PushEvent{Created: &zeroValue} + p.GetCreated() + p = &PushEvent{} + p.GetCreated() + p = nil + p.GetCreated() +} + +func TestPushEvent_GetDeleted(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PushEvent{Deleted: &zeroValue} + p.GetDeleted() + p = &PushEvent{} + p.GetDeleted() + p = nil + p.GetDeleted() +} + +func TestPushEvent_GetDistinctSize(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PushEvent{DistinctSize: &zeroValue} + p.GetDistinctSize() + p = &PushEvent{} + p.GetDistinctSize() + p = nil + p.GetDistinctSize() +} + +func TestPushEvent_GetForced(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PushEvent{Forced: &zeroValue} + p.GetForced() + p = &PushEvent{} + p.GetForced() + p = nil + p.GetForced() +} + +func TestPushEvent_GetHead(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEvent{Head: &zeroValue} + p.GetHead() + p = &PushEvent{} + p.GetHead() + p = nil + p.GetHead() +} + +func TestPushEvent_GetHeadCommit(tt *testing.T) { + tt.Parallel() + p := &PushEvent{} + p.GetHeadCommit() + p = nil + p.GetHeadCommit() +} + +func TestPushEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + p := &PushEvent{} + p.GetInstallation() + p = nil + p.GetInstallation() +} + +func TestPushEvent_GetOrganization(tt *testing.T) { + tt.Parallel() + p := &PushEvent{} + p.GetOrganization() + p = nil + p.GetOrganization() +} + +func TestPushEvent_GetPusher(tt *testing.T) { + tt.Parallel() + p := &PushEvent{} + p.GetPusher() + p = nil + p.GetPusher() +} + +func TestPushEvent_GetPushID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &PushEvent{PushID: &zeroValue} + p.GetPushID() + p = &PushEvent{} + p.GetPushID() + p = nil + p.GetPushID() +} + +func TestPushEvent_GetRef(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEvent{Ref: &zeroValue} + p.GetRef() + p = &PushEvent{} + p.GetRef() + p = nil + p.GetRef() +} + +func TestPushEvent_GetRepo(tt *testing.T) { + tt.Parallel() + p := &PushEvent{} + p.GetRepo() + p = nil + p.GetRepo() +} + +func TestPushEvent_GetSender(tt *testing.T) { + tt.Parallel() + p := &PushEvent{} + p.GetSender() + p = nil + p.GetSender() +} + +func TestPushEvent_GetSize(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PushEvent{Size: &zeroValue} + p.GetSize() + p = &PushEvent{} + p.GetSize() + p = nil + p.GetSize() +} + +func TestPushEventRepoOwner_GetEmail(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEventRepoOwner{Email: &zeroValue} + p.GetEmail() + p = &PushEventRepoOwner{} + p.GetEmail() + p = nil + p.GetEmail() +} + +func TestPushEventRepoOwner_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEventRepoOwner{Name: &zeroValue} + p.GetName() + p = &PushEventRepoOwner{} + p.GetName() + p = nil + p.GetName() +} + +func TestPushEventRepository_GetArchived(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PushEventRepository{Archived: &zeroValue} + p.GetArchived() + p = &PushEventRepository{} + p.GetArchived() + p = nil + p.GetArchived() +} + +func TestPushEventRepository_GetArchiveURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEventRepository{ArchiveURL: &zeroValue} + p.GetArchiveURL() + p = &PushEventRepository{} + p.GetArchiveURL() + p = nil + p.GetArchiveURL() +} + +func TestPushEventRepository_GetCloneURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEventRepository{CloneURL: &zeroValue} + p.GetCloneURL() + p = &PushEventRepository{} + p.GetCloneURL() + p = nil + p.GetCloneURL() +} + +func TestPushEventRepository_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PushEventRepository{CreatedAt: &zeroValue} + p.GetCreatedAt() + p = &PushEventRepository{} + p.GetCreatedAt() + p = nil + p.GetCreatedAt() +} + +func TestPushEventRepository_GetCustomProperties(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]any{} + p := &PushEventRepository{CustomProperties: zeroValue} + p.GetCustomProperties() + p = &PushEventRepository{} + p.GetCustomProperties() + p = nil + p.GetCustomProperties() +} + +func TestPushEventRepository_GetDefaultBranch(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEventRepository{DefaultBranch: &zeroValue} + p.GetDefaultBranch() + p = &PushEventRepository{} + p.GetDefaultBranch() + p = nil + p.GetDefaultBranch() +} + +func TestPushEventRepository_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEventRepository{Description: &zeroValue} + p.GetDescription() + p = &PushEventRepository{} + p.GetDescription() + p = nil + p.GetDescription() +} + +func TestPushEventRepository_GetDisabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PushEventRepository{Disabled: &zeroValue} + p.GetDisabled() + p = &PushEventRepository{} + p.GetDisabled() + p = nil + p.GetDisabled() +} + +func TestPushEventRepository_GetFork(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PushEventRepository{Fork: &zeroValue} + p.GetFork() + p = &PushEventRepository{} + p.GetFork() + p = nil + p.GetFork() +} + +func TestPushEventRepository_GetForksCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PushEventRepository{ForksCount: &zeroValue} + p.GetForksCount() + p = &PushEventRepository{} + p.GetForksCount() + p = nil + p.GetForksCount() +} + +func TestPushEventRepository_GetFullName(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEventRepository{FullName: &zeroValue} + p.GetFullName() + p = &PushEventRepository{} + p.GetFullName() + p = nil + p.GetFullName() +} + +func TestPushEventRepository_GetGitURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEventRepository{GitURL: &zeroValue} + p.GetGitURL() + p = &PushEventRepository{} + p.GetGitURL() + p = nil + p.GetGitURL() +} + +func TestPushEventRepository_GetHasDownloads(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PushEventRepository{HasDownloads: &zeroValue} + p.GetHasDownloads() + p = &PushEventRepository{} + p.GetHasDownloads() + p = nil + p.GetHasDownloads() +} + +func TestPushEventRepository_GetHasIssues(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PushEventRepository{HasIssues: &zeroValue} + p.GetHasIssues() + p = &PushEventRepository{} + p.GetHasIssues() + p = nil + p.GetHasIssues() +} + +func TestPushEventRepository_GetHasPages(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PushEventRepository{HasPages: &zeroValue} + p.GetHasPages() + p = &PushEventRepository{} + p.GetHasPages() + p = nil + p.GetHasPages() +} + +func TestPushEventRepository_GetHasWiki(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PushEventRepository{HasWiki: &zeroValue} + p.GetHasWiki() + p = &PushEventRepository{} + p.GetHasWiki() + p = nil + p.GetHasWiki() +} + +func TestPushEventRepository_GetHomepage(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEventRepository{Homepage: &zeroValue} + p.GetHomepage() + p = &PushEventRepository{} + p.GetHomepage() + p = nil + p.GetHomepage() +} + +func TestPushEventRepository_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEventRepository{HTMLURL: &zeroValue} + p.GetHTMLURL() + p = &PushEventRepository{} + p.GetHTMLURL() + p = nil + p.GetHTMLURL() +} + +func TestPushEventRepository_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + p := &PushEventRepository{ID: &zeroValue} + p.GetID() + p = &PushEventRepository{} + p.GetID() + p = nil + p.GetID() +} + +func TestPushEventRepository_GetLanguage(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEventRepository{Language: &zeroValue} + p.GetLanguage() + p = &PushEventRepository{} + p.GetLanguage() + p = nil + p.GetLanguage() +} + +func TestPushEventRepository_GetMasterBranch(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEventRepository{MasterBranch: &zeroValue} + p.GetMasterBranch() + p = &PushEventRepository{} + p.GetMasterBranch() + p = nil + p.GetMasterBranch() +} + +func TestPushEventRepository_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEventRepository{Name: &zeroValue} + p.GetName() + p = &PushEventRepository{} + p.GetName() + p = nil + p.GetName() +} + +func TestPushEventRepository_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEventRepository{NodeID: &zeroValue} + p.GetNodeID() + p = &PushEventRepository{} + p.GetNodeID() + p = nil + p.GetNodeID() +} + +func TestPushEventRepository_GetOpenIssuesCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PushEventRepository{OpenIssuesCount: &zeroValue} + p.GetOpenIssuesCount() + p = &PushEventRepository{} + p.GetOpenIssuesCount() + p = nil + p.GetOpenIssuesCount() +} + +func TestPushEventRepository_GetOrganization(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEventRepository{Organization: &zeroValue} + p.GetOrganization() + p = &PushEventRepository{} + p.GetOrganization() + p = nil + p.GetOrganization() +} + +func TestPushEventRepository_GetOwner(tt *testing.T) { + tt.Parallel() + p := &PushEventRepository{} + p.GetOwner() + p = nil + p.GetOwner() +} + +func TestPushEventRepository_GetPrivate(tt *testing.T) { + tt.Parallel() + var zeroValue bool + p := &PushEventRepository{Private: &zeroValue} + p.GetPrivate() + p = &PushEventRepository{} + p.GetPrivate() + p = nil + p.GetPrivate() +} + +func TestPushEventRepository_GetPullsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEventRepository{PullsURL: &zeroValue} + p.GetPullsURL() + p = &PushEventRepository{} + p.GetPullsURL() + p = nil + p.GetPullsURL() +} + +func TestPushEventRepository_GetPushedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PushEventRepository{PushedAt: &zeroValue} + p.GetPushedAt() + p = &PushEventRepository{} + p.GetPushedAt() + p = nil + p.GetPushedAt() +} + +func TestPushEventRepository_GetSize(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PushEventRepository{Size: &zeroValue} + p.GetSize() + p = &PushEventRepository{} + p.GetSize() + p = nil + p.GetSize() +} + +func TestPushEventRepository_GetSSHURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEventRepository{SSHURL: &zeroValue} + p.GetSSHURL() + p = &PushEventRepository{} + p.GetSSHURL() + p = nil + p.GetSSHURL() +} + +func TestPushEventRepository_GetStargazersCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PushEventRepository{StargazersCount: &zeroValue} + p.GetStargazersCount() + p = &PushEventRepository{} + p.GetStargazersCount() + p = nil + p.GetStargazersCount() +} + +func TestPushEventRepository_GetStatusesURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEventRepository{StatusesURL: &zeroValue} + p.GetStatusesURL() + p = &PushEventRepository{} + p.GetStatusesURL() + p = nil + p.GetStatusesURL() +} + +func TestPushEventRepository_GetSVNURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEventRepository{SVNURL: &zeroValue} + p.GetSVNURL() + p = &PushEventRepository{} + p.GetSVNURL() + p = nil + 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 + p := &PushEventRepository{UpdatedAt: &zeroValue} + p.GetUpdatedAt() + p = &PushEventRepository{} + p.GetUpdatedAt() + p = nil + p.GetUpdatedAt() +} + +func TestPushEventRepository_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + p := &PushEventRepository{URL: &zeroValue} + p.GetURL() + p = &PushEventRepository{} + p.GetURL() + p = nil + p.GetURL() +} + +func TestPushEventRepository_GetWatchersCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + p := &PushEventRepository{WatchersCount: &zeroValue} + p.GetWatchersCount() + p = &PushEventRepository{} + p.GetWatchersCount() + p = nil + p.GetWatchersCount() +} + +func TestPushProtectionBypass_GetExpireAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + p := &PushProtectionBypass{ExpireAt: &zeroValue} + p.GetExpireAt() + p = &PushProtectionBypass{} + p.GetExpireAt() + p = nil + 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{} + r.GetActionsRunnerRegistration() + r = nil + r.GetActionsRunnerRegistration() +} + +func TestRateLimits_GetAuditLog(tt *testing.T) { + tt.Parallel() + r := &RateLimits{} + r.GetAuditLog() + r = nil + r.GetAuditLog() +} + +func TestRateLimits_GetCodeScanningUpload(tt *testing.T) { + tt.Parallel() + r := &RateLimits{} + r.GetCodeScanningUpload() + r = nil + r.GetCodeScanningUpload() +} + +func TestRateLimits_GetCodeSearch(tt *testing.T) { + tt.Parallel() + r := &RateLimits{} + r.GetCodeSearch() + r = nil + r.GetCodeSearch() +} + +func TestRateLimits_GetCore(tt *testing.T) { + tt.Parallel() + r := &RateLimits{} + r.GetCore() + r = nil + r.GetCore() +} + +func TestRateLimits_GetDependencySBOM(tt *testing.T) { + tt.Parallel() + r := &RateLimits{} + r.GetDependencySBOM() + r = nil + r.GetDependencySBOM() +} + +func TestRateLimits_GetDependencySnapshots(tt *testing.T) { + tt.Parallel() + r := &RateLimits{} + r.GetDependencySnapshots() + r = nil + r.GetDependencySnapshots() +} + +func TestRateLimits_GetGraphQL(tt *testing.T) { + tt.Parallel() + r := &RateLimits{} + r.GetGraphQL() + r = nil + r.GetGraphQL() +} + +func TestRateLimits_GetIntegrationManifest(tt *testing.T) { + tt.Parallel() + r := &RateLimits{} + r.GetIntegrationManifest() + r = nil + r.GetIntegrationManifest() +} + +func TestRateLimits_GetSCIM(tt *testing.T) { + tt.Parallel() + r := &RateLimits{} + r.GetSCIM() + r = nil + r.GetSCIM() +} + +func TestRateLimits_GetSearch(tt *testing.T) { + tt.Parallel() + r := &RateLimits{} + r.GetSearch() + r = nil + r.GetSearch() +} + +func TestRateLimits_GetSourceImport(tt *testing.T) { + tt.Parallel() + r := &RateLimits{} + r.GetSourceImport() + r = nil + 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 + r := &Reaction{Content: &zeroValue} + r.GetContent() + r = &Reaction{} + r.GetContent() + r = nil + r.GetContent() +} + +func TestReaction_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + r := &Reaction{CreatedAt: &zeroValue} + r.GetCreatedAt() + r = &Reaction{} + r.GetCreatedAt() + r = nil + r.GetCreatedAt() +} + +func TestReaction_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + r := &Reaction{ID: &zeroValue} + r.GetID() + r = &Reaction{} + r.GetID() + r = nil + r.GetID() +} + +func TestReaction_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Reaction{NodeID: &zeroValue} + r.GetNodeID() + r = &Reaction{} + r.GetNodeID() + r = nil + r.GetNodeID() +} + +func TestReaction_GetUser(tt *testing.T) { + tt.Parallel() + r := &Reaction{} + r.GetUser() + r = nil + r.GetUser() +} + +func TestReactions_GetConfused(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &Reactions{Confused: &zeroValue} + r.GetConfused() + r = &Reactions{} + r.GetConfused() + r = nil + r.GetConfused() +} + +func TestReactions_GetEyes(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &Reactions{Eyes: &zeroValue} + r.GetEyes() + r = &Reactions{} + r.GetEyes() + r = nil + r.GetEyes() +} + +func TestReactions_GetHeart(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &Reactions{Heart: &zeroValue} + r.GetHeart() + r = &Reactions{} + r.GetHeart() + r = nil + r.GetHeart() +} + +func TestReactions_GetHooray(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &Reactions{Hooray: &zeroValue} + r.GetHooray() + r = &Reactions{} + r.GetHooray() + r = nil + r.GetHooray() +} + +func TestReactions_GetLaugh(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &Reactions{Laugh: &zeroValue} + r.GetLaugh() + r = &Reactions{} + r.GetLaugh() + r = nil + r.GetLaugh() +} + +func TestReactions_GetMinusOne(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &Reactions{MinusOne: &zeroValue} + r.GetMinusOne() + r = &Reactions{} + r.GetMinusOne() + r = nil + r.GetMinusOne() +} + +func TestReactions_GetPlusOne(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &Reactions{PlusOne: &zeroValue} + r.GetPlusOne() + r = &Reactions{} + r.GetPlusOne() + r = nil + r.GetPlusOne() +} + +func TestReactions_GetRocket(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &Reactions{Rocket: &zeroValue} + r.GetRocket() + r = &Reactions{} + r.GetRocket() + r = nil + r.GetRocket() +} + +func TestReactions_GetTotalCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &Reactions{TotalCount: &zeroValue} + r.GetTotalCount() + r = &Reactions{} + r.GetTotalCount() + r = nil + r.GetTotalCount() +} + +func TestReactions_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Reactions{URL: &zeroValue} + r.GetURL() + r = &Reactions{} + r.GetURL() + r = nil + r.GetURL() +} + +func TestReassignedResource_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &ReassignedResource{Name: &zeroValue} + r.GetName() + r = &ReassignedResource{} + r.GetName() + r = nil + r.GetName() +} + +func TestReassignedResource_GetPreviousCostCenter(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &ReassignedResource{PreviousCostCenter: &zeroValue} + r.GetPreviousCostCenter() + r = &ReassignedResource{} + r.GetPreviousCostCenter() + r = nil + r.GetPreviousCostCenter() +} + +func TestReassignedResource_GetResourceType(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &ReassignedResource{ResourceType: &zeroValue} + r.GetResourceType() + r = &ReassignedResource{} + r.GetResourceType() + r = nil + 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 + r := &Reference{NodeID: &zeroValue} + r.GetNodeID() + r = &Reference{} + r.GetNodeID() + r = nil + r.GetNodeID() +} + +func TestReference_GetObject(tt *testing.T) { + tt.Parallel() + r := &Reference{} + r.GetObject() + r = nil + r.GetObject() +} + +func TestReference_GetRef(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Reference{Ref: &zeroValue} + r.GetRef() + r = &Reference{} + r.GetRef() + r = nil + r.GetRef() +} + +func TestReference_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Reference{URL: &zeroValue} + r.GetURL() + r = &Reference{} + r.GetURL() + r = nil + r.GetURL() +} + +func TestReferencedWorkflow_GetPath(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &ReferencedWorkflow{Path: &zeroValue} + r.GetPath() + r = &ReferencedWorkflow{} + r.GetPath() + r = nil + r.GetPath() +} + +func TestReferencedWorkflow_GetRef(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &ReferencedWorkflow{Ref: &zeroValue} + r.GetRef() + r = &ReferencedWorkflow{} + r.GetRef() + r = nil + r.GetRef() +} + +func TestReferencedWorkflow_GetSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &ReferencedWorkflow{SHA: &zeroValue} + r.GetSHA() + r = &ReferencedWorkflow{} + r.GetSHA() + r = nil + r.GetSHA() +} + +func TestRegistrationToken_GetExpiresAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + r := &RegistrationToken{ExpiresAt: &zeroValue} + r.GetExpiresAt() + r = &RegistrationToken{} + r.GetExpiresAt() + r = nil + r.GetExpiresAt() +} + +func TestRegistrationToken_GetToken(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RegistrationToken{Token: &zeroValue} + r.GetToken() + r = &RegistrationToken{} + r.GetToken() + r = nil + r.GetToken() +} + +func TestRegistryPackageEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RegistryPackageEvent{Action: &zeroValue} + r.GetAction() + r = &RegistryPackageEvent{} + r.GetAction() + r = nil + r.GetAction() +} + +func TestRegistryPackageEvent_GetEnterprise(tt *testing.T) { + tt.Parallel() + r := &RegistryPackageEvent{} + r.GetEnterprise() + r = nil + r.GetEnterprise() +} + +func TestRegistryPackageEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + r := &RegistryPackageEvent{} + r.GetInstallation() + r = nil + r.GetInstallation() +} + +func TestRegistryPackageEvent_GetOrganization(tt *testing.T) { + tt.Parallel() + r := &RegistryPackageEvent{} + r.GetOrganization() + r = nil + r.GetOrganization() +} + +func TestRegistryPackageEvent_GetRegistryPackage(tt *testing.T) { + tt.Parallel() + r := &RegistryPackageEvent{} + r.GetRegistryPackage() + r = nil + r.GetRegistryPackage() +} + +func TestRegistryPackageEvent_GetRepository(tt *testing.T) { + tt.Parallel() + r := &RegistryPackageEvent{} + r.GetRepository() + r = nil + r.GetRepository() +} + +func TestRegistryPackageEvent_GetSender(tt *testing.T) { + tt.Parallel() + r := &RegistryPackageEvent{} + r.GetSender() + r = nil + r.GetSender() +} + +func TestReleaseAsset_GetBrowserDownloadURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &ReleaseAsset{BrowserDownloadURL: &zeroValue} + r.GetBrowserDownloadURL() + r = &ReleaseAsset{} + r.GetBrowserDownloadURL() + r = nil + r.GetBrowserDownloadURL() +} + +func TestReleaseAsset_GetContentType(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &ReleaseAsset{ContentType: &zeroValue} + r.GetContentType() + r = &ReleaseAsset{} + r.GetContentType() + r = nil + r.GetContentType() +} + +func TestReleaseAsset_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + r := &ReleaseAsset{CreatedAt: &zeroValue} + r.GetCreatedAt() + r = &ReleaseAsset{} + r.GetCreatedAt() + r = nil + r.GetCreatedAt() +} + +func TestReleaseAsset_GetDigest(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &ReleaseAsset{Digest: &zeroValue} + r.GetDigest() + r = &ReleaseAsset{} + r.GetDigest() + r = nil + r.GetDigest() +} + +func TestReleaseAsset_GetDownloadCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &ReleaseAsset{DownloadCount: &zeroValue} + r.GetDownloadCount() + r = &ReleaseAsset{} + r.GetDownloadCount() + r = nil + r.GetDownloadCount() +} + +func TestReleaseAsset_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + r := &ReleaseAsset{ID: &zeroValue} + r.GetID() + r = &ReleaseAsset{} + r.GetID() + r = nil + r.GetID() +} + +func TestReleaseAsset_GetLabel(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &ReleaseAsset{Label: &zeroValue} + r.GetLabel() + r = &ReleaseAsset{} + r.GetLabel() + r = nil + r.GetLabel() +} + +func TestReleaseAsset_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &ReleaseAsset{Name: &zeroValue} + r.GetName() + r = &ReleaseAsset{} + r.GetName() + r = nil + r.GetName() +} + +func TestReleaseAsset_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &ReleaseAsset{NodeID: &zeroValue} + r.GetNodeID() + r = &ReleaseAsset{} + r.GetNodeID() + r = nil + r.GetNodeID() +} + +func TestReleaseAsset_GetSize(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &ReleaseAsset{Size: &zeroValue} + r.GetSize() + r = &ReleaseAsset{} + r.GetSize() + r = nil + r.GetSize() +} + +func TestReleaseAsset_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &ReleaseAsset{State: &zeroValue} + r.GetState() + r = &ReleaseAsset{} + r.GetState() + r = nil + r.GetState() +} + +func TestReleaseAsset_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + r := &ReleaseAsset{UpdatedAt: &zeroValue} + r.GetUpdatedAt() + r = &ReleaseAsset{} + r.GetUpdatedAt() + r = nil + r.GetUpdatedAt() +} + +func TestReleaseAsset_GetUploader(tt *testing.T) { + tt.Parallel() + r := &ReleaseAsset{} + r.GetUploader() + r = nil + r.GetUploader() +} + +func TestReleaseAsset_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &ReleaseAsset{URL: &zeroValue} + r.GetURL() + r = &ReleaseAsset{} + r.GetURL() + r = nil + r.GetURL() +} + +func TestReleaseEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &ReleaseEvent{Action: &zeroValue} + r.GetAction() + r = &ReleaseEvent{} + r.GetAction() + r = nil + r.GetAction() +} + +func TestReleaseEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + r := &ReleaseEvent{} + r.GetInstallation() + r = nil + r.GetInstallation() +} + +func TestReleaseEvent_GetOrg(tt *testing.T) { + tt.Parallel() + r := &ReleaseEvent{} + r.GetOrg() + r = nil + r.GetOrg() +} + +func TestReleaseEvent_GetRelease(tt *testing.T) { + tt.Parallel() + r := &ReleaseEvent{} + r.GetRelease() + r = nil + r.GetRelease() +} + +func TestReleaseEvent_GetRepo(tt *testing.T) { + tt.Parallel() + r := &ReleaseEvent{} + r.GetRepo() + r = nil + r.GetRepo() +} + +func TestReleaseEvent_GetSender(tt *testing.T) { + tt.Parallel() + r := &ReleaseEvent{} + r.GetSender() + r = nil + r.GetSender() +} + +func TestReleaseVersion_GetBuildDate(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &ReleaseVersion{BuildDate: &zeroValue} + r.GetBuildDate() + r = &ReleaseVersion{} + r.GetBuildDate() + r = nil + r.GetBuildDate() +} + +func TestReleaseVersion_GetBuildID(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &ReleaseVersion{BuildID: &zeroValue} + r.GetBuildID() + r = &ReleaseVersion{} + r.GetBuildID() + r = nil + r.GetBuildID() +} + +func TestReleaseVersion_GetPlatform(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &ReleaseVersion{Platform: &zeroValue} + r.GetPlatform() + r = &ReleaseVersion{} + r.GetPlatform() + r = nil + r.GetPlatform() +} + +func TestReleaseVersion_GetVersion(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &ReleaseVersion{Version: &zeroValue} + r.GetVersion() + r = &ReleaseVersion{} + r.GetVersion() + r = nil + r.GetVersion() +} + +func TestRemoveResourcesFromCostCenterResponse_GetMessage(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RemoveResourcesFromCostCenterResponse{Message: &zeroValue} + r.GetMessage() + r = &RemoveResourcesFromCostCenterResponse{} + r.GetMessage() + r = nil + r.GetMessage() +} + +func TestRemoveToken_GetExpiresAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + r := &RemoveToken{ExpiresAt: &zeroValue} + r.GetExpiresAt() + r = &RemoveToken{} + r.GetExpiresAt() + r = nil + r.GetExpiresAt() +} + +func TestRemoveToken_GetToken(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RemoveToken{Token: &zeroValue} + r.GetToken() + r = &RemoveToken{} + r.GetToken() + r = nil + r.GetToken() +} + +func TestRename_GetFrom(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Rename{From: &zeroValue} + r.GetFrom() + r = &Rename{} + r.GetFrom() + r = nil + r.GetFrom() +} + +func TestRename_GetTo(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Rename{To: &zeroValue} + r.GetTo() + r = &Rename{} + r.GetTo() + r = nil + r.GetTo() +} + +func TestRenameOrgResponse_GetMessage(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RenameOrgResponse{Message: &zeroValue} + r.GetMessage() + r = &RenameOrgResponse{} + r.GetMessage() + r = nil + r.GetMessage() +} + +func TestRenameOrgResponse_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RenameOrgResponse{URL: &zeroValue} + r.GetURL() + r = &RenameOrgResponse{} + r.GetURL() + r = nil + r.GetURL() +} + +func TestRepoAdvisoryCredit_GetLogin(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepoAdvisoryCredit{Login: &zeroValue} + r.GetLogin() + r = &RepoAdvisoryCredit{} + r.GetLogin() + r = nil + r.GetLogin() +} + +func TestRepoAdvisoryCredit_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepoAdvisoryCredit{Type: &zeroValue} + r.GetType() + r = &RepoAdvisoryCredit{} + r.GetType() + r = nil + r.GetType() +} + +func TestRepoAdvisoryCreditDetailed_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepoAdvisoryCreditDetailed{State: &zeroValue} + r.GetState() + r = &RepoAdvisoryCreditDetailed{} + r.GetState() + r = nil + r.GetState() +} + +func TestRepoAdvisoryCreditDetailed_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepoAdvisoryCreditDetailed{Type: &zeroValue} + r.GetType() + r = &RepoAdvisoryCreditDetailed{} + r.GetType() + r = nil + r.GetType() +} + +func TestRepoAdvisoryCreditDetailed_GetUser(tt *testing.T) { + tt.Parallel() + r := &RepoAdvisoryCreditDetailed{} + r.GetUser() + r = nil + 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 + r := &RepoDependencies{DownloadLocation: &zeroValue} + r.GetDownloadLocation() + r = &RepoDependencies{} + r.GetDownloadLocation() + r = nil + 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 + r := &RepoDependencies{FilesAnalyzed: &zeroValue} + r.GetFilesAnalyzed() + r = &RepoDependencies{} + r.GetFilesAnalyzed() + r = nil + r.GetFilesAnalyzed() +} + +func TestRepoDependencies_GetLicenseConcluded(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepoDependencies{LicenseConcluded: &zeroValue} + r.GetLicenseConcluded() + r = &RepoDependencies{} + r.GetLicenseConcluded() + r = nil + r.GetLicenseConcluded() +} + +func TestRepoDependencies_GetLicenseDeclared(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepoDependencies{LicenseDeclared: &zeroValue} + r.GetLicenseDeclared() + r = &RepoDependencies{} + r.GetLicenseDeclared() + r = nil + r.GetLicenseDeclared() +} + +func TestRepoDependencies_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepoDependencies{Name: &zeroValue} + r.GetName() + r = &RepoDependencies{} + r.GetName() + r = nil + r.GetName() +} + +func TestRepoDependencies_GetSPDXID(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepoDependencies{SPDXID: &zeroValue} + r.GetSPDXID() + r = &RepoDependencies{} + r.GetSPDXID() + r = nil + r.GetSPDXID() +} + +func TestRepoDependencies_GetVersionInfo(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepoDependencies{VersionInfo: &zeroValue} + r.GetVersionInfo() + r = &RepoDependencies{} + r.GetVersionInfo() + r = nil + 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 + r := &RepoImmutableReleasesStatus{Enabled: &zeroValue} + r.GetEnabled() + r = &RepoImmutableReleasesStatus{} + r.GetEnabled() + r = nil + r.GetEnabled() +} + +func TestRepoImmutableReleasesStatus_GetEnforcedByOwner(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &RepoImmutableReleasesStatus{EnforcedByOwner: &zeroValue} + r.GetEnforcedByOwner() + r = &RepoImmutableReleasesStatus{} + r.GetEnforcedByOwner() + r = nil + r.GetEnforcedByOwner() +} + +func TestRepoMergeUpstreamRequest_GetBranch(tt *testing.T) { + tt.Parallel() + r := &RepoMergeUpstreamRequest{} + r.GetBranch() + r = nil + r.GetBranch() +} + +func TestRepoMergeUpstreamResult_GetBaseBranch(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepoMergeUpstreamResult{BaseBranch: &zeroValue} + r.GetBaseBranch() + r = &RepoMergeUpstreamResult{} + r.GetBaseBranch() + r = nil + r.GetBaseBranch() +} + +func TestRepoMergeUpstreamResult_GetMergeType(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepoMergeUpstreamResult{MergeType: &zeroValue} + r.GetMergeType() + r = &RepoMergeUpstreamResult{} + r.GetMergeType() + r = nil + r.GetMergeType() +} + +func TestRepoMergeUpstreamResult_GetMessage(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepoMergeUpstreamResult{Message: &zeroValue} + r.GetMessage() + r = &RepoMergeUpstreamResult{} + r.GetMessage() + r = nil + r.GetMessage() +} + +func TestRepoName_GetFrom(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepoName{From: &zeroValue} + r.GetFrom() + r = &RepoName{} + r.GetFrom() + r = nil + r.GetFrom() +} + +func TestRepositoriesSearchResult_GetIncompleteResults(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &RepositoriesSearchResult{IncompleteResults: &zeroValue} + r.GetIncompleteResults() + r = &RepositoriesSearchResult{} + r.GetIncompleteResults() + r = nil + 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 + r := &RepositoriesSearchResult{Total: &zeroValue} + r.GetTotal() + r = &RepositoriesSearchResult{} + r.GetTotal() + r = nil + r.GetTotal() +} + +func TestRepository_GetAllowAutoMerge(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &Repository{AllowAutoMerge: &zeroValue} + r.GetAllowAutoMerge() + r = &Repository{} + r.GetAllowAutoMerge() + r = nil + r.GetAllowAutoMerge() +} + +func TestRepository_GetAllowForking(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &Repository{AllowForking: &zeroValue} + r.GetAllowForking() + r = &Repository{} + r.GetAllowForking() + r = nil + r.GetAllowForking() +} + +func TestRepository_GetAllowMergeCommit(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &Repository{AllowMergeCommit: &zeroValue} + r.GetAllowMergeCommit() + r = &Repository{} + r.GetAllowMergeCommit() + r = nil + r.GetAllowMergeCommit() +} + +func TestRepository_GetAllowRebaseMerge(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &Repository{AllowRebaseMerge: &zeroValue} + r.GetAllowRebaseMerge() + r = &Repository{} + r.GetAllowRebaseMerge() + r = nil + r.GetAllowRebaseMerge() +} + +func TestRepository_GetAllowSquashMerge(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &Repository{AllowSquashMerge: &zeroValue} + r.GetAllowSquashMerge() + r = &Repository{} + r.GetAllowSquashMerge() + r = nil + r.GetAllowSquashMerge() +} + +func TestRepository_GetAllowUpdateBranch(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &Repository{AllowUpdateBranch: &zeroValue} + r.GetAllowUpdateBranch() + r = &Repository{} + r.GetAllowUpdateBranch() + r = nil + r.GetAllowUpdateBranch() +} + +func TestRepository_GetArchived(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &Repository{Archived: &zeroValue} + r.GetArchived() + r = &Repository{} + r.GetArchived() + r = nil + r.GetArchived() +} + +func TestRepository_GetArchiveURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{ArchiveURL: &zeroValue} + r.GetArchiveURL() + r = &Repository{} + r.GetArchiveURL() + r = nil + r.GetArchiveURL() +} + +func TestRepository_GetAssigneesURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{AssigneesURL: &zeroValue} + r.GetAssigneesURL() + r = &Repository{} + r.GetAssigneesURL() + r = nil + r.GetAssigneesURL() +} + +func TestRepository_GetAutoInit(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &Repository{AutoInit: &zeroValue} + r.GetAutoInit() + r = &Repository{} + r.GetAutoInit() + r = nil + r.GetAutoInit() +} + +func TestRepository_GetBlobsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{BlobsURL: &zeroValue} + r.GetBlobsURL() + r = &Repository{} + r.GetBlobsURL() + r = nil + r.GetBlobsURL() +} + +func TestRepository_GetBranchesURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{BranchesURL: &zeroValue} + r.GetBranchesURL() + r = &Repository{} + r.GetBranchesURL() + r = nil + r.GetBranchesURL() +} + +func TestRepository_GetCloneURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{CloneURL: &zeroValue} + r.GetCloneURL() + r = &Repository{} + r.GetCloneURL() + r = nil + r.GetCloneURL() +} + +func TestRepository_GetCodeOfConduct(tt *testing.T) { + tt.Parallel() + r := &Repository{} + r.GetCodeOfConduct() + r = nil + r.GetCodeOfConduct() +} + +func TestRepository_GetCollaboratorsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{CollaboratorsURL: &zeroValue} + r.GetCollaboratorsURL() + r = &Repository{} + r.GetCollaboratorsURL() + r = nil + r.GetCollaboratorsURL() +} + +func TestRepository_GetCommentsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{CommentsURL: &zeroValue} + r.GetCommentsURL() + r = &Repository{} + r.GetCommentsURL() + r = nil + r.GetCommentsURL() +} + +func TestRepository_GetCommitsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{CommitsURL: &zeroValue} + r.GetCommitsURL() + r = &Repository{} + r.GetCommitsURL() + r = nil + r.GetCommitsURL() +} + +func TestRepository_GetCompareURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{CompareURL: &zeroValue} + r.GetCompareURL() + r = &Repository{} + r.GetCompareURL() + r = nil + r.GetCompareURL() +} + +func TestRepository_GetContentsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{ContentsURL: &zeroValue} + r.GetContentsURL() + r = &Repository{} + r.GetContentsURL() + r = nil + r.GetContentsURL() +} + +func TestRepository_GetContributorsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{ContributorsURL: &zeroValue} + r.GetContributorsURL() + r = &Repository{} + r.GetContributorsURL() + r = nil + r.GetContributorsURL() +} + +func TestRepository_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + r := &Repository{CreatedAt: &zeroValue} + r.GetCreatedAt() + r = &Repository{} + r.GetCreatedAt() + r = nil + r.GetCreatedAt() +} + +func TestRepository_GetCustomProperties(tt *testing.T) { + tt.Parallel() + zeroValue := map[string]any{} + r := &Repository{CustomProperties: zeroValue} + r.GetCustomProperties() + r = &Repository{} + r.GetCustomProperties() + r = nil + r.GetCustomProperties() +} + +func TestRepository_GetDefaultBranch(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{DefaultBranch: &zeroValue} + r.GetDefaultBranch() + r = &Repository{} + r.GetDefaultBranch() + r = nil + r.GetDefaultBranch() +} + +func TestRepository_GetDeleteBranchOnMerge(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &Repository{DeleteBranchOnMerge: &zeroValue} + r.GetDeleteBranchOnMerge() + r = &Repository{} + r.GetDeleteBranchOnMerge() + r = nil + r.GetDeleteBranchOnMerge() +} + +func TestRepository_GetDeploymentsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{DeploymentsURL: &zeroValue} + r.GetDeploymentsURL() + r = &Repository{} + r.GetDeploymentsURL() + r = nil + r.GetDeploymentsURL() +} + +func TestRepository_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{Description: &zeroValue} + r.GetDescription() + r = &Repository{} + r.GetDescription() + r = nil + r.GetDescription() +} + +func TestRepository_GetDisabled(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &Repository{Disabled: &zeroValue} + r.GetDisabled() + r = &Repository{} + r.GetDisabled() + r = nil + r.GetDisabled() +} + +func TestRepository_GetDownloadsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{DownloadsURL: &zeroValue} + r.GetDownloadsURL() + r = &Repository{} + r.GetDownloadsURL() + r = nil + r.GetDownloadsURL() +} + +func TestRepository_GetEventsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{EventsURL: &zeroValue} + r.GetEventsURL() + r = &Repository{} + r.GetEventsURL() + r = nil + r.GetEventsURL() +} + +func TestRepository_GetFork(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &Repository{Fork: &zeroValue} + r.GetFork() + r = &Repository{} + r.GetFork() + r = nil + r.GetFork() +} + +func TestRepository_GetForksCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &Repository{ForksCount: &zeroValue} + r.GetForksCount() + r = &Repository{} + r.GetForksCount() + r = nil + r.GetForksCount() +} + +func TestRepository_GetForksURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{ForksURL: &zeroValue} + r.GetForksURL() + r = &Repository{} + r.GetForksURL() + r = nil + r.GetForksURL() +} + +func TestRepository_GetFullName(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{FullName: &zeroValue} + r.GetFullName() + r = &Repository{} + r.GetFullName() + r = nil + r.GetFullName() +} + +func TestRepository_GetGitCommitsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{GitCommitsURL: &zeroValue} + r.GetGitCommitsURL() + r = &Repository{} + r.GetGitCommitsURL() + r = nil + r.GetGitCommitsURL() +} + +func TestRepository_GetGitignoreTemplate(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{GitignoreTemplate: &zeroValue} + r.GetGitignoreTemplate() + r = &Repository{} + r.GetGitignoreTemplate() + r = nil + r.GetGitignoreTemplate() +} + +func TestRepository_GetGitRefsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{GitRefsURL: &zeroValue} + r.GetGitRefsURL() + r = &Repository{} + r.GetGitRefsURL() + r = nil + r.GetGitRefsURL() +} + +func TestRepository_GetGitTagsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{GitTagsURL: &zeroValue} + r.GetGitTagsURL() + r = &Repository{} + r.GetGitTagsURL() + r = nil + r.GetGitTagsURL() +} + +func TestRepository_GetGitURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{GitURL: &zeroValue} + r.GetGitURL() + r = &Repository{} + r.GetGitURL() + r = nil + r.GetGitURL() +} + +func TestRepository_GetHasDiscussions(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &Repository{HasDiscussions: &zeroValue} + r.GetHasDiscussions() + r = &Repository{} + r.GetHasDiscussions() + r = nil + r.GetHasDiscussions() +} + +func TestRepository_GetHasDownloads(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &Repository{HasDownloads: &zeroValue} + r.GetHasDownloads() + r = &Repository{} + r.GetHasDownloads() + r = nil + r.GetHasDownloads() +} + +func TestRepository_GetHasIssues(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &Repository{HasIssues: &zeroValue} + r.GetHasIssues() + r = &Repository{} + r.GetHasIssues() + r = nil + r.GetHasIssues() +} + +func TestRepository_GetHasPages(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &Repository{HasPages: &zeroValue} + r.GetHasPages() + r = &Repository{} + r.GetHasPages() + r = nil + r.GetHasPages() +} + +func TestRepository_GetHasProjects(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &Repository{HasProjects: &zeroValue} + r.GetHasProjects() + r = &Repository{} + r.GetHasProjects() + r = nil + r.GetHasProjects() +} + +func TestRepository_GetHasPullRequests(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &Repository{HasPullRequests: &zeroValue} + r.GetHasPullRequests() + r = &Repository{} + r.GetHasPullRequests() + r = nil + r.GetHasPullRequests() +} + +func TestRepository_GetHasWiki(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &Repository{HasWiki: &zeroValue} + r.GetHasWiki() + r = &Repository{} + r.GetHasWiki() + r = nil + r.GetHasWiki() +} + +func TestRepository_GetHomepage(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{Homepage: &zeroValue} + r.GetHomepage() + r = &Repository{} + r.GetHomepage() + r = nil + r.GetHomepage() +} + +func TestRepository_GetHooksURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{HooksURL: &zeroValue} + r.GetHooksURL() + r = &Repository{} + r.GetHooksURL() + r = nil + r.GetHooksURL() +} + +func TestRepository_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{HTMLURL: &zeroValue} + r.GetHTMLURL() + r = &Repository{} + r.GetHTMLURL() + r = nil + r.GetHTMLURL() +} + +func TestRepository_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + r := &Repository{ID: &zeroValue} + r.GetID() + r = &Repository{} + r.GetID() + r = nil + r.GetID() +} + +func TestRepository_GetIssueCommentURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{IssueCommentURL: &zeroValue} + r.GetIssueCommentURL() + r = &Repository{} + r.GetIssueCommentURL() + r = nil + r.GetIssueCommentURL() +} + +func TestRepository_GetIssueEventsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{IssueEventsURL: &zeroValue} + r.GetIssueEventsURL() + r = &Repository{} + r.GetIssueEventsURL() + r = nil + r.GetIssueEventsURL() +} + +func TestRepository_GetIssuesURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{IssuesURL: &zeroValue} + r.GetIssuesURL() + r = &Repository{} + r.GetIssuesURL() + r = nil + r.GetIssuesURL() +} + +func TestRepository_GetIsTemplate(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &Repository{IsTemplate: &zeroValue} + r.GetIsTemplate() + r = &Repository{} + r.GetIsTemplate() + r = nil + r.GetIsTemplate() +} + +func TestRepository_GetKeysURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{KeysURL: &zeroValue} + r.GetKeysURL() + r = &Repository{} + r.GetKeysURL() + r = nil + r.GetKeysURL() +} + +func TestRepository_GetLabelsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{LabelsURL: &zeroValue} + r.GetLabelsURL() + r = &Repository{} + r.GetLabelsURL() + r = nil + r.GetLabelsURL() +} + +func TestRepository_GetLanguage(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{Language: &zeroValue} + r.GetLanguage() + r = &Repository{} + r.GetLanguage() + r = nil + r.GetLanguage() +} + +func TestRepository_GetLanguagesURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{LanguagesURL: &zeroValue} + r.GetLanguagesURL() + r = &Repository{} + r.GetLanguagesURL() + r = nil + r.GetLanguagesURL() +} + +func TestRepository_GetLicense(tt *testing.T) { + tt.Parallel() + r := &Repository{} + r.GetLicense() + r = nil + r.GetLicense() +} + +func TestRepository_GetLicenseTemplate(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{LicenseTemplate: &zeroValue} + r.GetLicenseTemplate() + r = &Repository{} + r.GetLicenseTemplate() + r = nil + r.GetLicenseTemplate() +} + +func TestRepository_GetMasterBranch(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{MasterBranch: &zeroValue} + r.GetMasterBranch() + r = &Repository{} + r.GetMasterBranch() + r = nil + r.GetMasterBranch() +} + +func TestRepository_GetMergeCommitMessage(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{MergeCommitMessage: &zeroValue} + r.GetMergeCommitMessage() + r = &Repository{} + r.GetMergeCommitMessage() + r = nil + r.GetMergeCommitMessage() +} + +func TestRepository_GetMergeCommitTitle(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{MergeCommitTitle: &zeroValue} + r.GetMergeCommitTitle() + r = &Repository{} + r.GetMergeCommitTitle() + r = nil + r.GetMergeCommitTitle() +} + +func TestRepository_GetMergesURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{MergesURL: &zeroValue} + r.GetMergesURL() + r = &Repository{} + r.GetMergesURL() + r = nil + r.GetMergesURL() +} + +func TestRepository_GetMilestonesURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{MilestonesURL: &zeroValue} + r.GetMilestonesURL() + r = &Repository{} + r.GetMilestonesURL() + r = nil + r.GetMilestonesURL() +} + +func TestRepository_GetMirrorURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{MirrorURL: &zeroValue} + r.GetMirrorURL() + r = &Repository{} + r.GetMirrorURL() + r = nil + r.GetMirrorURL() +} + +func TestRepository_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{Name: &zeroValue} + r.GetName() + r = &Repository{} + r.GetName() + r = nil + r.GetName() +} + +func TestRepository_GetNetworkCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &Repository{NetworkCount: &zeroValue} + r.GetNetworkCount() + r = &Repository{} + r.GetNetworkCount() + r = nil + r.GetNetworkCount() +} + +func TestRepository_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{NodeID: &zeroValue} + r.GetNodeID() + r = &Repository{} + r.GetNodeID() + r = nil + r.GetNodeID() +} + +func TestRepository_GetNotificationsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{NotificationsURL: &zeroValue} + r.GetNotificationsURL() + r = &Repository{} + r.GetNotificationsURL() + r = nil + r.GetNotificationsURL() +} + +func TestRepository_GetOpenIssues(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &Repository{OpenIssues: &zeroValue} + r.GetOpenIssues() + r = &Repository{} + r.GetOpenIssues() + r = nil + r.GetOpenIssues() +} + +func TestRepository_GetOpenIssuesCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &Repository{OpenIssuesCount: &zeroValue} + r.GetOpenIssuesCount() + r = &Repository{} + r.GetOpenIssuesCount() + r = nil + r.GetOpenIssuesCount() +} + +func TestRepository_GetOrganization(tt *testing.T) { + tt.Parallel() + r := &Repository{} + r.GetOrganization() + r = nil + r.GetOrganization() +} + +func TestRepository_GetOwner(tt *testing.T) { + tt.Parallel() + r := &Repository{} + r.GetOwner() + r = nil + r.GetOwner() +} + +func TestRepository_GetParent(tt *testing.T) { + tt.Parallel() + r := &Repository{} + r.GetParent() + r = nil + r.GetParent() +} + +func TestRepository_GetPermissions(tt *testing.T) { + tt.Parallel() + r := &Repository{} + r.GetPermissions() + r = nil + r.GetPermissions() +} + +func TestRepository_GetPrivate(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &Repository{Private: &zeroValue} + r.GetPrivate() + r = &Repository{} + r.GetPrivate() + r = nil + r.GetPrivate() +} + +func TestRepository_GetPullRequestCreationPolicy(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{PullRequestCreationPolicy: &zeroValue} + r.GetPullRequestCreationPolicy() + r = &Repository{} + r.GetPullRequestCreationPolicy() + r = nil + r.GetPullRequestCreationPolicy() +} + +func TestRepository_GetPullsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{PullsURL: &zeroValue} + r.GetPullsURL() + r = &Repository{} + r.GetPullsURL() + r = nil + r.GetPullsURL() +} + +func TestRepository_GetPushedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + r := &Repository{PushedAt: &zeroValue} + r.GetPushedAt() + r = &Repository{} + r.GetPushedAt() + r = nil + r.GetPushedAt() +} + +func TestRepository_GetReleasesURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{ReleasesURL: &zeroValue} + r.GetReleasesURL() + r = &Repository{} + r.GetReleasesURL() + r = nil + r.GetReleasesURL() +} + +func TestRepository_GetRoleName(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{RoleName: &zeroValue} + r.GetRoleName() + r = &Repository{} + r.GetRoleName() + r = nil + r.GetRoleName() +} + +func TestRepository_GetSecurityAndAnalysis(tt *testing.T) { + tt.Parallel() + r := &Repository{} + r.GetSecurityAndAnalysis() + r = nil + r.GetSecurityAndAnalysis() +} + +func TestRepository_GetSize(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &Repository{Size: &zeroValue} + r.GetSize() + r = &Repository{} + r.GetSize() + r = nil + r.GetSize() +} + +func TestRepository_GetSource(tt *testing.T) { + tt.Parallel() + r := &Repository{} + r.GetSource() + r = nil + r.GetSource() +} + +func TestRepository_GetSquashMergeCommitMessage(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{SquashMergeCommitMessage: &zeroValue} + r.GetSquashMergeCommitMessage() + r = &Repository{} + r.GetSquashMergeCommitMessage() + r = nil + r.GetSquashMergeCommitMessage() +} + +func TestRepository_GetSquashMergeCommitTitle(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{SquashMergeCommitTitle: &zeroValue} + r.GetSquashMergeCommitTitle() + r = &Repository{} + r.GetSquashMergeCommitTitle() + r = nil + r.GetSquashMergeCommitTitle() +} + +func TestRepository_GetSSHURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{SSHURL: &zeroValue} + r.GetSSHURL() + r = &Repository{} + r.GetSSHURL() + r = nil + r.GetSSHURL() +} + +func TestRepository_GetStargazersCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &Repository{StargazersCount: &zeroValue} + r.GetStargazersCount() + r = &Repository{} + r.GetStargazersCount() + r = nil + r.GetStargazersCount() +} + +func TestRepository_GetStargazersURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{StargazersURL: &zeroValue} + r.GetStargazersURL() + r = &Repository{} + r.GetStargazersURL() + r = nil + r.GetStargazersURL() +} + +func TestRepository_GetStatusesURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{StatusesURL: &zeroValue} + r.GetStatusesURL() + r = &Repository{} + r.GetStatusesURL() + r = nil + r.GetStatusesURL() +} + +func TestRepository_GetSubscribersCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &Repository{SubscribersCount: &zeroValue} + r.GetSubscribersCount() + r = &Repository{} + r.GetSubscribersCount() + r = nil + r.GetSubscribersCount() +} + +func TestRepository_GetSubscribersURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{SubscribersURL: &zeroValue} + r.GetSubscribersURL() + r = &Repository{} + r.GetSubscribersURL() + r = nil + r.GetSubscribersURL() +} + +func TestRepository_GetSubscriptionURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{SubscriptionURL: &zeroValue} + r.GetSubscriptionURL() + r = &Repository{} + r.GetSubscriptionURL() + r = nil + r.GetSubscriptionURL() +} + +func TestRepository_GetSVNURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{SVNURL: &zeroValue} + r.GetSVNURL() + r = &Repository{} + r.GetSVNURL() + r = nil + r.GetSVNURL() +} + +func TestRepository_GetTagsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{TagsURL: &zeroValue} + r.GetTagsURL() + r = &Repository{} + r.GetTagsURL() + r = nil + r.GetTagsURL() +} + +func TestRepository_GetTeamID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + r := &Repository{TeamID: &zeroValue} + r.GetTeamID() + r = &Repository{} + r.GetTeamID() + r = nil + r.GetTeamID() +} + +func TestRepository_GetTeamsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{TeamsURL: &zeroValue} + r.GetTeamsURL() + r = &Repository{} + r.GetTeamsURL() + r = nil + r.GetTeamsURL() +} + +func TestRepository_GetTemplateRepository(tt *testing.T) { + tt.Parallel() + r := &Repository{} + r.GetTemplateRepository() + r = nil + 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 + r := &Repository{TreesURL: &zeroValue} + r.GetTreesURL() + r = &Repository{} + r.GetTreesURL() + r = nil + r.GetTreesURL() +} + +func TestRepository_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + r := &Repository{UpdatedAt: &zeroValue} + r.GetUpdatedAt() + r = &Repository{} + r.GetUpdatedAt() + r = nil + r.GetUpdatedAt() +} + +func TestRepository_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{URL: &zeroValue} + r.GetURL() + r = &Repository{} + r.GetURL() + r = nil + r.GetURL() +} + +func TestRepository_GetUseSquashPRTitleAsDefault(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &Repository{UseSquashPRTitleAsDefault: &zeroValue} + r.GetUseSquashPRTitleAsDefault() + r = &Repository{} + r.GetUseSquashPRTitleAsDefault() + r = nil + r.GetUseSquashPRTitleAsDefault() +} + +func TestRepository_GetVisibility(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Repository{Visibility: &zeroValue} + r.GetVisibility() + r = &Repository{} + r.GetVisibility() + r = nil + r.GetVisibility() +} + +func TestRepository_GetWatchers(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &Repository{Watchers: &zeroValue} + r.GetWatchers() + r = &Repository{} + r.GetWatchers() + r = nil + r.GetWatchers() +} + +func TestRepository_GetWatchersCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &Repository{WatchersCount: &zeroValue} + r.GetWatchersCount() + r = &Repository{} + r.GetWatchersCount() + r = nil + r.GetWatchersCount() +} + +func TestRepository_GetWebCommitSignoffRequired(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &Repository{WebCommitSignoffRequired: &zeroValue} + r.GetWebCommitSignoffRequired() + r = &Repository{} + r.GetWebCommitSignoffRequired() + r = nil + r.GetWebCommitSignoffRequired() +} + +func TestRepositoryActionsAccessLevel_GetAccessLevel(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryActionsAccessLevel{AccessLevel: &zeroValue} + r.GetAccessLevel() + r = &RepositoryActionsAccessLevel{} + r.GetAccessLevel() + r = nil + 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{} + r.GetActor() + r = nil + 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 + r := &RepositoryActivity{Timestamp: &zeroValue} + r.GetTimestamp() + r = &RepositoryActivity{} + r.GetTimestamp() + r = nil + r.GetTimestamp() +} + +func TestRepositoryActor_GetAvatarURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryActor{AvatarURL: &zeroValue} + r.GetAvatarURL() + r = &RepositoryActor{} + r.GetAvatarURL() + r = nil + r.GetAvatarURL() +} + +func TestRepositoryActor_GetEventsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryActor{EventsURL: &zeroValue} + r.GetEventsURL() + r = &RepositoryActor{} + r.GetEventsURL() + r = nil + r.GetEventsURL() +} + +func TestRepositoryActor_GetFollowersURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryActor{FollowersURL: &zeroValue} + r.GetFollowersURL() + r = &RepositoryActor{} + r.GetFollowersURL() + r = nil + r.GetFollowersURL() +} + +func TestRepositoryActor_GetFollowingURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryActor{FollowingURL: &zeroValue} + r.GetFollowingURL() + r = &RepositoryActor{} + r.GetFollowingURL() + r = nil + r.GetFollowingURL() +} + +func TestRepositoryActor_GetGistsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryActor{GistsURL: &zeroValue} + r.GetGistsURL() + r = &RepositoryActor{} + r.GetGistsURL() + r = nil + r.GetGistsURL() +} + +func TestRepositoryActor_GetGravatarID(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryActor{GravatarID: &zeroValue} + r.GetGravatarID() + r = &RepositoryActor{} + r.GetGravatarID() + r = nil + r.GetGravatarID() +} + +func TestRepositoryActor_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryActor{HTMLURL: &zeroValue} + r.GetHTMLURL() + r = &RepositoryActor{} + r.GetHTMLURL() + r = nil + r.GetHTMLURL() +} + +func TestRepositoryActor_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + r := &RepositoryActor{ID: &zeroValue} + r.GetID() + r = &RepositoryActor{} + r.GetID() + r = nil + r.GetID() +} + +func TestRepositoryActor_GetLogin(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryActor{Login: &zeroValue} + r.GetLogin() + r = &RepositoryActor{} + r.GetLogin() + r = nil + r.GetLogin() +} + +func TestRepositoryActor_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryActor{NodeID: &zeroValue} + r.GetNodeID() + r = &RepositoryActor{} + r.GetNodeID() + r = nil + r.GetNodeID() +} + +func TestRepositoryActor_GetOrganizationsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryActor{OrganizationsURL: &zeroValue} + r.GetOrganizationsURL() + r = &RepositoryActor{} + r.GetOrganizationsURL() + r = nil + r.GetOrganizationsURL() +} + +func TestRepositoryActor_GetReceivedEventsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryActor{ReceivedEventsURL: &zeroValue} + r.GetReceivedEventsURL() + r = &RepositoryActor{} + r.GetReceivedEventsURL() + r = nil + r.GetReceivedEventsURL() +} + +func TestRepositoryActor_GetReposURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryActor{ReposURL: &zeroValue} + r.GetReposURL() + r = &RepositoryActor{} + r.GetReposURL() + r = nil + r.GetReposURL() +} + +func TestRepositoryActor_GetSiteAdmin(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &RepositoryActor{SiteAdmin: &zeroValue} + r.GetSiteAdmin() + r = &RepositoryActor{} + r.GetSiteAdmin() + r = nil + r.GetSiteAdmin() +} + +func TestRepositoryActor_GetStarredURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryActor{StarredURL: &zeroValue} + r.GetStarredURL() + r = &RepositoryActor{} + r.GetStarredURL() + r = nil + r.GetStarredURL() +} + +func TestRepositoryActor_GetSubscriptionsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryActor{SubscriptionsURL: &zeroValue} + r.GetSubscriptionsURL() + r = &RepositoryActor{} + r.GetSubscriptionsURL() + r = nil + r.GetSubscriptionsURL() +} + +func TestRepositoryActor_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryActor{Type: &zeroValue} + r.GetType() + r = &RepositoryActor{} + r.GetType() + r = nil + r.GetType() +} + +func TestRepositoryActor_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryActor{URL: &zeroValue} + r.GetURL() + r = &RepositoryActor{} + r.GetURL() + r = nil + r.GetURL() +} + +func TestRepositoryActor_GetUserViewType(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryActor{UserViewType: &zeroValue} + r.GetUserViewType() + r = &RepositoryActor{} + r.GetUserViewType() + r = nil + 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{} + r.GetRepository() + r = nil + r.GetRepository() +} + +func TestRepositoryAttachment_GetStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryAttachment{Status: &zeroValue} + r.GetStatus() + r = &RepositoryAttachment{} + r.GetStatus() + r = nil + r.GetStatus() +} + +func TestRepositoryCodeSecurityConfiguration_GetConfiguration(tt *testing.T) { + tt.Parallel() + r := &RepositoryCodeSecurityConfiguration{} + r.GetConfiguration() + r = nil + r.GetConfiguration() +} + +func TestRepositoryCodeSecurityConfiguration_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryCodeSecurityConfiguration{State: &zeroValue} + r.GetState() + r = &RepositoryCodeSecurityConfiguration{} + r.GetState() + r = nil + r.GetState() +} + +func TestRepositoryComment_GetAuthorAssociation(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryComment{AuthorAssociation: &zeroValue} + r.GetAuthorAssociation() + r = &RepositoryComment{} + r.GetAuthorAssociation() + r = nil + r.GetAuthorAssociation() +} + +func TestRepositoryComment_GetBody(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryComment{Body: &zeroValue} + r.GetBody() + r = &RepositoryComment{} + r.GetBody() + r = nil + r.GetBody() +} + +func TestRepositoryComment_GetCommitID(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryComment{CommitID: &zeroValue} + r.GetCommitID() + r = &RepositoryComment{} + r.GetCommitID() + r = nil + r.GetCommitID() +} + +func TestRepositoryComment_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + r := &RepositoryComment{CreatedAt: &zeroValue} + r.GetCreatedAt() + r = &RepositoryComment{} + r.GetCreatedAt() + r = nil + r.GetCreatedAt() +} + +func TestRepositoryComment_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryComment{HTMLURL: &zeroValue} + r.GetHTMLURL() + r = &RepositoryComment{} + r.GetHTMLURL() + r = nil + r.GetHTMLURL() +} + +func TestRepositoryComment_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + r := &RepositoryComment{ID: &zeroValue} + r.GetID() + r = &RepositoryComment{} + r.GetID() + r = nil + r.GetID() +} + +func TestRepositoryComment_GetLine(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &RepositoryComment{Line: &zeroValue} + r.GetLine() + r = &RepositoryComment{} + r.GetLine() + r = nil + r.GetLine() +} + +func TestRepositoryComment_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryComment{NodeID: &zeroValue} + r.GetNodeID() + r = &RepositoryComment{} + r.GetNodeID() + r = nil + r.GetNodeID() +} + +func TestRepositoryComment_GetPath(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryComment{Path: &zeroValue} + r.GetPath() + r = &RepositoryComment{} + r.GetPath() + r = nil + r.GetPath() +} + +func TestRepositoryComment_GetPosition(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &RepositoryComment{Position: &zeroValue} + r.GetPosition() + r = &RepositoryComment{} + r.GetPosition() + r = nil + r.GetPosition() +} + +func TestRepositoryComment_GetReactions(tt *testing.T) { + tt.Parallel() + r := &RepositoryComment{} + r.GetReactions() + r = nil + r.GetReactions() +} + +func TestRepositoryComment_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + r := &RepositoryComment{UpdatedAt: &zeroValue} + r.GetUpdatedAt() + r = &RepositoryComment{} + r.GetUpdatedAt() + r = nil + r.GetUpdatedAt() +} + +func TestRepositoryComment_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryComment{URL: &zeroValue} + r.GetURL() + r = &RepositoryComment{} + r.GetURL() + r = nil + r.GetURL() +} + +func TestRepositoryComment_GetUser(tt *testing.T) { + tt.Parallel() + r := &RepositoryComment{} + r.GetUser() + r = nil + r.GetUser() +} + +func TestRepositoryCommit_GetAuthor(tt *testing.T) { + tt.Parallel() + r := &RepositoryCommit{} + r.GetAuthor() + r = nil + r.GetAuthor() +} + +func TestRepositoryCommit_GetCommentsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryCommit{CommentsURL: &zeroValue} + r.GetCommentsURL() + r = &RepositoryCommit{} + r.GetCommentsURL() + r = nil + r.GetCommentsURL() +} + +func TestRepositoryCommit_GetCommit(tt *testing.T) { + tt.Parallel() + r := &RepositoryCommit{} + r.GetCommit() + r = nil + r.GetCommit() +} + +func TestRepositoryCommit_GetCommitter(tt *testing.T) { + tt.Parallel() + r := &RepositoryCommit{} + r.GetCommitter() + r = nil + 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 + r := &RepositoryCommit{HTMLURL: &zeroValue} + r.GetHTMLURL() + r = &RepositoryCommit{} + r.GetHTMLURL() + r = nil + r.GetHTMLURL() +} + +func TestRepositoryCommit_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryCommit{NodeID: &zeroValue} + r.GetNodeID() + r = &RepositoryCommit{} + r.GetNodeID() + r = nil + 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 + r := &RepositoryCommit{SHA: &zeroValue} + r.GetSHA() + r = &RepositoryCommit{} + r.GetSHA() + r = nil + r.GetSHA() +} + +func TestRepositoryCommit_GetStats(tt *testing.T) { + tt.Parallel() + r := &RepositoryCommit{} + r.GetStats() + r = nil + r.GetStats() +} + +func TestRepositoryCommit_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryCommit{URL: &zeroValue} + r.GetURL() + r = &RepositoryCommit{} + r.GetURL() + r = nil + r.GetURL() +} + +func TestRepositoryContent_GetDownloadURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryContent{DownloadURL: &zeroValue} + r.GetDownloadURL() + r = &RepositoryContent{} + r.GetDownloadURL() + r = nil + r.GetDownloadURL() +} + +func TestRepositoryContent_GetEncoding(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryContent{Encoding: &zeroValue} + r.GetEncoding() + r = &RepositoryContent{} + r.GetEncoding() + r = nil + r.GetEncoding() +} + +func TestRepositoryContent_GetGitURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryContent{GitURL: &zeroValue} + r.GetGitURL() + r = &RepositoryContent{} + r.GetGitURL() + r = nil + r.GetGitURL() +} + +func TestRepositoryContent_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryContent{HTMLURL: &zeroValue} + r.GetHTMLURL() + r = &RepositoryContent{} + r.GetHTMLURL() + r = nil + r.GetHTMLURL() +} + +func TestRepositoryContent_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryContent{Name: &zeroValue} + r.GetName() + r = &RepositoryContent{} + r.GetName() + r = nil + r.GetName() +} + +func TestRepositoryContent_GetPath(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryContent{Path: &zeroValue} + r.GetPath() + r = &RepositoryContent{} + r.GetPath() + r = nil + r.GetPath() +} + +func TestRepositoryContent_GetSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryContent{SHA: &zeroValue} + r.GetSHA() + r = &RepositoryContent{} + r.GetSHA() + r = nil + r.GetSHA() +} + +func TestRepositoryContent_GetSize(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &RepositoryContent{Size: &zeroValue} + r.GetSize() + r = &RepositoryContent{} + r.GetSize() + r = nil + r.GetSize() +} + +func TestRepositoryContent_GetSubmoduleGitURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryContent{SubmoduleGitURL: &zeroValue} + r.GetSubmoduleGitURL() + r = &RepositoryContent{} + r.GetSubmoduleGitURL() + r = nil + r.GetSubmoduleGitURL() +} + +func TestRepositoryContent_GetTarget(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryContent{Target: &zeroValue} + r.GetTarget() + r = &RepositoryContent{} + r.GetTarget() + r = nil + r.GetTarget() +} + +func TestRepositoryContent_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryContent{Type: &zeroValue} + r.GetType() + r = &RepositoryContent{} + r.GetType() + r = nil + r.GetType() +} + +func TestRepositoryContent_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryContent{URL: &zeroValue} + r.GetURL() + r = &RepositoryContent{} + r.GetURL() + r = nil + r.GetURL() +} + +func TestRepositoryContentFileOptions_GetAuthor(tt *testing.T) { + tt.Parallel() + r := &RepositoryContentFileOptions{} + r.GetAuthor() + r = nil + r.GetAuthor() +} + +func TestRepositoryContentFileOptions_GetBranch(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryContentFileOptions{Branch: &zeroValue} + r.GetBranch() + r = &RepositoryContentFileOptions{} + r.GetBranch() + r = nil + r.GetBranch() +} + +func TestRepositoryContentFileOptions_GetCommitter(tt *testing.T) { + tt.Parallel() + r := &RepositoryContentFileOptions{} + r.GetCommitter() + r = nil + 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 + r := &RepositoryContentFileOptions{Message: &zeroValue} + r.GetMessage() + r = &RepositoryContentFileOptions{} + r.GetMessage() + r = nil + r.GetMessage() +} + +func TestRepositoryContentFileOptions_GetSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryContentFileOptions{SHA: &zeroValue} + r.GetSHA() + r = &RepositoryContentFileOptions{} + r.GetSHA() + r = nil + 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{} + r.GetContent() + r = nil + 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 + r := &RepositoryDispatchEvent{Action: &zeroValue} + r.GetAction() + r = &RepositoryDispatchEvent{} + r.GetAction() + r = nil + r.GetAction() +} + +func TestRepositoryDispatchEvent_GetBranch(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryDispatchEvent{Branch: &zeroValue} + r.GetBranch() + r = &RepositoryDispatchEvent{} + r.GetBranch() + r = nil + 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{} + r.GetInstallation() + r = nil + r.GetInstallation() +} + +func TestRepositoryDispatchEvent_GetOrg(tt *testing.T) { + tt.Parallel() + r := &RepositoryDispatchEvent{} + r.GetOrg() + r = nil + r.GetOrg() +} + +func TestRepositoryDispatchEvent_GetRepo(tt *testing.T) { + tt.Parallel() + r := &RepositoryDispatchEvent{} + r.GetRepo() + r = nil + r.GetRepo() +} + +func TestRepositoryDispatchEvent_GetSender(tt *testing.T) { + tt.Parallel() + r := &RepositoryDispatchEvent{} + r.GetSender() + r = nil + r.GetSender() +} + +func TestRepositoryEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryEvent{Action: &zeroValue} + r.GetAction() + r = &RepositoryEvent{} + r.GetAction() + r = nil + r.GetAction() +} + +func TestRepositoryEvent_GetChanges(tt *testing.T) { + tt.Parallel() + r := &RepositoryEvent{} + r.GetChanges() + r = nil + r.GetChanges() +} + +func TestRepositoryEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + r := &RepositoryEvent{} + r.GetInstallation() + r = nil + r.GetInstallation() +} + +func TestRepositoryEvent_GetOrg(tt *testing.T) { + tt.Parallel() + r := &RepositoryEvent{} + r.GetOrg() + r = nil + r.GetOrg() +} + +func TestRepositoryEvent_GetRepo(tt *testing.T) { + tt.Parallel() + r := &RepositoryEvent{} + r.GetRepo() + r = nil + r.GetRepo() +} + +func TestRepositoryEvent_GetSender(tt *testing.T) { + tt.Parallel() + r := &RepositoryEvent{} + r.GetSender() + r = nil + r.GetSender() +} + +func TestRepositoryImportEvent_GetOrg(tt *testing.T) { + tt.Parallel() + r := &RepositoryImportEvent{} + r.GetOrg() + r = nil + r.GetOrg() +} + +func TestRepositoryImportEvent_GetRepo(tt *testing.T) { + tt.Parallel() + r := &RepositoryImportEvent{} + r.GetRepo() + r = nil + r.GetRepo() +} + +func TestRepositoryImportEvent_GetSender(tt *testing.T) { + tt.Parallel() + r := &RepositoryImportEvent{} + r.GetSender() + r = nil + r.GetSender() +} + +func TestRepositoryImportEvent_GetStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryImportEvent{Status: &zeroValue} + r.GetStatus() + r = &RepositoryImportEvent{} + r.GetStatus() + r = nil + r.GetStatus() +} + +func TestRepositoryInvitation_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + r := &RepositoryInvitation{CreatedAt: &zeroValue} + r.GetCreatedAt() + r = &RepositoryInvitation{} + r.GetCreatedAt() + r = nil + r.GetCreatedAt() +} + +func TestRepositoryInvitation_GetExpired(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &RepositoryInvitation{Expired: &zeroValue} + r.GetExpired() + r = &RepositoryInvitation{} + r.GetExpired() + r = nil + r.GetExpired() +} + +func TestRepositoryInvitation_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryInvitation{HTMLURL: &zeroValue} + r.GetHTMLURL() + r = &RepositoryInvitation{} + r.GetHTMLURL() + r = nil + r.GetHTMLURL() +} + +func TestRepositoryInvitation_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + r := &RepositoryInvitation{ID: &zeroValue} + r.GetID() + r = &RepositoryInvitation{} + r.GetID() + r = nil + r.GetID() +} + +func TestRepositoryInvitation_GetInvitee(tt *testing.T) { + tt.Parallel() + r := &RepositoryInvitation{} + r.GetInvitee() + r = nil + r.GetInvitee() +} + +func TestRepositoryInvitation_GetInviter(tt *testing.T) { + tt.Parallel() + r := &RepositoryInvitation{} + r.GetInviter() + r = nil + r.GetInviter() +} + +func TestRepositoryInvitation_GetPermissions(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryInvitation{Permissions: &zeroValue} + r.GetPermissions() + r = &RepositoryInvitation{} + r.GetPermissions() + r = nil + r.GetPermissions() +} + +func TestRepositoryInvitation_GetRepo(tt *testing.T) { + tt.Parallel() + r := &RepositoryInvitation{} + r.GetRepo() + r = nil + r.GetRepo() +} + +func TestRepositoryInvitation_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryInvitation{URL: &zeroValue} + r.GetURL() + r = &RepositoryInvitation{} + r.GetURL() + r = nil + r.GetURL() +} + +func TestRepositoryLicense_GetContent(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryLicense{Content: &zeroValue} + r.GetContent() + r = &RepositoryLicense{} + r.GetContent() + r = nil + r.GetContent() +} + +func TestRepositoryLicense_GetDownloadURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryLicense{DownloadURL: &zeroValue} + r.GetDownloadURL() + r = &RepositoryLicense{} + r.GetDownloadURL() + r = nil + r.GetDownloadURL() +} + +func TestRepositoryLicense_GetEncoding(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryLicense{Encoding: &zeroValue} + r.GetEncoding() + r = &RepositoryLicense{} + r.GetEncoding() + r = nil + r.GetEncoding() +} + +func TestRepositoryLicense_GetGitURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryLicense{GitURL: &zeroValue} + r.GetGitURL() + r = &RepositoryLicense{} + r.GetGitURL() + r = nil + r.GetGitURL() +} + +func TestRepositoryLicense_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryLicense{HTMLURL: &zeroValue} + r.GetHTMLURL() + r = &RepositoryLicense{} + r.GetHTMLURL() + r = nil + r.GetHTMLURL() +} + +func TestRepositoryLicense_GetLicense(tt *testing.T) { + tt.Parallel() + r := &RepositoryLicense{} + r.GetLicense() + r = nil + r.GetLicense() +} + +func TestRepositoryLicense_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryLicense{Name: &zeroValue} + r.GetName() + r = &RepositoryLicense{} + r.GetName() + r = nil + r.GetName() +} + +func TestRepositoryLicense_GetPath(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryLicense{Path: &zeroValue} + r.GetPath() + r = &RepositoryLicense{} + r.GetPath() + r = nil + r.GetPath() +} + +func TestRepositoryLicense_GetSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryLicense{SHA: &zeroValue} + r.GetSHA() + r = &RepositoryLicense{} + r.GetSHA() + r = nil + r.GetSHA() +} + +func TestRepositoryLicense_GetSize(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &RepositoryLicense{Size: &zeroValue} + r.GetSize() + r = &RepositoryLicense{} + r.GetSize() + r = nil + r.GetSize() +} + +func TestRepositoryLicense_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryLicense{Type: &zeroValue} + r.GetType() + r = &RepositoryLicense{} + r.GetType() + r = nil + r.GetType() +} + +func TestRepositoryLicense_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryLicense{URL: &zeroValue} + r.GetURL() + r = &RepositoryLicense{} + r.GetURL() + r = nil + 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 + r := &RepositoryListRulesetsOptions{IncludesParents: &zeroValue} + r.GetIncludesParents() + r = &RepositoryListRulesetsOptions{} + r.GetIncludesParents() + r = nil + r.GetIncludesParents() +} + +func TestRepositoryMergeRequest_GetBase(tt *testing.T) { + tt.Parallel() + r := &RepositoryMergeRequest{} + r.GetBase() + r = nil + r.GetBase() +} + +func TestRepositoryMergeRequest_GetCommitMessage(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryMergeRequest{CommitMessage: &zeroValue} + r.GetCommitMessage() + r = &RepositoryMergeRequest{} + r.GetCommitMessage() + r = nil + r.GetCommitMessage() +} + +func TestRepositoryMergeRequest_GetHead(tt *testing.T) { + tt.Parallel() + r := &RepositoryMergeRequest{} + r.GetHead() + r = nil + 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 + r := &RepositoryPermissionLevel{Permission: &zeroValue} + r.GetPermission() + r = &RepositoryPermissionLevel{} + r.GetPermission() + r = nil + r.GetPermission() +} + +func TestRepositoryPermissionLevel_GetRoleName(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryPermissionLevel{RoleName: &zeroValue} + r.GetRoleName() + r = &RepositoryPermissionLevel{} + r.GetRoleName() + r = nil + r.GetRoleName() +} + +func TestRepositoryPermissionLevel_GetUser(tt *testing.T) { + tt.Parallel() + r := &RepositoryPermissionLevel{} + r.GetUser() + r = nil + r.GetUser() +} + +func TestRepositoryPermissions_GetAdmin(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &RepositoryPermissions{Admin: &zeroValue} + r.GetAdmin() + r = &RepositoryPermissions{} + r.GetAdmin() + r = nil + r.GetAdmin() +} + +func TestRepositoryPermissions_GetMaintain(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &RepositoryPermissions{Maintain: &zeroValue} + r.GetMaintain() + r = &RepositoryPermissions{} + r.GetMaintain() + r = nil + r.GetMaintain() +} + +func TestRepositoryPermissions_GetPull(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &RepositoryPermissions{Pull: &zeroValue} + r.GetPull() + r = &RepositoryPermissions{} + r.GetPull() + r = nil + r.GetPull() +} + +func TestRepositoryPermissions_GetPush(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &RepositoryPermissions{Push: &zeroValue} + r.GetPush() + r = &RepositoryPermissions{} + r.GetPush() + r = nil + r.GetPush() +} + +func TestRepositoryPermissions_GetTriage(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &RepositoryPermissions{Triage: &zeroValue} + r.GetTriage() + r = &RepositoryPermissions{} + r.GetTriage() + r = nil + 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() + r := &RepositoryRelease{} + r.GetAssetsURL() + r = nil + r.GetAssetsURL() +} + +func TestRepositoryRelease_GetAuthor(tt *testing.T) { + tt.Parallel() + r := &RepositoryRelease{} + r.GetAuthor() + r = nil + r.GetAuthor() +} + +func TestRepositoryRelease_GetBody(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryRelease{Body: &zeroValue} + r.GetBody() + r = &RepositoryRelease{} + r.GetBody() + r = nil + r.GetBody() +} + +func TestRepositoryRelease_GetBodyHTML(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryRelease{BodyHTML: &zeroValue} + r.GetBodyHTML() + r = &RepositoryRelease{} + r.GetBodyHTML() + r = nil + r.GetBodyHTML() +} + +func TestRepositoryRelease_GetBodyText(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryRelease{BodyText: &zeroValue} + r.GetBodyText() + r = &RepositoryRelease{} + r.GetBodyText() + r = nil + r.GetBodyText() +} + +func TestRepositoryRelease_GetCreatedAt(tt *testing.T) { + tt.Parallel() + r := &RepositoryRelease{} + r.GetCreatedAt() + r = nil + r.GetCreatedAt() +} + +func TestRepositoryRelease_GetDiscussionURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryRelease{DiscussionURL: &zeroValue} + r.GetDiscussionURL() + r = &RepositoryRelease{} + r.GetDiscussionURL() + r = nil + r.GetDiscussionURL() +} + +func TestRepositoryRelease_GetDraft(tt *testing.T) { + tt.Parallel() + r := &RepositoryRelease{} + r.GetDraft() + r = nil + r.GetDraft() +} + +func TestRepositoryRelease_GetHTMLURL(tt *testing.T) { + tt.Parallel() + r := &RepositoryRelease{} + r.GetHTMLURL() + r = nil + r.GetHTMLURL() +} + +func TestRepositoryRelease_GetID(tt *testing.T) { + tt.Parallel() + r := &RepositoryRelease{} + r.GetID() + r = nil + r.GetID() +} + +func TestRepositoryRelease_GetImmutable(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &RepositoryRelease{Immutable: &zeroValue} + r.GetImmutable() + r = &RepositoryRelease{} + r.GetImmutable() + r = nil + r.GetImmutable() +} + +func TestRepositoryRelease_GetMentionsCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &RepositoryRelease{MentionsCount: &zeroValue} + r.GetMentionsCount() + r = &RepositoryRelease{} + r.GetMentionsCount() + r = nil + r.GetMentionsCount() +} + +func TestRepositoryRelease_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryRelease{Name: &zeroValue} + r.GetName() + r = &RepositoryRelease{} + r.GetName() + r = nil + r.GetName() +} + +func TestRepositoryRelease_GetNodeID(tt *testing.T) { + tt.Parallel() + r := &RepositoryRelease{} + r.GetNodeID() + r = nil + r.GetNodeID() +} + +func TestRepositoryRelease_GetPrerelease(tt *testing.T) { + tt.Parallel() + r := &RepositoryRelease{} + r.GetPrerelease() + r = nil + r.GetPrerelease() +} + +func TestRepositoryRelease_GetPublishedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + r := &RepositoryRelease{PublishedAt: &zeroValue} + r.GetPublishedAt() + r = &RepositoryRelease{} + r.GetPublishedAt() + r = nil + r.GetPublishedAt() +} + +func TestRepositoryRelease_GetReactions(tt *testing.T) { + tt.Parallel() + r := &RepositoryRelease{} + r.GetReactions() + r = nil + r.GetReactions() +} + +func TestRepositoryRelease_GetTagName(tt *testing.T) { + tt.Parallel() + r := &RepositoryRelease{} + r.GetTagName() + r = nil + r.GetTagName() +} + +func TestRepositoryRelease_GetTarballURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryRelease{TarballURL: &zeroValue} + r.GetTarballURL() + r = &RepositoryRelease{} + r.GetTarballURL() + r = nil + r.GetTarballURL() +} + +func TestRepositoryRelease_GetTargetCommitish(tt *testing.T) { + tt.Parallel() + r := &RepositoryRelease{} + r.GetTargetCommitish() + r = nil + r.GetTargetCommitish() +} + +func TestRepositoryRelease_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + r := &RepositoryRelease{UpdatedAt: &zeroValue} + r.GetUpdatedAt() + r = &RepositoryRelease{} + r.GetUpdatedAt() + r = nil + r.GetUpdatedAt() +} + +func TestRepositoryRelease_GetUploadURL(tt *testing.T) { + tt.Parallel() + r := &RepositoryRelease{} + r.GetUploadURL() + r = nil + r.GetUploadURL() +} + +func TestRepositoryRelease_GetURL(tt *testing.T) { + tt.Parallel() + r := &RepositoryRelease{} + r.GetURL() + r = nil + r.GetURL() +} + +func TestRepositoryRelease_GetZipballURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryRelease{ZipballURL: &zeroValue} + r.GetZipballURL() + r = &RepositoryRelease{} + r.GetZipballURL() + r = nil + 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{} + r.GetConditions() + r = nil + r.GetConditions() +} + +func TestRepositoryRuleset_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + r := &RepositoryRuleset{CreatedAt: &zeroValue} + r.GetCreatedAt() + r = &RepositoryRuleset{} + r.GetCreatedAt() + r = nil + r.GetCreatedAt() +} + +func TestRepositoryRuleset_GetCurrentUserCanBypass(tt *testing.T) { + tt.Parallel() + r := &RepositoryRuleset{} + r.GetCurrentUserCanBypass() + r = nil + 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 + r := &RepositoryRuleset{ID: &zeroValue} + r.GetID() + r = &RepositoryRuleset{} + r.GetID() + r = nil + r.GetID() +} + +func TestRepositoryRuleset_GetLinks(tt *testing.T) { + tt.Parallel() + r := &RepositoryRuleset{} + r.GetLinks() + r = nil + 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 + r := &RepositoryRuleset{NodeID: &zeroValue} + r.GetNodeID() + r = &RepositoryRuleset{} + r.GetNodeID() + r = nil + r.GetNodeID() +} + +func TestRepositoryRuleset_GetRules(tt *testing.T) { + tt.Parallel() + r := &RepositoryRuleset{} + r.GetRules() + r = nil + 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{} + r.GetSourceType() + r = nil + r.GetSourceType() +} + +func TestRepositoryRuleset_GetTarget(tt *testing.T) { + tt.Parallel() + r := &RepositoryRuleset{} + r.GetTarget() + r = nil + r.GetTarget() +} + +func TestRepositoryRuleset_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + r := &RepositoryRuleset{UpdatedAt: &zeroValue} + r.GetUpdatedAt() + r = &RepositoryRuleset{} + r.GetUpdatedAt() + r = nil + 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{} + r.GetConfiguration() + r = nil + r.GetConfiguration() +} + +func TestRepositoryRulesetChangedRule_GetPattern(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetChangedRule{} + r.GetPattern() + r = nil + r.GetPattern() +} + +func TestRepositoryRulesetChangedRule_GetRuleType(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetChangedRule{} + r.GetRuleType() + r = nil + 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{} + r.GetConditions() + r = nil + r.GetConditions() +} + +func TestRepositoryRulesetChanges_GetEnforcement(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetChanges{} + r.GetEnforcement() + r = nil + r.GetEnforcement() +} + +func TestRepositoryRulesetChanges_GetName(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetChanges{} + r.GetName() + r = nil + r.GetName() +} + +func TestRepositoryRulesetChanges_GetRules(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetChanges{} + r.GetRules() + r = nil + r.GetRules() +} + +func TestRepositoryRulesetChangeSource_GetFrom(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryRulesetChangeSource{From: &zeroValue} + r.GetFrom() + r = &RepositoryRulesetChangeSource{} + r.GetFrom() + r = nil + 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{} + r.GetOrganizationID() + r = nil + r.GetOrganizationID() +} + +func TestRepositoryRulesetConditions_GetOrganizationName(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetConditions{} + r.GetOrganizationName() + r = nil + r.GetOrganizationName() +} + +func TestRepositoryRulesetConditions_GetOrganizationProperty(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetConditions{} + r.GetOrganizationProperty() + r = nil + r.GetOrganizationProperty() +} + +func TestRepositoryRulesetConditions_GetRefName(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetConditions{} + r.GetRefName() + r = nil + r.GetRefName() +} + +func TestRepositoryRulesetConditions_GetRepositoryID(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetConditions{} + r.GetRepositoryID() + r = nil + r.GetRepositoryID() +} + +func TestRepositoryRulesetConditions_GetRepositoryName(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetConditions{} + r.GetRepositoryName() + r = nil + r.GetRepositoryName() +} + +func TestRepositoryRulesetConditions_GetRepositoryProperty(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetConditions{} + r.GetRepositoryProperty() + r = nil + r.GetRepositoryProperty() +} + +func TestRepositoryRulesetEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryRulesetEvent{Action: &zeroValue} + r.GetAction() + r = &RepositoryRulesetEvent{} + r.GetAction() + r = nil + r.GetAction() +} + +func TestRepositoryRulesetEvent_GetChanges(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetEvent{} + r.GetChanges() + r = nil + r.GetChanges() +} + +func TestRepositoryRulesetEvent_GetEnterprise(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetEvent{} + r.GetEnterprise() + r = nil + r.GetEnterprise() +} + +func TestRepositoryRulesetEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetEvent{} + r.GetInstallation() + r = nil + r.GetInstallation() +} + +func TestRepositoryRulesetEvent_GetOrganization(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetEvent{} + r.GetOrganization() + r = nil + r.GetOrganization() +} + +func TestRepositoryRulesetEvent_GetRepository(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetEvent{} + r.GetRepository() + r = nil + r.GetRepository() +} + +func TestRepositoryRulesetEvent_GetRepositoryRuleset(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetEvent{} + r.GetRepositoryRuleset() + r = nil + r.GetRepositoryRuleset() +} + +func TestRepositoryRulesetEvent_GetSender(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetEvent{} + r.GetSender() + r = nil + r.GetSender() +} + +func TestRepositoryRulesetLink_GetHRef(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryRulesetLink{HRef: &zeroValue} + r.GetHRef() + r = &RepositoryRulesetLink{} + r.GetHRef() + r = nil + r.GetHRef() +} + +func TestRepositoryRulesetLinks_GetHTML(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetLinks{} + r.GetHTML() + r = nil + r.GetHTML() +} + +func TestRepositoryRulesetLinks_GetSelf(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetLinks{} + r.GetSelf() + r = nil + 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 + r := &RepositoryRulesetRepositoryNamesConditionParameters{Protected: &zeroValue} + r.GetProtected() + r = &RepositoryRulesetRepositoryNamesConditionParameters{} + r.GetProtected() + r = nil + 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 + r := &RepositoryRulesetRepositoryPropertyTargetParameters{Source: &zeroValue} + r.GetSource() + r = &RepositoryRulesetRepositoryPropertyTargetParameters{} + r.GetSource() + r = nil + r.GetSource() +} + +func TestRepositoryRulesetRules_GetBranchNamePattern(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetBranchNamePattern() + r = nil + r.GetBranchNamePattern() +} + +func TestRepositoryRulesetRules_GetCodeScanning(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetCodeScanning() + r = nil + r.GetCodeScanning() +} + +func TestRepositoryRulesetRules_GetCommitAuthorEmailPattern(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetCommitAuthorEmailPattern() + r = nil + r.GetCommitAuthorEmailPattern() +} + +func TestRepositoryRulesetRules_GetCommitMessagePattern(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetCommitMessagePattern() + r = nil + r.GetCommitMessagePattern() +} + +func TestRepositoryRulesetRules_GetCommitterEmailPattern(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetCommitterEmailPattern() + r = nil + r.GetCommitterEmailPattern() +} + +func TestRepositoryRulesetRules_GetCopilotCodeReview(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetCopilotCodeReview() + r = nil + r.GetCopilotCodeReview() +} + +func TestRepositoryRulesetRules_GetCreation(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetCreation() + r = nil + r.GetCreation() +} + +func TestRepositoryRulesetRules_GetDeletion(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetDeletion() + r = nil + r.GetDeletion() +} + +func TestRepositoryRulesetRules_GetFileExtensionRestriction(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetFileExtensionRestriction() + r = nil + r.GetFileExtensionRestriction() +} + +func TestRepositoryRulesetRules_GetFilePathRestriction(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetFilePathRestriction() + r = nil + r.GetFilePathRestriction() +} + +func TestRepositoryRulesetRules_GetMaxFilePathLength(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetMaxFilePathLength() + r = nil + r.GetMaxFilePathLength() +} + +func TestRepositoryRulesetRules_GetMaxFileSize(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetMaxFileSize() + r = nil + r.GetMaxFileSize() +} + +func TestRepositoryRulesetRules_GetMergeQueue(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetMergeQueue() + r = nil + r.GetMergeQueue() +} + +func TestRepositoryRulesetRules_GetNonFastForward(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetNonFastForward() + r = nil + r.GetNonFastForward() +} + +func TestRepositoryRulesetRules_GetPullRequest(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetPullRequest() + r = nil + r.GetPullRequest() +} + +func TestRepositoryRulesetRules_GetRepositoryCreate(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetRepositoryCreate() + r = nil + r.GetRepositoryCreate() +} + +func TestRepositoryRulesetRules_GetRepositoryDelete(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetRepositoryDelete() + r = nil + r.GetRepositoryDelete() +} + +func TestRepositoryRulesetRules_GetRepositoryName(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetRepositoryName() + r = nil + r.GetRepositoryName() +} + +func TestRepositoryRulesetRules_GetRepositoryTransfer(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetRepositoryTransfer() + r = nil + r.GetRepositoryTransfer() +} + +func TestRepositoryRulesetRules_GetRepositoryVisibility(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetRepositoryVisibility() + r = nil + r.GetRepositoryVisibility() +} + +func TestRepositoryRulesetRules_GetRequiredDeployments(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetRequiredDeployments() + r = nil + r.GetRequiredDeployments() +} + +func TestRepositoryRulesetRules_GetRequiredLinearHistory(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetRequiredLinearHistory() + r = nil + r.GetRequiredLinearHistory() +} + +func TestRepositoryRulesetRules_GetRequiredSignatures(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetRequiredSignatures() + r = nil + r.GetRequiredSignatures() +} + +func TestRepositoryRulesetRules_GetRequiredStatusChecks(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetRequiredStatusChecks() + r = nil + r.GetRequiredStatusChecks() +} + +func TestRepositoryRulesetRules_GetTagNamePattern(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetTagNamePattern() + r = nil + r.GetTagNamePattern() +} + +func TestRepositoryRulesetRules_GetUpdate(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetUpdate() + r = nil + r.GetUpdate() +} + +func TestRepositoryRulesetRules_GetWorkflows(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRules{} + r.GetWorkflows() + r = nil + r.GetWorkflows() +} + +func TestRepositoryRulesetUpdatedCondition_GetConditionType(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetUpdatedCondition{} + r.GetConditionType() + r = nil + r.GetConditionType() +} + +func TestRepositoryRulesetUpdatedCondition_GetExclude(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetUpdatedCondition{} + r.GetExclude() + r = nil + r.GetExclude() +} + +func TestRepositoryRulesetUpdatedCondition_GetInclude(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetUpdatedCondition{} + r.GetInclude() + r = nil + r.GetInclude() +} + +func TestRepositoryRulesetUpdatedCondition_GetTarget(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetUpdatedCondition{} + r.GetTarget() + r = nil + r.GetTarget() +} + +func TestRepositoryRulesetUpdatedConditions_GetChanges(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetUpdatedConditions{} + r.GetChanges() + r = nil + r.GetChanges() +} + +func TestRepositoryRulesetUpdatedConditions_GetCondition(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetUpdatedConditions{} + r.GetCondition() + r = nil + r.GetCondition() +} + +func TestRepositoryRulesetUpdatedRules_GetChanges(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetUpdatedRules{} + r.GetChanges() + r = nil + r.GetChanges() +} + +func TestRepositoryRulesetUpdatedRules_GetRule(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetUpdatedRules{} + r.GetRule() + r = nil + r.GetRule() +} + +func TestRepositoryTag_GetCommit(tt *testing.T) { + tt.Parallel() + r := &RepositoryTag{} + r.GetCommit() + r = nil + r.GetCommit() +} + +func TestRepositoryTag_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryTag{Name: &zeroValue} + r.GetName() + r = &RepositoryTag{} + r.GetName() + r = nil + r.GetName() +} + +func TestRepositoryTag_GetTarballURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryTag{TarballURL: &zeroValue} + r.GetTarballURL() + r = &RepositoryTag{} + r.GetTarballURL() + r = nil + r.GetTarballURL() +} + +func TestRepositoryTag_GetZipballURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryTag{ZipballURL: &zeroValue} + r.GetZipballURL() + r = &RepositoryTag{} + r.GetZipballURL() + r = nil + 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 TestRepositoryVisibilityRuleParameters_GetPublic(tt *testing.T) { + tt.Parallel() + r := &RepositoryVisibilityRuleParameters{} + r.GetPublic() + r = nil + r.GetPublic() +} + +func TestRepositoryVulnerabilityAlert_GetAffectedPackageName(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryVulnerabilityAlert{AffectedPackageName: &zeroValue} + r.GetAffectedPackageName() + r = &RepositoryVulnerabilityAlert{} + r.GetAffectedPackageName() + r = nil + r.GetAffectedPackageName() +} + +func TestRepositoryVulnerabilityAlert_GetAffectedRange(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryVulnerabilityAlert{AffectedRange: &zeroValue} + r.GetAffectedRange() + r = &RepositoryVulnerabilityAlert{} + r.GetAffectedRange() + r = nil + r.GetAffectedRange() +} + +func TestRepositoryVulnerabilityAlert_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + r := &RepositoryVulnerabilityAlert{CreatedAt: &zeroValue} + r.GetCreatedAt() + r = &RepositoryVulnerabilityAlert{} + r.GetCreatedAt() + r = nil + r.GetCreatedAt() +} + +func TestRepositoryVulnerabilityAlert_GetDismissedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + r := &RepositoryVulnerabilityAlert{DismissedAt: &zeroValue} + r.GetDismissedAt() + r = &RepositoryVulnerabilityAlert{} + r.GetDismissedAt() + r = nil + r.GetDismissedAt() +} + +func TestRepositoryVulnerabilityAlert_GetDismisser(tt *testing.T) { + tt.Parallel() + r := &RepositoryVulnerabilityAlert{} + r.GetDismisser() + r = nil + r.GetDismisser() +} + +func TestRepositoryVulnerabilityAlert_GetDismissReason(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryVulnerabilityAlert{DismissReason: &zeroValue} + r.GetDismissReason() + r = &RepositoryVulnerabilityAlert{} + r.GetDismissReason() + r = nil + r.GetDismissReason() +} + +func TestRepositoryVulnerabilityAlert_GetExternalIdentifier(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryVulnerabilityAlert{ExternalIdentifier: &zeroValue} + r.GetExternalIdentifier() + r = &RepositoryVulnerabilityAlert{} + r.GetExternalIdentifier() + r = nil + r.GetExternalIdentifier() +} + +func TestRepositoryVulnerabilityAlert_GetExternalReference(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryVulnerabilityAlert{ExternalReference: &zeroValue} + r.GetExternalReference() + r = &RepositoryVulnerabilityAlert{} + r.GetExternalReference() + r = nil + r.GetExternalReference() +} + +func TestRepositoryVulnerabilityAlert_GetFixedIn(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryVulnerabilityAlert{FixedIn: &zeroValue} + r.GetFixedIn() + r = &RepositoryVulnerabilityAlert{} + r.GetFixedIn() + r = nil + r.GetFixedIn() +} + +func TestRepositoryVulnerabilityAlert_GetGitHubSecurityAdvisoryID(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryVulnerabilityAlert{GitHubSecurityAdvisoryID: &zeroValue} + r.GetGitHubSecurityAdvisoryID() + r = &RepositoryVulnerabilityAlert{} + r.GetGitHubSecurityAdvisoryID() + r = nil + r.GetGitHubSecurityAdvisoryID() +} + +func TestRepositoryVulnerabilityAlert_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + r := &RepositoryVulnerabilityAlert{ID: &zeroValue} + r.GetID() + r = &RepositoryVulnerabilityAlert{} + r.GetID() + r = nil + r.GetID() +} + +func TestRepositoryVulnerabilityAlert_GetSeverity(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryVulnerabilityAlert{Severity: &zeroValue} + r.GetSeverity() + r = &RepositoryVulnerabilityAlert{} + r.GetSeverity() + r = nil + r.GetSeverity() +} + +func TestRepositoryVulnerabilityAlertEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepositoryVulnerabilityAlertEvent{Action: &zeroValue} + r.GetAction() + r = &RepositoryVulnerabilityAlertEvent{} + r.GetAction() + r = nil + r.GetAction() +} + +func TestRepositoryVulnerabilityAlertEvent_GetAlert(tt *testing.T) { + tt.Parallel() + r := &RepositoryVulnerabilityAlertEvent{} + r.GetAlert() + r = nil + r.GetAlert() +} + +func TestRepositoryVulnerabilityAlertEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + r := &RepositoryVulnerabilityAlertEvent{} + r.GetInstallation() + r = nil + r.GetInstallation() +} + +func TestRepositoryVulnerabilityAlertEvent_GetOrg(tt *testing.T) { + tt.Parallel() + r := &RepositoryVulnerabilityAlertEvent{} + r.GetOrg() + r = nil + r.GetOrg() +} + +func TestRepositoryVulnerabilityAlertEvent_GetRepository(tt *testing.T) { + tt.Parallel() + r := &RepositoryVulnerabilityAlertEvent{} + r.GetRepository() + r = nil + r.GetRepository() +} + +func TestRepositoryVulnerabilityAlertEvent_GetSender(tt *testing.T) { + tt.Parallel() + r := &RepositoryVulnerabilityAlertEvent{} + r.GetSender() + r = nil + r.GetSender() +} + +func TestRepoStats_GetForkRepos(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &RepoStats{ForkRepos: &zeroValue} + r.GetForkRepos() + r = &RepoStats{} + r.GetForkRepos() + r = nil + r.GetForkRepos() +} + +func TestRepoStats_GetOrgRepos(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &RepoStats{OrgRepos: &zeroValue} + r.GetOrgRepos() + r = &RepoStats{} + r.GetOrgRepos() + r = nil + r.GetOrgRepos() +} + +func TestRepoStats_GetRootRepos(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &RepoStats{RootRepos: &zeroValue} + r.GetRootRepos() + r = &RepoStats{} + r.GetRootRepos() + r = nil + r.GetRootRepos() +} + +func TestRepoStats_GetTotalPushes(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &RepoStats{TotalPushes: &zeroValue} + r.GetTotalPushes() + r = &RepoStats{} + r.GetTotalPushes() + r = nil + r.GetTotalPushes() +} + +func TestRepoStats_GetTotalRepos(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &RepoStats{TotalRepos: &zeroValue} + r.GetTotalRepos() + r = &RepoStats{} + r.GetTotalRepos() + r = nil + r.GetTotalRepos() +} + +func TestRepoStats_GetTotalWikis(tt *testing.T) { + tt.Parallel() + var zeroValue int + r := &RepoStats{TotalWikis: &zeroValue} + r.GetTotalWikis() + r = &RepoStats{} + r.GetTotalWikis() + r = nil + r.GetTotalWikis() +} + +func TestRepoStatus_GetAvatarURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepoStatus{AvatarURL: &zeroValue} + r.GetAvatarURL() + r = &RepoStatus{} + r.GetAvatarURL() + r = nil + r.GetAvatarURL() +} + +func TestRepoStatus_GetContext(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepoStatus{Context: &zeroValue} + r.GetContext() + r = &RepoStatus{} + r.GetContext() + r = nil + r.GetContext() +} + +func TestRepoStatus_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + r := &RepoStatus{CreatedAt: &zeroValue} + r.GetCreatedAt() + r = &RepoStatus{} + r.GetCreatedAt() + r = nil + r.GetCreatedAt() +} + +func TestRepoStatus_GetCreator(tt *testing.T) { + tt.Parallel() + r := &RepoStatus{} + r.GetCreator() + r = nil + r.GetCreator() +} + +func TestRepoStatus_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepoStatus{Description: &zeroValue} + r.GetDescription() + r = &RepoStatus{} + r.GetDescription() + r = nil + r.GetDescription() +} + +func TestRepoStatus_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + r := &RepoStatus{ID: &zeroValue} + r.GetID() + r = &RepoStatus{} + r.GetID() + r = nil + r.GetID() +} + +func TestRepoStatus_GetNodeID(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepoStatus{NodeID: &zeroValue} + r.GetNodeID() + r = &RepoStatus{} + r.GetNodeID() + r = nil + r.GetNodeID() +} + +func TestRepoStatus_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepoStatus{State: &zeroValue} + r.GetState() + r = &RepoStatus{} + r.GetState() + r = nil + r.GetState() +} + +func TestRepoStatus_GetTargetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepoStatus{TargetURL: &zeroValue} + r.GetTargetURL() + r = &RepoStatus{} + r.GetTargetURL() + r = nil + r.GetTargetURL() +} + +func TestRepoStatus_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + r := &RepoStatus{UpdatedAt: &zeroValue} + r.GetUpdatedAt() + r = &RepoStatus{} + r.GetUpdatedAt() + r = nil + r.GetUpdatedAt() +} + +func TestRepoStatus_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RepoStatus{URL: &zeroValue} + r.GetURL() + r = &RepoStatus{} + r.GetURL() + r = nil + 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 + r := &RequireCodeOwnerReviewChanges{From: &zeroValue} + r.GetFrom() + r = &RequireCodeOwnerReviewChanges{} + r.GetFrom() + r = nil + 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 + r := &RequiredConversationResolutionLevelChanges{From: &zeroValue} + r.GetFrom() + r = &RequiredConversationResolutionLevelChanges{} + r.GetFrom() + r = nil + 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 + r := &RequiredDeploymentsEnforcementLevelChanges{From: &zeroValue} + r.GetFrom() + r = &RequiredDeploymentsEnforcementLevelChanges{} + r.GetFrom() + r = nil + 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 + r := &RequiredReviewer{Type: &zeroValue} + r.GetType() + r = &RequiredReviewer{} + r.GetType() + r = nil + r.GetType() +} + +func TestRequiredStatusCheck_GetAppID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + r := &RequiredStatusCheck{AppID: &zeroValue} + r.GetAppID() + r = &RequiredStatusCheck{} + r.GetAppID() + r = nil + 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 + r := &RequiredStatusChecks{Checks: &zeroValue} + r.GetChecks() + r = &RequiredStatusChecks{} + r.GetChecks() + r = nil + r.GetChecks() +} + +func TestRequiredStatusChecks_GetContexts(tt *testing.T) { + tt.Parallel() + var zeroValue []string + r := &RequiredStatusChecks{Contexts: &zeroValue} + r.GetContexts() + r = &RequiredStatusChecks{} + r.GetContexts() + r = nil + r.GetContexts() +} + +func TestRequiredStatusChecks_GetContextsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RequiredStatusChecks{ContextsURL: &zeroValue} + r.GetContextsURL() + r = &RequiredStatusChecks{} + r.GetContextsURL() + r = nil + 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 + r := &RequiredStatusChecks{URL: &zeroValue} + r.GetURL() + r = &RequiredStatusChecks{} + r.GetURL() + r = nil + 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 + r := &RequiredStatusChecksEnforcementLevelChanges{From: &zeroValue} + r.GetFrom() + r = &RequiredStatusChecksEnforcementLevelChanges{} + r.GetFrom() + r = nil + 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 + r := &RequiredStatusChecksRequest{Strict: &zeroValue} + r.GetStrict() + r = &RequiredStatusChecksRequest{} + r.GetStrict() + r = nil + r.GetStrict() +} + +func TestRequiredStatusChecksRuleParameters_GetDoNotEnforceOnCreate(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &RequiredStatusChecksRuleParameters{DoNotEnforceOnCreate: &zeroValue} + r.GetDoNotEnforceOnCreate() + r = &RequiredStatusChecksRuleParameters{} + r.GetDoNotEnforceOnCreate() + r = nil + 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 + r := &RequireLastPushApprovalChanges{From: &zeroValue} + r.GetFrom() + r = &RequireLastPushApprovalChanges{} + r.GetFrom() + r = nil + 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 + r := &ReviewersRequest{NodeID: &zeroValue} + r.GetNodeID() + r = &ReviewersRequest{} + r.GetNodeID() + r = nil + 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 + r := &ReviewPersonalAccessTokenRequestOptions{Reason: &zeroValue} + r.GetReason() + r = &ReviewPersonalAccessTokenRequestOptions{} + r.GetReason() + r = nil + r.GetReason() +} + +func TestRule_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Rule{Description: &zeroValue} + r.GetDescription() + r = &Rule{} + r.GetDescription() + r = nil + r.GetDescription() +} + +func TestRule_GetFullDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Rule{FullDescription: &zeroValue} + r.GetFullDescription() + r = &Rule{} + r.GetFullDescription() + r = nil + r.GetFullDescription() +} + +func TestRule_GetHelp(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Rule{Help: &zeroValue} + r.GetHelp() + r = &Rule{} + r.GetHelp() + r = nil + r.GetHelp() +} + +func TestRule_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Rule{ID: &zeroValue} + r.GetID() + r = &Rule{} + r.GetID() + r = nil + r.GetID() +} + +func TestRule_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Rule{Name: &zeroValue} + r.GetName() + r = &Rule{} + r.GetName() + r = nil + r.GetName() +} + +func TestRule_GetSecuritySeverityLevel(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Rule{SecuritySeverityLevel: &zeroValue} + r.GetSecuritySeverityLevel() + r = &Rule{} + r.GetSecuritySeverityLevel() + r = nil + r.GetSecuritySeverityLevel() +} + +func TestRule_GetSeverity(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Rule{Severity: &zeroValue} + r.GetSeverity() + r = &Rule{} + r.GetSeverity() + r = nil + 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 + r := &RulesetRequiredReviewer{MinimumApprovals: &zeroValue} + r.GetMinimumApprovals() + r = &RulesetRequiredReviewer{} + r.GetMinimumApprovals() + r = nil + r.GetMinimumApprovals() +} + +func TestRulesetRequiredReviewer_GetReviewer(tt *testing.T) { + tt.Parallel() + r := &RulesetRequiredReviewer{} + r.GetReviewer() + r = nil + r.GetReviewer() +} + +func TestRulesetReviewer_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + r := &RulesetReviewer{ID: &zeroValue} + r.GetID() + r = &RulesetReviewer{} + r.GetID() + r = nil + r.GetID() +} + +func TestRulesetReviewer_GetType(tt *testing.T) { + tt.Parallel() + r := &RulesetReviewer{} + r.GetType() + r = nil + 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 + r := &RuleStatusCheck{IntegrationID: &zeroValue} + r.GetIntegrationID() + r = &RuleStatusCheck{} + r.GetIntegrationID() + r = nil + 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 + r := &RuleWorkflow{Ref: &zeroValue} + r.GetRef() + r = &RuleWorkflow{} + r.GetRef() + r = nil + r.GetRef() +} + +func TestRuleWorkflow_GetRepositoryID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + r := &RuleWorkflow{RepositoryID: &zeroValue} + r.GetRepositoryID() + r = &RuleWorkflow{} + r.GetRepositoryID() + r = nil + r.GetRepositoryID() +} + +func TestRuleWorkflow_GetSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RuleWorkflow{SHA: &zeroValue} + r.GetSHA() + r = &RuleWorkflow{} + r.GetSHA() + r = nil + r.GetSHA() +} + +func TestRunner_GetBusy(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &Runner{Busy: &zeroValue} + r.GetBusy() + r = &Runner{} + r.GetBusy() + r = nil + r.GetBusy() +} + +func TestRunner_GetEphemeral(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &Runner{Ephemeral: &zeroValue} + r.GetEphemeral() + r = &Runner{} + r.GetEphemeral() + r = nil + r.GetEphemeral() +} + +func TestRunner_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + r := &Runner{ID: &zeroValue} + r.GetID() + r = &Runner{} + r.GetID() + r = nil + 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 + r := &Runner{Name: &zeroValue} + r.GetName() + r = &Runner{} + r.GetName() + r = nil + r.GetName() +} + +func TestRunner_GetOS(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Runner{OS: &zeroValue} + r.GetOS() + r = &Runner{} + r.GetOS() + r = nil + r.GetOS() +} + +func TestRunner_GetRunnerGroupID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + r := &Runner{RunnerGroupID: &zeroValue} + r.GetRunnerGroupID() + r = &Runner{} + r.GetRunnerGroupID() + r = nil + r.GetRunnerGroupID() +} + +func TestRunner_GetStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Runner{Status: &zeroValue} + r.GetStatus() + r = &Runner{} + r.GetStatus() + r = nil + r.GetStatus() +} + +func TestRunner_GetVersion(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &Runner{Version: &zeroValue} + r.GetVersion() + r = &Runner{} + r.GetVersion() + r = nil + r.GetVersion() +} + +func TestRunnerApplicationDownload_GetArchitecture(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RunnerApplicationDownload{Architecture: &zeroValue} + r.GetArchitecture() + r = &RunnerApplicationDownload{} + r.GetArchitecture() + r = nil + r.GetArchitecture() +} + +func TestRunnerApplicationDownload_GetDownloadURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RunnerApplicationDownload{DownloadURL: &zeroValue} + r.GetDownloadURL() + r = &RunnerApplicationDownload{} + r.GetDownloadURL() + r = nil + r.GetDownloadURL() +} + +func TestRunnerApplicationDownload_GetFilename(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RunnerApplicationDownload{Filename: &zeroValue} + r.GetFilename() + r = &RunnerApplicationDownload{} + r.GetFilename() + r = nil + r.GetFilename() +} + +func TestRunnerApplicationDownload_GetOS(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RunnerApplicationDownload{OS: &zeroValue} + r.GetOS() + r = &RunnerApplicationDownload{} + r.GetOS() + r = nil + r.GetOS() +} + +func TestRunnerApplicationDownload_GetSHA256Checksum(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RunnerApplicationDownload{SHA256Checksum: &zeroValue} + r.GetSHA256Checksum() + r = &RunnerApplicationDownload{} + r.GetSHA256Checksum() + r = nil + r.GetSHA256Checksum() +} + +func TestRunnerApplicationDownload_GetTempDownloadToken(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RunnerApplicationDownload{TempDownloadToken: &zeroValue} + r.GetTempDownloadToken() + r = &RunnerApplicationDownload{} + r.GetTempDownloadToken() + r = nil + r.GetTempDownloadToken() +} + +func TestRunnerGroup_GetAllowsPublicRepositories(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &RunnerGroup{AllowsPublicRepositories: &zeroValue} + r.GetAllowsPublicRepositories() + r = &RunnerGroup{} + r.GetAllowsPublicRepositories() + r = nil + r.GetAllowsPublicRepositories() +} + +func TestRunnerGroup_GetDefault(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &RunnerGroup{Default: &zeroValue} + r.GetDefault() + r = &RunnerGroup{} + r.GetDefault() + r = nil + r.GetDefault() +} + +func TestRunnerGroup_GetHostedRunnersURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RunnerGroup{HostedRunnersURL: &zeroValue} + r.GetHostedRunnersURL() + r = &RunnerGroup{} + r.GetHostedRunnersURL() + r = nil + r.GetHostedRunnersURL() +} + +func TestRunnerGroup_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + r := &RunnerGroup{ID: &zeroValue} + r.GetID() + r = &RunnerGroup{} + r.GetID() + r = nil + r.GetID() +} + +func TestRunnerGroup_GetInherited(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &RunnerGroup{Inherited: &zeroValue} + r.GetInherited() + r = &RunnerGroup{} + r.GetInherited() + r = nil + r.GetInherited() +} + +func TestRunnerGroup_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RunnerGroup{Name: &zeroValue} + r.GetName() + r = &RunnerGroup{} + r.GetName() + r = nil + r.GetName() +} + +func TestRunnerGroup_GetNetworkConfigurationID(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RunnerGroup{NetworkConfigurationID: &zeroValue} + r.GetNetworkConfigurationID() + r = &RunnerGroup{} + r.GetNetworkConfigurationID() + r = nil + r.GetNetworkConfigurationID() +} + +func TestRunnerGroup_GetRestrictedToWorkflows(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &RunnerGroup{RestrictedToWorkflows: &zeroValue} + r.GetRestrictedToWorkflows() + r = &RunnerGroup{} + r.GetRestrictedToWorkflows() + r = nil + r.GetRestrictedToWorkflows() +} + +func TestRunnerGroup_GetRunnersURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RunnerGroup{RunnersURL: &zeroValue} + r.GetRunnersURL() + r = &RunnerGroup{} + r.GetRunnersURL() + r = nil + r.GetRunnersURL() +} + +func TestRunnerGroup_GetSelectedRepositoriesURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RunnerGroup{SelectedRepositoriesURL: &zeroValue} + r.GetSelectedRepositoriesURL() + r = &RunnerGroup{} + r.GetSelectedRepositoriesURL() + r = nil + 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 + r := &RunnerGroup{Visibility: &zeroValue} + r.GetVisibility() + r = &RunnerGroup{} + r.GetVisibility() + r = nil + r.GetVisibility() +} + +func TestRunnerGroup_GetWorkflowRestrictionsReadOnly(tt *testing.T) { + tt.Parallel() + var zeroValue bool + r := &RunnerGroup{WorkflowRestrictionsReadOnly: &zeroValue} + r.GetWorkflowRestrictionsReadOnly() + r = &RunnerGroup{} + r.GetWorkflowRestrictionsReadOnly() + r = nil + 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 + r := &RunnerLabels{ID: &zeroValue} + r.GetID() + r = &RunnerLabels{} + r.GetID() + r = nil + r.GetID() +} + +func TestRunnerLabels_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RunnerLabels{Name: &zeroValue} + r.GetName() + r = &RunnerLabels{} + r.GetName() + r = nil + r.GetName() +} + +func TestRunnerLabels_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + r := &RunnerLabels{Type: &zeroValue} + r.GetType() + r = &RunnerLabels{} + r.GetType() + r = nil + 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 + s := &SarifAnalysis{CheckoutURI: &zeroValue} + s.GetCheckoutURI() + s = &SarifAnalysis{} + s.GetCheckoutURI() + s = nil + s.GetCheckoutURI() +} + +func TestSarifAnalysis_GetCommitSHA(tt *testing.T) { + tt.Parallel() + s := &SarifAnalysis{} + s.GetCommitSHA() + s = nil + s.GetCommitSHA() +} + +func TestSarifAnalysis_GetRef(tt *testing.T) { + tt.Parallel() + s := &SarifAnalysis{} + s.GetRef() + s = nil + s.GetRef() +} + +func TestSarifAnalysis_GetSarif(tt *testing.T) { + tt.Parallel() + s := &SarifAnalysis{} + s.GetSarif() + s = nil + s.GetSarif() +} + +func TestSarifAnalysis_GetStartedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + s := &SarifAnalysis{StartedAt: &zeroValue} + s.GetStartedAt() + s = &SarifAnalysis{} + s.GetStartedAt() + s = nil + s.GetStartedAt() +} + +func TestSarifAnalysis_GetToolName(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SarifAnalysis{ToolName: &zeroValue} + s.GetToolName() + s = &SarifAnalysis{} + s.GetToolName() + s = nil + s.GetToolName() +} + +func TestSarifAnalysis_GetValidate(tt *testing.T) { + tt.Parallel() + var zeroValue bool + s := &SarifAnalysis{Validate: &zeroValue} + s.GetValidate() + s = &SarifAnalysis{} + s.GetValidate() + s = nil + s.GetValidate() +} + +func TestSarifID_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SarifID{ID: &zeroValue} + s.GetID() + s = &SarifID{} + s.GetID() + s = nil + s.GetID() +} + +func TestSarifID_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SarifID{URL: &zeroValue} + s.GetURL() + s = &SarifID{} + s.GetURL() + s = nil + s.GetURL() +} + +func TestSARIFUpload_GetAnalysesURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SARIFUpload{AnalysesURL: &zeroValue} + s.GetAnalysesURL() + s = &SARIFUpload{} + s.GetAnalysesURL() + s = nil + s.GetAnalysesURL() +} + +func TestSARIFUpload_GetProcessingStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SARIFUpload{ProcessingStatus: &zeroValue} + s.GetProcessingStatus() + s = &SARIFUpload{} + s.GetProcessingStatus() + s = nil + s.GetProcessingStatus() +} + +func TestSBOM_GetSBOM(tt *testing.T) { + tt.Parallel() + s := &SBOM{} + s.GetSBOM() + s = nil + s.GetSBOM() +} + +func TestSBOMInfo_GetCreationInfo(tt *testing.T) { + tt.Parallel() + s := &SBOMInfo{} + s.GetCreationInfo() + s = nil + s.GetCreationInfo() +} + +func TestSBOMInfo_GetDataLicense(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SBOMInfo{DataLicense: &zeroValue} + s.GetDataLicense() + s = &SBOMInfo{} + s.GetDataLicense() + s = nil + 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 + s := &SBOMInfo{DocumentNamespace: &zeroValue} + s.GetDocumentNamespace() + s = &SBOMInfo{} + s.GetDocumentNamespace() + s = nil + s.GetDocumentNamespace() +} + +func TestSBOMInfo_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SBOMInfo{Name: &zeroValue} + s.GetName() + s = &SBOMInfo{} + s.GetName() + s = nil + 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 + s := &SBOMInfo{SPDXID: &zeroValue} + s.GetSPDXID() + s = &SBOMInfo{} + s.GetSPDXID() + s = nil + s.GetSPDXID() +} + +func TestSBOMInfo_GetSPDXVersion(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SBOMInfo{SPDXVersion: &zeroValue} + s.GetSPDXVersion() + s = &SBOMInfo{} + s.GetSPDXVersion() + s = nil + 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 + s := &ScanningAnalysis{AnalysisKey: &zeroValue} + s.GetAnalysisKey() + s = &ScanningAnalysis{} + s.GetAnalysisKey() + s = nil + s.GetAnalysisKey() +} + +func TestScanningAnalysis_GetCategory(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &ScanningAnalysis{Category: &zeroValue} + s.GetCategory() + s = &ScanningAnalysis{} + s.GetCategory() + s = nil + s.GetCategory() +} + +func TestScanningAnalysis_GetCommitSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &ScanningAnalysis{CommitSHA: &zeroValue} + s.GetCommitSHA() + s = &ScanningAnalysis{} + s.GetCommitSHA() + s = nil + s.GetCommitSHA() +} + +func TestScanningAnalysis_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + s := &ScanningAnalysis{CreatedAt: &zeroValue} + s.GetCreatedAt() + s = &ScanningAnalysis{} + s.GetCreatedAt() + s = nil + s.GetCreatedAt() +} + +func TestScanningAnalysis_GetDeletable(tt *testing.T) { + tt.Parallel() + var zeroValue bool + s := &ScanningAnalysis{Deletable: &zeroValue} + s.GetDeletable() + s = &ScanningAnalysis{} + s.GetDeletable() + s = nil + s.GetDeletable() +} + +func TestScanningAnalysis_GetEnvironment(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &ScanningAnalysis{Environment: &zeroValue} + s.GetEnvironment() + s = &ScanningAnalysis{} + s.GetEnvironment() + s = nil + s.GetEnvironment() +} + +func TestScanningAnalysis_GetError(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &ScanningAnalysis{Error: &zeroValue} + s.GetError() + s = &ScanningAnalysis{} + s.GetError() + s = nil + s.GetError() +} + +func TestScanningAnalysis_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + s := &ScanningAnalysis{ID: &zeroValue} + s.GetID() + s = &ScanningAnalysis{} + s.GetID() + s = nil + s.GetID() +} + +func TestScanningAnalysis_GetRef(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &ScanningAnalysis{Ref: &zeroValue} + s.GetRef() + s = &ScanningAnalysis{} + s.GetRef() + s = nil + s.GetRef() +} + +func TestScanningAnalysis_GetResultsCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + s := &ScanningAnalysis{ResultsCount: &zeroValue} + s.GetResultsCount() + s = &ScanningAnalysis{} + s.GetResultsCount() + s = nil + s.GetResultsCount() +} + +func TestScanningAnalysis_GetRulesCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + s := &ScanningAnalysis{RulesCount: &zeroValue} + s.GetRulesCount() + s = &ScanningAnalysis{} + s.GetRulesCount() + s = nil + s.GetRulesCount() +} + +func TestScanningAnalysis_GetSarifID(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &ScanningAnalysis{SarifID: &zeroValue} + s.GetSarifID() + s = &ScanningAnalysis{} + s.GetSarifID() + s = nil + s.GetSarifID() +} + +func TestScanningAnalysis_GetTool(tt *testing.T) { + tt.Parallel() + s := &ScanningAnalysis{} + s.GetTool() + s = nil + s.GetTool() +} + +func TestScanningAnalysis_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &ScanningAnalysis{URL: &zeroValue} + s.GetURL() + s = &ScanningAnalysis{} + s.GetURL() + s = nil + s.GetURL() +} + +func TestScanningAnalysis_GetWarning(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &ScanningAnalysis{Warning: &zeroValue} + s.GetWarning() + s = &ScanningAnalysis{} + s.GetWarning() + s = nil + 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 + s := &SCIMEnterpriseAttributeOperation{Path: &zeroValue} + s.GetPath() + s = &SCIMEnterpriseAttributeOperation{} + s.GetPath() + s = nil + 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 + s := &SCIMEnterpriseDisplayReference{Display: &zeroValue} + s.GetDisplay() + s = &SCIMEnterpriseDisplayReference{} + s.GetDisplay() + s = nil + s.GetDisplay() +} + +func TestSCIMEnterpriseDisplayReference_GetRef(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SCIMEnterpriseDisplayReference{Ref: &zeroValue} + s.GetRef() + s = &SCIMEnterpriseDisplayReference{} + s.GetRef() + s = nil + 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 + s := &SCIMEnterpriseGroupAttributes{DisplayName: &zeroValue} + s.GetDisplayName() + s = &SCIMEnterpriseGroupAttributes{} + s.GetDisplayName() + s = nil + s.GetDisplayName() +} + +func TestSCIMEnterpriseGroupAttributes_GetExternalID(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SCIMEnterpriseGroupAttributes{ExternalID: &zeroValue} + s.GetExternalID() + s = &SCIMEnterpriseGroupAttributes{} + s.GetExternalID() + s = nil + s.GetExternalID() +} + +func TestSCIMEnterpriseGroupAttributes_GetID(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SCIMEnterpriseGroupAttributes{ID: &zeroValue} + s.GetID() + s = &SCIMEnterpriseGroupAttributes{} + s.GetID() + s = nil + 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{} + s.GetMeta() + s = nil + 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 + s := &SCIMEnterpriseGroups{ItemsPerPage: &zeroValue} + s.GetItemsPerPage() + s = &SCIMEnterpriseGroups{} + s.GetItemsPerPage() + s = nil + 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 + s := &SCIMEnterpriseGroups{StartIndex: &zeroValue} + s.GetStartIndex() + s = &SCIMEnterpriseGroups{} + s.GetStartIndex() + s = nil + s.GetStartIndex() +} + +func TestSCIMEnterpriseGroups_GetTotalResults(tt *testing.T) { + tt.Parallel() + var zeroValue int + s := &SCIMEnterpriseGroups{TotalResults: &zeroValue} + s.GetTotalResults() + s = &SCIMEnterpriseGroups{} + s.GetTotalResults() + s = nil + s.GetTotalResults() +} + +func TestSCIMEnterpriseMeta_GetCreated(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + s := &SCIMEnterpriseMeta{Created: &zeroValue} + s.GetCreated() + s = &SCIMEnterpriseMeta{} + s.GetCreated() + s = nil + s.GetCreated() +} + +func TestSCIMEnterpriseMeta_GetLastModified(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + s := &SCIMEnterpriseMeta{LastModified: &zeroValue} + s.GetLastModified() + s = &SCIMEnterpriseMeta{} + s.GetLastModified() + s = nil + s.GetLastModified() +} + +func TestSCIMEnterpriseMeta_GetLocation(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SCIMEnterpriseMeta{Location: &zeroValue} + s.GetLocation() + s = &SCIMEnterpriseMeta{} + s.GetLocation() + s = nil + 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 + s := &SCIMEnterpriseUserAttributes{ID: &zeroValue} + s.GetID() + s = &SCIMEnterpriseUserAttributes{} + s.GetID() + s = nil + s.GetID() +} + +func TestSCIMEnterpriseUserAttributes_GetMeta(tt *testing.T) { + tt.Parallel() + s := &SCIMEnterpriseUserAttributes{} + s.GetMeta() + s = nil + s.GetMeta() +} + +func TestSCIMEnterpriseUserAttributes_GetName(tt *testing.T) { + tt.Parallel() + s := &SCIMEnterpriseUserAttributes{} + s.GetName() + s = nil + 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 + s := &SCIMEnterpriseUserName{Formatted: &zeroValue} + s.GetFormatted() + s = &SCIMEnterpriseUserName{} + s.GetFormatted() + s = nil + 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 + s := &SCIMEnterpriseUserName{MiddleName: &zeroValue} + s.GetMiddleName() + s = &SCIMEnterpriseUserName{} + s.GetMiddleName() + s = nil + s.GetMiddleName() +} + +func TestSCIMEnterpriseUserRole_GetDisplay(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SCIMEnterpriseUserRole{Display: &zeroValue} + s.GetDisplay() + s = &SCIMEnterpriseUserRole{} + s.GetDisplay() + s = nil + s.GetDisplay() +} + +func TestSCIMEnterpriseUserRole_GetPrimary(tt *testing.T) { + tt.Parallel() + var zeroValue bool + s := &SCIMEnterpriseUserRole{Primary: &zeroValue} + s.GetPrimary() + s = &SCIMEnterpriseUserRole{} + s.GetPrimary() + s = nil + s.GetPrimary() +} + +func TestSCIMEnterpriseUserRole_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SCIMEnterpriseUserRole{Type: &zeroValue} + s.GetType() + s = &SCIMEnterpriseUserRole{} + s.GetType() + s = nil + 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 + s := &SCIMEnterpriseUsers{ItemsPerPage: &zeroValue} + s.GetItemsPerPage() + s = &SCIMEnterpriseUsers{} + s.GetItemsPerPage() + s = nil + 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 + s := &SCIMEnterpriseUsers{StartIndex: &zeroValue} + s.GetStartIndex() + s = &SCIMEnterpriseUsers{} + s.GetStartIndex() + s = nil + s.GetStartIndex() +} + +func TestSCIMEnterpriseUsers_GetTotalResults(tt *testing.T) { + tt.Parallel() + var zeroValue int + s := &SCIMEnterpriseUsers{TotalResults: &zeroValue} + s.GetTotalResults() + s = &SCIMEnterpriseUsers{} + s.GetTotalResults() + s = nil + s.GetTotalResults() +} + +func TestSCIMMeta_GetCreated(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + s := &SCIMMeta{Created: &zeroValue} + s.GetCreated() + s = &SCIMMeta{} + s.GetCreated() + s = nil + s.GetCreated() +} + +func TestSCIMMeta_GetLastModified(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + s := &SCIMMeta{LastModified: &zeroValue} + s.GetLastModified() + s = &SCIMMeta{} + s.GetLastModified() + s = nil + s.GetLastModified() +} + +func TestSCIMMeta_GetLocation(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SCIMMeta{Location: &zeroValue} + s.GetLocation() + s = &SCIMMeta{} + s.GetLocation() + s = nil + s.GetLocation() +} + +func TestSCIMMeta_GetResourceType(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SCIMMeta{ResourceType: &zeroValue} + s.GetResourceType() + s = &SCIMMeta{} + s.GetResourceType() + s = nil + s.GetResourceType() +} + +func TestSCIMProvisionedIdentities_GetItemsPerPage(tt *testing.T) { + tt.Parallel() + var zeroValue int + s := &SCIMProvisionedIdentities{ItemsPerPage: &zeroValue} + s.GetItemsPerPage() + s = &SCIMProvisionedIdentities{} + s.GetItemsPerPage() + s = nil + 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 + s := &SCIMProvisionedIdentities{StartIndex: &zeroValue} + s.GetStartIndex() + s = &SCIMProvisionedIdentities{} + s.GetStartIndex() + s = nil + s.GetStartIndex() +} + +func TestSCIMProvisionedIdentities_GetTotalResults(tt *testing.T) { + tt.Parallel() + var zeroValue int + s := &SCIMProvisionedIdentities{TotalResults: &zeroValue} + s.GetTotalResults() + s = &SCIMProvisionedIdentities{} + s.GetTotalResults() + s = nil + s.GetTotalResults() +} + +func TestSCIMUserAttributes_GetActive(tt *testing.T) { + tt.Parallel() + var zeroValue bool + s := &SCIMUserAttributes{Active: &zeroValue} + s.GetActive() + s = &SCIMUserAttributes{} + s.GetActive() + s = nil + s.GetActive() +} + +func TestSCIMUserAttributes_GetDisplayName(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SCIMUserAttributes{DisplayName: &zeroValue} + s.GetDisplayName() + s = &SCIMUserAttributes{} + s.GetDisplayName() + s = nil + 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 + s := &SCIMUserAttributes{ExternalID: &zeroValue} + s.GetExternalID() + s = &SCIMUserAttributes{} + s.GetExternalID() + s = nil + 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 + s := &SCIMUserAttributes{ID: &zeroValue} + s.GetID() + s = &SCIMUserAttributes{} + s.GetID() + s = nil + s.GetID() +} + +func TestSCIMUserAttributes_GetMeta(tt *testing.T) { + tt.Parallel() + s := &SCIMUserAttributes{} + s.GetMeta() + s = nil + 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 + s := &SCIMUserEmail{Primary: &zeroValue} + s.GetPrimary() + s = &SCIMUserEmail{} + s.GetPrimary() + s = nil + s.GetPrimary() +} + +func TestSCIMUserEmail_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SCIMUserEmail{Type: &zeroValue} + s.GetType() + s = &SCIMUserEmail{} + s.GetType() + s = nil + 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 + s := &SCIMUserName{Formatted: &zeroValue} + s.GetFormatted() + s = &SCIMUserName{} + s.GetFormatted() + s = nil + 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 + s := &SCIMUserRole{Display: &zeroValue} + s.GetDisplay() + s = &SCIMUserRole{} + s.GetDisplay() + s = nil + s.GetDisplay() +} + +func TestSCIMUserRole_GetPrimary(tt *testing.T) { + tt.Parallel() + var zeroValue bool + s := &SCIMUserRole{Primary: &zeroValue} + s.GetPrimary() + s = &SCIMUserRole{} + s.GetPrimary() + s = nil + s.GetPrimary() +} + +func TestSCIMUserRole_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SCIMUserRole{Type: &zeroValue} + s.GetType() + s = &SCIMUserRole{} + s.GetType() + s = nil + 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 + s := &SearchOptions{AdvancedSearch: &zeroValue} + s.GetAdvancedSearch() + s = &SearchOptions{} + s.GetAdvancedSearch() + s = nil + s.GetAdvancedSearch() +} + +func TestSearchOptions_GetOrder(tt *testing.T) { + tt.Parallel() + s := &SearchOptions{} + s.GetOrder() + s = nil + s.GetOrder() +} + +func TestSearchOptions_GetSearchType(tt *testing.T) { + tt.Parallel() + s := &SearchOptions{} + s.GetSearchType() + s = nil + s.GetSearchType() +} + +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 TestSecretOrgRequest_GetEncryptedValue(tt *testing.T) { + tt.Parallel() + s := &SecretOrgRequest{} + s.GetEncryptedValue() + s = nil + s.GetEncryptedValue() +} + +func TestSecretOrgRequest_GetKeyID(tt *testing.T) { + tt.Parallel() + s := &SecretOrgRequest{} + s.GetKeyID() + s = nil + s.GetKeyID() +} + +func TestSecretOrgRequest_GetSelectedRepositoryIDs(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + s := &SecretOrgRequest{SelectedRepositoryIDs: zeroValue} + s.GetSelectedRepositoryIDs() + s = &SecretOrgRequest{} + s.GetSelectedRepositoryIDs() + s = nil + s.GetSelectedRepositoryIDs() +} + +func TestSecretOrgRequest_GetVisibility(tt *testing.T) { + tt.Parallel() + s := &SecretOrgRequest{} + s.GetVisibility() + s = nil + s.GetVisibility() +} + +func TestSecretRequest_GetEncryptedValue(tt *testing.T) { + tt.Parallel() + s := &SecretRequest{} + s.GetEncryptedValue() + s = nil + s.GetEncryptedValue() +} + +func TestSecretRequest_GetKeyID(tt *testing.T) { + tt.Parallel() + s := &SecretRequest{} + s.GetKeyID() + s = nil + s.GetKeyID() +} + +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 + s := &SecretScanning{Status: &zeroValue} + s.GetStatus() + s = &SecretScanning{} + s.GetStatus() + s = nil + s.GetStatus() +} + +func TestSecretScanningAlert_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + s := &SecretScanningAlert{CreatedAt: &zeroValue} + s.GetCreatedAt() + s = &SecretScanningAlert{} + s.GetCreatedAt() + s = nil + s.GetCreatedAt() +} + +func TestSecretScanningAlert_GetFirstLocationDetected(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlert{} + s.GetFirstLocationDetected() + s = nil + s.GetFirstLocationDetected() +} + +func TestSecretScanningAlert_GetHasMoreLocations(tt *testing.T) { + tt.Parallel() + var zeroValue bool + s := &SecretScanningAlert{HasMoreLocations: &zeroValue} + s.GetHasMoreLocations() + s = &SecretScanningAlert{} + s.GetHasMoreLocations() + s = nil + s.GetHasMoreLocations() +} + +func TestSecretScanningAlert_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningAlert{HTMLURL: &zeroValue} + s.GetHTMLURL() + s = &SecretScanningAlert{} + s.GetHTMLURL() + s = nil + s.GetHTMLURL() +} + +func TestSecretScanningAlert_GetIsBase64Encoded(tt *testing.T) { + tt.Parallel() + var zeroValue bool + s := &SecretScanningAlert{IsBase64Encoded: &zeroValue} + s.GetIsBase64Encoded() + s = &SecretScanningAlert{} + s.GetIsBase64Encoded() + s = nil + s.GetIsBase64Encoded() +} + +func TestSecretScanningAlert_GetLocationsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningAlert{LocationsURL: &zeroValue} + s.GetLocationsURL() + s = &SecretScanningAlert{} + s.GetLocationsURL() + s = nil + s.GetLocationsURL() +} + +func TestSecretScanningAlert_GetMultiRepo(tt *testing.T) { + tt.Parallel() + var zeroValue bool + s := &SecretScanningAlert{MultiRepo: &zeroValue} + s.GetMultiRepo() + s = &SecretScanningAlert{} + s.GetMultiRepo() + s = nil + s.GetMultiRepo() +} + +func TestSecretScanningAlert_GetNumber(tt *testing.T) { + tt.Parallel() + var zeroValue int + s := &SecretScanningAlert{Number: &zeroValue} + s.GetNumber() + s = &SecretScanningAlert{} + s.GetNumber() + s = nil + s.GetNumber() +} + +func TestSecretScanningAlert_GetPubliclyLeaked(tt *testing.T) { + tt.Parallel() + var zeroValue bool + s := &SecretScanningAlert{PubliclyLeaked: &zeroValue} + s.GetPubliclyLeaked() + s = &SecretScanningAlert{} + s.GetPubliclyLeaked() + s = nil + s.GetPubliclyLeaked() +} + +func TestSecretScanningAlert_GetPushProtectionBypassed(tt *testing.T) { + tt.Parallel() + var zeroValue bool + s := &SecretScanningAlert{PushProtectionBypassed: &zeroValue} + s.GetPushProtectionBypassed() + s = &SecretScanningAlert{} + s.GetPushProtectionBypassed() + s = nil + s.GetPushProtectionBypassed() +} + +func TestSecretScanningAlert_GetPushProtectionBypassedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + s := &SecretScanningAlert{PushProtectionBypassedAt: &zeroValue} + s.GetPushProtectionBypassedAt() + s = &SecretScanningAlert{} + s.GetPushProtectionBypassedAt() + s = nil + s.GetPushProtectionBypassedAt() +} + +func TestSecretScanningAlert_GetPushProtectionBypassedBy(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlert{} + s.GetPushProtectionBypassedBy() + s = nil + s.GetPushProtectionBypassedBy() +} + +func TestSecretScanningAlert_GetPushProtectionBypassRequestComment(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningAlert{PushProtectionBypassRequestComment: &zeroValue} + s.GetPushProtectionBypassRequestComment() + s = &SecretScanningAlert{} + s.GetPushProtectionBypassRequestComment() + s = nil + s.GetPushProtectionBypassRequestComment() +} + +func TestSecretScanningAlert_GetPushProtectionBypassRequestHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningAlert{PushProtectionBypassRequestHTMLURL: &zeroValue} + s.GetPushProtectionBypassRequestHTMLURL() + s = &SecretScanningAlert{} + s.GetPushProtectionBypassRequestHTMLURL() + s = nil + s.GetPushProtectionBypassRequestHTMLURL() +} + +func TestSecretScanningAlert_GetPushProtectionBypassRequestReviewer(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlert{} + s.GetPushProtectionBypassRequestReviewer() + s = nil + s.GetPushProtectionBypassRequestReviewer() +} + +func TestSecretScanningAlert_GetPushProtectionBypassRequestReviewerComment(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningAlert{PushProtectionBypassRequestReviewerComment: &zeroValue} + s.GetPushProtectionBypassRequestReviewerComment() + s = &SecretScanningAlert{} + s.GetPushProtectionBypassRequestReviewerComment() + s = nil + s.GetPushProtectionBypassRequestReviewerComment() +} + +func TestSecretScanningAlert_GetRepository(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlert{} + s.GetRepository() + s = nil + s.GetRepository() +} + +func TestSecretScanningAlert_GetResolution(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningAlert{Resolution: &zeroValue} + s.GetResolution() + s = &SecretScanningAlert{} + s.GetResolution() + s = nil + s.GetResolution() +} + +func TestSecretScanningAlert_GetResolutionComment(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningAlert{ResolutionComment: &zeroValue} + s.GetResolutionComment() + s = &SecretScanningAlert{} + s.GetResolutionComment() + s = nil + s.GetResolutionComment() +} + +func TestSecretScanningAlert_GetResolvedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + s := &SecretScanningAlert{ResolvedAt: &zeroValue} + s.GetResolvedAt() + s = &SecretScanningAlert{} + s.GetResolvedAt() + s = nil + s.GetResolvedAt() +} + +func TestSecretScanningAlert_GetResolvedBy(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlert{} + s.GetResolvedBy() + s = nil + s.GetResolvedBy() +} + +func TestSecretScanningAlert_GetSecret(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningAlert{Secret: &zeroValue} + s.GetSecret() + s = &SecretScanningAlert{} + s.GetSecret() + s = nil + s.GetSecret() +} + +func TestSecretScanningAlert_GetSecretType(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningAlert{SecretType: &zeroValue} + s.GetSecretType() + s = &SecretScanningAlert{} + s.GetSecretType() + s = nil + s.GetSecretType() +} + +func TestSecretScanningAlert_GetSecretTypeDisplayName(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningAlert{SecretTypeDisplayName: &zeroValue} + s.GetSecretTypeDisplayName() + s = &SecretScanningAlert{} + s.GetSecretTypeDisplayName() + s = nil + s.GetSecretTypeDisplayName() +} + +func TestSecretScanningAlert_GetState(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningAlert{State: &zeroValue} + s.GetState() + s = &SecretScanningAlert{} + s.GetState() + s = nil + s.GetState() +} + +func TestSecretScanningAlert_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + s := &SecretScanningAlert{UpdatedAt: &zeroValue} + s.GetUpdatedAt() + s = &SecretScanningAlert{} + s.GetUpdatedAt() + s = nil + s.GetUpdatedAt() +} + +func TestSecretScanningAlert_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningAlert{URL: &zeroValue} + s.GetURL() + s = &SecretScanningAlert{} + s.GetURL() + s = nil + s.GetURL() +} + +func TestSecretScanningAlert_GetValidity(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningAlert{Validity: &zeroValue} + s.GetValidity() + s = &SecretScanningAlert{} + s.GetValidity() + s = nil + s.GetValidity() +} + +func TestSecretScanningAlertEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningAlertEvent{Action: &zeroValue} + s.GetAction() + s = &SecretScanningAlertEvent{} + s.GetAction() + s = nil + s.GetAction() +} + +func TestSecretScanningAlertEvent_GetAlert(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlertEvent{} + s.GetAlert() + s = nil + s.GetAlert() +} + +func TestSecretScanningAlertEvent_GetEnterprise(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlertEvent{} + s.GetEnterprise() + s = nil + s.GetEnterprise() +} + +func TestSecretScanningAlertEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlertEvent{} + s.GetInstallation() + s = nil + s.GetInstallation() +} + +func TestSecretScanningAlertEvent_GetOrganization(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlertEvent{} + s.GetOrganization() + s = nil + s.GetOrganization() +} + +func TestSecretScanningAlertEvent_GetRepo(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlertEvent{} + s.GetRepo() + s = nil + s.GetRepo() +} + +func TestSecretScanningAlertEvent_GetSender(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlertEvent{} + s.GetSender() + s = nil + 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{} + s.GetDetails() + s = nil + s.GetDetails() +} + +func TestSecretScanningAlertLocation_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningAlertLocation{Type: &zeroValue} + s.GetType() + s = &SecretScanningAlertLocation{} + s.GetType() + s = nil + s.GetType() +} + +func TestSecretScanningAlertLocationDetails_GetBlobSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningAlertLocationDetails{BlobSHA: &zeroValue} + s.GetBlobSHA() + s = &SecretScanningAlertLocationDetails{} + s.GetBlobSHA() + s = nil + s.GetBlobSHA() +} + +func TestSecretScanningAlertLocationDetails_GetBlobURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningAlertLocationDetails{BlobURL: &zeroValue} + s.GetBlobURL() + s = &SecretScanningAlertLocationDetails{} + s.GetBlobURL() + s = nil + s.GetBlobURL() +} + +func TestSecretScanningAlertLocationDetails_GetCommitSHA(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningAlertLocationDetails{CommitSHA: &zeroValue} + s.GetCommitSHA() + s = &SecretScanningAlertLocationDetails{} + s.GetCommitSHA() + s = nil + s.GetCommitSHA() +} + +func TestSecretScanningAlertLocationDetails_GetCommitURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningAlertLocationDetails{CommitURL: &zeroValue} + s.GetCommitURL() + s = &SecretScanningAlertLocationDetails{} + s.GetCommitURL() + s = nil + s.GetCommitURL() +} + +func TestSecretScanningAlertLocationDetails_GetEndColumn(tt *testing.T) { + tt.Parallel() + var zeroValue int + s := &SecretScanningAlertLocationDetails{EndColumn: &zeroValue} + s.GetEndColumn() + s = &SecretScanningAlertLocationDetails{} + s.GetEndColumn() + s = nil + s.GetEndColumn() +} + +func TestSecretScanningAlertLocationDetails_GetEndLine(tt *testing.T) { + tt.Parallel() + var zeroValue int + s := &SecretScanningAlertLocationDetails{EndLine: &zeroValue} + s.GetEndLine() + s = &SecretScanningAlertLocationDetails{} + s.GetEndLine() + s = nil + s.GetEndLine() +} + +func TestSecretScanningAlertLocationDetails_GetPath(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningAlertLocationDetails{Path: &zeroValue} + s.GetPath() + s = &SecretScanningAlertLocationDetails{} + s.GetPath() + s = nil + s.GetPath() +} + +func TestSecretScanningAlertLocationDetails_GetPullRequestCommentURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningAlertLocationDetails{PullRequestCommentURL: &zeroValue} + s.GetPullRequestCommentURL() + s = &SecretScanningAlertLocationDetails{} + s.GetPullRequestCommentURL() + s = nil + s.GetPullRequestCommentURL() +} + +func TestSecretScanningAlertLocationDetails_GetStartColumn(tt *testing.T) { + tt.Parallel() + var zeroValue int + s := &SecretScanningAlertLocationDetails{StartColumn: &zeroValue} + s.GetStartColumn() + s = &SecretScanningAlertLocationDetails{} + s.GetStartColumn() + s = nil + s.GetStartColumn() +} + +func TestSecretScanningAlertLocationDetails_GetStartline(tt *testing.T) { + tt.Parallel() + var zeroValue int + s := &SecretScanningAlertLocationDetails{Startline: &zeroValue} + s.GetStartline() + s = &SecretScanningAlertLocationDetails{} + s.GetStartline() + s = nil + s.GetStartline() +} + +func TestSecretScanningAlertLocationEvent_GetAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningAlertLocationEvent{Action: &zeroValue} + s.GetAction() + s = &SecretScanningAlertLocationEvent{} + s.GetAction() + s = nil + s.GetAction() +} + +func TestSecretScanningAlertLocationEvent_GetAlert(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlertLocationEvent{} + s.GetAlert() + s = nil + s.GetAlert() +} + +func TestSecretScanningAlertLocationEvent_GetInstallation(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlertLocationEvent{} + s.GetInstallation() + s = nil + s.GetInstallation() +} + +func TestSecretScanningAlertLocationEvent_GetLocation(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlertLocationEvent{} + s.GetLocation() + s = nil + s.GetLocation() +} + +func TestSecretScanningAlertLocationEvent_GetOrganization(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlertLocationEvent{} + s.GetOrganization() + s = nil + s.GetOrganization() +} + +func TestSecretScanningAlertLocationEvent_GetRepo(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlertLocationEvent{} + s.GetRepo() + s = nil + s.GetRepo() +} + +func TestSecretScanningAlertLocationEvent_GetSender(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlertLocationEvent{} + s.GetSender() + s = nil + s.GetSender() +} + +func TestSecretScanningAlertUpdateOptions_GetResolution(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningAlertUpdateOptions{Resolution: &zeroValue} + s.GetResolution() + s = &SecretScanningAlertUpdateOptions{} + s.GetResolution() + s = nil + s.GetResolution() +} + +func TestSecretScanningAlertUpdateOptions_GetResolutionComment(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningAlertUpdateOptions{ResolutionComment: &zeroValue} + s.GetResolutionComment() + s = &SecretScanningAlertUpdateOptions{} + s.GetResolutionComment() + s = nil + s.GetResolutionComment() +} + +func TestSecretScanningAlertUpdateOptions_GetState(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlertUpdateOptions{} + s.GetState() + s = nil + s.GetState() +} + +func TestSecretScanningCreateCustomPatternsRequest_GetPatterns(tt *testing.T) { + tt.Parallel() + zeroValue := []*SecretScanningCustomPatternRequest{} + s := &SecretScanningCreateCustomPatternsRequest{Patterns: zeroValue} + s.GetPatterns() + s = &SecretScanningCreateCustomPatternsRequest{} + s.GetPatterns() + s = nil + s.GetPatterns() +} + +func TestSecretScanningCreateCustomPatternsResponse_GetCreatedPatterns(tt *testing.T) { + tt.Parallel() + zeroValue := []*SecretScanningCustomPattern{} + s := &SecretScanningCreateCustomPatternsResponse{CreatedPatterns: zeroValue} + s.GetCreatedPatterns() + s = &SecretScanningCreateCustomPatternsResponse{} + s.GetCreatedPatterns() + s = nil + s.GetCreatedPatterns() +} + +func TestSecretScanningCustomPattern_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + s := &SecretScanningCustomPattern{CreatedAt: &zeroValue} + s.GetCreatedAt() + s = &SecretScanningCustomPattern{} + s.GetCreatedAt() + s = nil + s.GetCreatedAt() +} + +func TestSecretScanningCustomPattern_GetCustomPatternVersion(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningCustomPattern{CustomPatternVersion: &zeroValue} + s.GetCustomPatternVersion() + s = &SecretScanningCustomPattern{} + s.GetCustomPatternVersion() + s = nil + s.GetCustomPatternVersion() +} + +func TestSecretScanningCustomPattern_GetEndDelimiter(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningCustomPattern{EndDelimiter: &zeroValue} + s.GetEndDelimiter() + s = &SecretScanningCustomPattern{} + s.GetEndDelimiter() + s = nil + s.GetEndDelimiter() +} + +func TestSecretScanningCustomPattern_GetID(tt *testing.T) { + tt.Parallel() + s := &SecretScanningCustomPattern{} + s.GetID() + s = nil + s.GetID() +} + +func TestSecretScanningCustomPattern_GetMustMatch(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + s := &SecretScanningCustomPattern{MustMatch: zeroValue} + s.GetMustMatch() + s = &SecretScanningCustomPattern{} + s.GetMustMatch() + s = nil + s.GetMustMatch() +} + +func TestSecretScanningCustomPattern_GetMustNotMatch(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + s := &SecretScanningCustomPattern{MustNotMatch: zeroValue} + s.GetMustNotMatch() + s = &SecretScanningCustomPattern{} + s.GetMustNotMatch() + s = nil + s.GetMustNotMatch() +} + +func TestSecretScanningCustomPattern_GetName(tt *testing.T) { + tt.Parallel() + s := &SecretScanningCustomPattern{} + s.GetName() + s = nil + s.GetName() +} + +func TestSecretScanningCustomPattern_GetPattern(tt *testing.T) { + tt.Parallel() + s := &SecretScanningCustomPattern{} + s.GetPattern() + s = nil + s.GetPattern() +} + +func TestSecretScanningCustomPattern_GetPushProtectionEnabled(tt *testing.T) { + tt.Parallel() + s := &SecretScanningCustomPattern{} + s.GetPushProtectionEnabled() + s = nil + s.GetPushProtectionEnabled() +} + +func TestSecretScanningCustomPattern_GetSlug(tt *testing.T) { + tt.Parallel() + s := &SecretScanningCustomPattern{} + s.GetSlug() + s = nil + s.GetSlug() +} + +func TestSecretScanningCustomPattern_GetStartDelimiter(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningCustomPattern{StartDelimiter: &zeroValue} + s.GetStartDelimiter() + s = &SecretScanningCustomPattern{} + s.GetStartDelimiter() + s = nil + s.GetStartDelimiter() +} + +func TestSecretScanningCustomPattern_GetState(tt *testing.T) { + tt.Parallel() + s := &SecretScanningCustomPattern{} + s.GetState() + s = nil + s.GetState() +} + +func TestSecretScanningCustomPattern_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + s := &SecretScanningCustomPattern{UpdatedAt: &zeroValue} + s.GetUpdatedAt() + s = &SecretScanningCustomPattern{} + s.GetUpdatedAt() + s = nil + s.GetUpdatedAt() +} + +func TestSecretScanningCustomPatternListOptions_GetDirection(tt *testing.T) { + tt.Parallel() + s := &SecretScanningCustomPatternListOptions{} + s.GetDirection() + s = nil + s.GetDirection() +} + +func TestSecretScanningCustomPatternListOptions_GetPushProtection(tt *testing.T) { + tt.Parallel() + s := &SecretScanningCustomPatternListOptions{} + s.GetPushProtection() + s = nil + s.GetPushProtection() +} + +func TestSecretScanningCustomPatternListOptions_GetSort(tt *testing.T) { + tt.Parallel() + s := &SecretScanningCustomPatternListOptions{} + s.GetSort() + s = nil + s.GetSort() +} + +func TestSecretScanningCustomPatternListOptions_GetState(tt *testing.T) { + tt.Parallel() + s := &SecretScanningCustomPatternListOptions{} + s.GetState() + s = nil + s.GetState() +} + +func TestSecretScanningCustomPatternRequest_GetEndDelimiter(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningCustomPatternRequest{EndDelimiter: &zeroValue} + s.GetEndDelimiter() + s = &SecretScanningCustomPatternRequest{} + s.GetEndDelimiter() + s = nil + s.GetEndDelimiter() +} + +func TestSecretScanningCustomPatternRequest_GetMustMatch(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + s := &SecretScanningCustomPatternRequest{MustMatch: zeroValue} + s.GetMustMatch() + s = &SecretScanningCustomPatternRequest{} + s.GetMustMatch() + s = nil + s.GetMustMatch() +} + +func TestSecretScanningCustomPatternRequest_GetMustNotMatch(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + s := &SecretScanningCustomPatternRequest{MustNotMatch: zeroValue} + s.GetMustNotMatch() + s = &SecretScanningCustomPatternRequest{} + s.GetMustNotMatch() + s = nil + s.GetMustNotMatch() +} + +func TestSecretScanningCustomPatternRequest_GetName(tt *testing.T) { + tt.Parallel() + s := &SecretScanningCustomPatternRequest{} + s.GetName() + s = nil + s.GetName() +} + +func TestSecretScanningCustomPatternRequest_GetPattern(tt *testing.T) { + tt.Parallel() + s := &SecretScanningCustomPatternRequest{} + s.GetPattern() + s = nil + s.GetPattern() +} + +func TestSecretScanningCustomPatternRequest_GetStartDelimiter(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningCustomPatternRequest{StartDelimiter: &zeroValue} + s.GetStartDelimiter() + s = &SecretScanningCustomPatternRequest{} + s.GetStartDelimiter() + s = nil + s.GetStartDelimiter() +} + +func TestSecretScanningCustomPatternSetting_GetCustomPatternVersion(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningCustomPatternSetting{CustomPatternVersion: &zeroValue} + s.GetCustomPatternVersion() + s = &SecretScanningCustomPatternSetting{} + s.GetCustomPatternVersion() + s = nil + 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 TestSecretScanningCustomPatternToDelete_GetCustomPatternVersion(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningCustomPatternToDelete{CustomPatternVersion: &zeroValue} + s.GetCustomPatternVersion() + s = &SecretScanningCustomPatternToDelete{} + s.GetCustomPatternVersion() + s = nil + s.GetCustomPatternVersion() +} + +func TestSecretScanningCustomPatternToDelete_GetPatternID(tt *testing.T) { + tt.Parallel() + s := &SecretScanningCustomPatternToDelete{} + s.GetPatternID() + s = nil + s.GetPatternID() +} + +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 TestSecretScanningDeleteCustomPatternsRequest_GetPatterns(tt *testing.T) { + tt.Parallel() + zeroValue := []*SecretScanningCustomPatternToDelete{} + s := &SecretScanningDeleteCustomPatternsRequest{Patterns: zeroValue} + s.GetPatterns() + s = &SecretScanningDeleteCustomPatternsRequest{} + s.GetPatterns() + s = nil + s.GetPatterns() +} + +func TestSecretScanningDeleteCustomPatternsRequest_GetPostDeleteAction(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningDeleteCustomPatternsRequest{PostDeleteAction: &zeroValue} + s.GetPostDeleteAction() + s = &SecretScanningDeleteCustomPatternsRequest{} + s.GetPostDeleteAction() + s = nil + s.GetPostDeleteAction() +} + +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 + s := &SecretScanningPatternConfigs{PatternConfigVersion: &zeroValue} + s.GetPatternConfigVersion() + s = &SecretScanningPatternConfigs{} + s.GetPatternConfigVersion() + s = nil + s.GetPatternConfigVersion() +} + +func TestSecretScanningPatternConfigs_GetProviderPatternOverrides(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetAvgLOCDeleted() - c = nil - c.GetAvgLOCDeleted() + zeroValue := []*SecretScanningPatternOverride{} + s := &SecretScanningPatternConfigs{ProviderPatternOverrides: zeroValue} + s.GetProviderPatternOverrides() + s = &SecretScanningPatternConfigs{} + s.GetProviderPatternOverrides() + s = nil + s.GetProviderPatternOverrides() } -func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgPullRequestsCreated(tt *testing.T) { +func TestSecretScanningPatternConfigsUpdate_GetPatternConfigVersion(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetAvgPullRequestsCreated() - c = nil - c.GetAvgPullRequestsCreated() + var zeroValue string + s := &SecretScanningPatternConfigsUpdate{PatternConfigVersion: &zeroValue} + s.GetPatternConfigVersion() + s = &SecretScanningPatternConfigsUpdate{} + s.GetPatternConfigVersion() + s = nil + s.GetPatternConfigVersion() } -func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgPullRequestsMedianMinutesToMerge(tt *testing.T) { +func TestSecretScanningPatternConfigsUpdateOptions_GetCustomPatternSettings(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetAvgPullRequestsMedianMinutesToMerge() - c = nil - c.GetAvgPullRequestsMedianMinutesToMerge() + zeroValue := []*SecretScanningCustomPatternSetting{} + s := &SecretScanningPatternConfigsUpdateOptions{CustomPatternSettings: zeroValue} + s.GetCustomPatternSettings() + s = &SecretScanningPatternConfigsUpdateOptions{} + s.GetCustomPatternSettings() + s = nil + s.GetCustomPatternSettings() } -func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgPullRequestsMerged(tt *testing.T) { +func TestSecretScanningPatternConfigsUpdateOptions_GetPatternConfigVersion(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetAvgPullRequestsMerged() - c = nil - c.GetAvgPullRequestsMerged() + var zeroValue string + s := &SecretScanningPatternConfigsUpdateOptions{PatternConfigVersion: &zeroValue} + s.GetPatternConfigVersion() + s = &SecretScanningPatternConfigsUpdateOptions{} + s.GetPatternConfigVersion() + s = nil + s.GetPatternConfigVersion() } -func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgPullRequestsMinutesToReview(tt *testing.T) { +func TestSecretScanningPatternConfigsUpdateOptions_GetProviderPatternSettings(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetAvgPullRequestsMinutesToReview() - c = nil - c.GetAvgPullRequestsMinutesToReview() + zeroValue := []*SecretScanningProviderPatternSetting{} + s := &SecretScanningPatternConfigsUpdateOptions{ProviderPatternSettings: zeroValue} + s.GetProviderPatternSettings() + s = &SecretScanningPatternConfigsUpdateOptions{} + s.GetProviderPatternSettings() + s = nil + s.GetProviderPatternSettings() } -func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgPullRequestsReviewCycles(tt *testing.T) { +func TestSecretScanningPatternOverride_GetAlertTotal(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetAvgPullRequestsReviewCycles() - c = nil - c.GetAvgPullRequestsReviewCycles() + var zeroValue int + s := &SecretScanningPatternOverride{AlertTotal: &zeroValue} + s.GetAlertTotal() + s = &SecretScanningPatternOverride{} + s.GetAlertTotal() + s = nil + s.GetAlertTotal() } -func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgPullRequestsReviewed(tt *testing.T) { +func TestSecretScanningPatternOverride_GetAlertTotalPercentage(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetAvgPullRequestsReviewed() - c = nil - c.GetAvgPullRequestsReviewed() + var zeroValue int + s := &SecretScanningPatternOverride{AlertTotalPercentage: &zeroValue} + s.GetAlertTotalPercentage() + s = &SecretScanningPatternOverride{} + s.GetAlertTotalPercentage() + s = nil + s.GetAlertTotalPercentage() } -func TestCopilotMetricsAIAdoptionPhaseTotals_GetAvgUserInitiatedInteractions(tt *testing.T) { +func TestSecretScanningPatternOverride_GetBypassrate(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetAvgUserInitiatedInteractions() - c = nil - c.GetAvgUserInitiatedInteractions() + var zeroValue int + s := &SecretScanningPatternOverride{Bypassrate: &zeroValue} + s.GetBypassrate() + s = &SecretScanningPatternOverride{} + s.GetBypassrate() + s = nil + s.GetBypassrate() } -func TestCopilotMetricsAIAdoptionPhaseTotals_GetPhase(tt *testing.T) { +func TestSecretScanningPatternOverride_GetCustomPatternVersion(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetPhase() - c = nil - c.GetPhase() + var zeroValue string + s := &SecretScanningPatternOverride{CustomPatternVersion: &zeroValue} + s.GetCustomPatternVersion() + s = &SecretScanningPatternOverride{} + s.GetCustomPatternVersion() + s = nil + s.GetCustomPatternVersion() } -func TestCopilotMetricsAIAdoptionPhaseTotals_GetPhaseNumber(tt *testing.T) { +func TestSecretScanningPatternOverride_GetDefaultSetting(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetPhaseNumber() - c = nil - c.GetPhaseNumber() + var zeroValue string + s := &SecretScanningPatternOverride{DefaultSetting: &zeroValue} + s.GetDefaultSetting() + s = &SecretScanningPatternOverride{} + s.GetDefaultSetting() + s = nil + s.GetDefaultSetting() } -func TestCopilotMetricsAIAdoptionPhaseTotals_GetTotalEngagedUsers(tt *testing.T) { +func TestSecretScanningPatternOverride_GetDisplayName(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetTotalEngagedUsers() - c = nil - c.GetTotalEngagedUsers() + var zeroValue string + s := &SecretScanningPatternOverride{DisplayName: &zeroValue} + s.GetDisplayName() + s = &SecretScanningPatternOverride{} + s.GetDisplayName() + s = nil + s.GetDisplayName() } -func TestCopilotMetricsAIAdoptionPhaseTotals_GetTotalPullRequestsMerged(tt *testing.T) { +func TestSecretScanningPatternOverride_GetEnterpriseSetting(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsAIAdoptionPhaseTotals{} - c.GetTotalPullRequestsMerged() - c = nil - c.GetTotalPullRequestsMerged() + var zeroValue string + s := &SecretScanningPatternOverride{EnterpriseSetting: &zeroValue} + s.GetEnterpriseSetting() + s = &SecretScanningPatternOverride{} + s.GetEnterpriseSetting() + s = nil + s.GetEnterpriseSetting() } -func TestCopilotMetricsChatPanel_GetChatPanelAgentMode(tt *testing.T) { +func TestSecretScanningPatternOverride_GetFalsePositiveRate(tt *testing.T) { tt.Parallel() var zeroValue int - c := &CopilotMetricsChatPanel{ChatPanelAgentMode: &zeroValue} - c.GetChatPanelAgentMode() - c = &CopilotMetricsChatPanel{} - c.GetChatPanelAgentMode() - c = nil - c.GetChatPanelAgentMode() + s := &SecretScanningPatternOverride{FalsePositiveRate: &zeroValue} + s.GetFalsePositiveRate() + s = &SecretScanningPatternOverride{} + s.GetFalsePositiveRate() + s = nil + s.GetFalsePositiveRate() } -func TestCopilotMetricsChatPanel_GetChatPanelAskMode(tt *testing.T) { +func TestSecretScanningPatternOverride_GetFalsePositives(tt *testing.T) { tt.Parallel() var zeroValue int - c := &CopilotMetricsChatPanel{ChatPanelAskMode: &zeroValue} - c.GetChatPanelAskMode() - c = &CopilotMetricsChatPanel{} - c.GetChatPanelAskMode() - c = nil - c.GetChatPanelAskMode() + s := &SecretScanningPatternOverride{FalsePositives: &zeroValue} + s.GetFalsePositives() + s = &SecretScanningPatternOverride{} + s.GetFalsePositives() + s = nil + s.GetFalsePositives() } -func TestCopilotMetricsChatPanel_GetChatPanelCustomMode(tt *testing.T) { +func TestSecretScanningPatternOverride_GetSetting(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsChatPanel{ChatPanelCustomMode: &zeroValue} - c.GetChatPanelCustomMode() - c = &CopilotMetricsChatPanel{} - c.GetChatPanelCustomMode() - c = nil - c.GetChatPanelCustomMode() + var zeroValue string + s := &SecretScanningPatternOverride{Setting: &zeroValue} + s.GetSetting() + s = &SecretScanningPatternOverride{} + s.GetSetting() + s = nil + s.GetSetting() } -func TestCopilotMetricsChatPanel_GetChatPanelEditMode(tt *testing.T) { +func TestSecretScanningPatternOverride_GetSlug(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsChatPanel{ChatPanelEditMode: &zeroValue} - c.GetChatPanelEditMode() - c = &CopilotMetricsChatPanel{} - c.GetChatPanelEditMode() - c = nil - c.GetChatPanelEditMode() + var zeroValue string + s := &SecretScanningPatternOverride{Slug: &zeroValue} + s.GetSlug() + s = &SecretScanningPatternOverride{} + s.GetSlug() + s = nil + s.GetSlug() } -func TestCopilotMetricsChatPanel_GetChatPanelUnknownMode(tt *testing.T) { +func TestSecretScanningPatternOverride_GetTokenType(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsChatPanel{ChatPanelUnknownMode: &zeroValue} - c.GetChatPanelUnknownMode() - c = &CopilotMetricsChatPanel{} - c.GetChatPanelUnknownMode() - c = nil - c.GetChatPanelUnknownMode() + var zeroValue string + s := &SecretScanningPatternOverride{TokenType: &zeroValue} + s.GetTokenType() + s = &SecretScanningPatternOverride{} + s.GetTokenType() + s = nil + s.GetTokenType() } -func TestCopilotMetricsCLI_GetLastKnownCLIVersion(tt *testing.T) { +func TestSecretScanningProviderPatternSetting_GetPushProtectionSetting(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsCLI{} - c.GetLastKnownCLIVersion() - c = nil - c.GetLastKnownCLIVersion() + s := &SecretScanningProviderPatternSetting{} + s.GetPushProtectionSetting() + s = nil + s.GetPushProtectionSetting() } -func TestCopilotMetricsCLI_GetPromptCount(tt *testing.T) { +func TestSecretScanningProviderPatternSetting_GetTokenType(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsCLI{PromptCount: &zeroValue} - c.GetPromptCount() - c = &CopilotMetricsCLI{} - c.GetPromptCount() - c = nil - c.GetPromptCount() + s := &SecretScanningProviderPatternSetting{} + s.GetTokenType() + s = nil + s.GetTokenType() } -func TestCopilotMetricsCLI_GetRequestCount(tt *testing.T) { +func TestSecretScanningPushProtection_GetStatus(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsCLI{RequestCount: &zeroValue} - c.GetRequestCount() - c = &CopilotMetricsCLI{} - c.GetRequestCount() - c = nil - c.GetRequestCount() + var zeroValue string + s := &SecretScanningPushProtection{Status: &zeroValue} + s.GetStatus() + s = &SecretScanningPushProtection{} + s.GetStatus() + s = nil + s.GetStatus() } -func TestCopilotMetricsCLI_GetSessionCount(tt *testing.T) { +func TestSecretScanningScanHistory_GetBackfillScans(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsCLI{SessionCount: &zeroValue} - c.GetSessionCount() - c = &CopilotMetricsCLI{} - c.GetSessionCount() - c = nil - c.GetSessionCount() + zeroValue := []*SecretsScan{} + s := &SecretScanningScanHistory{BackfillScans: zeroValue} + s.GetBackfillScans() + s = &SecretScanningScanHistory{} + s.GetBackfillScans() + s = nil + s.GetBackfillScans() } -func TestCopilotMetricsCLI_GetTokenUsage(tt *testing.T) { +func TestSecretScanningScanHistory_GetCustomPatternBackfillScans(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsCLI{} - c.GetTokenUsage() - c = nil - c.GetTokenUsage() + zeroValue := []*CustomPatternBackfillScan{} + s := &SecretScanningScanHistory{CustomPatternBackfillScans: zeroValue} + s.GetCustomPatternBackfillScans() + s = &SecretScanningScanHistory{} + s.GetCustomPatternBackfillScans() + s = nil + s.GetCustomPatternBackfillScans() } -func TestCopilotMetricsCLITokenUsage_GetAvgTokensPerRequest(tt *testing.T) { +func TestSecretScanningScanHistory_GetIncrementalScans(tt *testing.T) { tt.Parallel() - var zeroValue float64 - c := &CopilotMetricsCLITokenUsage{AvgTokensPerRequest: &zeroValue} - c.GetAvgTokensPerRequest() - c = &CopilotMetricsCLITokenUsage{} - c.GetAvgTokensPerRequest() - c = nil - c.GetAvgTokensPerRequest() + zeroValue := []*SecretsScan{} + s := &SecretScanningScanHistory{IncrementalScans: zeroValue} + s.GetIncrementalScans() + s = &SecretScanningScanHistory{} + s.GetIncrementalScans() + s = nil + s.GetIncrementalScans() } -func TestCopilotMetricsCLITokenUsage_GetOutputTokensSum(tt *testing.T) { +func TestSecretScanningScanHistory_GetPatternUpdateScans(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsCLITokenUsage{OutputTokensSum: &zeroValue} - c.GetOutputTokensSum() - c = &CopilotMetricsCLITokenUsage{} - c.GetOutputTokensSum() - c = nil - c.GetOutputTokensSum() + zeroValue := []*SecretsScan{} + s := &SecretScanningScanHistory{PatternUpdateScans: zeroValue} + s.GetPatternUpdateScans() + s = &SecretScanningScanHistory{} + s.GetPatternUpdateScans() + s = nil + s.GetPatternUpdateScans() } -func TestCopilotMetricsCLITokenUsage_GetPromptTokensSum(tt *testing.T) { +func TestSecretScanningUpdateCustomPatternRequest_GetCustomPatternVersion(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsCLITokenUsage{PromptTokensSum: &zeroValue} - c.GetPromptTokensSum() - c = &CopilotMetricsCLITokenUsage{} - c.GetPromptTokensSum() - c = nil - c.GetPromptTokensSum() + var zeroValue string + s := &SecretScanningUpdateCustomPatternRequest{CustomPatternVersion: &zeroValue} + s.GetCustomPatternVersion() + s = &SecretScanningUpdateCustomPatternRequest{} + s.GetCustomPatternVersion() + s = nil + s.GetCustomPatternVersion() } -func TestCopilotMetricsCLIVersion_GetCLIVersion(tt *testing.T) { +func TestSecretScanningUpdateCustomPatternRequest_GetEndDelimiter(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsCLIVersion{} - c.GetCLIVersion() - c = nil - c.GetCLIVersion() + var zeroValue string + s := &SecretScanningUpdateCustomPatternRequest{EndDelimiter: &zeroValue} + s.GetEndDelimiter() + s = &SecretScanningUpdateCustomPatternRequest{} + s.GetEndDelimiter() + s = nil + s.GetEndDelimiter() } -func TestCopilotMetricsCLIVersion_GetSampledAt(tt *testing.T) { +func TestSecretScanningUpdateCustomPatternRequest_GetMustMatch(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + s := &SecretScanningUpdateCustomPatternRequest{MustMatch: zeroValue} + s.GetMustMatch() + s = &SecretScanningUpdateCustomPatternRequest{} + s.GetMustMatch() + s = nil + s.GetMustMatch() +} + +func TestSecretScanningUpdateCustomPatternRequest_GetMustNotMatch(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + s := &SecretScanningUpdateCustomPatternRequest{MustNotMatch: zeroValue} + s.GetMustNotMatch() + s = &SecretScanningUpdateCustomPatternRequest{} + s.GetMustNotMatch() + s = nil + s.GetMustNotMatch() +} + +func TestSecretScanningUpdateCustomPatternRequest_GetPattern(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningUpdateCustomPatternRequest{Pattern: &zeroValue} + s.GetPattern() + s = &SecretScanningUpdateCustomPatternRequest{} + s.GetPattern() + s = nil + s.GetPattern() +} + +func TestSecretScanningUpdateCustomPatternRequest_GetStartDelimiter(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningUpdateCustomPatternRequest{StartDelimiter: &zeroValue} + s.GetStartDelimiter() + s = &SecretScanningUpdateCustomPatternRequest{} + s.GetStartDelimiter() + s = nil + s.GetStartDelimiter() +} + +func TestSecretScanningValidityChecks_GetStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + s := &SecretScanningValidityChecks{Status: &zeroValue} + s.GetStatus() + s = &SecretScanningValidityChecks{} + s.GetStatus() + s = nil + s.GetStatus() +} + +func TestSecretsScan_GetCompletedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp - c := &CopilotMetricsCLIVersion{SampledAt: &zeroValue} - c.GetSampledAt() - c = &CopilotMetricsCLIVersion{} - c.GetSampledAt() - c = nil - c.GetSampledAt() + s := &SecretsScan{CompletedAt: &zeroValue} + s.GetCompletedAt() + s = &SecretsScan{} + s.GetCompletedAt() + s = nil + s.GetCompletedAt() +} + +func TestSecretsScan_GetStartedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + s := &SecretsScan{StartedAt: &zeroValue} + s.GetStartedAt() + s = &SecretsScan{} + s.GetStartedAt() + s = nil + 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 TestCopilotMetricsCodeActivity_GetCodeAcceptanceActivityCount(tt *testing.T) { +func TestSecurityAdvisory_GetAuthor(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsCodeActivity{CodeAcceptanceActivityCount: &zeroValue} - c.GetCodeAcceptanceActivityCount() - c = &CopilotMetricsCodeActivity{} - c.GetCodeAcceptanceActivityCount() - c = nil - c.GetCodeAcceptanceActivityCount() + s := &SecurityAdvisory{} + s.GetAuthor() + s = nil + s.GetAuthor() } -func TestCopilotMetricsCodeActivity_GetCodeGenerationActivityCount(tt *testing.T) { +func TestSecurityAdvisory_GetClosedAt(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsCodeActivity{CodeGenerationActivityCount: &zeroValue} - c.GetCodeGenerationActivityCount() - c = &CopilotMetricsCodeActivity{} - c.GetCodeGenerationActivityCount() - c = nil - c.GetCodeGenerationActivityCount() + var zeroValue Timestamp + s := &SecurityAdvisory{ClosedAt: &zeroValue} + s.GetClosedAt() + s = &SecurityAdvisory{} + s.GetClosedAt() + s = nil + s.GetClosedAt() } -func TestCopilotMetricsCodeActivity_GetLOCAddedSum(tt *testing.T) { +func TestSecurityAdvisory_GetCollaboratingTeams(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsCodeActivity{LOCAddedSum: &zeroValue} - c.GetLOCAddedSum() - c = &CopilotMetricsCodeActivity{} - c.GetLOCAddedSum() - c = nil - c.GetLOCAddedSum() + zeroValue := []*Team{} + s := &SecurityAdvisory{CollaboratingTeams: zeroValue} + s.GetCollaboratingTeams() + s = &SecurityAdvisory{} + s.GetCollaboratingTeams() + s = nil + s.GetCollaboratingTeams() } -func TestCopilotMetricsCodeActivity_GetLOCDeletedSum(tt *testing.T) { +func TestSecurityAdvisory_GetCollaboratingUsers(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsCodeActivity{LOCDeletedSum: &zeroValue} - c.GetLOCDeletedSum() - c = &CopilotMetricsCodeActivity{} - c.GetLOCDeletedSum() - c = nil - c.GetLOCDeletedSum() + zeroValue := []*User{} + s := &SecurityAdvisory{CollaboratingUsers: zeroValue} + s.GetCollaboratingUsers() + s = &SecurityAdvisory{} + s.GetCollaboratingUsers() + s = nil + s.GetCollaboratingUsers() } -func TestCopilotMetricsCodeActivity_GetLOCSuggestedToAddSum(tt *testing.T) { +func TestSecurityAdvisory_GetCreatedAt(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsCodeActivity{LOCSuggestedToAddSum: &zeroValue} - c.GetLOCSuggestedToAddSum() - c = &CopilotMetricsCodeActivity{} - c.GetLOCSuggestedToAddSum() - c = nil - c.GetLOCSuggestedToAddSum() + var zeroValue Timestamp + s := &SecurityAdvisory{CreatedAt: &zeroValue} + s.GetCreatedAt() + s = &SecurityAdvisory{} + s.GetCreatedAt() + s = nil + s.GetCreatedAt() } -func TestCopilotMetricsCodeActivity_GetLOCSuggestedToDeleteSum(tt *testing.T) { +func TestSecurityAdvisory_GetCredits(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsCodeActivity{LOCSuggestedToDeleteSum: &zeroValue} - c.GetLOCSuggestedToDeleteSum() - c = &CopilotMetricsCodeActivity{} - c.GetLOCSuggestedToDeleteSum() - c = nil - c.GetLOCSuggestedToDeleteSum() + zeroValue := []*RepoAdvisoryCredit{} + s := &SecurityAdvisory{Credits: zeroValue} + s.GetCredits() + s = &SecurityAdvisory{} + s.GetCredits() + s = nil + s.GetCredits() } -func TestCopilotMetricsCopilotApp_GetPromptCount(tt *testing.T) { +func TestSecurityAdvisory_GetCreditsDetailed(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsCopilotApp{PromptCount: &zeroValue} - c.GetPromptCount() - c = &CopilotMetricsCopilotApp{} - c.GetPromptCount() - c = nil - c.GetPromptCount() + zeroValue := []*RepoAdvisoryCreditDetailed{} + s := &SecurityAdvisory{CreditsDetailed: zeroValue} + s.GetCreditsDetailed() + s = &SecurityAdvisory{} + s.GetCreditsDetailed() + s = nil + s.GetCreditsDetailed() } -func TestCopilotMetricsCopilotApp_GetRequestCount(tt *testing.T) { +func TestSecurityAdvisory_GetCVEID(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsCopilotApp{RequestCount: &zeroValue} - c.GetRequestCount() - c = &CopilotMetricsCopilotApp{} - c.GetRequestCount() - c = nil - c.GetRequestCount() + var zeroValue string + s := &SecurityAdvisory{CVEID: &zeroValue} + s.GetCVEID() + s = &SecurityAdvisory{} + s.GetCVEID() + s = nil + s.GetCVEID() } -func TestCopilotMetricsCopilotApp_GetSessionCount(tt *testing.T) { +func TestSecurityAdvisory_GetCVSS(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsCopilotApp{SessionCount: &zeroValue} - c.GetSessionCount() - c = &CopilotMetricsCopilotApp{} - c.GetSessionCount() - c = nil - c.GetSessionCount() + s := &SecurityAdvisory{} + s.GetCVSS() + s = nil + s.GetCVSS() } -func TestCopilotMetricsCopilotApp_GetTokenUsage(tt *testing.T) { +func TestSecurityAdvisory_GetCVSSSeverities(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsCopilotApp{} - c.GetTokenUsage() - c = nil - c.GetTokenUsage() + s := &SecurityAdvisory{} + s.GetCVSSSeverities() + s = nil + s.GetCVSSSeverities() } -func TestCopilotMetricsCopilotAppTokenUsage_GetAvgTokensPerRequest(tt *testing.T) { +func TestSecurityAdvisory_GetCWEIDs(tt *testing.T) { tt.Parallel() - var zeroValue float64 - c := &CopilotMetricsCopilotAppTokenUsage{AvgTokensPerRequest: &zeroValue} - c.GetAvgTokensPerRequest() - c = &CopilotMetricsCopilotAppTokenUsage{} - c.GetAvgTokensPerRequest() - c = nil - c.GetAvgTokensPerRequest() + zeroValue := []string{} + s := &SecurityAdvisory{CWEIDs: zeroValue} + s.GetCWEIDs() + s = &SecurityAdvisory{} + s.GetCWEIDs() + s = nil + s.GetCWEIDs() } -func TestCopilotMetricsCopilotAppTokenUsage_GetOutputTokensSum(tt *testing.T) { +func TestSecurityAdvisory_GetCWEs(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsCopilotAppTokenUsage{OutputTokensSum: &zeroValue} - c.GetOutputTokensSum() - c = &CopilotMetricsCopilotAppTokenUsage{} - c.GetOutputTokensSum() - c = nil - c.GetOutputTokensSum() + zeroValue := []*AdvisoryCWEs{} + s := &SecurityAdvisory{CWEs: zeroValue} + s.GetCWEs() + s = &SecurityAdvisory{} + s.GetCWEs() + s = nil + s.GetCWEs() } -func TestCopilotMetricsCopilotAppTokenUsage_GetPromptTokensSum(tt *testing.T) { +func TestSecurityAdvisory_GetDescription(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsCopilotAppTokenUsage{PromptTokensSum: &zeroValue} - c.GetPromptTokensSum() - c = &CopilotMetricsCopilotAppTokenUsage{} - c.GetPromptTokensSum() - c = nil - c.GetPromptTokensSum() + var zeroValue string + s := &SecurityAdvisory{Description: &zeroValue} + s.GetDescription() + s = &SecurityAdvisory{} + s.GetDescription() + s = nil + s.GetDescription() } -func TestCopilotMetricsCopilotSuggestionByCommentType_GetCommentType(tt *testing.T) { +func TestSecurityAdvisory_GetGHSAID(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsCopilotSuggestionByCommentType{} - c.GetCommentType() - c = nil - c.GetCommentType() + var zeroValue string + s := &SecurityAdvisory{GHSAID: &zeroValue} + s.GetGHSAID() + s = &SecurityAdvisory{} + s.GetGHSAID() + s = nil + s.GetGHSAID() } -func TestCopilotMetricsCopilotSuggestionByCommentType_GetTotalCopilotAppliedSuggestions(tt *testing.T) { +func TestSecurityAdvisory_GetHTMLURL(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsCopilotSuggestionByCommentType{TotalCopilotAppliedSuggestions: &zeroValue} - c.GetTotalCopilotAppliedSuggestions() - c = &CopilotMetricsCopilotSuggestionByCommentType{} - c.GetTotalCopilotAppliedSuggestions() - c = nil - c.GetTotalCopilotAppliedSuggestions() + var zeroValue string + s := &SecurityAdvisory{HTMLURL: &zeroValue} + s.GetHTMLURL() + s = &SecurityAdvisory{} + s.GetHTMLURL() + s = nil + s.GetHTMLURL() } -func TestCopilotMetricsCopilotSuggestionByCommentType_GetTotalCopilotSuggestions(tt *testing.T) { +func TestSecurityAdvisory_GetIdentifiers(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsCopilotSuggestionByCommentType{TotalCopilotSuggestions: &zeroValue} - c.GetTotalCopilotSuggestions() - c = &CopilotMetricsCopilotSuggestionByCommentType{} - c.GetTotalCopilotSuggestions() - c = nil - c.GetTotalCopilotSuggestions() + zeroValue := []*AdvisoryIdentifier{} + s := &SecurityAdvisory{Identifiers: zeroValue} + s.GetIdentifiers() + s = &SecurityAdvisory{} + s.GetIdentifiers() + s = nil + s.GetIdentifiers() } -func TestCopilotMetricsFeature_GetFeature(tt *testing.T) { +func TestSecurityAdvisory_GetPrivateFork(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsFeature{} - c.GetFeature() - c = nil - c.GetFeature() + s := &SecurityAdvisory{} + s.GetPrivateFork() + s = nil + s.GetPrivateFork() } -func TestCopilotMetricsFeature_GetUserInitiatedInteractionCount(tt *testing.T) { +func TestSecurityAdvisory_GetPublishedAt(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsFeature{UserInitiatedInteractionCount: &zeroValue} - c.GetUserInitiatedInteractionCount() - c = &CopilotMetricsFeature{} - c.GetUserInitiatedInteractionCount() - c = nil - c.GetUserInitiatedInteractionCount() + var zeroValue Timestamp + s := &SecurityAdvisory{PublishedAt: &zeroValue} + s.GetPublishedAt() + s = &SecurityAdvisory{} + s.GetPublishedAt() + s = nil + s.GetPublishedAt() } -func TestCopilotMetricsIDE_GetIDE(tt *testing.T) { +func TestSecurityAdvisory_GetPublisher(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsIDE{} - c.GetIDE() - c = nil - c.GetIDE() + s := &SecurityAdvisory{} + s.GetPublisher() + s = nil + s.GetPublisher() } -func TestCopilotMetricsIDE_GetUserInitiatedInteractionCount(tt *testing.T) { +func TestSecurityAdvisory_GetReferences(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsIDE{UserInitiatedInteractionCount: &zeroValue} - c.GetUserInitiatedInteractionCount() - c = &CopilotMetricsIDE{} - c.GetUserInitiatedInteractionCount() - c = nil - c.GetUserInitiatedInteractionCount() + zeroValue := []*AdvisoryReference{} + s := &SecurityAdvisory{References: zeroValue} + s.GetReferences() + s = &SecurityAdvisory{} + s.GetReferences() + s = nil + s.GetReferences() } -func TestCopilotMetricsLanguageFeature_GetFeature(tt *testing.T) { +func TestSecurityAdvisory_GetSeverity(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsLanguageFeature{} - c.GetFeature() - c = nil - c.GetFeature() + var zeroValue string + s := &SecurityAdvisory{Severity: &zeroValue} + s.GetSeverity() + s = &SecurityAdvisory{} + s.GetSeverity() + s = nil + s.GetSeverity() } -func TestCopilotMetricsLanguageFeature_GetLanguage(tt *testing.T) { +func TestSecurityAdvisory_GetState(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsLanguageFeature{} - c.GetLanguage() - c = nil - c.GetLanguage() + var zeroValue string + s := &SecurityAdvisory{State: &zeroValue} + s.GetState() + s = &SecurityAdvisory{} + s.GetState() + s = nil + s.GetState() } -func TestCopilotMetricsLanguageModel_GetLanguage(tt *testing.T) { +func TestSecurityAdvisory_GetSubmission(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsLanguageModel{} - c.GetLanguage() - c = nil - c.GetLanguage() + s := &SecurityAdvisory{} + s.GetSubmission() + s = nil + s.GetSubmission() } -func TestCopilotMetricsLanguageModel_GetModel(tt *testing.T) { +func TestSecurityAdvisory_GetSummary(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsLanguageModel{} - c.GetModel() - c = nil - c.GetModel() + var zeroValue string + s := &SecurityAdvisory{Summary: &zeroValue} + s.GetSummary() + s = &SecurityAdvisory{} + s.GetSummary() + s = nil + s.GetSummary() } -func TestCopilotMetricsListOptions_GetSince(tt *testing.T) { +func TestSecurityAdvisory_GetUpdatedAt(tt *testing.T) { tt.Parallel() - var zeroValue time.Time - c := &CopilotMetricsListOptions{Since: &zeroValue} - c.GetSince() - c = &CopilotMetricsListOptions{} - c.GetSince() - c = nil - c.GetSince() + var zeroValue Timestamp + s := &SecurityAdvisory{UpdatedAt: &zeroValue} + s.GetUpdatedAt() + s = &SecurityAdvisory{} + s.GetUpdatedAt() + s = nil + s.GetUpdatedAt() } -func TestCopilotMetricsListOptions_GetUntil(tt *testing.T) { +func TestSecurityAdvisory_GetURL(tt *testing.T) { tt.Parallel() - var zeroValue time.Time - c := &CopilotMetricsListOptions{Until: &zeroValue} - c.GetUntil() - c = &CopilotMetricsListOptions{} - c.GetUntil() - c = nil - c.GetUntil() + var zeroValue string + s := &SecurityAdvisory{URL: &zeroValue} + s.GetURL() + s = &SecurityAdvisory{} + s.GetURL() + s = nil + s.GetURL() } -func TestCopilotMetricsModelFeature_GetFeature(tt *testing.T) { +func TestSecurityAdvisory_GetVulnerabilities(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsModelFeature{} - c.GetFeature() - c = nil - c.GetFeature() + zeroValue := []*AdvisoryVulnerability{} + s := &SecurityAdvisory{Vulnerabilities: zeroValue} + s.GetVulnerabilities() + s = &SecurityAdvisory{} + s.GetVulnerabilities() + s = nil + s.GetVulnerabilities() } -func TestCopilotMetricsModelFeature_GetModel(tt *testing.T) { +func TestSecurityAdvisory_GetWithdrawnAt(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsModelFeature{} - c.GetModel() - c = nil - c.GetModel() + var zeroValue Timestamp + s := &SecurityAdvisory{WithdrawnAt: &zeroValue} + s.GetWithdrawnAt() + s = &SecurityAdvisory{} + s.GetWithdrawnAt() + s = nil + s.GetWithdrawnAt() } -func TestCopilotMetricsModelFeature_GetUserInitiatedInteractionCount(tt *testing.T) { +func TestSecurityAdvisoryEvent_GetAction(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsModelFeature{UserInitiatedInteractionCount: &zeroValue} - c.GetUserInitiatedInteractionCount() - c = &CopilotMetricsModelFeature{} - c.GetUserInitiatedInteractionCount() - c = nil - c.GetUserInitiatedInteractionCount() + var zeroValue string + s := &SecurityAdvisoryEvent{Action: &zeroValue} + s.GetAction() + s = &SecurityAdvisoryEvent{} + s.GetAction() + s = nil + s.GetAction() } -func TestCopilotMetricsPullRequests_GetCopilotSuggestionsByCommentType(tt *testing.T) { +func TestSecurityAdvisoryEvent_GetEnterprise(tt *testing.T) { tt.Parallel() - zeroValue := []*CopilotMetricsCopilotSuggestionByCommentType{} - c := &CopilotMetricsPullRequests{CopilotSuggestionsByCommentType: zeroValue} - c.GetCopilotSuggestionsByCommentType() - c = &CopilotMetricsPullRequests{} - c.GetCopilotSuggestionsByCommentType() - c = nil - c.GetCopilotSuggestionsByCommentType() + s := &SecurityAdvisoryEvent{} + s.GetEnterprise() + s = nil + s.GetEnterprise() } -func TestCopilotMetricsPullRequests_GetMedianMinutesToMerge(tt *testing.T) { +func TestSecurityAdvisoryEvent_GetInstallation(tt *testing.T) { tt.Parallel() - var zeroValue float64 - c := &CopilotMetricsPullRequests{MedianMinutesToMerge: &zeroValue} - c.GetMedianMinutesToMerge() - c = &CopilotMetricsPullRequests{} - c.GetMedianMinutesToMerge() - c = nil - c.GetMedianMinutesToMerge() + s := &SecurityAdvisoryEvent{} + s.GetInstallation() + s = nil + s.GetInstallation() } -func TestCopilotMetricsPullRequests_GetMedianMinutesToMergeCopilotAuthored(tt *testing.T) { +func TestSecurityAdvisoryEvent_GetOrganization(tt *testing.T) { tt.Parallel() - var zeroValue float64 - c := &CopilotMetricsPullRequests{MedianMinutesToMergeCopilotAuthored: &zeroValue} - c.GetMedianMinutesToMergeCopilotAuthored() - c = &CopilotMetricsPullRequests{} - c.GetMedianMinutesToMergeCopilotAuthored() - c = nil - c.GetMedianMinutesToMergeCopilotAuthored() + s := &SecurityAdvisoryEvent{} + s.GetOrganization() + s = nil + s.GetOrganization() } -func TestCopilotMetricsPullRequests_GetMedianMinutesToMergeCopilotReviewed(tt *testing.T) { +func TestSecurityAdvisoryEvent_GetRepository(tt *testing.T) { tt.Parallel() - var zeroValue float64 - c := &CopilotMetricsPullRequests{MedianMinutesToMergeCopilotReviewed: &zeroValue} - c.GetMedianMinutesToMergeCopilotReviewed() - c = &CopilotMetricsPullRequests{} - c.GetMedianMinutesToMergeCopilotReviewed() - c = nil - c.GetMedianMinutesToMergeCopilotReviewed() + s := &SecurityAdvisoryEvent{} + s.GetRepository() + s = nil + s.GetRepository() } -func TestCopilotMetricsPullRequests_GetTotalAppliedSuggestions(tt *testing.T) { +func TestSecurityAdvisoryEvent_GetSecurityAdvisory(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsPullRequests{TotalAppliedSuggestions: &zeroValue} - c.GetTotalAppliedSuggestions() - c = &CopilotMetricsPullRequests{} - c.GetTotalAppliedSuggestions() - c = nil - c.GetTotalAppliedSuggestions() + s := &SecurityAdvisoryEvent{} + s.GetSecurityAdvisory() + s = nil + s.GetSecurityAdvisory() } -func TestCopilotMetricsPullRequests_GetTotalCopilotAppliedSuggestions(tt *testing.T) { +func TestSecurityAdvisoryEvent_GetSender(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsPullRequests{TotalCopilotAppliedSuggestions: &zeroValue} - c.GetTotalCopilotAppliedSuggestions() - c = &CopilotMetricsPullRequests{} - c.GetTotalCopilotAppliedSuggestions() - c = nil - c.GetTotalCopilotAppliedSuggestions() + s := &SecurityAdvisoryEvent{} + s.GetSender() + s = nil + s.GetSender() } -func TestCopilotMetricsPullRequests_GetTotalCopilotSuggestions(tt *testing.T) { +func TestSecurityAdvisorySubmission_GetAccepted(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsPullRequests{TotalCopilotSuggestions: &zeroValue} - c.GetTotalCopilotSuggestions() - c = &CopilotMetricsPullRequests{} - c.GetTotalCopilotSuggestions() - c = nil - c.GetTotalCopilotSuggestions() + var zeroValue bool + s := &SecurityAdvisorySubmission{Accepted: &zeroValue} + s.GetAccepted() + s = &SecurityAdvisorySubmission{} + s.GetAccepted() + s = nil + s.GetAccepted() } -func TestCopilotMetricsPullRequests_GetTotalCreated(tt *testing.T) { +func TestSecurityAndAnalysis_GetAdvancedSecurity(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsPullRequests{TotalCreated: &zeroValue} - c.GetTotalCreated() - c = &CopilotMetricsPullRequests{} - c.GetTotalCreated() - c = nil - c.GetTotalCreated() + s := &SecurityAndAnalysis{} + s.GetAdvancedSecurity() + s = nil + s.GetAdvancedSecurity() } -func TestCopilotMetricsPullRequests_GetTotalCreatedByCopilot(tt *testing.T) { +func TestSecurityAndAnalysis_GetCodeSecurity(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsPullRequests{TotalCreatedByCopilot: &zeroValue} - c.GetTotalCreatedByCopilot() - c = &CopilotMetricsPullRequests{} - c.GetTotalCreatedByCopilot() - c = nil - c.GetTotalCreatedByCopilot() + s := &SecurityAndAnalysis{} + s.GetCodeSecurity() + s = nil + s.GetCodeSecurity() } -func TestCopilotMetricsPullRequests_GetTotalMerged(tt *testing.T) { +func TestSecurityAndAnalysis_GetDependabotSecurityUpdates(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsPullRequests{TotalMerged: &zeroValue} - c.GetTotalMerged() - c = &CopilotMetricsPullRequests{} - c.GetTotalMerged() - c = nil - c.GetTotalMerged() + s := &SecurityAndAnalysis{} + s.GetDependabotSecurityUpdates() + s = nil + s.GetDependabotSecurityUpdates() } -func TestCopilotMetricsPullRequests_GetTotalMergedCreatedByCopilot(tt *testing.T) { +func TestSecurityAndAnalysis_GetSecretScanning(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsPullRequests{TotalMergedCreatedByCopilot: &zeroValue} - c.GetTotalMergedCreatedByCopilot() - c = &CopilotMetricsPullRequests{} - c.GetTotalMergedCreatedByCopilot() - c = nil - c.GetTotalMergedCreatedByCopilot() + s := &SecurityAndAnalysis{} + s.GetSecretScanning() + s = nil + s.GetSecretScanning() } -func TestCopilotMetricsPullRequests_GetTotalMergedReviewedByCopilot(tt *testing.T) { +func TestSecurityAndAnalysis_GetSecretScanningPushProtection(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsPullRequests{TotalMergedReviewedByCopilot: &zeroValue} - c.GetTotalMergedReviewedByCopilot() - c = &CopilotMetricsPullRequests{} - c.GetTotalMergedReviewedByCopilot() - c = nil - c.GetTotalMergedReviewedByCopilot() + s := &SecurityAndAnalysis{} + s.GetSecretScanningPushProtection() + s = nil + s.GetSecretScanningPushProtection() } -func TestCopilotMetricsPullRequests_GetTotalReviewed(tt *testing.T) { +func TestSecurityAndAnalysis_GetSecretScanningValidityChecks(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsPullRequests{TotalReviewed: &zeroValue} - c.GetTotalReviewed() - c = &CopilotMetricsPullRequests{} - c.GetTotalReviewed() - c = nil - c.GetTotalReviewed() + s := &SecurityAndAnalysis{} + s.GetSecretScanningValidityChecks() + s = nil + s.GetSecretScanningValidityChecks() } -func TestCopilotMetricsPullRequests_GetTotalReviewedByCopilot(tt *testing.T) { +func TestSecurityAndAnalysisChange_GetFrom(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsPullRequests{TotalReviewedByCopilot: &zeroValue} - c.GetTotalReviewedByCopilot() - c = &CopilotMetricsPullRequests{} - c.GetTotalReviewedByCopilot() - c = nil - c.GetTotalReviewedByCopilot() + s := &SecurityAndAnalysisChange{} + s.GetFrom() + s = nil + s.GetFrom() } -func TestCopilotMetricsPullRequests_GetTotalSuggestions(tt *testing.T) { +func TestSecurityAndAnalysisChangeFrom_GetSecurityAndAnalysis(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsPullRequests{TotalSuggestions: &zeroValue} - c.GetTotalSuggestions() - c = &CopilotMetricsPullRequests{} - c.GetTotalSuggestions() - c = nil - c.GetTotalSuggestions() + s := &SecurityAndAnalysisChangeFrom{} + s.GetSecurityAndAnalysis() + s = nil + s.GetSecurityAndAnalysis() } -func TestCopilotMetricsReport_GetDownloadLinks(tt *testing.T) { +func TestSecurityAndAnalysisEvent_GetChanges(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - c := &CopilotMetricsReport{DownloadLinks: zeroValue} - c.GetDownloadLinks() - c = &CopilotMetricsReport{} - c.GetDownloadLinks() - c = nil - c.GetDownloadLinks() + s := &SecurityAndAnalysisEvent{} + s.GetChanges() + s = nil + s.GetChanges() } -func TestCopilotMetricsReport_GetReportEndDay(tt *testing.T) { +func TestSecurityAndAnalysisEvent_GetEnterprise(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsReport{} - c.GetReportEndDay() - c = nil - c.GetReportEndDay() + s := &SecurityAndAnalysisEvent{} + s.GetEnterprise() + s = nil + s.GetEnterprise() } -func TestCopilotMetricsReport_GetReportStartDay(tt *testing.T) { +func TestSecurityAndAnalysisEvent_GetInstallation(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsReport{} - c.GetReportStartDay() - c = nil - c.GetReportStartDay() + s := &SecurityAndAnalysisEvent{} + s.GetInstallation() + s = nil + s.GetInstallation() } -func TestCopilotMetricsReportOptions_GetDay(tt *testing.T) { +func TestSecurityAndAnalysisEvent_GetOrganization(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsReportOptions{} - c.GetDay() - c = nil - c.GetDay() + s := &SecurityAndAnalysisEvent{} + s.GetOrganization() + s = nil + s.GetOrganization() } -func TestCopilotMetricsThirdPartyAgent_GetAgentID(tt *testing.T) { +func TestSecurityAndAnalysisEvent_GetRepository(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsThirdPartyAgent{} - c.GetAgentID() - c = nil - c.GetAgentID() + s := &SecurityAndAnalysisEvent{} + s.GetRepository() + s = nil + s.GetRepository() } -func TestCopilotMetricsThirdPartyAgent_GetAgentName(tt *testing.T) { +func TestSecurityAndAnalysisEvent_GetSender(tt *testing.T) { tt.Parallel() - c := &CopilotMetricsThirdPartyAgent{} - c.GetAgentName() - c = nil - c.GetAgentName() + s := &SecurityAndAnalysisEvent{} + s.GetSender() + s = nil + s.GetSender() } -func TestCopilotMetricsThirdPartyAgent_GetSessionCount(tt *testing.T) { +func TestSelectedReposList_GetRepositories(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotMetricsThirdPartyAgent{SessionCount: &zeroValue} - c.GetSessionCount() - c = &CopilotMetricsThirdPartyAgent{} - c.GetSessionCount() - c = nil - c.GetSessionCount() + zeroValue := []*Repository{} + s := &SelectedReposList{Repositories: zeroValue} + s.GetRepositories() + s = &SelectedReposList{} + s.GetRepositories() + s = nil + s.GetRepositories() } -func TestCopilotMetricsThirdPartyAgent_GetUserInitiatedInteractionCount(tt *testing.T) { +func TestSelectedReposList_GetTotalCount(tt *testing.T) { tt.Parallel() var zeroValue int - c := &CopilotMetricsThirdPartyAgent{UserInitiatedInteractionCount: &zeroValue} - c.GetUserInitiatedInteractionCount() - c = &CopilotMetricsThirdPartyAgent{} - c.GetUserInitiatedInteractionCount() - c = nil - c.GetUserInitiatedInteractionCount() + s := &SelectedReposList{TotalCount: &zeroValue} + s.GetTotalCount() + s = &SelectedReposList{} + s.GetTotalCount() + s = nil + s.GetTotalCount() } -func TestCopilotOrganizationDetails_GetCopilotChat(tt *testing.T) { +func TestSelfHostedRunnersAllowedRepos_GetRepositories(tt *testing.T) { tt.Parallel() - c := &CopilotOrganizationDetails{} - c.GetCopilotChat() - c = nil - c.GetCopilotChat() + zeroValue := []*Repository{} + s := &SelfHostedRunnersAllowedRepos{Repositories: zeroValue} + s.GetRepositories() + s = &SelfHostedRunnersAllowedRepos{} + s.GetRepositories() + s = nil + s.GetRepositories() } -func TestCopilotOrganizationDetails_GetPublicCodeSuggestions(tt *testing.T) { +func TestSelfHostedRunnersAllowedRepos_GetTotalCount(tt *testing.T) { tt.Parallel() - c := &CopilotOrganizationDetails{} - c.GetPublicCodeSuggestions() - c = nil - c.GetPublicCodeSuggestions() + s := &SelfHostedRunnersAllowedRepos{} + s.GetTotalCount() + s = nil + s.GetTotalCount() } -func TestCopilotOrganizationDetails_GetSeatBreakdown(tt *testing.T) { +func TestSelfHostedRunnersSettingsOrganization_GetEnabledRepositories(tt *testing.T) { tt.Parallel() - c := &CopilotOrganizationDetails{} - c.GetSeatBreakdown() - c = nil - c.GetSeatBreakdown() + var zeroValue string + s := &SelfHostedRunnersSettingsOrganization{EnabledRepositories: &zeroValue} + s.GetEnabledRepositories() + s = &SelfHostedRunnersSettingsOrganization{} + s.GetEnabledRepositories() + s = nil + s.GetEnabledRepositories() } -func TestCopilotOrganizationDetails_GetSeatManagementSetting(tt *testing.T) { +func TestSelfHostedRunnersSettingsOrganization_GetSelectedRepositoriesURL(tt *testing.T) { tt.Parallel() - c := &CopilotOrganizationDetails{} - c.GetSeatManagementSetting() - c = nil - c.GetSeatManagementSetting() + var zeroValue string + s := &SelfHostedRunnersSettingsOrganization{SelectedRepositoriesURL: &zeroValue} + s.GetSelectedRepositoriesURL() + s = &SelfHostedRunnersSettingsOrganization{} + s.GetSelectedRepositoriesURL() + s = nil + s.GetSelectedRepositoriesURL() } -func TestCopilotPeriodicMetrics_GetCreatedAt(tt *testing.T) { +func TestSelfHostedRunnersSettingsOrganizationOpt_GetEnabledRepositories(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - c := &CopilotPeriodicMetrics{CreatedAt: &zeroValue} - c.GetCreatedAt() - c = &CopilotPeriodicMetrics{} - c.GetCreatedAt() - c = nil - c.GetCreatedAt() + var zeroValue string + s := &SelfHostedRunnersSettingsOrganizationOpt{EnabledRepositories: &zeroValue} + s.GetEnabledRepositories() + s = &SelfHostedRunnersSettingsOrganizationOpt{} + s.GetEnabledRepositories() + s = nil + s.GetEnabledRepositories() } -func TestCopilotPeriodicMetrics_GetDayTotals(tt *testing.T) { +func TestSelfHostRunnerPermissionsEnterprise_GetDisableSelfHostedRunnersForAllOrgs(tt *testing.T) { tt.Parallel() - zeroValue := []*CopilotDailyMetrics{} - c := &CopilotPeriodicMetrics{DayTotals: zeroValue} - c.GetDayTotals() - c = &CopilotPeriodicMetrics{} - c.GetDayTotals() - c = nil - c.GetDayTotals() + var zeroValue bool + s := &SelfHostRunnerPermissionsEnterprise{DisableSelfHostedRunnersForAllOrgs: &zeroValue} + s.GetDisableSelfHostedRunnersForAllOrgs() + s = &SelfHostRunnerPermissionsEnterprise{} + s.GetDisableSelfHostedRunnersForAllOrgs() + s = nil + s.GetDisableSelfHostedRunnersForAllOrgs() } -func TestCopilotPeriodicMetrics_GetEnterpriseID(tt *testing.T) { +func TestServerInstanceProperties_GetServerInstances(tt *testing.T) { tt.Parallel() - var zeroValue string - c := &CopilotPeriodicMetrics{EnterpriseID: &zeroValue} - c.GetEnterpriseID() - c = &CopilotPeriodicMetrics{} - c.GetEnterpriseID() - c = nil - c.GetEnterpriseID() + s := &ServerInstanceProperties{} + s.GetServerInstances() + s = nil + s.GetServerInstances() } -func TestCopilotPeriodicMetrics_GetOrganizationID(tt *testing.T) { +func TestServerInstances_GetItems(tt *testing.T) { tt.Parallel() - var zeroValue string - c := &CopilotPeriodicMetrics{OrganizationID: &zeroValue} - c.GetOrganizationID() - c = &CopilotPeriodicMetrics{} - c.GetOrganizationID() - c = nil - c.GetOrganizationID() + s := &ServerInstances{} + s.GetItems() + s = nil + s.GetItems() } -func TestCopilotPeriodicMetrics_GetReportEndDay(tt *testing.T) { +func TestServerInstances_GetType(tt *testing.T) { tt.Parallel() - c := &CopilotPeriodicMetrics{} - c.GetReportEndDay() - c = nil - c.GetReportEndDay() + s := &ServerInstances{} + s.GetType() + s = nil + s.GetType() } -func TestCopilotPeriodicMetrics_GetReportStartDay(tt *testing.T) { +func TestServerItemProperties_GetHostname(tt *testing.T) { tt.Parallel() - c := &CopilotPeriodicMetrics{} - c.GetReportStartDay() - c = nil - c.GetReportStartDay() + s := &ServerItemProperties{} + s.GetHostname() + s = nil + s.GetHostname() } -func TestCopilotRepositoryDailyMetrics_GetDay(tt *testing.T) { +func TestServerItemProperties_GetLastSync(tt *testing.T) { tt.Parallel() - c := &CopilotRepositoryDailyMetrics{} - c.GetDay() - c = nil - c.GetDay() + s := &ServerItemProperties{} + s.GetLastSync() + s = nil + s.GetLastSync() } -func TestCopilotRepositoryDailyMetrics_GetEnterpriseID(tt *testing.T) { +func TestServerItemProperties_GetServerID(tt *testing.T) { tt.Parallel() - var zeroValue string - c := &CopilotRepositoryDailyMetrics{EnterpriseID: &zeroValue} - c.GetEnterpriseID() - c = &CopilotRepositoryDailyMetrics{} - c.GetEnterpriseID() - c = nil - c.GetEnterpriseID() + s := &ServerItemProperties{} + s.GetServerID() + s = nil + s.GetServerID() } -func TestCopilotRepositoryDailyMetrics_GetOrganizationID(tt *testing.T) { +func TestServiceInstanceItems_GetProperties(tt *testing.T) { tt.Parallel() - var zeroValue string - c := &CopilotRepositoryDailyMetrics{OrganizationID: &zeroValue} - c.GetOrganizationID() - c = &CopilotRepositoryDailyMetrics{} - c.GetOrganizationID() - c = nil - c.GetOrganizationID() + s := &ServiceInstanceItems{} + s.GetProperties() + s = nil + s.GetProperties() } -func TestCopilotRepositoryDailyMetrics_GetPullRequests(tt *testing.T) { +func TestServiceInstanceItems_GetType(tt *testing.T) { tt.Parallel() - c := &CopilotRepositoryDailyMetrics{} - c.GetPullRequests() - c = nil - c.GetPullRequests() + s := &ServiceInstanceItems{} + s.GetType() + s = nil + s.GetType() } -func TestCopilotRepositoryDailyMetrics_GetRepoID(tt *testing.T) { +func TestSetOrgAccessRunnerGroupRequest_GetSelectedOrganizationIDs(tt *testing.T) { tt.Parallel() - c := &CopilotRepositoryDailyMetrics{} - c.GetRepoID() - c = nil - c.GetRepoID() + zeroValue := []int64{} + s := &SetOrgAccessRunnerGroupRequest{SelectedOrganizationIDs: zeroValue} + s.GetSelectedOrganizationIDs() + s = &SetOrgAccessRunnerGroupRequest{} + s.GetSelectedOrganizationIDs() + s = nil + s.GetSelectedOrganizationIDs() } -func TestCopilotRepositoryDailyMetrics_GetRepoName(tt *testing.T) { +func TestSetRepoAccessRunnerGroupRequest_GetSelectedRepositoryIDs(tt *testing.T) { tt.Parallel() - c := &CopilotRepositoryDailyMetrics{} - c.GetRepoName() - c = nil - c.GetRepoName() + zeroValue := []int64{} + s := &SetRepoAccessRunnerGroupRequest{SelectedRepositoryIDs: zeroValue} + s.GetSelectedRepositoryIDs() + s = &SetRepoAccessRunnerGroupRequest{} + s.GetSelectedRepositoryIDs() + s = nil + s.GetSelectedRepositoryIDs() } -func TestCopilotRepositoryDailyMetrics_GetRepoOwnerName(tt *testing.T) { +func TestSetRunnerGroupRunnersRequest_GetRunners(tt *testing.T) { tt.Parallel() - c := &CopilotRepositoryDailyMetrics{} - c.GetRepoOwnerName() - c = nil - c.GetRepoOwnerName() + zeroValue := []int64{} + s := &SetRunnerGroupRunnersRequest{Runners: zeroValue} + s.GetRunners() + s = &SetRunnerGroupRunnersRequest{} + s.GetRunners() + s = nil + s.GetRunners() } -func TestCopilotRepositoryDailyMetrics_GetRepoVisibility(tt *testing.T) { +func TestSignatureRequirementEnforcementLevelChanges_GetFrom(tt *testing.T) { tt.Parallel() - c := &CopilotRepositoryDailyMetrics{} - c.GetRepoVisibility() - c = nil - c.GetRepoVisibility() + var zeroValue string + s := &SignatureRequirementEnforcementLevelChanges{From: &zeroValue} + s.GetFrom() + s = &SignatureRequirementEnforcementLevelChanges{} + s.GetFrom() + s = nil + s.GetFrom() } -func TestCopilotSeatBreakdown_GetActiveThisCycle(tt *testing.T) { +func TestSignaturesProtectedBranch_GetEnabled(tt *testing.T) { tt.Parallel() - c := &CopilotSeatBreakdown{} - c.GetActiveThisCycle() - c = nil - c.GetActiveThisCycle() + var zeroValue bool + s := &SignaturesProtectedBranch{Enabled: &zeroValue} + s.GetEnabled() + s = &SignaturesProtectedBranch{} + s.GetEnabled() + s = nil + s.GetEnabled() } -func TestCopilotSeatBreakdown_GetAddedThisCycle(tt *testing.T) { +func TestSignaturesProtectedBranch_GetURL(tt *testing.T) { tt.Parallel() - c := &CopilotSeatBreakdown{} - c.GetAddedThisCycle() - c = nil - c.GetAddedThisCycle() + var zeroValue string + s := &SignaturesProtectedBranch{URL: &zeroValue} + s.GetURL() + s = &SignaturesProtectedBranch{} + s.GetURL() + s = nil + s.GetURL() } -func TestCopilotSeatBreakdown_GetInactiveThisCycle(tt *testing.T) { +func TestSignatureVerification_GetPayload(tt *testing.T) { tt.Parallel() - c := &CopilotSeatBreakdown{} - c.GetInactiveThisCycle() - c = nil - c.GetInactiveThisCycle() + var zeroValue string + s := &SignatureVerification{Payload: &zeroValue} + s.GetPayload() + s = &SignatureVerification{} + s.GetPayload() + s = nil + s.GetPayload() } -func TestCopilotSeatBreakdown_GetPendingCancellation(tt *testing.T) { +func TestSignatureVerification_GetReason(tt *testing.T) { tt.Parallel() - c := &CopilotSeatBreakdown{} - c.GetPendingCancellation() - c = nil - c.GetPendingCancellation() + var zeroValue string + s := &SignatureVerification{Reason: &zeroValue} + s.GetReason() + s = &SignatureVerification{} + s.GetReason() + s = nil + s.GetReason() } -func TestCopilotSeatBreakdown_GetPendingInvitation(tt *testing.T) { +func TestSignatureVerification_GetSignature(tt *testing.T) { tt.Parallel() - c := &CopilotSeatBreakdown{} - c.GetPendingInvitation() - c = nil - c.GetPendingInvitation() + var zeroValue string + s := &SignatureVerification{Signature: &zeroValue} + s.GetSignature() + s = &SignatureVerification{} + s.GetSignature() + s = nil + s.GetSignature() } -func TestCopilotSeatBreakdown_GetTotal(tt *testing.T) { +func TestSignatureVerification_GetVerified(tt *testing.T) { tt.Parallel() - c := &CopilotSeatBreakdown{} - c.GetTotal() - c = nil - c.GetTotal() + var zeroValue bool + s := &SignatureVerification{Verified: &zeroValue} + s.GetVerified() + s = &SignatureVerification{} + s.GetVerified() + s = nil + s.GetVerified() } -func TestCopilotSeatDetails_GetAssignee(tt *testing.T) { +func TestSimplePatternRuleParameters_GetNegate(tt *testing.T) { tt.Parallel() - c := &CopilotSeatDetails{} - c.GetAssignee() - c = nil - c.GetAssignee() + s := &SimplePatternRuleParameters{} + s.GetNegate() + s = nil + s.GetNegate() } -func TestCopilotSeatDetails_GetAssigningTeam(tt *testing.T) { +func TestSimplePatternRuleParameters_GetPattern(tt *testing.T) { tt.Parallel() - c := &CopilotSeatDetails{} - c.GetAssigningTeam() - c = nil - c.GetAssigningTeam() + s := &SimplePatternRuleParameters{} + s.GetPattern() + s = nil + s.GetPattern() } -func TestCopilotSeatDetails_GetCreatedAt(tt *testing.T) { +func TestSocialAccount_GetProvider(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - c := &CopilotSeatDetails{CreatedAt: &zeroValue} - c.GetCreatedAt() - c = &CopilotSeatDetails{} - c.GetCreatedAt() - c = nil - c.GetCreatedAt() + var zeroValue string + s := &SocialAccount{Provider: &zeroValue} + s.GetProvider() + s = &SocialAccount{} + s.GetProvider() + s = nil + s.GetProvider() } -func TestCopilotSeatDetails_GetLastActivityAt(tt *testing.T) { +func TestSocialAccount_GetURL(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - c := &CopilotSeatDetails{LastActivityAt: &zeroValue} - c.GetLastActivityAt() - c = &CopilotSeatDetails{} - c.GetLastActivityAt() - c = nil - c.GetLastActivityAt() + var zeroValue string + s := &SocialAccount{URL: &zeroValue} + s.GetURL() + s = &SocialAccount{} + s.GetURL() + s = nil + s.GetURL() } -func TestCopilotSeatDetails_GetLastActivityEditor(tt *testing.T) { +func TestSource_GetActor(tt *testing.T) { tt.Parallel() - var zeroValue string - c := &CopilotSeatDetails{LastActivityEditor: &zeroValue} - c.GetLastActivityEditor() - c = &CopilotSeatDetails{} - c.GetLastActivityEditor() - c = nil - c.GetLastActivityEditor() + s := &Source{} + s.GetActor() + s = nil + s.GetActor() } -func TestCopilotSeatDetails_GetPendingCancellationDate(tt *testing.T) { +func TestSource_GetID(tt *testing.T) { tt.Parallel() - var zeroValue string - c := &CopilotSeatDetails{PendingCancellationDate: &zeroValue} - c.GetPendingCancellationDate() - c = &CopilotSeatDetails{} - c.GetPendingCancellationDate() - c = nil - c.GetPendingCancellationDate() + var zeroValue int64 + s := &Source{ID: &zeroValue} + s.GetID() + s = &Source{} + s.GetID() + s = nil + s.GetID() } -func TestCopilotSeatDetails_GetPlanType(tt *testing.T) { +func TestSource_GetIssue(tt *testing.T) { + tt.Parallel() + s := &Source{} + s.GetIssue() + s = nil + s.GetIssue() +} + +func TestSource_GetType(tt *testing.T) { tt.Parallel() var zeroValue string - c := &CopilotSeatDetails{PlanType: &zeroValue} - c.GetPlanType() - c = &CopilotSeatDetails{} - c.GetPlanType() - c = nil - c.GetPlanType() + s := &Source{Type: &zeroValue} + s.GetType() + s = &Source{} + s.GetType() + s = nil + s.GetType() } -func TestCopilotSeatDetails_GetUpdatedAt(tt *testing.T) { +func TestSource_GetURL(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - c := &CopilotSeatDetails{UpdatedAt: &zeroValue} - c.GetUpdatedAt() - c = &CopilotSeatDetails{} - c.GetUpdatedAt() - c = nil - c.GetUpdatedAt() + var zeroValue string + s := &Source{URL: &zeroValue} + s.GetURL() + s = &Source{} + s.GetURL() + s = nil + s.GetURL() } -func TestCopilotUserDailyMetrics_GetAIAdoptionPhase(tt *testing.T) { +func TestSourceImportAuthor_GetEmail(tt *testing.T) { tt.Parallel() - c := &CopilotUserDailyMetrics{} - c.GetAIAdoptionPhase() - c = nil - c.GetAIAdoptionPhase() + var zeroValue string + s := &SourceImportAuthor{Email: &zeroValue} + s.GetEmail() + s = &SourceImportAuthor{} + s.GetEmail() + s = nil + s.GetEmail() } -func TestCopilotUserDailyMetrics_GetAICreditsUsed(tt *testing.T) { +func TestSourceImportAuthor_GetID(tt *testing.T) { tt.Parallel() - var zeroValue float64 - c := &CopilotUserDailyMetrics{AICreditsUsed: &zeroValue} - c.GetAICreditsUsed() - c = &CopilotUserDailyMetrics{} - c.GetAICreditsUsed() - c = nil - c.GetAICreditsUsed() + var zeroValue int64 + s := &SourceImportAuthor{ID: &zeroValue} + s.GetID() + s = &SourceImportAuthor{} + s.GetID() + s = nil + s.GetID() } -func TestCopilotUserDailyMetrics_GetCodeAcceptanceActivityCount(tt *testing.T) { +func TestSourceImportAuthor_GetImportURL(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotUserDailyMetrics{CodeAcceptanceActivityCount: &zeroValue} - c.GetCodeAcceptanceActivityCount() - c = &CopilotUserDailyMetrics{} - c.GetCodeAcceptanceActivityCount() - c = nil - c.GetCodeAcceptanceActivityCount() + var zeroValue string + s := &SourceImportAuthor{ImportURL: &zeroValue} + s.GetImportURL() + s = &SourceImportAuthor{} + s.GetImportURL() + s = nil + s.GetImportURL() } -func TestCopilotUserDailyMetrics_GetCodeGenerationActivityCount(tt *testing.T) { +func TestSourceImportAuthor_GetName(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotUserDailyMetrics{CodeGenerationActivityCount: &zeroValue} - c.GetCodeGenerationActivityCount() - c = &CopilotUserDailyMetrics{} - c.GetCodeGenerationActivityCount() - c = nil - c.GetCodeGenerationActivityCount() + var zeroValue string + s := &SourceImportAuthor{Name: &zeroValue} + s.GetName() + s = &SourceImportAuthor{} + s.GetName() + s = nil + s.GetName() } -func TestCopilotUserDailyMetrics_GetDay(tt *testing.T) { +func TestSourceImportAuthor_GetRemoteID(tt *testing.T) { tt.Parallel() - c := &CopilotUserDailyMetrics{} - c.GetDay() - c = nil - c.GetDay() + var zeroValue string + s := &SourceImportAuthor{RemoteID: &zeroValue} + s.GetRemoteID() + s = &SourceImportAuthor{} + s.GetRemoteID() + s = nil + s.GetRemoteID() } -func TestCopilotUserDailyMetrics_GetEnterpriseID(tt *testing.T) { +func TestSourceImportAuthor_GetRemoteName(tt *testing.T) { tt.Parallel() var zeroValue string - c := &CopilotUserDailyMetrics{EnterpriseID: &zeroValue} - c.GetEnterpriseID() - c = &CopilotUserDailyMetrics{} - c.GetEnterpriseID() - c = nil - c.GetEnterpriseID() + s := &SourceImportAuthor{RemoteName: &zeroValue} + s.GetRemoteName() + s = &SourceImportAuthor{} + s.GetRemoteName() + s = nil + s.GetRemoteName() } -func TestCopilotUserDailyMetrics_GetLOCAddedSum(tt *testing.T) { +func TestSourceImportAuthor_GetURL(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotUserDailyMetrics{LOCAddedSum: &zeroValue} - c.GetLOCAddedSum() - c = &CopilotUserDailyMetrics{} - c.GetLOCAddedSum() - c = nil - c.GetLOCAddedSum() + var zeroValue string + s := &SourceImportAuthor{URL: &zeroValue} + s.GetURL() + s = &SourceImportAuthor{} + s.GetURL() + s = nil + s.GetURL() } -func TestCopilotUserDailyMetrics_GetLOCDeletedSum(tt *testing.T) { +func TestSplunkConfig_GetDomain(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotUserDailyMetrics{LOCDeletedSum: &zeroValue} - c.GetLOCDeletedSum() - c = &CopilotUserDailyMetrics{} - c.GetLOCDeletedSum() - c = nil - c.GetLOCDeletedSum() + s := &SplunkConfig{} + s.GetDomain() + s = nil + s.GetDomain() } -func TestCopilotUserDailyMetrics_GetLOCSuggestedToAddSum(tt *testing.T) { +func TestSplunkConfig_GetEncryptedToken(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotUserDailyMetrics{LOCSuggestedToAddSum: &zeroValue} - c.GetLOCSuggestedToAddSum() - c = &CopilotUserDailyMetrics{} - c.GetLOCSuggestedToAddSum() - c = nil - c.GetLOCSuggestedToAddSum() + s := &SplunkConfig{} + s.GetEncryptedToken() + s = nil + s.GetEncryptedToken() } -func TestCopilotUserDailyMetrics_GetLOCSuggestedToDeleteSum(tt *testing.T) { +func TestSplunkConfig_GetKeyID(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotUserDailyMetrics{LOCSuggestedToDeleteSum: &zeroValue} - c.GetLOCSuggestedToDeleteSum() - c = &CopilotUserDailyMetrics{} - c.GetLOCSuggestedToDeleteSum() - c = nil - c.GetLOCSuggestedToDeleteSum() + s := &SplunkConfig{} + s.GetKeyID() + s = nil + s.GetKeyID() } -func TestCopilotUserDailyMetrics_GetOrganizationID(tt *testing.T) { +func TestSplunkConfig_GetPort(tt *testing.T) { tt.Parallel() - var zeroValue string - c := &CopilotUserDailyMetrics{OrganizationID: &zeroValue} - c.GetOrganizationID() - c = &CopilotUserDailyMetrics{} - c.GetOrganizationID() - c = nil - c.GetOrganizationID() + s := &SplunkConfig{} + s.GetPort() + s = nil + s.GetPort() } -func TestCopilotUserDailyMetrics_GetTotalsBy3rdPartyAgent(tt *testing.T) { +func TestSplunkConfig_GetSSLVerify(tt *testing.T) { tt.Parallel() - zeroValue := []*CopilotMetricsThirdPartyAgent{} - c := &CopilotUserDailyMetrics{TotalsBy3rdPartyAgent: zeroValue} - c.GetTotalsBy3rdPartyAgent() - c = &CopilotUserDailyMetrics{} - c.GetTotalsBy3rdPartyAgent() - c = nil - c.GetTotalsBy3rdPartyAgent() + s := &SplunkConfig{} + s.GetSSLVerify() + s = nil + s.GetSSLVerify() } -func TestCopilotUserDailyMetrics_GetTotalsByCLI(tt *testing.T) { +func TestSponsorshipChanges_GetPrivacyLevel(tt *testing.T) { tt.Parallel() - c := &CopilotUserDailyMetrics{} - c.GetTotalsByCLI() - c = nil - c.GetTotalsByCLI() + var zeroValue string + s := &SponsorshipChanges{PrivacyLevel: &zeroValue} + s.GetPrivacyLevel() + s = &SponsorshipChanges{} + s.GetPrivacyLevel() + s = nil + s.GetPrivacyLevel() } -func TestCopilotUserDailyMetrics_GetTotalsByCopilotApp(tt *testing.T) { +func TestSponsorshipChanges_GetTier(tt *testing.T) { tt.Parallel() - c := &CopilotUserDailyMetrics{} - c.GetTotalsByCopilotApp() - c = nil - c.GetTotalsByCopilotApp() + s := &SponsorshipChanges{} + s.GetTier() + s = nil + s.GetTier() } -func TestCopilotUserDailyMetrics_GetTotalsByFeature(tt *testing.T) { +func TestSponsorshipEvent_GetAction(tt *testing.T) { tt.Parallel() - zeroValue := []*CopilotMetricsFeature{} - c := &CopilotUserDailyMetrics{TotalsByFeature: zeroValue} - c.GetTotalsByFeature() - c = &CopilotUserDailyMetrics{} - c.GetTotalsByFeature() - c = nil - c.GetTotalsByFeature() + var zeroValue string + s := &SponsorshipEvent{Action: &zeroValue} + s.GetAction() + s = &SponsorshipEvent{} + s.GetAction() + s = nil + s.GetAction() } -func TestCopilotUserDailyMetrics_GetTotalsByIDE(tt *testing.T) { +func TestSponsorshipEvent_GetChanges(tt *testing.T) { tt.Parallel() - zeroValue := []*CopilotUserMetricsIDE{} - c := &CopilotUserDailyMetrics{TotalsByIDE: zeroValue} - c.GetTotalsByIDE() - c = &CopilotUserDailyMetrics{} - c.GetTotalsByIDE() - c = nil - c.GetTotalsByIDE() + s := &SponsorshipEvent{} + s.GetChanges() + s = nil + s.GetChanges() } -func TestCopilotUserDailyMetrics_GetTotalsByLanguageFeature(tt *testing.T) { +func TestSponsorshipEvent_GetEffectiveDate(tt *testing.T) { tt.Parallel() - zeroValue := []*CopilotMetricsLanguageFeature{} - c := &CopilotUserDailyMetrics{TotalsByLanguageFeature: zeroValue} - c.GetTotalsByLanguageFeature() - c = &CopilotUserDailyMetrics{} - c.GetTotalsByLanguageFeature() - c = nil - c.GetTotalsByLanguageFeature() + var zeroValue string + s := &SponsorshipEvent{EffectiveDate: &zeroValue} + s.GetEffectiveDate() + s = &SponsorshipEvent{} + s.GetEffectiveDate() + s = nil + s.GetEffectiveDate() } -func TestCopilotUserDailyMetrics_GetTotalsByLanguageModel(tt *testing.T) { +func TestSponsorshipEvent_GetInstallation(tt *testing.T) { tt.Parallel() - zeroValue := []*CopilotMetricsLanguageModel{} - c := &CopilotUserDailyMetrics{TotalsByLanguageModel: zeroValue} - c.GetTotalsByLanguageModel() - c = &CopilotUserDailyMetrics{} - c.GetTotalsByLanguageModel() - c = nil - c.GetTotalsByLanguageModel() + s := &SponsorshipEvent{} + s.GetInstallation() + s = nil + s.GetInstallation() } -func TestCopilotUserDailyMetrics_GetTotalsByModelFeature(tt *testing.T) { +func TestSponsorshipEvent_GetOrganization(tt *testing.T) { tt.Parallel() - zeroValue := []*CopilotMetricsModelFeature{} - c := &CopilotUserDailyMetrics{TotalsByModelFeature: zeroValue} - c.GetTotalsByModelFeature() - c = &CopilotUserDailyMetrics{} - c.GetTotalsByModelFeature() - c = nil - c.GetTotalsByModelFeature() + s := &SponsorshipEvent{} + s.GetOrganization() + s = nil + s.GetOrganization() } -func TestCopilotUserDailyMetrics_GetUsedAgent(tt *testing.T) { +func TestSponsorshipEvent_GetRepository(tt *testing.T) { tt.Parallel() - var zeroValue bool - c := &CopilotUserDailyMetrics{UsedAgent: &zeroValue} - c.GetUsedAgent() - c = &CopilotUserDailyMetrics{} - c.GetUsedAgent() - c = nil - c.GetUsedAgent() + s := &SponsorshipEvent{} + s.GetRepository() + s = nil + s.GetRepository() } -func TestCopilotUserDailyMetrics_GetUsedChat(tt *testing.T) { +func TestSponsorshipEvent_GetSender(tt *testing.T) { tt.Parallel() - var zeroValue bool - c := &CopilotUserDailyMetrics{UsedChat: &zeroValue} - c.GetUsedChat() - c = &CopilotUserDailyMetrics{} - c.GetUsedChat() - c = nil - c.GetUsedChat() + s := &SponsorshipEvent{} + s.GetSender() + s = nil + s.GetSender() } -func TestCopilotUserDailyMetrics_GetUsedCLI(tt *testing.T) { +func TestSponsorshipTier_GetFrom(tt *testing.T) { tt.Parallel() - var zeroValue bool - c := &CopilotUserDailyMetrics{UsedCLI: &zeroValue} - c.GetUsedCLI() - c = &CopilotUserDailyMetrics{} - c.GetUsedCLI() - c = nil - c.GetUsedCLI() + var zeroValue string + s := &SponsorshipTier{From: &zeroValue} + s.GetFrom() + s = &SponsorshipTier{} + s.GetFrom() + s = nil + s.GetFrom() } -func TestCopilotUserDailyMetrics_GetUsedCopilotApp(tt *testing.T) { +func TestSSHKeyOptions_GetKey(tt *testing.T) { tt.Parallel() - var zeroValue bool - c := &CopilotUserDailyMetrics{UsedCopilotApp: &zeroValue} - c.GetUsedCopilotApp() - c = &CopilotUserDailyMetrics{} - c.GetUsedCopilotApp() - c = nil - c.GetUsedCopilotApp() + s := &SSHKeyOptions{} + s.GetKey() + s = nil + s.GetKey() } -func TestCopilotUserDailyMetrics_GetUsedCopilotCloudAgent(tt *testing.T) { +func TestSSHKeyStatus_GetHostname(tt *testing.T) { tt.Parallel() - var zeroValue bool - c := &CopilotUserDailyMetrics{UsedCopilotCloudAgent: &zeroValue} - c.GetUsedCopilotCloudAgent() - c = &CopilotUserDailyMetrics{} - c.GetUsedCopilotCloudAgent() - c = nil - c.GetUsedCopilotCloudAgent() + var zeroValue string + s := &SSHKeyStatus{Hostname: &zeroValue} + s.GetHostname() + s = &SSHKeyStatus{} + s.GetHostname() + s = nil + s.GetHostname() } -func TestCopilotUserDailyMetrics_GetUsedCopilotCodeReviewActive(tt *testing.T) { +func TestSSHKeyStatus_GetMessage(tt *testing.T) { tt.Parallel() - var zeroValue bool - c := &CopilotUserDailyMetrics{UsedCopilotCodeReviewActive: &zeroValue} - c.GetUsedCopilotCodeReviewActive() - c = &CopilotUserDailyMetrics{} - c.GetUsedCopilotCodeReviewActive() - c = nil - c.GetUsedCopilotCodeReviewActive() + var zeroValue string + s := &SSHKeyStatus{Message: &zeroValue} + s.GetMessage() + s = &SSHKeyStatus{} + s.GetMessage() + s = nil + s.GetMessage() } -func TestCopilotUserDailyMetrics_GetUsedCopilotCodeReviewPassive(tt *testing.T) { +func TestSSHKeyStatus_GetModified(tt *testing.T) { tt.Parallel() var zeroValue bool - c := &CopilotUserDailyMetrics{UsedCopilotCodeReviewPassive: &zeroValue} - c.GetUsedCopilotCodeReviewPassive() - c = &CopilotUserDailyMetrics{} - c.GetUsedCopilotCodeReviewPassive() - c = nil - c.GetUsedCopilotCodeReviewPassive() + s := &SSHKeyStatus{Modified: &zeroValue} + s.GetModified() + s = &SSHKeyStatus{} + s.GetModified() + s = nil + s.GetModified() } -func TestCopilotUserDailyMetrics_GetUsedCopilotCodingAgent(tt *testing.T) { +func TestSSHKeyStatus_GetUUID(tt *testing.T) { tt.Parallel() - var zeroValue bool - c := &CopilotUserDailyMetrics{UsedCopilotCodingAgent: &zeroValue} - c.GetUsedCopilotCodingAgent() - c = &CopilotUserDailyMetrics{} - c.GetUsedCopilotCodingAgent() - c = nil - c.GetUsedCopilotCodingAgent() + var zeroValue string + s := &SSHKeyStatus{UUID: &zeroValue} + s.GetUUID() + s = &SSHKeyStatus{} + s.GetUUID() + s = nil + s.GetUUID() } -func TestCopilotUserDailyMetrics_GetUserID(tt *testing.T) { +func TestSSHSigningKey_GetCreatedAt(tt *testing.T) { tt.Parallel() - c := &CopilotUserDailyMetrics{} - c.GetUserID() - c = nil - c.GetUserID() + var zeroValue Timestamp + s := &SSHSigningKey{CreatedAt: &zeroValue} + s.GetCreatedAt() + s = &SSHSigningKey{} + s.GetCreatedAt() + s = nil + s.GetCreatedAt() } -func TestCopilotUserDailyMetrics_GetUserInitiatedInteractionCount(tt *testing.T) { +func TestSSHSigningKey_GetID(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotUserDailyMetrics{UserInitiatedInteractionCount: &zeroValue} - c.GetUserInitiatedInteractionCount() - c = &CopilotUserDailyMetrics{} - c.GetUserInitiatedInteractionCount() - c = nil - c.GetUserInitiatedInteractionCount() + var zeroValue int64 + s := &SSHSigningKey{ID: &zeroValue} + s.GetID() + s = &SSHSigningKey{} + s.GetID() + s = nil + s.GetID() } -func TestCopilotUserDailyMetrics_GetUserLogin(tt *testing.T) { +func TestSSHSigningKey_GetKey(tt *testing.T) { tt.Parallel() - c := &CopilotUserDailyMetrics{} - c.GetUserLogin() - c = nil - c.GetUserLogin() + var zeroValue string + s := &SSHSigningKey{Key: &zeroValue} + s.GetKey() + s = &SSHSigningKey{} + s.GetKey() + s = nil + s.GetKey() } -func TestCopilotUserMetricsIDE_GetIDE(tt *testing.T) { +func TestSSHSigningKey_GetTitle(tt *testing.T) { tt.Parallel() - c := &CopilotUserMetricsIDE{} - c.GetIDE() - c = nil - c.GetIDE() + var zeroValue string + s := &SSHSigningKey{Title: &zeroValue} + s.GetTitle() + s = &SSHSigningKey{} + s.GetTitle() + s = nil + s.GetTitle() } -func TestCopilotUserMetricsIDE_GetLastKnownIDEVersion(tt *testing.T) { +func TestStarEvent_GetAction(tt *testing.T) { tt.Parallel() - c := &CopilotUserMetricsIDE{} - c.GetLastKnownIDEVersion() - c = nil - c.GetLastKnownIDEVersion() + var zeroValue string + s := &StarEvent{Action: &zeroValue} + s.GetAction() + s = &StarEvent{} + s.GetAction() + s = nil + s.GetAction() } -func TestCopilotUserMetricsIDE_GetLastKnownPluginVersion(tt *testing.T) { +func TestStarEvent_GetInstallation(tt *testing.T) { tt.Parallel() - c := &CopilotUserMetricsIDE{} - c.GetLastKnownPluginVersion() - c = nil - c.GetLastKnownPluginVersion() + s := &StarEvent{} + s.GetInstallation() + s = nil + s.GetInstallation() } -func TestCopilotUserMetricsIDE_GetUserInitiatedInteractionCount(tt *testing.T) { +func TestStarEvent_GetOrg(tt *testing.T) { tt.Parallel() - var zeroValue int - c := &CopilotUserMetricsIDE{UserInitiatedInteractionCount: &zeroValue} - c.GetUserInitiatedInteractionCount() - c = &CopilotUserMetricsIDE{} - c.GetUserInitiatedInteractionCount() - c = nil - c.GetUserInitiatedInteractionCount() + s := &StarEvent{} + s.GetOrg() + s = nil + s.GetOrg() +} + +func TestStarEvent_GetRepo(tt *testing.T) { + tt.Parallel() + s := &StarEvent{} + s.GetRepo() + s = nil + s.GetRepo() } -func TestCopilotUserMetricsIDEVersion_GetIDEVersion(tt *testing.T) { +func TestStarEvent_GetSender(tt *testing.T) { tt.Parallel() - c := &CopilotUserMetricsIDEVersion{} - c.GetIDEVersion() - c = nil - c.GetIDEVersion() + s := &StarEvent{} + s.GetSender() + s = nil + s.GetSender() } -func TestCopilotUserMetricsIDEVersion_GetSampledAt(tt *testing.T) { +func TestStarEvent_GetStarredAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp - c := &CopilotUserMetricsIDEVersion{SampledAt: &zeroValue} - c.GetSampledAt() - c = &CopilotUserMetricsIDEVersion{} - c.GetSampledAt() - c = nil - c.GetSampledAt() + s := &StarEvent{StarredAt: &zeroValue} + s.GetStarredAt() + s = &StarEvent{} + s.GetStarredAt() + s = nil + s.GetStarredAt() } -func TestCopilotUserMetricsPluginVersion_GetPlugin(tt *test -func TestGrant_GetCreatedAt(tt *testing.T) { +func TestStargazer_GetStarredAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp - g := &Grant{CreatedAt: &zeroValue} - g.GetCreatedAt() - g = &Grant{} - g.GetCreatedAt() - g = nil - g.GetCreatedAt() + s := &Stargazer{StarredAt: &zeroValue} + s.GetStarredAt() + s = &Stargazer{} + s.GetStarredAt() + s = nil + s.GetStarredAt() } -func TestGrant_GetID(tt *testing.T) { +func TestStargazer_GetUser(tt *testing.T) { tt.Parallel() - var zeroValue int64 - g := &Grant{ID: &zeroValue} - g.GetID() - g = &Grant{} - g.GetID() - g = nil - g.GetID() + s := &Stargazer{} + s.GetUser() + s = nil + s.GetUser() } -func TestGrant_GetScopes(tt *testing.T) { +func TestStarredRepository_GetRepository(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - g := &Grant{Scopes: zeroValue} - g.GetScopes() - g = &Grant{} - g.GetScopes() - g = nil - g.GetScopes() + s := &StarredRepository{} + s.GetRepository() + s = nil + s.GetRepository() } -func TestGrant_GetUpdatedAt(tt *testing.T) { +func TestStarredRepository_GetStarredAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp - g := &Grant{UpdatedAt: &zeroValue} - g.GetUpdatedAt() - g = &Grant{} - g.GetUpdatedAt() - g = nil - g.GetUpdatedAt() + s := &StarredRepository{StarredAt: &zeroValue} + s.GetStarredAt() + s = &StarredRepository{} + s.GetStarredAt() + s = nil + s.GetStarredAt() } -func TestGrant_GetURL(tt *testing.T) { +func TestStatusEvent_GetBranches(tt *testing.T) { tt.Parallel() - var zeroValue string - g := &Grant{URL: &zeroValue} - g.GetURL() - g = &Grant{} - g.GetURL() - g = nil - g.GetURL() + zeroValue := []*Branch{} + s := &StatusEvent{Branches: zeroValue} + s.GetBranches() + s = &StatusEvent{} + s.GetBranches() + s = nil + s.GetBranches() } -func TestHeadCommit_GetAdded(tt *testing.T) { +func TestStatusEvent_GetCommit(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - h := &HeadCommit{Added: zeroValue} - h.GetAdded() - h = &HeadCommit{} - h.GetAdded() - h = nil - h.GetAdded() + s := &StatusEvent{} + s.GetCommit() + s = nil + s.GetCommit() } -func TestHeadCommit_GetAuthor(tt *testing.T) { +func TestStatusEvent_GetContext(tt *testing.T) { tt.Parallel() - h := &HeadCommit{} - h.GetAuthor() - h = nil - h.GetAuthor() + var zeroValue string + s := &StatusEvent{Context: &zeroValue} + s.GetContext() + s = &StatusEvent{} + s.GetContext() + s = nil + s.GetContext() } -func TestHeadCommit_GetCommitter(tt *testing.T) { +func TestStatusEvent_GetCreatedAt(tt *testing.T) { tt.Parallel() - h := &HeadCommit{} - h.GetCommitter() - h = nil - h.GetCommitter() + var zeroValue Timestamp + s := &StatusEvent{CreatedAt: &zeroValue} + s.GetCreatedAt() + s = &StatusEvent{} + s.GetCreatedAt() + s = nil + s.GetCreatedAt() } -func TestHeadCommit_GetDistinct(tt *testing.T) { +func TestStatusEvent_GetDescription(tt *testing.T) { tt.Parallel() - var zeroValue bool - h := &HeadCommit{Distinct: &zeroValue} - h.GetDistinct() - h = &HeadCommit{} - h.GetDistinct() - h = nil - h.GetDistinct() + var zeroValue string + s := &StatusEvent{Description: &zeroValue} + s.GetDescription() + s = &StatusEvent{} + s.GetDescription() + s = nil + s.GetDescription() } -func TestHeadCommit_GetID(tt *testing.T) { +func TestStatusEvent_GetID(tt *testing.T) { tt.Parallel() - var zeroValue string - h := &HeadCommit{ID: &zeroValue} - h.GetID() - h = &HeadCommit{} - h.GetID() - h = nil - h.GetID() + var zeroValue int64 + s := &StatusEvent{ID: &zeroValue} + s.GetID() + s = &StatusEvent{} + s.GetID() + s = nil + s.GetID() } -func TestHeadCommit_GetMessage(tt *testing.T) { +func TestStatusEvent_GetInstallation(tt *testing.T) { tt.Parallel() - var zeroValue string - h := &HeadCommit{Message: &zeroValue} - h.GetMessage() - h = &HeadCommit{} - h.GetMessage() - h = nil - h.GetMessage() + s := &StatusEvent{} + s.GetInstallation() + s = nil + s.GetInstallation() } -func TestHeadCommit_GetModified(tt *testing.T) { +func TestStatusEvent_GetName(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - h := &HeadCommit{Modified: zeroValue} - h.GetModified() - h = &HeadCommit{} - h.GetModified() - h = nil - h.GetModified() + var zeroValue string + s := &StatusEvent{Name: &zeroValue} + s.GetName() + s = &StatusEvent{} + s.GetName() + s = nil + s.GetName() } -func TestHeadCommit_GetRemoved(tt *testing.T) { +func TestStatusEvent_GetOrg(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - h := &HeadCommit{Removed: zeroValue} - h.GetRemoved() - h = &HeadCommit{} - h.GetRemoved() - h = nil - h.GetRemoved() + s := &StatusEvent{} + s.GetOrg() + s = nil + s.GetOrg() } -func TestHeadCommit_GetSHA(tt *testing.T) { +func TestStatusEvent_GetRepo(tt *testing.T) { tt.Parallel() - var zeroValue string - h := &HeadCommit{SHA: &zeroValue} - h.GetSHA() - h = &HeadCommit{} - h.GetSHA() - h = nil - h.GetSHA() + s := &StatusEvent{} + s.GetRepo() + s = nil + s.GetRepo() } -func TestHeadCommit_GetTimestamp(tt *testing.T) { +func TestStatusEvent_GetSender(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - h := &HeadCommit{Timestamp: &zeroValue} - h.GetTimestamp() - h = &HeadCommit{} - h.GetTimestamp() - h = nil - h.GetTimestamp() + s := &StatusEvent{} + s.GetSender() + s = nil + s.GetSender() } -func TestHeadCommit_GetTreeID(tt *testing.T) { +func TestStatusEvent_GetSHA(tt *testing.T) { tt.Parallel() var zeroValue string - h := &HeadCommit{TreeID: &zeroValue} - h.GetTreeID() - h = &HeadCommit{} - h.GetTreeID() - h = nil - h.GetTreeID() + s := &StatusEvent{SHA: &zeroValue} + s.GetSHA() + s = &StatusEvent{} + s.GetSHA() + s = nil + s.GetSHA() } -func TestHeadCommit_GetURL(tt *testing.T) { +func TestStatusEvent_GetState(tt *testing.T) { tt.Parallel() var zeroValue string - h := &HeadCommit{URL: &zeroValue} - h.GetURL() - h = &HeadCommit{} - h.GetURL() - h = nil - h.GetURL() + s := &StatusEvent{State: &zeroValue} + s.GetState() + s = &StatusEvent{} + s.GetState() + s = nil + s.GetState() } -func TestHecConfig_GetDomain(tt *testing.T) { +func TestStatusEvent_GetTargetURL(tt *testing.T) { tt.Parallel() - h := &HecConfig{} - h.GetDomain() - h = nil - h.GetDomain() + var zeroValue string + s := &StatusEvent{TargetURL: &zeroValue} + s.GetTargetURL() + s = &StatusEvent{} + s.GetTargetURL() + s = nil + s.GetTargetURL() } -func TestHecConfig_GetEncryptedToken(tt *testing.T) { +func TestStatusEvent_GetUpdatedAt(tt *testing.T) { tt.Parallel() - h := &HecConfig{} - h.GetEncryptedToken() - h = nil - h.GetEncryptedToken() + var zeroValue Timestamp + s := &StatusEvent{UpdatedAt: &zeroValue} + s.GetUpdatedAt() + s = &StatusEvent{} + s.GetUpdatedAt() + s = nil + s.GetUpdatedAt() } -func TestHecConfig_GetKeyID(tt *testing.T) { +func TestStorageBilling_GetDaysLeftInBillingCycle(tt *testing.T) { tt.Parallel() - h := &HecConfig{} - h.GetKeyID() - h = nil - h.GetKeyID() + s := &StorageBilling{} + s.GetDaysLeftInBillingCycle() + s = nil + s.GetDaysLeftInBillingCycle() } -func TestHecConfig_GetPath(tt *testing.T) { +func TestStorageBilling_GetEstimatedPaidStorageForMonth(tt *testing.T) { tt.Parallel() - h := &HecConfig{} - h.GetPath() - h = nil - h.GetPath() + s := &StorageBilling{} + s.GetEstimatedPaidStorageForMonth() + s = nil + s.GetEstimatedPaidStorageForMonth() } -func TestHecConfig_GetPort(tt *testing.T) { +func TestStorageBilling_GetEstimatedStorageForMonth(tt *testing.T) { tt.Parallel() - h := &HecConfig{} - h.GetPort() - h = nil - h.GetPort() + s := &StorageBilling{} + s.GetEstimatedStorageForMonth() + s = nil + s.GetEstimatedStorageForMonth() } -func TestHecConfig_GetSSLVerify(tt *testing.T) { +func TestSubIssueRequest_GetAfterID(tt *testing.T) { tt.Parallel() - h := &HecConfig{} - h.GetSSLVerify() - h = nil - h.GetSSLVerify() + var zeroValue int64 + s := &SubIssueRequest{AfterID: &zeroValue} + s.GetAfterID() + s = &SubIssueRequest{} + s.GetAfterID() + s = nil + s.GetAfterID() } -func TestHook_GetActive(tt *testing.T) { +func TestSubIssueRequest_GetBeforeID(tt *testing.T) { tt.Parallel() - var zeroValue bool - h := &Hook{Active: &zeroValue} - h.GetActive() - h = &Hook{} - h.GetActive() - h = nil - h.GetActive() + var zeroValue int64 + s := &SubIssueRequest{BeforeID: &zeroValue} + s.GetBeforeID() + s = &SubIssueRequest{} + s.GetBeforeID() + s = nil + s.GetBeforeID() } -func TestHook_GetConfig(tt *testing.T) { +func TestSubIssueRequest_GetReplaceParent(tt *testing.T) { tt.Parallel() - h := &Hook{} - h.GetConfig() - h = nil - h.GetConfig() + var zeroValue bool + s := &SubIssueRequest{ReplaceParent: &zeroValue} + s.GetReplaceParent() + s = &SubIssueRequest{} + s.GetReplaceParent() + s = nil + s.GetReplaceParent() } -func TestHook_GetCreatedAt(tt *testing.T) { +func TestSubIssueRequest_GetSubIssueID(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - h := &Hook{CreatedAt: &zeroValue} - h.GetCreatedAt() - h = &Hook{} - h.GetCreatedAt() - h = nil - h.GetCreatedAt() + s := &SubIssueRequest{} + s.GetSubIssueID() + s = nil + s.GetSubIssueID() } -func TestHook_GetEvents(tt *testing.T) { +func TestSubIssuesSummary_GetCompleted(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - h := &Hook{Events: zeroValue} - h.GetEvents() - h = &Hook{} - h.GetEvents() - h = nil - h.GetEvents() + var zeroValue int + s := &SubIssuesSummary{Completed: &zeroValue} + s.GetCompleted() + s = &SubIssuesSummary{} + s.GetCompleted() + s = nil + s.GetCompleted() } -func TestHook_GetID(tt *testing.T) { +func TestSubIssuesSummary_GetPercentCompleted(tt *testing.T) { tt.Parallel() - var zeroValue int64 - h := &Hook{ID: &zeroValue} - h.GetID() - h = &Hook{} - h.GetID() - h = nil - h.GetID() + var zeroValue int + s := &SubIssuesSummary{PercentCompleted: &zeroValue} + s.GetPercentCompleted() + s = &SubIssuesSummary{} + s.GetPercentCompleted() + s = nil + s.GetPercentCompleted() } -func TestHook_GetLastResponse(tt *testing.T) { +func TestSubIssuesSummary_GetTotal(tt *testing.T) { tt.Parallel() - zeroValue := map[string]any{} - h := &Hook{LastResponse: zeroValue} - h.GetLastResponse() - h = &Hook{} - h.GetLastResponse() - h = nil - h.GetLastResponse() + var zeroValue int + s := &SubIssuesSummary{Total: &zeroValue} + s.GetTotal() + s = &SubIssuesSummary{} + s.GetTotal() + s = nil + s.GetTotal() } -func TestHook_GetName(tt *testing.T) { +func TestSubscription_GetCreatedAt(tt *testing.T) { tt.Parallel() - var zeroValue string - h := &Hook{Name: &zeroValue} - h.GetName() - h = &Hook{} - h.GetName() - h = nil - h.GetName() + var zeroValue Timestamp + s := &Subscription{CreatedAt: &zeroValue} + s.GetCreatedAt() + s = &Subscription{} + s.GetCreatedAt() + s = nil + s.GetCreatedAt() } -func TestHook_GetPingURL(tt *testing.T) { +func TestSubscription_GetIgnored(tt *testing.T) { tt.Parallel() - var zeroValue string - h := &Hook{PingURL: &zeroValue} - h.GetPingURL() - h = &Hook{} - h.GetPingURL() - h = nil - h.GetPingURL() + var zeroValue bool + s := &Subscription{Ignored: &zeroValue} + s.GetIgnored() + s = &Subscription{} + s.GetIgnored() + s = nil + s.GetIgnored() } -func TestHook_GetTestURL(tt *testing.T) { +func TestSubscription_GetReason(tt *testing.T) { tt.Parallel() var zeroValue string - h := &Hook{TestURL: &zeroValue} - h.GetTestURL() - h = &Hook{} - h.GetTestURL() - h = nil - h.GetTestURL() + s := &Subscription{Reason: &zeroValue} + s.GetReason() + s = &Subscription{} + s.GetReason() + s = nil + s.GetReason() } -func TestHook_GetType(tt *testing.T) { +func TestSubscription_GetRepositoryURL(tt *testing.T) { tt.Parallel() var zeroValue string - h := &Hook{Type: &zeroValue} - h.GetType() - h = &Hook{} - h.GetType() - h = nil - h.GetType() + s := &Subscription{RepositoryURL: &zeroValue} + s.GetRepositoryURL() + s = &Subscription{} + s.GetRepositoryURL() + s = nil + s.GetRepositoryURL() } -func TestHook_GetUpdatedAt(tt *testing.T) { +func TestSubscription_GetSubscribed(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - h := &Hook{UpdatedAt: &zeroValue} - h.GetUpdatedAt() - h = &Hook{} - h.GetUpdatedAt() - h = nil - h.GetUpdatedAt() + var zeroValue bool + s := &Subscription{Subscribed: &zeroValue} + s.GetSubscribed() + s = &Subscription{} + s.GetSubscribed() + s = nil + s.GetSubscribed() } -func TestHook_GetURL(tt *testing.T) { +func TestSubscription_GetThreadURL(tt *testing.T) { tt.Parallel() var zeroValue string - h := &Hook{URL: &zeroValue} - h.GetURL() - h = &Hook{} - h.GetURL() - h = nil - h.GetURL() + s := &Subscription{ThreadURL: &zeroValue} + s.GetThreadURL() + s = &Subscription{} + s.GetThreadURL() + s = nil + s.GetThreadURL() } -func TestHookConfig_GetContentType(tt *testing.T) { +func TestSubscription_GetURL(tt *testing.T) { tt.Parallel() var zeroValue string - h := &HookConfig{ContentType: &zeroValue} - h.GetContentType() - h = &HookConfig{} - h.GetContentType() - h = nil - h.GetContentType() + s := &Subscription{URL: &zeroValue} + s.GetURL() + s = &Subscription{} + s.GetURL() + s = nil + s.GetURL() } -func TestHookConfig_GetInsecureSSL(tt *testing.T) { +func TestSystemRequirements_GetNodes(tt *testing.T) { tt.Parallel() - var zeroValue string - h := &HookConfig{InsecureSSL: &zeroValue} - h.GetInsecureSSL() - h = &HookConfig{} - h.GetInsecureSSL() - h = nil - h.GetInsecureSSL() + zeroValue := []*SystemRequirementsNode{} + s := &SystemRequirements{Nodes: zeroValue} + s.GetNodes() + s = &SystemRequirements{} + s.GetNodes() + s = nil + s.GetNodes() } -func TestHookConfig_GetSecret(tt *testing.T) { +func TestSystemRequirements_GetStatus(tt *testing.T) { tt.Parallel() var zeroValue string - h := &HookConfig{Secret: &zeroValue} - h.GetSecret() - h = &HookConfig{} - h.GetSecret() - h = nil - h.GetSecret() + s := &SystemRequirements{Status: &zeroValue} + s.GetStatus() + s = &SystemRequirements{} + s.GetStatus() + s = nil + s.GetStatus() } -func TestHookConfig_GetURL(tt *testing.T) { +func TestSystemRequirementsNode_GetHostname(tt *testing.T) { tt.Parallel() var zeroValue string - h := &HookConfig{URL: &zeroValue} - h.GetURL() - h = &HookConfig{} - h.GetURL() - h = nil - h.GetURL() + s := &SystemRequirementsNode{Hostname: &zeroValue} + s.GetHostname() + s = &SystemRequirementsNode{} + s.GetHostname() + s = nil + s.GetHostname() } -func TestHookDelivery_GetAction(tt *testing.T) { +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 - h := &HookDelivery{Action: &zeroValue} - h.GetAction() - h = &HookDelivery{} - h.GetAction() - h = nil - h.GetAction() + s := &SystemRequirementsNode{Status: &zeroValue} + s.GetStatus() + s = &SystemRequirementsNode{} + s.GetStatus() + s = nil + s.GetStatus() } -func TestHookDelivery_GetDeliveredAt(tt *testing.T) { +func TestSystemRequirementsNodeRoleStatus_GetRole(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - h := &HookDelivery{DeliveredAt: &zeroValue} - h.GetDeliveredAt() - h = &HookDelivery{} - h.GetDeliveredAt() - h = nil - h.GetDeliveredAt() + var zeroValue string + s := &SystemRequirementsNodeRoleStatus{Role: &zeroValue} + s.GetRole() + s = &SystemRequirementsNodeRoleStatus{} + s.GetRole() + s = nil + s.GetRole() } -func TestHookDelivery_GetDuration(tt *testing.T) { +func TestSystemRequirementsNodeRoleStatus_GetStatus(tt *testing.T) { tt.Parallel() - var zeroValue float64 - h := &HookDelivery{Duration: &zeroValue} - h.GetDuration() - h = &HookDelivery{} - h.GetDuration() - h = nil - h.GetDuration() + var zeroValue string + s := &SystemRequirementsNodeRoleStatus{Status: &zeroValue} + s.GetStatus() + s = &SystemRequirementsNodeRoleStatus{} + s.GetStatus() + s = nil + s.GetStatus() } -func TestHookDelivery_GetEvent(tt *testing.T) { +func TestTag_GetMessage(tt *testing.T) { tt.Parallel() var zeroValue string - h := &HookDelivery{Event: &zeroValue} - h.GetEvent() - h = &HookDelivery{} - h.GetEvent() - h = nil - h.GetEvent() + t := &Tag{Message: &zeroValue} + t.GetMessage() + t = &Tag{} + t.GetMessage() + t = nil + t.GetMessage() } -func TestHookDelivery_GetGUID(tt *testing.T) { +func TestTag_GetNodeID(tt *testing.T) { tt.Parallel() var zeroValue string - h := &HookDelivery{GUID: &zeroValue} - h.GetGUID() - h = &HookDelivery{} - h.GetGUID() - h = nil - h.GetGUID() + t := &Tag{NodeID: &zeroValue} + t.GetNodeID() + t = &Tag{} + t.GetNodeID() + t = nil + t.GetNodeID() } -func TestHookDelivery_GetID(tt *testing.T) { +func TestTag_GetObject(tt *testing.T) { tt.Parallel() - var zeroValue int64 - h := &HookDelivery{ID: &zeroValue} - h.GetID() - h = &HookDelivery{} - h.GetID() - h = nil - h.GetID() + t := &Tag{} + t.GetObject() + t = nil + t.GetObject() } -func TestHookDelivery_GetInstallationID(tt *testing.T) { +func TestTag_GetSHA(tt *testing.T) { tt.Parallel() - var zeroValue int64 - h := &HookDelivery{InstallationID: &zeroValue} - h.GetInstallationID() - h = &HookDelivery{} - h.GetInstallationID() - h = nil - h.GetInstallationID() + var zeroValue string + t := &Tag{SHA: &zeroValue} + t.GetSHA() + t = &Tag{} + t.GetSHA() + t = nil + t.GetSHA() } -func TestHookDelivery_GetRedelivery(tt *testing.T) { +func TestTag_GetTag(tt *testing.T) { tt.Parallel() - var zeroValue bool - h := &HookDelivery{Redelivery: &zeroValue} - h.GetRedelivery() - h = &HookDelivery{} - h.GetRedelivery() - h = nil - h.GetRedelivery() + var zeroValue string + t := &Tag{Tag: &zeroValue} + t.GetTag() + t = &Tag{} + t.GetTag() + t = nil + t.GetTag() } -func TestHookDelivery_GetRepositoryID(tt *testing.T) { +func TestTag_GetTagger(tt *testing.T) { tt.Parallel() - var zeroValue int64 - h := &HookDelivery{RepositoryID: &zeroValue} - h.GetRepositoryID() - h = &HookDelivery{} - h.GetRepositoryID() - h = nil - h.GetRepositoryID() + t := &Tag{} + t.GetTagger() + t = nil + t.GetTagger() } -func TestHookDelivery_GetRequest(tt *testing.T) { +func TestTag_GetURL(tt *testing.T) { tt.Parallel() - h := &HookDelivery{} - h.GetRequest() - h = nil - h.GetRequest() + var zeroValue string + t := &Tag{URL: &zeroValue} + t.GetURL() + t = &Tag{} + t.GetURL() + t = nil + t.GetURL() } -func TestHookDelivery_GetResponse(tt *testing.T) { +func TestTag_GetVerification(tt *testing.T) { tt.Parallel() - h := &HookDelivery{} - h.GetResponse() - h = nil - h.GetResponse() + t := &Tag{} + t.GetVerification() + t = nil + t.GetVerification() } -func TestHookDelivery_GetStatus(tt *testing.T) { +func TestTagProtection_GetID(tt *testing.T) { tt.Parallel() - var zeroValue string - h := &HookDelivery{Status: &zeroValue} - h.GetStatus() - h = &HookDelivery{} - h.GetStatus() - h = nil - h.GetStatus() + var zeroValue int64 + t := &TagProtection{ID: &zeroValue} + t.GetID() + t = &TagProtection{} + t.GetID() + t = nil + t.GetID() } -func TestHookDelivery_GetStatusCode(tt *testing.T) { +func TestTagProtection_GetPattern(tt *testing.T) { tt.Parallel() - var zeroValue int - h := &HookDelivery{StatusCode: &zeroValue} - h.GetStatusCode() - h = &HookDelivery{} - h.GetStatusCode() - h = nil - h.GetStatusCode() + var zeroValue string + t := &TagProtection{Pattern: &zeroValue} + t.GetPattern() + t = &TagProtection{} + t.GetPattern() + t = nil + t.GetPattern() } -func TestHookDelivery_GetThrottledAt(tt *testing.T) { +func TestTaskStep_GetCompletedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp - h := &HookDelivery{ThrottledAt: &zeroValue} - h.GetThrottledAt() - h = &HookDelivery{} - h.GetThrottledAt() - h = nil - h.GetThrottledAt() + t := &TaskStep{CompletedAt: &zeroValue} + t.GetCompletedAt() + t = &TaskStep{} + t.GetCompletedAt() + t = nil + t.GetCompletedAt() } -func TestHookRequest_GetHeaders(tt *testing.T) { +func TestTaskStep_GetConclusion(tt *testing.T) { tt.Parallel() - zeroValue := map[string]string{} - h := &HookRequest{Headers: zeroValue} - h.GetHeaders() - h = &HookRequest{} - h.GetHeaders() - h = nil - h.GetHeaders() + var zeroValue string + t := &TaskStep{Conclusion: &zeroValue} + t.GetConclusion() + t = &TaskStep{} + t.GetConclusion() + t = nil + t.GetConclusion() } -func TestHookRequest_GetRawPayload(tt *testing.T) { +func TestTaskStep_GetName(tt *testing.T) { tt.Parallel() - var zeroValue json.RawMessage - h := &HookRequest{RawPayload: &zeroValue} - h.GetRawPayload() - h = &HookRequest{} - h.GetRawPayload() - h = nil - h.GetRawPayload() + var zeroValue string + t := &TaskStep{Name: &zeroValue} + t.GetName() + t = &TaskStep{} + t.GetName() + t = nil + t.GetName() } -func TestHookResponse_GetHeaders(tt *testing.T) { +func TestTaskStep_GetNumber(tt *testing.T) { tt.Parallel() - zeroValue := map[string]string{} - h := &HookResponse{Headers: zeroValue} - h.GetHeaders() - h = &HookResponse{} - h.GetHeaders() - h = nil - h.GetHeaders() + var zeroValue int64 + t := &TaskStep{Number: &zeroValue} + t.GetNumber() + t = &TaskStep{} + t.GetNumber() + t = nil + t.GetNumber() } -func TestHookResponse_GetRawPayload(tt *testing.T) { +func TestTaskStep_GetStartedAt(tt *testing.T) { tt.Parallel() - var zeroValue json.RawMessage - h := &HookResponse{RawPayload: &zeroValue} - h.GetRawPayload() - h = &HookResponse{} - h.GetRawPayload() - h = nil - h.GetRawPayload() + var zeroValue Timestamp + t := &TaskStep{StartedAt: &zeroValue} + t.GetStartedAt() + t = &TaskStep{} + t.GetStartedAt() + t = nil + t.GetStartedAt() +} + +func TestTaskStep_GetStatus(tt *testing.T) { + tt.Parallel() + var zeroValue string + t := &TaskStep{Status: &zeroValue} + t.GetStatus() + t = &TaskStep{} + t.GetStatus() + t = nil + t.GetStatus() } -func TestHookStats_GetActiveHooks(tt *testing.T) { +func TestTeam_GetAccessSource(tt *testing.T) { tt.Parallel() - var zeroValue int - h := &HookStats{ActiveHooks: &zeroValue} - h.GetActiveHooks() - h = &HookStats{} - h.GetActiveHooks() - h = nil - h.GetActiveHooks() + var zeroValue string + t := &Team{AccessSource: &zeroValue} + t.GetAccessSource() + t = &Team{} + t.GetAccessSource() + t = nil + t.GetAccessSource() } -func TestHookStats_GetInactiveHooks(tt *testing.T) { +func TestTeam_GetAssignment(tt *testing.T) { tt.Parallel() - var zeroValue int - h := &HookStats{InactiveHooks: &zeroValue} - h.GetInactiveHooks() - h = &HookStats{} - h.GetInactiveHooks() - h = nil - h.GetInactiveHooks() + var zeroValue string + t := &Team{Assignment: &zeroValue} + t.GetAssignment() + t = &Team{} + t.GetAssignment() + t = nil + t.GetAssignment() } -func TestHookStats_GetTotalHooks(tt *testing.T) { +func TestTeam_GetDescription(tt *testing.T) { tt.Parallel() - var zeroValue int - h := &HookStats{TotalHooks: &zeroValue} - h.GetTotalHooks() - h = &HookStats{} - h.GetTotalHooks() - h = nil - h.GetTotalHooks() + var zeroValue string + t := &Team{Description: &zeroValue} + t.GetDescription() + t = &Team{} + t.GetDescription() + t = nil + t.GetDescription() } -func TestHostedRunner_GetID(tt *testing.T) { +func TestTeam_GetHTMLURL(tt *testing.T) { tt.Parallel() - var zeroValue int64 - h := &HostedRunner{ID: &zeroValue} - h.GetID() - h = &HostedRunner{} - h.GetID() - h = nil - h.GetID() + var zeroValue string + t := &Team{HTMLURL: &zeroValue} + t.GetHTMLURL() + t = &Team{} + t.GetHTMLURL() + t = nil + t.GetHTMLURL() } -func TestHostedRunner_GetImageDetails(tt *testing.T) { +func TestTeam_GetID(tt *testing.T) { tt.Parallel() - h := &HostedRunner{} - h.GetImageDetails() - h = nil - h.GetImageDetails() + var zeroValue int64 + t := &Team{ID: &zeroValue} + t.GetID() + t = &Team{} + t.GetID() + t = nil + t.GetID() } -func TestHostedRunner_GetLastActiveOn(tt *testing.T) { +func TestTeam_GetLDAPDN(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - h := &HostedRunner{LastActiveOn: &zeroValue} - h.GetLastActiveOn() - h = &HostedRunner{} - h.GetLastActiveOn() - h = nil - h.GetLastActiveOn() + var zeroValue string + t := &Team{LDAPDN: &zeroValue} + t.GetLDAPDN() + t = &Team{} + t.GetLDAPDN() + t = nil + t.GetLDAPDN() } -func TestHostedRunner_GetMachineSizeDetails(tt *testing.T) { +func TestTeam_GetMembersCount(tt *testing.T) { tt.Parallel() - h := &HostedRunner{} - h.GetMachineSizeDetails() - h = nil - h.GetMachineSizeDetails() + var zeroValue int + t := &Team{MembersCount: &zeroValue} + t.GetMembersCount() + t = &Team{} + t.GetMembersCount() + t = nil + t.GetMembersCount() } -func TestHostedRunner_GetMaximumRunners(tt *testing.T) { +func TestTeam_GetMembersURL(tt *testing.T) { tt.Parallel() - var zeroValue int64 - h := &HostedRunner{MaximumRunners: &zeroValue} - h.GetMaximumRunners() - h = &HostedRunner{} - h.GetMaximumRunners() - h = nil - h.GetMaximumRunners() + var zeroValue string + t := &Team{MembersURL: &zeroValue} + t.GetMembersURL() + t = &Team{} + t.GetMembersURL() + t = nil + t.GetMembersURL() } -func TestHostedRunner_GetName(tt *testing.T) { +func TestTeam_GetName(tt *testing.T) { tt.Parallel() var zeroValue string - h := &HostedRunner{Name: &zeroValue} - h.GetName() - h = &HostedRunner{} - h.GetName() - h = nil - h.GetName() + t := &Team{Name: &zeroValue} + t.GetName() + t = &Team{} + t.GetName() + t = nil + t.GetName() } -func TestHostedRunner_GetPlatform(tt *testing.T) { +func TestTeam_GetNodeID(tt *testing.T) { tt.Parallel() var zeroValue string - h := &HostedRunner{Platform: &zeroValue} - h.GetPlatform() - h = &HostedRunner{} - h.GetPlatform() - h = nil - h.GetPlatform() + t := &Team{NodeID: &zeroValue} + t.GetNodeID() + t = &Team{} + t.GetNodeID() + t = nil + t.GetNodeID() } -func TestHostedRunner_GetPublicIPEnabled(tt *testing.T) { +func TestTeam_GetNotificationSetting(tt *testing.T) { tt.Parallel() - var zeroValue bool - h := &HostedRunner{PublicIPEnabled: &zeroValue} - h.GetPublicIPEnabled() - h = &HostedRunner{} - h.GetPublicIPEnabled() - h = nil - h.GetPublicIPEnabled() + var zeroValue string + t := &Team{NotificationSetting: &zeroValue} + t.GetNotificationSetting() + t = &Team{} + t.GetNotificationSetting() + t = nil + t.GetNotificationSetting() } -func TestHostedRunner_GetPublicIPs(tt *testing.T) { +func TestTeam_GetOrganization(tt *testing.T) { tt.Parallel() - zeroValue := []*HostedRunnerPublicIP{} - h := &HostedRunner{PublicIPs: zeroValue} - h.GetPublicIPs() - h = &HostedRunner{} - h.GetPublicIPs() - h = nil - h.GetPublicIPs() + t := &Team{} + t.GetOrganization() + t = nil + t.GetOrganization() } -func TestHostedRunner_GetRunnerGroupID(tt *testing.T) { +func TestTeam_GetParent(tt *testing.T) { tt.Parallel() - var zeroValue int64 - h := &HostedRunner{RunnerGroupID: &zeroValue} - h.GetRunnerGroupID() - h = &HostedRunner{} - h.GetRunnerGroupID() - h = nil - h.GetRunnerGroupID() + t := &Team{} + t.GetParent() + t = nil + t.GetParent() } -func TestHostedRunner_GetStatus(tt *testing.T) { +func TestTeam_GetPermission(tt *testing.T) { tt.Parallel() var zeroValue string - h := &HostedRunner{Status: &zeroValue} - h.GetStatus() - h = &HostedRunner{} - h.GetStatus() - h = nil - h.GetStatus() + t := &Team{Permission: &zeroValue} + t.GetPermission() + t = &Team{} + t.GetPermission() + t = nil + t.GetPermission() } -func TestHostedRunnerCustomImage_GetID(tt *testing.T) { +func TestTeam_GetPermissions(tt *testing.T) { tt.Parallel() - h := &HostedRunnerCustomImage{} - h.GetID() - h = nil - h.GetID() + zeroValue := map[string]bool{} + t := &Team{Permissions: zeroValue} + t.GetPermissions() + t = &Team{} + t.GetPermissions() + t = nil + t.GetPermissions() } -func TestHostedRunnerCustomImage_GetLatestVersion(tt *testing.T) { +func TestTeam_GetPrivacy(tt *testing.T) { tt.Parallel() - h := &HostedRunnerCustomImage{} - h.GetLatestVersion() - h = nil - h.GetLatestVersion() + var zeroValue string + t := &Team{Privacy: &zeroValue} + t.GetPrivacy() + t = &Team{} + t.GetPrivacy() + t = nil + t.GetPrivacy() } -func TestHostedRunnerCustomImage_GetName(tt *testing.T) { +func TestTeam_GetReposCount(tt *testing.T) { tt.Parallel() - h := &HostedRunnerCustomImage{} - h.GetName() - h = nil - h.GetName() + var zeroValue int + t := &Team{ReposCount: &zeroValue} + t.GetReposCount() + t = &Team{} + t.GetReposCount() + t = nil + t.GetReposCount() } -func TestHostedRunnerCustomImage_GetPlatform(tt *testing.T) { +func TestTeam_GetRepositoriesURL(tt *testing.T) { tt.Parallel() - h := &HostedRunnerCustomImage{} - h.GetPlatform() - h = nil - h.GetPlatform() + var zeroValue string + t := &Team{RepositoriesURL: &zeroValue} + t.GetRepositoriesURL() + t = &Team{} + t.GetRepositoriesURL() + t = nil + t.GetRepositoriesURL() } -func TestHostedRunnerCustomImage_GetSource(tt *testing.T) { +func TestTeam_GetSlug(tt *testing.T) { tt.Parallel() - h := &HostedRunnerCustomImage{} - h.GetSource() - h = nil - h.GetSource() + var zeroValue string + t := &Team{Slug: &zeroValue} + t.GetSlug() + t = &Team{} + t.GetSlug() + t = nil + t.GetSlug() } -func TestHostedRunnerCustomImage_GetState(tt *testing.T) { +func TestTeam_GetType(tt *testing.T) { tt.Parallel() - h := &HostedRunnerCustomImage{} - h.GetState() - h = nil - h.GetState() + var zeroValue string + t := &Team{Type: &zeroValue} + t.GetType() + t = &Team{} + t.GetType() + t = nil + t.GetType() } -func TestHostedRunnerCustomImage_GetTotalVersionsSize(tt *testing.T) { +func TestTeam_GetURL(tt *testing.T) { tt.Parallel() - h := &HostedRunnerCustomImage{} - h.GetTotalVersionsSize() - h = nil - h.GetTotalVersionsSize() + var zeroValue string + t := &Team{URL: &zeroValue} + t.GetURL() + t = &Team{} + t.GetURL() + t = nil + t.GetURL() } -func TestHostedRunnerCustomImage_GetVersionsCount(tt *testing.T) { +func TestTeamAddEvent_GetInstallation(tt *testing.T) { tt.Parallel() - h := &HostedRunnerCustomImage{} - h.GetVersionsCount() - h = nil - h.GetVersionsCount() + t := &TeamAddEvent{} + t.GetInstallation() + t = nil + t.GetInstallation() } -func TestHostedRunnerCustomImages_GetImages(tt *testing.T) { +func TestTeamAddEvent_GetOrg(tt *testing.T) { tt.Parallel() - zeroValue := []*HostedRunnerCustomImage{} - h := &HostedRunnerCustomImages{Images: zeroValue} - h.GetImages() - h = &HostedRunnerCustomImages{} - h.GetImages() - h = nil - h.GetImages() + t := &TeamAddEvent{} + t.GetOrg() + t = nil + t.GetOrg() } -func TestHostedRunnerCustomImages_GetTotalCount(tt *testing.T) { +func TestTeamAddEvent_GetRepo(tt *testing.T) { tt.Parallel() - h := &HostedRunnerCustomImages{} - h.GetTotalCount() - h = nil - h.GetTotalCount() + t := &TeamAddEvent{} + t.GetRepo() + t = nil + t.GetRepo() } -func TestHostedRunnerCustomImageVersion_GetCreatedOn(tt *testing.T) { +func TestTeamAddEvent_GetSender(tt *testing.T) { tt.Parallel() - h := &HostedRunnerCustomImageVersion{} - h.GetCreatedOn() - h = nil - h.GetCreatedOn() + t := &TeamAddEvent{} + t.GetSender() + t = nil + t.GetSender() } -func TestHostedRunnerCustomImageVersion_GetSizeGB(tt *testing.T) { +func TestTeamAddEvent_GetTeam(tt *testing.T) { tt.Parallel() - h := &HostedRunnerCustomImageVersion{} - h.GetSizeGB() - h = nil - h.GetSizeGB() + t := &TeamAddEvent{} + t.GetTeam() + t = nil + t.GetTeam() } -func TestHostedRunnerCustomImageVersion_GetState(tt *testing.T) { +func TestTeamAddTeamMembershipOptions_GetRole(tt *testing.T) { tt.Parallel() - h := &HostedRunnerCustomImageVersion{} - h.GetState() - h = nil - h.GetState() + t := &TeamAddTeamMembershipOptions{} + t.GetRole() + t = nil + t.GetRole() } -func TestHostedRunnerCustomImageVersion_GetStateDetails(tt *testing.T) { +func TestTeamAddTeamRepoOptions_GetPermission(tt *testing.T) { tt.Parallel() - h := &HostedRunnerCustomImageVersion{} - h.GetStateDetails() - h = nil - h.GetStateDetails() + t := &TeamAddTeamRepoOptions{} + t.GetPermission() + t = nil + t.GetPermission() } -func TestHostedRunnerCustomImageVersion_GetVersion(tt *testing.T) { +func TestTeamChange_GetDescription(tt *testing.T) { tt.Parallel() - h := &HostedRunnerCustomImageVersion{} - h.GetVersion() - h = nil - h.GetVersion() + t := &TeamChange{} + t.GetDescription() + t = nil + t.GetDescription() } -func TestHostedRunnerCustomImageVersions_GetImageVersions(tt *testing.T) { +func TestTeamChange_GetName(tt *testing.T) { tt.Parallel() - zeroValue := []*HostedRunnerCustomImageVersion{} - h := &HostedRunnerCustomImageVersions{ImageVersions: zeroValue} - h.GetImageVersions() - h = &HostedRunnerCustomImageVersions{} - h.GetImageVersions() - h = nil - h.GetImageVersions() + t := &TeamChange{} + t.GetName() + t = nil + t.GetName() } -func TestHostedRunnerCustomImageVersions_GetTotalCount(tt *testing.T) { +func TestTeamChange_GetPrivacy(tt *testing.T) { tt.Parallel() - h := &HostedRunnerCustomImageVersions{} - h.GetTotalCount() - h = nil - h.GetTotalCount() + t := &TeamChange{} + t.GetPrivacy() + t = nil + t.GetPrivacy() } -func TestHostedRunnerImage_GetID(tt *testing.T) { +func TestTeamChange_GetRepository(tt *testing.T) { tt.Parallel() - h := &HostedRunnerImage{} - h.GetID() - h = nil - h.GetID() + t := &TeamChange{} + t.GetRepository() + t = nil + t.GetRepository() } -func TestHostedRunnerImage_GetSource(tt *testing.T) { +func TestTeamDescription_GetFrom(tt *testing.T) { tt.Parallel() - h := &HostedRunnerImage{} - h.GetSource() - h = nil - h.GetSource() + var zeroValue string + t := &TeamDescription{From: &zeroValue} + t.GetFrom() + t = &TeamDescription{} + t.GetFrom() + t = nil + t.GetFrom() } -func TestHostedRunnerImage_GetVersion(tt *testing.T) { +func TestTeamDiscussion_GetAuthor(tt *testing.T) { + tt.Parallel() + t := &TeamDiscussion{} + t.GetAuthor() + t = nil + t.GetAuthor() +} + +func TestTeamDiscussion_GetBody(tt *testing.T) { tt.Parallel() var zeroValue string - h := &HostedRunnerImage{Version: &zeroValue} - h.GetVersion() - h = &HostedRunnerImage{} - h.GetVersion() - h = nil - h.GetVersion() + t := &TeamDiscussion{Body: &zeroValue} + t.GetBody() + t = &TeamDiscussion{} + t.GetBody() + t = nil + t.GetBody() } -func TestHostedRunnerImageDetail_GetDisplayName(tt *testing.T) { +func TestTeamDiscussion_GetBodyHTML(tt *testing.T) { tt.Parallel() var zeroValue string - h := &HostedRunnerImageDetail{DisplayName: &zeroValue} - h.GetDisplayName() - h = &HostedRunnerImageDetail{} - h.GetDisplayName() - h = nil - h.GetDisplayName() + t := &TeamDiscussion{BodyHTML: &zeroValue} + t.GetBodyHTML() + t = &TeamDiscussion{} + t.GetBodyHTML() + t = nil + t.GetBodyHTML() } -func TestHostedRunnerImageDetail_GetID(tt *testing.T) { +func TestTeamDiscussion_GetBodyVersion(tt *testing.T) { tt.Parallel() var zeroValue string - h := &HostedRunnerImageDetail{ID: &zeroValue} - h.GetID() - h = &HostedRunnerImageDetail{} - h.GetID() - h = nil - h.GetID() + t := &TeamDiscussion{BodyVersion: &zeroValue} + t.GetBodyVersion() + t = &TeamDiscussion{} + t.GetBodyVersion() + t = nil + t.GetBodyVersion() } -func TestHostedRunnerImageDetail_GetSizeGB(tt *testing.T) { +func TestTeamDiscussion_GetCommentsCount(tt *testing.T) { tt.Parallel() - var zeroValue int64 - h := &HostedRunnerImageDetail{SizeGB: &zeroValue} - h.GetSizeGB() - h = &HostedRunnerImageDetail{} - h.GetSizeGB() - h = nil - h.GetSizeGB() + var zeroValue int + t := &TeamDiscussion{CommentsCount: &zeroValue} + t.GetCommentsCount() + t = &TeamDiscussion{} + t.GetCommentsCount() + t = nil + t.GetCommentsCount() } -func TestHostedRunnerImageDetail_GetSource(tt *testing.T) { +func TestTeamDiscussion_GetCommentsURL(tt *testing.T) { tt.Parallel() var zeroValue string - h := &HostedRunnerImageDetail{Source: &zeroValue} - h.GetSource() - h = &HostedRunnerImageDetail{} - h.GetSource() - h = nil - h.GetSource() + t := &TeamDiscussion{CommentsURL: &zeroValue} + t.GetCommentsURL() + t = &TeamDiscussion{} + t.GetCommentsURL() + t = nil + t.GetCommentsURL() } -func TestHostedRunnerImageDetail_GetVersion(tt *testing.T) { +func TestTeamDiscussion_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + t := &TeamDiscussion{CreatedAt: &zeroValue} + t.GetCreatedAt() + t = &TeamDiscussion{} + t.GetCreatedAt() + t = nil + t.GetCreatedAt() +} + +func TestTeamDiscussion_GetHTMLURL(tt *testing.T) { tt.Parallel() var zeroValue string - h := &HostedRunnerImageDetail{Version: &zeroValue} - h.GetVersion() - h = &HostedRunnerImageDetail{} - h.GetVersion() - h = nil - h.GetVersion() + t := &TeamDiscussion{HTMLURL: &zeroValue} + t.GetHTMLURL() + t = &TeamDiscussion{} + t.GetHTMLURL() + t = nil + t.GetHTMLURL() } -func TestHostedRunnerImages_GetImages(tt *testing.T) { +func TestTeamDiscussion_GetLastEditedAt(tt *testing.T) { tt.Parallel() - zeroValue := []*HostedRunnerImageSpecs{} - h := &HostedRunnerImages{Images: zeroValue} - h.GetImages() - h = &HostedRunnerImages{} - h.GetImages() - h = nil - h.GetImages() + var zeroValue Timestamp + t := &TeamDiscussion{LastEditedAt: &zeroValue} + t.GetLastEditedAt() + t = &TeamDiscussion{} + t.GetLastEditedAt() + t = nil + t.GetLastEditedAt() } -func TestHostedRunnerImages_GetTotalCount(tt *testing.T) { +func TestTeamDiscussion_GetNodeID(tt *testing.T) { tt.Parallel() - h := &HostedRunnerImages{} - h.GetTotalCount() - h = nil - h.GetTotalCount() + var zeroValue string + t := &TeamDiscussion{NodeID: &zeroValue} + t.GetNodeID() + t = &TeamDiscussion{} + t.GetNodeID() + t = nil + t.GetNodeID() } -func TestHostedRunnerImageSpecs_GetDisplayName(tt *testing.T) { +func TestTeamDiscussion_GetNumber(tt *testing.T) { tt.Parallel() - h := &HostedRunnerImageSpecs{} - h.GetDisplayName() - h = nil - h.GetDisplayName() + var zeroValue int + t := &TeamDiscussion{Number: &zeroValue} + t.GetNumber() + t = &TeamDiscussion{} + t.GetNumber() + t = nil + t.GetNumber() } -func TestHostedRunnerImageSpecs_GetID(tt *testing.T) { +func TestTeamDiscussion_GetPinned(tt *testing.T) { tt.Parallel() - h := &HostedRunnerImageSpecs{} - h.GetID() - h = nil - h.GetID() + var zeroValue bool + t := &TeamDiscussion{Pinned: &zeroValue} + t.GetPinned() + t = &TeamDiscussion{} + t.GetPinned() + t = nil + t.GetPinned() } -func TestHostedRunnerImageSpecs_GetPlatform(tt *testing.T) { +func TestTeamDiscussion_GetPrivate(tt *testing.T) { tt.Parallel() - h := &HostedRunnerImageSpecs{} - h.GetPlatform() - h = nil - h.GetPlatform() + var zeroValue bool + t := &TeamDiscussion{Private: &zeroValue} + t.GetPrivate() + t = &TeamDiscussion{} + t.GetPrivate() + t = nil + t.GetPrivate() } -func TestHostedRunnerImageSpecs_GetSizeGB(tt *testing.T) { +func TestTeamDiscussion_GetReactions(tt *testing.T) { tt.Parallel() - h := &HostedRunnerImageSpecs{} - h.GetSizeGB() - h = nil - h.GetSizeGB() + t := &TeamDiscussion{} + t.GetReactions() + t = nil + t.GetReactions() } -func TestHostedRunnerImageSpecs_GetSource(tt *testing.T) { +func TestTeamDiscussion_GetTeamURL(tt *testing.T) { tt.Parallel() - h := &HostedRunnerImageSpecs{} - h.GetSource() - h = nil - h.GetSource() + var zeroValue string + t := &TeamDiscussion{TeamURL: &zeroValue} + t.GetTeamURL() + t = &TeamDiscussion{} + t.GetTeamURL() + t = nil + t.GetTeamURL() } -func TestHostedRunnerMachineSpec_GetCPUCores(tt *testing.T) { +func TestTeamDiscussion_GetTitle(tt *testing.T) { tt.Parallel() - h := &HostedRunnerMachineSpec{} - h.GetCPUCores() - h = nil - h.GetCPUCores() + var zeroValue string + t := &TeamDiscussion{Title: &zeroValue} + t.GetTitle() + t = &TeamDiscussion{} + t.GetTitle() + t = nil + t.GetTitle() } -func TestHostedRunnerMachineSpec_GetID(tt *testing.T) { +func TestTeamDiscussion_GetUpdatedAt(tt *testing.T) { tt.Parallel() - h := &HostedRunnerMachineSpec{} - h.GetID() - h = nil - h.GetID() + var zeroValue Timestamp + t := &TeamDiscussion{UpdatedAt: &zeroValue} + t.GetUpdatedAt() + t = &TeamDiscussion{} + t.GetUpdatedAt() + t = nil + t.GetUpdatedAt() } -func TestHostedRunnerMachineSpec_GetMemoryGB(tt *testing.T) { +func TestTeamDiscussion_GetURL(tt *testing.T) { tt.Parallel() - h := &HostedRunnerMachineSpec{} - h.GetMemoryGB() - h = nil - h.GetMemoryGB() + var zeroValue string + t := &TeamDiscussion{URL: &zeroValue} + t.GetURL() + t = &TeamDiscussion{} + t.GetURL() + t = nil + t.GetURL() } -func TestHostedRunnerMachineSpec_GetStorageGB(tt *testing.T) { +func TestTeamEvent_GetAction(tt *testing.T) { tt.Parallel() - h := &HostedRunnerMachineSpec{} - h.GetStorageGB() - h = nil - h.GetStorageGB() + var zeroValue string + t := &TeamEvent{Action: &zeroValue} + t.GetAction() + t = &TeamEvent{} + t.GetAction() + t = nil + t.GetAction() } -func TestHostedRunnerMachineSpecs_GetMachineSpecs(tt *testing.T) { +func TestTeamEvent_GetChanges(tt *testing.T) { tt.Parallel() - zeroValue := []*HostedRunnerMachineSpec{} - h := &HostedRunnerMachineSpecs{MachineSpecs: zeroValue} - h.GetMachineSpecs() - h = &HostedRunnerMachineSpecs{} - h.GetMachineSpecs() - h = nil - h.GetMachineSpecs() + t := &TeamEvent{} + t.GetChanges() + t = nil + t.GetChanges() } -func TestHostedRunnerMachineSpecs_GetTotalCount(tt *testing.T) { +func TestTeamEvent_GetInstallation(tt *testing.T) { tt.Parallel() - h := &HostedRunnerMachineSpecs{} - h.GetTotalCount() - h = nil - h.GetTotalCount() + t := &TeamEvent{} + t.GetInstallation() + t = nil + t.GetInstallation() } -func TestHostedRunnerPlatforms_GetPlatforms(tt *testing.T) { +func TestTeamEvent_GetOrg(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - h := &HostedRunnerPlatforms{Platforms: zeroValue} - h.GetPlatforms() - h = &HostedRunnerPlatforms{} - h.GetPlatforms() - h = nil - h.GetPlatforms() + t := &TeamEvent{} + t.GetOrg() + t = nil + t.GetOrg() } -func TestHostedRunnerPlatforms_GetTotalCount(tt *testing.T) { +func TestTeamEvent_GetRepo(tt *testing.T) { tt.Parallel() - h := &HostedRunnerPlatforms{} - h.GetTotalCount() - h = nil - h.GetTotalCount() + t := &TeamEvent{} + t.GetRepo() + t = nil + t.GetRepo() } -func TestHostedRunnerPublicIP_GetEnabled(tt *testing.T) { +func TestTeamEvent_GetSender(tt *testing.T) { tt.Parallel() - h := &HostedRunnerPublicIP{} - h.GetEnabled() - h = nil - h.GetEnabled() + t := &TeamEvent{} + t.GetSender() + t = nil + t.GetSender() } -func TestHostedRunnerPublicIP_GetLength(tt *testing.T) { +func TestTeamEvent_GetTeam(tt *testing.T) { tt.Parallel() - h := &HostedRunnerPublicIP{} - h.GetLength() - h = nil - h.GetLength() + t := &TeamEvent{} + t.GetTeam() + t = nil + t.GetTeam() } -func TestHostedRunnerPublicIP_GetPrefix(tt *testing.T) { +func TestTeamLDAPMapping_GetDescription(tt *testing.T) { tt.Parallel() - h := &HostedRunnerPublicIP{} - h.GetPrefix() - h = nil - h.GetPrefix() + var zeroValue string + t := &TeamLDAPMapping{Description: &zeroValue} + t.GetDescription() + t = &TeamLDAPMapping{} + t.GetDescription() + t = nil + t.GetDescription() } -func TestHostedRunnerPublicIPLimits_GetPublicIPs(tt *testing.T) { +func TestTeamLDAPMapping_GetID(tt *testing.T) { tt.Parallel() - h := &HostedRunnerPublicIPLimits{} - h.GetPublicIPs() - h = nil - h.GetPublicIPs() + var zeroValue int64 + t := &TeamLDAPMapping{ID: &zeroValue} + t.GetID() + t = &TeamLDAPMapping{} + t.GetID() + t = nil + t.GetID() } -func TestHostedRunners_GetRunners(tt *testing.T) { +func TestTeamLDAPMapping_GetLDAPDN(tt *testing.T) { tt.Parallel() - zeroValue := []*HostedRunner{} - h := &HostedRunners{Runners: zeroValue} - h.GetRunners() - h = &HostedRunners{} - h.GetRunners() - h = nil - h.GetRunners() + var zeroValue string + t := &TeamLDAPMapping{LDAPDN: &zeroValue} + t.GetLDAPDN() + t = &TeamLDAPMapping{} + t.GetLDAPDN() + t = nil + t.GetLDAPDN() } -func TestHostedRunners_GetTotalCount(tt *testing.T) { +func TestTeamLDAPMapping_GetMembersURL(tt *testing.T) { tt.Parallel() - h := &HostedRunners{} - h.GetTotalCount() - h = nil - h.GetTotalCount() + var zeroValue string + t := &TeamLDAPMapping{MembersURL: &zeroValue} + t.GetMembersURL() + t = &TeamLDAPMapping{} + t.GetMembersURL() + t = nil + t.GetMembersURL() } -func TestHovercard_GetContexts(tt *testing.T) { +func TestTeamLDAPMapping_GetName(tt *testing.T) { tt.Parallel() - zeroValue := []*UserContext{} - h := &Hovercard{Contexts: zeroValue} - h.GetContexts() - h = &Hovercard{} - h.GetContexts() - h = nil - h.GetContexts() + var zeroValue string + t := &TeamLDAPMapping{Name: &zeroValue} + t.GetName() + t = &TeamLDAPMapping{} + t.GetName() + t = nil + t.GetName() } -func TestHovercardOptions_GetSubjectID(tt *testing.T) { +func TestTeamLDAPMapping_GetPermission(tt *testing.T) { tt.Parallel() - h := &HovercardOptions{} - h.GetSubjectID() - h = nil - h.GetSubjectID() + var zeroValue string + t := &TeamLDAPMapping{Permission: &zeroValue} + t.GetPermission() + t = &TeamLDAPMapping{} + t.GetPermission() + t = nil + t.GetPermission() } -func TestHovercardOptions_GetSubjectType(tt *testing.T) { +func TestTeamLDAPMapping_GetPrivacy(tt *testing.T) { tt.Parallel() - h := &HovercardOptions{} - h.GetSubjectType() - h = nil - h.GetSubjectType() + var zeroValue string + t := &TeamLDAPMapping{Privacy: &zeroValue} + t.GetPrivacy() + t = &TeamLDAPMapping{} + t.GetPrivacy() + t = nil + t.GetPrivacy() } -func TestIDPGroup_GetGroupDescription(tt *testing.T) { +func TestTeamLDAPMapping_GetRepositoriesURL(tt *testing.T) { tt.Parallel() var zeroValue string - i := &IDPGroup{GroupDescription: &zeroValue} - i.GetGroupDescription() - i = &IDPGroup{} - i.GetGroupDescription() - i = nil - i.GetGroupDescription() + t := &TeamLDAPMapping{RepositoriesURL: &zeroValue} + t.GetRepositoriesURL() + t = &TeamLDAPMapping{} + t.GetRepositoriesURL() + t = nil + t.GetRepositoriesURL() } -func TestIDPGroup_GetGroupID(tt *testing.T) { +func TestTeamLDAPMapping_GetSlug(tt *testing.T) { tt.Parallel() var zeroValue string - i := &IDPGroup{GroupID: &zeroValue} - i.GetGroupID() - i = &IDPGroup{} - i.GetGroupID() - i = nil - i.GetGroupID() + t := &TeamLDAPMapping{Slug: &zeroValue} + t.GetSlug() + t = &TeamLDAPMapping{} + t.GetSlug() + t = nil + t.GetSlug() } -func TestIDPGroup_GetGroupName(tt *testing.T) { +func TestTeamLDAPMapping_GetURL(tt *testing.T) { tt.Parallel() var zeroValue string - i := &IDPGroup{GroupName: &zeroValue} - i.GetGroupName() - i = &IDPGroup{} - i.GetGroupName() - i = nil - i.GetGroupName() + t := &TeamLDAPMapping{URL: &zeroValue} + t.GetURL() + t = &TeamLDAPMapping{} + t.GetURL() + t = nil + t.GetURL() } -func TestIDPGroupList_GetGroups(tt *testing.T) { +func TestTeamListTeamMembersOptions_GetRole(tt *testing.T) { tt.Parallel() - zeroValue := []*IDPGroup{} - i := &IDPGroupList{Groups: zeroValue} - i.GetGroups() - i = &IDPGroupList{} - i.GetGroups() - i = nil - i.GetGroups() + t := &TeamListTeamMembersOptions{} + t.GetRole() + t = nil + t.GetRole() } -func TestImmutableReleasePolicy_GetEnforcedRepositories(tt *testing.T) { +func TestTeamName_GetFrom(tt *testing.T) { tt.Parallel() var zeroValue string - i := &ImmutableReleasePolicy{EnforcedRepositories: &zeroValue} - i.GetEnforcedRepositories() - i = &ImmutableReleasePolicy{} - i.GetEnforcedRepositories() - i = nil - i.GetEnforcedRepositories() + t := &TeamName{From: &zeroValue} + t.GetFrom() + t = &TeamName{} + t.GetFrom() + t = nil + t.GetFrom() } -func TestImmutableReleasePolicy_GetSelectedRepositoryIDs(tt *testing.T) { +func TestTeamPermissions_GetFrom(tt *testing.T) { tt.Parallel() - zeroValue := []int64{} - i := &ImmutableReleasePolicy{SelectedRepositoryIDs: zeroValue} - i.GetSelectedRepositoryIDs() - i = &ImmutableReleasePolicy{} - i.GetSelectedRepositoryIDs() - i = nil - i.GetSelectedRepositoryIDs() + t := &TeamPermissions{} + t.GetFrom() + t = nil + t.GetFrom() } -func TestImmutableReleaseSettings_GetEnforcedRepositories(tt *testing.T) { +func TestTeamPermissionsFrom_GetAdmin(tt *testing.T) { + tt.Parallel() + var zeroValue bool + t := &TeamPermissionsFrom{Admin: &zeroValue} + t.GetAdmin() + t = &TeamPermissionsFrom{} + t.GetAdmin() + t = nil + t.GetAdmin() +} + +func TestTeamPermissionsFrom_GetPull(tt *testing.T) { + tt.Parallel() + var zeroValue bool + t := &TeamPermissionsFrom{Pull: &zeroValue} + t.GetPull() + t = &TeamPermissionsFrom{} + t.GetPull() + t = nil + t.GetPull() +} + +func TestTeamPermissionsFrom_GetPush(tt *testing.T) { + tt.Parallel() + var zeroValue bool + t := &TeamPermissionsFrom{Push: &zeroValue} + t.GetPush() + t = &TeamPermissionsFrom{} + t.GetPush() + t = nil + t.GetPush() +} + +func TestTeamPrivacy_GetFrom(tt *testing.T) { tt.Parallel() var zeroValue string - i := &ImmutableReleaseSettings{EnforcedRepositories: &zeroValue} - i.GetEnforcedRepositories() - i = &ImmutableReleaseSettings{} - i.GetEnforcedRepositories() - i = nil - i.GetEnforcedRepositories() + t := &TeamPrivacy{From: &zeroValue} + t.GetFrom() + t = &TeamPrivacy{} + t.GetFrom() + t = nil + t.GetFrom() } -func TestImmutableReleaseSettings_GetSelectedRepositoriesURL(tt *testing.T) { +func TestTeamProjectOptions_GetPermission(tt *testing.T) { tt.Parallel() var zeroValue string - i := &ImmutableReleaseSettings{SelectedRepositoriesURL: &zeroValue} - i.GetSelectedRepositoriesURL() - i = &ImmutableReleaseSettings{} - i.GetSelectedRepositoriesURL() - i = nil - i.GetSelectedRepositoriesURL() + t := &TeamProjectOptions{Permission: &zeroValue} + t.GetPermission() + t = &TeamProjectOptions{} + t.GetPermission() + t = nil + t.GetPermission() } -func TestImport_GetAuthorsCount(tt *testing.T) { +func TestTeamRepository_GetPermissions(tt *testing.T) { tt.Parallel() - var zeroValue int - i := &Import{AuthorsCount: &zeroValue} - i.GetAuthorsCount() - i = &Import{} - i.GetAuthorsCount() - i = nil - i.GetAuthorsCount() + t := &TeamRepository{} + t.GetPermissions() + t = nil + t.GetPermissions() +} + +func TestTemplateRepoRequest_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + t := &TemplateRepoRequest{Description: &zeroValue} + t.GetDescription() + t = &TemplateRepoRequest{} + t.GetDescription() + t = nil + t.GetDescription() +} + +func TestTemplateRepoRequest_GetIncludeAllBranches(tt *testing.T) { + tt.Parallel() + var zeroValue bool + t := &TemplateRepoRequest{IncludeAllBranches: &zeroValue} + t.GetIncludeAllBranches() + t = &TemplateRepoRequest{} + t.GetIncludeAllBranches() + t = nil + t.GetIncludeAllBranches() } -func TestImport_GetAuthorsURL(tt *testing.T) { +func TestTemplateRepoRequest_GetName(tt *testing.T) { + tt.Parallel() + t := &TemplateRepoRequest{} + t.GetName() + t = nil + t.GetName() +} + +func TestTemplateRepoRequest_GetOwner(tt *testing.T) { tt.Parallel() var zeroValue string - i := &Import{AuthorsURL: &zeroValue} - i.GetAuthorsURL() - i = &Import{} - i.GetAuthorsURL() - i = nil - i.GetAuthorsURL() + t := &TemplateRepoRequest{Owner: &zeroValue} + t.GetOwner() + t = &TemplateRepoRequest{} + t.GetOwner() + t = nil + t.GetOwner() } -func TestImport_GetCommitCount(tt *testing.T) { +func TestTemplateRepoRequest_GetPrivate(tt *testing.T) { tt.Parallel() - var zeroValue int - i := &Import{CommitCount: &zeroValue} - i.GetCommitCount() - i = &Import{} - i.GetCommitCount() - i = nil - i.GetCommitCount() + var zeroValue bool + t := &TemplateRepoRequest{Private: &zeroValue} + t.GetPrivate() + t = &TemplateRepoRequest{} + t.GetPrivate() + t = nil + t.GetPrivate() } -func TestImport_GetFailedStep(tt *testing.T) { +func TestTextMatch_GetFragment(tt *testing.T) { tt.Parallel() var zeroValue string - i := &Import{FailedStep: &zeroValue} - i.GetFailedStep() - i = &Import{} - i.GetFailedStep() - i = nil - i.GetFailedStep() + t := &TextMatch{Fragment: &zeroValue} + t.GetFragment() + t = &TextMatch{} + t.GetFragment() + t = nil + t.GetFragment() } -func TestImport_GetHasLargeFiles(tt *testing.T) { +func TestTextMatch_GetMatches(tt *testing.T) { tt.Parallel() - var zeroValue bool - i := &Import{HasLargeFiles: &zeroValue} - i.GetHasLargeFiles() - i = &Import{} - i.GetHasLargeFiles() - i = nil - i.GetHasLargeFiles() + zeroValue := []*Match{} + t := &TextMatch{Matches: zeroValue} + t.GetMatches() + t = &TextMatch{} + t.GetMatches() + t = nil + t.GetMatches() } -func TestImport_GetHTMLURL(tt *testing.T) { +func TestTextMatch_GetObjectType(tt *testing.T) { tt.Parallel() var zeroValue string - i := &Import{HTMLURL: &zeroValue} - i.GetHTMLURL() - i = &Import{} - i.GetHTMLURL() - i = nil - i.GetHTMLURL() + t := &TextMatch{ObjectType: &zeroValue} + t.GetObjectType() + t = &TextMatch{} + t.GetObjectType() + t = nil + t.GetObjectType() } -func TestImport_GetHumanName(tt *testing.T) { +func TestTextMatch_GetObjectURL(tt *testing.T) { tt.Parallel() var zeroValue string - i := &Import{HumanName: &zeroValue} - i.GetHumanName() - i = &Import{} - i.GetHumanName() - i = nil - i.GetHumanName() + t := &TextMatch{ObjectURL: &zeroValue} + t.GetObjectURL() + t = &TextMatch{} + t.GetObjectURL() + t = nil + t.GetObjectURL() } -func TestImport_GetLargeFilesCount(tt *testing.T) { +func TestTextMatch_GetProperty(tt *testing.T) { tt.Parallel() - var zeroValue int - i := &Import{LargeFilesCount: &zeroValue} - i.GetLargeFilesCount() - i = &Import{} - i.GetLargeFilesCount() - i = nil - i.GetLargeFilesCount() + var zeroValue string + t := &TextMatch{Property: &zeroValue} + t.GetProperty() + t = &TextMatch{} + t.GetProperty() + t = nil + t.GetProperty() } -func TestImport_GetLargeFilesSize(tt *testing.T) { +func TestTimeline_GetActor(tt *testing.T) { tt.Parallel() - var zeroValue int - i := &Import{LargeFilesSize: &zeroValue} - i.GetLargeFilesSize() - i = &Import{} - i.GetLargeFilesSize() - i = nil - i.GetLargeFilesSize() + t := &Timeline{} + t.GetActor() + t = nil + t.GetActor() } -func TestImport_GetMessage(tt *testing.T) { +func TestTimeline_GetAssignee(tt *testing.T) { tt.Parallel() - var zeroValue string - i := &Import{Message: &zeroValue} - i.GetMessage() - i = &Import{} - i.GetMessage() - i = nil - i.GetMessage() + t := &Timeline{} + t.GetAssignee() + t = nil + t.GetAssignee() } -func TestImport_GetPercent(tt *testing.T) { +func TestTimeline_GetAssigner(tt *testing.T) { tt.Parallel() - var zeroValue int - i := &Import{Percent: &zeroValue} - i.GetPercent() - i = &Import{} - i.GetPercent() - i = nil - i.GetPercent() + t := &Timeline{} + t.GetAssigner() + t = nil + t.GetAssigner() } -func TestImport_GetProjectChoices(tt *testing.T) { +func TestTimeline_GetAuthor(tt *testing.T) { tt.Parallel() - zeroValue := []*Import{} - i := &Import{ProjectChoices: zeroValue} - i.GetProjectChoices() - i = &Import{} - i.GetProjectChoices() - i = nil - i.GetProjectChoices() + t := &Timeline{} + t.GetAuthor() + t = nil + t.GetAuthor() } -func TestImport_GetPushPercent(tt *testing.T) { +func TestTimeline_GetBody(tt *testing.T) { tt.Parallel() - var zeroValue int - i := &Import{PushPercent: &zeroValue} - i.GetPushPercent() - i = &Import{} - i.GetPushPercent() - i = nil - i.GetPushPercent() + var zeroValue string + t := &Timeline{Body: &zeroValue} + t.GetBody() + t = &Timeline{} + t.GetBody() + t = nil + t.GetBody() } -func TestImport_GetRepositoryURL(tt *testing.T) { +func TestTimeline_GetCommitID(tt *testing.T) { tt.Parallel() var zeroValue string - i := &Import{RepositoryURL: &zeroValue} - i.GetRepositoryURL() - i = &Import{} - i.GetRepositoryURL() - i = nil - i.GetRepositoryURL() + t := &Timeline{CommitID: &zeroValue} + t.GetCommitID() + t = &Timeline{} + t.GetCommitID() + t = nil + t.GetCommitID() } -func TestImport_GetStatus(tt *testing.T) { +func TestTimeline_GetCommitter(tt *testing.T) { tt.Parallel() - var zeroValue string - i := &Import{Status: &zeroValue} - i.GetStatus() - i = &Import{} - i.GetStatus() - i = nil - i.GetStatus() + t := &Timeline{} + t.GetCommitter() + t = nil + t.GetCommitter() } -func TestImport_GetStatusText(tt *testing.T) { +func TestTimeline_GetCommitURL(tt *testing.T) { tt.Parallel() var zeroValue string - i := &Import{StatusText: &zeroValue} - i.GetStatusText() - i = &Import{} - i.GetStatusText() - i = nil - i.GetStatusText() + t := &Timeline{CommitURL: &zeroValue} + t.GetCommitURL() + t = &Timeline{} + t.GetCommitURL() + t = nil + t.GetCommitURL() } -func TestImport_GetTFVCProject(tt *testing.T) { +func TestTimeline_GetCreatedAt(tt *testing.T) { tt.Parallel() - var zeroValue string - i := &Import{TFVCProject: &zeroValue} - i.GetTFVCProject() - i = &Import{} - i.GetTFVCProject() - i = nil - i.GetTFVCProject() + var zeroValue Timestamp + t := &Timeline{CreatedAt: &zeroValue} + t.GetCreatedAt() + t = &Timeline{} + t.GetCreatedAt() + t = nil + t.GetCreatedAt() } -func TestImport_GetURL(tt *testing.T) { +func TestTimeline_GetEvent(tt *testing.T) { tt.Parallel() var zeroValue string - i := &Import{URL: &zeroValue} - i.GetURL() - i = &Import{} - i.GetURL() - i = nil - i.GetURL() + t := &Timeline{Event: &zeroValue} + t.GetEvent() + t = &Timeline{} + t.GetEvent() + t = nil + t.GetEvent() } -func TestImport_GetUseLFS(tt *testing.T) { +func TestTimeline_GetID(tt *testing.T) { tt.Parallel() - var zeroValue string - i := &Import{UseLFS: &zeroValue} - i.GetUseLFS() - i = &Import{} - i.GetUseLFS() - i = nil - i.GetUseLFS() + var zeroValue int64 + t := &Timeline{ID: &zeroValue} + t.GetID() + t = &Timeline{} + t.GetID() + t = nil + t.GetID() } -func TestImport_GetVCS(tt *testing.T) { +func TestTimeline_GetLabel(tt *testing.T) { tt.Parallel() - var zeroValue string - i := &Import{VCS: &zeroValue} - i.GetVCS() - i = &Import{} - i.GetVCS() - i = nil - i.GetVCS() + t := &Timeline{} + t.GetLabel() + t = nil + t.GetLabel() } -func TestImport_GetVCSPassword(tt *testing.T) { +func TestTimeline_GetMessage(tt *testing.T) { tt.Parallel() var zeroValue string - i := &Import{VCSPassword: &zeroValue} - i.GetVCSPassword() - i = &Import{} - i.GetVCSPassword() - i = nil - i.GetVCSPassword() + t := &Timeline{Message: &zeroValue} + t.GetMessage() + t = &Timeline{} + t.GetMessage() + t = nil + t.GetMessage() } -func TestImport_GetVCSURL(tt *testing.T) { +func TestTimeline_GetMilestone(tt *testing.T) { tt.Parallel() - var zeroValue string - i := &Import{VCSURL: &zeroValue} - i.GetVCSURL() - i = &Import{} - i.GetVCSURL() - i = nil - i.GetVCSURL() + t := &Timeline{} + t.GetMilestone() + t = nil + t.GetMilestone() } -func TestImport_GetVCSUsername(tt *testing.T) { +func TestTimeline_GetParents(tt *testing.T) { tt.Parallel() - var zeroValue string - i := &Import{VCSUsername: &zeroValue} - i.GetVCSUsername() - i = &Import{} - i.GetVCSUsername() - i = nil - i.GetVCSUsername() + zeroValue := []*Commit{} + t := &Timeline{Parents: zeroValue} + t.GetParents() + t = &Timeline{} + t.GetParents() + t = nil + t.GetParents() } -func TestInitialConfigOptions_GetLicense(tt *testing.T) { +func TestTimeline_GetPerformedViaGithubApp(tt *testing.T) { tt.Parallel() - i := &InitialConfigOptions{} - i.GetLicense() - i = nil - i.GetLicense() + t := &Timeline{} + t.GetPerformedViaGithubApp() + t = nil + t.GetPerformedViaGithubApp() } -func TestInitialConfigOptions_GetPassword(tt *testing.T) { +func TestTimeline_GetRename(tt *testing.T) { tt.Parallel() - i := &InitialConfigOptions{} - i.GetPassword() - i = nil - i.GetPassword() + t := &Timeline{} + t.GetRename() + t = nil + t.GetRename() } -func TestInstallableOrganization_GetAccessibleRepositoriesURL(tt *testing.T) { +func TestTimeline_GetRequestedTeam(tt *testing.T) { tt.Parallel() - var zeroValue string - i := &InstallableOrganization{AccessibleRepositoriesURL: &zeroValue} - i.GetAccessibleRepositoriesURL() - i = &InstallableOrganization{} - i.GetAccessibleRepositoriesURL() - i = nil - i.GetAccessibleRepositoriesURL() + t := &Timeline{} + t.GetRequestedTeam() + t = nil + t.GetRequestedTeam() } -func TestInstallableOrganization_GetID(tt *testing.T) { +func TestTimeline_GetRequester(tt *testing.T) { tt.Parallel() - i := &InstallableOrganization{} - i.GetID() - i = nil - i.GetID() + t := &Timeline{} + t.GetRequester() + t = nil + t.GetRequester() } -func TestInstallableOrganization_GetLogin(tt *testing.T) { +func TestTimeline_GetReviewer(tt *testing.T) { tt.Parallel() - i := &InstallableOrganization{} - i.GetLogin() - i = nil - i.GetLogin() + t := &Timeline{} + t.GetReviewer() + t = nil + t.GetReviewer() } -func TestInstallAppRequest_GetClientID(tt *testing.T) { +func TestTimeline_GetSHA(tt *testing.T) { tt.Parallel() - i := &InstallAppRequest{} - i.GetClientID() - i = nil - i.GetClientID() + var zeroValue string + t := &Timeline{SHA: &zeroValue} + t.GetSHA() + t = &Timeline{} + t.GetSHA() + t = nil + t.GetSHA() } -func TestInstallAppRequest_GetRepositories(tt *testing.T) { +func TestTimeline_GetSource(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - i := &InstallAppRequest{Repositories: zeroValue} - i.GetRepositories() - i = &InstallAppRequest{} - i.GetRepositories() - i = nil - i.GetRepositories() + t := &Timeline{} + t.GetSource() + t = nil + t.GetSource() } -func TestInstallAppRequest_GetRepositorySelection(tt *testing.T) { +func TestTimeline_GetState(tt *testing.T) { tt.Parallel() - i := &InstallAppRequest{} - i.GetRepositorySelection() - i = nil - i.GetRepositorySelection() + var zeroValue string + t := &Timeline{State: &zeroValue} + t.GetState() + t = &Timeline{} + t.GetState() + t = nil + t.GetState() } -func TestInstallation_GetAccessTokensURL(tt *testing.T) { +func TestTimeline_GetSubmittedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + t := &Timeline{SubmittedAt: &zeroValue} + t.GetSubmittedAt() + t = &Timeline{} + t.GetSubmittedAt() + t = nil + t.GetSubmittedAt() +} + +func TestTimeline_GetURL(tt *testing.T) { tt.Parallel() var zeroValue string - i := &Installation{AccessTokensURL: &zeroValue} - i.GetAccessTokensURL() - i = &Installation{} - i.GetAccessTokensURL() - i = nil - i.GetAccessTokensURL() + t := &Timeline{URL: &zeroValue} + t.GetURL() + t = &Timeline{} + t.GetURL() + t = nil + t.GetURL() } -func TestInstallation_GetAccount(tt *testing.T) { +func TestTimeline_GetUser(tt *testing.T) { tt.Parallel() - i := &Installation{} - i.GetAccount() - i = nil - i.GetAccount() + t := &Timeline{} + t.GetUser() + t = nil + t.GetUser() } -func TestInstallation_GetAppID(tt *testing.T) { +func TestTool_GetGUID(tt *testing.T) { tt.Parallel() - var zeroValue int64 - i := &Installation{AppID: &zeroValue} - i.GetAppID() - i = &Installation{} - i.GetAppID() - i = nil - i.GetAppID() + var zeroValue string + t := &Tool{GUID: &zeroValue} + t.GetGUID() + t = &Tool{} + t.GetGUID() + t = nil + t.GetGUID() } -func TestInstallation_GetAppSlug(tt *testing.T) { +func TestTool_GetName(tt *testing.T) { tt.Parallel() var zeroValue string - i := &Installation{AppSlug: &zeroValue} - i.GetAppSlug() - i = &Installation{} - i.GetAppSlug() - i = nil - i.GetAppSlug() + t := &Tool{Name: &zeroValue} + t.GetName() + t = &Tool{} + t.GetName() + t = nil + t.GetName() } -func TestInstallation_GetClientID(tt *testing.T) { +func TestTool_GetVersion(tt *testing.T) { tt.Parallel() var zeroValue string - i := &Installation{ClientID: &zeroValue} - i.GetClientID() - i = &Installation{} - i.GetClientID() - i = nil - i.GetClientID() + t := &Tool{Version: &zeroValue} + t.GetVersion() + t = &Tool{} + t.GetVersion() + t = nil + t.GetVersion() } -func TestInstallation_GetCreatedAt(tt *testing.T) { +func TestTopicResult_GetCreatedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp - i := &Installation{CreatedAt: &zeroValue} - i.GetCreatedAt() - i = &Installation{} - i.GetCreatedAt() - i = nil - i.GetCreatedAt() + t := &TopicResult{CreatedAt: &zeroValue} + t.GetCreatedAt() + t = &TopicResult{} + t.GetCreatedAt() + t = nil + t.GetCreatedAt() } -func TestInstallation_GetEvents(tt *testing.T) { +func TestTopicResult_GetCreatedBy(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - i := &Installation{Events: zeroValue} - i.GetEvents() - i = &Installation{} - i.GetEvents() - i = nil - i.GetEvents() + var zeroValue string + t := &TopicResult{CreatedBy: &zeroValue} + t.GetCreatedBy() + t = &TopicResult{} + t.GetCreatedBy() + t = nil + t.GetCreatedBy() } -func TestInstallation_GetHasMultipleSingleFiles(tt *testing.T) { +func TestTopicResult_GetCurated(tt *testing.T) { tt.Parallel() var zeroValue bool - i := &Installation{HasMultipleSingleFiles: &zeroValue} - i.GetHasMultipleSingleFiles() - i = &Installation{} - i.GetHasMultipleSingleFiles() - i = nil - i.GetHasMultipleSingleFiles() + t := &TopicResult{Curated: &zeroValue} + t.GetCurated() + t = &TopicResult{} + t.GetCurated() + t = nil + t.GetCurated() } -func TestInstallation_GetHTMLURL(tt *testing.T) { +func TestTopicResult_GetDescription(tt *testing.T) { tt.Parallel() var zeroValue string - i := &Installation{HTMLURL: &zeroValue} - i.GetHTMLURL() - i = &Installation{} - i.GetHTMLURL() - i = nil - i.GetHTMLURL() + t := &TopicResult{Description: &zeroValue} + t.GetDescription() + t = &TopicResult{} + t.GetDescription() + t = nil + t.GetDescription() } -func TestInstallation_GetID(tt *testing.T) { +func TestTopicResult_GetDisplayName(tt *testing.T) { tt.Parallel() - var zeroValue int64 - i := &Installation{ID: &zeroValue} - i.GetID() - i = &Installation{} - i.GetID() - i = nil - i.GetID() + var zeroValue string + t := &TopicResult{DisplayName: &zeroValue} + t.GetDisplayName() + t = &TopicResult{} + t.GetDisplayName() + t = nil + t.GetDisplayName() } -func TestInstallation_GetNodeID(tt *testing.T) { +func TestTopicResult_GetFeatured(tt *testing.T) { + tt.Parallel() + var zeroValue bool + t := &TopicResult{Featured: &zeroValue} + t.GetFeatured() + t = &TopicResult{} + t.GetFeatured() + t = nil + t.GetFeatured() +} + +func TestTopicResult_GetName(tt *testing.T) { tt.Parallel() var zeroValue string - i := &Installation{NodeID: &zeroValue} - i.GetNodeID() - i = &Installation{} - i.GetNodeID() - i = nil - i.GetNodeID() + t := &TopicResult{Name: &zeroValue} + t.GetName() + t = &TopicResult{} + t.GetName() + t = nil + t.GetName() } -func TestInstallation_GetPermissions(tt *testing.T) { +func TestTopicResult_GetScore(tt *testing.T) { tt.Parallel() - i := &Installation{} - i.GetPermissions() - i = nil - i.GetPermissions() + var zeroValue float64 + t := &TopicResult{Score: &zeroValue} + t.GetScore() + t = &TopicResult{} + t.GetScore() + t = nil + t.GetScore() } -func TestInstallation_GetRepositoriesURL(tt *testing.T) { +func TestTopicResult_GetShortDescription(tt *testing.T) { tt.Parallel() var zeroValue string - i := &Installation{RepositoriesURL: &zeroValue} - i.GetRepositoriesURL() - i = &Installation{} - i.GetRepositoriesURL() - i = nil - i.GetRepositoriesURL() + t := &TopicResult{ShortDescription: &zeroValue} + t.GetShortDescription() + t = &TopicResult{} + t.GetShortDescription() + t = nil + t.GetShortDescription() } -func TestInstallation_GetRepositorySelection(tt *testing.T) { +func TestTopicResult_GetUpdatedAt(tt *testing.T) { tt.Parallel() var zeroValue string - i := &Installation{RepositorySelection: &zeroValue} - i.GetRepositorySelection() - i = &Installation{} - i.GetRepositorySelection() - i = nil - i.GetRepositorySelection() + t := &TopicResult{UpdatedAt: &zeroValue} + t.GetUpdatedAt() + t = &TopicResult{} + t.GetUpdatedAt() + t = nil + t.GetUpdatedAt() } -func TestInstallation_GetSingleFileName(tt *testing.T) { +func TestTopicsSearchResult_GetIncompleteResults(tt *testing.T) { tt.Parallel() - var zeroValue string - i := &Installation{SingleFileName: &zeroValue} - i.GetSingleFileName() - i = &Installation{} - i.GetSingleFileName() - i = nil - i.GetSingleFileName() + var zeroValue bool + t := &TopicsSearchResult{IncompleteResults: &zeroValue} + t.GetIncompleteResults() + t = &TopicsSearchResult{} + t.GetIncompleteResults() + t = nil + t.GetIncompleteResults() } -func TestInstallation_GetSingleFilePaths(tt *testing.T) { +func TestTopicsSearchResult_GetTopics(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - i := &Installation{SingleFilePaths: zeroValue} - i.GetSingleFilePaths() - i = &Installation{} - i.GetSingleFilePaths() - i = nil - i.GetSingleFilePaths() + zeroValue := []*TopicResult{} + t := &TopicsSearchResult{Topics: zeroValue} + t.GetTopics() + t = &TopicsSearchResult{} + t.GetTopics() + t = nil + t.GetTopics() } -func TestInstallation_GetSuspendedAt(tt *testing.T) { +func TestTopicsSearchResult_GetTotal(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - i := &Installation{SuspendedAt: &zeroValue} - i.GetSuspendedAt() - i = &Installation{} - i.GetSuspendedAt() - i = nil - i.GetSuspendedAt() + var zeroValue int + t := &TopicsSearchResult{Total: &zeroValue} + t.GetTotal() + t = &TopicsSearchResult{} + t.GetTotal() + t = nil + t.GetTotal() } -func TestInstallation_GetSuspendedBy(tt *testing.T) { +func TestTotalCacheUsage_GetTotalActiveCachesCount(tt *testing.T) { tt.Parallel() - i := &Installation{} - i.GetSuspendedBy() - i = nil - i.GetSuspendedBy() + t := &TotalCacheUsage{} + t.GetTotalActiveCachesCount() + t = nil + t.GetTotalActiveCachesCount() } -func TestInstallation_GetTargetID(tt *testing.T) { +func TestTotalCacheUsage_GetTotalActiveCachesUsageSizeInBytes(tt *testing.T) { tt.Parallel() - var zeroValue int64 - i := &Installation{TargetID: &zeroValue} - i.GetTargetID() - i = &Installation{} - i.GetTargetID() - i = nil - i.GetTargetID() + t := &TotalCacheUsage{} + t.GetTotalActiveCachesUsageSizeInBytes() + t = nil + t.GetTotalActiveCachesUsageSizeInBytes() } -func TestInstallation_GetTargetType(tt *testing.T) { +func TestTrafficBreakdownOptions_GetPer(tt *testing.T) { tt.Parallel() - var zeroValue string - i := &Installation{TargetType: &zeroValue} - i.GetTargetType() - i = &Installation{} - i.GetTargetType() - i = nil - i.GetTargetType() + t := &TrafficBreakdownOptions{} + t.GetPer() + t = nil + t.GetPer() } -func TestInstallation_GetUpdatedAt(tt *testing.T) { +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 + t := &TrafficClones{Count: &zeroValue} + t.GetCount() + t = &TrafficClones{} + t.GetCount() + t = nil + t.GetCount() +} + +func TestTrafficClones_GetUniques(tt *testing.T) { + tt.Parallel() + var zeroValue int + t := &TrafficClones{Uniques: &zeroValue} + t.GetUniques() + t = &TrafficClones{} + t.GetUniques() + t = nil + t.GetUniques() +} + +func TestTrafficData_GetCount(tt *testing.T) { + tt.Parallel() + var zeroValue int + t := &TrafficData{Count: &zeroValue} + t.GetCount() + t = &TrafficData{} + t.GetCount() + t = nil + t.GetCount() +} + +func TestTrafficData_GetTimestamp(tt *testing.T) { tt.Parallel() var zeroValue Timestamp - i := &Installation{UpdatedAt: &zeroValue} - i.GetUpdatedAt() - i = &Installation{} - i.GetUpdatedAt() - i = nil - i.GetUpdatedAt() + t := &TrafficData{Timestamp: &zeroValue} + t.GetTimestamp() + t = &TrafficData{} + t.GetTimestamp() + t = nil + t.GetTimestamp() } -func TestInstallationChanges_GetLogin(tt *testing.T) { +func TestTrafficData_GetUniques(tt *testing.T) { tt.Parallel() - i := &InstallationChanges{} - i.GetLogin() - i = nil - i.GetLogin() + var zeroValue int + t := &TrafficData{Uniques: &zeroValue} + t.GetUniques() + t = &TrafficData{} + t.GetUniques() + t = nil + t.GetUniques() } -func TestInstallationChanges_GetSlug(tt *testing.T) { +func TestTrafficPath_GetCount(tt *testing.T) { tt.Parallel() - i := &InstallationChanges{} - i.GetSlug() - i = nil - i.GetSlug() + var zeroValue int + t := &TrafficPath{Count: &zeroValue} + t.GetCount() + t = &TrafficPath{} + t.GetCount() + t = nil + t.GetCount() } -func TestInstallationEvent_GetAction(tt *testing.T) { +func TestTrafficPath_GetPath(tt *testing.T) { tt.Parallel() var zeroValue string - i := &InstallationEvent{Action: &zeroValue} - i.GetAction() - i = &InstallationEvent{} - i.GetAction() - i = nil - i.GetAction() + t := &TrafficPath{Path: &zeroValue} + t.GetPath() + t = &TrafficPath{} + t.GetPath() + t = nil + t.GetPath() } -func TestInstallationEvent_GetInstallation(tt *testing.T) { +func TestTrafficPath_GetTitle(tt *testing.T) { tt.Parallel() - i := &InstallationEvent{} - i.GetInstallation() - i = nil - i.GetInstallation() + var zeroValue string + t := &TrafficPath{Title: &zeroValue} + t.GetTitle() + t = &TrafficPath{} + t.GetTitle() + t = nil + t.GetTitle() } -func TestInstallationEvent_GetOrg(tt *testing.T) { +func TestTrafficPath_GetUniques(tt *testing.T) { tt.Parallel() - i := &InstallationEvent{} - i.GetOrg() - i = nil - i.GetOrg() + var zeroValue int + t := &TrafficPath{Uniques: &zeroValue} + t.GetUniques() + t = &TrafficPath{} + t.GetUniques() + t = nil + t.GetUniques() } -func TestInstallationEvent_GetRepositories(tt *testing.T) { +func TestTrafficReferrer_GetCount(tt *testing.T) { tt.Parallel() - zeroValue := []*Repository{} - i := &InstallationEvent{Repositories: zeroValue} - i.GetRepositories() - i = &InstallationEvent{} - i.GetRepositories() - i = nil - i.GetRepositories() + var zeroValue int + t := &TrafficReferrer{Count: &zeroValue} + t.GetCount() + t = &TrafficReferrer{} + t.GetCount() + t = nil + t.GetCount() } -func TestInstallationEvent_GetRequester(tt *testing.T) { +func TestTrafficReferrer_GetReferrer(tt *testing.T) { tt.Parallel() - i := &InstallationEvent{} - i.GetRequester() - i = nil - i.GetRequester() + var zeroValue string + t := &TrafficReferrer{Referrer: &zeroValue} + t.GetReferrer() + t = &TrafficReferrer{} + t.GetReferrer() + t = nil + t.GetReferrer() } -func TestInstallationEvent_GetSender(tt *testing.T) { +func TestTrafficReferrer_GetUniques(tt *testing.T) { tt.Parallel() - i := &InstallationEvent{} - i.GetSender() - i = nil - i.GetSender() + var zeroValue int + t := &TrafficReferrer{Uniques: &zeroValue} + t.GetUniques() + t = &TrafficReferrer{} + t.GetUniques() + t = nil + t.GetUniques() } -func TestInstallationLoginChange_GetFrom(tt *testing.T) { +func TestTrafficViews_GetCount(tt *testing.T) { tt.Parallel() - var zeroValue string - i := &InstallationLoginChange{From: &zeroValue} - i.GetFrom() - i = &InstallationLoginChange{} - i.GetFrom() - i = nil - i.GetFrom() + var zeroValue int + t := &TrafficViews{Count: &zeroValue} + t.GetCount() + t = &TrafficViews{} + t.GetCount() + t = nil + t.GetCount() } -func TestInstallationPermissions_GetActions(tt *testing.T) { +func TestTrafficViews_GetUniques(tt *testing.T) { tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Actions: &zeroValue} - i.GetActions() - i = &InstallationPermissions{} - i.GetActions() - i = nil - i.GetActions() + var zeroValue int + t := &TrafficViews{Uniques: &zeroValue} + t.GetUniques() + t = &TrafficViews{} + t.GetUniques() + t = nil + t.GetUniques() } -func TestInstallationPermissions_GetActionsVariables(tt *testing.T) { +func TestTrafficViews_GetViews(tt *testing.T) { tt.Parallel() - var zeroValue string - i := &InstallationPermissions{ActionsVariables: &zeroValue} - i.GetActionsVariables() - i = &InstallationPermissions{} - i.GetActionsVariables() - i = nil - i.GetActionsVariables() + zeroValue := []*TrafficData{} + t := &TrafficViews{Views: zeroValue} + t.GetViews() + t = &TrafficViews{} + t.GetViews() + t = nil + t.GetViews() } -func TestInstallationPermissions_GetAdministration(tt *testing.T) { +func TestTransferRequest_GetNewName(tt *testing.T) { tt.Parallel() var zeroValue string - i := &InstallationPermissions{Administration: &zeroValue} - i.GetAdministration() - i = &InstallationPermissions{} - i.GetAdministration() - i = nil - i.GetAdministration() + t := &TransferRequest{NewName: &zeroValue} + t.GetNewName() + t = &TransferRequest{} + t.GetNewName() + t = nil + t.GetNewName() } -func TestInstallationPermissions_GetAttestations(tt *testing.T) { +func TestTransferRequest_GetNewOwner(tt *testing.T) { tt.Parallel() - var zeroValue string - i := &InstallationPermissions{Attestations: &zeroValue} - i.GetAttestations() - i = &InstallationPermissions{} - i.GetAttestations() - i = nil - i.GetAttestations() + t := &TransferRequest{} + t.GetNewOwner() + t = nil + t.GetNewOwner() } -func TestInstallationPermissions_GetBlocking(tt *testing.T) { +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 - i := &InstallationPermissions{Blocking: &zeroValue} - i.GetBlocking() - i = &InstallationPermissions{} - i.GetBlocking() - i = nil - i.GetBlocking() + t := &Tree{SHA: &zeroValue} + t.GetSHA() + t = &Tree{} + t.GetSHA() + t = nil + t.GetSHA() +} + +func TestTree_GetTruncated(tt *testing.T) { + tt.Parallel() + var zeroValue bool + t := &Tree{Truncated: &zeroValue} + t.GetTruncated() + t = &Tree{} + t.GetTruncated() + t = nil + t.GetTruncated() } -func TestInstallationPermissions_GetChecks(tt *testing.T) { +func TestTreeEntry_GetContent(tt *testing.T) { tt.Parallel() var zeroValue string - i := &InstallationPermissions{Checks: &zeroValue} - i.GetChecks() - i = &InstallationPermissions{} - i.GetChecks() - i = nil - i.GetChecks() + t := &TreeEntry{Content: &zeroValue} + t.GetContent() + t = &TreeEntry{} + t.GetContent() + t = nil + t.GetContent() } -func TestInstallationPermissions_GetCodespaces(tt *testing.T) { +func TestTreeEntry_GetMode(tt *testing.T) { tt.Parallel() var zeroValue string - i := &InstallationPermissions{Codespaces: &zeroValue} - i.GetCodespaces() - i = &InstallationPermissions{} - i.GetCodespaces() - i = nil - i.GetCodespaces() + t := &TreeEntry{Mode: &zeroValue} + t.GetMode() + t = &TreeEntry{} + t.GetMode() + t = nil + t.GetMode() } -func TestInstallationPermissions_GetCodespacesLifecycleAdmin(tt *testing.T) { +func TestTreeEntry_GetPath(tt *testing.T) { tt.Parallel() var zeroValue string - i := &InstallationPermissions{CodespacesLifecycleAdmin: &zeroValue} - i.GetCodespacesLifecycleAdmin() - i = &InstallationPermissions{} - i.GetCodespacesLifecycleAdmin() - i = nil - i.GetCodespacesLifecycleAdmin() + t := &TreeEntry{Path: &zeroValue} + t.GetPath() + t = &TreeEntry{} + t.GetPath() + t = nil + t.GetPath() } -func TestInstallationPermissions_GetCodespacesMetadata(tt *testing.T) { +func TestTreeEntry_GetSHA(tt *testing.T) { tt.Parallel() var zeroValue string - i := &InstallationPermissions{CodespacesMetadata: &zeroValue} - i.GetCodespacesMetadata() - i = &InstallationPermissions{} - i.GetCodespacesMetadata() - i = nil - i.GetCodespacesMetadata() + t := &TreeEntry{SHA: &zeroValue} + t.GetSHA() + t = &TreeEntry{} + t.GetSHA() + t = nil + t.GetSHA() } -func TestInstallationPermissions_GetCodespacesSecrets(tt *testing.T) { +func TestTreeEntry_GetSize(tt *testing.T) { tt.Parallel() - var zeroValue string - i := &InstallationPermissions{CodespacesSecrets: &zeroValue} - i.GetCodespacesSecrets() - i = &InstallationPermissions{} - i.GetCodespacesSecrets() - i = nil - i.GetCodespacesSecrets() + var zeroValue int + t := &TreeEntry{Size: &zeroValue} + t.GetSize() + t = &TreeEntry{} + t.GetSize() + t = nil + t.GetSize() } -func TestInstallationPermissions_GetCodespacesUserSecrets(tt *testing.T) { - tt.Parallel() var zeroValue string - p := &PackageVersionBodyInfo{OID: &zeroValue} - p.GetOID() - p = &PackageVersionBodyInfo{} - p.GetOID() - p = nil - p.GetOID() +func TestTreeEntry_GetType(tt *testing.T) { + tt.Parallel() + var zeroValue string + t := &TreeEntry{Type: &zeroValue} + t.GetType() + t = &TreeEntry{} + t.GetType() + t = nil + t.GetType() } -func TestPackageVersionBodyInfo_GetPath(tt *testing.T) { +func TestTreeEntry_GetURL(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PackageVersionBodyInfo{Path: &zeroValue} - p.GetPath() - p = &PackageVersionBodyInfo{} - p.GetPath() - p = nil - p.GetPath() + t := &TreeEntry{URL: &zeroValue} + t.GetURL() + t = &TreeEntry{} + t.GetURL() + t = nil + t.GetURL() } -func TestPackageVersionBodyInfo_GetSize(tt *testing.T) { +func TestUnauthenticatedRateLimitedTransport_GetClientID(tt *testing.T) { tt.Parallel() - var zeroValue int64 - p := &PackageVersionBodyInfo{Size: &zeroValue} - p.GetSize() - p = &PackageVersionBodyInfo{} - p.GetSize() - p = nil - p.GetSize() + u := &UnauthenticatedRateLimitedTransport{} + u.GetClientID() + u = nil + u.GetClientID() } -func TestPackageVersionBodyInfo_GetType(tt *testing.T) { +func TestUnauthenticatedRateLimitedTransport_GetClientSecret(tt *testing.T) { tt.Parallel() - var zeroValue string - p := &PackageVersionBodyInfo{Type: &zeroValue} - p.GetType() - p = &PackageVersionBodyInfo{} - p.GetType() - p = nil - p.GetType() + u := &UnauthenticatedRateLimitedTransport{} + u.GetClientSecret() + u = nil + u.GetClientSecret() } -func TestPage_GetAction(tt *testing.T) { +func TestUpdateAppInstallationRepositoriesRequest_GetRepositories(tt *testing.T) { tt.Parallel() - var zeroValue string - p := &Page{Action: &zeroValue} - p.GetAction() - p = &Page{} - p.GetAction() - p = nil - p.GetAction() + zeroValue := []string{} + u := &UpdateAppInstallationRepositoriesRequest{Repositories: zeroValue} + u.GetRepositories() + u = &UpdateAppInstallationRepositoriesRequest{} + u.GetRepositories() + u = nil + u.GetRepositories() } -func TestPage_GetHTMLURL(tt *testing.T) { +func TestUpdateAppInstallationRepositoriesRequest_GetRepositorySelection(tt *testing.T) { tt.Parallel() var zeroValue string - p := &Page{HTMLURL: &zeroValue} - p.GetHTMLURL() - p = &Page{} - p.GetHTMLURL() - p = nil - p.GetHTMLURL() + u := &UpdateAppInstallationRepositoriesRequest{RepositorySelection: &zeroValue} + u.GetRepositorySelection() + u = &UpdateAppInstallationRepositoriesRequest{} + u.GetRepositorySelection() + u = nil + u.GetRepositorySelection() } -func TestPage_GetPageName(tt *testing.T) { +func TestUpdateAttributeForSCIMUserOperations_GetOp(tt *testing.T) { tt.Parallel() - var zeroValue string - p := &Page{PageName: &zeroValue} - p.GetPageName() - p = &Page{} - p.GetPageName() - p = nil - p.GetPageName() + u := &UpdateAttributeForSCIMUserOperations{} + u.GetOp() + u = nil + u.GetOp() } -func TestPage_GetSHA(tt *testing.T) { +func TestUpdateAttributeForSCIMUserOperations_GetPath(tt *testing.T) { tt.Parallel() var zeroValue string - p := &Page{SHA: &zeroValue} - p.GetSHA() - p = &Page{} - p.GetSHA() - p = nil - p.GetSHA() + u := &UpdateAttributeForSCIMUserOperations{Path: &zeroValue} + u.GetPath() + u = &UpdateAttributeForSCIMUserOperations{} + u.GetPath() + u = nil + u.GetPath() } -func TestPage_GetSummary(tt *testing.T) { +func TestUpdateAttributeForSCIMUserOperations_GetValue(tt *testing.T) { tt.Parallel() - var zeroValue string - p := &Page{Summary: &zeroValue} - p.GetSummary() - p = &Page{} - p.GetSummary() - p = nil - p.GetSummary() + u := &UpdateAttributeForSCIMUserOperations{} + u.GetValue() + u = nil + u.GetValue() } -func TestPage_GetTitle(tt *testing.T) { +func TestUpdateAttributeForSCIMUserRequest_GetOperations(tt *testing.T) { tt.Parallel() - var zeroValue string - p := &Page{Title: &zeroValue} - p.GetTitle() - p = &Page{} - p.GetTitle() - p = nil - p.GetTitle() + zeroValue := []*UpdateAttributeForSCIMUserOperations{} + u := &UpdateAttributeForSCIMUserRequest{Operations: zeroValue} + u.GetOperations() + u = &UpdateAttributeForSCIMUserRequest{} + u.GetOperations() + u = nil + u.GetOperations() } -func TestPageBuildEvent_GetBuild(tt *testing.T) { +func TestUpdateAttributeForSCIMUserRequest_GetSchemas(tt *testing.T) { tt.Parallel() - p := &PageBuildEvent{} - p.GetBuild() - p = nil - p.GetBuild() + zeroValue := []string{} + u := &UpdateAttributeForSCIMUserRequest{Schemas: zeroValue} + u.GetSchemas() + u = &UpdateAttributeForSCIMUserRequest{} + u.GetSchemas() + u = nil + u.GetSchemas() } -func TestPageBuildEvent_GetID(tt *testing.T) { +func TestUpdateBranchRule_GetParameters(tt *testing.T) { tt.Parallel() - var zeroValue int64 - p := &PageBuildEvent{ID: &zeroValue} - p.GetID() - p = &PageBuildEvent{} - p.GetID() - p = nil - p.GetID() + u := &UpdateBranchRule{} + u.GetParameters() + u = nil + u.GetParameters() } -func TestPageBuildEvent_GetInstallation(tt *testing.T) { +func TestUpdateCheckRunOptions_GetActions(tt *testing.T) { tt.Parallel() - p := &PageBuildEvent{} - p.GetInstallation() - p = nil - p.GetInstallation() + zeroValue := []*CheckRunAction{} + u := &UpdateCheckRunOptions{Actions: zeroValue} + u.GetActions() + u = &UpdateCheckRunOptions{} + u.GetActions() + u = nil + u.GetActions() } -func TestPageBuildEvent_GetOrg(tt *testing.T) { +func TestUpdateCheckRunOptions_GetCompletedAt(tt *testing.T) { tt.Parallel() - p := &PageBuildEvent{} - p.GetOrg() - p = nil - p.GetOrg() + var zeroValue Timestamp + u := &UpdateCheckRunOptions{CompletedAt: &zeroValue} + u.GetCompletedAt() + u = &UpdateCheckRunOptions{} + u.GetCompletedAt() + u = nil + u.GetCompletedAt() } -func TestPageBuildEvent_GetRepo(tt *testing.T) { +func TestUpdateCheckRunOptions_GetConclusion(tt *testing.T) { tt.Parallel() - p := &PageBuildEvent{} - p.GetRepo() - p = nil - p.GetRepo() + var zeroValue string + u := &UpdateCheckRunOptions{Conclusion: &zeroValue} + u.GetConclusion() + u = &UpdateCheckRunOptions{} + u.GetConclusion() + u = nil + u.GetConclusion() } -func TestPageBuildEvent_GetSender(tt *testing.T) { +func TestUpdateCheckRunOptions_GetDetailsURL(tt *testing.T) { tt.Parallel() - p := &PageBuildEvent{} - p.GetSender() - p = nil - p.GetSender() + var zeroValue string + u := &UpdateCheckRunOptions{DetailsURL: &zeroValue} + u.GetDetailsURL() + u = &UpdateCheckRunOptions{} + u.GetDetailsURL() + u = nil + u.GetDetailsURL() } -func TestPages_GetBuildType(tt *testing.T) { +func TestUpdateCheckRunOptions_GetExternalID(tt *testing.T) { tt.Parallel() var zeroValue string - p := &Pages{BuildType: &zeroValue} - p.GetBuildType() - p = &Pages{} - p.GetBuildType() - p = nil - p.GetBuildType() + u := &UpdateCheckRunOptions{ExternalID: &zeroValue} + u.GetExternalID() + u = &UpdateCheckRunOptions{} + u.GetExternalID() + u = nil + u.GetExternalID() } -func TestPages_GetCNAME(tt *testing.T) { +func TestUpdateCheckRunOptions_GetName(tt *testing.T) { tt.Parallel() - var zeroValue string - p := &Pages{CNAME: &zeroValue} - p.GetCNAME() - p = &Pages{} - p.GetCNAME() - p = nil - p.GetCNAME() + u := &UpdateCheckRunOptions{} + u.GetName() + u = nil + u.GetName() } -func TestPages_GetCustom404(tt *testing.T) { +func TestUpdateCheckRunOptions_GetOutput(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &Pages{Custom404: &zeroValue} - p.GetCustom404() - p = &Pages{} - p.GetCustom404() - p = nil - p.GetCustom404() + u := &UpdateCheckRunOptions{} + u.GetOutput() + u = nil + u.GetOutput() } -func TestPages_GetHTMLURL(tt *testing.T) { +func TestUpdateCheckRunOptions_GetStatus(tt *testing.T) { tt.Parallel() var zeroValue string - p := &Pages{HTMLURL: &zeroValue} - p.GetHTMLURL() - p = &Pages{} - p.GetHTMLURL() - p = nil - p.GetHTMLURL() + u := &UpdateCheckRunOptions{Status: &zeroValue} + u.GetStatus() + u = &UpdateCheckRunOptions{} + u.GetStatus() + u = nil + u.GetStatus() } -func TestPages_GetHTTPSCertificate(tt *testing.T) { +func TestUpdateCodespaceOptions_GetMachine(tt *testing.T) { tt.Parallel() - p := &Pages{} - p.GetHTTPSCertificate() - p = nil - p.GetHTTPSCertificate() + var zeroValue string + u := &UpdateCodespaceOptions{Machine: &zeroValue} + u.GetMachine() + u = &UpdateCodespaceOptions{} + u.GetMachine() + u = nil + u.GetMachine() } -func TestPages_GetHTTPSEnforced(tt *testing.T) { +func TestUpdateCodespaceOptions_GetRecentFolders(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &Pages{HTTPSEnforced: &zeroValue} - p.GetHTTPSEnforced() - p = &Pages{} - p.GetHTTPSEnforced() - p = nil - p.GetHTTPSEnforced() + zeroValue := []string{} + u := &UpdateCodespaceOptions{RecentFolders: zeroValue} + u.GetRecentFolders() + u = &UpdateCodespaceOptions{} + u.GetRecentFolders() + u = nil + u.GetRecentFolders() } -func TestPages_GetPublic(tt *testing.T) { +func TestUpdateCommitCommentRequest_GetBody(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &Pages{Public: &zeroValue} - p.GetPublic() - p = &Pages{} - p.GetPublic() - p = nil - p.GetPublic() + u := &UpdateCommitCommentRequest{} + u.GetBody() + u = nil + u.GetBody() } -func TestPages_GetSource(tt *testing.T) { +func TestUpdateConnectedExternalGroupRequest_GetGroupID(tt *testing.T) { tt.Parallel() - p := &Pages{} - p.GetSource() - p = nil - p.GetSource() + u := &UpdateConnectedExternalGroupRequest{} + u.GetGroupID() + u = nil + u.GetGroupID() } -func TestPages_GetStatus(tt *testing.T) { +func TestUpdateCustomOrgRoleRequest_GetBaseRole(tt *testing.T) { tt.Parallel() var zeroValue string - p := &Pages{Status: &zeroValue} - p.GetStatus() - p = &Pages{} - p.GetStatus() - p = nil - p.GetStatus() + u := &UpdateCustomOrgRoleRequest{BaseRole: &zeroValue} + u.GetBaseRole() + u = &UpdateCustomOrgRoleRequest{} + u.GetBaseRole() + u = nil + u.GetBaseRole() } -func TestPages_GetURL(tt *testing.T) { +func TestUpdateCustomOrgRoleRequest_GetDescription(tt *testing.T) { tt.Parallel() var zeroValue string - p := &Pages{URL: &zeroValue} - p.GetURL() - p = &Pages{} - p.GetURL() - p = nil - p.GetURL() + u := &UpdateCustomOrgRoleRequest{Description: &zeroValue} + u.GetDescription() + u = &UpdateCustomOrgRoleRequest{} + u.GetDescription() + u = nil + u.GetDescription() } -func TestPagesBuild_GetCommit(tt *testing.T) { +func TestUpdateCustomOrgRoleRequest_GetName(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PagesBuild{Commit: &zeroValue} - p.GetCommit() - p = &PagesBuild{} - p.GetCommit() - p = nil - p.GetCommit() + u := &UpdateCustomOrgRoleRequest{Name: &zeroValue} + u.GetName() + u = &UpdateCustomOrgRoleRequest{} + u.GetName() + u = nil + u.GetName() } -func TestPagesBuild_GetCreatedAt(tt *testing.T) { +func TestUpdateCustomOrgRoleRequest_GetPermissions(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - p := &PagesBuild{CreatedAt: &zeroValue} - p.GetCreatedAt() - p = &PagesBuild{} - p.GetCreatedAt() - p = nil - p.GetCreatedAt() + zeroValue := []string{} + u := &UpdateCustomOrgRoleRequest{Permissions: zeroValue} + u.GetPermissions() + u = &UpdateCustomOrgRoleRequest{} + u.GetPermissions() + u = nil + u.GetPermissions() +} + +func TestUpdateCustomRepoRoleRequest_GetBaseRole(tt *testing.T) { + tt.Parallel() + var zeroValue string + u := &UpdateCustomRepoRoleRequest{BaseRole: &zeroValue} + u.GetBaseRole() + u = &UpdateCustomRepoRoleRequest{} + u.GetBaseRole() + u = nil + u.GetBaseRole() +} + +func TestUpdateCustomRepoRoleRequest_GetDescription(tt *testing.T) { + tt.Parallel() + var zeroValue string + u := &UpdateCustomRepoRoleRequest{Description: &zeroValue} + u.GetDescription() + u = &UpdateCustomRepoRoleRequest{} + u.GetDescription() + u = nil + u.GetDescription() +} + +func TestUpdateCustomRepoRoleRequest_GetName(tt *testing.T) { + tt.Parallel() + var zeroValue string + u := &UpdateCustomRepoRoleRequest{Name: &zeroValue} + u.GetName() + u = &UpdateCustomRepoRoleRequest{} + u.GetName() + u = nil + u.GetName() +} + +func TestUpdateCustomRepoRoleRequest_GetPermissions(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + u := &UpdateCustomRepoRoleRequest{Permissions: zeroValue} + u.GetPermissions() + u = &UpdateCustomRepoRoleRequest{} + u.GetPermissions() + u = nil + u.GetPermissions() } -func TestPagesBuild_GetDuration(tt *testing.T) { +func TestUpdateDefaultSetupConfigurationOptions_GetLanguages(tt *testing.T) { tt.Parallel() - var zeroValue int - p := &PagesBuild{Duration: &zeroValue} - p.GetDuration() - p = &PagesBuild{} - p.GetDuration() - p = nil - p.GetDuration() + zeroValue := []string{} + u := &UpdateDefaultSetupConfigurationOptions{Languages: zeroValue} + u.GetLanguages() + u = &UpdateDefaultSetupConfigurationOptions{} + u.GetLanguages() + u = nil + u.GetLanguages() } -func TestPagesBuild_GetError(tt *testing.T) { +func TestUpdateDefaultSetupConfigurationOptions_GetQuerySuite(tt *testing.T) { tt.Parallel() - p := &PagesBuild{} - p.GetError() - p = nil - p.GetError() + var zeroValue string + u := &UpdateDefaultSetupConfigurationOptions{QuerySuite: &zeroValue} + u.GetQuerySuite() + u = &UpdateDefaultSetupConfigurationOptions{} + u.GetQuerySuite() + u = nil + u.GetQuerySuite() } -func TestPagesBuild_GetPusher(tt *testing.T) { +func TestUpdateDefaultSetupConfigurationOptions_GetState(tt *testing.T) { tt.Parallel() - p := &PagesBuild{} - p.GetPusher() - p = nil - p.GetPusher() + u := &UpdateDefaultSetupConfigurationOptions{} + u.GetState() + u = nil + u.GetState() } -func TestPagesBuild_GetStatus(tt *testing.T) { +func TestUpdateDefaultSetupConfigurationResponse_GetRunID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + u := &UpdateDefaultSetupConfigurationResponse{RunID: &zeroValue} + u.GetRunID() + u = &UpdateDefaultSetupConfigurationResponse{} + u.GetRunID() + u = nil + u.GetRunID() +} + +func TestUpdateDefaultSetupConfigurationResponse_GetRunURL(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PagesBuild{Status: &zeroValue} - p.GetStatus() - p = &PagesBuild{} - p.GetStatus() - p = nil - p.GetStatus() + u := &UpdateDefaultSetupConfigurationResponse{RunURL: &zeroValue} + u.GetRunURL() + u = &UpdateDefaultSetupConfigurationResponse{} + u.GetRunURL() + u = nil + u.GetRunURL() } -func TestPagesBuild_GetUpdatedAt(tt *testing.T) { +func TestUpdateDeploymentBranchPolicyRequest_GetName(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - p := &PagesBuild{UpdatedAt: &zeroValue} - p.GetUpdatedAt() - p = &PagesBuild{} - p.GetUpdatedAt() - p = nil - p.GetUpdatedAt() + u := &UpdateDeploymentBranchPolicyRequest{} + u.GetName() + u = nil + u.GetName() } -func TestPagesBuild_GetURL(tt *testing.T) { +func TestUpdateEnterpriseRunnerGroupRequest_GetAllowsPublicRepositories(tt *testing.T) { + tt.Parallel() + var zeroValue bool + u := &UpdateEnterpriseRunnerGroupRequest{AllowsPublicRepositories: &zeroValue} + u.GetAllowsPublicRepositories() + u = &UpdateEnterpriseRunnerGroupRequest{} + u.GetAllowsPublicRepositories() + u = nil + u.GetAllowsPublicRepositories() +} + +func TestUpdateEnterpriseRunnerGroupRequest_GetName(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PagesBuild{URL: &zeroValue} - p.GetURL() - p = &PagesBuild{} - p.GetURL() - p = nil - p.GetURL() + u := &UpdateEnterpriseRunnerGroupRequest{Name: &zeroValue} + u.GetName() + u = &UpdateEnterpriseRunnerGroupRequest{} + u.GetName() + u = nil + u.GetName() } -func TestPagesDomain_GetCAAError(tt *testing.T) { +func TestUpdateEnterpriseRunnerGroupRequest_GetNetworkConfigurationID(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PagesDomain{CAAError: &zeroValue} - p.GetCAAError() - p = &PagesDomain{} - p.GetCAAError() - p = nil - p.GetCAAError() + u := &UpdateEnterpriseRunnerGroupRequest{NetworkConfigurationID: &zeroValue} + u.GetNetworkConfigurationID() + u = &UpdateEnterpriseRunnerGroupRequest{} + u.GetNetworkConfigurationID() + u = nil + u.GetNetworkConfigurationID() } -func TestPagesDomain_GetDNSResolves(tt *testing.T) { +func TestUpdateEnterpriseRunnerGroupRequest_GetRestrictedToWorkflows(tt *testing.T) { tt.Parallel() var zeroValue bool - p := &PagesDomain{DNSResolves: &zeroValue} - p.GetDNSResolves() - p = &PagesDomain{} - p.GetDNSResolves() - p = nil - p.GetDNSResolves() + u := &UpdateEnterpriseRunnerGroupRequest{RestrictedToWorkflows: &zeroValue} + u.GetRestrictedToWorkflows() + u = &UpdateEnterpriseRunnerGroupRequest{} + u.GetRestrictedToWorkflows() + u = nil + u.GetRestrictedToWorkflows() } -func TestPagesDomain_GetEnforcesHTTPS(tt *testing.T) { +func TestUpdateEnterpriseRunnerGroupRequest_GetSelectedWorkflows(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &PagesDomain{EnforcesHTTPS: &zeroValue} - p.GetEnforcesHTTPS() - p = &PagesDomain{} - p.GetEnforcesHTTPS() - p = nil - p.GetEnforcesHTTPS() + zeroValue := []string{} + u := &UpdateEnterpriseRunnerGroupRequest{SelectedWorkflows: zeroValue} + u.GetSelectedWorkflows() + u = &UpdateEnterpriseRunnerGroupRequest{} + u.GetSelectedWorkflows() + u = nil + u.GetSelectedWorkflows() } -func TestPagesDomain_GetHasCNAMERecord(tt *testing.T) { +func TestUpdateEnterpriseRunnerGroupRequest_GetVisibility(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &PagesDomain{HasCNAMERecord: &zeroValue} - p.GetHasCNAMERecord() - p = &PagesDomain{} - p.GetHasCNAMERecord() - p = nil - p.GetHasCNAMERecord() + var zeroValue string + u := &UpdateEnterpriseRunnerGroupRequest{Visibility: &zeroValue} + u.GetVisibility() + u = &UpdateEnterpriseRunnerGroupRequest{} + u.GetVisibility() + u = nil + u.GetVisibility() } -func TestPagesDomain_GetHasMXRecordsPresent(tt *testing.T) { +func TestUpdateGistCommentRequest_GetBody(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &PagesDomain{HasMXRecordsPresent: &zeroValue} - p.GetHasMXRecordsPresent() - p = &PagesDomain{} - p.GetHasMXRecordsPresent() - p = nil - p.GetHasMXRecordsPresent() + u := &UpdateGistCommentRequest{} + u.GetBody() + u = nil + u.GetBody() } -func TestPagesDomain_GetHost(tt *testing.T) { +func TestUpdateGistFile_GetContent(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PagesDomain{Host: &zeroValue} - p.GetHost() - p = &PagesDomain{} - p.GetHost() - p = nil - p.GetHost() + u := &UpdateGistFile{Content: &zeroValue} + u.GetContent() + u = &UpdateGistFile{} + u.GetContent() + u = nil + u.GetContent() } -func TestPagesDomain_GetHTTPSError(tt *testing.T) { +func TestUpdateGistFile_GetFilename(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PagesDomain{HTTPSError: &zeroValue} - p.GetHTTPSError() - p = &PagesDomain{} - p.GetHTTPSError() - p = nil - p.GetHTTPSError() + u := &UpdateGistFile{Filename: &zeroValue} + u.GetFilename() + u = &UpdateGistFile{} + u.GetFilename() + u = nil + u.GetFilename() } -func TestPagesDomain_GetIsApexDomain(tt *testing.T) { +func TestUpdateGistRequest_GetDescription(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsApexDomain: &zeroValue} - p.GetIsApexDomain() - p = &PagesDomain{} - p.GetIsApexDomain() - p = nil - p.GetIsApexDomain() + var zeroValue string + u := &UpdateGistRequest{Description: &zeroValue} + u.GetDescription() + u = &UpdateGistRequest{} + u.GetDescription() + u = nil + u.GetDescription() } -func TestPagesDomain_GetIsARecord(tt *testing.T) { +func TestUpdateHostedRunnerRequest_GetEnableStaticIP(tt *testing.T) { tt.Parallel() var zeroValue bool - p := &PagesDomain{IsARecord: &zeroValue} - p.GetIsARecord() - p = &PagesDomain{} - p.GetIsARecord() - p = nil - p.GetIsARecord() + u := &UpdateHostedRunnerRequest{EnableStaticIP: &zeroValue} + u.GetEnableStaticIP() + u = &UpdateHostedRunnerRequest{} + u.GetEnableStaticIP() + u = nil + u.GetEnableStaticIP() } -func TestPagesDomain_GetIsCloudflareIP(tt *testing.T) { +func TestUpdateHostedRunnerRequest_GetImageID(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsCloudflareIP: &zeroValue} - p.GetIsCloudflareIP() - p = &PagesDomain{} - p.GetIsCloudflareIP() - p = nil - p.GetIsCloudflareIP() + var zeroValue string + u := &UpdateHostedRunnerRequest{ImageID: &zeroValue} + u.GetImageID() + u = &UpdateHostedRunnerRequest{} + u.GetImageID() + u = nil + u.GetImageID() } -func TestPagesDomain_GetIsCNAMEToFastly(tt *testing.T) { +func TestUpdateHostedRunnerRequest_GetImageVersion(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsCNAMEToFastly: &zeroValue} - p.GetIsCNAMEToFastly() - p = &PagesDomain{} - p.GetIsCNAMEToFastly() - p = nil - p.GetIsCNAMEToFastly() + var zeroValue string + u := &UpdateHostedRunnerRequest{ImageVersion: &zeroValue} + u.GetImageVersion() + u = &UpdateHostedRunnerRequest{} + u.GetImageVersion() + u = nil + u.GetImageVersion() } -func TestPagesDomain_GetIsCNAMEToGithubUserDomain(tt *testing.T) { +func TestUpdateHostedRunnerRequest_GetMaximumRunners(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsCNAMEToGithubUserDomain: &zeroValue} - p.GetIsCNAMEToGithubUserDomain() - p = &PagesDomain{} - p.GetIsCNAMEToGithubUserDomain() - p = nil - p.GetIsCNAMEToGithubUserDomain() + var zeroValue int64 + u := &UpdateHostedRunnerRequest{MaximumRunners: &zeroValue} + u.GetMaximumRunners() + u = &UpdateHostedRunnerRequest{} + u.GetMaximumRunners() + u = nil + u.GetMaximumRunners() } -func TestPagesDomain_GetIsCNAMEToPagesDotGithubDotCom(tt *testing.T) { +func TestUpdateHostedRunnerRequest_GetName(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsCNAMEToPagesDotGithubDotCom: &zeroValue} - p.GetIsCNAMEToPagesDotGithubDotCom() - p = &PagesDomain{} - p.GetIsCNAMEToPagesDotGithubDotCom() - p = nil - p.GetIsCNAMEToPagesDotGithubDotCom() + var zeroValue string + u := &UpdateHostedRunnerRequest{Name: &zeroValue} + u.GetName() + u = &UpdateHostedRunnerRequest{} + u.GetName() + u = nil + u.GetName() } -func TestPagesDomain_GetIsFastlyIP(tt *testing.T) { +func TestUpdateHostedRunnerRequest_GetRunnerGroupID(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsFastlyIP: &zeroValue} - p.GetIsFastlyIP() - p = &PagesDomain{} - p.GetIsFastlyIP() - p = nil - p.GetIsFastlyIP() + var zeroValue int64 + u := &UpdateHostedRunnerRequest{RunnerGroupID: &zeroValue} + u.GetRunnerGroupID() + u = &UpdateHostedRunnerRequest{} + u.GetRunnerGroupID() + u = nil + u.GetRunnerGroupID() } -func TestPagesDomain_GetIsHTTPSEligible(tt *testing.T) { +func TestUpdateHostedRunnerRequest_GetSize(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsHTTPSEligible: &zeroValue} - p.GetIsHTTPSEligible() - p = &PagesDomain{} - p.GetIsHTTPSEligible() - p = nil - p.GetIsHTTPSEligible() + var zeroValue string + u := &UpdateHostedRunnerRequest{Size: &zeroValue} + u.GetSize() + u = &UpdateHostedRunnerRequest{} + u.GetSize() + u = nil + u.GetSize() } -func TestPagesDomain_GetIsNonGithubPagesIPPresent(tt *testing.T) { +func TestUpdateIssueLabelRequest_GetColor(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsNonGithubPagesIPPresent: &zeroValue} - p.GetIsNonGithubPagesIPPresent() - p = &PagesDomain{} - p.GetIsNonGithubPagesIPPresent() - p = nil - p.GetIsNonGithubPagesIPPresent() + var zeroValue string + u := &UpdateIssueLabelRequest{Color: &zeroValue} + u.GetColor() + u = &UpdateIssueLabelRequest{} + u.GetColor() + u = nil + u.GetColor() } -func TestPagesDomain_GetIsOldIPAddress(tt *testing.T) { +func TestUpdateIssueLabelRequest_GetDescription(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsOldIPAddress: &zeroValue} - p.GetIsOldIPAddress() - p = &PagesDomain{} - p.GetIsOldIPAddress() - p = nil - p.GetIsOldIPAddress() + var zeroValue string + u := &UpdateIssueLabelRequest{Description: &zeroValue} + u.GetDescription() + u = &UpdateIssueLabelRequest{} + u.GetDescription() + u = nil + u.GetDescription() } -func TestPagesDomain_GetIsPagesDomain(tt *testing.T) { +func TestUpdateIssueLabelRequest_GetNewName(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsPagesDomain: &zeroValue} - p.GetIsPagesDomain() - p = &PagesDomain{} - p.GetIsPagesDomain() - p = nil - p.GetIsPagesDomain() + var zeroValue string + u := &UpdateIssueLabelRequest{NewName: &zeroValue} + u.GetNewName() + u = &UpdateIssueLabelRequest{} + u.GetNewName() + u = nil + u.GetNewName() } -func TestPagesDomain_GetIsPointedToGithubPagesIP(tt *testing.T) { +func TestUpdateIssueRequest_GetAssignee(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsPointedToGithubPagesIP: &zeroValue} - p.GetIsPointedToGithubPagesIP() - p = &PagesDomain{} - p.GetIsPointedToGithubPagesIP() - p = nil - p.GetIsPointedToGithubPagesIP() + var zeroValue string + u := &UpdateIssueRequest{Assignee: &zeroValue} + u.GetAssignee() + u = &UpdateIssueRequest{} + u.GetAssignee() + u = nil + u.GetAssignee() } -func TestPagesDomain_GetIsProxied(tt *testing.T) { +func TestUpdateIssueRequest_GetAssignees(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsProxied: &zeroValue} - p.GetIsProxied() - p = &PagesDomain{} - p.GetIsProxied() - p = nil - p.GetIsProxied() + zeroValue := []string{} + u := &UpdateIssueRequest{Assignees: zeroValue} + u.GetAssignees() + u = &UpdateIssueRequest{} + u.GetAssignees() + u = nil + u.GetAssignees() } -func TestPagesDomain_GetIsServedByPages(tt *testing.T) { +func TestUpdateIssueRequest_GetBody(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsServedByPages: &zeroValue} - p.GetIsServedByPages() - p = &PagesDomain{} - p.GetIsServedByPages() - p = nil - p.GetIsServedByPages() + var zeroValue string + u := &UpdateIssueRequest{Body: &zeroValue} + u.GetBody() + u = &UpdateIssueRequest{} + u.GetBody() + u = nil + u.GetBody() } -func TestPagesDomain_GetIsValid(tt *testing.T) { +func TestUpdateIssueRequest_GetDuplicateIssueID(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsValid: &zeroValue} - p.GetIsValid() - p = &PagesDomain{} - p.GetIsValid() - p = nil - p.GetIsValid() + var zeroValue int + u := &UpdateIssueRequest{DuplicateIssueID: &zeroValue} + u.GetDuplicateIssueID() + u = &UpdateIssueRequest{} + u.GetDuplicateIssueID() + u = nil + u.GetDuplicateIssueID() } -func TestPagesDomain_GetIsValidDomain(tt *testing.T) { +func TestUpdateIssueRequest_GetIssueFieldValues(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &PagesDomain{IsValidDomain: &zeroValue} - p.GetIsValidDomain() - p = &PagesDomain{} - p.GetIsValidDomain() - p = nil - p.GetIsValidDomain() + zeroValue := []*IssueRequestFieldValue{} + u := &UpdateIssueRequest{IssueFieldValues: zeroValue} + u.GetIssueFieldValues() + u = &UpdateIssueRequest{} + u.GetIssueFieldValues() + u = nil + u.GetIssueFieldValues() } -func TestPagesDomain_GetNameservers(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PagesDomain{Nameservers: &zeroValue} - p.GetNameservers() - p = &PagesDomain{} - p.GetNameservers() - p = nil - p.GetNameservers() +func TestUpdateIssueRequest_GetLabels(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + u := &UpdateIssueRequest{Labels: zeroValue} + u.GetLabels() + u = &UpdateIssueRequest{} + u.GetLabels() + u = nil + u.GetLabels() } -func TestPagesDomain_GetReason(tt *testing.T) { +func TestUpdateIssueRequest_GetMilestone(tt *testing.T) { tt.Parallel() - var zeroValue string - p := &PagesDomain{Reason: &zeroValue} - p.GetReason() - p = &PagesDomain{} - p.GetReason() - p = nil - p.GetReason() + var zeroValue int + u := &UpdateIssueRequest{Milestone: &zeroValue} + u.GetMilestone() + u = &UpdateIssueRequest{} + u.GetMilestone() + u = nil + u.GetMilestone() } -func TestPagesDomain_GetRespondsToHTTPS(tt *testing.T) { +func TestUpdateIssueRequest_GetState(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &PagesDomain{RespondsToHTTPS: &zeroValue} - p.GetRespondsToHTTPS() - p = &PagesDomain{} - p.GetRespondsToHTTPS() - p = nil - p.GetRespondsToHTTPS() + var zeroValue string + u := &UpdateIssueRequest{State: &zeroValue} + u.GetState() + u = &UpdateIssueRequest{} + u.GetState() + u = nil + u.GetState() } -func TestPagesDomain_GetShouldBeARecord(tt *testing.T) { +func TestUpdateIssueRequest_GetStateReason(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &PagesDomain{ShouldBeARecord: &zeroValue} - p.GetShouldBeARecord() - p = &PagesDomain{} - p.GetShouldBeARecord() - p = nil - p.GetShouldBeARecord() + var zeroValue string + u := &UpdateIssueRequest{StateReason: &zeroValue} + u.GetStateReason() + u = &UpdateIssueRequest{} + u.GetStateReason() + u = nil + u.GetStateReason() } -func TestPagesDomain_GetURI(tt *testing.T) { +func TestUpdateIssueRequest_GetTitle(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PagesDomain{URI: &zeroValue} - p.GetURI() - p = &PagesDomain{} - p.GetURI() - p = nil - p.GetURI() + u := &UpdateIssueRequest{Title: &zeroValue} + u.GetTitle() + u = &UpdateIssueRequest{} + u.GetTitle() + u = nil + u.GetTitle() } -func TestPagesError_GetMessage(tt *testing.T) { +func TestUpdateIssueRequest_GetType(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PagesError{Message: &zeroValue} - p.GetMessage() - p = &PagesError{} - p.GetMessage() - p = nil - p.GetMessage() + u := &UpdateIssueRequest{Type: &zeroValue} + u.GetType() + u = &UpdateIssueRequest{} + u.GetType() + u = nil + u.GetType() } -func TestPagesHealthCheckResponse_GetAltDomain(tt *testing.T) { +func TestUpdateMilestoneRequest_GetDescription(tt *testing.T) { tt.Parallel() - p := &PagesHealthCheckResponse{} - p.GetAltDomain() - p = nil - p.GetAltDomain() + var zeroValue string + u := &UpdateMilestoneRequest{Description: &zeroValue} + u.GetDescription() + u = &UpdateMilestoneRequest{} + u.GetDescription() + u = nil + u.GetDescription() } -func TestPagesHealthCheckResponse_GetDomain(tt *testing.T) { +func TestUpdateMilestoneRequest_GetDueOn(tt *testing.T) { tt.Parallel() - p := &PagesHealthCheckResponse{} - p.GetDomain() - p = nil - p.GetDomain() + var zeroValue Timestamp + u := &UpdateMilestoneRequest{DueOn: &zeroValue} + u.GetDueOn() + u = &UpdateMilestoneRequest{} + u.GetDueOn() + u = nil + u.GetDueOn() } -func TestPagesHTTPSCertificate_GetDescription(tt *testing.T) { +func TestUpdateMilestoneRequest_GetState(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PagesHTTPSCertificate{Description: &zeroValue} - p.GetDescription() - p = &PagesHTTPSCertificate{} - p.GetDescription() - p = nil - p.GetDescription() + u := &UpdateMilestoneRequest{State: &zeroValue} + u.GetState() + u = &UpdateMilestoneRequest{} + u.GetState() + u = nil + u.GetState() } -func TestPagesHTTPSCertificate_GetDomains(tt *testing.T) { +func TestUpdateMilestoneRequest_GetTitle(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - p := &PagesHTTPSCertificate{Domains: zeroValue} - p.GetDomains() - p = &PagesHTTPSCertificate{} - p.GetDomains() - p = nil - p.GetDomains() + var zeroValue string + u := &UpdateMilestoneRequest{Title: &zeroValue} + u.GetTitle() + u = &UpdateMilestoneRequest{} + u.GetTitle() + u = nil + u.GetTitle() } -func TestPagesHTTPSCertificate_GetExpiresAt(tt *testing.T) { +func TestUpdateOrganizationPrivateRegistry_GetAccountID(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PagesHTTPSCertificate{ExpiresAt: &zeroValue} - p.GetExpiresAt() - p = &PagesHTTPSCertificate{} - p.GetExpiresAt() - p = nil - p.GetExpiresAt() + u := &UpdateOrganizationPrivateRegistry{AccountID: &zeroValue} + u.GetAccountID() + u = &UpdateOrganizationPrivateRegistry{} + u.GetAccountID() + u = nil + u.GetAccountID() } -func TestPagesHTTPSCertificate_GetState(tt *testing.T) { +func TestUpdateOrganizationPrivateRegistry_GetAudience(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PagesHTTPSCertificate{State: &zeroValue} - p.GetState() - p = &PagesHTTPSCertificate{} - p.GetState() - p = nil - p.GetState() + u := &UpdateOrganizationPrivateRegistry{Audience: &zeroValue} + u.GetAudience() + u = &UpdateOrganizationPrivateRegistry{} + u.GetAudience() + u = nil + u.GetAudience() } -func TestPagesSource_GetBranch(tt *testing.T) { +func TestUpdateOrganizationPrivateRegistry_GetAuthType(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PagesSource{Branch: &zeroValue} - p.GetBranch() - p = &PagesSource{} - p.GetBranch() - p = nil - p.GetBranch() + u := &UpdateOrganizationPrivateRegistry{AuthType: &zeroValue} + u.GetAuthType() + u = &UpdateOrganizationPrivateRegistry{} + u.GetAuthType() + u = nil + u.GetAuthType() } -func TestPagesSource_GetPath(tt *testing.T) { +func TestUpdateOrganizationPrivateRegistry_GetAWSRegion(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PagesSource{Path: &zeroValue} - p.GetPath() - p = &PagesSource{} - p.GetPath() - p = nil - p.GetPath() + u := &UpdateOrganizationPrivateRegistry{AWSRegion: &zeroValue} + u.GetAWSRegion() + u = &UpdateOrganizationPrivateRegistry{} + u.GetAWSRegion() + u = nil + u.GetAWSRegion() } -func TestPageStats_GetTotalPages(tt *testing.T) { +func TestUpdateOrganizationPrivateRegistry_GetClientID(tt *testing.T) { tt.Parallel() - var zeroValue int - p := &PageStats{TotalPages: &zeroValue} - p.GetTotalPages() - p = &PageStats{} - p.GetTotalPages() - p = nil - p.GetTotalPages() + var zeroValue string + u := &UpdateOrganizationPrivateRegistry{ClientID: &zeroValue} + u.GetClientID() + u = &UpdateOrganizationPrivateRegistry{} + u.GetClientID() + u = nil + u.GetClientID() } -func TestPagesUpdate_GetBuildType(tt *testing.T) { +func TestUpdateOrganizationPrivateRegistry_GetDomain(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PagesUpdate{BuildType: &zeroValue} - p.GetBuildType() - p = &PagesUpdate{} - p.GetBuildType() - p = nil - p.GetBuildType() + u := &UpdateOrganizationPrivateRegistry{Domain: &zeroValue} + u.GetDomain() + u = &UpdateOrganizationPrivateRegistry{} + u.GetDomain() + u = nil + u.GetDomain() } -func TestPagesUpdate_GetCNAME(tt *testing.T) { +func TestUpdateOrganizationPrivateRegistry_GetDomainOwner(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PagesUpdate{CNAME: &zeroValue} - p.GetCNAME() - p = &PagesUpdate{} - p.GetCNAME() - p = nil - p.GetCNAME() + u := &UpdateOrganizationPrivateRegistry{DomainOwner: &zeroValue} + u.GetDomainOwner() + u = &UpdateOrganizationPrivateRegistry{} + u.GetDomainOwner() + u = nil + u.GetDomainOwner() } -func TestPagesUpdate_GetHTTPSEnforced(tt *testing.T) { +func TestUpdateOrganizationPrivateRegistry_GetEncryptedValue(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &PagesUpdate{HTTPSEnforced: &zeroValue} - p.GetHTTPSEnforced() - p = &PagesUpdate{} - p.GetHTTPSEnforced() - p = nil - p.GetHTTPSEnforced() + var zeroValue string + u := &UpdateOrganizationPrivateRegistry{EncryptedValue: &zeroValue} + u.GetEncryptedValue() + u = &UpdateOrganizationPrivateRegistry{} + u.GetEncryptedValue() + u = nil + u.GetEncryptedValue() } -func TestPagesUpdate_GetPublic(tt *testing.T) { +func TestUpdateOrganizationPrivateRegistry_GetIdentityMappingName(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &PagesUpdate{Public: &zeroValue} - p.GetPublic() - p = &PagesUpdate{} - p.GetPublic() - p = nil - p.GetPublic() + var zeroValue string + u := &UpdateOrganizationPrivateRegistry{IdentityMappingName: &zeroValue} + u.GetIdentityMappingName() + u = &UpdateOrganizationPrivateRegistry{} + u.GetIdentityMappingName() + u = nil + u.GetIdentityMappingName() } -func TestPagesUpdate_GetSource(tt *testing.T) { +func TestUpdateOrganizationPrivateRegistry_GetJFrogOIDCProviderName(tt *testing.T) { tt.Parallel() - p := &PagesUpdate{} - p.GetSource() - p = nil - p.GetSource() + var zeroValue string + u := &UpdateOrganizationPrivateRegistry{JFrogOIDCProviderName: &zeroValue} + u.GetJFrogOIDCProviderName() + u = &UpdateOrganizationPrivateRegistry{} + u.GetJFrogOIDCProviderName() + u = nil + u.GetJFrogOIDCProviderName() } -func TestPagesUpdateWithoutCNAME_GetBuildType(tt *testing.T) { +func TestUpdateOrganizationPrivateRegistry_GetKeyID(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PagesUpdateWithoutCNAME{BuildType: &zeroValue} - p.GetBuildType() - p = &PagesUpdateWithoutCNAME{} - p.GetBuildType() - p = nil - p.GetBuildType() + u := &UpdateOrganizationPrivateRegistry{KeyID: &zeroValue} + u.GetKeyID() + u = &UpdateOrganizationPrivateRegistry{} + u.GetKeyID() + u = nil + u.GetKeyID() } -func TestPagesUpdateWithoutCNAME_GetHTTPSEnforced(tt *testing.T) { +func TestUpdateOrganizationPrivateRegistry_GetRegistryType(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &PagesUpdateWithoutCNAME{HTTPSEnforced: &zeroValue} - p.GetHTTPSEnforced() - p = &PagesUpdateWithoutCNAME{} - p.GetHTTPSEnforced() - p = nil - p.GetHTTPSEnforced() + u := &UpdateOrganizationPrivateRegistry{} + u.GetRegistryType() + u = nil + u.GetRegistryType() } -func TestPagesUpdateWithoutCNAME_GetPublic(tt *testing.T) { +func TestUpdateOrganizationPrivateRegistry_GetReplacesBase(tt *testing.T) { tt.Parallel() var zeroValue bool - p := &PagesUpdateWithoutCNAME{Public: &zeroValue} - p.GetPublic() - p = &PagesUpdateWithoutCNAME{} - p.GetPublic() - p = nil - p.GetPublic() + u := &UpdateOrganizationPrivateRegistry{ReplacesBase: &zeroValue} + u.GetReplacesBase() + u = &UpdateOrganizationPrivateRegistry{} + u.GetReplacesBase() + u = nil + u.GetReplacesBase() } -func TestPagesUpdateWithoutCNAME_GetSource(tt *testing.T) { +func TestUpdateOrganizationPrivateRegistry_GetRoleName(tt *testing.T) { tt.Parallel() - p := &PagesUpdateWithoutCNAME{} - p.GetSource() - p = nil - p.GetSource() + var zeroValue string + u := &UpdateOrganizationPrivateRegistry{RoleName: &zeroValue} + u.GetRoleName() + u = &UpdateOrganizationPrivateRegistry{} + u.GetRoleName() + u = nil + u.GetRoleName() } -func TestPatternBranchRule_GetParameters(tt *testing.T) { +func TestUpdateOrganizationPrivateRegistry_GetSelectedRepositoryIDs(tt *testing.T) { tt.Parallel() - p := &PatternBranchRule{} - p.GetParameters() - p = nil - p.GetParameters() + zeroValue := []int64{} + u := &UpdateOrganizationPrivateRegistry{SelectedRepositoryIDs: zeroValue} + u.GetSelectedRepositoryIDs() + u = &UpdateOrganizationPrivateRegistry{} + u.GetSelectedRepositoryIDs() + u = nil + u.GetSelectedRepositoryIDs() } -func TestPatternRuleParameters_GetName(tt *testing.T) { +func TestUpdateOrganizationPrivateRegistry_GetTenantID(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PatternRuleParameters{Name: &zeroValue} - p.GetName() - p = &PatternRuleParameters{} - p.GetName() - p = nil - p.GetName() + u := &UpdateOrganizationPrivateRegistry{TenantID: &zeroValue} + u.GetTenantID() + u = &UpdateOrganizationPrivateRegistry{} + u.GetTenantID() + u = nil + u.GetTenantID() } -func TestPatternRuleParameters_GetNegate(tt *testing.T) { +func TestUpdateOrganizationPrivateRegistry_GetURL(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &PatternRuleParameters{Negate: &zeroValue} - p.GetNegate() - p = &PatternRuleParameters{} - p.GetNegate() - p = nil - p.GetNegate() + var zeroValue string + u := &UpdateOrganizationPrivateRegistry{URL: &zeroValue} + u.GetURL() + u = &UpdateOrganizationPrivateRegistry{} + u.GetURL() + u = nil + u.GetURL() } -func TestPatternRuleParameters_GetOperator(tt *testing.T) { +func TestUpdateOrganizationPrivateRegistry_GetUsername(tt *testing.T) { tt.Parallel() - p := &PatternRuleParameters{} - p.GetOperator() - p = nil - p.GetOperator() + var zeroValue string + u := &UpdateOrganizationPrivateRegistry{Username: &zeroValue} + u.GetUsername() + u = &UpdateOrganizationPrivateRegistry{} + u.GetUsername() + u = nil + u.GetUsername() } -func TestPatternRuleParameters_GetPattern(tt *testing.T) { +func TestUpdateOrganizationPrivateRegistry_GetVisibility(tt *testing.T) { tt.Parallel() - p := &PatternRuleParameters{} - p.GetPattern() - p = nil - p.GetPattern() + u := &UpdateOrganizationPrivateRegistry{} + u.GetVisibility() + u = nil + u.GetVisibility() } -func TestPendingDeployment_GetCurrentUserCanApprove(tt *testing.T) { +func TestUpdatePreReceiveHookRequest_GetEnforcement(tt *testing.T) { + tt.Parallel() + var zeroValue string + u := &UpdatePreReceiveHookRequest{Enforcement: &zeroValue} + u.GetEnforcement() + u = &UpdatePreReceiveHookRequest{} + u.GetEnforcement() + u = nil + u.GetEnforcement() +} + +func TestUpdateProjectItemOptions_GetArchived(tt *testing.T) { tt.Parallel() var zeroValue bool - p := &PendingDeployment{CurrentUserCanApprove: &zeroValue} - p.GetCurrentUserCanApprove() - p = &PendingDeployment{} - p.GetCurrentUserCanApprove() - p = nil - p.GetCurrentUserCanApprove() + u := &UpdateProjectItemOptions{Archived: &zeroValue} + u.GetArchived() + u = &UpdateProjectItemOptions{} + u.GetArchived() + u = nil + u.GetArchived() } -func TestPendingDeployment_GetEnvironment(tt *testing.T) { +func TestUpdateProjectItemOptions_GetFields(tt *testing.T) { tt.Parallel() - p := &PendingDeployment{} - p.GetEnvironment() - p = nil - p.GetEnvironment() + zeroValue := []*UpdateProjectV2Field{} + u := &UpdateProjectItemOptions{Fields: zeroValue} + u.GetFields() + u = &UpdateProjectItemOptions{} + u.GetFields() + u = nil + u.GetFields() } -func TestPendingDeployment_GetReviewers(tt *testing.T) { +func TestUpdateProjectV2Field_GetID(tt *testing.T) { tt.Parallel() - zeroValue := []*RequiredReviewer{} - p := &PendingDeployment{Reviewers: zeroValue} - p.GetReviewers() - p = &PendingDeployment{} - p.GetReviewers() - p = nil - p.GetReviewers() + u := &UpdateProjectV2Field{} + u.GetID() + u = nil + u.GetID() } -func TestPendingDeployment_GetWaitTimer(tt *testing.T) { +func TestUpdateProjectV2Field_GetValue(tt *testing.T) { tt.Parallel() - var zeroValue int64 - p := &PendingDeployment{WaitTimer: &zeroValue} - p.GetWaitTimer() - p = &PendingDeployment{} - p.GetWaitTimer() - p = nil - p.GetWaitTimer() + u := &UpdateProjectV2Field{} + u.GetValue() + u = nil + u.GetValue() } -func TestPendingDeployment_GetWaitTimerStartedAt(tt *testing.T) { +func TestUpdateProvisionedOrgMembershipRequest_GetActive(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - p := &PendingDeployment{WaitTimerStartedAt: &zeroValue} - p.GetWaitTimerStartedAt() - p = &PendingDeployment{} - p.GetWaitTimerStartedAt() - p = nil - p.GetWaitTimerStartedAt() + var zeroValue bool + u := &UpdateProvisionedOrgMembershipRequest{Active: &zeroValue} + u.GetActive() + u = &UpdateProvisionedOrgMembershipRequest{} + u.GetActive() + u = nil + u.GetActive() } -func TestPendingDeploymentEnvironment_GetHTMLURL(tt *testing.T) { +func TestUpdateProvisionedOrgMembershipRequest_GetDisplayName(tt *testing.T) { tt.Parallel() - var zeroValue string - p := &PendingDeploymentEnvironment{HTMLURL: &zeroValue} - p.GetHTMLURL() - p = &PendingDeploymentEnvironment{} - p.GetHTMLURL() - p = nil - p.GetHTMLURL() + var zeroValue string + u := &UpdateProvisionedOrgMembershipRequest{DisplayName: &zeroValue} + u.GetDisplayName() + u = &UpdateProvisionedOrgMembershipRequest{} + u.GetDisplayName() + u = nil + u.GetDisplayName() } -func TestPendingDeploymentEnvironment_GetID(tt *testing.T) { +func TestUpdateProvisionedOrgMembershipRequest_GetEmails(tt *testing.T) { tt.Parallel() - var zeroValue int64 - p := &PendingDeploymentEnvironment{ID: &zeroValue} - p.GetID() - p = &PendingDeploymentEnvironment{} - p.GetID() - p = nil - p.GetID() + zeroValue := []*SCIMUserEmail{} + u := &UpdateProvisionedOrgMembershipRequest{Emails: zeroValue} + u.GetEmails() + u = &UpdateProvisionedOrgMembershipRequest{} + u.GetEmails() + u = nil + u.GetEmails() } -func TestPendingDeploymentEnvironment_GetName(tt *testing.T) { +func TestUpdateProvisionedOrgMembershipRequest_GetExternalID(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PendingDeploymentEnvironment{Name: &zeroValue} - p.GetName() - p = &PendingDeploymentEnvironment{} - p.GetName() - p = nil - p.GetName() + u := &UpdateProvisionedOrgMembershipRequest{ExternalID: &zeroValue} + u.GetExternalID() + u = &UpdateProvisionedOrgMembershipRequest{} + u.GetExternalID() + u = nil + u.GetExternalID() } -func TestPendingDeploymentEnvironment_GetNodeID(tt *testing.T) { +func TestUpdateProvisionedOrgMembershipRequest_GetGroups(tt *testing.T) { tt.Parallel() - var zeroValue string - p := &PendingDeploymentEnvironment{NodeID: &zeroValue} - p.GetNodeID() - p = &PendingDeploymentEnvironment{} - p.GetNodeID() - p = nil - p.GetNodeID() + zeroValue := []string{} + u := &UpdateProvisionedOrgMembershipRequest{Groups: zeroValue} + u.GetGroups() + u = &UpdateProvisionedOrgMembershipRequest{} + u.GetGroups() + u = nil + u.GetGroups() } -func TestPendingDeploymentEnvironment_GetURL(tt *testing.T) { +func TestUpdateProvisionedOrgMembershipRequest_GetName(tt *testing.T) { tt.Parallel() - var zeroValue string - p := &PendingDeploymentEnvironment{URL: &zeroValue} - p.GetURL() - p = &PendingDeploymentEnvironment{} - p.GetURL() - p = nil - p.GetURL() + u := &UpdateProvisionedOrgMembershipRequest{} + u.GetName() + u = nil + u.GetName() } -func TestPendingDeploymentsRequest_GetComment(tt *testing.T) { +func TestUpdateProvisionedOrgMembershipRequest_GetSchemas(tt *testing.T) { tt.Parallel() - p := &PendingDeploymentsRequest{} - p.GetComment() - p = nil - p.GetComment() + zeroValue := []string{} + u := &UpdateProvisionedOrgMembershipRequest{Schemas: zeroValue} + u.GetSchemas() + u = &UpdateProvisionedOrgMembershipRequest{} + u.GetSchemas() + u = nil + u.GetSchemas() } -func TestPendingDeploymentsRequest_GetEnvironmentIDs(tt *testing.T) { +func TestUpdateProvisionedOrgMembershipRequest_GetUserName(tt *testing.T) { tt.Parallel() - zeroValue := []int64{} - p := &PendingDeploymentsRequest{EnvironmentIDs: zeroValue} - p.GetEnvironmentIDs() - p = &PendingDeploymentsRequest{} - p.GetEnvironmentIDs() - p = nil - p.GetEnvironmentIDs() + u := &UpdateProvisionedOrgMembershipRequest{} + u.GetUserName() + u = nil + u.GetUserName() } -func TestPendingDeploymentsRequest_GetState(tt *testing.T) { +func TestUpdatePullRequestCommentRequest_GetBody(tt *testing.T) { tt.Parallel() - p := &PendingDeploymentsRequest{} - p.GetState() - p = nil - p.GetState() + u := &UpdatePullRequestCommentRequest{} + u.GetBody() + u = nil + u.GetBody() } -func TestPersonalAccessToken_GetAccessGrantedAt(tt *testing.T) { +func TestUpdateRef_GetForce(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - p := &PersonalAccessToken{AccessGrantedAt: &zeroValue} - p.GetAccessGrantedAt() - p = &PersonalAccessToken{} - p.GetAccessGrantedAt() - p = nil - p.GetAccessGrantedAt() + var zeroValue bool + u := &UpdateRef{Force: &zeroValue} + u.GetForce() + u = &UpdateRef{} + u.GetForce() + u = nil + u.GetForce() } -func TestPersonalAccessToken_GetID(tt *testing.T) { +func TestUpdateRef_GetSHA(tt *testing.T) { tt.Parallel() - var zeroValue int64 - p := &PersonalAccessToken{ID: &zeroValue} - p.GetID() - p = &PersonalAccessToken{} - p.GetID() - p = nil - p.GetID() + u := &UpdateRef{} + u.GetSHA() + u = nil + u.GetSHA() } -func TestPersonalAccessToken_GetOwner(tt *testing.T) { +func TestUpdateReleaseAssetRequest_GetLabel(tt *testing.T) { tt.Parallel() - p := &PersonalAccessToken{} - p.GetOwner() - p = nil - p.GetOwner() + var zeroValue string + u := &UpdateReleaseAssetRequest{Label: &zeroValue} + u.GetLabel() + u = &UpdateReleaseAssetRequest{} + u.GetLabel() + u = nil + u.GetLabel() } -func TestPersonalAccessToken_GetPermissions(tt *testing.T) { +func TestUpdateReleaseAssetRequest_GetName(tt *testing.T) { tt.Parallel() - p := &PersonalAccessToken{} - p.GetPermissions() - p = nil - p.GetPermissions() + var zeroValue string + u := &UpdateReleaseAssetRequest{Name: &zeroValue} + u.GetName() + u = &UpdateReleaseAssetRequest{} + u.GetName() + u = nil + u.GetName() } -func TestPersonalAccessToken_GetRepositoriesURL(tt *testing.T) { +func TestUpdateReleaseAssetRequest_GetState(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PersonalAccessToken{RepositoriesURL: &zeroValue} - p.GetRepositoriesURL() - p = &PersonalAccessToken{} - p.GetRepositoriesURL() - p = nil - p.GetRepositoriesURL() + u := &UpdateReleaseAssetRequest{State: &zeroValue} + u.GetState() + u = &UpdateReleaseAssetRequest{} + u.GetState() + u = nil + u.GetState() } -func TestPersonalAccessToken_GetRepositorySelection(tt *testing.T) { +func TestUpdateReleaseRequest_GetBody(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PersonalAccessToken{RepositorySelection: &zeroValue} - p.GetRepositorySelection() - p = &PersonalAccessToken{} - p.GetRepositorySelection() - p = nil - p.GetRepositorySelection() + u := &UpdateReleaseRequest{Body: &zeroValue} + u.GetBody() + u = &UpdateReleaseRequest{} + u.GetBody() + u = nil + u.GetBody() } -func TestPersonalAccessToken_GetTokenExpired(tt *testing.T) { +func TestUpdateReleaseRequest_GetDiscussionCategoryName(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &PersonalAccessToken{TokenExpired: &zeroValue} - p.GetTokenExpired() - p = &PersonalAccessToken{} - p.GetTokenExpired() - p = nil - p.GetTokenExpired() + var zeroValue string + u := &UpdateReleaseRequest{DiscussionCategoryName: &zeroValue} + u.GetDiscussionCategoryName() + u = &UpdateReleaseRequest{} + u.GetDiscussionCategoryName() + u = nil + u.GetDiscussionCategoryName() } -func TestPersonalAccessToken_GetTokenExpiresAt(tt *testing.T) { +func TestUpdateReleaseRequest_GetDraft(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - p := &PersonalAccessToken{TokenExpiresAt: &zeroValue} - p.GetTokenExpiresAt() - p = &PersonalAccessToken{} - p.GetTokenExpiresAt() - p = nil - p.GetTokenExpiresAt() + var zeroValue bool + u := &UpdateReleaseRequest{Draft: &zeroValue} + u.GetDraft() + u = &UpdateReleaseRequest{} + u.GetDraft() + u = nil + u.GetDraft() } -func TestPersonalAccessToken_GetTokenID(tt *testing.T) { +func TestUpdateReleaseRequest_GetMakeLatest(tt *testing.T) { tt.Parallel() - var zeroValue int64 - p := &PersonalAccessToken{TokenID: &zeroValue} - p.GetTokenID() - p = &PersonalAccessToken{} - p.GetTokenID() - p = nil - p.GetTokenID() + var zeroValue string + u := &UpdateReleaseRequest{MakeLatest: &zeroValue} + u.GetMakeLatest() + u = &UpdateReleaseRequest{} + u.GetMakeLatest() + u = nil + u.GetMakeLatest() } -func TestPersonalAccessToken_GetTokenLastUsedAt(tt *testing.T) { +func TestUpdateReleaseRequest_GetName(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - p := &PersonalAccessToken{TokenLastUsedAt: &zeroValue} - p.GetTokenLastUsedAt() - p = &PersonalAccessToken{} - p.GetTokenLastUsedAt() - p = nil - p.GetTokenLastUsedAt() + var zeroValue string + u := &UpdateReleaseRequest{Name: &zeroValue} + u.GetName() + u = &UpdateReleaseRequest{} + u.GetName() + u = nil + u.GetName() } -func TestPersonalAccessToken_GetTokenName(tt *testing.T) { +func TestUpdateReleaseRequest_GetPrerelease(tt *testing.T) { tt.Parallel() - var zeroValue string - p := &PersonalAccessToken{TokenName: &zeroValue} - p.GetTokenName() - p = &PersonalAccessToken{} - p.GetTokenName() - p = nil - p.GetTokenName() + var zeroValue bool + u := &UpdateReleaseRequest{Prerelease: &zeroValue} + u.GetPrerelease() + u = &UpdateReleaseRequest{} + u.GetPrerelease() + u = nil + u.GetPrerelease() } -func TestPersonalAccessTokenPermissions_GetOrg(tt *testing.T) { +func TestUpdateReleaseRequest_GetTagName(tt *testing.T) { tt.Parallel() - zeroValue := map[string]string{} - p := &PersonalAccessTokenPermissions{Org: zeroValue} - p.GetOrg() - p = &PersonalAccessTokenPermissions{} - p.GetOrg() - p = nil - p.GetOrg() + var zeroValue string + u := &UpdateReleaseRequest{TagName: &zeroValue} + u.GetTagName() + u = &UpdateReleaseRequest{} + u.GetTagName() + u = nil + u.GetTagName() } -func TestPersonalAccessTokenPermissions_GetOther(tt *testing.T) { +func TestUpdateReleaseRequest_GetTargetCommitish(tt *testing.T) { tt.Parallel() - zeroValue := map[string]string{} - p := &PersonalAccessTokenPermissions{Other: zeroValue} - p.GetOther() - p = &PersonalAccessTokenPermissions{} - p.GetOther() - p = nil - p.GetOther() + var zeroValue string + u := &UpdateReleaseRequest{TargetCommitish: &zeroValue} + u.GetTargetCommitish() + u = &UpdateReleaseRequest{} + u.GetTargetCommitish() + u = nil + u.GetTargetCommitish() } -func TestPersonalAccessTokenPermissions_GetRepo(tt *testing.T) { +func TestUpdateRuleParameters_GetUpdateAllowsFetchAndMerge(tt *testing.T) { tt.Parallel() - zeroValue := map[string]string{} - p := &PersonalAccessTokenPermissions{Repo: zeroValue} - p.GetRepo() - p = &PersonalAccessTokenPermissions{} - p.GetRepo() - p = nil - p.GetRepo() + u := &UpdateRuleParameters{} + u.GetUpdateAllowsFetchAndMerge() + u = nil + u.GetUpdateAllowsFetchAndMerge() } -func TestPersonalAccessTokenRequest_GetCreatedAt(tt *testing.T) { +func TestUpdateRunnerGroupRequest_GetAllowsPublicRepositories(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - p := &PersonalAccessTokenRequest{CreatedAt: &zeroValue} - p.GetCreatedAt() - p = &PersonalAccessTokenRequest{} - p.GetCreatedAt() - p = nil - p.GetCreatedAt() + var zeroValue bool + u := &UpdateRunnerGroupRequest{AllowsPublicRepositories: &zeroValue} + u.GetAllowsPublicRepositories() + u = &UpdateRunnerGroupRequest{} + u.GetAllowsPublicRepositories() + u = nil + u.GetAllowsPublicRepositories() } -func TestPersonalAccessTokenRequest_GetID(tt *testing.T) { +func TestUpdateRunnerGroupRequest_GetName(tt *testing.T) { tt.Parallel() - var zeroValue int64 - p := &PersonalAccessTokenRequest{ID: &zeroValue} - p.GetID() - p = &PersonalAccessTokenRequest{} - p.GetID() - p = nil - p.GetID() + var zeroValue string + u := &UpdateRunnerGroupRequest{Name: &zeroValue} + u.GetName() + u = &UpdateRunnerGroupRequest{} + u.GetName() + u = nil + u.GetName() } -func TestPersonalAccessTokenRequest_GetOrg(tt *testing.T) { +func TestUpdateRunnerGroupRequest_GetNetworkConfigurationID(tt *testing.T) { tt.Parallel() - p := &PersonalAccessTokenRequest{} - p.GetOrg() - p = nil - p.GetOrg() + var zeroValue string + u := &UpdateRunnerGroupRequest{NetworkConfigurationID: &zeroValue} + u.GetNetworkConfigurationID() + u = &UpdateRunnerGroupRequest{} + u.GetNetworkConfigurationID() + u = nil + u.GetNetworkConfigurationID() } -func TestPersonalAccessTokenRequest_GetOwner(tt *testing.T) { +func TestUpdateRunnerGroupRequest_GetRestrictedToWorkflows(tt *testing.T) { tt.Parallel() - p := &PersonalAccessTokenRequest{} - p.GetOwner() - p = nil - p.GetOwner() + var zeroValue bool + u := &UpdateRunnerGroupRequest{RestrictedToWorkflows: &zeroValue} + u.GetRestrictedToWorkflows() + u = &UpdateRunnerGroupRequest{} + u.GetRestrictedToWorkflows() + u = nil + u.GetRestrictedToWorkflows() } -func TestPersonalAccessTokenRequest_GetPermissionsAdded(tt *testing.T) { +func TestUpdateRunnerGroupRequest_GetSelectedWorkflows(tt *testing.T) { tt.Parallel() - p := &PersonalAccessTokenRequest{} - p.GetPermissionsAdded() - p = nil - p.GetPermissionsAdded() + zeroValue := []string{} + u := &UpdateRunnerGroupRequest{SelectedWorkflows: zeroValue} + u.GetSelectedWorkflows() + u = &UpdateRunnerGroupRequest{} + u.GetSelectedWorkflows() + u = nil + u.GetSelectedWorkflows() } -func TestPersonalAccessTokenRequest_GetPermissionsResult(tt *testing.T) { +func TestUpdateRunnerGroupRequest_GetVisibility(tt *testing.T) { tt.Parallel() - p := &PersonalAccessTokenRequest{} - p.GetPermissionsResult() - p = nil - p.GetPermissionsResult() + var zeroValue string + u := &UpdateRunnerGroupRequest{Visibility: &zeroValue} + u.GetVisibility() + u = &UpdateRunnerGroupRequest{} + u.GetVisibility() + u = nil + u.GetVisibility() } -func TestPersonalAccessTokenRequest_GetPermissionsUpgraded(tt *testing.T) { +func TestUpdateTeamLDAPMappingRequest_GetLDAPDN(tt *testing.T) { tt.Parallel() - p := &PersonalAccessTokenRequest{} - p.GetPermissionsUpgraded() - p = nil - p.GetPermissionsUpgraded() + u := &UpdateTeamLDAPMappingRequest{} + u.GetLDAPDN() + u = nil + u.GetLDAPDN() } -func TestPersonalAccessTokenRequest_GetRepositories(tt *testing.T) { +func TestUpdateTeamRequest_GetDescription(tt *testing.T) { tt.Parallel() - zeroValue := []*Repository{} - p := &PersonalAccessTokenRequest{Repositories: zeroValue} - p.GetRepositories() - p = &PersonalAccessTokenRequest{} - p.GetRepositories() - p = nil - p.GetRepositories() + var zeroValue string + u := &UpdateTeamRequest{Description: &zeroValue} + u.GetDescription() + u = &UpdateTeamRequest{} + u.GetDescription() + u = nil + u.GetDescription() } -func TestPersonalAccessTokenRequest_GetRepositoryCount(tt *testing.T) { +func TestUpdateTeamRequest_GetName(tt *testing.T) { tt.Parallel() - var zeroValue int64 - p := &PersonalAccessTokenRequest{RepositoryCount: &zeroValue} - p.GetRepositoryCount() - p = &PersonalAccessTokenRequest{} - p.GetRepositoryCount() - p = nil - p.GetRepositoryCount() + var zeroValue string + u := &UpdateTeamRequest{Name: &zeroValue} + u.GetName() + u = &UpdateTeamRequest{} + u.GetName() + u = nil + u.GetName() } -func TestPersonalAccessTokenRequest_GetRepositorySelection(tt *testing.T) { +func TestUpdateTeamRequest_GetNotificationSetting(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PersonalAccessTokenRequest{RepositorySelection: &zeroValue} - p.GetRepositorySelection() - p = &PersonalAccessTokenRequest{} - p.GetRepositorySelection() - p = nil - p.GetRepositorySelection() + u := &UpdateTeamRequest{NotificationSetting: &zeroValue} + u.GetNotificationSetting() + u = &UpdateTeamRequest{} + u.GetNotificationSetting() + u = nil + u.GetNotificationSetting() } -func TestPersonalAccessTokenRequest_GetTokenExpired(tt *testing.T) { +func TestUpdateTeamRequest_GetParentTeamID(tt *testing.T) { tt.Parallel() - var zeroValue bool - p := &PersonalAccessTokenRequest{TokenExpired: &zeroValue} - p.GetTokenExpired() - p = &PersonalAccessTokenRequest{} - p.GetTokenExpired() - p = nil - p.GetTokenExpired() + var zeroValue int64 + u := &UpdateTeamRequest{ParentTeamID: &zeroValue} + u.GetParentTeamID() + u = &UpdateTeamRequest{} + u.GetParentTeamID() + u = nil + u.GetParentTeamID() } -func TestPersonalAccessTokenRequest_GetTokenExpiresAt(tt *testing.T) { +func TestUpdateTeamRequest_GetParentTeamSlug(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - p := &PersonalAccessTokenRequest{TokenExpiresAt: &zeroValue} - p.GetTokenExpiresAt() - p = &PersonalAccessTokenRequest{} - p.GetTokenExpiresAt() - p = nil - p.GetTokenExpiresAt() + var zeroValue string + u := &UpdateTeamRequest{ParentTeamSlug: &zeroValue} + u.GetParentTeamSlug() + u = &UpdateTeamRequest{} + u.GetParentTeamSlug() + u = nil + u.GetParentTeamSlug() } -func TestPersonalAccessTokenRequest_GetTokenLastUsedAt(tt *testing.T) { +func TestUpdateTeamRequest_GetPermission(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - p := &PersonalAccessTokenRequest{TokenLastUsedAt: &zeroValue} - p.GetTokenLastUsedAt() - p = &PersonalAccessTokenRequest{} - p.GetTokenLastUsedAt() - p = nil - p.GetTokenLastUsedAt() + var zeroValue string + u := &UpdateTeamRequest{Permission: &zeroValue} + u.GetPermission() + u = &UpdateTeamRequest{} + u.GetPermission() + u = nil + u.GetPermission() } -func TestPersonalAccessTokenRequestEvent_GetAction(tt *testing.T) { +func TestUpdateTeamRequest_GetPrivacy(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PersonalAccessTokenRequestEvent{Action: &zeroValue} - p.GetAction() - p = &PersonalAccessTokenRequestEvent{} - p.GetAction() - p = nil - p.GetAction() + u := &UpdateTeamRequest{Privacy: &zeroValue} + u.GetPrivacy() + u = &UpdateTeamRequest{} + u.GetPrivacy() + u = nil + u.GetPrivacy() } -func TestPersonalAccessTokenRequestEvent_GetInstallation(tt *testing.T) { +func TestUpdateTeamRequest_GetRemoveParentTeam(tt *testing.T) { tt.Parallel() - p := &PersonalAccessTokenRequestEvent{} - p.GetInstallation() - p = nil - p.GetInstallation() + u := &UpdateTeamRequest{} + u.GetRemoveParentTeam() + u = nil + u.GetRemoveParentTeam() } -func TestPersonalAccessTokenRequestEvent_GetOrg(tt *testing.T) { +func TestUpdateUserLDAPMappingRequest_GetLDAPDN(tt *testing.T) { tt.Parallel() - p := &PersonalAccessTokenRequestEvent{} - p.GetOrg() - p = nil - p.GetOrg() + u := &UpdateUserLDAPMappingRequest{} + u.GetLDAPDN() + u = nil + u.GetLDAPDN() } -func TestPersonalAccessTokenRequestEvent_GetPersonalAccessTokenRequest(tt *testing.T) { +func TestUploadLicenseOptions_GetLicense(tt *testing.T) { tt.Parallel() - p := &PersonalAccessTokenRequestEvent{} - p.GetPersonalAccessTokenRequest() - p = nil - p.GetPersonalAccessTokenRequest() + u := &UploadLicenseOptions{} + u.GetLicense() + u = nil + u.GetLicense() } -func TestPersonalAccessTokenRequestEvent_GetSender(tt *testing.T) { +func TestUploadOptions_GetLabel(tt *testing.T) { tt.Parallel() - p := &PersonalAccessTokenRequestEvent{} - p.GetSender() - p = nil - p.GetSender() + u := &UploadOptions{} + u.GetLabel() + u = nil + u.GetLabel() } -func TestPingEvent_GetHook(tt *testing.T) { +func TestUploadOptions_GetMediaType(tt *testing.T) { tt.Parallel() - p := &PingEvent{} - p.GetHook() - p = nil - p.GetHook() + u := &UploadOptions{} + u.GetMediaType() + u = nil + u.GetMediaType() } -func TestPingEvent_GetHookID(tt *testing.T) { +func TestUploadOptions_GetName(tt *testing.T) { tt.Parallel() - var zeroValue int64 - p := &PingEvent{HookID: &zeroValue} - p.GetHookID() - p = &PingEvent{} - p.GetHookID() - p = nil - p.GetHookID() + u := &UploadOptions{} + u.GetName() + u = nil + u.GetName() } -func TestPingEvent_GetInstallation(tt *testing.T) { +func TestUsageItem_GetDate(tt *testing.T) { tt.Parallel() - p := &PingEvent{} - p.GetInstallation() - p = nil - p.GetInstallation() + u := &UsageItem{} + u.GetDate() + u = nil + u.GetDate() } -func TestPingEvent_GetOrg(tt *testing.T) { +func TestUsageItem_GetDiscountAmount(tt *testing.T) { tt.Parallel() - p := &PingEvent{} - p.GetOrg() - p = nil - p.GetOrg() + u := &UsageItem{} + u.GetDiscountAmount() + u = nil + u.GetDiscountAmount() } -func TestPingEvent_GetRepo(tt *testing.T) { +func TestUsageItem_GetGrossAmount(tt *testing.T) { tt.Parallel() - p := &PingEvent{} - p.GetRepo() - p = nil - p.GetRepo() + u := &UsageItem{} + u.GetGrossAmount() + u = nil + u.GetGrossAmount() } -func TestPingEvent_GetSender(tt *testing.T) { +func TestUsageItem_GetNetAmount(tt *testing.T) { tt.Parallel() - p := &PingEvent{} - p.GetSender() - p = nil - p.GetSender() + u := &UsageItem{} + u.GetNetAmount() + u = nil + u.GetNetAmount() } -func TestPingEvent_GetZen(tt *testing.T) { +func TestUsageItem_GetOrganizationName(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PingEvent{Zen: &zeroValue} - p.GetZen() - p = &PingEvent{} - p.GetZen() - p = nil - p.GetZen() + u := &UsageItem{OrganizationName: &zeroValue} + u.GetOrganizationName() + u = &UsageItem{} + u.GetOrganizationName() + u = nil + u.GetOrganizationName() } -func TestPinnedIssueComment_GetPinnedAt(tt *testing.T) { +func TestUsageItem_GetPricePerUnit(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - p := &PinnedIssueComment{PinnedAt: &zeroValue} - p.GetPinnedAt() - p = &PinnedIssueComment{} - p.GetPinnedAt() - p = nil - p.GetPinnedAt() + u := &UsageItem{} + u.GetPricePerUnit() + u = nil + u.GetPricePerUnit() } -func TestPinnedIssueComment_GetPinnedBy(tt *testing.T) { +func TestUsageItem_GetProduct(tt *testing.T) { tt.Parallel() - p := &PinnedIssueComment{} - p.GetPinnedBy() - p = nil - p.GetPinnedBy() + u := &UsageItem{} + u.GetProduct() + u = nil + u.GetProduct() } -func TestPlan_GetCollaborators(tt *testing.T) { +func TestUsageItem_GetQuantity(tt *testing.T) { tt.Parallel() - var zeroValue int - p := &Plan{Collaborators: &zeroValue} - p.GetCollaborators() - p = &Plan{} - p.GetCollaborators() - p = nil - p.GetCollaborators() + u := &UsageItem{} + u.GetQuantity() + u = nil + u.GetQuantity() } -func TestPlan_GetFilledSeats(tt *testing.T) { +func TestUsageItem_GetRepositoryName(tt *testing.T) { tt.Parallel() - var zeroValue int - p := &Plan{FilledSeats: &zeroValue} - p.GetFilledSeats() - p = &Plan{} - p.GetFilledSeats() - p = nil - p.GetFilledSeats() + var zeroValue string + u := &UsageItem{RepositoryName: &zeroValue} + u.GetRepositoryName() + u = &UsageItem{} + u.GetRepositoryName() + u = nil + u.GetRepositoryName() } -func TestPlan_GetName(tt *testing.T) { +func TestUsageItem_GetSKU(tt *testing.T) { tt.Parallel() - var zeroValue string - p := &Plan{Name: &zeroValue} - p.GetName() - p = &Plan{} - p.GetName() - p = nil - p.GetName() + u := &UsageItem{} + u.GetSKU() + u = nil + u.GetSKU() } -func TestPlan_GetPrivateRepos(tt *testing.T) { +func TestUsageItem_GetUnitType(tt *testing.T) { tt.Parallel() - var zeroValue int64 - p := &Plan{PrivateRepos: &zeroValue} - p.GetPrivateRepos() - p = &Plan{} - p.GetPrivateRepos() - p = nil - p.GetPrivateRepos() + u := &UsageItem{} + u.GetUnitType() + u = nil + u.GetUnitType() } -func TestPlan_GetSeats(tt *testing.T) { +func TestUsageReport_GetUsageItems(tt *testing.T) { tt.Parallel() - var zeroValue int - p := &Plan{Seats: &zeroValue} - p.GetSeats() - p = &Plan{} - p.GetSeats() - p = nil - p.GetSeats() + zeroValue := []*UsageItem{} + u := &UsageReport{UsageItems: zeroValue} + u.GetUsageItems() + u = &UsageReport{} + u.GetUsageItems() + u = nil + u.GetUsageItems() } -func TestPlan_GetSpace(tt *testing.T) { +func TestUsageReportOptions_GetDay(tt *testing.T) { tt.Parallel() var zeroValue int - p := &Plan{Space: &zeroValue} - p.GetSpace() - p = &Plan{} - p.GetSpace() - p = nil - p.GetSpace() + u := &UsageReportOptions{Day: &zeroValue} + u.GetDay() + u = &UsageReportOptions{} + u.GetDay() + u = nil + u.GetDay() } -func TestPreferenceList_GetAutoTriggerChecks(tt *testing.T) { +func TestUsageReportOptions_GetHour(tt *testing.T) { tt.Parallel() - zeroValue := []*AutoTriggerCheck{} - p := &PreferenceList{AutoTriggerChecks: zeroValue} - p.GetAutoTriggerChecks() - p = &PreferenceList{} - p.GetAutoTriggerChecks() - p = nil - p.GetAutoTriggerChecks() + var zeroValue int + u := &UsageReportOptions{Hour: &zeroValue} + u.GetHour() + u = &UsageReportOptions{} + u.GetHour() + u = nil + u.GetHour() } -func TestPremiumRequestUsageItem_GetDiscountAmount(tt *testing.T) { +func TestUsageReportOptions_GetMonth(tt *testing.T) { tt.Parallel() - p := &PremiumRequestUsageItem{} - p.GetDiscountAmount() - p = nil - p.GetDiscountAmount() + var zeroValue int + u := &UsageReportOptions{Month: &zeroValue} + u.GetMonth() + u = &UsageReportOptions{} + u.GetMonth() + u = nil + u.GetMonth() } -func TestPremiumRequestUsageItem_GetDiscountQuantity(tt *testing.T) { +func TestUsageReportOptions_GetYear(tt *testing.T) { tt.Parallel() - p := &PremiumRequestUsageItem{} - p.GetDiscountQuantity() - p = nil - p.GetDiscountQuantity() + var zeroValue int + u := &UsageReportOptions{Year: &zeroValue} + u.GetYear() + u = &UsageReportOptions{} + u.GetYear() + u = nil + u.GetYear() } -func TestPremiumRequestUsageItem_GetGrossAmount(tt *testing.T) { +func TestUser_GetAssignment(tt *testing.T) { tt.Parallel() - p := &PremiumRequestUsageItem{} - p.GetGrossAmount() - p = nil - p.GetGrossAmount() + var zeroValue string + u := &User{Assignment: &zeroValue} + u.GetAssignment() + u = &User{} + u.GetAssignment() + u = nil + u.GetAssignment() } -func TestPremiumRequestUsageItem_GetGrossQuantity(tt *testing.T) { +func TestUser_GetAvatarURL(tt *testing.T) { tt.Parallel() - p := &PremiumRequestUsageItem{} - p.GetGrossQuantity() - p = nil - p.GetGrossQuantity() + var zeroValue string + u := &User{AvatarURL: &zeroValue} + u.GetAvatarURL() + u = &User{} + u.GetAvatarURL() + u = nil + u.GetAvatarURL() } -func TestPremiumRequestUsageItem_GetModel(tt *testing.T) { +func TestUser_GetBio(tt *testing.T) { tt.Parallel() - p := &PremiumRequestUsageItem{} - p.GetModel() - p = nil - p.GetModel() + var zeroValue string + u := &User{Bio: &zeroValue} + u.GetBio() + u = &User{} + u.GetBio() + u = nil + u.GetBio() } -func TestPremiumRequestUsageItem_GetNetAmount(tt *testing.T) { +func TestUser_GetBlog(tt *testing.T) { tt.Parallel() - p := &PremiumRequestUsageItem{} - p.GetNetAmount() - p = nil - p.GetNetAmount() + var zeroValue string + u := &User{Blog: &zeroValue} + u.GetBlog() + u = &User{} + u.GetBlog() + u = nil + u.GetBlog() } -func TestPremiumRequestUsageItem_GetNetQuantity(tt *testing.T) { +func TestUser_GetBusinessPlus(tt *testing.T) { tt.Parallel() - p := &PremiumRequestUsageItem{} - p.GetNetQuantity() - p = nil - p.GetNetQuantity() + var zeroValue bool + u := &User{BusinessPlus: &zeroValue} + u.GetBusinessPlus() + u = &User{} + u.GetBusinessPlus() + u = nil + u.GetBusinessPlus() } -func TestPremiumRequestUsageItem_GetPricePerUnit(tt *testing.T) { +func TestUser_GetCollaborators(tt *testing.T) { tt.Parallel() - p := &PremiumRequestUsageItem{} - p.GetPricePerUnit() - p = nil - p.GetPricePerUnit() + var zeroValue int + u := &User{Collaborators: &zeroValue} + u.GetCollaborators() + u = &User{} + u.GetCollaborators() + u = nil + u.GetCollaborators() } -func TestPremiumRequestUsageItem_GetProduct(tt *testing.T) { +func TestUser_GetCompany(tt *testing.T) { tt.Parallel() - p := &PremiumRequestUsageItem{} - p.GetProduct() - p = nil - p.GetProduct() + var zeroValue string + u := &User{Company: &zeroValue} + u.GetCompany() + u = &User{} + u.GetCompany() + u = nil + u.GetCompany() } -func TestPremiumRequestUsageItem_GetSKU(tt *testing.T) { +func TestUser_GetCreatedAt(tt *testing.T) { tt.Parallel() - p := &PremiumRequestUsageItem{} - p.GetSKU() - p = nil - p.GetSKU() + var zeroValue Timestamp + u := &User{CreatedAt: &zeroValue} + u.GetCreatedAt() + u = &User{} + u.GetCreatedAt() + u = nil + u.GetCreatedAt() } -func TestPremiumRequestUsageItem_GetUnitType(tt *testing.T) { +func TestUser_GetDiskUsage(tt *testing.T) { tt.Parallel() - p := &PremiumRequestUsageItem{} - p.GetUnitType() - p = nil - p.GetUnitType() + var zeroValue int + u := &User{DiskUsage: &zeroValue} + u.GetDiskUsage() + u = &User{} + u.GetDiskUsage() + u = nil + u.GetDiskUsage() } -func TestPremiumRequestUsageReport_GetModel(tt *testing.T) { +func TestUser_GetEmail(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PremiumRequestUsageReport{Model: &zeroValue} - p.GetModel() - p = &PremiumRequestUsageReport{} - p.GetModel() - p = nil - p.GetModel() + u := &User{Email: &zeroValue} + u.GetEmail() + u = &User{} + u.GetEmail() + u = nil + u.GetEmail() } -func TestPremiumRequestUsageReport_GetOrganization(tt *testing.T) { +func TestUser_GetEventsURL(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PremiumRequestUsageReport{Organization: &zeroValue} - p.GetOrganization() - p = &PremiumRequestUsageReport{} - p.GetOrganization() - p = nil - p.GetOrganization() + u := &User{EventsURL: &zeroValue} + u.GetEventsURL() + u = &User{} + u.GetEventsURL() + u = nil + u.GetEventsURL() } -func TestPremiumRequestUsageReport_GetProduct(tt *testing.T) { +func TestUser_GetFollowers(tt *testing.T) { + tt.Parallel() + var zeroValue int + u := &User{Followers: &zeroValue} + u.GetFollowers() + u = &User{} + u.GetFollowers() + u = nil + u.GetFollowers() +} + +func TestUser_GetFollowersURL(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PremiumRequestUsageReport{Product: &zeroValue} - p.GetProduct() - p = &PremiumRequestUsageReport{} - p.GetProduct() - p = nil - p.GetProduct() + u := &User{FollowersURL: &zeroValue} + u.GetFollowersURL() + u = &User{} + u.GetFollowersURL() + u = nil + u.GetFollowersURL() } -func TestPremiumRequestUsageReport_GetTimePeriod(tt *testing.T) { +func TestUser_GetFollowing(tt *testing.T) { tt.Parallel() - p := &PremiumRequestUsageReport{} - p.GetTimePeriod() - p = nil - p.GetTimePeriod() + var zeroValue int + u := &User{Following: &zeroValue} + u.GetFollowing() + u = &User{} + u.GetFollowing() + u = nil + u.GetFollowing() } -func TestPremiumRequestUsageReport_GetUsageItems(tt *testing.T) { +func TestUser_GetFollowingURL(tt *testing.T) { tt.Parallel() - zeroValue := []*PremiumRequestUsageItem{} - p := &PremiumRequestUsageReport{UsageItems: zeroValue} - p.GetUsageItems() - p = &PremiumRequestUsageReport{} - p.GetUsageItems() - p = nil - p.GetUsageItems() + var zeroValue string + u := &User{FollowingURL: &zeroValue} + u.GetFollowingURL() + u = &User{} + u.GetFollowingURL() + u = nil + u.GetFollowingURL() +} + +func TestUser_GetGistsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + u := &User{GistsURL: &zeroValue} + u.GetGistsURL() + u = &User{} + u.GetGistsURL() + u = nil + u.GetGistsURL() } -func TestPremiumRequestUsageReport_GetUser(tt *testing.T) { +func TestUser_GetGravatarID(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PremiumRequestUsageReport{User: &zeroValue} - p.GetUser() - p = &PremiumRequestUsageReport{} - p.GetUser() - p = nil - p.GetUser() + u := &User{GravatarID: &zeroValue} + u.GetGravatarID() + u = &User{} + u.GetGravatarID() + u = nil + u.GetGravatarID() } -func TestPremiumRequestUsageReportOptions_GetDay(tt *testing.T) { +func TestUser_GetHireable(tt *testing.T) { tt.Parallel() - var zeroValue int - p := &PremiumRequestUsageReportOptions{Day: &zeroValue} - p.GetDay() - p = &PremiumRequestUsageReportOptions{} - p.GetDay() - p = nil - p.GetDay() + var zeroValue bool + u := &User{Hireable: &zeroValue} + u.GetHireable() + u = &User{} + u.GetHireable() + u = nil + u.GetHireable() } -func TestPremiumRequestUsageReportOptions_GetModel(tt *testing.T) { +func TestUser_GetHTMLURL(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PremiumRequestUsageReportOptions{Model: &zeroValue} - p.GetModel() - p = &PremiumRequestUsageReportOptions{} - p.GetModel() - p = nil - p.GetModel() + u := &User{HTMLURL: &zeroValue} + u.GetHTMLURL() + u = &User{} + u.GetHTMLURL() + u = nil + u.GetHTMLURL() } -func TestPremiumRequestUsageReportOptions_GetMonth(tt *testing.T) { +func TestUser_GetID(tt *testing.T) { tt.Parallel() - var zeroValue int - p := &PremiumRequestUsageReportOptions{Month: &zeroValue} - p.GetMonth() - p = &PremiumRequestUsageReportOptions{} - p.GetMonth() - p = nil - p.GetMonth() + var zeroValue int64 + u := &User{ID: &zeroValue} + u.GetID() + u = &User{} + u.GetID() + u = nil + u.GetID() } -func TestPremiumRequestUsageReportOptions_GetProduct(tt *testing.T) { +func TestUser_GetInherited(tt *testing.T) { tt.Parallel() - var zeroValue string - p := &PremiumRequestUsageReportOptions{Product: &zeroValue} - p.GetProduct() - p = &PremiumRequestUsageReportOptions{} - p.GetProduct() - p = nil - p.GetProduct() + var zeroValue bool + u := &User{Inherited: &zeroValue} + u.GetInherited() + u = &User{} + u.GetInherited() + u = nil + u.GetInherited() } -func TestPremiumRequestUsageReportOptions_GetUser(tt *testing.T) { +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 - p := &PremiumRequestUsageReportOptions{User: &zeroValue} - p.GetUser() - p = &PremiumRequestUsageReportOptions{} - p.GetUser() - p = nil - p.GetUser() + u := &User{LdapDn: &zeroValue} + u.GetLdapDn() + u = &User{} + u.GetLdapDn() + u = nil + u.GetLdapDn() } -func TestPremiumRequestUsageReportOptions_GetYear(tt *testing.T) { +func TestUser_GetLocation(tt *testing.T) { tt.Parallel() - var zeroValue int - p := &PremiumRequestUsageReportOptions{Year: &zeroValue} - p.GetYear() - p = &PremiumRequestUsageReportOptions{} - p.GetYear() - p = nil - p.GetYear() + var zeroValue string + u := &User{Location: &zeroValue} + u.GetLocation() + u = &User{} + u.GetLocation() + u = nil + u.GetLocation() } -func TestPremiumRequestUsageTimePeriod_GetDay(tt *testing.T) { +func TestUser_GetLogin(tt *testing.T) { tt.Parallel() - var zeroValue int - p := &PremiumRequestUsageTimePeriod{Day: &zeroValue} - p.GetDay() - p = &PremiumRequestUsageTimePeriod{} - p.GetDay() - p = nil - p.GetDay() + var zeroValue string + u := &User{Login: &zeroValue} + u.GetLogin() + u = &User{} + u.GetLogin() + u = nil + u.GetLogin() } -func TestPremiumRequestUsageTimePeriod_GetMonth(tt *testing.T) { +func TestUser_GetName(tt *testing.T) { tt.Parallel() - var zeroValue int - p := &PremiumRequestUsageTimePeriod{Month: &zeroValue} - p.GetMonth() - p = &PremiumRequestUsageTimePeriod{} - p.GetMonth() - p = nil - p.GetMonth() + var zeroValue string + u := &User{Name: &zeroValue} + u.GetName() + u = &User{} + u.GetName() + u = nil + u.GetName() } -func TestPremiumRequestUsageTimePeriod_GetYear(tt *testing.T) { +func TestUser_GetNodeID(tt *testing.T) { tt.Parallel() - p := &PremiumRequestUsageTimePeriod{} - p.GetYear() - p = nil - p.GetYear() + var zeroValue string + u := &User{NodeID: &zeroValue} + u.GetNodeID() + u = &User{} + u.GetNodeID() + u = nil + u.GetNodeID() } -func TestPreReceiveHook_GetConfigURL(tt *testing.T) { +func TestUser_GetNotificationEmail(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PreReceiveHook{ConfigURL: &zeroValue} - p.GetConfigURL() - p = &PreReceiveHook{} - p.GetConfigURL() - p = nil - p.GetConfigURL() + u := &User{NotificationEmail: &zeroValue} + u.GetNotificationEmail() + u = &User{} + u.GetNotificationEmail() + u = nil + u.GetNotificationEmail() } -func TestPreReceiveHook_GetEnforcement(tt *testing.T) { +func TestUser_GetOrganizationsURL(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PreReceiveHook{Enforcement: &zeroValue} - p.GetEnforcement() - p = &PreReceiveHook{} - p.GetEnforcement() - p = nil - p.GetEnforcement() + u := &User{OrganizationsURL: &zeroValue} + u.GetOrganizationsURL() + u = &User{} + u.GetOrganizationsURL() + u = nil + u.GetOrganizationsURL() } -func TestPreReceiveHook_GetID(tt *testing.T) { +func TestUser_GetOwnedPrivateRepos(tt *testing.T) { tt.Parallel() var zeroValue int64 - p := &PreReceiveHook{ID: &zeroValue} - p.GetID() - p = &PreReceiveHook{} - p.GetID() - p = nil - p.GetID() + u := &User{OwnedPrivateRepos: &zeroValue} + u.GetOwnedPrivateRepos() + u = &User{} + u.GetOwnedPrivateRepos() + u = nil + u.GetOwnedPrivateRepos() } -func TestPreReceiveHook_GetName(tt *testing.T) { +func TestUser_GetPermissions(tt *testing.T) { tt.Parallel() - var zeroValue string - p := &PreReceiveHook{Name: &zeroValue} - p.GetName() - p = &PreReceiveHook{} - p.GetName() - p = nil - p.GetName() + u := &User{} + u.GetPermissions() + u = nil + u.GetPermissions() } -func TestPrivateRegistries_GetConfigurations(tt *testing.T) { +func TestUser_GetPlan(tt *testing.T) { tt.Parallel() - zeroValue := []*PrivateRegistry{} - p := &PrivateRegistries{Configurations: zeroValue} - p.GetConfigurations() - p = &PrivateRegistries{} - p.GetConfigurations() - p = nil - p.GetConfigurations() + u := &User{} + u.GetPlan() + u = nil + u.GetPlan() } -func TestPrivateRegistries_GetTotalCount(tt *testing.T) { +func TestUser_GetPrivateGists(tt *testing.T) { tt.Parallel() var zeroValue int - p := &PrivateRegistries{TotalCount: &zeroValue} - p.GetTotalCount() - p = &PrivateRegistries{} - p.GetTotalCount() - p = nil - p.GetTotalCount() + u := &User{PrivateGists: &zeroValue} + u.GetPrivateGists() + u = &User{} + u.GetPrivateGists() + u = nil + u.GetPrivateGists() } -func TestPrivateRegistry_GetAccountID(tt *testing.T) { +func TestUser_GetPublicGists(tt *testing.T) { tt.Parallel() - var zeroValue string - p := &PrivateRegistry{AccountID: &zeroValue} - p.GetAccountID() - p = &PrivateRegistry{} - p.GetAccountID() - p = nil - p.GetAccountID() + var zeroValue int + u := &User{PublicGists: &zeroValue} + u.GetPublicGists() + u = &User{} + u.GetPublicGists() + u = nil + u.GetPublicGists() } -func TestPrivateRegistry_GetAudience(tt *testing.T) { +func TestUser_GetPublicRepos(tt *testing.T) { + tt.Parallel() + var zeroValue int + u := &User{PublicRepos: &zeroValue} + u.GetPublicRepos() + u = &User{} + u.GetPublicRepos() + u = nil + u.GetPublicRepos() +} + +func TestUser_GetReceivedEventsURL(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PrivateRegistry{Audience: &zeroValue} - p.GetAudience() - p = &PrivateRegistry{} - p.GetAudience() - p = nil - p.GetAudience() + u := &User{ReceivedEventsURL: &zeroValue} + u.GetReceivedEventsURL() + u = &User{} + u.GetReceivedEventsURL() + u = nil + u.GetReceivedEventsURL() } -func TestPrivateRegistry_GetAuthType(tt *testing.T) { +func TestUser_GetReposURL(tt *testing.T) { tt.Parallel() - p := &PrivateRegistry{} - p.GetAuthType() - p = nil - p.GetAuthType() + var zeroValue string + u := &User{ReposURL: &zeroValue} + u.GetReposURL() + u = &User{} + u.GetReposURL() + u = nil + u.GetReposURL() } -func TestPrivateRegistry_GetAWSRegion(tt *testing.T) { +func TestUser_GetRole(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PrivateRegistry{AWSRegion: &zeroValue} - p.GetAWSRegion() - p = &PrivateRegistry{} - p.GetAWSRegion() - p = nil - p.GetAWSRegion() + u := &User{Role: &zeroValue} + u.GetRole() + u = &User{} + u.GetRole() + u = nil + u.GetRole() } -func TestPrivateRegistry_GetClientID(tt *testing.T) { +func TestUser_GetRoleName(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PrivateRegistry{ClientID: &zeroValue} - p.GetClientID() - p = &PrivateRegistry{} - p.GetClientID() - p = nil - p.GetClientID() + u := &User{RoleName: &zeroValue} + u.GetRoleName() + u = &User{} + u.GetRoleName() + u = nil + u.GetRoleName() } -func TestPrivateRegistry_GetCreatedAt(tt *testing.T) { +func TestUser_GetSiteAdmin(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - p := &PrivateRegistry{CreatedAt: &zeroValue} - p.GetCreatedAt() - p = &PrivateRegistry{} - p.GetCreatedAt() - p = nil - p.GetCreatedAt() + var zeroValue bool + u := &User{SiteAdmin: &zeroValue} + u.GetSiteAdmin() + u = &User{} + u.GetSiteAdmin() + u = nil + u.GetSiteAdmin() } -func TestPrivateRegistry_GetDomain(tt *testing.T) { +func TestUser_GetStarredURL(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PrivateRegistry{Domain: &zeroValue} - p.GetDomain() - p = &PrivateRegistry{} - p.GetDomain() - p = nil - p.GetDomain() + u := &User{StarredURL: &zeroValue} + u.GetStarredURL() + u = &User{} + u.GetStarredURL() + u = nil + u.GetStarredURL() } -func TestPrivateRegistry_GetDomainOwner(tt *testing.T) { +func TestUser_GetSubscriptionsURL(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PrivateRegistry{DomainOwner: &zeroValue} - p.GetDomainOwner() - p = &PrivateRegistry{} - p.GetDomainOwner() - p = nil - p.GetDomainOwner() + u := &User{SubscriptionsURL: &zeroValue} + u.GetSubscriptionsURL() + u = &User{} + u.GetSubscriptionsURL() + u = nil + u.GetSubscriptionsURL() } -func TestPrivateRegistry_GetIdentityMappingName(tt *testing.T) { +func TestUser_GetSuspendedAt(tt *testing.T) { tt.Parallel() - var zeroValue string - p := &PrivateRegistry{IdentityMappingName: &zeroValue} - p.GetIdentityMappingName() - p = &PrivateRegistry{} - p.GetIdentityMappingName() - p = nil - p.GetIdentityMappingName() + var zeroValue Timestamp + u := &User{SuspendedAt: &zeroValue} + u.GetSuspendedAt() + u = &User{} + u.GetSuspendedAt() + u = nil + u.GetSuspendedAt() } -func TestPrivateRegistry_GetJFrogOIDCProviderName(tt *testing.T) { +func TestUser_GetTextMatches(tt *testing.T) { tt.Parallel() - var zeroValue string - p := &PrivateRegistry{JFrogOIDCProviderName: &zeroValue} - p.GetJFrogOIDCProviderName() - p = &PrivateRegistry{} - p.GetJFrogOIDCProviderName() - p = nil - p.GetJFrogOIDCProviderName() + zeroValue := []*TextMatch{} + u := &User{TextMatches: zeroValue} + u.GetTextMatches() + u = &User{} + u.GetTextMatches() + u = nil + u.GetTextMatches() } -func TestPrivateRegistry_GetName(tt *testing.T) { +func TestUser_GetTotalPrivateRepos(tt *testing.T) { tt.Parallel() - var zeroValue string - p := &PrivateRegistry{Name: &zeroValue} - p.GetName() - p = &PrivateRegistry{} - p.GetName() - p = nil - p.GetName() + var zeroValue int64 + u := &User{TotalPrivateRepos: &zeroValue} + u.GetTotalPrivateRepos() + u = &User{} + u.GetTotalPrivateRepos() + u = nil + u.GetTotalPrivateRepos() } -func TestPrivateRegistry_GetRegistryType(tt *testing.T) { +func TestUser_GetTwitterUsername(tt *testing.T) { tt.Parallel() - p := &PrivateRegistry{} - p.GetRegistryType() - p = nil - p.GetRegistryType() + var zeroValue string + u := &User{TwitterUsername: &zeroValue} + u.GetTwitterUsername() + u = &User{} + u.GetTwitterUsername() + u = nil + u.GetTwitterUsername() } -func TestPrivateRegistry_GetReplacesBase(tt *testing.T) { +func TestUser_GetTwoFactorAuthentication(tt *testing.T) { tt.Parallel() var zeroValue bool - p := &PrivateRegistry{ReplacesBase: &zeroValue} - p.GetReplacesBase() - p = &PrivateRegistry{} - p.GetReplacesBase() - p = nil - p.GetReplacesBase() + u := &User{TwoFactorAuthentication: &zeroValue} + u.GetTwoFactorAuthentication() + u = &User{} + u.GetTwoFactorAuthentication() + u = nil + u.GetTwoFactorAuthentication() } -func TestPrivateRegistry_GetRoleName(tt *testing.T) { +func TestUser_GetType(tt *testing.T) { tt.Parallel() var zeroValue string - p := &PrivateRegistry{RoleName: &zeroValue} - p.GetRoleName() - p = &PrivateRegistry{} - p.GetRoleName() - p = nil - p.GetRoleName() + u := &User{Type: &zeroValue} + u.GetType() + u = &User{} + u.GetType() + u = nil + u.GetType() } -func TestPrivateRegistry_GetSelectedRepositoryIDs(tt *testing.T) { +func TestUser_GetUpdatedAt(tt *testing.T) { tt.Parallel() - zeroValue := []int64{} - p := &PrivateRegistry{SelectedRepositoryIDs: zeroValue} - p.GetSelectedRepositoryIDs() - p = &PrivateRegistry{} - p.GetSelectedRepositoryIDs() - p = nil - p.GetSelectedRepositoryIDs() + var zeroValue Timestamp + u := &User{UpdatedAt: &zeroValue} + u.GetUpdatedAt() + u = &User{} + u.GetUpdatedAt() + u = nil + u.GetUpdatedAt() } -func TestPrivateRegistry_GetTenantID(tt *testing.T) { - tt.Parallel() - var zeroValue string - p := &PrivateRegistry{TenantID: &zeroValue} - p.GetTenantID() - p = &PrivateRegistry{} - p.GetTenantID() - p = nil - p.GetTenantID() +func TestUser_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + u := &User{URL: &zeroValue} + u.GetURL() + u = &User{} + u.GetURL() + u = nil + u.GetURL() } -func TestPrivateRegistry_GetUpdatedAt(tt *testing.T) { +func TestUser_GetUserViewType(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - p := &PrivateRegistry{UpdatedAt: &zeroValue} - p.GetUpdatedAt() - p = &PrivateRegistry{} - p.GetUpdatedAt() - p = nil - p.GetUpdatedAt() -} r = nil - r.GetAffectedRange() + var zeroValue string + u := &User{UserViewType: &zeroValue} + u.GetUserViewType() + u = &User{} + u.GetUserViewType() + u = nil + u.GetUserViewType() } -func TestRepositoryVulnerabilityAlert_GetCreatedAt(tt *testing.T) { +func TestUserAuthorization_GetApp(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - r := &RepositoryVulnerabilityAlert{CreatedAt: &zeroValue} - r.GetCreatedAt() - r = &RepositoryVulnerabilityAlert{} - r.GetCreatedAt() - r = nil - r.GetCreatedAt() + u := &UserAuthorization{} + u.GetApp() + u = nil + u.GetApp() } -func TestRepositoryVulnerabilityAlert_GetDismissedAt(tt *testing.T) { +func TestUserAuthorization_GetCreatedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp - r := &RepositoryVulnerabilityAlert{DismissedAt: &zeroValue} - r.GetDismissedAt() - r = &RepositoryVulnerabilityAlert{} - r.GetDismissedAt() - r = nil - r.GetDismissedAt() + u := &UserAuthorization{CreatedAt: &zeroValue} + u.GetCreatedAt() + u = &UserAuthorization{} + u.GetCreatedAt() + u = nil + u.GetCreatedAt() } -func TestRepositoryVulnerabilityAlert_GetDismisser(tt *testing.T) { +func TestUserAuthorization_GetFingerprint(tt *testing.T) { tt.Parallel() - r := &RepositoryVulnerabilityAlert{} - r.GetDismisser() - r = nil - r.GetDismisser() + var zeroValue string + u := &UserAuthorization{Fingerprint: &zeroValue} + u.GetFingerprint() + u = &UserAuthorization{} + u.GetFingerprint() + u = nil + u.GetFingerprint() } -func TestRepositoryVulnerabilityAlert_GetDismissReason(tt *testing.T) { +func TestUserAuthorization_GetHashedToken(tt *testing.T) { tt.Parallel() var zeroValue string - r := &RepositoryVulnerabilityAlert{DismissReason: &zeroValue} - r.GetDismissReason() - r = &RepositoryVulnerabilityAlert{} - r.GetDismissReason() - r = nil - r.GetDismissReason() + u := &UserAuthorization{HashedToken: &zeroValue} + u.GetHashedToken() + u = &UserAuthorization{} + u.GetHashedToken() + u = nil + u.GetHashedToken() } -func TestRepositoryVulnerabilityAlert_GetExternalIdentifier(tt *testing.T) { +func TestUserAuthorization_GetID(tt *testing.T) { tt.Parallel() - var zeroValue string - r := &RepositoryVulnerabilityAlert{ExternalIdentifier: &zeroValue} - r.GetExternalIdentifier() - r = &RepositoryVulnerabilityAlert{} - r.GetExternalIdentifier() - r = nil - r.GetExternalIdentifier() + var zeroValue int64 + u := &UserAuthorization{ID: &zeroValue} + u.GetID() + u = &UserAuthorization{} + u.GetID() + u = nil + u.GetID() } -func TestRepositoryVulnerabilityAlert_GetExternalReference(tt *testing.T) { +func TestUserAuthorization_GetNote(tt *testing.T) { tt.Parallel() var zeroValue string - r := &RepositoryVulnerabilityAlert{ExternalReference: &zeroValue} - r.GetExternalReference() - r = &RepositoryVulnerabilityAlert{} - r.GetExternalReference() - r = nil - r.GetExternalReference() + u := &UserAuthorization{Note: &zeroValue} + u.GetNote() + u = &UserAuthorization{} + u.GetNote() + u = nil + u.GetNote() } -func TestRepositoryVulnerabilityAlert_GetFixedIn(tt *testing.T) { +func TestUserAuthorization_GetNoteURL(tt *testing.T) { tt.Parallel() var zeroValue string - r := &RepositoryVulnerabilityAlert{FixedIn: &zeroValue} - r.GetFixedIn() - r = &RepositoryVulnerabilityAlert{} - r.GetFixedIn() - r = nil - r.GetFixedIn() + u := &UserAuthorization{NoteURL: &zeroValue} + u.GetNoteURL() + u = &UserAuthorization{} + u.GetNoteURL() + u = nil + u.GetNoteURL() } -func TestRepositoryVulnerabilityAlert_GetGitHubSecurityAdvisoryID(tt *testing.T) { +func TestUserAuthorization_GetScopes(tt *testing.T) { tt.Parallel() - var zeroValue string - r := &RepositoryVulnerabilityAlert{GitHubSecurityAdvisoryID: &zeroValue} - r.GetGitHubSecurityAdvisoryID() - r = &RepositoryVulnerabilityAlert{} - r.GetGitHubSecurityAdvisoryID() - r = nil - r.GetGitHubSecurityAdvisoryID() + zeroValue := []string{} + u := &UserAuthorization{Scopes: zeroValue} + u.GetScopes() + u = &UserAuthorization{} + u.GetScopes() + u = nil + u.GetScopes() } -func TestRepositoryVulnerabilityAlert_GetID(tt *testing.T) { +func TestUserAuthorization_GetToken(tt *testing.T) { tt.Parallel() - var zeroValue int64 - r := &RepositoryVulnerabilityAlert{ID: &zeroValue} - r.GetID() - r = &RepositoryVulnerabilityAlert{} - r.GetID() - r = nil - r.GetID() + var zeroValue string + u := &UserAuthorization{Token: &zeroValue} + u.GetToken() + u = &UserAuthorization{} + u.GetToken() + u = nil + u.GetToken() } -func TestRepositoryVulnerabilityAlert_GetSeverity(tt *testing.T) { +func TestUserAuthorization_GetTokenLastEight(tt *testing.T) { tt.Parallel() var zeroValue string - r := &RepositoryVulnerabilityAlert{Severity: &zeroValue} - r.GetSeverity() - r = &RepositoryVulnerabilityAlert{} - r.GetSeverity() - r = nil - r.GetSeverity() + u := &UserAuthorization{TokenLastEight: &zeroValue} + u.GetTokenLastEight() + u = &UserAuthorization{} + u.GetTokenLastEight() + u = nil + u.GetTokenLastEight() } -func TestRepositoryVulnerabilityAlertEvent_GetAction(tt *testing.T) { +func TestUserAuthorization_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + u := &UserAuthorization{UpdatedAt: &zeroValue} + u.GetUpdatedAt() + u = &UserAuthorization{} + u.GetUpdatedAt() + u = nil + u.GetUpdatedAt() +} + +func TestUserAuthorization_GetURL(tt *testing.T) { tt.Parallel() var zeroValue string - r := &RepositoryVulnerabilityAlertEvent{Action: &zeroValue} - r.GetAction() - r = &RepositoryVulnerabilityAlertEvent{} - r.GetAction() - r = nil - r.GetAction() + u := &UserAuthorization{URL: &zeroValue} + u.GetURL() + u = &UserAuthorization{} + u.GetURL() + u = nil + u.GetURL() } -func TestRepositoryVulnerabilityAlertEvent_GetAlert(tt *testing.T) { +func TestUserContext_GetMessage(tt *testing.T) { tt.Parallel() - r := &RepositoryVulnerabilityAlertEvent{} - r.GetAlert() - r = nil - r.GetAlert() + var zeroValue string + u := &UserContext{Message: &zeroValue} + u.GetMessage() + u = &UserContext{} + u.GetMessage() + u = nil + u.GetMessage() } -func TestRepositoryVulnerabilityAlertEvent_GetInstallation(tt *testing.T) { +func TestUserContext_GetOcticon(tt *testing.T) { tt.Parallel() - r := &RepositoryVulnerabilityAlertEvent{} - r.GetInstallation() - r = nil - r.GetInstallation() + var zeroValue string + u := &UserContext{Octicon: &zeroValue} + u.GetOcticon() + u = &UserContext{} + u.GetOcticon() + u = nil + u.GetOcticon() } -func TestRepositoryVulnerabilityAlertEvent_GetOrg(tt *testing.T) { +func TestUserEmail_GetEmail(tt *testing.T) { tt.Parallel() - r := &RepositoryVulnerabilityAlertEvent{} - r.GetOrg() - r = nil - r.GetOrg() + var zeroValue string + u := &UserEmail{Email: &zeroValue} + u.GetEmail() + u = &UserEmail{} + u.GetEmail() + u = nil + u.GetEmail() } -func TestRepositoryVulnerabilityAlertEvent_GetRepository(tt *testing.T) { +func TestUserEmail_GetPrimary(tt *testing.T) { tt.Parallel() - r := &RepositoryVulnerabilityAlertEvent{} - r.GetRepository() - r = nil - r.GetRepository() + var zeroValue bool + u := &UserEmail{Primary: &zeroValue} + u.GetPrimary() + u = &UserEmail{} + u.GetPrimary() + u = nil + u.GetPrimary() } -func TestRepositoryVulnerabilityAlertEvent_GetSender(tt *testing.T) { +func TestUserEmail_GetVerified(tt *testing.T) { tt.Parallel() - r := &RepositoryVulnerabilityAlertEvent{} - r.GetSender() - r = nil - r.GetSender() + var zeroValue bool + u := &UserEmail{Verified: &zeroValue} + u.GetVerified() + u = &UserEmail{} + u.GetVerified() + u = nil + u.GetVerified() } -func TestRepoStats_GetForkRepos(tt *testing.T) { +func TestUserEmail_GetVisibility(tt *testing.T) { tt.Parallel() - var zeroValue int - r := &RepoStats{ForkRepos: &zeroValue} - r.GetForkRepos() - r = &RepoStats{} - r.GetForkRepos() - r = nil - r.GetForkRepos() + var zeroValue string + u := &UserEmail{Visibility: &zeroValue} + u.GetVisibility() + u = &UserEmail{} + u.GetVisibility() + u = nil + u.GetVisibility() } -func TestRepoStats_GetOrgRepos(tt *testing.T) { +func TestUserEvent_GetAction(tt *testing.T) { tt.Parallel() - var zeroValue int - r := &RepoStats{OrgRepos: &zeroValue} - r.GetOrgRepos() - r = &RepoStats{} - r.GetOrgRepos() - r = nil - r.GetOrgRepos() + var zeroValue string + u := &UserEvent{Action: &zeroValue} + u.GetAction() + u = &UserEvent{} + u.GetAction() + u = nil + u.GetAction() } -func TestRepoStats_GetRootRepos(tt *testing.T) { +func TestUserEvent_GetEnterprise(tt *testing.T) { tt.Parallel() - var zeroValue int - r := &RepoStats{RootRepos: &zeroValue} - r.GetRootRepos() - r = &RepoStats{} - r.GetRootRepos() - r = nil - r.GetRootRepos() + u := &UserEvent{} + u.GetEnterprise() + u = nil + u.GetEnterprise() } -func TestRepoStats_GetTotalPushes(tt *testing.T) { +func TestUserEvent_GetInstallation(tt *testing.T) { tt.Parallel() - var zeroValue int - r := &RepoStats{TotalPushes: &zeroValue} - r.GetTotalPushes() - r = &RepoStats{} - r.GetTotalPushes() - r = nil - r.GetTotalPushes() + u := &UserEvent{} + u.GetInstallation() + u = nil + u.GetInstallation() } -func TestRepoStats_GetTotalRepos(tt *testing.T) { +func TestUserEvent_GetSender(tt *testing.T) { tt.Parallel() - var zeroValue int - r := &RepoStats{TotalRepos: &zeroValue} - r.GetTotalRepos() - r = &RepoStats{} - r.GetTotalRepos() - r = nil - r.GetTotalRepos() + u := &UserEvent{} + u.GetSender() + u = nil + u.GetSender() } -func TestRepoStats_GetTotalWikis(tt *testing.T) { +func TestUserEvent_GetUser(tt *testing.T) { tt.Parallel() - var zeroValue int - r := &RepoStats{TotalWikis: &zeroValue} - r.GetTotalWikis() - r = &RepoStats{} - r.GetTotalWikis() - r = nil - r.GetTotalWikis() + u := &UserEvent{} + u.GetUser() + u = nil + u.GetUser() } -func TestRepoStatus_GetAvatarURL(tt *testing.T) { +func TestUserLDAPMapping_GetAvatarURL(tt *testing.T) { tt.Parallel() var zeroValue string - r := &RepoStatus{AvatarURL: &zeroValue} - r.GetAvatarURL() - r = &RepoStatus{} - r.GetAvatarURL() - r = nil - r.GetAvatarURL() + u := &UserLDAPMapping{AvatarURL: &zeroValue} + u.GetAvatarURL() + u = &UserLDAPMapping{} + u.GetAvatarURL() + u = nil + u.GetAvatarURL() } -func TestRepoStatus_GetContext(tt *testing.T) { +func TestUserLDAPMapping_GetEventsURL(tt *testing.T) { tt.Parallel() var zeroValue string - r := &RepoStatus{Context: &zeroValue} - r.GetContext() - r = &RepoStatus{} - r.GetContext() - r = nil - r.GetContext() + u := &UserLDAPMapping{EventsURL: &zeroValue} + u.GetEventsURL() + u = &UserLDAPMapping{} + u.GetEventsURL() + u = nil + u.GetEventsURL() } -func TestRepoStatus_GetCreatedAt(tt *testing.T) { +func TestUserLDAPMapping_GetFollowersURL(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - r := &RepoStatus{CreatedAt: &zeroValue} - r.GetCreatedAt() - r = &RepoStatus{} - r.GetCreatedAt() - r = nil - r.GetCreatedAt() + var zeroValue string + u := &UserLDAPMapping{FollowersURL: &zeroValue} + u.GetFollowersURL() + u = &UserLDAPMapping{} + u.GetFollowersURL() + u = nil + u.GetFollowersURL() } -func TestRepoStatus_GetCreator(tt *testing.T) { +func TestUserLDAPMapping_GetFollowingURL(tt *testing.T) { tt.Parallel() - r := &RepoStatus{} - r.GetCreator() - r = nil - r.GetCreator() + var zeroValue string + u := &UserLDAPMapping{FollowingURL: &zeroValue} + u.GetFollowingURL() + u = &UserLDAPMapping{} + u.GetFollowingURL() + u = nil + u.GetFollowingURL() } -func TestRepoStatus_GetDescription(tt *testing.T) { +func TestUserLDAPMapping_GetGistsURL(tt *testing.T) { tt.Parallel() var zeroValue string - r := &RepoStatus{Description: &zeroValue} - r.GetDescription() - r = &RepoStatus{} - r.GetDescription() - r = nil - r.GetDescription() + u := &UserLDAPMapping{GistsURL: &zeroValue} + u.GetGistsURL() + u = &UserLDAPMapping{} + u.GetGistsURL() + u = nil + u.GetGistsURL() } -func TestRepoStatus_GetID(tt *testing.T) { +func TestUserLDAPMapping_GetGravatarID(tt *testing.T) { tt.Parallel() - var zeroValue int64 - r := &RepoStatus{ID: &zeroValue} - r.GetID() - r = &RepoStatus{} - r.GetID() - r = nil - r.GetID() + var zeroValue string + u := &UserLDAPMapping{GravatarID: &zeroValue} + u.GetGravatarID() + u = &UserLDAPMapping{} + u.GetGravatarID() + u = nil + u.GetGravatarID() } -func TestRepoStatus_GetNodeID(tt *testing.T) { +func TestUserLDAPMapping_GetID(tt *testing.T) { tt.Parallel() - var zeroValue string - r := &RepoStatus{NodeID: &zeroValue} - r.GetNodeID() - r = &RepoStatus{} - r.GetNodeID() - r = nil - r.GetNodeID() + var zeroValue int64 + u := &UserLDAPMapping{ID: &zeroValue} + u.GetID() + u = &UserLDAPMapping{} + u.GetID() + u = nil + u.GetID() } -func TestRepoStatus_GetState(tt *testing.T) { +func TestUserLDAPMapping_GetLDAPDN(tt *testing.T) { tt.Parallel() var zeroValue string - r := &RepoStatus{State: &zeroValue} - r.GetState() - r = &RepoStatus{} - r.GetState() - r = nil - r.GetState() + u := &UserLDAPMapping{LDAPDN: &zeroValue} + u.GetLDAPDN() + u = &UserLDAPMapping{} + u.GetLDAPDN() + u = nil + u.GetLDAPDN() } -func TestRepoStatus_GetTargetURL(tt *testing.T) { +func TestUserLDAPMapping_GetLogin(tt *testing.T) { tt.Parallel() var zeroValue string - r := &RepoStatus{TargetURL: &zeroValue} - r.GetTargetURL() - r = &RepoStatus{} - r.GetTargetURL() - r = nil - r.GetTargetURL() + u := &UserLDAPMapping{Login: &zeroValue} + u.GetLogin() + u = &UserLDAPMapping{} + u.GetLogin() + u = nil + u.GetLogin() } -func TestRepoStatus_GetUpdatedAt(tt *testing.T) { - tt.Parallel() - var zeroValue Timestamp - r := &RepoStatus{UpdatedAt: &zeroValue} - r.GetUpdatedAt() - r = &RepoStatus{} - r.GetUpdatedAt() - r = nil - r.GetUpdatedAt() +func TestUserLDAPMapping_GetOrganizationsURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + u := &UserLDAPMapping{OrganizationsURL: &zeroValue} + u.GetOrganizationsURL() + u = &UserLDAPMapping{} + u.GetOrganizationsURL() + u = nil + u.GetOrganizationsURL() } -func TestRepoStatus_GetURL(tt *testing.T) { +func TestUserLDAPMapping_GetReceivedEventsURL(tt *testing.T) { tt.Parallel() var zeroValue string - r := &RepoStatus{URL: &zeroValue} - r.GetURL() - r = &RepoStatus{} - r.GetURL() - r = nil - r.GetURL() + u := &UserLDAPMapping{ReceivedEventsURL: &zeroValue} + u.GetReceivedEventsURL() + u = &UserLDAPMapping{} + u.GetReceivedEventsURL() + u = nil + u.GetReceivedEventsURL() } -func TestRequestedAction_GetIdentifier(tt *testing.T) { +func TestUserLDAPMapping_GetReposURL(tt *testing.T) { tt.Parallel() - r := &RequestedAction{} - r.GetIdentifier() - r = nil - r.GetIdentifier() + var zeroValue string + u := &UserLDAPMapping{ReposURL: &zeroValue} + u.GetReposURL() + u = &UserLDAPMapping{} + u.GetReposURL() + u = nil + u.GetReposURL() } -func TestRequireCodeOwnerReviewChanges_GetFrom(tt *testing.T) { +func TestUserLDAPMapping_GetSiteAdmin(tt *testing.T) { tt.Parallel() var zeroValue bool - r := &RequireCodeOwnerReviewChanges{From: &zeroValue} - r.GetFrom() - r = &RequireCodeOwnerReviewChanges{} - r.GetFrom() - r = nil - r.GetFrom() + u := &UserLDAPMapping{SiteAdmin: &zeroValue} + u.GetSiteAdmin() + u = &UserLDAPMapping{} + u.GetSiteAdmin() + u = nil + u.GetSiteAdmin() } -func TestRequiredConversationResolution_GetEnabled(tt *testing.T) { +func TestUserLDAPMapping_GetStarredURL(tt *testing.T) { tt.Parallel() - r := &RequiredConversationResolution{} - r.GetEnabled() - r = nil - r.GetEnabled() + var zeroValue string + u := &UserLDAPMapping{StarredURL: &zeroValue} + u.GetStarredURL() + u = &UserLDAPMapping{} + u.GetStarredURL() + u = nil + u.GetStarredURL() } -func TestRequiredConversationResolutionLevelChanges_GetFrom(tt *testing.T) { +func TestUserLDAPMapping_GetSubscriptionsURL(tt *testing.T) { tt.Parallel() var zeroValue string - r := &RequiredConversationResolutionLevelChanges{From: &zeroValue} - r.GetFrom() - r = &RequiredConversationResolutionLevelChanges{} - r.GetFrom() - r = nil - r.GetFrom() + u := &UserLDAPMapping{SubscriptionsURL: &zeroValue} + u.GetSubscriptionsURL() + u = &UserLDAPMapping{} + u.GetSubscriptionsURL() + u = nil + u.GetSubscriptionsURL() } -func TestRequiredDeploymentsBranchRule_GetParameters(tt *testing.T) { +func TestUserLDAPMapping_GetType(tt *testing.T) { tt.Parallel() - r := &RequiredDeploymentsBranchRule{} - r.GetParameters() - r = nil - r.GetParameters() + var zeroValue string + u := &UserLDAPMapping{Type: &zeroValue} + u.GetType() + u = &UserLDAPMapping{} + u.GetType() + u = nil + u.GetType() } -func TestRequiredDeploymentsEnforcementLevelChanges_GetFrom(tt *testing.T) { +func TestUserLDAPMapping_GetURL(tt *testing.T) { tt.Parallel() var zeroValue string - r := &RequiredDeploymentsEnforcementLevelChanges{From: &zeroValue} - r.GetFrom() - r = &RequiredDeploymentsEnforcementLevelChanges{} - r.GetFrom() - r = nil - r.GetFrom() + u := &UserLDAPMapping{URL: &zeroValue} + u.GetURL() + u = &UserLDAPMapping{} + u.GetURL() + u = nil + u.GetURL() } -func TestRequiredDeploymentsRuleParameters_GetRequiredDeploymentEnvironments(tt *testing.T) { +func TestUserListOptions_GetPerPage(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - r := &RequiredDeploymentsRuleParameters{RequiredDeploymentEnvironments: zeroValue} - r.GetRequiredDeploymentEnvironments() - r = &RequiredDeploymentsRuleParameters{} - r.GetRequiredDeploymentEnvironments() - r = nil - r.GetRequiredDeploymentEnvironments() + u := &UserListOptions{} + u.GetPerPage() + u = nil + u.GetPerPage() } -func TestRequiredReviewer_GetReviewer(tt *testing.T) { +func TestUserListOptions_GetSince(tt *testing.T) { tt.Parallel() - r := &RequiredReviewer{} - r.GetReviewer() - r = nil - r.GetReviewer() + u := &UserListOptions{} + u.GetSince() + u = nil + u.GetSince() } -func TestRequiredReviewer_GetType(tt *testing.T) { +func TestUserMigration_GetCreatedAt(tt *testing.T) { tt.Parallel() var zeroValue string - r := &RequiredReviewer{Type: &zeroValue} - r.GetType() - r = &RequiredReviewer{} - r.GetType() - r = nil - r.GetType() + u := &UserMigration{CreatedAt: &zeroValue} + u.GetCreatedAt() + u = &UserMigration{} + u.GetCreatedAt() + u = nil + u.GetCreatedAt() } -func TestRequiredStatusCheck_GetAppID(tt *testing.T) { +func TestUserMigration_GetExcludeAttachments(tt *testing.T) { tt.Parallel() - var zeroValue int64 - r := &RequiredStatusCheck{AppID: &zeroValue} - r.GetAppID() - r = &RequiredStatusCheck{} - r.GetAppID() - r = nil - r.GetAppID() + var zeroValue bool + u := &UserMigration{ExcludeAttachments: &zeroValue} + u.GetExcludeAttachments() + u = &UserMigration{} + u.GetExcludeAttachments() + u = nil + u.GetExcludeAttachments() } -func TestRequiredStatusCheck_GetContext(tt *testing.T) { +func TestUserMigration_GetGUID(tt *testing.T) { tt.Parallel() - r := &RequiredStatusCheck{} - r.GetContext() - r = nil - r.GetContext() + var zeroValue string + u := &UserMigration{GUID: &zeroValue} + u.GetGUID() + u = &UserMigration{} + u.GetGUID() + u = nil + u.GetGUID() } -func TestRequiredStatusChecks_GetChecks(tt *testing.T) { +func TestUserMigration_GetID(tt *testing.T) { tt.Parallel() - var zeroValue []*RequiredStatusCheck - r := &RequiredStatusChecks{Checks: &zeroValue} - r.GetChecks() - r = &RequiredStatusChecks{} - r.GetChecks() - r = nil - r.GetChecks() + var zeroValue int64 + u := &UserMigration{ID: &zeroValue} + u.GetID() + u = &UserMigration{} + u.GetID() + u = nil + u.GetID() } -func TestRequiredStatusChecks_GetContexts(tt *testing.T) { +func TestUserMigration_GetLockRepositories(tt *testing.T) { tt.Parallel() - var zeroValue []string - r := &RequiredStatusChecks{Contexts: &zeroValue} - r.GetContexts() - r = &RequiredStatusChecks{} - r.GetContexts() - r = nil - r.GetContexts() + var zeroValue bool + u := &UserMigration{LockRepositories: &zeroValue} + u.GetLockRepositories() + u = &UserMigration{} + u.GetLockRepositories() + u = nil + u.GetLockRepositories() } -func TestRequiredStatusChecks_GetContextsURL(tt *testing.T) { +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 - r := &RequiredStatusChecks{ContextsURL: &zeroValue} - r.GetContextsURL() - r = &RequiredStatusChecks{} - r.GetContextsURL() - r = nil - r.GetContextsURL() + u := &UserMigration{State: &zeroValue} + u.GetState() + u = &UserMigration{} + u.GetState() + u = nil + u.GetState() } -func TestRequiredStatusChecks_GetStrict(tt *testing.T) { +func TestUserMigration_GetUpdatedAt(tt *testing.T) { tt.Parallel() - r := &RequiredStatusChecks{} - r.GetStrict() - r = nil - r.GetStrict() + var zeroValue string + u := &UserMigration{UpdatedAt: &zeroValue} + u.GetUpdatedAt() + u = &UserMigration{} + u.GetUpdatedAt() + u = nil + u.GetUpdatedAt() } -func TestRequiredStatusChecks_GetURL(tt *testing.T) { +func TestUserMigration_GetURL(tt *testing.T) { tt.Parallel() var zeroValue string - r := &RequiredStatusChecks{URL: &zeroValue} - r.GetURL() - r = &RequiredStatusChecks{} - r.GetURL() - r = nil - r.GetURL() + u := &UserMigration{URL: &zeroValue} + u.GetURL() + u = &UserMigration{} + u.GetURL() + u = nil + u.GetURL() } -func TestRequiredStatusChecksBranchRule_GetParameters(tt *testing.T) { +func TestUserMigrationOptions_GetExcludeAttachments(tt *testing.T) { tt.Parallel() - r := &RequiredStatusChecksBranchRule{} - r.GetParameters() - r = nil - r.GetParameters() + u := &UserMigrationOptions{} + u.GetExcludeAttachments() + u = nil + u.GetExcludeAttachments() } -func TestRequiredStatusChecksChanges_GetFrom(tt *testing.T) { +func TestUserMigrationOptions_GetLockRepositories(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - r := &RequiredStatusChecksChanges{From: zeroValue} - r.GetFrom() - r = &RequiredStatusChecksChanges{} - r.GetFrom() - r = nil - r.GetFrom() + u := &UserMigrationOptions{} + u.GetLockRepositories() + u = nil + u.GetLockRepositories() } -func TestRequiredStatusChecksEnforcementLevelChanges_GetFrom(tt *testing.T) { +func TestUsersSearchResult_GetIncompleteResults(tt *testing.T) { tt.Parallel() - var zeroValue string - r := &RequiredStatusChecksEnforcementLevelChanges{From: &zeroValue} - r.GetFrom() - r = &RequiredStatusChecksEnforcementLevelChanges{} - r.GetFrom() - r = nil - r.GetFrom() + var zeroValue bool + u := &UsersSearchResult{IncompleteResults: &zeroValue} + u.GetIncompleteResults() + u = &UsersSearchResult{} + u.GetIncompleteResults() + u = nil + u.GetIncompleteResults() } -func TestRequiredStatusChecksRequest_GetChecks(tt *testing.T) { +func TestUsersSearchResult_GetTotal(tt *testing.T) { tt.Parallel() - zeroValue := []*RequiredStatusCheck{} - r := &RequiredStatusChecksRequest{Checks: zeroValue} - r.GetChecks() - r = &RequiredStatusChecksRequest{} - r.GetChecks() - r = nil - r.GetChecks() + var zeroValue int + u := &UsersSearchResult{Total: &zeroValue} + u.GetTotal() + u = &UsersSearchResult{} + u.GetTotal() + u = nil + u.GetTotal() } -func TestRequiredStatusChecksRequest_GetContexts(tt *testing.T) { +func TestUsersSearchResult_GetUsers(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - r := &RequiredStatusChecksRequest{Contexts: zeroValue} - r.GetContexts() - r = &RequiredStatusChecksRequest{} - r.GetContexts() - r = nil - r.GetContexts() + zeroValue := []*User{} + u := &UsersSearchResult{Users: zeroValue} + u.GetUsers() + u = &UsersSearchResult{} + u.GetUsers() + u = nil + u.GetUsers() } -func TestRequiredStatusChecksRequest_GetStrict(tt *testing.T) { +func TestUserStats_GetAdminUsers(tt *testing.T) { tt.Parallel() - var zeroValue bool - r := &RequiredStatusChecksRequest{Strict: &zeroValue} - r.GetStrict() - r = &RequiredStatusChecksRequest{} - r.GetStrict() - r = nil - r.GetStrict() + var zeroValue int + u := &UserStats{AdminUsers: &zeroValue} + u.GetAdminUsers() + u = &UserStats{} + u.GetAdminUsers() + u = nil + u.GetAdminUsers() } -func TestRequiredStatusChecksRuleParameters_GetDoNotEnforceOnCreate(tt *testing.T) { +func TestUserStats_GetSuspendedUsers(tt *testing.T) { tt.Parallel() - var zeroValue bool - r := &RequiredStatusChecksRuleParameters{DoNotEnforceOnCreate: &zeroValue} - r.GetDoNotEnforceOnCreate() - r = &RequiredStatusChecksRuleParameters{} - r.GetDoNotEnforceOnCreate() - r = nil - r.GetDoNotEnforceOnCreate() + var zeroValue int + u := &UserStats{SuspendedUsers: &zeroValue} + u.GetSuspendedUsers() + u = &UserStats{} + u.GetSuspendedUsers() + u = nil + u.GetSuspendedUsers() } -func TestRequiredStatusChecksRuleParameters_GetRequiredStatusChecks(tt *testing.T) { +func TestUserStats_GetTotalUsers(tt *testing.T) { tt.Parallel() - zeroValue := []*RuleStatusCheck{} - r := &RequiredStatusChecksRuleParameters{RequiredStatusChecks: zeroValue} - r.GetRequiredStatusChecks() - r = &RequiredStatusChecksRuleParameters{} - r.GetRequiredStatusChecks() - r = nil - r.GetRequiredStatusChecks() + var zeroValue int + u := &UserStats{TotalUsers: &zeroValue} + u.GetTotalUsers() + u = &UserStats{} + u.GetTotalUsers() + u = nil + u.GetTotalUsers() } -func TestRequiredStatusChecksRuleParameters_GetStrictRequiredStatusChecksPolicy(tt *testing.T) { +func TestUserSuspendOptions_GetReason(tt *testing.T) { tt.Parallel() - r := &RequiredStatusChecksRuleParameters{} - r.GetStrictRequiredStatusChecksPolicy() - r = nil - r.GetStrictRequiredStatusChecksPolicy() + var zeroValue string + u := &UserSuspendOptions{Reason: &zeroValue} + u.GetReason() + u = &UserSuspendOptions{} + u.GetReason() + u = nil + u.GetReason() } -func TestRequireLastPushApprovalChanges_GetFrom(tt *testing.T) { +func TestUserUpdateRequest_GetBio(tt *testing.T) { + tt.Parallel() + var zeroValue string + u := &UserUpdateRequest{Bio: &zeroValue} + u.GetBio() + u = &UserUpdateRequest{} + u.GetBio() + u = nil + u.GetBio() +} + +func TestUserUpdateRequest_GetBlog(tt *testing.T) { + tt.Parallel() + var zeroValue string + u := &UserUpdateRequest{Blog: &zeroValue} + u.GetBlog() + u = &UserUpdateRequest{} + u.GetBlog() + u = nil + u.GetBlog() +} + +func TestUserUpdateRequest_GetCompany(tt *testing.T) { + tt.Parallel() + var zeroValue string + u := &UserUpdateRequest{Company: &zeroValue} + u.GetCompany() + u = &UserUpdateRequest{} + u.GetCompany() + u = nil + u.GetCompany() +} + +func TestUserUpdateRequest_GetEmail(tt *testing.T) { + tt.Parallel() + var zeroValue string + u := &UserUpdateRequest{Email: &zeroValue} + u.GetEmail() + u = &UserUpdateRequest{} + u.GetEmail() + u = nil + u.GetEmail() +} + +func TestUserUpdateRequest_GetHireable(tt *testing.T) { tt.Parallel() var zeroValue bool - r := &RequireLastPushApprovalChanges{From: &zeroValue} - r.GetFrom() - r = &RequireLastPushApprovalChanges{} - r.GetFrom() - r = nil - r.GetFrom() + u := &UserUpdateRequest{Hireable: &zeroValue} + u.GetHireable() + u = &UserUpdateRequest{} + u.GetHireable() + u = nil + u.GetHireable() } -func TestRequireLinearHistory_GetEnabled(tt *testing.T) { +func TestUserUpdateRequest_GetLocation(tt *testing.T) { tt.Parallel() - r := &RequireLinearHistory{} - r.GetEnabled() - r = nil - r.GetEnabled() + var zeroValue string + u := &UserUpdateRequest{Location: &zeroValue} + u.GetLocation() + u = &UserUpdateRequest{} + u.GetLocation() + u = nil + u.GetLocation() } -func TestResponse_GetAfter(tt *testing.T) { +func TestUserUpdateRequest_GetName(tt *testing.T) { tt.Parallel() - r := &Response{} - r.GetAfter() - r = nil - r.GetAfter() + var zeroValue string + u := &UserUpdateRequest{Name: &zeroValue} + u.GetName() + u = &UserUpdateRequest{} + u.GetName() + u = nil + u.GetName() } -func TestResponse_GetBefore(tt *testing.T) { +func TestUserUpdateRequest_GetTwitterUsername(tt *testing.T) { tt.Parallel() - r := &Response{} - r.GetBefore() - r = nil - r.GetBefore() + var zeroValue string + u := &UserUpdateRequest{TwitterUsername: &zeroValue} + u.GetTwitterUsername() + u = &UserUpdateRequest{} + u.GetTwitterUsername() + u = nil + u.GetTwitterUsername() } -func TestResponse_GetCursor(tt *testing.T) { +func TestVisualStudioSubscriptionAssignment_GetManualMatch(tt *testing.T) { tt.Parallel() - r := &Response{} - r.GetCursor() - r = nil - r.GetCursor() + var zeroValue bool + v := &VisualStudioSubscriptionAssignment{ManualMatch: &zeroValue} + v.GetManualMatch() + v = &VisualStudioSubscriptionAssignment{} + v.GetManualMatch() + v = nil + v.GetManualMatch() } -func TestResponse_GetFirstPage(tt *testing.T) { +func TestVisualStudioSubscriptionAssignment_GetSubscriptionID(tt *testing.T) { tt.Parallel() - r := &Response{} - r.GetFirstPage() - r = nil - r.GetFirstPage() + var zeroValue string + v := &VisualStudioSubscriptionAssignment{SubscriptionID: &zeroValue} + v.GetSubscriptionID() + v = &VisualStudioSubscriptionAssignment{} + v.GetSubscriptionID() + v = nil + v.GetSubscriptionID() +} + +func TestVisualStudioSubscriptionAssignment_GetUsername(tt *testing.T) { + tt.Parallel() + var zeroValue string + v := &VisualStudioSubscriptionAssignment{Username: &zeroValue} + v.GetUsername() + v = &VisualStudioSubscriptionAssignment{} + v.GetUsername() + v = nil + v.GetUsername() +} + +func TestVisualStudioSubscriptionAssignment_GetVisualStudioSubscriptionEmail(tt *testing.T) { + tt.Parallel() + var zeroValue string + v := &VisualStudioSubscriptionAssignment{VisualStudioSubscriptionEmail: &zeroValue} + v.GetVisualStudioSubscriptionEmail() + v = &VisualStudioSubscriptionAssignment{} + v.GetVisualStudioSubscriptionEmail() + v = nil + v.GetVisualStudioSubscriptionEmail() } -func TestResponse_GetLastPage(tt *testing.T) { +func TestVisualStudioSubscriptionAssignmentRequest_GetUserIdentifier(tt *testing.T) { tt.Parallel() - r := &Response{} - r.GetLastPage() - r = nil - r.GetLastPage() + var zeroValue string + v := &VisualStudioSubscriptionAssignmentRequest{UserIdentifier: &zeroValue} + v.GetUserIdentifier() + v = &VisualStudioSubscriptionAssignmentRequest{} + v.GetUserIdentifier() + v = nil + v.GetUserIdentifier() } -func TestResponse_GetNextPage(tt *testing.T) { +func TestVisualStudioSubscriptions_GetTotalCount(tt *testing.T) { tt.Parallel() - r := &Response{} - r.GetNextPage() - r = nil - r.GetNextPage() + var zeroValue int + v := &VisualStudioSubscriptions{TotalCount: &zeroValue} + v.GetTotalCount() + v = &VisualStudioSubscriptions{} + v.GetTotalCount() + v = nil + v.GetTotalCount() } -func TestResponse_GetNextPageToken(tt *testing.T) { +func TestVisualStudioSubscriptions_GetVisualStudioSubscriptions(tt *testing.T) { tt.Parallel() - r := &Response{} - r.GetNextPageToken() - r = nil - r.GetNextPageToken() + zeroValue := []*VisualStudioSubscriptionAssignment{} + v := &VisualStudioSubscriptions{VisualStudioSubscriptions: zeroValue} + v.GetVisualStudioSubscriptions() + v = &VisualStudioSubscriptions{} + v.GetVisualStudioSubscriptions() + v = nil + v.GetVisualStudioSubscriptions() } -func TestResponse_GetPrevPage(tt *testing.T) { +func TestVulnerabilityPackage_GetEcosystem(tt *testing.T) { tt.Parallel() - r := &Response{} - r.GetPrevPage() - r = nil - r.GetPrevPage() + var zeroValue string + v := &VulnerabilityPackage{Ecosystem: &zeroValue} + v.GetEcosystem() + v = &VulnerabilityPackage{} + v.GetEcosystem() + v = nil + v.GetEcosystem() } -func TestResponse_GetRate(tt *testing.T) { +func TestVulnerabilityPackage_GetName(tt *testing.T) { tt.Parallel() - r := &Response{} - r.GetRate() - r = nil - r.GetRate() + var zeroValue string + v := &VulnerabilityPackage{Name: &zeroValue} + v.GetName() + v = &VulnerabilityPackage{} + v.GetName() + v = nil + v.GetName() } -func TestResponse_GetTokenExpiration(tt *testing.T) { +func TestWatchEvent_GetAction(tt *testing.T) { tt.Parallel() - r := &Response{} - r.GetTokenExpiration() - r = nil - r.GetTokenExpiration() + var zeroValue string + w := &WatchEvent{Action: &zeroValue} + w.GetAction() + w = &WatchEvent{} + w.GetAction() + w = nil + w.GetAction() } -func TestReviewCustomDeploymentProtectionRuleRequest_GetComment(tt *testing.T) { +func TestWatchEvent_GetInstallation(tt *testing.T) { tt.Parallel() - r := &ReviewCustomDeploymentProtectionRuleRequest{} - r.GetComment() - r = nil - r.GetComment() + w := &WatchEvent{} + w.GetInstallation() + w = nil + w.GetInstallation() } -func TestReviewCustomDeploymentProtectionRuleRequest_GetEnvironmentName(tt *testing.T) { +func TestWatchEvent_GetOrg(tt *testing.T) { tt.Parallel() - r := &ReviewCustomDeploymentProtectionRuleRequest{} - r.GetEnvironmentName() - r = nil - r.GetEnvironmentName() + w := &WatchEvent{} + w.GetOrg() + w = nil + w.GetOrg() } -func TestReviewCustomDeploymentProtectionRuleRequest_GetState(tt *testing.T) { +func TestWatchEvent_GetRepo(tt *testing.T) { tt.Parallel() - r := &ReviewCustomDeploymentProtectionRuleRequest{} - r.GetState() - r = nil - r.GetState() + w := &WatchEvent{} + w.GetRepo() + w = nil + w.GetRepo() } -func TestReviewers_GetTeams(tt *testing.T) { +func TestWatchEvent_GetSender(tt *testing.T) { tt.Parallel() - zeroValue := []*Team{} - r := &Reviewers{Teams: zeroValue} - r.GetTeams() - r = &Reviewers{} - r.GetTeams() - r = nil - r.GetTeams() + w := &WatchEvent{} + w.GetSender() + w = nil + w.GetSender() } -func TestReviewers_GetUsers(tt *testing.T) { +func TestWeeklyCommitActivity_GetDays(tt *testing.T) { tt.Parallel() - zeroValue := []*User{} - r := &Reviewers{Users: zeroValue} - r.GetUsers() - r = &Reviewers{} - r.GetUsers() - r = nil - r.GetUsers() + zeroValue := []int{} + w := &WeeklyCommitActivity{Days: zeroValue} + w.GetDays() + w = &WeeklyCommitActivity{} + w.GetDays() + w = nil + w.GetDays() } -func TestReviewersRequest_GetNodeID(tt *testing.T) { +func TestWeeklyCommitActivity_GetTotal(tt *testing.T) { tt.Parallel() - var zeroValue string - r := &ReviewersRequest{NodeID: &zeroValue} - r.GetNodeID() - r = &ReviewersRequest{} - r.GetNodeID() - r = nil - r.GetNodeID() + var zeroValue int + w := &WeeklyCommitActivity{Total: &zeroValue} + w.GetTotal() + w = &WeeklyCommitActivity{} + w.GetTotal() + w = nil + w.GetTotal() } -func TestReviewersRequest_GetReviewers(tt *testing.T) { +func TestWeeklyCommitActivity_GetWeek(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - r := &ReviewersRequest{Reviewers: zeroValue} - r.GetReviewers() - r = &ReviewersRequest{} - r.GetReviewers() - r = nil - r.GetReviewers() + var zeroValue Timestamp + w := &WeeklyCommitActivity{Week: &zeroValue} + w.GetWeek() + w = &WeeklyCommitActivity{} + w.GetWeek() + w = nil + w.GetWeek() } -func TestReviewersRequest_GetTeamReviewers(tt *testing.T) { +func TestWeeklyStats_GetAdditions(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - r := &ReviewersRequest{TeamReviewers: zeroValue} - r.GetTeamReviewers() - r = &ReviewersRequest{} - r.GetTeamReviewers() - r = nil - r.GetTeamReviewers() + var zeroValue int + w := &WeeklyStats{Additions: &zeroValue} + w.GetAdditions() + w = &WeeklyStats{} + w.GetAdditions() + w = nil + w.GetAdditions() } -func TestReviewPersonalAccessTokenRequestOptions_GetAction(tt *testing.T) { +func TestWeeklyStats_GetCommits(tt *testing.T) { tt.Parallel() - r := &ReviewPersonalAccessTokenRequestOptions{} - r.GetAction() - r = nil - r.GetAction() + var zeroValue int + w := &WeeklyStats{Commits: &zeroValue} + w.GetCommits() + w = &WeeklyStats{} + w.GetCommits() + w = nil + w.GetCommits() } -func TestReviewPersonalAccessTokenRequestOptions_GetReason(tt *testing.T) { +func TestWeeklyStats_GetDeletions(tt *testing.T) { tt.Parallel() - var zeroValue string - r := &ReviewPersonalAccessTokenRequestOptions{Reason: &zeroValue} - r.GetReason() - r = &ReviewPersonalAccessTokenRequestOptions{} - r.GetReason() - r = nil - r.GetReason() + var zeroValue int + w := &WeeklyStats{Deletions: &zeroValue} + w.GetDeletions() + w = &WeeklyStats{} + w.GetDeletions() + w = nil + w.GetDeletions() } -func TestRule_GetDescription(tt *testing.T) { +func TestWeeklyStats_GetWeek(tt *testing.T) { tt.Parallel() - var zeroValue string - r := &Rule{Description: &zeroValue} - r.GetDescription() - r = &Rule{} - r.GetDescription() - r = nil - r.GetDescription() + var zeroValue Timestamp + w := &WeeklyStats{Week: &zeroValue} + w.GetWeek() + w = &WeeklyStats{} + w.GetWeek() + w = nil + w.GetWeek() } -func TestRule_GetFullDescription(tt *testing.T) { +func TestWorkflow_GetBadgeURL(tt *testing.T) { tt.Parallel() var zeroValue string - r := &Rule{FullDescription: &zeroValue} - r.GetFullDescription() - r = &Rule{} - r.GetFullDescription() - r = nil - r.GetFullDescription() + w := &Workflow{BadgeURL: &zeroValue} + w.GetBadgeURL() + w = &Workflow{} + w.GetBadgeURL() + w = nil + w.GetBadgeURL() } -func TestRule_GetHelp(tt *testing.T) { +func TestWorkflow_GetCreatedAt(tt *testing.T) { tt.Parallel() - var zeroValue string - r := &Rule{Help: &zeroValue} - r.GetHelp() - r = &Rule{} - r.GetHelp() - r = nil - r.GetHelp() + var zeroValue Timestamp + w := &Workflow{CreatedAt: &zeroValue} + w.GetCreatedAt() + w = &Workflow{} + w.GetCreatedAt() + w = nil + w.GetCreatedAt() } -func TestRule_GetID(tt *testing.T) { +func TestWorkflow_GetHTMLURL(tt *testing.T) { tt.Parallel() var zeroValue string - r := &Rule{ID: &zeroValue} - r.GetID() - r = &Rule{} - r.GetID() - r = nil - r.GetID() + w := &Workflow{HTMLURL: &zeroValue} + w.GetHTMLURL() + w = &Workflow{} + w.GetHTMLURL() + w = nil + w.GetHTMLURL() } -func TestRule_GetName(tt *testing.T) { +func TestWorkflow_GetID(tt *testing.T) { tt.Parallel() - var zeroValue string - r := &Rule{Name: &zeroValue} - r.GetName() - r = &Rule{} - r.GetName() - r = nil - r.GetName() + var zeroValue int64 + w := &Workflow{ID: &zeroValue} + w.GetID() + w = &Workflow{} + w.GetID() + w = nil + w.GetID() } -func TestRule_GetSecuritySeverityLevel(tt *testing.T) { +func TestWorkflow_GetName(tt *testing.T) { tt.Parallel() var zeroValue string - r := &Rule{SecuritySeverityLevel: &zeroValue} - r.GetSecuritySeverityLevel() - r = &Rule{} - r.GetSecuritySeverityLevel() - r = nil - r.GetSecuritySeverityLevel() + w := &Workflow{Name: &zeroValue} + w.GetName() + w = &Workflow{} + w.GetName() + w = nil + w.GetName() } -func TestRule_GetSeverity(tt *testing.T) { +func TestWorkflow_GetNodeID(tt *testing.T) { tt.Parallel() var zeroValue string - r := &Rule{Severity: &zeroValue} - r.GetSeverity() - r = &Rule{} - r.GetSeverity() - r = nil - r.GetSeverity() + w := &Workflow{NodeID: &zeroValue} + w.GetNodeID() + w = &Workflow{} + w.GetNodeID() + w = nil + w.GetNodeID() } -func TestRule_GetTags(tt *testing.T) { +func TestWorkflow_GetPath(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - r := &Rule{Tags: zeroValue} - r.GetTags() - r = &Rule{} - r.GetTags() - r = nil - r.GetTags() + var zeroValue string + w := &Workflow{Path: &zeroValue} + w.GetPath() + w = &Workflow{} + w.GetPath() + w = nil + w.GetPath() } -func TestRuleCodeScanningTool_GetAlertsThreshold(tt *testing.T) { +func TestWorkflow_GetState(tt *testing.T) { tt.Parallel() - r := &RuleCodeScanningTool{} - r.GetAlertsThreshold() - r = nil - r.GetAlertsThreshold() + var zeroValue string + w := &Workflow{State: &zeroValue} + w.GetState() + w = &Workflow{} + w.GetState() + w = nil + w.GetState() } -func TestRuleCodeScanningTool_GetSecurityAlertsThreshold(tt *testing.T) { +func TestWorkflow_GetUpdatedAt(tt *testing.T) { tt.Parallel() - r := &RuleCodeScanningTool{} - r.GetSecurityAlertsThreshold() - r = nil - r.GetSecurityAlertsThreshold() + var zeroValue Timestamp + w := &Workflow{UpdatedAt: &zeroValue} + w.GetUpdatedAt() + w = &Workflow{} + w.GetUpdatedAt() + w = nil + w.GetUpdatedAt() } -func TestRuleCodeScanningTool_GetTool(tt *testing.T) { +func TestWorkflow_GetURL(tt *testing.T) { tt.Parallel() - r := &RuleCodeScanningTool{} - r.GetTool() - r = nil - r.GetTool() + var zeroValue string + w := &Workflow{URL: &zeroValue} + w.GetURL() + w = &Workflow{} + w.GetURL() + w = nil + w.GetURL() } -func TestRulesetRequiredReviewer_GetFilePatterns(tt *testing.T) { +func TestWorkflowBill_GetTotalMS(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - r := &RulesetRequiredReviewer{FilePatterns: zeroValue} - r.GetFilePatterns() - r = &RulesetRequiredReviewer{} - r.GetFilePatterns() - r = nil - r.GetFilePatterns() + var zeroValue int64 + w := &WorkflowBill{TotalMS: &zeroValue} + w.GetTotalMS() + w = &WorkflowBill{} + w.GetTotalMS() + w = nil + w.GetTotalMS() } -func TestRulesetRequiredReviewer_GetMinimumApprovals(tt *testing.T) { +func TestWorkflowDispatchEvent_GetInputs(tt *testing.T) { tt.Parallel() - var zeroValue int - r := &RulesetRequiredReviewer{MinimumApprovals: &zeroValue} - r.GetMinimumApprovals() - r = &RulesetRequiredReviewer{} - r.GetMinimumApprovals() - r = nil - r.GetMinimumApprovals() + w := &WorkflowDispatchEvent{} + w.GetInputs() + w = nil + w.GetInputs() } -func TestRulesetRequiredReviewer_GetReviewer(tt *testing.T) { +func TestWorkflowDispatchEvent_GetInstallation(tt *testing.T) { tt.Parallel() - r := &RulesetRequiredReviewer{} - r.GetReviewer() - r = nil - r.GetReviewer() + w := &WorkflowDispatchEvent{} + w.GetInstallation() + w = nil + w.GetInstallation() } -func TestRulesetReviewer_GetID(tt *testing.T) { +func TestWorkflowDispatchEvent_GetOrg(tt *testing.T) { tt.Parallel() - var zeroValue int64 - r := &RulesetReviewer{ID: &zeroValue} - r.GetID() - r = &RulesetReviewer{} - r.GetID() - r = nil - r.GetID() + w := &WorkflowDispatchEvent{} + w.GetOrg() + w = nil + w.GetOrg() } -func TestRulesetReviewer_GetType(tt *testing.T) { +func TestWorkflowDispatchEvent_GetRef(tt *testing.T) { tt.Parallel() - r := &RulesetReviewer{} - r.GetType() - r = nil - r.GetType() + var zeroValue string + w := &WorkflowDispatchEvent{Ref: &zeroValue} + w.GetRef() + w = &WorkflowDispatchEvent{} + w.GetRef() + w = nil + w.GetRef() } -func TestRuleStatusCheck_GetContext(tt *testing.T) { +func TestWorkflowDispatchEvent_GetRepo(tt *testing.T) { tt.Parallel() - r := &RuleStatusCheck{} - r.GetContext() - r = nil - r.GetContext() + w := &WorkflowDispatchEvent{} + w.GetRepo() + w = nil + w.GetRepo() } -func TestRuleStatusCheck_GetIntegrationID(tt *testing.T) { +func TestWorkflowDispatchEvent_GetSender(tt *testing.T) { tt.Parallel() - var zeroValue int64 - r := &RuleStatusCheck{IntegrationID: &zeroValue} - r.GetIntegrationID() - r = &RuleStatusCheck{} - r.GetIntegrationID() - r = nil - r.GetIntegrationID() + w := &WorkflowDispatchEvent{} + w.GetSender() + w = nil + w.GetSender() } -func TestRuleWorkflow_GetPath(tt *testing.T) { +func TestWorkflowDispatchEvent_GetWorkflow(tt *testing.T) { tt.Parallel() - r := &RuleWorkflow{} - r.GetPath() - r = nil - r.GetPath() + var zeroValue string + w := &WorkflowDispatchEvent{Workflow: &zeroValue} + w.GetWorkflow() + w = &WorkflowDispatchEvent{} + w.GetWorkflow() + w = nil + w.GetWorkflow() } -func TestRuleWorkflow_GetRef(tt *testing.T) { +func TestWorkflowDispatchRunDetails_GetHTMLURL(tt *testing.T) { tt.Parallel() var zeroValue string - r := &RuleWorkflow{Ref: &zeroValue} - r.GetRef() - r = &RuleWorkflow{} - r.GetRef() - r = nil - r.GetRef() + w := &WorkflowDispatchRunDetails{HTMLURL: &zeroValue} + w.GetHTMLURL() + w = &WorkflowDispatchRunDetails{} + w.GetHTMLURL() + w = nil + w.GetHTMLURL() +} + +func TestWorkflowDispatchRunDetails_GetRunURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + w := &WorkflowDispatchRunDetails{RunURL: &zeroValue} + w.GetRunURL() + w = &WorkflowDispatchRunDetails{} + w.GetRunURL() + w = nil + w.GetRunURL() } -func TestRuleWorkflow_GetRepositoryID(tt *testing.T) { +func TestWorkflowDispatchRunDetails_GetWorkflowRunID(tt *testing.T) { tt.Parallel() var zeroValue int64 - r := &RuleWorkflow{RepositoryID: &zeroValue} - r.GetRepositoryID() - r = &RuleWorkflow{} - r.GetRepositoryID() - r = nil - r.GetRepositoryID() + w := &WorkflowDispatchRunDetails{WorkflowRunID: &zeroValue} + w.GetWorkflowRunID() + w = &WorkflowDispatchRunDetails{} + w.GetWorkflowRunID() + w = nil + w.GetWorkflowRunID() } -func TestRuleWorkflow_GetSHA(tt *testing.T) { +func TestWorkflowJob_GetCheckRunURL(tt *testing.T) { tt.Parallel() var zeroValue string - r := &RuleWorkflow{SHA: &zeroValue} - r.GetSHA() - r = &RuleWorkflow{} - r.GetSHA() - r = nil - r.GetSHA() + w := &WorkflowJob{CheckRunURL: &zeroValue} + w.GetCheckRunURL() + w = &WorkflowJob{} + w.GetCheckRunURL() + w = nil + w.GetCheckRunURL() } -func TestRunner_GetBusy(tt *testing.T) { +func TestWorkflowJob_GetCompletedAt(tt *testing.T) { tt.Parallel() - var zeroValue bool - r := &Runner{Busy: &zeroValue} - r.GetBusy() - r = &Runner{} - r.GetBusy() - r = nil - r.GetBusy() + var zeroValue Timestamp + w := &WorkflowJob{CompletedAt: &zeroValue} + w.GetCompletedAt() + w = &WorkflowJob{} + w.GetCompletedAt() + w = nil + w.GetCompletedAt() } -func TestRunner_GetEphemeral(tt *testing.T) { +func TestWorkflowJob_GetConclusion(tt *testing.T) { tt.Parallel() - var zeroValue bool - r := &Runner{Ephemeral: &zeroValue} - r.GetEphemeral() - r = &Runner{} - r.GetEphemeral() - r = nil - r.GetEphemeral() + var zeroValue string + w := &WorkflowJob{Conclusion: &zeroValue} + w.GetConclusion() + w = &WorkflowJob{} + w.GetConclusion() + w = nil + w.GetConclusion() } -func TestRunner_GetID(tt *testing.T) { +func TestWorkflowJob_GetCreatedAt(tt *testing.T) { tt.Parallel() - var zeroValue int64 - r := &Runner{ID: &zeroValue} - r.GetID() - r = &Runner{} - r.GetID() - r = nil - r.GetID() + var zeroValue Timestamp + w := &WorkflowJob{CreatedAt: &zeroValue} + w.GetCreatedAt() + w = &WorkflowJob{} + w.GetCreatedAt() + w = nil + w.GetCreatedAt() } -func TestRunner_GetLabels(tt *testing.T) { +func TestWorkflowJob_GetHeadBranch(tt *testing.T) { tt.Parallel() - zeroValue := []*RunnerLabels{} - r := &Runner{Labels: zeroValue} - r.GetLabels() - r = &Runner{} - r.GetLabels() - r = nil - r.GetLabels() + var zeroValue string + w := &WorkflowJob{HeadBranch: &zeroValue} + w.GetHeadBranch() + w = &WorkflowJob{} + w.GetHeadBranch() + w = nil + w.GetHeadBranch() } -func TestRunner_GetName(tt *testing.T) { +func TestWorkflowJob_GetHeadSHA(tt *testing.T) { tt.Parallel() var zeroValue string - r := &Runner{Name: &zeroValue} - r.GetName() - r = &Runner{} - r.GetName() - r = nil - r.GetName() + w := &WorkflowJob{HeadSHA: &zeroValue} + w.GetHeadSHA() + w = &WorkflowJob{} + w.GetHeadSHA() + w = nil + w.GetHeadSHA() } -func TestRunner_GetOS(tt *testing.T) { +func TestWorkflowJob_GetHTMLURL(tt *testing.T) { tt.Parallel() var zeroValue string - r := &Runner{OS: &zeroValue} - r.GetOS() - r = &Runner{} - r.GetOS() - r = nil - r.GetOS() + w := &WorkflowJob{HTMLURL: &zeroValue} + w.GetHTMLURL() + w = &WorkflowJob{} + w.GetHTMLURL() + w = nil + w.GetHTMLURL() } -func TestRunner_GetRunnerGroupID(tt *testing.T) { +func TestWorkflowJob_GetID(tt *testing.T) { tt.Parallel() var zeroValue int64 - r := &Runner{RunnerGroupID: &zeroValue} - r.GetRunnerGroupID() - r = &Runner{} - r.GetRunnerGroupID() - r = nil - r.GetRunnerGroupID() + w := &WorkflowJob{ID: &zeroValue} + w.GetID() + w = &WorkflowJob{} + w.GetID() + w = nil + w.GetID() } -func TestRunner_GetStatus(tt *testing.T) { +func TestWorkflowJob_GetLabels(tt *testing.T) { tt.Parallel() - var zeroValue string - r := &Runner{Status: &zeroValue} - r.GetStatus() - r = &Runner{} - r.GetStatus() - r = nil - r.GetStatus() + zeroValue := []string{} + w := &WorkflowJob{Labels: zeroValue} + w.GetLabels() + w = &WorkflowJob{} + w.GetLabels() + w = nil + w.GetLabels() } -func TestRunner_GetVersion(tt *testing.T) { +func TestWorkflowJob_GetName(tt *testing.T) { tt.Parallel() var zeroValue string - r := &Runner{Version: &zeroValue} - r.GetVersion() - r = &Runner{} - r.GetVersion() - r = nil - r.GetVersion() + w := &WorkflowJob{Name: &zeroValue} + w.GetName() + w = &WorkflowJob{} + w.GetName() + w = nil + w.GetName() } -func TestRunnerApplicationDownload_GetArchitecture(tt *testing.T) { +func TestWorkflowJob_GetNodeID(tt *testing.T) { tt.Parallel() var zeroValue string - r := &RunnerApplicationDownload{Architecture: &zeroValue} - r.GetArchitecture() - r = &RunnerApplicationDownload{} - r.GetArchitecture() - r = nil - r.GetArchitecture() + w := &WorkflowJob{NodeID: &zeroValue} + w.GetNodeID() + w = &WorkflowJob{} + w.GetNodeID() + w = nil + w.GetNodeID() } -func TestRunnerApplicationDownload_GetDownloadURL(tt *testing.T) { +func TestWorkflowJob_GetRunAttempt(tt *testing.T) { tt.Parallel() - var zeroValue string - r := &RunnerApplicationDownload{DownloadURL: &zeroValue} - r.GetDownloadURL() - r = &RunnerApplicationDownload{} - r.GetDownloadURL() - r = nil - r.GetDownloadURL() + var zeroValue int64 + w := &WorkflowJob{RunAttempt: &zeroValue} + w.GetRunAttempt() + w = &WorkflowJob{} + w.GetRunAttempt() + w = nil + w.GetRunAttempt() } -func TestRunnerApplicationDownload_GetFilename(tt *testing.T) { +func TestWorkflowJob_GetRunID(tt *testing.T) { tt.Parallel() - var zeroValue string - r := &RunnerApplicationDownload{Filename: &zeroValue} - r.GetFilename() - r = &RunnerApplicationDownload{} - r.GetFilename() - r = nil - r.GetFilename() + var zeroValue int64 + w := &WorkflowJob{RunID: &zeroValue} + w.GetRunID() + w = &WorkflowJob{} + w.GetRunID() + w = nil + w.GetRunID() } -func TestRunnerApplicationDownload_GetOS(tt *testing.T) { +func TestWorkflowJob_GetRunnerGroupID(tt *testing.T) { tt.Parallel() - var zeroValue string - r := &RunnerApplicationDownload{OS: &zeroValue} - r.GetOS() - r = &RunnerApplicationDownload{} - r.GetOS() - r = nil - r.GetOS() + var zeroValue int64 + w := &WorkflowJob{RunnerGroupID: &zeroValue} + w.GetRunnerGroupID() + w = &WorkflowJob{} + w.GetRunnerGroupID() + w = nil + w.GetRunnerGroupID() } -func TestRunnerApplicationDownload_GetSHA256Checksum(tt *testing.T) { +func TestWorkflowJob_GetRunnerGroupName(tt *testing.T) { tt.Parallel() var zeroValue string - r := &RunnerApplicationDownload{SHA256Checksum: &zeroValue} - r.GetSHA256Checksum() - r = &RunnerApplicationDownload{} - r.GetSHA256Checksum() - r = nil - r.GetSHA256Checksum() + w := &WorkflowJob{RunnerGroupName: &zeroValue} + w.GetRunnerGroupName() + w = &WorkflowJob{} + w.GetRunnerGroupName() + w = nil + w.GetRunnerGroupName() } -func TestRunnerApplicationDownload_GetTempDownloadToken(tt *testing.T) { +func TestWorkflowJob_GetRunnerID(tt *testing.T) { + tt.Parallel() + var zeroValue int64 + w := &WorkflowJob{RunnerID: &zeroValue} + w.GetRunnerID() + w = &WorkflowJob{} + w.GetRunnerID() + w = nil + w.GetRunnerID() +} + +func TestWorkflowJob_GetRunnerName(tt *testing.T) { tt.Parallel() var zeroValue string - r := &RunnerApplicationDownload{TempDownloadToken: &zeroValue} - r.GetTempDownloadToken() - r = &RunnerApplicationDownload{} - r.GetTempDownloadToken() - r = nil - r.GetTempDownloadToken() + w := &WorkflowJob{RunnerName: &zeroValue} + w.GetRunnerName() + w = &WorkflowJob{} + w.GetRunnerName() + w = nil + w.GetRunnerName() } -func TestRunnerGroup_GetAllowsPublicRepositories(tt *testing.T) { +func TestWorkflowJob_GetRunURL(tt *testing.T) { tt.Parallel() - var zeroValue bool - r := &RunnerGroup{AllowsPublicRepositories: &zeroValue} - r.GetAllowsPublicRepositories() - r = &RunnerGroup{} - r.GetAllowsPublicRepositories() - r = nil - r.GetAllowsPublicRepositories() + var zeroValue string + w := &WorkflowJob{RunURL: &zeroValue} + w.GetRunURL() + w = &WorkflowJob{} + w.GetRunURL() + w = nil + w.GetRunURL() } -func TestRunnerGroup_GetDefault(tt *testing.T) { +func TestWorkflowJob_GetStartedAt(tt *testing.T) { tt.Parallel() - var zeroValue bool - r := &RunnerGroup{Default: &zeroValue} - r.GetDefault() - r = &RunnerGroup{} - r.GetDefault() - r = nil - r.GetDefault() + var zeroValue Timestamp + w := &WorkflowJob{StartedAt: &zeroValue} + w.GetStartedAt() + w = &WorkflowJob{} + w.GetStartedAt() + w = nil + w.GetStartedAt() } -func TestRunnerGroup_GetHostedRunnersURL(tt *testing.T) { +func TestWorkflowJob_GetStatus(tt *testing.T) { tt.Parallel() var zeroValue string - r := &RunnerGroup{HostedRunnersURL: &zeroValue} - r.GetHostedRunnersURL() - r = &RunnerGroup{} - r.GetHostedRunnersURL() - r = nil - r.GetHostedRunnersURL() + w := &WorkflowJob{Status: &zeroValue} + w.GetStatus() + w = &WorkflowJob{} + w.GetStatus() + w = nil + w.GetStatus() } -func TestRunnerGroup_GetID(tt *testing.T) { +func TestWorkflowJob_GetSteps(tt *testing.T) { tt.Parallel() - var zeroValue int64 - r := &RunnerGroup{ID: &zeroValue} - r.GetID() - r = &RunnerGroup{} - r.GetID() - r = nil - r.GetID() + zeroValue := []*TaskStep{} + w := &WorkflowJob{Steps: zeroValue} + w.GetSteps() + w = &WorkflowJob{} + w.GetSteps() + w = nil + w.GetSteps() } -func TestRunnerGroup_GetInherited(tt *testing.T) { +func TestWorkflowJob_GetURL(tt *testing.T) { tt.Parallel() - var zeroValue bool - r := &RunnerGroup{Inherited: &zeroValue} - r.GetInherited() - r = &RunnerGroup{} - r.GetInherited() - r = nil - r.GetInherited() + var zeroValue string + w := &WorkflowJob{URL: &zeroValue} + w.GetURL() + w = &WorkflowJob{} + w.GetURL() + w = nil + w.GetURL() } -func TestRunnerGroup_GetName(tt *testing.T) { +func TestWorkflowJob_GetWorkflowName(tt *testing.T) { tt.Parallel() var zeroValue string - r := &RunnerGroup{Name: &zeroValue} - r.GetName() - r = &RunnerGroup{} - r.GetName() - r = nil - r.GetName() + w := &WorkflowJob{WorkflowName: &zeroValue} + w.GetWorkflowName() + w = &WorkflowJob{} + w.GetWorkflowName() + w = nil + w.GetWorkflowName() } -func TestRunnerGroup_GetNetworkConfigurationID(tt *testing.T) { +func TestWorkflowJobEvent_GetAction(tt *testing.T) { tt.Parallel() var zeroValue string - r := &RunnerGroup{NetworkConfigurationID: &zeroValue} - r.GetNetworkConfigurationID() - r = &RunnerGroup{} - r.GetNetworkConfigurationID() - r = nil - r.GetNetworkConfigurationID() + w := &WorkflowJobEvent{Action: &zeroValue} + w.GetAction() + w = &WorkflowJobEvent{} + w.GetAction() + w = nil + w.GetAction() } -func TestRunnerGroup_GetRestrictedToWorkflows(tt *testing.T) { +func TestWorkflowJobEvent_GetDeployment(tt *testing.T) { tt.Parallel() - var zeroValue bool - r := &RunnerGroup{RestrictedToWorkflows: &zeroValue} - r.GetRestrictedToWorkflows() - r = &RunnerGroup{} - r.GetRestrictedToWorkflows() - r = nil - r.GetRestrictedToWorkflows() + w := &WorkflowJobEvent{} + w.GetDeployment() + w = nil + w.GetDeployment() } -func TestRunnerGroup_GetRunnersURL(tt *testing.T) { +func TestWorkflowJobEvent_GetInstallation(tt *testing.T) { tt.Parallel() - var zeroValue string - r := &RunnerGroup{RunnersURL: &zeroValue} - r.GetRunnersURL() - r = &RunnerGroup{} - r.GetRunnersURL() - r = nil - r.GetRunnersURL() + w := &WorkflowJobEvent{} + w.GetInstallation() + w = nil + w.GetInstallation() } -func TestRunnerGroup_GetSelectedRepositoriesURL(tt *testing.T) { +func TestWorkflowJobEvent_GetOrg(tt *testing.T) { tt.Parallel() - var zeroValue string - r := &RunnerGroup{SelectedRepositoriesURL: &zeroValue} - r.GetSelectedRepositoriesURL() - r = &RunnerGroup{} - r.GetSelectedRepositoriesURL() - r = nil - r.GetSelectedRepositoriesURL() + w := &WorkflowJobEvent{} + w.GetOrg() + w = nil + w.GetOrg() } -func TestRunnerGroup_GetSelectedWorkflows(tt *testing.T) { +func TestWorkflowJobEvent_GetRepo(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - r := &RunnerGroup{SelectedWorkflows: zeroValue} - r.GetSelectedWorkflows() - r = &RunnerGroup{} - r.GetSelectedWorkflows() - r = nil - r.GetSelectedWorkflows() + w := &WorkflowJobEvent{} + w.GetRepo() + w = nil + w.GetRepo() } -func TestRunnerGroup_GetVisibility(tt *testing.T) { +func TestWorkflowJobEvent_GetSender(tt *testing.T) { tt.Parallel() - var zeroValue string - r := &RunnerGroup{Visibility: &zeroValue} - r.GetVisibility() - r = &RunnerGroup{} - r.GetVisibility() - r = nil - r.GetVisibility() + w := &WorkflowJobEvent{} + w.GetSender() + w = nil + w.GetSender() } -func TestRunnerGroup_GetWorkflowRestrictionsReadOnly(tt *testing.T) { +func TestWorkflowJobEvent_GetWorkflowJob(tt *testing.T) { tt.Parallel() - var zeroValue bool - r := &RunnerGroup{WorkflowRestrictionsReadOnly: &zeroValue} - r.GetWorkflowRestrictionsReadOnly() - r = &RunnerGroup{} - r.GetWorkflowRestrictionsReadOnly() - r = nil - r.GetWorkflowRestrictionsReadOnly() + w := &WorkflowJobEvent{} + w.GetWorkflowJob() + w = nil + w.GetWorkflowJob() } -func TestRunnerGroups_GetRunnerGroups(tt *testing.T) { +func TestWorkflowJobRun_GetConclusion(tt *testing.T) { tt.Parallel() - zeroValue := []*RunnerGroup{} - r := &RunnerGroups{RunnerGroups: zeroValue} - r.GetRunnerGroups() - r = &RunnerGroups{} - r.GetRunnerGroups() - r = nil - r.GetRunnerGroups() + var zeroValue string + w := &WorkflowJobRun{Conclusion: &zeroValue} + w.GetConclusion() + w = &WorkflowJobRun{} + w.GetConclusion() + w = nil + w.GetConclusion() +} + +func TestWorkflowJobRun_GetCreatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + w := &WorkflowJobRun{CreatedAt: &zeroValue} + w.GetCreatedAt() + w = &WorkflowJobRun{} + w.GetCreatedAt() + w = nil + w.GetCreatedAt() } -func TestRunnerGroups_GetTotalCount(tt *testing.T) { +func TestWorkflowJobRun_GetEnvironment(tt *testing.T) { tt.Parallel() - r := &RunnerGroups{} - r.GetTotalCount() - r = nil - r.GetTotalCount() + var zeroValue string + w := &WorkflowJobRun{Environment: &zeroValue} + w.GetEnvironment() + w = &WorkflowJobRun{} + w.GetEnvironment() + w = nil + w.GetEnvironment() } -func TestRunnerLabels_GetID(tt *testing.T) { +func TestWorkflowJobRun_GetHTMLURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + w := &WorkflowJobRun{HTMLURL: &zeroValue} + w.GetHTMLURL() + w = &WorkflowJobRun{} + w.GetHTMLURL() + w = nil + w.GetHTMLURL() +} + +func TestWorkflowJobRun_GetID(tt *testing.T) { tt.Parallel() var zeroValue int64 - r := &RunnerLabels{ID: &zeroValue} - r.GetID() - r = &RunnerLabels{} - r.GetID() - r = nil - r.GetID() + w := &WorkflowJobRun{ID: &zeroValue} + w.GetID() + w = &WorkflowJobRun{} + w.GetID() + w = nil + w.GetID() } -func TestRunnerLabels_GetName(tt *testing.T) { +func TestWorkflowJobRun_GetName(tt *testing.T) { tt.Parallel() var zeroValue string - r := &RunnerLabels{Name: &zeroValue} - r.GetName() - r = &RunnerLabels{} - r.GetName() - r = nil - r.GetName() + w := &WorkflowJobRun{Name: &zeroValue} + w.GetName() + w = &WorkflowJobRun{} + w.GetName() + w = nil + w.GetName() } -func TestRunnerLabels_GetType(tt *testing.T) { +func TestWorkflowJobRun_GetStatus(tt *testing.T) { tt.Parallel() var zeroValue string - r := &RunnerLabels{Type: &zeroValue} - r.GetType() - r = &RunnerLabels{} - r.GetType() - r = nil - r.GetType() + w := &WorkflowJobRun{Status: &zeroValue} + w.GetStatus() + w = &WorkflowJobRun{} + w.GetStatus() + w = nil + w.GetStatus() } -func TestRunners_GetRunners(tt *testing.T) { +func TestWorkflowJobRun_GetUpdatedAt(tt *testing.T) { tt.Parallel() - zeroValue := []*Runner{} - r := &Runners{Runners: zeroValue} - r.GetRunners() - r = &Runners{} - r.GetRunners() - r = nil - r.GetRunners() + var zeroValue Timestamp + w := &WorkflowJobRun{UpdatedAt: &zeroValue} + w.GetUpdatedAt() + w = &WorkflowJobRun{} + w.GetUpdatedAt() + w = nil + w.GetUpdatedAt() } -func TestRunners_GetTotalCount(tt *testing.T) { +func TestWorkflowRun_GetActor(tt *testing.T) { tt.Parallel() - r := &Runners{} - r.GetTotalCount() - r = nil - r.GetTotalCount() + w := &WorkflowRun{} + w.GetActor() + w = nil + w.GetActor() } -func TestSarifAnalysis_GetCheckoutURI(tt *testing.T) { +func TestWorkflowRun_GetArtifactsURL(tt *testing.T) { tt.Parallel() var zeroValue string - s := &SarifAnalysis{CheckoutURI: &zeroValue} - s.GetCheckoutURI() - s = &SarifAnalysis{} - s.GetCheckoutURI() - s = nil - s.GetCheckoutURI() + w := &WorkflowRun{ArtifactsURL: &zeroValue} + w.GetArtifactsURL() + w = &WorkflowRun{} + w.GetArtifactsURL() + w = nil + w.GetArtifactsURL() } -func TestSarifAnalysis_GetCommitSHA(tt *testing.T) { +func TestWorkflowRun_GetCancelURL(tt *testing.T) { tt.Parallel() - s := &SarifAnalysis{} - s.GetCommitSHA() - s = nil - s.GetCommitSHA() + var zeroValue string + w := &WorkflowRun{CancelURL: &zeroValue} + w.GetCancelURL() + w = &WorkflowRun{} + w.GetCancelURL() + w = nil + w.GetCancelURL() } -func TestSarifAnalysis_GetRef(tt *testing.T) { +func TestWorkflowRun_GetCheckSuiteID(tt *testing.T) { tt.Parallel() - s := &SarifAnalysis{} - s.GetRef() - s = nil - s.GetRef() + var zeroValue int64 + w := &WorkflowRun{CheckSuiteID: &zeroValue} + w.GetCheckSuiteID() + w = &WorkflowRun{} + w.GetCheckSuiteID() + w = nil + w.GetCheckSuiteID() } -func TestSarifAnalysis_GetSarif(tt *testing.T) { +func TestWorkflowRun_GetCheckSuiteNodeID(tt *testing.T) { tt.Parallel() - s := &SarifAnalysis{} - s.GetSarif() - s = nil - s.GetSarif() + var zeroValue string + w := &WorkflowRun{CheckSuiteNodeID: &zeroValue} + w.GetCheckSuiteNodeID() + w = &WorkflowRun{} + w.GetCheckSuiteNodeID() + w = nil + w.GetCheckSuiteNodeID() } -func TestSarifAnalysis_GetStartedAt(tt *testing.T) { +func TestWorkflowRun_GetCheckSuiteURL(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - s := &SarifAnalysis{StartedAt: &zeroValue} - s.GetStartedAt() - s = &SarifAnalysis{} - s.GetStartedAt() - s = nil - s.GetStartedAt() + var zeroValue string + w := &WorkflowRun{CheckSuiteURL: &zeroValue} + w.GetCheckSuiteURL() + w = &WorkflowRun{} + w.GetCheckSuiteURL() + w = nil + w.GetCheckSuiteURL() } -func TestSarifAnalysis_GetToolName(tt *testing.T) { +func TestWorkflowRun_GetConclusion(tt *testing.T) { tt.Parallel() var zeroValue string - s := &SarifAnalysis{ToolName: &zeroValue} - s.GetToolName() - s = &SarifAnalysis{} - s.GetToolName() - s = nil - s.GetToolName() + w := &WorkflowRun{Conclusion: &zeroValue} + w.GetConclusion() + w = &WorkflowRun{} + w.GetConclusion() + w = nil + w.GetConclusion() } -func TestSarifAnalysis_GetValidate(tt *testing.T) { +func TestWorkflowRun_GetCreatedAt(tt *testing.T) { tt.Parallel() - var zeroValue bool - s := &SarifAnalysis{Validate: &zeroValue} - s.GetValidate() - s = &SarifAnalysis{} - s.GetValidate() - s = nil - s.GetValidate() + var zeroValue Timestamp + w := &WorkflowRun{CreatedAt: &zeroValue} + w.GetCreatedAt() + w = &WorkflowRun{} + w.GetCreatedAt() + w = nil + w.GetCreatedAt() } -func TestSarifID_GetID(tt *testing.T) { +func TestWorkflowRun_GetDisplayTitle(tt *testing.T) { tt.Parallel() var zeroValue string - s := &SarifID{ID: &zeroValue} - s.GetID() - s = &SarifID{} - s.GetID() - s = nil - s.GetID() + w := &WorkflowRun{DisplayTitle: &zeroValue} + w.GetDisplayTitle() + w = &WorkflowRun{} + w.GetDisplayTitle() + w = nil + w.GetDisplayTitle() } -func TestSarifID_GetURL(tt *testing.T) { +func TestWorkflowRun_GetEvent(tt *testing.T) { tt.Parallel() var zeroValue string - s := &SarifID{URL: &zeroValue} - s.GetURL() - s = &SarifID{} - s.GetURL() - s = nil - s.GetURL() + w := &WorkflowRun{Event: &zeroValue} + w.GetEvent() + w = &WorkflowRun{} + w.GetEvent() + w = nil + w.GetEvent() } -func TestSARIFUpload_GetAnalysesURL(tt *testing.T) { +func TestWorkflowRun_GetHeadBranch(tt *testing.T) { tt.Parallel() var zeroValue string - s := &SARIFUpload{AnalysesURL: &zeroValue} - s.GetAnalysesURL() - s = &SARIFUpload{} - s.GetAnalysesURL() - s = nil - s.GetAnalysesURL() + w := &WorkflowRun{HeadBranch: &zeroValue} + w.GetHeadBranch() + w = &WorkflowRun{} + w.GetHeadBranch() + w = nil + w.GetHeadBranch() } -func TestSARIFUpload_GetProcessingStatus(tt *testing.T) { +func TestWorkflowRun_GetHeadCommit(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SARIFUpload{ProcessingStatus: &zeroValue} - s.GetProcessingStatus() - s = &SARIFUpload{} - s.GetProcessingStatus() - s = nil - s.GetProcessingStatus() + w := &WorkflowRun{} + w.GetHeadCommit() + w = nil + w.GetHeadCommit() } -func TestSBOM_GetSBOM(tt *testing.T) { +func TestWorkflowRun_GetHeadRepository(tt *testing.T) { tt.Parallel() - s := &SBOM{} - s.GetSBOM() - s = nil - s.GetSBOM() + w := &WorkflowRun{} + w.GetHeadRepository() + w = nil + w.GetHeadRepository() } -func TestSBOMInfo_GetCreationInfo(tt *testing.T) { +func TestWorkflowRun_GetHeadSHA(tt *testing.T) { tt.Parallel() - s := &SBOMInfo{} - s.GetCreationInfo() - s = nil - s.GetCreationInfo() + var zeroValue string + w := &WorkflowRun{HeadSHA: &zeroValue} + w.GetHeadSHA() + w = &WorkflowRun{} + w.GetHeadSHA() + w = nil + w.GetHeadSHA() } -func TestSBOMInfo_GetDataLicense(tt *testing.T) { +func TestWorkflowRun_GetHTMLURL(tt *testing.T) { tt.Parallel() var zeroValue string - s := &SBOMInfo{DataLicense: &zeroValue} - s.GetDataLicense() - s = &SBOMInfo{} - s.GetDataLicense() - s = nil - s.GetDataLicense() + w := &WorkflowRun{HTMLURL: &zeroValue} + w.GetHTMLURL() + w = &WorkflowRun{} + w.GetHTMLURL() + w = nil + w.GetHTMLURL() } -func TestSBOMInfo_GetDocumentDescribes(tt *testing.T) { +func TestWorkflowRun_GetID(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - s := &SBOMInfo{DocumentDescribes: zeroValue} - s.GetDocumentDescribes() - s = &SBOMInfo{} - s.GetDocumentDescribes() - s = nil - s.GetDocumentDescribes() + var zeroValue int64 + w := &WorkflowRun{ID: &zeroValue} + w.GetID() + w = &WorkflowRun{} + w.GetID() + w = nil + w.GetID() } -func TestSBOMInfo_GetDocumentNamespace(tt *testing.T) { +func TestWorkflowRun_GetJobsURL(tt *testing.T) { tt.Parallel() var zeroValue string - s := &SBOMInfo{DocumentNamespace: &zeroValue} - s.GetDocumentNamespace() - s = &SBOMInfo{} - s.GetDocumentNamespace() - s = nil - s.GetDocumentNamespace() + w := &WorkflowRun{JobsURL: &zeroValue} + w.GetJobsURL() + w = &WorkflowRun{} + w.GetJobsURL() + w = nil + w.GetJobsURL() } -func TestSBOMInfo_GetName(tt *testing.T) { +func TestWorkflowRun_GetLogsURL(tt *testing.T) { tt.Parallel() var zeroValue string - s := &SBOMInfo{Name: &zeroValue} - s.GetName() - s = &SBOMInfo{} - s.GetName() - s = nil - s.GetName() + w := &WorkflowRun{LogsURL: &zeroValue} + w.GetLogsURL() + w = &WorkflowRun{} + w.GetLogsURL() + w = nil + w.GetLogsURL() } -func TestSBOMInfo_GetPackages(tt *testing.T) { +func TestWorkflowRun_GetName(tt *testing.T) { tt.Parallel() - zeroValue := []*RepoDependencies{} - s := &SBOMInfo{Packages: zeroValue} - s.GetPackages() - s = &SBOMInfo{} - s.GetPackages() - s = nil - s.GetPackages() + var zeroValue string + w := &WorkflowRun{Name: &zeroValue} + w.GetName() + w = &WorkflowRun{} + w.GetName() + w = nil + w.GetName() } -func TestSBOMInfo_GetRelationships(tt *testing.T) { +func TestWorkflowRun_GetNodeID(tt *testing.T) { tt.Parallel() - zeroValue := []*SBOMRelationship{} - s := &SBOMInfo{Relationships: zeroValue} - s.GetRelationships() - s = &SBOMInfo{} - s.GetRelationships() - s = nil - s.GetRelationships() + var zeroValue string + w := &WorkflowRun{NodeID: &zeroValue} + w.GetNodeID() + w = &WorkflowRun{} + w.GetNodeID() + w = nil + w.GetNodeID() } -func TestSBOMInfo_GetSPDXID(tt *testing.T) { +func TestWorkflowRun_GetPath(tt *testing.T) { tt.Parallel() var zeroValue string - s := &SBOMInfo{SPDXID: &zeroValue} - s.GetSPDXID() - s = &SBOMInfo{} - s.GetSPDXID() - s = nil - s.GetSPDXID() + w := &WorkflowRun{Path: &zeroValue} + w.GetPath() + w = &WorkflowRun{} + w.GetPath() + w = nil + w.GetPath() } -func TestSBOMInfo_GetSPDXVersion(tt *testing.T) { +func TestWorkflowRun_GetPreviousAttemptURL(tt *testing.T) { tt.Parallel() var zeroValue string - s := &SBOMInfo{SPDXVersion: &zeroValue} - s.GetSPDXVersion() - s = &SBOMInfo{} - s.GetSPDXVersion() - s = nil - s.GetSPDXVersion() + w := &WorkflowRun{PreviousAttemptURL: &zeroValue} + w.GetPreviousAttemptURL() + w = &WorkflowRun{} + w.GetPreviousAttemptURL() + w = nil + w.GetPreviousAttemptURL() } -func TestSBOMRelationship_GetRelatedSPDXElement(tt *testing.T) { +func TestWorkflowRun_GetPullRequests(tt *testing.T) { tt.Parallel() - s := &SBOMRelationship{} - s.GetRelatedSPDXElement() - s = nil - s.GetRelatedSPDXElement() + zeroValue := []*PullRequest{} + w := &WorkflowRun{PullRequests: zeroValue} + w.GetPullRequests() + w = &WorkflowRun{} + w.GetPullRequests() + w = nil + w.GetPullRequests() } -func TestSBOMRelationship_GetRelationshipType(tt *testing.T) { +func TestWorkflowRun_GetReferencedWorkflows(tt *testing.T) { tt.Parallel() - s := &SBOMRelationship{} - s.GetRelationshipType() - s = nil - s.GetRelationshipType() + zeroValue := []*ReferencedWorkflow{} + w := &WorkflowRun{ReferencedWorkflows: zeroValue} + w.GetReferencedWorkflows() + w = &WorkflowRun{} + w.GetReferencedWorkflows() + w = nil + w.GetReferencedWorkflows() } -func TestSBOMRelationship_GetSPDXElementID(tt *testing.T) { +func TestWorkflowRun_GetRepository(tt *testing.T) { tt.Parallel() - s := &SBOMRelationship{} - s.GetSPDXElementID() - s = nil - s.GetSPDXElementID() + w := &WorkflowRun{} + w.GetRepository() + w = nil + w.GetRepository() } -func TestScanningAnalysis_GetAnalysisKey(tt *testing.T) { +func TestWorkflowRun_GetRerunURL(tt *testing.T) { tt.Parallel() var zeroValue string - s := &ScanningAnalysis{AnalysisKey: &zeroValue} - s.GetAnalysisKey() - s = &ScanningAnalysis{} - s.GetAnalysisKey() - s = nil - s.GetAnalysisKey() + w := &WorkflowRun{RerunURL: &zeroValue} + w.GetRerunURL() + w = &WorkflowRun{} + w.GetRerunURL() + w = nil + w.GetRerunURL() } -func TestScanningAnalysis_GetCategory(tt *testing.T) { +func TestWorkflowRun_GetRunAttempt(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &ScanningAnalysis{Category: &zeroValue} - s.GetCategory() - s = &ScanningAnalysis{} - s.GetCategory() - s = nil - s.GetCategory() + var zeroValue int + w := &WorkflowRun{RunAttempt: &zeroValue} + w.GetRunAttempt() + w = &WorkflowRun{} + w.GetRunAttempt() + w = nil + w.GetRunAttempt() } -func TestScanningAnalysis_GetCommitSHA(tt *testing.T) { +func TestWorkflowRun_GetRunNumber(tt *testing.T) { + tt.Parallel() + var zeroValue int + w := &WorkflowRun{RunNumber: &zeroValue} + w.GetRunNumber() + w = &WorkflowRun{} + w.GetRunNumber() + w = nil + w.GetRunNumber() +} + +func TestWorkflowRun_GetRunStartedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + w := &WorkflowRun{RunStartedAt: &zeroValue} + w.GetRunStartedAt() + w = &WorkflowRun{} + w.GetRunStartedAt() + w = nil + w.GetRunStartedAt() +} + +func TestWorkflowRun_GetStatus(tt *testing.T) { tt.Parallel() var zeroValue string - s := &ScanningAnalysis{CommitSHA: &zeroValue} - s.GetCommitSHA() - s = &ScanningAnalysis{} - s.GetCommitSHA() - s = nil - s.GetCommitSHA() + w := &WorkflowRun{Status: &zeroValue} + w.GetStatus() + w = &WorkflowRun{} + w.GetStatus() + w = nil + w.GetStatus() +} + +func TestWorkflowRun_GetTriggeringActor(tt *testing.T) { + tt.Parallel() + w := &WorkflowRun{} + w.GetTriggeringActor() + w = nil + w.GetTriggeringActor() +} + +func TestWorkflowRun_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + var zeroValue Timestamp + w := &WorkflowRun{UpdatedAt: &zeroValue} + w.GetUpdatedAt() + w = &WorkflowRun{} + w.GetUpdatedAt() + w = nil + w.GetUpdatedAt() +} + +func TestWorkflowRun_GetURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + w := &WorkflowRun{URL: &zeroValue} + w.GetURL() + w = &WorkflowRun{} + w.GetURL() + w = nil + w.GetURL() } -func TestScanningAnalysis_GetCreatedAt(tt *testing.T) { +func TestWorkflowRun_GetWorkflowID(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - s := &ScanningAnalysis{CreatedAt: &zeroValue} - s.GetCreatedAt() - s = &ScanningAnalysis{} - s.GetCreatedAt() - s = nil - s.GetCreatedAt() + var zeroValue int64 + w := &WorkflowRun{WorkflowID: &zeroValue} + w.GetWorkflowID() + w = &WorkflowRun{} + w.GetWorkflowID() + w = nil + w.GetWorkflowID() } -func TestScanningAnalysis_GetDeletable(tt *testing.T) { +func TestWorkflowRun_GetWorkflowURL(tt *testing.T) { + tt.Parallel() + var zeroValue string + w := &WorkflowRun{WorkflowURL: &zeroValue} + w.GetWorkflowURL() + w = &WorkflowRun{} + w.GetWorkflowURL() + w = nil + w.GetWorkflowURL() +} + +func TestWorkflowRunAttemptOptions_GetExcludePullRequests(tt *testing.T) { tt.Parallel() var zeroValue bool - s := &ScanningAnalysis{Deletable: &zeroValue} - s.GetDeletable() - s = &ScanningAnalysis{} - s.GetDeletable() - s = nil - s.GetDeletable() + w := &WorkflowRunAttemptOptions{ExcludePullRequests: &zeroValue} + w.GetExcludePullRequests() + w = &WorkflowRunAttemptOptions{} + w.GetExcludePullRequests() + w = nil + w.GetExcludePullRequests() } -func TestScanningAnalysis_GetEnvironment(tt *testing.T) { +func TestWorkflowRunBill_GetJobRuns(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &ScanningAnalysis{Environment: &zeroValue} - s.GetEnvironment() - s = &ScanningAnalysis{} - s.GetEnvironment() - s = nil - s.GetEnvironment() + zeroValue := []*WorkflowRunJobRun{} + w := &WorkflowRunBill{JobRuns: zeroValue} + w.GetJobRuns() + w = &WorkflowRunBill{} + w.GetJobRuns() + w = nil + w.GetJobRuns() } -func TestScanningAnalysis_GetError(tt *testing.T) { +func TestWorkflowRunBill_GetJobs(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &ScanningAnalysis{Error: &zeroValue} - s.GetError() - s = &ScanningAnalysis{} - s.GetError() - s = nil - s.GetError() + var zeroValue int + w := &WorkflowRunBill{Jobs: &zeroValue} + w.GetJobs() + w = &WorkflowRunBill{} + w.GetJobs() + w = nil + w.GetJobs() } -func TestScanningAnalysis_GetID(tt *testing.T) { +func TestWorkflowRunBill_GetTotalMS(tt *testing.T) { tt.Parallel() var zeroValue int64 - s := &ScanningAnalysis{ID: &zeroValue} - s.GetID() - s = &ScanningAnalysis{} - s.GetID() - s = nil - s.GetID() + w := &WorkflowRunBill{TotalMS: &zeroValue} + w.GetTotalMS() + w = &WorkflowRunBill{} + w.GetTotalMS() + w = nil + w.GetTotalMS() } -func TestScanningAnalysis_GetRef(tt *testing.T) { +func TestWorkflowRunEvent_GetAction(tt *testing.T) { tt.Parallel() var zeroValue string - s := &ScanningAnalysis{Ref: &zeroValue} - s.GetRef() - s = &ScanningAnalysis{} - s.GetRef() - s = nil - s.GetRef() + w := &WorkflowRunEvent{Action: &zeroValue} + w.GetAction() + w = &WorkflowRunEvent{} + w.GetAction() + w = nil + w.GetAction() } -func TestScanningAnalysis_GetResultsCount(tt *testing.T) { +func TestWorkflowRunEvent_GetInstallation(tt *testing.T) { tt.Parallel() - var zeroValue int - s := &ScanningAnalysis{ResultsCount: &zeroValue} - s.GetResultsCount() - s = &ScanningAnalysis{} - s.GetResultsCount() - s = nil - s.GetResultsCount() + w := &WorkflowRunEvent{} + w.GetInstallation() + w = nil + w.GetInstallation() } -func TestScanningAnalysis_GetRulesCount(tt *testing.T) { +func TestWorkflowRunEvent_GetOrg(tt *testing.T) { tt.Parallel() - var zeroValue int - s := &ScanningAnalysis{RulesCount: &zeroValue} - s.GetRulesCount() - s = &ScanningAnalysis{} - s.GetRulesCount() - s = nil - s.GetRulesCount() + w := &WorkflowRunEvent{} + w.GetOrg() + w = nil + w.GetOrg() } -func TestScanningAnalysis_GetSarifID(tt *testing.T) { +func TestWorkflowRunEvent_GetRepo(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &ScanningAnalysis{SarifID: &zeroValue} - s.GetSarifID() - s = &ScanningAnalysis{} - s.GetSarifID() - s = nil - s.GetSarifID() + w := &WorkflowRunEvent{} + w.GetRepo() + w = nil + w.GetRepo() } -func TestScanningAnalysis_GetTool(tt *testing.T) { +func TestWorkflowRunEvent_GetSender(tt *testing.T) { tt.Parallel() - s := &ScanningAnalysis{} - s.GetTool() - s = nil - s.GetTool() + w := &WorkflowRunEvent{} + w.GetSender() + w = nil + w.GetSender() } -func TestScanningAnalysis_GetURL(tt *testing.T) { +func TestWorkflowRunEvent_GetWorkflow(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &ScanningAnalysis{URL: &zeroValue} - s.GetURL() - s = &ScanningAnalysis{} - s.GetURL() - s = nil - s.GetURL() + w := &WorkflowRunEvent{} + w.GetWorkflow() + w = nil + w.GetWorkflow() } -func TestScanningAnalysis_GetWarning(tt *testing.T) { +func TestWorkflowRunEvent_GetWorkflowRun(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &ScanningAnalysis{Warning: &zeroValue} - s.GetWarning() - s = &ScanningAnalysis{} - s.GetWarning() - s = nil - s.GetWarning() + w := &WorkflowRunEvent{} + w.GetWorkflowRun() + w = nil + w.GetWorkflowRun() } -func TestSCIMEnterpriseAttribute_GetOperations(tt *testing.T) { +func TestWorkflowRunJobRun_GetDurationMS(tt *testing.T) { tt.Parallel() - zeroValue := []*SCIMEnterpriseAttributeOperation{} - s := &SCIMEnterpriseAttribute{Operations: zeroValue} - s.GetOperations() - s = &SCIMEnterpriseAttribute{} - s.GetOperations() - s = nil - s.GetOperations() + var zeroValue int64 + w := &WorkflowRunJobRun{DurationMS: &zeroValue} + w.GetDurationMS() + w = &WorkflowRunJobRun{} + w.GetDurationMS() + w = nil + w.GetDurationMS() } -func TestSCIMEnterpriseAttribute_GetSchemas(tt *testing.T) { +func TestWorkflowRunJobRun_GetJobID(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - s := &SCIMEnterpriseAttribute{Schemas: zeroValue} - s.GetSchemas() - s = &SCIMEnterpriseAttribute{} - s.GetSchemas() - s = nil - s.GetSchemas() + var zeroValue int + w := &WorkflowRunJobRun{JobID: &zeroValue} + w.GetJobID() + w = &WorkflowRunJobRun{} + w.GetJobID() + w = nil + w.GetJobID() } -func TestSCIMEnterpriseAttributeOperation_GetOp(tt *testing.T) { +func TestWorkflowRuns_GetTotalCount(tt *testing.T) { tt.Parallel() - s := &SCIMEnterpriseAttributeOperation{} - s.GetOp() - s = nil - s.GetOp() + var zeroValue int + w := &WorkflowRuns{TotalCount: &zeroValue} + w.GetTotalCount() + w = &WorkflowRuns{} + w.GetTotalCount() + w = nil + w.GetTotalCount() } -func TestSCIMEnterpriseAttributeOperation_GetPath(tt *testing.T) { +func TestWorkflowRuns_GetWorkflowRuns(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SCIMEnterpriseAttributeOperation{Path: &zeroValue} - s.GetPath() - s = &SCIMEnterpriseAttributeOperation{} - s.GetPath() - s = nil - s.GetPath() + zeroValue := []*WorkflowRun{} + w := &WorkflowRuns{WorkflowRuns: zeroValue} + w.GetWorkflowRuns() + w = &WorkflowRuns{} + w.GetWorkflowRuns() + w = nil + w.GetWorkflowRuns() } -func TestSCIMEnterpriseAttributeOperation_GetValue(tt *testing.T) { +func TestWorkflowRunUsage_GetBillable(tt *testing.T) { tt.Parallel() - s := &SCIMEnterpriseAttributeOperation{} - s.GetValue() - s = nil - s.GetValue() + w := &WorkflowRunUsage{} + w.GetBillable() + w = nil + w.GetBillable() } -func TestSCIMEnterpriseDisplayReference_GetDisplay(tt *testing.T) { +func TestWorkflowRunUsage_GetRunDurationMS(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SCIMEnterpriseDisplayReference{Display: &zeroValue} - s.GetDisplay() - s = &SCIMEnterpriseDisplayReference{} - s.GetDisplay() - s = nil - s.GetDisplay() + var zeroValue int64 + w := &WorkflowRunUsage{RunDurationMS: &zeroValue} + w.GetRunDurationMS() + w = &WorkflowRunUsage{} + w.GetRunDurationMS() + w = nil + w.GetRunDurationMS() } -func TestSCIMEnterpriseDisplayReference_GetRef(tt *testing.T) { +func TestWorkflows_GetTotalCount(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SCIMEnterpriseDisplayReference{Ref: &zeroValue} - s.GetRef() - s = &SCIMEnterpriseDisplayReference{} - s.GetRef() - s = nil - s.GetRef() + var zeroValue int + w := &Workflows{TotalCount: &zeroValue} + w.GetTotalCount() + w = &Workflows{} + w.GetTotalCount() + w = nil + w.GetTotalCount() } -func TestSCIMEnterpriseDisplayReference_GetValue(tt *testing.T) { +func TestWorkflows_GetWorkflows(tt *testing.T) { tt.Parallel() - s := &SCIMEnterpriseDisplayReference{} - s.GetValue() - s = nil - s.GetValue() + zeroValue := []*Workflow{} + w := &Workflows{Workflows: zeroValue} + w.GetWorkflows() + w = &Workflows{} + w.GetWorkflows() + w = nil + w.GetWorkflows() } -func TestSCIMEnterpriseGroupAttributes_GetDisplayName(tt *testing.T) { +func TestWorkflowsBranchRule_GetParameters(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SCIMEnterpriseGroupAttributes{DisplayName: &zeroValue} - s.GetDisplayName() - s = &SCIMEnterpriseGroupAttributes{} - s.GetDisplayName() - s = nil - s.GetDisplayName() + w := &WorkflowsBranchRule{} + w.GetParameters() + w = nil + w.GetParameters() } -func TestSCIMEnterpriseGroupAttributes_GetExternalID(tt *testing.T) { +func TestWorkflowsPermissions_GetRequireApprovalForForkPRWorkflows(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SCIMEnterpriseGroupAttributes{ExternalID: &zeroValue} - s.GetExternalID() - s = &SCIMEnterpriseGroupAttributes{} - s.GetExternalID() - s = nil - s.GetExternalID() + var zeroValue bool + w := &WorkflowsPermissions{RequireApprovalForForkPRWorkflows: &zeroValue} + w.GetRequireApprovalForForkPRWorkflows() + w = &WorkflowsPermissions{} + w.GetRequireApprovalForForkPRWorkflows() + w = nil + w.GetRequireApprovalForForkPRWorkflows() } -func TestSCIMEnterpriseGroupAttributes_GetID(tt *testing.T) { +func TestWorkflowsPermissions_GetRunWorkflowsFromForkPullRequests(tt *testing.T) { tt.Parallel() - var zeroValue string - s := &SCIMEnterpriseGroupAttributes{ID: &zeroValue} - s.GetID() - s = &SCIMEnterpriseGroupAttributes{} - s.GetID() - s = nil - s.GetID() + var zeroValue bool + w := &WorkflowsPermissions{RunWorkflowsFromForkPullRequests: &zeroValue} + w.GetRunWorkflowsFromForkPullRequests() + w = &WorkflowsPermissions{} + w.GetRunWorkflowsFromForkPullRequests() + w = nil + w.GetRunWorkflowsFromForkPullRequests() } -func TestSCIMEnterpriseGroupAttributes_GetMembers(tt *testing.T) { +func TestWorkflowsPermissions_GetSendSecretsAndVariables(tt *testing.T) { tt.Parallel() - zeroValue := []*SCIMEnterpriseDisplayReference{} - s := &SCIMEnterpriseGroupAttributes{Members: zeroValue} - s.GetMembers() - s = &SCIMEnterpriseGroupAttributes{} - s.GetMembers() - s = nil - s.GetMembers() + var zeroValue bool + w := &WorkflowsPermissions{SendSecretsAndVariables: &zeroValue} + w.GetSendSecretsAndVariables() + w = &WorkflowsPermissions{} + w.GetSendSecretsAndVariables() + w = nil + w.GetSendSecretsAndVariables() } -func TestSCIMEnterpriseGroupAttributes_GetMeta(tt *testing.T) { +func TestWorkflowsPermissions_GetSendWriteTokensToWorkflows(tt *testing.T) { tt.Parallel() - s := &SCIMEnterpriseGroupAttributes{} - s.GetMeta() - s = nil - s.GetMeta() + var zeroValue bool + w := &WorkflowsPermissions{SendWriteTokensToWorkflows: &zeroValue} + w.GetSendWriteTokensToWorkflows() + w = &WorkflowsPermissions{} + w.GetSendWriteTokensToWorkflows() + w = nil + w.GetSendWriteTokensToWorkflows() } -func TestSCIMEnterpriseGroupAttributes_GetSchemas(tt *testing.T) { +func TestWorkflowsPermissionsOpt_GetRequireApprovalForForkPRWorkflows(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - s := &SCIMEnterpriseGroupAttributes{Schemas: zeroValue} - s.GetSchemas() - s = &SCIMEnterpriseGroupAttributes{} - s.GetSchemas() - s = nil - s.GetSchemas() + var zeroValue bool + w := &WorkflowsPermissionsOpt{RequireApprovalForForkPRWorkflows: &zeroValue} + w.GetRequireApprovalForForkPRWorkflows() + w = &WorkflowsPermissionsOpt{} + w.GetRequireApprovalForForkPRWorkflows() + w = nil + w.GetRequireApprovalForForkPRWorkflows() } -func TestSCIMEnterpriseGroups_GetItemsPerPage(tt *testing.T) { +func TestWorkflowsPermissionsOpt_GetRunWorkflowsFromForkPullRequests(tt *testing.T) { tt.Parallel() - var zeroValue int - s := &SCIMEnterpriseGroups{ItemsPerPage: &zeroValue} - s.GetItemsPerPage() - s = &SCIMEnterpriseGroups{} - s.GetItemsPerPage() - s = nil - s.GetItemsPerPage() + w := &WorkflowsPermissionsOpt{} + w.GetRunWorkflowsFromForkPullRequests() + w = nil + w.GetRunWorkflowsFromForkPullRequests() } -func TestSCIMEnterpriseGroups_GetResources(tt *testing.T) { +func TestWorkflowsPermissionsOpt_GetSendSecretsAndVariables(tt *testing.T) { tt.Parallel() - zeroValue := []*SCIMEnterpriseGroupAttributes{} - s := &SCIMEnterpriseGroups{Resources: zeroValue} - s.GetResources() - s = &SCIMEnterpriseGroups{} - s.GetResources() - s = nil - s.GetResources() + var zeroValue bool + w := &WorkflowsPermissionsOpt{SendSecretsAndVariables: &zeroValue} + w.GetSendSecretsAndVariables() + w = &WorkflowsPermissionsOpt{} + w.GetSendSecretsAndVariables() + w = nil + w.GetSendSecretsAndVariables() } -func TestSCIMEnterpriseGroups_GetSchemas(tt *testing.T) { +func TestWorkflowsPermissionsOpt_GetSendWriteTokensToWorkflows(tt *testing.T) { tt.Parallel() - zeroValue := []string{} - s := &SCIMEnterpriseGroups{Schemas: zeroValue} - s.GetSchemas() - s = &SCIMEnterpriseGroups{} - s.GetSchemas() - s = nil - s.GetSchemas() + var zeroValue bool + w := &WorkflowsPermissionsOpt{SendWriteTokensToWorkflows: &zeroValue} + w.GetSendWriteTokensToWorkflows() + w = &WorkflowsPermissionsOpt{} + w.GetSendWriteTokensToWorkflows() + w = nil + w.GetSendWriteTokensToWorkflows() } -func TestSCIMEnterpriseGroups_GetStartIndex(tt *testing.T) { +func TestWorkflowsRuleParameters_GetDoNotEnforceOnCreate(tt *testing.T) { tt.Parallel() - var zeroValue int - s := &SCIMEnterpriseGroups{StartIndex: &zeroValue} - s.GetStartIndex() - s = &SCIMEnterpriseGroups{} - s.GetStartIndex() - s = nil - s.GetStartIndex() + var zeroValue bool + w := &WorkflowsRuleParameters{DoNotEnforceOnCreate: &zeroValue} + w.GetDoNotEnforceOnCreate() + w = &WorkflowsRuleParameters{} + w.GetDoNotEnforceOnCreate() + w = nil + w.GetDoNotEnforceOnCreate() } -func TestSCIMEnterpriseGroups_GetTotalResults(tt *testing.T) { +func TestWorkflowsRuleParameters_GetWorkflows(tt *testing.T) { tt.Parallel() - var zeroValue int - s := &SCIMEnterpriseGroups{TotalResults: &zeroValue} - s.GetTotalResults() - s = &SCIMEnterpriseGroups{} - s.GetTotalResults() - s = nil - s.GetTotalResults() + zeroValue := []*RuleWorkflow{} + w := &WorkflowsRuleParameters{Workflows: zeroValue} + w.GetWorkflows() + w = &WorkflowsRuleParameters{} + w.GetWorkflows() + w = nil + w.GetWorkflows() } -func TestSCIMEnterpriseMeta_GetCreated(tt *testing.T) { +func TestWorkflowUsage_GetBillable(tt *testing.T) { tt.Parallel() - var zeroValue Timestamp - s := &SCIMEnterpriseMeta{Created: &zeroValue} - s.GetCreated() - s = &SCIMEnterpriseMeta{} - s.GetCreated() \ No newline at end of file + w := &WorkflowUsage{} + w.GetBillable() + w = nil + w.GetBillable() +}