func (e *Event) GetResource() string {
	if e == nil || e.Resource == nil {
		return ""
	}
	return *e.Resource
}
func (e *Event) GetResource() string {
	if e == nil || e.Resource == nil {
		return ""
	}
	return *e.Resource
}
func ( e * Event ) GetResource ( ) string { if e == nil || e . Resource == nil { return " " } return * e . Resource }
// GetResource returns the Resource field if non-nil, zero value otherwise.
GetResource returns the Resource field if non - nil zero value otherwise .