func()

in common/go/client/client.go [731:751]


func (client *Client) RequestWithoutModel (model interface{}, method *string, path *string, runtime *util.RuntimeOptions) (_result map[string]interface{}, _err error) {
  _err = util.ValidateModel(model)
  if _err != nil {
    return _result, _err
  }
  req := &OpenApiRequest{
    Body: util.ToMap(model),
  }
  openapiParams := &Params{
    Pathname: path,
    Method: method,
    BodyType: tea.String("none"),
  }
  _result = make(map[string]interface{})
  _body, _err := client.CallApi(openapiParams, req, runtime)
  if _err != nil {
    return _result, _err
  }
  _result = _body
  return _result, _err
}