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