code: func (h *HostmapRequest) GetApmQuery() WidgetApmOrLogQuery {
  	if h == nil || h.ApmQuery == nil {
  		return WidgetApmOrLogQuery{}
  	}
  	return *h.ApmQuery
  }
docs: // GetApmQuery returns the ApmQuery field if non-nil, zero value otherwise.