// QName returns the name of the question in the request.
// If the request is malformed the root zone is returned.
977044
func (r *Request) QName() string {
	if r.Req == nil {
		return "."
	}
	if len(r.Req.Question) == 0 {
		return "."
	}

	return dns.Name(r.Req.Question[0].Name).String()
}
765233
func (c *UnitStateListCall) UnitName(unitName string) *UnitStateListCall {
	c.urlParams_.Set("unitName", unitName)
	return c
}
467007
func (r Network) GetName() (resp string, err error) {
	err = r.Session.DoRequest("SoftLayer_Network", "getName", nil, &r.Options, &resp)
	return
}
921276
func (s *UpdateByQueryService) Q(q string) *UpdateByQueryService {
	s.q = q
	return s
}
61208
func (t *Template) GetAWSSQSQueueWithName(name string) (*resources.AWSSQSQueue, error) {
	if untyped, ok := t.Resources[name]; ok {
		switch resource := untyped.(type) {
		case *resources.AWSSQSQueue:
			return resource, nil
		}
	}
	return nil, fmt.Errorf("resource %q of type AWSSQSQueue not found", name)
}
706857
func (s *IndicesGetSettingsService) Name(name ...string) *IndicesGetSettingsService {
	s.name = append(s.name, name...)
	return s
}
268766
func (p *Client) Name() string {
	p.RLock()
	defer p.RUnlock()
	return p.name
}
512745
func (s *LookupService) Name(ctx context.Context, resource platform.ResourceType, id platform.ID) (string, error) {
	return s.NameFn(ctx, resource, id)
}
42740
func (p *Prefixed) Name(id string) string {
	return p.Prefix + id + p.Suffix
}
50897
func (q *ParentIdQuery) QueryName(queryName string) *ParentIdQuery {
	q.queryName = queryName
	return q
}
382541
func (s *Schema) FieldsName(name string, includeDynamic, showDefaults bool) (*SolrResponse, error) {
	params := &url.Values{}
	if includeDynamic {
		params.Set("includeDynamic", "true")
	}
	if showDefaults {
		params.Set("showDefaults", "true")
	}
	return s.Get(fmt.Sprintf("fields/%s", name), params)
}
1024670
func (s *IndicesPutTemplateService) Name(name string) *IndicesPutTemplateService {
	s.name = name
	return s
}
449114
func Name(name string) Option {
	return func(o *Options) error {
		o.Name = name
		return nil
	}
}
845499
func (q WildcardQuery) Name(name string) WildcardQuery {
	q.name = name
	return q
}
221204
func (c *UsergroupsUpdateCall) Name(name string) *UsergroupsUpdateCall {
	c.name = name
	return c
}
351180
func (q *NestedQuery) QueryName(queryName string) *NestedQuery {
	q.queryName = queryName
	return q
}
436371
func (user User) Name() string {
	return fmt.Sprintf("%s %s", user.FirstName, user.LastName)
}