func (a *Alert) GetState() string {
	if a == nil || a.State == nil {
		return ""
	}
	return *a.State
}
func (a *Alert) GetState() string {
	if a == nil || a.State == nil {
		return ""
	}
	return *a.State
}
func ( a * Alert ) GetState ( ) string { if a == nil || a . State == nil { return " " } return * a . State }
// GetState returns the State field if non-nil, zero value otherwise.
GetState returns the State field if non - nil zero value otherwise .