datadog-accessors.go
func (c *Check) GetHostName() string {
	if c == nil || c.HostName == nil {
		return ""
	}
	return *c.HostName
}
func (c *Check) GetHostName() string {
	if c == nil || c.HostName == nil {
		return ""
	}
	return *c.HostName
}
func ( c * Check ) GetHostName ( ) string { if c == nil || c . HostName == nil { return " " } return * c . HostName }
// GetHostName returns the HostName field if non-nil, zero value otherwise.
GetHostName returns the HostName field if non - nil zero value otherwise .