A type in elastic search is approximately equivalent to a table or collection in a relational datastore. While an index can have multiple types, this ODM maps each type in an index maps to a class.
Inheritance: implements Cake\Datasource\RepositoryInterface, implements Cake\Event\EventDispatcherInterface, use trait Cake\Event\EventManagerTrait, use trait Cake\Datasource\RulesAwareTrait, use trait Cake\Validation\ValidatorAwareTrait
 /**
  * Sets the type name to use for querying
  *
  * @param string $name The name of the type(s) to query
  * @return string
  */
 public function name($name = null)
 {
     if ($name === 'audit_logs') {
         return $this->_name = '';
     }
     return parent::name($name);
 }
 /**
  * Returns data and options prepared to validate and marshall.
  *
  * @param array $data The data to prepare.
  * @param array $options The options passed to this marshaller.
  * @return array An array containing prepared data and options.
  */
 protected function _prepareDataAndOptions($data, $options)
 {
     $options += ['validate' => true];
     $data = new \ArrayObject($data);
     $options = new \ArrayObject($options);
     $this->type->dispatchEvent('Model.beforeMarshal', compact('data', 'options'));
     return [(array) $data, (array) $options];
 }