code: func (o *BackendService) SetNamedPorts(v *NamedPorts) *BackendService {
  	if o.NamedPorts = v; o.NamedPorts == nil {
  		o.nullFields = append(o.nullFields, "NamedPort")
  	}
  	return o
  }
docs: // SetNamedPorts sets the named port object