code: func (p *Params) GetSortOk() (string, bool) {
  	if p == nil || p.Sort == nil {
  		return "", false
  	}
  	return *p.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.