code: public void marshall(MLModel mLModel, ProtocolMarshaller protocolMarshaller) {
  
          if (mLModel == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(mLModel.getMLModelId(), MLMODELID_BINDING);
              protocolMarshaller.marshall(mLModel.getTrainingDataSourceId(), TRAININGDATASOURCEID_BINDING);
              protocolMarshaller.marshall(mLModel.getCreatedByIamUser(), CREATEDBYIAMUSER_BINDING);
              protocolMarshaller.marshall(mLModel.getCreatedAt(), CREATEDAT_BINDING);
              protocolMarshaller.marshall(mLModel.getLastUpdatedAt(), LASTUPDATEDAT_BINDING);
              protocolMarshaller.marshall(mLModel.getName(), NAME_BINDING);
              protocolMarshaller.marshall(mLModel.getStatus(), STATUS_BINDING);
              protocolMarshaller.marshall(mLModel.getSizeInBytes(), SIZEINBYTES_BINDING);
              protocolMarshaller.marshall(mLModel.getEndpointInfo(), ENDPOINTINFO_BINDING);
              protocolMarshaller.marshall(mLModel.getTrainingParameters(), TRAININGPARAMETERS_BINDING);
              protocolMarshaller.marshall(mLModel.getInputDataLocationS3(), INPUTDATALOCATIONS3_BINDING);
              protocolMarshaller.marshall(mLModel.getAlgorithm(), ALGORITHM_BINDING);
              protocolMarshaller.marshall(mLModel.getMLModelType(), MLMODELTYPE_BINDING);
              protocolMarshaller.marshall(mLModel.getScoreThreshold(), SCORETHRESHOLD_BINDING);
              protocolMarshaller.marshall(mLModel.getScoreThresholdLastUpdatedAt(), SCORETHRESHOLDLASTUPDATEDAT_BINDING);
              protocolMarshaller.marshall(mLModel.getMessage(), MESSAGE_BINDING);
              protocolMarshaller.marshall(mLModel.getComputeTime(), COMPUTETIME_BINDING);
              protocolMarshaller.marshall(mLModel.getFinishedAt(), FINISHEDAT_BINDING);
              protocolMarshaller.marshall(mLModel.getStartedAt(), STARTEDAT_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.