public record PredictionBatch (
String id,
String modelId,
String fieldConfigurationId,
String field,
String enrichmentType,
Double threshold,
String creationDate,
String status,
Integer currentPage,
Boolean superseded,
Map <
String ,
Object > primaryGrouping)
extends Record
Constructor Summary
Constructors
PredictionBatch (String id,
String modelId,
String fieldConfigurationId,
String field,
String enrichmentType,
Double threshold,
String creationDate,
String status,
Integer currentPage,
Boolean superseded,
Map <String ,Object > primaryGrouping)
Creates an instance of a PredictionBatch record class.
Method Summary
All Methods Instance Methods Concrete Methods
Returns the value of the creationDate record component.
Returns the value of the currentPage record component.
Returns the value of the enrichmentType record component.
final boolean
Indicates whether some other object is "equal to" this one.
Returns the value of the field record component.
Returns the value of the fieldConfigurationId record component.
final int
Returns a hash code value for this object.
Returns the value of the id record component.
Returns the value of the modelId record component.
Returns the value of the primaryGrouping record component.
Returns the value of the status record component.
Returns the value of the superseded record component.
Returns the value of the threshold record component.
Returns a string representation of this record class.
Constructor Details
PredictionBatch
public PredictionBatch (String id,
String modelId,
String fieldConfigurationId,
String field,
String enrichmentType,
Double threshold,
String creationDate,
String status,
Integer currentPage,
Boolean superseded,
Map <String ,Object > primaryGrouping)
Creates an instance of a PredictionBatch record class.
Parameters:
id - the value for the id record component
modelId - the value for the modelId record component
fieldConfigurationId - the value for the fieldConfigurationId record component
field - the value for the field record component
enrichmentType - the value for the enrichmentType record component
threshold - the value for the threshold record component
creationDate - the value for the creationDate record component
status - the value for the status record component
currentPage - the value for the currentPage record component
superseded - the value for the superseded record component
primaryGrouping - the value for the primaryGrouping record component
Method Details
toString
public final String toString ()
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
Specified by:
toString in class Record
Returns:
a string representation of this object
hashCode
public final int hashCode ()
Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
Specified by:
hashCode in class Record
Returns:
a hash code value for this object
equals
public final boolean equals (Object o)
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with
Objects::equals(Object,Object).
Specified by:
equals in class Record
Parameters:
o - the object with which to compare
Returns:
true if this object is the same as the o argument; false otherwise.
id
Returns the value of the id record component.
Returns:
the value of the id record component
modelId
Returns the value of the modelId record component.
Returns:
the value of the modelId record component
fieldConfigurationId
public String fieldConfigurationId ()
Returns the value of the fieldConfigurationId record component.
Returns:
the value of the fieldConfigurationId record component
field
Returns the value of the field record component.
Returns:
the value of the field record component
enrichmentType
public String enrichmentType ()
Returns the value of the enrichmentType record component.
Returns:
the value of the enrichmentType record component
threshold
Returns the value of the threshold record component.
Returns:
the value of the threshold record component
creationDate
Returns the value of the creationDate record component.
Returns:
the value of the creationDate record component
status
Returns the value of the status record component.
Returns:
the value of the status record component
currentPage
Returns the value of the currentPage record component.
Returns:
the value of the currentPage record component
superseded
Returns the value of the superseded record component.
Returns:
the value of the superseded record component
primaryGrouping
Returns the value of the primaryGrouping record component.
Returns:
the value of the primaryGrouping record component