Class GetTrainedModelsResponse

java.lang.Object
org.elasticsearch.client.ml.GetTrainedModelsResponse

public class GetTrainedModelsResponse
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    static org.elasticsearch.common.ParseField COUNT  
    static org.elasticsearch.common.ParseField TRAINED_MODEL_CONFIGS  
  • Constructor Summary

    Constructors
    Constructor Description
    GetTrainedModelsResponse​(java.util.List<TrainedModelConfig> trainedModels, java.lang.Long count)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object o)  
    static GetTrainedModelsResponse fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser)  
    java.lang.Long getCount()  
    java.util.List<TrainedModelConfig> getTrainedModels()  
    int hashCode()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • TRAINED_MODEL_CONFIGS

      public static final org.elasticsearch.common.ParseField TRAINED_MODEL_CONFIGS
    • COUNT

      public static final org.elasticsearch.common.ParseField COUNT
  • Constructor Details

    • GetTrainedModelsResponse

      public GetTrainedModelsResponse​(java.util.List<TrainedModelConfig> trainedModels, java.lang.Long count)
  • Method Details

    • fromXContent

      public static GetTrainedModelsResponse fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser)
    • getTrainedModels

      public java.util.List<TrainedModelConfig> getTrainedModels()
    • getCount

      public java.lang.Long getCount()
      Returns:
      The total count of the trained models that matched the ID pattern.
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object