Record Class CreateFineTuningJobRequest
java.lang.Object
java.lang.Record
io.github.stefanbratanov.jvm.openai.CreateFineTuningJobRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionCreateFineTuningJobRequest(String model, String trainingFile, Optional<CreateFineTuningJobRequest.Hyperparameters> hyperparameters, Optional<String> suffix, Optional<String> validationFile, Optional<List<FineTuningJobIntegration>> integrations, Optional<Integer> seed) Creates an instance of aCreateFineTuningJobRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thehyperparametersrecord component.Returns the value of theintegrationsrecord component.model()Returns the value of themodelrecord component.seed()Returns the value of theseedrecord component.suffix()Returns the value of thesuffixrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetrainingFilerecord component.Returns the value of thevalidationFilerecord component.
-
Constructor Details
-
CreateFineTuningJobRequest
public CreateFineTuningJobRequest(String model, String trainingFile, Optional<CreateFineTuningJobRequest.Hyperparameters> hyperparameters, Optional<String> suffix, Optional<String> validationFile, Optional<List<FineTuningJobIntegration>> integrations, Optional<Integer> seed) Creates an instance of aCreateFineTuningJobRequestrecord class.- Parameters:
model- the value for themodelrecord componenttrainingFile- the value for thetrainingFilerecord componenthyperparameters- the value for thehyperparametersrecord componentsuffix- the value for thesuffixrecord componentvalidationFile- the value for thevalidationFilerecord componentintegrations- the value for theintegrationsrecord componentseed- the value for theseedrecord component
-
-
Method Details
-
newBuilder
-
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. -
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. -
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). -
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
trainingFile
Returns the value of thetrainingFilerecord component.- Returns:
- the value of the
trainingFilerecord component
-
hyperparameters
Returns the value of thehyperparametersrecord component.- Returns:
- the value of the
hyperparametersrecord component
-
suffix
Returns the value of thesuffixrecord component.- Returns:
- the value of the
suffixrecord component
-
validationFile
Returns the value of thevalidationFilerecord component.- Returns:
- the value of the
validationFilerecord component
-
integrations
Returns the value of theintegrationsrecord component.- Returns:
- the value of the
integrationsrecord component
-
seed
Returns the value of theseedrecord component.- Returns:
- the value of the
seedrecord component
-