func (a *Alert) GetState() string {
	if a == nil || a.State == nil {
		return ""
	}
	return *a.State
}
GetState returns the State field if it's non-nil, zero value otherwise.
package github
import (
	"encoding/json"
	"time"
)
func (a *AbuseRateLimitError) GetRetryAfter() time.Duration {
	if a == nil || a.RetryAfter == nil {
		return 0
	}
	return *a.RetryAfter
}
func (a *ActionsAllowed) GetGithubOwnedAllowed() bool {
	if a == nil || a.GithubOwnedAllowed == nil {
		return false
	}
	return *a.GithubOwnedAllowed
}
func (a *ActionsAllowed) GetVerifiedAllowed() bool {
	if a == nil || a.VerifiedAllowed == nil {
		return false
	}
	return *a.VerifiedAllowed
}
func (a *ActionsPermissions) GetAllowedActions() string {
	if a == nil || a.AllowedActions == nil {
		return ""
	}
	return *a.AllowedActions
}
func (a *ActionsPermissions) GetEnabledRepositories() string {
	if a == nil || a.EnabledRepositories == nil {
		return ""
	}
	return *a.EnabledRepositories
}
func (a *ActionsPermissions) GetSelectedActionsURL() string {
	if a == nil || a.SelectedActionsURL == nil {
		return ""
	}
	return *a.SelectedActionsURL
}
func (a *AdminEnforcement) GetURL() string {
	if a == nil || a.URL == nil {
		return ""
	}
	return *a.URL
}
func (a *AdminStats) GetComments() *CommentStats {
	if a == nil {
		return nil
	}
	return a.Comments
}
func (a *AdminStats) GetGists() *GistStats {
	if a == nil {
		return nil
	}
	return a.Gists
}
func (a *AdminStats) GetHooks() *HookStats {
	if a == nil {
		return nil
	}
	return a.Hooks
}
func (a *AdminStats) GetIssues() *IssueStats {
	if a == nil {
		return nil
	}
	return a.Issues
}
func (a *AdminStats) GetMilestones() *MilestoneStats {
	if a == nil {
		return nil
	}
	return a.Milestones
}
func (a *AdminStats) GetOrgs() *OrgStats {
	if a == nil {
		return nil
	}
	return a.Orgs
}
func (a *AdminStats) GetPages() *PageStats {
	if a == nil {
		return nil
	}
	return a.Pages
}
func (a *AdminStats) GetPulls() *PullStats {
	if a == nil {
		return nil
	}
	return a.Pulls
}
func (a *AdminStats) GetRepos() *RepoStats {
	if a == nil {
		return nil
	}
	return a.Repos
}
func (a *AdminStats) GetUsers() *UserStats {
	if a == nil {
		return nil
	}
	return a.Users
}
func (a *Alert) GetClosedAt() Timestamp {
	if a == nil || a.ClosedAt == nil {
		return Timestamp{}
	}
	return *a.ClosedAt
}
func (a *Alert) GetClosedBy() *User {
	if a == nil {
		return nil
	}
	return a.ClosedBy
}
func (a *Alert) GetCreatedAt() Timestamp {
	if a == nil || a.CreatedAt == nil {
		return Timestamp{}
	}
	return *a.CreatedAt
}
func (a *Alert) GetDismissedAt() Timestamp {
	if a == nil || a.DismissedAt == nil {
		return Timestamp{}
	}
	return *a.DismissedAt
}
func (a *Alert) GetDismissedBy() *User {
	if a == nil {
		return nil
	}
	return a.DismissedBy
}
func (a *Alert) GetDismissedReason() string {
	if a == nil || a.DismissedReason == nil {
		return ""
	}
	return *a.DismissedReason
}
func (a *Alert) GetHTMLURL() string {
	if a == nil || a.HTMLURL == nil {
		return ""
	}
	return *a.HTMLURL
}
func (a *Alert) GetInstancesURL() string {
	if a == nil || a.InstancesURL == nil {
		return ""
	}
	return *a.InstancesURL
}
func (a *Alert) GetMostRecentInstance() *MostRecentInstance {
	if a == nil {
		return nil
	}
	return a.MostRecentInstance
}
func (a *Alert) GetRule() *Rule {
	if a == nil {
		return nil
	}
	return a.Rule
}
func (a *Alert) GetRuleDescription() string {
	if a == nil || a.RuleDescription == nil {
		return ""
	}
	return *a.RuleDescription
}
func (a *Alert) GetRuleID() string {
	if a == nil || a.RuleID == nil {
		return ""
	}
	return *a.RuleID
}
func (a *Alert) GetRuleSeverity() string {
	if a == nil || a.RuleSeverity == nil {
		return ""
	}
	return *a.RuleSeverity
}