code: func (a *ApmOrLogQueryGroupBy) GetSort() ApmOrLogQueryGroupBySort {
  	if a == nil || a.Sort == nil {
  		return ApmOrLogQueryGroupBySort{}
  	}
  	return *a.Sort
  }
docs: // GetSort returns the Sort field if non-nil, zero value otherwise.