code: func (d *DistributionRequest) GetApmQueryOk() (WidgetApmOrLogQuery, bool) {
  	if d == nil || d.ApmQuery == nil {
  		return WidgetApmOrLogQuery{}, false
  	}
  	return *d.ApmQuery, true
  }
docs: // GetApmQueryOk returns a tuple with the ApmQuery field if it's non-nil, zero value otherwise
  // and a boolean to check if the value has been set.