docs: public void marshall(EntityRecognizerMetadata entityRecognizerMetadata, ProtocolMarshaller protocolMarshaller) {
  
          if (entityRecognizerMetadata == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(entityRecognizerMetadata.getNumberOfTrainedDocuments(), NUMBEROFTRAINEDDOCUMENTS_BINDING);
              protocolMarshaller.marshall(entityRecognizerMetadata.getNumberOfTestDocuments(), NUMBEROFTESTDOCUMENTS_BINDING);
              protocolMarshaller.marshall(entityRecognizerMetadata.getEvaluationMetrics(), EVALUATIONMETRICS_BINDING);
              protocolMarshaller.marshall(entityRecognizerMetadata.getEntityTypes(), ENTITYTYPES_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }