Record Class ModelConfigDescriptor
java.lang.Object
java.lang.Record
ai.timefold.solver.service.definition.internal.descriptor.ModelConfigDescriptor
- Record Components:
schemaTypeRef- the OpenAPI schema type referenceconfigParameters- the list of model configuration parameters
public record ModelConfigDescriptor(String schemaTypeRef, List<ModelConfigParameter> configParameters)
extends Record
Describes a model configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionModelConfigDescriptor(String schemaTypeRef, List<ModelConfigParameter> configParameters) Creates an instance of aModelConfigDescriptorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconfigParametersrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theschemaTypeRefrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ModelConfigDescriptor
Creates an instance of aModelConfigDescriptorrecord class.- Parameters:
schemaTypeRef- the value for theschemaTypeRefrecord componentconfigParameters- the value for theconfigParametersrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object). -
schemaTypeRef
Returns the value of theschemaTypeRefrecord component.- Returns:
- the value of the
schemaTypeRefrecord component
-
configParameters
Returns the value of theconfigParametersrecord component.- Returns:
- the value of the
configParametersrecord component
-