code: func (a *Client) GetVMByCid(params *GetVMByCidParams) (*GetVMByCidOK, error) {
  	// TODO: Validate the params before sending
  	if params == nil {
  		params = NewGetVMByCidParams()
  	}
  
  	result, err := a.transport.Submit(&runtime.ClientOperation{
  		ID:                 "getVmByCid",
  		Method:             "GET",
  		PathPattern:        "/vms/{cid}",
  		ProducesMediaTypes: []string{"application/json"},
  		ConsumesMediaTypes: []string{""},
  		Schemes:            []string{"http"},
  		Params:             params,
  		Reader:             &GetVMByCidReader{formats: a.formats},
  		Context:            params.Context,
  	})
  	if err != nil {
  		return nil, err
  	}
  	return result.(*GetVMByCidOK), nil
  
  }
docs: /*
  GetVMByCid finds vm by ID
  
  Returns a vm when ID < 10.  ID > 10 or nonintegers will simulate API error conditions
  */